diff options
| author | Matt Van Horn <455140+mvanhorn@users.noreply.github.com> | 2026-03-09 20:25:13 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-03-09 20:25:13 -0700 |
| commit | c070e6bd45e244a61538ab97cd2ccac42010c5ff (patch) | |
| tree | ec33eb3e52be0a10700292d9c94c8ebbf62f2552 /.opencode | |
| parent | 5f14c1aa29d1d72e035fe84a9753170e9e251226 (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>
Diffstat (limited to '.opencode')
| -rw-r--r-- | .opencode/INSTALL.md | 2 | ||||
| -rw-r--r-- | .opencode/plugins/superpowers.js | 2 |
2 files changed, 2 insertions, 2 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 |
