What's new
- Time-range session filters — new
period (today, yesterday, last3days, last7days, last30days, thisWeek, lastWeek, thisMonth, lastMonth) and since (ISO date) args to collect sessions from a specific time window.
- V1 plugin module format — migrated to
id + server so the plugin loads correctly on OpenCode 1.18.x (the legacy loader previously mis-invoked exported helper functions).
- Cross-project session discovery —
GET /experimental/session cursor pagination with x-opencode-directory header bypass, current-session exclusion, and deduplication.
- Configurable evidence budget —
evidenceBudget tool arg plus SESSION_REFLECTION_EVIDENCE_BUDGET env var (default 48k).
- Immutable report saving — validated collect run IDs, immutable report/sidecar pairs, owner-only permissions, and hardened symlink/hard-link rejection.
Install
{ "plugin": ["opencode-session-reflection"] }