Skip to content

Add opencode support#700

Open
lequangphu wants to merge 1 commit intogarrytan:mainfrom
lequangphu:add-opencode-support
Open

Add opencode support#700
lequangphu wants to merge 1 commit intogarrytan:mainfrom
lequangphu:add-opencode-support

Conversation

@lequangphu
Copy link
Copy Markdown

Summary

  • Add opencode as a supported host alongside claude, codex, factory, and kiro
  • Opencode skills install to ~/.config/opencode/skills/gstack with paths rewritten from Claude Code paths
  • Auto-detect opencode CLI when running setup with --host auto

Changes

  • scripts/resolvers/types.ts: Add opencode host type with ~/.config/opencode/skills/gstack paths
  • scripts/gen-skill-docs.ts: Support --host opencode flag, generate .opencode/skills/ output, translate Claude tool names to generic phrasing
  • setup: Add --host opencode flag, detect opencode CLI in auto mode, create opencode runtime root with rewritten paths
  • test/gen-skill-docs.test.ts: Update test expectations to include opencode

Checklist

  • I have read the CONTRIBUTING.md guide
  • I have tested my changes (bun test passes)
  • I have regenerated skill docs (bun run gen:skill-docs --host opencode)

Add opencode as a supported host alongside claude, codex, factory, and kiro.

Changes:
- scripts/resolvers/types.ts: Add opencode host type with ~/.config/opencode/skills/gstack paths
- scripts/gen-skill-docs.ts: Support --host opencode flag, generate .opencode/skills/ output, translate Claude tool names to generic phrasing for opencode
- setup: Add --host opencode flag, detect opencode CLI in auto mode, create opencode runtime root with rewritten paths
- test/gen-skill-docs.test.ts: Update test expectations to include opencode
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