Summary
Using ghcr.io/openabdev/openab-gemini:latest as the base image, openab works for normal chat interactions and simple Linux commands, but any gh CLI command triggers a terminal-layer crash instead of returning normal command output.
The failure is reproducible.
Environment
- Image:
ghcr.io/openabdev/openab-gemini:latest
- Agent backend: Gemini
- Auth: Gemini API key provided via
GEMINI_API_KEY
What works
Inside the running environment, normal commands work as expected, for example:
ls -l /usr/bin/gh
ls /nonexistent
echo "gh"
echo "$GITHUB_TOKEN"
Also, regular chat interactions and basic Linux command execution work.
What fails
Any gh command causes the underlying terminal interface / agent wrapper to crash immediately. Examples:
gh auth status
gh --version
gh auth login -w
The observed internal error is:
Cannot read properties of undefined (reading 'outcome')
Expected behavior
gh commands should behave like other shell commands:
gh --version should print the version
gh auth status should print auth state
gh auth login -w should print the browser URL and one-time code
Actual behavior
The command execution path crashes in the terminal/agent integration layer when gh is invoked, so gh output never reaches the user.
Repro steps
- Start from
ghcr.io/openabdev/openab-gemini:latest
- Configure
openab to use Gemini with a valid GEMINI_API_KEY
- Verify normal command execution works with non-
gh commands
- Run any
gh command such as gh --version or gh auth status
- Observe the internal error:
Cannot read properties of undefined (reading 'outcome')
Notes
This does not look like a generic shell execution problem, because non-gh commands work. It appears specific to the interaction between the image/runtime and the terminal wrapper when gh is executed.
Summary
Using
ghcr.io/openabdev/openab-gemini:latestas the base image,openabworks for normal chat interactions and simple Linux commands, but anyghCLI command triggers a terminal-layer crash instead of returning normal command output.The failure is reproducible.
Environment
ghcr.io/openabdev/openab-gemini:latestGEMINI_API_KEYWhat works
Inside the running environment, normal commands work as expected, for example:
Also, regular chat interactions and basic Linux command execution work.
What fails
Any
ghcommand causes the underlying terminal interface / agent wrapper to crash immediately. Examples:The observed internal error is:
Expected behavior
ghcommands should behave like other shell commands:gh --versionshould print the versiongh auth statusshould print auth stategh auth login -wshould print the browser URL and one-time codeActual behavior
The command execution path crashes in the terminal/agent integration layer when
ghis invoked, soghoutput never reaches the user.Repro steps
ghcr.io/openabdev/openab-gemini:latestopenabto use Gemini with a validGEMINI_API_KEYghcommandsghcommand such asgh --versionorgh auth statusCannot read properties of undefined (reading 'outcome')Notes
This does not look like a generic shell execution problem, because non-
ghcommands work. It appears specific to the interaction between the image/runtime and the terminal wrapper whenghis executed.