Commit Graph

3 Commits

Author SHA1 Message Date
Χγφτ Kompanion d5226fe7d6 tests: add snapshot round-trip test using Orchestrator::saveSnapshot/loadSnapshot; Orchestrator reuses a DAL handle so stub mode persists within instance 2025-10-19 10:49:12 +02:00
Χγφτ Kompanion c36ef7e46b middleware: add snapshot helpers (save/load) backed by PgDal; link kom_dal with PIC; CLI: add --snapshot-save/--snapshot-load for easy syntax 2025-10-19 10:40:33 +02:00
Χγφτ Kompanion e1eb3afacc middleware: add C++ orchestrator + API docs; cli: add MCP server mode and DB navigation; tests: add orchestrator QtTest; docs: add CLI usage; db: move SQL from sql/ to db/sql; tools: remove extra python embedding stub
- Add src/middleware/orchestrator.{h,cpp} with simple journal.from_prompt task loop and Ollama-backed model provider.
- Extend src/cli/KompanionApp.cpp with:
  - MCP server mode (--mcp-serve/--mcp-address)
  - DB helpers (--db-namespaces, --db-items, --db-search, --embedding-file)
- Add tests/test_orchestrator.cpp and link Qt6::Network; keep tests passing.
- Move legacy SQL from sql/pg/001_init.sql to db/sql/pg/001_init.sql for consistency.
- Add docs/cli-and-schema-navigation.md with examples for server, tools, and schema navigation.
- Remove tools/pg_search.py (redundant embedding stub).
2025-10-19 08:32:43 +02:00