Skip to content

Commit 3a3f19f

Browse files
committed
chore(mothership): sync the worker's simplified stream contract
1 parent 3f30b20 commit 3a3f19f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎apps/sim/lib/mothership/generated/mothership-stream-v1.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export interface MothershipStreamV1TextPayload extends StreamTextPosition {
115115

116116
export interface MothershipStreamV1ToolCallDescriptor extends StreamToolReplay, StreamToolDeadline {
117117
activityDescription?: string;
118-
arguments?: MothershipStreamV1AdditionalPropertiesMap;
118+
arguments?: Record<string, unknown>;
119119
execName?: string;
120120
executor: MothershipStreamV1ToolExecutor;
121121
mode: MothershipStreamV1ToolMode;
@@ -126,9 +126,6 @@ export interface MothershipStreamV1ToolCallDescriptor extends StreamToolReplay,
126126
toolName: string;
127127
ui?: MothershipStreamV1ToolUI;
128128
}
129-
export interface MothershipStreamV1AdditionalPropertiesMap {
130-
[k: string]: unknown;
131-
}
132129
export interface MothershipStreamV1ToolUI {
133130
clientExecutable?: boolean;
134131
hidden?: boolean;
@@ -155,7 +152,6 @@ export interface MothershipStreamV1ToolResultPayload extends StreamToolReplay {
155152
toolName: string;
156153
}
157154

158-
/** A subagent lane opens (`data: {name}`) or closes (`data: {error}` when it failed). */
159155
/** A subagent lane's display title (on start) or failure (on end). */
160156
export interface MothershipStreamV1SubagentSpanData {
161157
name?: string;

0 commit comments

Comments
 (0)