@perstack/core 0.0.50 → 0.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,14 +112,14 @@ interface ToolCallPart extends BasePart {
112
112
  /** Name of the tool to call */
113
113
  toolName: string;
114
114
  /** Arguments to pass to the tool */
115
- args: unknown;
115
+ args: Record<string, unknown>;
116
116
  }
117
117
  declare const toolCallPartSchema: z.ZodObject<{
118
118
  id: z.ZodString;
119
119
  type: z.ZodLiteral<"toolCallPart">;
120
120
  toolCallId: z.ZodString;
121
121
  toolName: z.ZodString;
122
- args: z.ZodUnknown;
122
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
123
123
  }, z.core.$strip>;
124
124
  /** Thinking block from extended thinking / reasoning models */
125
125
  interface ThinkingPart extends BasePart {
@@ -210,7 +210,7 @@ declare const messagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
210
210
  type: z.ZodLiteral<"toolCallPart">;
211
211
  toolCallId: z.ZodString;
212
212
  toolName: z.ZodString;
213
- args: z.ZodUnknown;
213
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
214
214
  }, z.core.$strip>, z.ZodObject<{
215
215
  id: z.ZodString;
216
216
  type: z.ZodLiteral<"toolResultPart">;
@@ -331,7 +331,7 @@ declare const expertMessageSchema: z.ZodObject<{
331
331
  type: z.ZodLiteral<"toolCallPart">;
332
332
  toolCallId: z.ZodString;
333
333
  toolName: z.ZodString;
334
- args: z.ZodUnknown;
334
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
335
335
  }, z.core.$strip>, z.ZodObject<{
336
336
  id: z.ZodString;
337
337
  type: z.ZodLiteral<"thinkingPart">;
@@ -437,7 +437,7 @@ declare const messageSchema: z.ZodUnion<readonly [z.ZodObject<{
437
437
  type: z.ZodLiteral<"toolCallPart">;
438
438
  toolCallId: z.ZodString;
439
439
  toolName: z.ZodString;
440
- args: z.ZodUnknown;
440
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
441
441
  }, z.core.$strip>, z.ZodObject<{
442
442
  id: z.ZodString;
443
443
  type: z.ZodLiteral<"thinkingPart">;
@@ -547,7 +547,7 @@ declare const toolResultSchema: z.ZodObject<{
547
547
  type: z.ZodLiteral<"toolCallPart">;
548
548
  toolCallId: z.ZodString;
549
549
  toolName: z.ZodString;
550
- args: z.ZodUnknown;
550
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
551
551
  }, z.core.$strip>, z.ZodObject<{
552
552
  id: z.ZodString;
553
553
  type: z.ZodLiteral<"toolResultPart">;
@@ -603,9 +603,9 @@ declare const usageSchema: z.ZodObject<{
603
603
  /** Status of a checkpoint in the execution lifecycle */
604
604
  type CheckpointStatus = "init" | "proceeding" | "completed" | "stoppedByInteractiveTool" | "stoppedByDelegate" | "stoppedByExceededMaxSteps" | "stoppedByError" | "stoppedByCancellation";
605
605
  declare const checkpointStatusSchema: z.ZodEnum<{
606
+ completed: "completed";
606
607
  init: "init";
607
608
  proceeding: "proceeding";
608
- completed: "completed";
609
609
  stoppedByInteractiveTool: "stoppedByInteractiveTool";
610
610
  stoppedByDelegate: "stoppedByDelegate";
611
611
  stoppedByExceededMaxSteps: "stoppedByExceededMaxSteps";
@@ -699,9 +699,9 @@ declare const checkpointSchema: z.ZodObject<{
699
699
  jobId: z.ZodString;
700
700
  runId: z.ZodString;
701
701
  status: z.ZodEnum<{
702
+ completed: "completed";
702
703
  init: "init";
703
704
  proceeding: "proceeding";
704
- completed: "completed";
705
705
  stoppedByInteractiveTool: "stoppedByInteractiveTool";
706
706
  stoppedByDelegate: "stoppedByDelegate";
707
707
  stoppedByExceededMaxSteps: "stoppedByExceededMaxSteps";
@@ -769,7 +769,7 @@ declare const checkpointSchema: z.ZodObject<{
769
769
  type: z.ZodLiteral<"toolCallPart">;
770
770
  toolCallId: z.ZodString;
771
771
  toolName: z.ZodString;
772
- args: z.ZodUnknown;
772
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
773
773
  }, z.core.$strip>, z.ZodObject<{
774
774
  id: z.ZodString;
775
775
  type: z.ZodLiteral<"thinkingPart">;
@@ -888,7 +888,7 @@ declare const checkpointSchema: z.ZodObject<{
888
888
  type: z.ZodLiteral<"toolCallPart">;
889
889
  toolCallId: z.ZodString;
890
890
  toolName: z.ZodString;
891
- args: z.ZodUnknown;
891
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
892
892
  }, z.core.$strip>, z.ZodObject<{
893
893
  id: z.ZodString;
894
894
  type: z.ZodLiteral<"toolResultPart">;
@@ -1210,8 +1210,8 @@ declare const expertSchema: z.ZodObject<{
1210
1210
  instruction: z.ZodString;
1211
1211
  skills: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1212
1212
  type: z.ZodLiteral<"mcpStdioSkill">;
1213
- args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1214
1213
  command: z.ZodString;
1214
+ args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1215
1215
  description: z.ZodOptional<z.ZodString>;
1216
1216
  rule: z.ZodOptional<z.ZodString>;
1217
1217
  pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -1277,8 +1277,8 @@ declare const expertSchema: z.ZodObject<{
1277
1277
  };
1278
1278
  }, Record<string, {
1279
1279
  type: "mcpStdioSkill";
1280
- args: string[];
1281
1280
  command: string;
1281
+ args: string[];
1282
1282
  pick: string[];
1283
1283
  omit: string[];
1284
1284
  requiredEnv: string[];
@@ -2083,7 +2083,7 @@ declare const stepSchema: z.ZodObject<{
2083
2083
  type: z.ZodLiteral<"toolCallPart">;
2084
2084
  toolCallId: z.ZodString;
2085
2085
  toolName: z.ZodString;
2086
- args: z.ZodUnknown;
2086
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2087
2087
  }, z.core.$strip>, z.ZodObject<{
2088
2088
  id: z.ZodString;
2089
2089
  type: z.ZodLiteral<"thinkingPart">;
@@ -2167,7 +2167,7 @@ declare const stepSchema: z.ZodObject<{
2167
2167
  type: z.ZodLiteral<"toolCallPart">;
2168
2168
  toolCallId: z.ZodString;
2169
2169
  toolName: z.ZodString;
2170
- args: z.ZodUnknown;
2170
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2171
2171
  }, z.core.$strip>, z.ZodObject<{
2172
2172
  id: z.ZodString;
2173
2173
  type: z.ZodLiteral<"toolResultPart">;
@@ -2245,7 +2245,7 @@ declare const stepSchema: z.ZodObject<{
2245
2245
  type: z.ZodLiteral<"toolCallPart">;
2246
2246
  toolCallId: z.ZodString;
2247
2247
  toolName: z.ZodString;
2248
- args: z.ZodUnknown;
2248
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2249
2249
  }, z.core.$strip>, z.ZodObject<{
2250
2250
  id: z.ZodString;
2251
2251
  type: z.ZodLiteral<"toolResultPart">;
@@ -2458,8 +2458,8 @@ declare const runSettingSchema: z.ZodObject<{
2458
2458
  instruction: z.ZodString;
2459
2459
  skills: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2460
2460
  type: z.ZodLiteral<"mcpStdioSkill">;
2461
- args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2462
2461
  command: z.ZodString;
2462
+ args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2463
2463
  description: z.ZodOptional<z.ZodString>;
2464
2464
  rule: z.ZodOptional<z.ZodString>;
2465
2465
  pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -2525,8 +2525,8 @@ declare const runSettingSchema: z.ZodObject<{
2525
2525
  };
2526
2526
  }, Record<string, {
2527
2527
  type: "mcpStdioSkill";
2528
- args: string[];
2529
2528
  command: string;
2529
+ args: string[];
2530
2530
  pick: string[];
2531
2531
  omit: string[];
2532
2532
  requiredEnv: string[];
@@ -2667,8 +2667,8 @@ declare const runParamsSchema: z.ZodObject<{
2667
2667
  }, z.core.$strip>;
2668
2668
  experts: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2669
2669
  name: z.ZodString;
2670
- version: z.ZodString;
2671
2670
  description: z.ZodOptional<z.ZodString>;
2671
+ version: z.ZodString;
2672
2672
  providerToolOptions: z.ZodOptional<z.ZodObject<{
2673
2673
  webSearch: z.ZodOptional<z.ZodObject<{
2674
2674
  maxUses: z.ZodOptional<z.ZodNumber>;
@@ -2685,8 +2685,8 @@ declare const runParamsSchema: z.ZodObject<{
2685
2685
  instruction: z.ZodString;
2686
2686
  skills: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2687
2687
  type: z.ZodLiteral<"mcpStdioSkill">;
2688
- args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2689
2688
  command: z.ZodString;
2689
+ args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2690
2690
  description: z.ZodOptional<z.ZodString>;
2691
2691
  rule: z.ZodOptional<z.ZodString>;
2692
2692
  pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -2752,8 +2752,8 @@ declare const runParamsSchema: z.ZodObject<{
2752
2752
  };
2753
2753
  }, Record<string, {
2754
2754
  type: "mcpStdioSkill";
2755
- args: string[];
2756
2755
  command: string;
2756
+ args: string[];
2757
2757
  pick: string[];
2758
2758
  omit: string[];
2759
2759
  requiredEnv: string[];
@@ -2952,9 +2952,9 @@ declare const runParamsSchema: z.ZodObject<{
2952
2952
  jobId: z.ZodString;
2953
2953
  runId: z.ZodString;
2954
2954
  status: z.ZodEnum<{
2955
+ completed: "completed";
2955
2956
  init: "init";
2956
2957
  proceeding: "proceeding";
2957
- completed: "completed";
2958
2958
  stoppedByInteractiveTool: "stoppedByInteractiveTool";
2959
2959
  stoppedByDelegate: "stoppedByDelegate";
2960
2960
  stoppedByExceededMaxSteps: "stoppedByExceededMaxSteps";
@@ -3022,7 +3022,7 @@ declare const runParamsSchema: z.ZodObject<{
3022
3022
  type: z.ZodLiteral<"toolCallPart">;
3023
3023
  toolCallId: z.ZodString;
3024
3024
  toolName: z.ZodString;
3025
- args: z.ZodUnknown;
3025
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3026
3026
  }, z.core.$strip>, z.ZodObject<{
3027
3027
  id: z.ZodString;
3028
3028
  type: z.ZodLiteral<"thinkingPart">;
@@ -3141,7 +3141,7 @@ declare const runParamsSchema: z.ZodObject<{
3141
3141
  type: z.ZodLiteral<"toolCallPart">;
3142
3142
  toolCallId: z.ZodString;
3143
3143
  toolName: z.ZodString;
3144
- args: z.ZodUnknown;
3144
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3145
3145
  }, z.core.$strip>, z.ZodObject<{
3146
3146
  id: z.ZodString;
3147
3147
  type: z.ZodLiteral<"toolResultPart">;
@@ -3219,9 +3219,6 @@ type ExpertStatePayloads = {
3219
3219
  resolveToolResults: {
3220
3220
  toolResults: ToolResult[];
3221
3221
  };
3222
- attemptCompletion: {
3223
- toolResult: ToolResult;
3224
- };
3225
3222
  finishToolCall: {
3226
3223
  newMessages: (UserMessage | ToolMessage)[];
3227
3224
  };
@@ -3335,7 +3332,7 @@ declare const startRun: (setting: RunSetting, checkpoint: Checkpoint, data: Omit
3335
3332
  } & {
3336
3333
  initialCheckpoint: Checkpoint;
3337
3334
  inputMessages: (InstructionMessage | UserMessage | ToolMessage)[];
3338
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3335
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3339
3336
  type: "startRun";
3340
3337
  } & {
3341
3338
  initialCheckpoint: Checkpoint;
@@ -3345,7 +3342,7 @@ declare const resumeFromStop: (setting: RunSetting, checkpoint: Checkpoint, data
3345
3342
  type: "resumeFromStop";
3346
3343
  } & {
3347
3344
  checkpoint: Checkpoint;
3348
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3345
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3349
3346
  type: "resumeFromStop";
3350
3347
  } & {
3351
3348
  checkpoint: Checkpoint;
@@ -3355,7 +3352,7 @@ declare const proceedToInteractiveTools: (setting: RunSetting, checkpoint: Check
3355
3352
  } & {
3356
3353
  pendingToolCalls: ToolCall[];
3357
3354
  partialToolResults: ToolResult[];
3358
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3355
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3359
3356
  type: "proceedToInteractiveTools";
3360
3357
  } & {
3361
3358
  pendingToolCalls: ToolCall[];
@@ -3365,7 +3362,7 @@ declare const startGeneration: (setting: RunSetting, checkpoint: Checkpoint, dat
3365
3362
  type: "startGeneration";
3366
3363
  } & {
3367
3364
  messages: Message[];
3368
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3365
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3369
3366
  type: "startGeneration";
3370
3367
  } & {
3371
3368
  messages: Message[];
@@ -3378,7 +3375,7 @@ declare const retry: (setting: RunSetting, checkpoint: Checkpoint, data: Omit<Ba
3378
3375
  toolCalls?: ToolCall[];
3379
3376
  toolResults?: ToolResult[];
3380
3377
  usage: Usage;
3381
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3378
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3382
3379
  type: "retry";
3383
3380
  } & {
3384
3381
  reason: string;
@@ -3393,7 +3390,7 @@ declare const callTools: (setting: RunSetting, checkpoint: Checkpoint, data: Omi
3393
3390
  newMessage: ExpertMessage;
3394
3391
  toolCalls: ToolCall[];
3395
3392
  usage: Usage;
3396
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3393
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3397
3394
  type: "callTools";
3398
3395
  } & {
3399
3396
  newMessage: ExpertMessage;
@@ -3405,7 +3402,7 @@ declare const finishMcpTools: (setting: RunSetting, checkpoint: Checkpoint, data
3405
3402
  } & {
3406
3403
  partialToolResults: ToolResult[];
3407
3404
  pendingToolCalls: ToolCall[];
3408
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3405
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3409
3406
  type: "finishMcpTools";
3410
3407
  } & {
3411
3408
  partialToolResults: ToolResult[];
@@ -3413,32 +3410,23 @@ declare const finishMcpTools: (setting: RunSetting, checkpoint: Checkpoint, data
3413
3410
  };
3414
3411
  declare const skipDelegates: (setting: RunSetting, checkpoint: Checkpoint, data: Omit<BaseEvent & {
3415
3412
  type: "skipDelegates";
3416
- } & object, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3413
+ } & object, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3417
3414
  type: "skipDelegates";
3418
3415
  } & object;
3419
3416
  declare const resolveToolResults: (setting: RunSetting, checkpoint: Checkpoint, data: Omit<BaseEvent & {
3420
3417
  type: "resolveToolResults";
3421
3418
  } & {
3422
3419
  toolResults: ToolResult[];
3423
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3420
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3424
3421
  type: "resolveToolResults";
3425
3422
  } & {
3426
3423
  toolResults: ToolResult[];
3427
3424
  };
3428
- declare const attemptCompletion: (setting: RunSetting, checkpoint: Checkpoint, data: Omit<BaseEvent & {
3429
- type: "attemptCompletion";
3430
- } & {
3431
- toolResult: ToolResult;
3432
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3433
- type: "attemptCompletion";
3434
- } & {
3435
- toolResult: ToolResult;
3436
- };
3437
3425
  declare const finishToolCall: (setting: RunSetting, checkpoint: Checkpoint, data: Omit<BaseEvent & {
3438
3426
  type: "finishToolCall";
3439
3427
  } & {
3440
3428
  newMessages: (UserMessage | ToolMessage)[];
3441
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3429
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3442
3430
  type: "finishToolCall";
3443
3431
  } & {
3444
3432
  newMessages: (UserMessage | ToolMessage)[];
@@ -3448,7 +3436,7 @@ declare const resumeToolCalls: (setting: RunSetting, checkpoint: Checkpoint, dat
3448
3436
  } & {
3449
3437
  pendingToolCalls: ToolCall[];
3450
3438
  partialToolResults: ToolResult[];
3451
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3439
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3452
3440
  type: "resumeToolCalls";
3453
3441
  } & {
3454
3442
  pendingToolCalls: ToolCall[];
@@ -3461,7 +3449,7 @@ declare const completeRun: (setting: RunSetting, checkpoint: Checkpoint, data: O
3461
3449
  step: Step;
3462
3450
  text: string;
3463
3451
  usage: Usage;
3464
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3452
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3465
3453
  type: "completeRun";
3466
3454
  } & {
3467
3455
  checkpoint: Checkpoint;
@@ -3474,7 +3462,7 @@ declare const stopRunByInteractiveTool: (setting: RunSetting, checkpoint: Checkp
3474
3462
  } & {
3475
3463
  checkpoint: Checkpoint;
3476
3464
  step: Step;
3477
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3465
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3478
3466
  type: "stopRunByInteractiveTool";
3479
3467
  } & {
3480
3468
  checkpoint: Checkpoint;
@@ -3485,7 +3473,7 @@ declare const stopRunByDelegate: (setting: RunSetting, checkpoint: Checkpoint, d
3485
3473
  } & {
3486
3474
  checkpoint: Checkpoint;
3487
3475
  step: Step;
3488
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3476
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3489
3477
  type: "stopRunByDelegate";
3490
3478
  } & {
3491
3479
  checkpoint: Checkpoint;
@@ -3496,7 +3484,7 @@ declare const stopRunByExceededMaxSteps: (setting: RunSetting, checkpoint: Check
3496
3484
  } & {
3497
3485
  checkpoint: Checkpoint;
3498
3486
  step: Step;
3499
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3487
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3500
3488
  type: "stopRunByExceededMaxSteps";
3501
3489
  } & {
3502
3490
  checkpoint: Checkpoint;
@@ -3513,7 +3501,7 @@ declare const stopRunByError: (setting: RunSetting, checkpoint: Checkpoint, data
3513
3501
  statusCode?: number;
3514
3502
  isRetryable: boolean;
3515
3503
  };
3516
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3504
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3517
3505
  type: "stopRunByError";
3518
3506
  } & {
3519
3507
  checkpoint: Checkpoint;
@@ -3531,7 +3519,7 @@ declare const continueToNextStep: (setting: RunSetting, checkpoint: Checkpoint,
3531
3519
  checkpoint: Checkpoint;
3532
3520
  step: Step;
3533
3521
  nextCheckpoint: Checkpoint;
3534
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3522
+ }, "id" | "expertKey" | "runId" | "type" | "jobId" | "stepNumber" | "timestamp">) => BaseEvent & {
3535
3523
  type: "continueToNextStep";
3536
3524
  } & {
3537
3525
  checkpoint: Checkpoint;
@@ -4106,7 +4094,7 @@ declare const generalToolActivitySchema: z.ZodObject<{
4106
4094
  type: z.ZodLiteral<"toolCallPart">;
4107
4095
  toolCallId: z.ZodString;
4108
4096
  toolName: z.ZodString;
4109
- args: z.ZodUnknown;
4097
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4110
4098
  }, z.core.$strip>, z.ZodObject<{
4111
4099
  id: z.ZodString;
4112
4100
  type: z.ZodLiteral<"toolResultPart">;
@@ -4532,7 +4520,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4532
4520
  type: z.ZodLiteral<"toolCallPart">;
4533
4521
  toolCallId: z.ZodString;
4534
4522
  toolName: z.ZodString;
4535
- args: z.ZodUnknown;
4523
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4536
4524
  }, z.core.$strip>, z.ZodObject<{
4537
4525
  id: z.ZodString;
4538
4526
  type: z.ZodLiteral<"toolResultPart">;
@@ -4938,7 +4926,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4938
4926
  type: z.ZodLiteral<"toolCallPart">;
4939
4927
  toolCallId: z.ZodString;
4940
4928
  toolName: z.ZodString;
4941
- args: z.ZodUnknown;
4929
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4942
4930
  }, z.core.$strip>, z.ZodObject<{
4943
4931
  id: z.ZodString;
4944
4932
  type: z.ZodLiteral<"toolResultPart">;
@@ -5325,7 +5313,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5325
5313
  type: z.ZodLiteral<"toolCallPart">;
5326
5314
  toolCallId: z.ZodString;
5327
5315
  toolName: z.ZodString;
5328
- args: z.ZodUnknown;
5316
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5329
5317
  }, z.core.$strip>, z.ZodObject<{
5330
5318
  id: z.ZodString;
5331
5319
  type: z.ZodLiteral<"toolResultPart">;
@@ -5714,7 +5702,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5714
5702
  type: z.ZodLiteral<"toolCallPart">;
5715
5703
  toolCallId: z.ZodString;
5716
5704
  toolName: z.ZodString;
5717
- args: z.ZodUnknown;
5705
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5718
5706
  }, z.core.$strip>, z.ZodObject<{
5719
5707
  id: z.ZodString;
5720
5708
  type: z.ZodLiteral<"toolResultPart">;
@@ -6228,5 +6216,5 @@ declare function createFilteredEventListener(listener: (event: PerstackEvent) =>
6228
6216
  declare function formatZodError(error: ZodError): string;
6229
6217
  declare function parseWithFriendlyError<T>(schema: ZodSchema<T>, data: unknown, context?: string): T;
6230
6218
  //#endregion
6231
- export { Activity, ActivityOrGroup, ActivityType, AddDelegateActivity, AddSkillActivity, AmazonBedrockProviderConfig, AnthropicProviderConfig, AnthropicProviderSkill, AnthropicProviderToolName, AttemptCompletionActivity, AzureOpenAIProviderToolName, AzureOpenAiProviderConfig, BASE_SKILL_PREFIX, BaseEvent, BasePart, BuiltinAnthropicSkill, CallToolResultContent, Checkpoint, CheckpointStatus, ClearTodoActivity, CommandOptions, CompleteActivity, type CreateCheckpointParams, CreateExpertActivity, CustomAnthropicSkill, DeepseekProviderConfig, DelegateActivity, DelegateSkillManagerParams, DelegationCompleteActivity, DelegationTarget, EditTextFileActivity, ErrorActivity, EventForType, EventType, ExecActivity, Expert, ExpertMessage, ExpertStateEvent, ExpertStateEventType, FileBinaryPart, FileInlinePart, FileUrlPart, GeneralToolActivity, GetActivitiesParams, GoogleGenerativeAiProviderConfig, GoogleProviderToolName, GoogleVertexProviderConfig, Headers, ImageBinaryPart, ImageInlinePart, ImageUrlPart, InstructionMessage, InteractiveSkill, InteractiveSkillManagerParams, InteractiveTool, InteractiveToolActivity, Job, JobStatus, Lockfile, LockfileExpert, LockfileToolDefinition, McpSkillManagerParams, McpSseSkill, McpStdioSkill, Message, MessagePart, OllamaProviderConfig, OpenAIProviderToolName, OpenAiProviderConfig, ParallelActivitiesGroup, PerstackConfig, PerstackConfigExpert, PerstackConfigSkill, PerstackError, PerstackEvent, ProviderConfig, ProviderName, ProviderTable, ProviderToolOptions, QueryActivity, ReadImageFileActivity, ReadPdfFileActivity, ReadTextFileActivity, ReasoningBudget, RemoveDelegateActivity, RemoveSkillActivity, Resource, RetryActivity, RunCommandInput, RunEvent, RunInput, RunParams, RunParamsInput, RunSetting, RuntimeEvent, RuntimeEventForType, RuntimeEventType, RuntimeVersion, SAFE_ENV_VARS, Skill, SkillManagerParams, SkillType, StartCommandInput, Step, StreamingEvent, StreamingEventType, TextPart, ThinkingPart, TodoActivity, ToolCall, ToolCallPart, ToolDefinition, ToolMessage, ToolResult, ToolResultPart, Usage, UserMessage, VertexProviderToolName, WriteTextFileActivity, activityOrGroupSchema, activitySchema, addDelegateActivitySchema, addSkillActivitySchema, amazonBedrockProviderConfigSchema, anthropicProviderConfigSchema, anthropicProviderSkillSchema, anthropicProviderToolNameSchema, attemptCompletion, attemptCompletionActivitySchema, azureOpenAIProviderToolNameSchema, azureOpenAiProviderConfigSchema, basePartSchema, builtinAnthropicSkillSchema, callTools, checkpointSchema, checkpointStatusSchema, clearTodoActivitySchema, completeActivitySchema, completeRun, continueToNextStep, createBaseToolActivity, createCallToolsEvent, createCompleteRunEvent, createEmptyUsage, createEvent, createExpertActivitySchema, createFilteredEventListener, createGeneralToolActivity, createNormalizedCheckpoint, createResolveToolResultsEvent, createRuntimeEvent, createRuntimeInitEvent, createStartRunEvent, createStreamingEvent, createToolMessage, customAnthropicSkillSchema, deepseekProviderConfigSchema, defaultMaxRetries, defaultMaxSteps, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, removeDelegateActivitySchema, removeSkillActivitySchema, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByExceededMaxSteps, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, usageSchema, userMessageSchema, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
6219
+ export { Activity, ActivityOrGroup, ActivityType, AddDelegateActivity, AddSkillActivity, AmazonBedrockProviderConfig, AnthropicProviderConfig, AnthropicProviderSkill, AnthropicProviderToolName, AttemptCompletionActivity, AzureOpenAIProviderToolName, AzureOpenAiProviderConfig, BASE_SKILL_PREFIX, BaseEvent, BasePart, BuiltinAnthropicSkill, CallToolResultContent, Checkpoint, CheckpointStatus, ClearTodoActivity, CommandOptions, CompleteActivity, type CreateCheckpointParams, CreateExpertActivity, CustomAnthropicSkill, DeepseekProviderConfig, DelegateActivity, DelegateSkillManagerParams, DelegationCompleteActivity, DelegationTarget, EditTextFileActivity, ErrorActivity, EventForType, EventType, ExecActivity, Expert, ExpertMessage, ExpertStateEvent, ExpertStateEventType, FileBinaryPart, FileInlinePart, FileUrlPart, GeneralToolActivity, GetActivitiesParams, GoogleGenerativeAiProviderConfig, GoogleProviderToolName, GoogleVertexProviderConfig, Headers, ImageBinaryPart, ImageInlinePart, ImageUrlPart, InstructionMessage, InteractiveSkill, InteractiveSkillManagerParams, InteractiveTool, InteractiveToolActivity, Job, JobStatus, Lockfile, LockfileExpert, LockfileToolDefinition, McpSkillManagerParams, McpSseSkill, McpStdioSkill, Message, MessagePart, OllamaProviderConfig, OpenAIProviderToolName, OpenAiProviderConfig, ParallelActivitiesGroup, PerstackConfig, PerstackConfigExpert, PerstackConfigSkill, PerstackError, PerstackEvent, ProviderConfig, ProviderName, ProviderTable, ProviderToolOptions, QueryActivity, ReadImageFileActivity, ReadPdfFileActivity, ReadTextFileActivity, ReasoningBudget, RemoveDelegateActivity, RemoveSkillActivity, Resource, RetryActivity, RunCommandInput, RunEvent, RunInput, RunParams, RunParamsInput, RunSetting, RuntimeEvent, RuntimeEventForType, RuntimeEventType, RuntimeVersion, SAFE_ENV_VARS, Skill, SkillManagerParams, SkillType, StartCommandInput, Step, StreamingEvent, StreamingEventType, TextPart, ThinkingPart, TodoActivity, ToolCall, ToolCallPart, ToolDefinition, ToolMessage, ToolResult, ToolResultPart, Usage, UserMessage, VertexProviderToolName, WriteTextFileActivity, activityOrGroupSchema, activitySchema, addDelegateActivitySchema, addSkillActivitySchema, amazonBedrockProviderConfigSchema, anthropicProviderConfigSchema, anthropicProviderSkillSchema, anthropicProviderToolNameSchema, attemptCompletionActivitySchema, azureOpenAIProviderToolNameSchema, azureOpenAiProviderConfigSchema, basePartSchema, builtinAnthropicSkillSchema, callTools, checkpointSchema, checkpointStatusSchema, clearTodoActivitySchema, completeActivitySchema, completeRun, continueToNextStep, createBaseToolActivity, createCallToolsEvent, createCompleteRunEvent, createEmptyUsage, createEvent, createExpertActivitySchema, createFilteredEventListener, createGeneralToolActivity, createNormalizedCheckpoint, createResolveToolResultsEvent, createRuntimeEvent, createRuntimeInitEvent, createStartRunEvent, createStreamingEvent, createToolMessage, customAnthropicSkillSchema, deepseekProviderConfigSchema, defaultMaxRetries, defaultMaxSteps, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, removeDelegateActivitySchema, removeSkillActivitySchema, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByExceededMaxSteps, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, usageSchema, userMessageSchema, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
6232
6220
  //# sourceMappingURL=index.d.ts.map
package/dist/src/index.js CHANGED
@@ -391,7 +391,7 @@ const toolCallPartSchema = basePartSchema.extend({
391
391
  type: z.literal("toolCallPart"),
392
392
  toolCallId: z.string(),
393
393
  toolName: z.string(),
394
- args: z.unknown()
394
+ args: z.record(z.string(), z.unknown())
395
395
  });
396
396
  const thinkingPartSchema = basePartSchema.extend({
397
397
  type: z.literal("thinkingPart"),
@@ -1377,7 +1377,6 @@ const callTools = createEvent("callTools");
1377
1377
  const finishMcpTools = createEvent("finishMcpTools");
1378
1378
  const skipDelegates = createEvent("skipDelegates");
1379
1379
  const resolveToolResults = createEvent("resolveToolResults");
1380
- const attemptCompletion = createEvent("attemptCompletion");
1381
1380
  const finishToolCall = createEvent("finishToolCall");
1382
1381
  const resumeToolCalls = createEvent("resumeToolCalls");
1383
1382
  const completeRun = createEvent("completeRun");
@@ -1410,7 +1409,6 @@ const EXPERT_STATE_EVENT_TYPES = new Set([
1410
1409
  "finishMcpTools",
1411
1410
  "skipDelegates",
1412
1411
  "resolveToolResults",
1413
- "attemptCompletion",
1414
1412
  "finishToolCall",
1415
1413
  "resumeToolCalls",
1416
1414
  "continueToNextStep",
@@ -1903,5 +1901,5 @@ function parseWithFriendlyError(schema, data, context) {
1903
1901
  }
1904
1902
 
1905
1903
  //#endregion
1906
- export { BASE_SKILL_PREFIX, PerstackError, SAFE_ENV_VARS, activityOrGroupSchema, activitySchema, addDelegateActivitySchema, addSkillActivitySchema, amazonBedrockProviderConfigSchema, anthropicProviderConfigSchema, anthropicProviderSkillSchema, anthropicProviderToolNameSchema, attemptCompletion, attemptCompletionActivitySchema, azureOpenAIProviderToolNameSchema, azureOpenAiProviderConfigSchema, basePartSchema, builtinAnthropicSkillSchema, callTools, checkpointSchema, checkpointStatusSchema, clearTodoActivitySchema, completeActivitySchema, completeRun, continueToNextStep, createBaseToolActivity, createCallToolsEvent, createCompleteRunEvent, createEmptyUsage, createEvent, createExpertActivitySchema, createFilteredEventListener, createGeneralToolActivity, createNormalizedCheckpoint, createResolveToolResultsEvent, createRuntimeEvent, createRuntimeInitEvent, createStartRunEvent, createStreamingEvent, createToolMessage, customAnthropicSkillSchema, deepseekProviderConfigSchema, defaultMaxRetries, defaultMaxSteps, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, removeDelegateActivitySchema, removeSkillActivitySchema, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByExceededMaxSteps, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, usageSchema, userMessageSchema, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
1904
+ export { BASE_SKILL_PREFIX, PerstackError, SAFE_ENV_VARS, activityOrGroupSchema, activitySchema, addDelegateActivitySchema, addSkillActivitySchema, amazonBedrockProviderConfigSchema, anthropicProviderConfigSchema, anthropicProviderSkillSchema, anthropicProviderToolNameSchema, attemptCompletionActivitySchema, azureOpenAIProviderToolNameSchema, azureOpenAiProviderConfigSchema, basePartSchema, builtinAnthropicSkillSchema, callTools, checkpointSchema, checkpointStatusSchema, clearTodoActivitySchema, completeActivitySchema, completeRun, continueToNextStep, createBaseToolActivity, createCallToolsEvent, createCompleteRunEvent, createEmptyUsage, createEvent, createExpertActivitySchema, createFilteredEventListener, createGeneralToolActivity, createNormalizedCheckpoint, createResolveToolResultsEvent, createRuntimeEvent, createRuntimeInitEvent, createStartRunEvent, createStreamingEvent, createToolMessage, customAnthropicSkillSchema, deepseekProviderConfigSchema, defaultMaxRetries, defaultMaxSteps, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, removeDelegateActivitySchema, removeSkillActivitySchema, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByExceededMaxSteps, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, usageSchema, userMessageSchema, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
1907
1905
  //# sourceMappingURL=index.js.map