summaryrefslogtreecommitdiffhomepage
path: root/packages/cli/src/message.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/message.ts')
-rw-r--r--packages/cli/src/message.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/cli/src/message.ts b/packages/cli/src/message.ts
index 80befec..ec4d6d1 100644
--- a/packages/cli/src/message.ts
+++ b/packages/cli/src/message.ts
@@ -38,6 +38,7 @@ interface ChatCmd {
readonly cwd?: string | undefined;
readonly conversationId?: string | undefined;
readonly reasoningEffort?: ReasoningEffort | undefined;
+ readonly workspaceId?: string | undefined;
readonly showReasoning: boolean;
}
@@ -53,5 +54,6 @@ export function buildChatRequest(cmd: ChatCmd, ctx: BuildCtx): ChatRequest {
...(cmd.conversationId !== undefined && { conversationId: cmd.conversationId }),
...(cmd.cwd !== undefined ? { cwd: cmd.cwd } : { cwd: ctx.cwd }),
...(cmd.reasoningEffort !== undefined && { reasoningEffort: cmd.reasoningEffort }),
+ ...(cmd.workspaceId !== undefined && { workspaceId: cmd.workspaceId }),
};
}