feat: add Goose integration#27
Open
sh1ftred wants to merge 2 commits into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new integration for Block's Goose agent that writes routstr daemon settings to
~/.config/goose/config.yaml.What it configures
GOOSE_TELEMETRY_ENABLEDfalseOPENAI_BASE_URLOPENAI_BASE_PATHv1/chat/completionsOPENAI_TIMEOUT600GOOSE_PROVIDERopenaiGOOSE_MODELglm-5.1)Changes
src/integrations/goose.ts— reads existing config, strips previously managed keys, appends fresh env blocksrc/integrations/registry.ts— registers Goose client config & integration functionsrc/integrations/index.ts— adds Goose as option 6 in the setup menu.gitignore— adds.worktrees/How it works
On re-runs, the integration strips any previously managed keys (including
OPENAI_HOSTfrom manual configs) before appending the updated block, so the config stays clean.