summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Van Horn <455140+mvanhorn@users.noreply.github.com>2026-03-09 20:25:13 -0700
committerJesse Vincent <jesse@fsck.com>2026-03-09 20:25:13 -0700
commitc070e6bd45e244a61538ab97cd2ccac42010c5ff (patch)
treeec33eb3e52be0a10700292d9c94c8ebbf62f2552
parent5f14c1aa29d1d72e035fe84a9753170e9e251226 (diff)
fix(opencode): correct TodoWrite tool mapping to todowrite
TodoWrite maps to OpenCode's built-in `todowrite` tool, not `update_plan`. Verified against OpenCode source (packages/opencode/src/tool/todo.ts). Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
-rw-r--r--.opencode/INSTALL.md2
-rw-r--r--.opencode/plugins/superpowers.js2
-rw-r--r--docs/README.opencode.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/.opencode/INSTALL.md b/.opencode/INSTALL.md
index 55e41c2..0cbda07 100644
--- a/.opencode/INSTALL.md
+++ b/.opencode/INSTALL.md
@@ -108,7 +108,7 @@ git pull
### Tool mapping
When skills reference Claude Code tools:
-- `TodoWrite` → `update_plan`
+- `TodoWrite` → `todowrite`
- `Task` with subagents → `@mention` syntax
- `Skill` tool → OpenCode's native `skill` tool
- File operations → your native tools
diff --git a/.opencode/plugins/superpowers.js b/.opencode/plugins/superpowers.js
index 8ac9934..886669b 100644
--- a/.opencode/plugins/superpowers.js
+++ b/.opencode/plugins/superpowers.js
@@ -63,7 +63,7 @@ export const SuperpowersPlugin = async ({ client, directory }) => {
const toolMapping = `**Tool Mapping for OpenCode:**
When skills reference tools you don't have, substitute OpenCode equivalents:
-- \`TodoWrite\` → \`update_plan\`
+- \`TodoWrite\` → \`todowrite\`
- \`Task\` tool with subagents → Use OpenCode's subagent system (@mention)
- \`Skill\` tool → OpenCode's native \`skill\` tool
- \`Read\`, \`Write\`, \`Edit\`, \`Bash\` → Your native tools
diff --git a/docs/README.opencode.md b/docs/README.opencode.md
index 38bbe16..7f1ed30 100644
--- a/docs/README.opencode.md
+++ b/docs/README.opencode.md
@@ -249,7 +249,7 @@ Superpowers uses OpenCode's native `skill` tool for skill discovery and loading.
Skills written for Claude Code are automatically adapted for OpenCode. The bootstrap provides mapping instructions:
-- `TodoWrite` → `update_plan`
+- `TodoWrite` → `todowrite`
- `Task` with subagents → OpenCode's `@mention` system
- `Skill` tool → OpenCode's native `skill` tool
- File operations → Native OpenCode tools