You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(detail): conversation transcript loader on every surface
Phase 4.5.
Core (lovcode-core::detail):
- get_conversation(id) — TermQuery on the id field, read source + raw_path
from the stored doc, route to the owning adapter, parse the file
fresh and return the conversation whose id matches.
Surfaces wired:
- CLI: `lovcode show <id> [--json]`
- HTTP: `GET /conversation/{id}`
- MCP: new `get_conversation` tool
- Tauri: `get_conversation` command + `focus_main_window` (palette can
hide itself, focus main, and emit a navigate event with the id)
Frontend:
- New /conversation/:id route (pages/conversation/[id].tsx) — renders
the message list with role / timestamp / pre-wrapped content.
- ResultCard is now clickable: main → react-router navigate, palette →
invoke focus_main_window so the main window navigates instead.
- main.tsx listens for `lovcode:navigate-conversation` events from the
Tauri side and routes the hash router accordingly.
Smoke-tested: `lovcode show <id>` prints the full transcript of the
in-progress refactor session correctly, including CJK content.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments