mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
docs: update Gemini default args to experimental-acp
Update HAPPY_GEMINI_ARGS default from --acp to --experimental-acp and add note about Gemini remote-only mode.
This commit is contained in:
+2
-1
@@ -25,6 +25,7 @@ Run Claude Code, Codex, or Gemini sessions from your terminal and control them r
|
||||
- `hapi` - Start a Claude Code session (passes through Claude CLI flags). See `src/index.ts`.
|
||||
- `hapi codex` - Start Codex mode. See `src/codex/runCodex.ts`.
|
||||
- `hapi gemini` - Start Gemini mode via ACP. See `src/agent/runners/runAgentSession.ts`.
|
||||
Note: Gemini runs in remote mode only; it waits for messages from the server UI/Telegram.
|
||||
|
||||
### Authentication
|
||||
|
||||
@@ -83,7 +84,7 @@ See `src/configuration.ts` for all options.
|
||||
### Gemini/Agent
|
||||
|
||||
- `HAPPY_GEMINI_COMMAND` - Gemini executable command (default: gemini).
|
||||
- `HAPPY_GEMINI_ARGS` - Gemini arguments (default: --acp).
|
||||
- `HAPPY_GEMINI_ARGS` - Gemini arguments (default: --experimental-acp).
|
||||
|
||||
## Storage
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ const command = process.env.HAPPY_GEMINI_COMMAND
|
||||
|
||||
const args = parseArgs(process.env.HAPPY_GEMINI_ARGS)
|
||||
?? parseArgs(process.env.GEMINI_ACP_ARGS)
|
||||
?? ['--acp'];
|
||||
?? ['--experimental-acp'];
|
||||
|
||||
AgentRegistry.register('gemini', () => new AcpSdkBackend({
|
||||
command,
|
||||
|
||||
Reference in New Issue
Block a user