Skip to content

v0.7.0

Choose a tag to compare

@dyoshikawa dyoshikawa released this 16 Oct 02:24
ccfe507

What's Changed

Features

  • Long context for Jev — reviewer.decision.longContext (typesafe provider only, off by default) sends an operation larger than maxStateTokens whole with TypeSafe's long-context header (TypeSafe-Danger-Zone-Long-Context, up to 262k tokens on Jev 1.13 and 1.14) instead of treating it as too large, up to longContext.maxStateTokens (default 240,000). Smaller operations are still sent without the header. Because TypeSafe documents long-context answers as less accurate, they need allow at longContext.minAllowProbability (default 0.8, or the regular threshold if higher, never below it), and the reason says … with long context. A regular request that Jev refuses as too long is asked once more with long context within the same timeout. See the README's "Long context (TypeSafe)" section. by @dyoshikawa in #48
  • Opt-in audit log — auditLog.enabled with an absolute auditLog.path appends one JSONL record per review (time, backend, session, action, verdict, confidence, duration, error category) through a symlink-safe, mode-0600 append. Command text is a separate opt-in (auditLog.includeCommand) with best-effort redaction. Works with every backend and both plugin API generations; POSIX only. by @InCerryGit in #35
  • Opt-in conversation context — conversation.enabled lets the reviewer see the session's recent user turns (at most 8 whole turns / 12,000 characters), so a short request such as "continue" can refer to an earlier instruction. Assistant turns are a further opt-in (conversation.includeAssistant) and are never treated as authorization. Every backend reviews the same state. by @InCerryGit in #35

Fixes

  • The OpenCode 1.x handler now reads the modern permission / patterns permission fields, falling back to the legacy type / pattern; a malformed modern action is never approved. by @InCerryGit in #34

Security

  • Set auditLog and longContext only in configuration you trust, like baseURL and minAllowProbability: a repository's opencode.json could point the audit log at a file it should not append to, or let larger operations be approved automatically.

Dependencies

  • Dependency and GitHub Actions updates (#42, #43, #45, #46).

Contributors

Full Changelog: v0.6.0...v0.7.0