Repository navigation
Open
Labels
enhancementNew feature or request
Milestone
Description
OpenCode is the next client to support. Contributors should be able to use their existing OpenLune manifest with --client opencode through plan → apply → verify.
Scope
- Add the
opencodeclient selection and agent override key, integrated with the existing adapter and application flow. - Map project instructions, custom agents, local skills, and stdio/HTTP MCP servers to OpenCode's native repository configuration. Check current native interfaces and configuration precedence before choosing output paths or rejecting declarations.
- Preserve authored content and explicit capability, native-tool, model, and effort choices, including omitted versus empty selections. Report concrete unsupported semantics with client/resource context before effects; never silently broaden access or drop intent.
- Reuse existing provisioning, successful initialization, stdio launch state, and
envFrom/OS credential resolution. Keep HTTP connections, authentication, permissions, and server lifecycle with OpenCode. - Protect unmanaged settings, local edits, and outputs shared with existing clients. Preserve unchanged reapply and cross-client reuse.
Acceptance
- Selection, preview, apply, and local verification work for OpenCode, with actionable errors for concrete capability gaps.
- Existing Go tests cover native rendering, valid alternatives, failures, preservation/conflicts, both MCP transports, unchanged reapply, and cross-client reuse.
- Runtime checks establish instruction, agent, and skill discovery independently, plus MCP discovery and successful tool calls without manual server registration. Record the OpenCode versions, surfaces, environments, and limits actually checked in the relevant existing qualification guides; disclose unavailable checks without treating them as input restrictions.
- Update implemented scope in the product brief and any changed architecture boundaries when support lands. Keep format details with code/tests and leave the human-maintained README unchanged.
Follow PROJECT_BRIEF.md and the architecture's validation policy. Local verification must remain distinct from actual client discovery.
Native interface starting points: configuration, instructions, agents, and MCP. Recheck these during implementation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
[-]Add OpenCode as the next supported client[/-][+]Add OpenCode support[/+]