mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
refactor: simplify yolo mode implementation by removing env vars
Remove HAPPY_GEMINI_ARGS and HAPPY_GEMINI_COMMAND environment variables. Refactor gemini.ts to export registerGeminiAgent(yolo) function that directly configures args instead of reading from environment.
This commit is contained in:
@@ -81,11 +81,6 @@ See `src/configuration.ts` for all options.
|
||||
- `HAPI_DAEMON_HEARTBEAT_INTERVAL` - Heartbeat interval in ms (default: 60000).
|
||||
- `HAPI_DAEMON_HTTP_TIMEOUT` - HTTP timeout for daemon control in ms (default: 10000).
|
||||
|
||||
### Gemini/Agent
|
||||
|
||||
- `HAPPY_GEMINI_COMMAND` - Gemini executable command (default: gemini).
|
||||
- `HAPPY_GEMINI_ARGS` - Gemini arguments (default: --experimental-acp).
|
||||
|
||||
## Storage
|
||||
|
||||
Data is stored in `~/.hapi/` (or `$HAPI_HOME`):
|
||||
|
||||
Reference in New Issue
Block a user