6 Commits

Author SHA1 Message Date
b09184e112 docs: add command palette, themes, sessions to Phase 2 roadmap 2026-06-10 09:51:24 +03:30
3895ca68c0 feat: Phase 2 — chat templates, reasoning parser, collapsible TUI, mouse support
- internal/llama/template.go: ChatML/Llama3 template engine with stop tokens
- internal/agent/reasoning.go: parse <think>/<reasoning> tags from LLM output
- companion/promptbuilder.go: output structured BuildResult, add date/time context
- agent/agent.go: wire templates + reasoning split into message loop
- storage: add reasoning TEXT column to messages table + migration
- channel/tui.go: collapsible reasoning (tab toggle), mouse scroll, polished dimmed style
- config: CHAT_TEMPLATE env var (chatml|llama3|none)
- plan.md: mark Phase 2 complete, add themes TODO
2026-06-10 09:51:24 +03:30
f57b42fd6e docs: refine Phase 2 — chat templates + reasoning parser + collapsible TUI thoughts section 2026-06-10 09:51:24 +03:30
9903c7b12b docs: restore detail in plan.md — schema SQL, table summary, principles, pgvector future, enriched phase descriptions 2026-06-10 09:51:24 +03:30
cd37d01cae docs: update plan.md with current status, discovered issues, and reordered phases 2026-06-10 09:51:24 +03:30
b8b030ef06 docs: add comprehensive 13-phase action plan for DivaCode 2026-06-10 09:50:14 +03:30