This repository has been archived on 2026-03-09. You can view files and clone it, but cannot push or open issues or pull requests.
php-agentic/Services
Snider 331796c1da
Some checks failed
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s
feat: add dedicated brain database connection for remote MariaDB
Brain memories can now be stored in a separate database, co-located
with Qdrant vectors on the homelab. Defaults to the app's main DB
when no BRAIN_DB_* env vars are set (zero-config for existing installs).

- Add brain.database config with BRAIN_DB_* env var support
- Register 'brain' database connection in Boot.php
- Set BrainMemory model to use 'brain' connection
- Update BrainService transactions to use brain connection
- Update migration to use brain connection, drop workspace FK
  (cross-database FKs not supported)
- Add migration to drop FK on existing installs
- Update default URLs from *.lthn.lan to *.lthn.sh

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-03 15:14:01 +00:00
..
Concerns fix: resolve 14 test failures across 3 test files 2026-02-23 11:48:29 +00:00
AgentApiKeyService.php perf: cache permitted tools per API key (closes #24) 2026-02-23 10:54:12 +00:00
AgentDetection.php style: fix Pint violations in ProcessContentTask and AgentDetection 2026-02-23 12:08:49 +00:00
AgenticManager.php fix: validate API keys on AgenticManager init (#29) 2026-02-23 11:39:01 +00:00
AgenticProviderInterface.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
AgenticResponse.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
AgentSessionService.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
AgentToolRegistry.php perf: cache permitted tools per API key (closes #24) 2026-02-23 10:54:12 +00:00
BrainService.php feat: add dedicated brain database connection for remote MariaDB 2026-03-03 15:14:01 +00:00
ClaudeService.php fix: add error handling to ClaudeService streaming (#26) 2026-02-23 11:04:07 +00:00
ContentService.php style: fix pint issues in ContentService and AgentToolRegistryTest 2026-02-23 11:58:52 +00:00
GeminiService.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
IpRestrictionService.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
OpenAIService.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
PlanTemplateService.php feat: add template version management (#35) 2026-02-24 13:25:17 +00:00