feat(cline): add ZERO-294 Cline adapter#49
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
zero-cline, a Cline project-template adapter for ZERO-308 under ZERO-294..cline/skills/zero/SKILL.md,.clinerules/workflows/zero.md, and a mergeable Cline MCP fragment at.cline/zero/mcp.json.scripts/build-cline.sh,guides/cline.md, README install link, and a 1.4.0 version bump throughmake minor.guides/agent-install.mdis intentionally not modified in this PR.Official Sources Used
cline@3.0.24Install / Update Surfaces
Human in-harness flow:
{ "mcpServers": { "zero": { "url": "https://mcp.zero.xyz", "disabled": false, "autoApprove": [] } } }Terminal/project-template flow:
Cline CLI MCP merge:
Update flow: rerun the standalone runner installer and rebuild/copy
dist/zero-cline/.Proposed
guides/agent-install.mdNotesDo not apply these in this PR; collect them when the runbook is reworked.
.cline/skills/zero/SKILL.md,.clinerules/workflows/zero.md->/zero, and the Cline MCP server fragment..cline/skills/as the recommended project skill path. Cline also has compatibility paths such as.clinerules/skills/and.claude/skills/, but this template intentionally emits one skill copy to avoid duplicate/zeroentries.~/.cline/mcp.json.autoApproveempty by default. Do not auto-approve paid Zero fetches or wallet operations.curl -fsSL https://zero.xyz/install.sh | bash.Verification
Local checks:
make minor-> bumped all manifests to1.4.0.scripts/build-cline.sh --tar dist/zero-cline.tgzjq -e . plugins/zero-cline/manifest.json plugins/zero-cline/cline/zero/mcp.jsonmake version->1.4.0tar -tzf dist/zero-cline.tgzcmp -s plugins/zero/skills/zero/SKILL.md dist/zero-cline/.cline/skills/zero/SKILL.mdgit diff -- guides/agent-install.md-> no diffDocker Cline template smoke:
node:24-bookwormcline@3.0.24.dist/zero-cline/into/work/project..cline/zero/mcp.jsoninto~/.cline/mcp.jsonwithjq../.cline/skills/zero/SKILL.md./.cline/zero/mcp.json./.clinerules/workflows/zero.md./manifest.jsonhttps://mcp.zero.xyz.Docker Cline headless smoke:
~/zeroclick/envOpenAI key withcline -P openai -m gpt-4.1-mini -k "$OPENAI_API_KEY" --json.Say exactly ZERO-308 Cline headless smoke.ZERO-308 Cline headless smoke.Docker Cline + copied-auth Zero E2E:
node:24-bookworm~/.zerointo the container as$HOME/.zero.cline@3.0.24and container-local@zeroxyz/cli@latest.dist/zero-cline/into/work/project..cline/zero/mcp.jsoninto~/.cline/mcp.json.--auto-approve true, and an explicit instruction to use the Zero skill/workflow and not runzero review.zero search "cdn.withzero.xyz upload txt file" --jsonzero get cdn-withzero-xyz-static-site-file-cdn-upload-a0d9f22fzero fetch --json --capability cdn-withzero-xyz-static-site-file-cdn-upload-a0d9f22f https://cdn.withzero.xyz/api/v1/uploads -d @/tmp/zero-cdn-body.json --max-pay 0.001run_DZVTt4o7ELxHOtaUT1K_w0 USDCClaude-style plugin compatibility and simpler install option
Full Claude Code plugin package support: No. Cline reads Claude-compatible skills such as
.claude/skills/, but the current VS Code/JetBrains extension surface does not document installing Claude Code.claude-pluginpackages directly.What this means for users:
The custom Cline adapter is mostly a convenience wrapper around skill + MCP marketplace/config guidance.
The lowest-friction consumer path is Cline's own UI/Marketplace for MCP plus a prebuilt or copied skill:
Do not ask consumers to build locally. If this adapter remains, publish the generated files as a release artifact and document extract/merge steps only.
GitHub Releases / no-build install check
Result: No native Gemini-style GitHub Release install path. Cline's documented low-friction install surface is the MCP Marketplace/UI or manual MCP config. The docs do not show installing skills/workflows/hooks from GitHub Release assets.
Best no-build consumer path:
plus a prebuilt/copyable Zero skill under
.cline/skills/zeroor.claude/skills/zero.A GitHub Release tarball can package the skill/workflow/MCP fragment to avoid local builds, but it should be documented as manual download/extract. For Cline, a marketplace MCP listing likely gives more user value than a custom release artifact.
Status
Ready for review. Full Cline CLI harness E2E passed in Docker. Editor-extension MCP/Marketplace listing still needs product-side submission, but the project-template adapter and CLI path are verified.