Skip to content

v0.1.2 — Round-12 hardening: RPC contract, file IO and GUI flow fixes

Latest

Choose a tag to compare

@VicChenBike VicChenBike released this 08 Nov 16:09
· 2 commits to main since this release

What's fixed in 0.1.2

Round-12 review hardening, guarded by 43 new regression tests (307 → 350, all green).

Server

  • create RPC now declares the invalid_format contract 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 unlink after the atomic link placement rolls back the placeholder instead of leaving a half-moved file behind
  • Atomic writes short-retry on Windows EPERM/EBUSY rename races
  • Project-root derivation no longer mis-slices paths containing case-expanding characters
  • EISDIR/EACCES on 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 via COPYFILE_EXCL
  • V1 model + variant merge results are validated before being written to disk
  • Map-form permissions in 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 / model values 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。