From 3a688edee373cbbc291a149e50e1d2802e2e29a4 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Wed, 24 Jun 2026 01:23:55 +0900 Subject: feat(system-prompt): add prompt:workspace_id variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lets the AI know which workspace it's in — especially useful when summoning agents. Wired through the construct context in both the regular turn flow and the compaction flow. --- packages/system-prompt/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/system-prompt/src/types.ts') diff --git a/packages/system-prompt/src/types.ts b/packages/system-prompt/src/types.ts index dd6aa69..2690355 100644 --- a/packages/system-prompt/src/types.ts +++ b/packages/system-prompt/src/types.ts @@ -24,7 +24,7 @@ export interface SystemPromptService { construct( conversationId: string, cwd: string, - context?: { readonly model?: string }, + context?: { readonly model?: string; readonly workspaceId?: string }, ): Promise; /** Read the persisted resolved system prompt, or `null` if never constructed. */ -- cgit v1.2.3