Repository navigation
Releases
v0.1.2 — Round-12 hardening: RPC contract, file IO and GUI flow fixes
What's fixed in 0.1.2
Round-12 review hardening, guarded by 43 new regression tests (307 → 350, all green).
Server
createRPC now declares theinvalid_formatcontract error — malformed matrix/color/steps/model inputs no longer surface as HTTP 500- Read-path project directory matching is case-insensitive, consistent with the write whitelist
- A failed
unlinkafter the atomic link placement rolls back the placeholder instead of leaving a half-moved file behind - Atomic writes short-retry on Windows
EPERM/EBUSYrename races - Project-root derivation no longer mis-slices paths containing case-expanding characters
EISDIR/EACCESon read/migratePreview map to declared contract errors instead of 500- Fallback for volumes without hard-link support (exFAT/FAT32): exclusive create via
wx, exclusive move viaCOPYFILE_EXCL - V1
model+variantmerge results are validated before being written to disk - Map-form
permissionsin hand-written files are expanded into rules instead of being silently dropped on save
GUI
- The migration preview dialog can no longer be double-opened by rapid clicking
- Saves/renames from the editor no longer trigger a misleading "Disk changed" toast
- The list keeps its rows during refetch (no more flashing loader after every write)
- A stale error view is no longer shown while another scope is loading
- Row busy state survives list refetches (prevents accidental double
setDisabled) - The model picker is single-open, and error rendering is exclusive of the empty state
- Invalid
color/modelvalues are sanitized on load instead of failing every save - Renaming with unsaved edits now asks for confirmation before closing the editor
Docs
- Both READMEs link the contributing guides and document two known limitations
npm 0.1.1 (published without a tag or release) is included by ancestry; the fixes above are relative to it.
Install: npm install opencode-subagent-studio — requires OpenCode Desktop 2.2.5+ (verified on 2.2.6).
安装(中文): 在 opencode.jsonc 的 plugins 数组中写包名即可,或在插件目录安装。中文说明见 README_zh-CN.md。
v0.1.0 — First public release
First public release of opencode-subagent-studio — manage OpenCode V2 subagents from the OpenCode Desktop settings.
Highlights
- Settings page for user-level and project-level subagent scopes: search, hidden/disabled badges, built-in `general` / `explore` model overrides
- Editor with model + reasoning-effort picker, three-state permission matrix (allow / ask / deny), colour presets, max steps and hidden flag
- Whole-file V1 → V2 migration with a side-by-side preview — comments, key order and unknown fields are preserved
- Live sync for user-level agent directories; save-conflict detection (reload / overwrite with backup) and atomic writes
- Interface in 11 languages (en, zh, fr, es, br, ru, ar, de, ja, hi, ko); 290 unit tests; MIT licensed
Install
Published on npm — add the package name to `plugins` in `opencode.jsonc` and fully restart the desktop app:
```jsonc
{
"plugins": ["opencode-subagent-studio"]
}
```
Or install from source: clone the repo into `~/.config/opencode/plugins/`, run `npm install && npm run build`, and point `plugins` at the directory. See the README for full instructions.
Compatibility
Built against OpenCode Desktop 2.2.5; verified compatible with 2.2.6. The host plugin API is experimental upstream, so newer desktop releases may require a plugin update.