Skip to content

docs: switch to built-in /plugin marketplace add and drop install.sh#5

Merged
JohnnyVicious merged 2 commits intomainfrom
docs/update-fork-references
Apr 12, 2026
Merged

docs: switch to built-in /plugin marketplace add and drop install.sh#5
JohnnyVicious merged 2 commits intomainfrom
docs/update-fork-references

Conversation

@JohnnyVicious
Copy link
Copy Markdown
Owner

Summary

Brings the install flow into parity with openai/codex-plugin-cc: instead of a hand-rolled curl-pipe-bash script, use Claude Code's built-in /plugin marketplace add and /plugin install slash commands. The .claude-plugin/marketplace.json Claude Code needs has been in the repo all along (we inherited it from upstream), so no extra plumbing is required.

Changes

  • Delete install.sh entirely. Parity with codex-plugin-cc and one less file to keep in sync with the marketplace contract.
  • .claude-plugin/marketplace.json: rename slug from tasict-opencode-plugin-cc to johnnyvicious-opencode-plugin-cc and update owner.name to JohnnyVicious. The slug is the key /plugin install resolves against.
  • README.md install section: replace the curl-pipe-bash one-liner with the codex-style three-step flow:
    /plugin marketplace add JohnnyVicious/opencode-plugin-cc
    /plugin install opencode@johnnyvicious-opencode-plugin-cc
    /reload-plugins
    /opencode:setup
    
  • README.md uninstall: point at the new slug, with a one-line migration note for users moving from the upstream tasict install.
  • README.md troubleshooting: drop the "Install script fails to clone" block (script is gone) and rewrite "Plugin not loading" to use the new built-in commands.
  • README.md project structure tree: drop install.sh, add .github/workflows/ci.yml.

The Apache 2.0 attribution to tasict/opencode-plugin-cc in the README's "Personal copy" admonition stays — it's required by §4(b) and §4(c) and remains accurate.

Migration impact for the maintainer

Your existing local install is registered under the old slug (tasict-opencode-plugin-cc). After this PR merges, run once:

/plugin uninstall opencode@tasict-opencode-plugin-cc
/plugin marketplace add JohnnyVicious/opencode-plugin-cc
/plugin install opencode@johnnyvicious-opencode-plugin-cc
/reload-plugins

That migration step is also documented as a callout in the README.

Test plan

  • npm test — all 57 tests still pass (README/marketplace.json don't affect tests, but verified for safety)
  • No remaining tasict references in install.sh (file is deleted) and only the intentional 3 in README.md (Apache attribution + migration note)
  • CI green on PR

Out of scope (follow-up)

The "Slash Commands" section of the README (lines 99-105) still describes pre-fix flag support and doesn't mention --model or --pr. Worth a separate quick PR to bring that section in line with the actual command markdown frontmatter.

This brings the install flow into parity with openai/codex-plugin-cc,
which uses Claude Code's built-in /plugin marketplace add and /plugin
install slash commands instead of a hand-rolled curl-pipe-bash script.
The .claude-plugin/marketplace.json that Claude Code needs has been in
place all along (we inherited it from upstream), so no extra plumbing
is required.

Changes:

* Delete install.sh entirely (parity with codex-plugin-cc, one less file
  to keep in sync with the marketplace contract).

* .claude-plugin/marketplace.json: rename slug from
  tasict-opencode-plugin-cc to johnnyvicious-opencode-plugin-cc and
  update the owner.name to JohnnyVicious. The slug is the key /plugin
  install resolves against, so it must match the new fork.

* README.md install section: replace the curl|bash one-liner with
  /plugin marketplace add JohnnyVicious/opencode-plugin-cc followed by
  /plugin install opencode@johnnyvicious-opencode-plugin-cc, then
  /reload-plugins and /opencode:setup. Same shape as codex's README.

* README.md uninstall section: point at the new slug, with a one-line
  migration note for users moving from the upstream tasict install.

* README.md troubleshooting: drop the "Install script fails to clone"
  block (script is gone) and rewrite "Plugin not loading" to use the
  new built-in commands.

* README.md project structure tree: drop install.sh, add
  .github/workflows/ci.yml.

The Apache License 2.0 attribution to tasict/opencode-plugin-cc in the
README's "Personal copy" admonition stays — it's required by §4(b) and
§4(c) and remains accurate.
The @opencode-ai npm scope is owned by upstream OpenCode, so the
package name @opencode-ai/opencode-plugin-cc would be unpublishable
under our control even if we ever wanted to push to npm. Renaming to
@JohnnyVicious matches the rest of the fork-reference cleanup in this
PR (marketplace slug, README install commands, marketplace.json owner).

The package is `private: true` so this is metadata-only — no actual
publishing happens. Lockfile regenerated via `npm install` to keep the
recorded name in sync.
@JohnnyVicious JohnnyVicious merged commit c7f0ef5 into main Apr 12, 2026
1 check passed
@JohnnyVicious JohnnyVicious deleted the docs/update-fork-references branch April 12, 2026 13:14
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