feat(continue): add ZERO-294 Continue CLI adapter#44
Closed
spencercharest wants to merge 1 commit into
Closed
Conversation
Collaborator
Author
|
Folded into #63 as a matrix entry ( |
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
Subtask: ZERO-303, under ZERO-294.
Adds a Continue CLI (
cn) adapter for Zero:plugins/zero-continueoverlay with Continue hook settings, streamable HTTP MCP config,/zeroprompt, and versioned adapter metadata.scripts/build-continue.shto assemble a project-template install intodist/zero-continue/.guides/continue-cli.mdand README install/repo-structure entries.1.4.0viamake minor.Important: this PR does not modify
guides/agent-install.md. Proposed runbook text is documented below for the later runbook rework.Official sources used
cn -p, config, MCP, and tool permissions: https://docs.continue.dev/guides/cli.continue/mcpServers/, andstreamable-http: https://docs.continue.dev/customize/deep-dives/mcpinvokable: trueslash prompts: https://docs.continue.dev/customize/deep-dives/promptsInstall/update surfaces
Continue CLI has no in-session plugin installer for local skills/hooks. The install surface is terminal/project-template based:
rm -rf /tmp/zero-plugins git clone --depth 1 https://github.com/officialzeroxyz/zero-plugins /tmp/zero-plugins /tmp/zero-plugins/scripts/build-continue.sh cp -R /tmp/zero-plugins/dist/zero-continue/. . cnThe adapter installs:
.continue/settings.jsonforSessionStart,UserPromptSubmit, andPreToolUsehooks..continue/mcpServers/zero.yamlfor the Zero streamable HTTP MCP server..continue/prompts/zero.mdfor an invokable/zeroprompt..continue/skills/zero/SKILL.mdand.claude/skills/zero/SKILL.mdfor Continue/native plus compatibility skill discovery..continue/zero/hooks/*.shcopied from the shared Zero hook scripts.Updates:
ensure-runner.shhook.Proposed
guides/agent-install.mdnotesDo not apply in this PR; collect for the later runbook rework:
This installs
.continue/settings.jsonhooks,.continue/mcpServers/zero.yaml,a
/zeroprompt, and the Zero skill under both.continue/skills/and.claude/skills/for compatibility. The runner is refreshed by theSessionStarthook; rerun the same terminal commands to update the projectfiles.
Results:
make version->1.4.0.continue/settings.json,.continue/mcpServers/zero.yaml,.continue/prompts/zero.md, both skill paths, and hook scripts.guides/agent-install.mdhas no diff.Docker install/load and direct runner loop:
Results:
1.5.45~/.zerointo container as$HOME/.zero.run_JywYpGsGRvYN3HQQMS-4H0 USDC via mpp on tempoZERO-303 Continue Docker copied-auth Zero runner check 20260614234718Full Continue harness E2E:
Result:
cnitself ran the Zero search/get/fetch/curl workflow. Nozero reviewwas run.run_1oCe0kP9x-5gNsBaQ6ihq0 USDC via MPP on Tempoagent-harness-e2e-continue-cn upload verification at 20260614T234847ZClaude-style plugin compatibility and simpler install option
Full Claude Code plugin package support: Partial, not full. Continue CLI explicitly follows Claude-style hook semantics for
cnand reads Claude-compatible skill/config locations, but it does not provide a documented installer for Claude Code.claude-pluginpackages.What this means for users:
This is one of the best candidates to avoid a bespoke adapter. The lower-maintenance path is to reuse the existing Zero Claude Code project files where Continue reads them, then add only the Continue-specific MCP/prompt pieces if needed.
A Claude-style project flow would look like:
If we keep the dedicated Continue template, do not require consumers to run
scripts/build-continue.sh. Publishdist/zero-continueas a release artifact or installer output, then document a simple copy/extract command instead of a local build.GitHub Releases / no-build install check
Result: No native GitHub Release/plugin installer for the Continue template. Continue CLI can reuse Claude-style hooks/skills/config, but the docs and source reviewed for this PR do not provide a
cnplugin installer that resolves GitHub Release assets like Gemini CLI.Best no-build consumer path:
That would avoid asking users to clone the repo and run
scripts/build-continue.sh, but it is still a shell download/extract flow. It is not a native Continue install surface. If we can reuse the existing Claude Code plugin/project files cleanly, that remains the lower-maintenance path.Status
Ready for review. Full Docker E2E passed through Continue CLI with copied host Zero auth.