26 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
e570399b3e docs: add AGENTS.md with architecture, commands, and conventions 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
75724f2d7c docs: add project README and coding standards 2026-06-10 09:51:14 +03:30
b8b030ef06 docs: add comprehensive 13-phase action plan for DivaCode 2026-06-10 09:50:14 +03:30
902b0c59a5 feat: add Dockerfile and docker-compose for containerized deployment 2026-06-10 09:50:14 +03:30
3c98161423 feat(types): add shared types for messages, moods, personality traits, and diary 2026-06-10 09:50:14 +03:30
0f89f5f2d6 fix: restrict gitignore patterns to avoid ignoring cmd/divad directory 2026-06-10 09:50:14 +03:30
4a8cc75793 feat(cmd): add main entrypoint wiring TUI, API, scheduler, and llama.cpp 2026-06-10 09:50:14 +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
cdc699d00b chore: initialize Go module and project scaffold 2026-06-10 09:50:09 +03:30
9e8289dc85 Initial commit 2026-06-09 23:30:19 +03:30