Repository navigation
Done
Labels
enhancementNew feature or request
Description
Problem
HelixHarness currently ships Host Kits for Codex and Claude Code. OpenCode V2 users cannot use the Propose → Apply → Archive workflow without manually copying Markdown into .opencode/, and there is no native command, skill or subagent projection for OpenCode.
Proposal
Add OpenCode V2 as a first-class host:
- a
hosts/opencode/Host Kit with manifest, command projection, runtime, subagent, UT, lifecycle, project config, project hooks and installer resources; - a native OpenCode plugin package that registers
helix:<command>,helix-<skill>andhelix-<agent>from the canonicalcommands/,skills/andagents/files; - Host Context injection plus
$ARGUMENTSand path substitution, without copying business steps into the Host Kit; - native mappings for
read,edit,shell,question,skillandsubagent; - explicit
telemetry=unsupportedandplugin_update=unsupporteddeclarations, with existing scripts returningunsupported_host/continue_silently; AGENTS.mdproject entry andsettings_file=null; project hooks remain unsupported rather than inventing an OpenCode settings contract.
Acceptance criteria
- The nine public
helix:*commands, eight method skills (helix-*) and HelixHarness subagent roles are registered from the installed package. /helix:statusadmits a prompt containingcanonical_host_id: opencode, the currentplugin_rootandrepo_root./helix:init,/helix:propose,/helix:applyand/helix:archivecan run in a disposable repository without copying canonical Markdown into.opencode/.- OpenCode telemetry/update checks return their declared unsupported behavior and do not block business work.
- Python Host Kit tests, Bun unit/registration tests, type checking and a real OpenCode server E2E test pass.
Compatibility notes
- Shared
commands/, workflows and core workflow scripts stay unchanged; OpenCode differences live in the Host Kit and plugin package. - Workspace Apply RepoJobs use
delegation_policy=may_delegate, so OpenCode needsexperimental.subagent_depthof at least 2 for that flow. - The Claude
d-d2cskill-scopedStop/PreToolUseguards are not active on OpenCode; the adapter documents no-hook/--baresemantics. - Implementation: feat: add OpenCode V2 host support #1
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
ayochao commentedon Nov 4, 2026
感谢提出 OpenCode 适配方案,也感谢提交 PR #1。这条 Issue 保留用于跟踪支持范围和验收结果,具体代码问题集中在 PR 中讨论。
acderone-maker commentedon Nov 29, 2026
HelixHarness now supports OpenCode V2! 🎉
Sorry for the wait, and thank you for your patience and support. Please give it a try—we’d love to hear your feedback!