Skip to content

opencode-guardian v0.15.2

Choose a tag to compare

@huseyincig huseyincig released this 19 Nov 13:46
· 1 commit to main since this release

OpenCode v2.3.1-v2.3.2 compatibility & hardening release:

  • Evidence & Background Execution (src/evidence.ts, src/index.ts, src/locale-intents.ts): Properly handles state.metadata.error === true, running/timeout-to-background bash tools, experimental.idle session tracking, Code Mode execute state.metadata.toolCalls expansion, string/structured output extraction, and synthetic/shell message normalization.
  • Task Contract (src/task-contract.ts): Rejects directory reads and zero-line reads as source-review evidence.
  • Agent Capability (src/agent-capability.ts): Merges context.agent.list() base permissions with session.permissions instead of returning early.
  • Secret Sanitization (src/secrets/patterns.ts, src/secrets/sanitizer.ts): Prevents false-positive redaction of pass counters and preserves falsy primitives (null, undefined, boolean, number, "") in object properties.
  • Verification: 781/781 unit tests, strict TypeScript & oxlint (0 warnings/errors), 18/18 sandbox tests, and 10/10 live OpenCode v2.3.2 acceptance tests.