Commit Graph

13 Commits

Author SHA1 Message Date
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
0244b8df35 fix: create database directory before opening SQLite file 2026-06-10 09:51:24 +03:30
68db9deea8 feat(channel): add Bubble Tea TUI chat interface and Matrix adapter stub 2026-06-10 09:50:14 +03:30
2d22523795 feat(tools): add MCP tool registry with web_fetch and web_search builtins 2026-06-10 09:50:14 +03:30
1c1b7ffe7e feat(memory): add RAG memory store and self-memory system (promises, strategies) 2026-06-10 09:50:14 +03:30
7661027dbf feat(companion): add engine orchestrator tying all sub-engines together 2026-06-10 09:50:14 +03:30
e27a10e275 feat(companion): add reflection engine, diary system, and dynamic prompt builder 2026-06-10 09:50:14 +03:30
147a51ecba feat(companion): add personality, relationship, and mood engines 2026-06-10 09:50:14 +03:30
8d99c1856b feat(agent): add core agent loop and autonomous scheduler 2026-06-10 09:50:14 +03:30
a2eae2ef52 feat(llama): add llama.cpp HTTP client for completion and embedding 2026-06-10 09:50:14 +03:30
d29b194f73 feat(storage): add SQLite wrapper and full schema migrations (15 tables) 2026-06-10 09:50:14 +03:30
57cfe4516f feat(log): add structured logging handler [LEVEL] [TIME] [FILE:LINE] 2026-06-10 09:50:14 +03:30
ec4c3a91b3 feat(config): add environment-based configuration with std lib 2026-06-10 09:50:14 +03:30