diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 01a1402..6602f5e 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,19 +1,19 @@ { "name": "opencode", "owner": { - "name": "OpenCode" + "name": "TheRealDinghyDog" }, "metadata": { "description": "OpenCode plugins to use in Claude Code for delegation and code review.", - "version": "1.0.5" + "version": "1.0.0" }, "plugins": [ { "name": "opencode", "description": "Use OpenCode from Claude Code to review code or delegate tasks.", - "version": "1.0.5", + "version": "1.0.0", "author": { - "name": "OpenCode" + "name": "TheRealDinghyDog" }, "source": "./plugins/opencode" } diff --git a/NOTICE b/NOTICE index 295a8dc..e25f060 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,12 @@ -Copyright 2026 OpenAI +opencode-plugin-cc +Copyright 2026 TheRealDinghyDog + +This project is a derivative work of codex-plugin-cc +(https://github.com/openai/codex-plugin-cc), +Copyright 2026 OpenAI, licensed under the Apache License, Version 2.0. +The original Codex integration was converted into an OpenCode integration; +the pre-conversion history is preserved in this repository at the +`codex-fork-point` tag. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 492c7df..592823a 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ Use OpenCode from inside Claude Code for code reviews or to delegate tasks to Op This plugin is for Claude Code users who want an easy way to start using OpenCode from the workflow they already have. +> [!NOTE] +> This is an independent community project. It is not affiliated with or endorsed by the OpenCode project, Anthropic, or OpenAI. + ## What You Get @@ -310,3 +313,7 @@ Yes. If you already use OpenCode, the plugin picks up the same [configuration](# Yes. Because the plugin uses your local OpenCode CLI, your existing sign-in method and config still apply. If you need to point a provider at a different endpoint, configure that in OpenCode and rerun `/opencode:setup`. + +## Acknowledgements and provenance + +This project began as a conversion of OpenAI's [codex-plugin-cc](https://github.com/openai/codex-plugin-cc) (Apache-2.0) — the Codex companion plugin for Claude Code — into an OpenCode companion. The plugin surface (commands, background jobs, session transfer) descends from that work; the OpenCode server integration, security model, and test contract were built for this project. The complete pre-conversion history is preserved in this repository; the fork point is tagged [`codex-fork-point`](../../releases/tag/codex-fork-point). See [NOTICE](NOTICE) for license attribution and [docs/history/](docs/history/) for the original conversion plan. diff --git a/IMPLEMENTATION_NOTES.md b/docs/history/implementation-notes.md similarity index 95% rename from IMPLEMENTATION_NOTES.md rename to docs/history/implementation-notes.md index c21aea3..98c1f4a 100644 --- a/IMPLEMENTATION_NOTES.md +++ b/docs/history/implementation-notes.md @@ -1,5 +1,8 @@ # Implementation Notes +> [!NOTE] +> **Historical document.** Mid-conversion working notes, frozen at the state they describe. Kept for provenance; the "Status" below refers to the early conversion phases, not the current release. + ## Status: Phase 0 + Phase 1 complete and verified live ### Phase 0 — scaffold (done) diff --git a/docs/opencode-adaptation-plan.md b/docs/history/opencode-adaptation-plan.md similarity index 98% rename from docs/opencode-adaptation-plan.md rename to docs/history/opencode-adaptation-plan.md index 0e4f03a..ebb3468 100644 --- a/docs/opencode-adaptation-plan.md +++ b/docs/history/opencode-adaptation-plan.md @@ -1,5 +1,8 @@ # Adapting `codex-plugin-cc` to OpenCode +> [!NOTE] +> **Historical document.** This is the original conversion plan written before implementation. It is kept for provenance and design context; parts of it were superseded during implementation (superseded sections are marked inline). It does not describe the current behavior — see the README and code for that. + Analysis of the current Codex plugin and a concrete plan to build an **`opencode` plugin for Claude Code** that delegates work to OpenCode the same way this repo delegates to Codex — with `/opencode:rescue`, `/opencode:review`, etc. **Verdict up front:** The approach ports cleanly, and the OpenCode version is *architecturally simpler* than the Codex one. Both target characteristics are retainable: diff --git a/package-lock.json b/package-lock.json index 47c08cb..c68a8b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@opencode/claude-code-plugin", - "version": "1.0.5", + "name": "opencode-plugin-cc", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@opencode/claude-code-plugin", - "version": "1.0.5", + "name": "opencode-plugin-cc", + "version": "1.0.0", "license": "Apache-2.0", "devDependencies": { "@types/node": "^25.5.0" diff --git a/package.json b/package.json index 2641c12..92879de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { - "name": "@opencode/claude-code-plugin", - "version": "1.0.5", + "name": "opencode-plugin-cc", + "version": "1.0.0", + "author": "TheRealDinghyDog", "private": true, "files": [ "plugins/opencode/" diff --git a/plugins/opencode/.claude-plugin/plugin.json b/plugins/opencode/.claude-plugin/plugin.json index f84adb6..08e3585 100644 --- a/plugins/opencode/.claude-plugin/plugin.json +++ b/plugins/opencode/.claude-plugin/plugin.json @@ -1,8 +1,11 @@ { "name": "opencode", - "version": "1.0.5", + "version": "1.0.0", "description": "Use OpenCode from Claude Code to review code or delegate tasks.", "author": { - "name": "OpenCode" - } + "name": "TheRealDinghyDog" + }, + "homepage": "https://github.com/TheRealDinghyDog/opencode-plugin-cc", + "repository": "https://github.com/TheRealDinghyDog/opencode-plugin-cc", + "license": "Apache-2.0" }