Skip to content

Add native Goose CLI backend - #615

Merged
tninja merged 2 commits into
mainfrom
add-goose-cli-backend-614
Nov 25, 2026
Merged

tninja merged 2 commits into
mainfrom
add-goose-cli-backend-614

Conversation

@tninja

@tninja tninja commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Motivation

Implement the request in discussion #614, using the existing CLI backend architecture rather than adding another protocol or dependency.

Changes

  • Register goose as a selectable native backend with start, switch, send, resume, config, agent-file, install and upgrade metadata.
  • Launch goose session; resume via goose session --resume. Prefix arguments allow explicit session ID/name and other options using the shared launch flow.
  • Use the shared terminal/session machinery, with configurable Ctrl+J multiline input and bracketed paste for multiline prompts. Existing paste-policy entries are unchanged.
  • Document setup and add four ERT tests for backend registration, startup/resume argument construction, switch/send routing and multiline paste policy.

Sources

Verification

  • Reviewed current main at 0d346752515c92b53d879b178dadd6365581d69e and checked the branch comparison for the intended seven files only.
  • ERT, byte compilation and a live Goose terminal smoke test have not been run locally: Emacs and Goose are unavailable in this environment. CI should run the existing test suite; please also smoke-test a multiline prompt and resume against an installed Goose CLI before merging.

Scope

No ACP integration, automatic Emacs MCP registration, or changes to default backend selection. Resume follows Goose's native latest-session behavior, not a custom per-project session history. Existing users with a customized paste-backend list should include "goose".

@tninja
tninja marked this pull request as ready for review November 25, 2026 16:28
@tninja
tninja merged commit 029ebb8 into main Nov 25, 2026
6 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T16:29:47.146344Z edbb536 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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