Skip to content

Releases

v0.3.0

Choose a tag to compare

@chncaesar chncaesar released this 19 Aug 02:22

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"] }

v0.2.0 - Cross-project session search via SQLite

Choose a tag to compare

@chncaesar chncaesar released this 23 Jul 08:02

What's new

feat: cross-project session search via SQLite

Previously, sessionName lookup only found sessions in the current workspace (API-level project filtering). Searching for a session by name from a different project directory always returned empty.

Now: searchSessionsByNameViaSQLite() queries the OpenCode SQLite database directly (~/.local/share/opencode/opencode.db), bypassing project-scoped API filters. Sessions from any project are now findable by title substring.

  • Graceful fallback to API-based search if sqlite3 CLI is unavailable or DB is missing
  • Plugin factory accepts _searchByName injection for testability (no runtime impact)
  • 2 new tests: SQLite path + API fallback path

Upgrade

{ "plugin": ["opencode-session-reflection"] }