-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add native OpenCode as an opt-in integration target for APM.
When .opencode/ directory exists in a project, apm install deploys:
- Agents →
.opencode/agents/<name>.md - Commands →
.opencode/commands/<name>.md(from.prompt.mdfiles) - Skills →
.opencode/skills/<name>/SKILL.md - MCP →
opencode.json(newOpenCodeClientAdapter)
OpenCode reads AGENTS.md natively, so apm compile already works for instructions.
Background
@timvw opened PR #257 with initial OpenCode support. That PR conflicts with the architecture refactoring done in PR #301 (Cursor integration), which introduced TargetProfile + KNOWN_TARGETS + data-driven prefix resolution. This issue tracks a proper implementation using the current architecture.
Acceptance Criteria
-
opencodeTargetProfile in KNOWN_TARGETS - Target auto-detection for
.opencode/folder - Agent, command, skill integration (opt-in)
-
OpenCodeClientAdapterforopencode.jsonMCP format - Pack/compile support (
--target opencode) - Install/uninstall wiring
- Unit tests
- Documentation updates
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request