Skip to content

feat: add Goose integration#27

Open
sh1ftred wants to merge 2 commits into
mainfrom
feat/goose-integration
Open

feat: add Goose integration#27
sh1ftred wants to merge 2 commits into
mainfrom
feat/goose-integration

Conversation

@sh1ftred
Copy link
Copy Markdown
Contributor

@sh1ftred sh1ftred commented May 6, 2026

Summary

Adds a new integration for Block's Goose agent that writes routstr daemon settings to ~/.config/goose/config.yaml.

What it configures

Key Value
GOOSE_TELEMETRY_ENABLED false
OPENAI_BASE_URL Daemon base URL
OPENAI_BASE_PATH v1/chat/completions
OPENAI_TIMEOUT 600
GOOSE_PROVIDER openai
GOOSE_MODEL 2nd model from routstr21 list (defaults to glm-5.1)

Changes

  • New file: src/integrations/goose.ts — reads existing config, strips previously managed keys, appends fresh env block
  • Updated: src/integrations/registry.ts — registers Goose client config & integration function
  • Updated: src/integrations/index.ts — adds Goose as option 6 in the setup menu
  • Updated: .gitignore — adds .worktrees/

How it works

On re-runs, the integration strips any previously managed keys (including OPENAI_HOST from manual configs) before appending the updated block, so the config stays clean.

sh1ftred added 2 commits May 6, 2026 18:09
Adds a new integration for Block's Goose agent that configures
~/.config/goose/config.yaml with routstr daemon settings:

- GOOSE_TELEMETRY_ENABLED: false
- OPENAI_BASE_URL: <daemon base_url>
- OPENAI_BASE_PATH: v1/chat/completions
- OPENAI_TIMEOUT: 600
- GOOSE_PROVIDER: openai
- GOOSE_MODEL: 2nd model from routstr21 list (defaults to glm-5.1)

Also adds .worktrees/ to .gitignore.
Adds --goose as a CLI option alongside the existing integration flags:
- src/cli.ts: adds .option('--goose') and goose type to action options
- src/utils/clients.ts: adds goose to AddClientOptions, integration key
  mapping, and help text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant