Commit Graph

14 Commits

Author SHA1 Message Date
Χγφτ Kompanion b2197ff11c Look for MCP-Server for test instantiation 2025-10-19 19:08:40 +02:00
Χγφτ Kompanion 6fd938d4f3 mcp: add upsert_and_embed tool; implement warm_cache with filters + embeddings via libKI; DAL: make memory_chunks upsert unique by (item,seq) with SQL and in-memory; DB: add unique index on (item,seq) 2025-10-19 11:09:15 +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
Χγφτ Kompanion d6640abcbd Ifx path to stestscript again - remove obsolete files 2025-10-18 09:35:37 +02:00
Χγφτ Kompanion 799f060204 Tests: Make them callable from any path 2025-10-18 05:05:58 +02:00
Χγφτ Kompanion b5c3dd21e0 Use new embedding size in schema 2025-10-17 02:35:59 +02:00
Χγφτ Kompanion f2f7879f42 Add bearer authentication based on namespace
While there can be namespaces without a secret, commonly
the namespace should basically be the username and the
password the login secret.
2025-10-16 21:57:50 +02:00
Χγφτ Kompanion a04506a081 Extend command line and add db init.
This also removes obsolete schema files for clarity
2025-10-15 22:35:19 +13:00
Χγφτ Kompanion 779ac57f50 Add Schema files 2025-10-15 10:39:44 +13:00
Χγφτ Kompanion 5ae22ff9f8 Add testsystem 2025-10-15 01:22:29 +13:00
Χγφτ Kompanion ba9c4c0f72 Add changes made through MCP for backup 2025-10-14 13:22:44 +13:00
Χγφτ Kompanion d121f2a76d db: Add pgsql schema 2025-10-13 07:32:35 +13:00
Χγφτ Kompanion 9c63b6c593 db: core pgvector schema; docs: ASPECTS (facets of Χγφτ) 2025-10-13 06:05:32 +13:00
Χγφτ Kompanion da42f96955 chore: docker compose (tor+ollama) and docs 2025-10-13 00:06:35 +13:00