From d225ea4bd5f95d39a910704fe45acdf847c953fa Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Wed, 24 Jun 2026 00:08:47 +0900 Subject: feat(system-prompt): wire into turn flow + compaction + API routes session-orchestrator: - Wire systemPromptService as optional dep (lazy via host.getService) - Regular turn: construct on first turn (new conversation), get on subsequent turns, set on providerOpts.systemPrompt (cache-safe) - Compaction: construct (fresh resolve) + append COMPACTION_SYSTEM_PROMPT - 12 new tests (construct/get/service-unavailable/compaction) transport-http: - GET /system-prompt (returns template or DEFAULT_TEMPLATE) - PUT /system-prompt (validate + setTemplate, 503 when unavailable) - GET /system-prompt/variables (static catalog, always available) - 6 new tests system-prompt service: added getTemplate/setTemplate to interface + impl. 1396 vitest pass. typecheck + biome clean. --- tsconfig.base.json | 1 + 1 file changed, 1 insertion(+) (limited to 'tsconfig.base.json') diff --git a/tsconfig.base.json b/tsconfig.base.json index 591a9e9..c6fc144 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,4 +1,5 @@ { + "exclude": ["**/*.test.ts", "**/*.test.tsx"], "compilerOptions": { "target": "ES2022", "module": "ESNext", -- cgit v1.2.3