Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -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"
}
Expand Down
10 changes: 9 additions & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<video src="./docs/plugin-demo.webm" controls muted playsinline autoplay></video>

## What You Get
Expand Down Expand Up @@ -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.
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down
9 changes: 6 additions & 3 deletions plugins/opencode/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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"
}