You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v0.15.0 — Pure OpenCode v2.3.0 Architecture (End of V1 Support)
End of OpenCode V1 Support: Removed OpenCode V1 (1.x / @opencode-ai/plugin / ./server / sidebar_content / V1 idle fallback) support. Users on OpenCode 1.x should pin opencode-guardian@0.14.0.
Pure OpenCode V2 (>=2.3.0) & OpenTUI (>=0.8.4) Alignment: Updated peerDependencies floors to @opencode/plugin >=2.3.0, @opentui/core >=0.8.4, @opentui/solid >=0.8.4, and solid-js >=1.9.0 with zero runtime dependencies.
What's New
Typed ./rpc Export (dist/intervention-rpc.js): Exposes guardian.interventions.get and guardian.interventions.clear via Rpc.define (@opencode/plugin/rpc) with sessionIDmaxLength: 256 validation and project-directory-scoped {} clearing.
shell.hook("create.before") Preflight Boundary: Enforces preflight checks at shell creation alongside tool.hook("execute.before") with LIFO hook rollback on setup failure.
session.fork & Background Subagent Isolation: Treats session.fork / session.forked as independent root sessions, honors top-level location.directory, and isolates background === true subagents in execute.after so sibling background subagents are never starved.
Security & Sanitizer Hardening: Preserves Uint8Array / ArrayBuffer views and non-plain object prototypes (Message class) in sanitizeObject / sanitizeMessages; inspects multi-stage commands via splitShellStages; fixes task/completion-gate"in progress" false-verified guard; preserves both editIntegrity and fingerprint in VerificationSnapshotStore; re-verifies verifiedStateDirs via lstatSync.
TUI Bun 1.4.4 Adaptive Fallback & RPC Race Fixes: Fixed dist/tui.js fallback to ./tui-standalone.js in Bun 1.4.4 without ResolveMessage crashes, fixed GuardianSidebar reactive props.sessionID updates, subscribed to session.moved, and added per-session generation gating for 500ms RPC polls.
Verification
Unit & Regression Suite: 765 / 765 PASS (npm test)