diff options
| author | Adam Malczewski <[email protected]> | 2026-06-24 01:23:55 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-24 01:23:55 +0900 |
| commit | 3a688edee373cbbc291a149e50e1d2802e2e29a4 (patch) | |
| tree | 95ce88628426cf6ba79fdf3a276b040617353034 /packages/system-prompt/src/types.ts | |
| parent | b9abc1f8d8815f57e7b958b871ad85db205a9257 (diff) | |
| download | dispatch-3a688edee373cbbc291a149e50e1d2802e2e29a4.tar.gz dispatch-3a688edee373cbbc291a149e50e1d2802e2e29a4.zip | |
feat(system-prompt): add prompt:workspace_id variable
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.
Diffstat (limited to 'packages/system-prompt/src/types.ts')
| -rw-r--r-- | packages/system-prompt/src/types.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<string>; /** Read the persisted resolved system prompt, or `null` if never constructed. */ |
