Commit Graph

15 Commits

Author SHA1 Message Date
Χγφτ Kompanion 70bd4ea064 tests: prefer stdio MCP + mcp-proxy when available; source ~/dev/main/src/env.sh if present; robust cleanup 2025-10-19 10:24:03 +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 8dcdd92055 Add middleware layer and documentation 2025-10-18 20:12:49 +02:00
Χγφτ Kompanion dadb0af954 Change API naming to KI
It is just the catchy thing to do.
2025-10-18 14:16:16 +02:00
Χγφτ Kompanion 2ecb214510 Add full integration tests and more debug outout 2025-10-18 09:37:32 +02:00
Χγφτ Kompanion d6640abcbd Ifx path to stestscript again - remove obsolete files 2025-10-18 09:35:37 +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 a8694850b1 Refactor: Revert auth_token removal and add namespace to ToolSchemas.json, update tests. 2025-10-16 21:51:07 +02:00
Χγφτ Kompanion db01fb0485 Add missing files 2025-10-16 03:46:06 +13:00
Χγφτ Kompanion 70848fda6e Convert to QtSql and extend 2025-10-16 03:45:27 +13:00
Χγφτ Kompanion e881bc4998 First prototype 2025-10-15 15:16:56 +13:00
Χγφτ Kompanion 53a1a043c7 Add Kconfig and more tools 2025-10-15 12:07:21 +13:00
Χγφτ Kompanion b567b51ee2 Snapshot commit 2025-10-15 10:14:58 +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