Commit Graph

9 Commits

Author SHA1 Message Date
Trevin Chow bf19bac0a4 fix(converters): OpenCode subagent model and FQ agent name resolution (#477)
Two fixes for OpenCode compatibility:

1. Omit model field on subagents so they inherit from the parent session.
   Writing an explicit provider-prefixed model (e.g. anthropic/claude-haiku-4-5)
   causes ProviderModelNotFoundError when the user's OpenCode env uses a
   different provider.

2. Rewrite fully-qualified agent names in skill markdown during conversion.
   OpenCode resolves agents by flat filename, so 3-segment references like
   compound-engineering:review:coherence-reviewer must become coherence-reviewer.
   2-segment skill references are preserved. The transform applies to all .md
   files in skill directories (SKILL.md + references) via a new
   transformAllMarkdown flag on copySkillDir.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 15:52:52 -07:00
Kieran Klaassen d2ab6c0768 feat(plugin): release v2.39.0 with community contributions
Bump plugin to 2.39.0 with features from Matt Van Horn (@mvanhorn):
context budget precheck, plan sequence numbers, review serial mode,
agent-browser debugging commands, test-browser port detection, lfg
phase gating, and Context7 API key auth.

Also fixes MCP server merge order so plugin servers correctly
overwrite stale entries during sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:02:50 -07:00
Matt Van Horn 1db76800f9 fix(install): merge config instead of overwriting on opencode target
The sync path's mergeJsonConfigAtKey had incoming entries overwriting
existing user entries on conflict. Reverse the spread order so user
config wins, matching the install path's existing behavior.

Also add merge feedback logging and a test for the sync merge path.

Fixes #125

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 21:43:39 -07:00
Adrian 3914dfdebe phase 04: deep merge opencode json 2026-02-20 13:30:17 -05:00
Adrian 5abddbcbd9 phase 03: write command md files 2026-02-20 13:28:25 -05:00
Adrian da94da90db phase 01: type change for command files 2026-02-20 13:16:02 -05:00
Zac Williams c69c47fe9b fix: backup existing config files before overwriting (#119)
Before writing config.toml (Codex) or opencode.json (OpenCode), the CLI
attempts to create a timestamped backup of any existing config file.
This prevents accidental data loss when users have customized configs.

Backup is best-effort - if it fails (e.g., unusual permissions), the
install continues without blocking.

Backup files are named: config.toml.bak.2026-01-23T21-16-40-065Z
2026-02-08 16:58:51 -06:00
Kieran Klaassen 907746f83e fix(opencode): use correct global config path ~/.config/opencode (#117)
The OpenCode installer was writing to ~/.opencode but OpenCode expects
global configuration at ~/.config/opencode per XDG Base Directory spec.

Fixes:
- src/commands/install.ts: Change default output from ~/.opencode to
  ~/.config/opencode
- src/targets/opencode.ts: Recognize "opencode" basename (not just
  ".opencode") for direct writes without nesting

Closes #114

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-23 08:53:52 -08:00
Kieran Klaassen e97f85bd53 feat: add OpenCode/Codex outputs and update changelog (#104)
* Add OpenCode converter coverage and specs

* Add Codex target support and spec docs

* Generate Codex command skills and refresh spec docs

* Add global Codex install path

* fix: harden plugin path loading and codex descriptions

* feat: ensure codex agents block on convert/install

* docs: clarify target branch usage for review

* chore: prep npm package metadata and release notes

* docs: mention opencode and codex in changelog

* docs: update CLI usage and remove stale todos

* feat: install from GitHub with global outputs
2026-01-21 19:00:30 -06:00