feat(opencode): publishable npm package for the opencode plugin (Phase 3) - #359
Conversation
…e 3) plugin/ghost-opencode/: index.ts adapted from the go:embed'd source with PATH-based binary resolution (GHOST_BIN override, no baked absolute path — npm users install ghost separately), package.json (no runtime deps, files limited to index.ts), README covering both install channels, and .gitignore. Spec §4 Phase 3 'one npm package' artifact. Signed-off-by: agentskinner <agentskinner@proton.me>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/review |
|
Preparing review... |
|
/review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
Reviewer dispositions:
3+4 are worth fixing before npm publish; 1+2 need no change. |
The Phase 3 "one npm package" artifact:
plugin/ghost-opencode/.index.tsadapted from the go:embed'd plugin with ONE divergence class: binary resolution is PATH-based (GHOST_BIN ?? "ghost") instead of a baked absolute path — npm users install ghost separately, and opencode's own process resolves at spawn timepackage.json: zero runtime deps,files: ["index.ts"], Apache-2.0 matching repo LICENSEghost mcp init --client opencode)cd plugin/ghost-opencode && npm publish) or ask me to wire an npm-publish job gated on tags first@coderabbitai review