~bigbes/lethe

ref: ccee575b9f5055ffbd0f82cdd70bb82934240b54 lethe/internal/collector/parser/opencode d---------
d2a77459 — Eugene Blikh 23 days ago
fix: store full opencode tool output and display it in session view

- Collector sender now supports Remote-User header for forward-auth
- OpenCode parser: store full tool output (was truncated to 120 chars + first line)
- OpenCode parser: generate fallback content for tool-only turns instead of empty content
- OpenCode parser: increase parse timeout to 5min for large DBs
- Frontend: show collapsible tool output in session detail below turn body
- Frontend: extract toolOutput from both opencode ({output}) and claude-code ({content}) formats
2d9d2b8e — Eugene Blikh 24 days ago
search: add /api/v1/search API and opencode collector parser

- Add FTS5 search repository with BM25 ranking, cursor pagination, and owner scoping
- Expose GET /api/v1/search with query, tool, host, since/until filters
- Add opencode collector parser reading from SQLite opencode.db
- Spike document recording canonical opencode storage format

Invariants: no schema migrations, no wire type changes, read-only search,
marker snippets (not HTML), invalid queries → 400 INVALID, parser interface
unchanged, collector state schema preserved, stats/react stubs untouched.

Reviewed: offset fix (message.rowid instead of time_created for progress marker),
all 22 test packages pass.