8000 Add OpenCode support · Issue #16 · dominikbraun/openlune · GitHub
[go: up one dir, main page]

Skip to content

Add OpenCode support #16

Open
Open

Description

@dominikbraun

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 opencode client 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.

Activity

  1. changed the title [-]Add OpenCode as the next supported client[/-] [+]Add OpenCode support[/+] on Nov 17, 2026
  2. added
    enhancement
    on Nov 23, 2026
  3. added this to the v0.2.0 milestone on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0