@perstack/core 0.0.57 → 0.0.59

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.
@@ -603,13 +603,13 @@ declare const usageSchema: z.ZodObject<{
603
603
  /** Status of a checkpoint in the execution lifecycle */
604
604
  type CheckpointStatus = "init" | "proceeding" | "completed" | "stoppedByInteractiveTool" | "stoppedByDelegate" | "stoppedByError" | "stoppedByCancellation";
605
605
  declare const checkpointStatusSchema: z.ZodEnum<{
606
- init: "init";
607
- proceeding: "proceeding";
608
606
  completed: "completed";
609
607
  stoppedByInteractiveTool: "stoppedByInteractiveTool";
610
- stoppedByDelegate: "stoppedByDelegate";
611
608
  stoppedByError: "stoppedByError";
612
609
  stoppedByCancellation: "stoppedByCancellation";
610
+ init: "init";
611
+ proceeding: "proceeding";
612
+ stoppedByDelegate: "stoppedByDelegate";
613
613
  }>;
614
614
  /** Information about a delegation target */
615
615
  interface DelegationTarget {
@@ -698,13 +698,13 @@ declare const checkpointSchema: z.ZodObject<{
698
698
  jobId: z.ZodString;
699
699
  runId: z.ZodString;
700
700
  status: z.ZodEnum<{
701
- init: "init";
702
- proceeding: "proceeding";
703
701
  completed: "completed";
704
702
  stoppedByInteractiveTool: "stoppedByInteractiveTool";
705
- stoppedByDelegate: "stoppedByDelegate";
706
703
  stoppedByError: "stoppedByError";
707
704
  stoppedByCancellation: "stoppedByCancellation";
705
+ init: "init";
706
+ proceeding: "proceeding";
707
+ stoppedByDelegate: "stoppedByDelegate";
708
708
  }>;
709
709
  stepNumber: z.ZodNumber;
710
710
  messages: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -1446,8 +1446,8 @@ declare const expertBaseSchema: z.ZodObject<{
1446
1446
  instruction: z.ZodString;
1447
1447
  skills: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1448
1448
  type: z.ZodLiteral<"mcpStdioSkill">;
1449
- args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1450
1449
  command: z.ZodString;
1450
+ args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1451
1451
  description: z.ZodOptional<z.ZodString>;
1452
1452
  rule: z.ZodOptional<z.ZodString>;
1453
1453
  pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -1513,8 +1513,8 @@ declare const expertBaseSchema: z.ZodObject<{
1513
1513
  };
1514
1514
  }, Record<string, {
1515
1515
  type: "mcpStdioSkill";
1516
- args: string[];
1517
1516
  command: string;
1517
+ args: string[];
1518
1518
  pick: string[];
1519
1519
  omit: string[];
1520
1520
  requiredEnv: string[];
@@ -1588,8 +1588,8 @@ declare const expertSchema: z.ZodObject<{
1588
1588
  instruction: z.ZodString;
1589
1589
  skills: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1590
1590
  type: z.ZodLiteral<"mcpStdioSkill">;
1591
- args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1592
1591
  command: z.ZodString;
1592
+ args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1593
1593
  description: z.ZodOptional<z.ZodString>;
1594
1594
  rule: z.ZodOptional<z.ZodString>;
1595
1595
  pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -1655,8 +1655,8 @@ declare const expertSchema: z.ZodObject<{
1655
1655
  };
1656
1656
  }, Record<string, {
1657
1657
  type: "mcpStdioSkill";
1658
- args: string[];
1659
1658
  command: string;
1659
+ args: string[];
1660
1660
  pick: string[];
1661
1661
  omit: string[];
1662
1662
  requiredEnv: string[];
@@ -2626,8 +2626,8 @@ declare const runSettingSchema: z.ZodObject<{
2626
2626
  instruction: z.ZodString;
2627
2627
  skills: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2628
2628
  type: z.ZodLiteral<"mcpStdioSkill">;
2629
- args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2630
2629
  command: z.ZodString;
2630
+ args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2631
2631
  description: z.ZodOptional<z.ZodString>;
2632
2632
  rule: z.ZodOptional<z.ZodString>;
2633
2633
  pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -2693,8 +2693,8 @@ declare const runSettingSchema: z.ZodObject<{
2693
2693
  };
2694
2694
  }, Record<string, {
2695
2695
  type: "mcpStdioSkill";
2696
- args: string[];
2697
2696
  command: string;
2697
+ args: string[];
2698
2698
  pick: string[];
2699
2699
  omit: string[];
2700
2700
  requiredEnv: string[];
@@ -2839,7 +2839,6 @@ declare const runParamsSchema: z.ZodObject<{
2839
2839
  }, z.core.$strip>;
2840
2840
  experts: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2841
2841
  name: z.ZodString;
2842
- version: z.ZodString;
2843
2842
  description: z.ZodOptional<z.ZodString>;
2844
2843
  providerToolOptions: z.ZodOptional<z.ZodObject<{
2845
2844
  webSearch: z.ZodOptional<z.ZodObject<{
@@ -2854,11 +2853,12 @@ declare const runParamsSchema: z.ZodObject<{
2854
2853
  maxNumResults: z.ZodOptional<z.ZodNumber>;
2855
2854
  }, z.core.$strip>>;
2856
2855
  }, z.core.$strip>>;
2856
+ version: z.ZodString;
2857
2857
  instruction: z.ZodString;
2858
2858
  skills: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2859
2859
  type: z.ZodLiteral<"mcpStdioSkill">;
2860
- args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2861
2860
  command: z.ZodString;
2861
+ args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2862
2862
  description: z.ZodOptional<z.ZodString>;
2863
2863
  rule: z.ZodOptional<z.ZodString>;
2864
2864
  pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -2924,8 +2924,8 @@ declare const runParamsSchema: z.ZodObject<{
2924
2924
  };
2925
2925
  }, Record<string, {
2926
2926
  type: "mcpStdioSkill";
2927
- args: string[];
2928
2927
  command: string;
2928
+ args: string[];
2929
2929
  pick: string[];
2930
2930
  omit: string[];
2931
2931
  requiredEnv: string[];
@@ -3130,13 +3130,13 @@ declare const runParamsSchema: z.ZodObject<{
3130
3130
  jobId: z.ZodString;
3131
3131
  runId: z.ZodString;
3132
3132
  status: z.ZodEnum<{
3133
- init: "init";
3134
- proceeding: "proceeding";
3135
3133
  completed: "completed";
3136
3134
  stoppedByInteractiveTool: "stoppedByInteractiveTool";
3137
- stoppedByDelegate: "stoppedByDelegate";
3138
3135
  stoppedByError: "stoppedByError";
3139
3136
  stoppedByCancellation: "stoppedByCancellation";
3137
+ init: "init";
3138
+ proceeding: "proceeding";
3139
+ stoppedByDelegate: "stoppedByDelegate";
3140
3140
  }>;
3141
3141
  stepNumber: z.ZodNumber;
3142
3142
  messages: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -3505,7 +3505,7 @@ declare const startRun: (setting: RunSetting, checkpoint: Checkpoint, data: Omit
3505
3505
  } & {
3506
3506
  initialCheckpoint: Checkpoint;
3507
3507
  inputMessages: (InstructionMessage | UserMessage | ToolMessage)[];
3508
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3508
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3509
3509
  type: "startRun";
3510
3510
  } & {
3511
3511
  initialCheckpoint: Checkpoint;
@@ -3515,7 +3515,7 @@ declare const resumeFromStop: (setting: RunSetting, checkpoint: Checkpoint, data
3515
3515
  type: "resumeFromStop";
3516
3516
  } & {
3517
3517
  checkpoint: Checkpoint;
3518
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3518
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3519
3519
  type: "resumeFromStop";
3520
3520
  } & {
3521
3521
  checkpoint: Checkpoint;
@@ -3525,7 +3525,7 @@ declare const proceedToInteractiveTools: (setting: RunSetting, checkpoint: Check
3525
3525
  } & {
3526
3526
  pendingToolCalls: ToolCall[];
3527
3527
  partialToolResults: ToolResult[];
3528
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3528
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3529
3529
  type: "proceedToInteractiveTools";
3530
3530
  } & {
3531
3531
  pendingToolCalls: ToolCall[];
@@ -3535,7 +3535,7 @@ declare const startGeneration: (setting: RunSetting, checkpoint: Checkpoint, dat
3535
3535
  type: "startGeneration";
3536
3536
  } & {
3537
3537
  messages: Message[];
3538
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3538
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3539
3539
  type: "startGeneration";
3540
3540
  } & {
3541
3541
  messages: Message[];
@@ -3548,7 +3548,7 @@ declare const retry: (setting: RunSetting, checkpoint: Checkpoint, data: Omit<Ba
3548
3548
  toolCalls?: ToolCall[];
3549
3549
  toolResults?: ToolResult[];
3550
3550
  usage: Usage;
3551
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3551
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3552
3552
  type: "retry";
3553
3553
  } & {
3554
3554
  reason: string;
@@ -3563,7 +3563,7 @@ declare const callTools: (setting: RunSetting, checkpoint: Checkpoint, data: Omi
3563
3563
  newMessage: ExpertMessage;
3564
3564
  toolCalls: ToolCall[];
3565
3565
  usage: Usage;
3566
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3566
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3567
3567
  type: "callTools";
3568
3568
  } & {
3569
3569
  newMessage: ExpertMessage;
@@ -3575,7 +3575,7 @@ declare const finishMcpTools: (setting: RunSetting, checkpoint: Checkpoint, data
3575
3575
  } & {
3576
3576
  partialToolResults: ToolResult[];
3577
3577
  pendingToolCalls: ToolCall[];
3578
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3578
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3579
3579
  type: "finishMcpTools";
3580
3580
  } & {
3581
3581
  partialToolResults: ToolResult[];
@@ -3583,14 +3583,14 @@ declare const finishMcpTools: (setting: RunSetting, checkpoint: Checkpoint, data
3583
3583
  };
3584
3584
  declare const skipDelegates: (setting: RunSetting, checkpoint: Checkpoint, data: Omit<BaseEvent & {
3585
3585
  type: "skipDelegates";
3586
- } & object, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3586
+ } & object, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3587
3587
  type: "skipDelegates";
3588
3588
  } & object;
3589
3589
  declare const resolveToolResults: (setting: RunSetting, checkpoint: Checkpoint, data: Omit<BaseEvent & {
3590
3590
  type: "resolveToolResults";
3591
3591
  } & {
3592
3592
  toolResults: ToolResult[];
3593
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3593
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3594
3594
  type: "resolveToolResults";
3595
3595
  } & {
3596
3596
  toolResults: ToolResult[];
@@ -3599,7 +3599,7 @@ declare const finishToolCall: (setting: RunSetting, checkpoint: Checkpoint, data
3599
3599
  type: "finishToolCall";
3600
3600
  } & {
3601
3601
  newMessages: (UserMessage | ToolMessage)[];
3602
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3602
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3603
3603
  type: "finishToolCall";
3604
3604
  } & {
3605
3605
  newMessages: (UserMessage | ToolMessage)[];
@@ -3609,7 +3609,7 @@ declare const resumeToolCalls: (setting: RunSetting, checkpoint: Checkpoint, dat
3609
3609
  } & {
3610
3610
  pendingToolCalls: ToolCall[];
3611
3611
  partialToolResults: ToolResult[];
3612
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3612
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3613
3613
  type: "resumeToolCalls";
3614
3614
  } & {
3615
3615
  pendingToolCalls: ToolCall[];
@@ -3622,7 +3622,7 @@ declare const completeRun: (setting: RunSetting, checkpoint: Checkpoint, data: O
3622
3622
  step: Step;
3623
3623
  text: string;
3624
3624
  usage: Usage;
3625
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3625
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3626
3626
  type: "completeRun";
3627
3627
  } & {
3628
3628
  checkpoint: Checkpoint;
@@ -3635,7 +3635,7 @@ declare const stopRunByInteractiveTool: (setting: RunSetting, checkpoint: Checkp
3635
3635
  } & {
3636
3636
  checkpoint: Checkpoint;
3637
3637
  step: Step;
3638
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3638
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3639
3639
  type: "stopRunByInteractiveTool";
3640
3640
  } & {
3641
3641
  checkpoint: Checkpoint;
@@ -3646,7 +3646,7 @@ declare const stopRunByDelegate: (setting: RunSetting, checkpoint: Checkpoint, d
3646
3646
  } & {
3647
3647
  checkpoint: Checkpoint;
3648
3648
  step: Step;
3649
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3649
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3650
3650
  type: "stopRunByDelegate";
3651
3651
  } & {
3652
3652
  checkpoint: Checkpoint;
@@ -3663,7 +3663,7 @@ declare const stopRunByError: (setting: RunSetting, checkpoint: Checkpoint, data
3663
3663
  statusCode?: number;
3664
3664
  isRetryable: boolean;
3665
3665
  };
3666
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3666
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3667
3667
  type: "stopRunByError";
3668
3668
  } & {
3669
3669
  checkpoint: Checkpoint;
@@ -3681,7 +3681,7 @@ declare const continueToNextStep: (setting: RunSetting, checkpoint: Checkpoint,
3681
3681
  checkpoint: Checkpoint;
3682
3682
  step: Step;
3683
3683
  nextCheckpoint: Checkpoint;
3684
- }, "id" | "jobId" | "runId" | "stepNumber" | "type" | "expertKey" | "timestamp">) => BaseEvent & {
3684
+ }, "id" | "expertKey" | "runId" | "timestamp" | "type" | "jobId" | "stepNumber">) => BaseEvent & {
3685
3685
  type: "continueToNextStep";
3686
3686
  } & {
3687
3687
  checkpoint: Checkpoint;
@@ -3836,6 +3836,8 @@ interface BaseActivity {
3836
3836
  };
3837
3837
  /** LLM's reasoning/thinking process before executing this action */
3838
3838
  reasoning?: string;
3839
+ /** Unix timestamp (ms) from the originating event */
3840
+ timestamp: number;
3839
3841
  }
3840
3842
  /** Query activity - User input that starts a run */
3841
3843
  interface QueryActivity extends BaseActivity {
@@ -3852,6 +3854,7 @@ declare const queryActivitySchema: z.ZodObject<{
3852
3854
  runId: z.ZodString;
3853
3855
  }, z.core.$strip>>;
3854
3856
  reasoning: z.ZodOptional<z.ZodString>;
3857
+ timestamp: z.ZodNumber;
3855
3858
  type: z.ZodLiteral<"query">;
3856
3859
  text: z.ZodString;
3857
3860
  }, z.core.$strip>;
@@ -3871,6 +3874,7 @@ declare const retryActivitySchema: z.ZodObject<{
3871
3874
  runId: z.ZodString;
3872
3875
  }, z.core.$strip>>;
3873
3876
  reasoning: z.ZodOptional<z.ZodString>;
3877
+ timestamp: z.ZodNumber;
3874
3878
  type: z.ZodLiteral<"retry">;
3875
3879
  error: z.ZodString;
3876
3880
  message: z.ZodString;
@@ -3890,6 +3894,7 @@ declare const completeActivitySchema: z.ZodObject<{
3890
3894
  runId: z.ZodString;
3891
3895
  }, z.core.$strip>>;
3892
3896
  reasoning: z.ZodOptional<z.ZodString>;
3897
+ timestamp: z.ZodNumber;
3893
3898
  type: z.ZodLiteral<"complete">;
3894
3899
  text: z.ZodString;
3895
3900
  }, z.core.$strip>;
@@ -3910,6 +3915,7 @@ declare const errorActivitySchema: z.ZodObject<{
3910
3915
  runId: z.ZodString;
3911
3916
  }, z.core.$strip>>;
3912
3917
  reasoning: z.ZodOptional<z.ZodString>;
3918
+ timestamp: z.ZodNumber;
3913
3919
  type: z.ZodLiteral<"error">;
3914
3920
  error: z.ZodOptional<z.ZodString>;
3915
3921
  errorName: z.ZodOptional<z.ZodString>;
@@ -3935,6 +3941,7 @@ declare const attemptCompletionActivitySchema: z.ZodObject<{
3935
3941
  runId: z.ZodString;
3936
3942
  }, z.core.$strip>>;
3937
3943
  reasoning: z.ZodOptional<z.ZodString>;
3944
+ timestamp: z.ZodNumber;
3938
3945
  type: z.ZodLiteral<"attemptCompletion">;
3939
3946
  remainingTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
3940
3947
  id: z.ZodNumber;
@@ -3965,6 +3972,7 @@ declare const todoActivitySchema: z.ZodObject<{
3965
3972
  runId: z.ZodString;
3966
3973
  }, z.core.$strip>>;
3967
3974
  reasoning: z.ZodOptional<z.ZodString>;
3975
+ timestamp: z.ZodNumber;
3968
3976
  type: z.ZodLiteral<"todo">;
3969
3977
  newTodos: z.ZodOptional<z.ZodArray<z.ZodString>>;
3970
3978
  completedTodos: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -3990,6 +3998,7 @@ declare const clearTodoActivitySchema: z.ZodObject<{
3990
3998
  runId: z.ZodString;
3991
3999
  }, z.core.$strip>>;
3992
4000
  reasoning: z.ZodOptional<z.ZodString>;
4001
+ timestamp: z.ZodNumber;
3993
4002
  type: z.ZodLiteral<"clearTodo">;
3994
4003
  error: z.ZodOptional<z.ZodString>;
3995
4004
  }, z.core.$strip>;
@@ -4011,6 +4020,7 @@ declare const readImageFileActivitySchema: z.ZodObject<{
4011
4020
  runId: z.ZodString;
4012
4021
  }, z.core.$strip>>;
4013
4022
  reasoning: z.ZodOptional<z.ZodString>;
4023
+ timestamp: z.ZodNumber;
4014
4024
  type: z.ZodLiteral<"readImageFile">;
4015
4025
  path: z.ZodString;
4016
4026
  mimeType: z.ZodOptional<z.ZodString>;
@@ -4035,6 +4045,7 @@ declare const readPdfFileActivitySchema: z.ZodObject<{
4035
4045
  runId: z.ZodString;
4036
4046
  }, z.core.$strip>>;
4037
4047
  reasoning: z.ZodOptional<z.ZodString>;
4048
+ timestamp: z.ZodNumber;
4038
4049
  type: z.ZodLiteral<"readPdfFile">;
4039
4050
  path: z.ZodString;
4040
4051
  mimeType: z.ZodOptional<z.ZodString>;
@@ -4060,6 +4071,7 @@ declare const readTextFileActivitySchema: z.ZodObject<{
4060
4071
  runId: z.ZodString;
4061
4072
  }, z.core.$strip>>;
4062
4073
  reasoning: z.ZodOptional<z.ZodString>;
4074
+ timestamp: z.ZodNumber;
4063
4075
  type: z.ZodLiteral<"readTextFile">;
4064
4076
  path: z.ZodString;
4065
4077
  content: z.ZodOptional<z.ZodString>;
@@ -4085,6 +4097,7 @@ declare const editTextFileActivitySchema: z.ZodObject<{
4085
4097
  runId: z.ZodString;
4086
4098
  }, z.core.$strip>>;
4087
4099
  reasoning: z.ZodOptional<z.ZodString>;
4100
+ timestamp: z.ZodNumber;
4088
4101
  type: z.ZodLiteral<"editTextFile">;
4089
4102
  path: z.ZodString;
4090
4103
  newText: z.ZodString;
@@ -4108,6 +4121,7 @@ declare const writeTextFileActivitySchema: z.ZodObject<{
4108
4121
  runId: z.ZodString;
4109
4122
  }, z.core.$strip>>;
4110
4123
  reasoning: z.ZodOptional<z.ZodString>;
4124
+ timestamp: z.ZodNumber;
4111
4125
  type: z.ZodLiteral<"writeTextFile">;
4112
4126
  path: z.ZodString;
4113
4127
  text: z.ZodString;
@@ -4134,6 +4148,7 @@ declare const execActivitySchema: z.ZodObject<{
4134
4148
  runId: z.ZodString;
4135
4149
  }, z.core.$strip>>;
4136
4150
  reasoning: z.ZodOptional<z.ZodString>;
4151
+ timestamp: z.ZodNumber;
4137
4152
  type: z.ZodLiteral<"exec">;
4138
4153
  command: z.ZodString;
4139
4154
  args: z.ZodArray<z.ZodString>;
@@ -4159,6 +4174,7 @@ declare const delegateActivitySchema: z.ZodObject<{
4159
4174
  runId: z.ZodString;
4160
4175
  }, z.core.$strip>>;
4161
4176
  reasoning: z.ZodOptional<z.ZodString>;
4177
+ timestamp: z.ZodNumber;
4162
4178
  type: z.ZodLiteral<"delegate">;
4163
4179
  delegateExpertKey: z.ZodString;
4164
4180
  query: z.ZodString;
@@ -4178,6 +4194,7 @@ declare const delegationCompleteActivitySchema: z.ZodObject<{
4178
4194
  runId: z.ZodString;
4179
4195
  }, z.core.$strip>>;
4180
4196
  reasoning: z.ZodOptional<z.ZodString>;
4197
+ timestamp: z.ZodNumber;
4181
4198
  type: z.ZodLiteral<"delegationComplete">;
4182
4199
  count: z.ZodNumber;
4183
4200
  }, z.core.$strip>;
@@ -4198,6 +4215,7 @@ declare const interactiveToolActivitySchema: z.ZodObject<{
4198
4215
  runId: z.ZodString;
4199
4216
  }, z.core.$strip>>;
4200
4217
  reasoning: z.ZodOptional<z.ZodString>;
4218
+ timestamp: z.ZodNumber;
4201
4219
  type: z.ZodLiteral<"interactiveTool">;
4202
4220
  skillName: z.ZodString;
4203
4221
  toolName: z.ZodString;
@@ -4222,6 +4240,7 @@ declare const generalToolActivitySchema: z.ZodObject<{
4222
4240
  runId: z.ZodString;
4223
4241
  }, z.core.$strip>>;
4224
4242
  reasoning: z.ZodOptional<z.ZodString>;
4243
+ timestamp: z.ZodNumber;
4225
4244
  type: z.ZodLiteral<"generalTool">;
4226
4245
  skillName: z.ZodString;
4227
4246
  toolName: z.ZodString;
@@ -4313,6 +4332,7 @@ declare const addSkillActivitySchema: z.ZodObject<{
4313
4332
  runId: z.ZodString;
4314
4333
  }, z.core.$strip>>;
4315
4334
  reasoning: z.ZodOptional<z.ZodString>;
4335
+ timestamp: z.ZodNumber;
4316
4336
  type: z.ZodLiteral<"addSkill">;
4317
4337
  name: z.ZodString;
4318
4338
  skillType: z.ZodString;
@@ -4335,6 +4355,7 @@ declare const removeSkillActivitySchema: z.ZodObject<{
4335
4355
  runId: z.ZodString;
4336
4356
  }, z.core.$strip>>;
4337
4357
  reasoning: z.ZodOptional<z.ZodString>;
4358
+ timestamp: z.ZodNumber;
4338
4359
  type: z.ZodLiteral<"removeSkill">;
4339
4360
  skillName: z.ZodString;
4340
4361
  error: z.ZodOptional<z.ZodString>;
@@ -4356,6 +4377,7 @@ declare const addDelegateActivitySchema: z.ZodObject<{
4356
4377
  runId: z.ZodString;
4357
4378
  }, z.core.$strip>>;
4358
4379
  reasoning: z.ZodOptional<z.ZodString>;
4380
+ timestamp: z.ZodNumber;
4359
4381
  type: z.ZodLiteral<"addDelegate">;
4360
4382
  targetExpertKey: z.ZodString;
4361
4383
  delegateToolName: z.ZodOptional<z.ZodString>;
@@ -4377,6 +4399,7 @@ declare const removeDelegateActivitySchema: z.ZodObject<{
4377
4399
  runId: z.ZodString;
4378
4400
  }, z.core.$strip>>;
4379
4401
  reasoning: z.ZodOptional<z.ZodString>;
4402
+ timestamp: z.ZodNumber;
4380
4403
  type: z.ZodLiteral<"removeDelegate">;
4381
4404
  expertName: z.ZodString;
4382
4405
  error: z.ZodOptional<z.ZodString>;
@@ -4399,6 +4422,7 @@ declare const createExpertActivitySchema: z.ZodObject<{
4399
4422
  runId: z.ZodString;
4400
4423
  }, z.core.$strip>>;
4401
4424
  reasoning: z.ZodOptional<z.ZodString>;
4425
+ timestamp: z.ZodNumber;
4402
4426
  type: z.ZodLiteral<"createExpert">;
4403
4427
  targetKey: z.ZodString;
4404
4428
  description: z.ZodOptional<z.ZodString>;
@@ -4417,6 +4441,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4417
4441
  runId: z.ZodString;
4418
4442
  }, z.core.$strip>>;
4419
4443
  reasoning: z.ZodOptional<z.ZodString>;
4444
+ timestamp: z.ZodNumber;
4420
4445
  type: z.ZodLiteral<"query">;
4421
4446
  text: z.ZodString;
4422
4447
  }, z.core.$strip>, z.ZodObject<{
@@ -4429,6 +4454,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4429
4454
  runId: z.ZodString;
4430
4455
  }, z.core.$strip>>;
4431
4456
  reasoning: z.ZodOptional<z.ZodString>;
4457
+ timestamp: z.ZodNumber;
4432
4458
  type: z.ZodLiteral<"retry">;
4433
4459
  error: z.ZodString;
4434
4460
  message: z.ZodString;
@@ -4442,6 +4468,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4442
4468
  runId: z.ZodString;
4443
4469
  }, z.core.$strip>>;
4444
4470
  reasoning: z.ZodOptional<z.ZodString>;
4471
+ timestamp: z.ZodNumber;
4445
4472
  type: z.ZodLiteral<"complete">;
4446
4473
  text: z.ZodString;
4447
4474
  }, z.core.$strip>, z.ZodObject<{
@@ -4454,6 +4481,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4454
4481
  runId: z.ZodString;
4455
4482
  }, z.core.$strip>>;
4456
4483
  reasoning: z.ZodOptional<z.ZodString>;
4484
+ timestamp: z.ZodNumber;
4457
4485
  type: z.ZodLiteral<"error">;
4458
4486
  error: z.ZodOptional<z.ZodString>;
4459
4487
  errorName: z.ZodOptional<z.ZodString>;
@@ -4468,6 +4496,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4468
4496
  runId: z.ZodString;
4469
4497
  }, z.core.$strip>>;
4470
4498
  reasoning: z.ZodOptional<z.ZodString>;
4499
+ timestamp: z.ZodNumber;
4471
4500
  type: z.ZodLiteral<"attemptCompletion">;
4472
4501
  remainingTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
4473
4502
  id: z.ZodNumber;
@@ -4485,6 +4514,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4485
4514
  runId: z.ZodString;
4486
4515
  }, z.core.$strip>>;
4487
4516
  reasoning: z.ZodOptional<z.ZodString>;
4517
+ timestamp: z.ZodNumber;
4488
4518
  type: z.ZodLiteral<"todo">;
4489
4519
  newTodos: z.ZodOptional<z.ZodArray<z.ZodString>>;
4490
4520
  completedTodos: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -4504,6 +4534,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4504
4534
  runId: z.ZodString;
4505
4535
  }, z.core.$strip>>;
4506
4536
  reasoning: z.ZodOptional<z.ZodString>;
4537
+ timestamp: z.ZodNumber;
4507
4538
  type: z.ZodLiteral<"clearTodo">;
4508
4539
  error: z.ZodOptional<z.ZodString>;
4509
4540
  }, z.core.$strip>, z.ZodObject<{
@@ -4516,6 +4547,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4516
4547
  runId: z.ZodString;
4517
4548
  }, z.core.$strip>>;
4518
4549
  reasoning: z.ZodOptional<z.ZodString>;
4550
+ timestamp: z.ZodNumber;
4519
4551
  type: z.ZodLiteral<"readImageFile">;
4520
4552
  path: z.ZodString;
4521
4553
  mimeType: z.ZodOptional<z.ZodString>;
@@ -4531,6 +4563,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4531
4563
  runId: z.ZodString;
4532
4564
  }, z.core.$strip>>;
4533
4565
  reasoning: z.ZodOptional<z.ZodString>;
4566
+ timestamp: z.ZodNumber;
4534
4567
  type: z.ZodLiteral<"readPdfFile">;
4535
4568
  path: z.ZodString;
4536
4569
  mimeType: z.ZodOptional<z.ZodString>;
@@ -4546,6 +4579,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4546
4579
  runId: z.ZodString;
4547
4580
  }, z.core.$strip>>;
4548
4581
  reasoning: z.ZodOptional<z.ZodString>;
4582
+ timestamp: z.ZodNumber;
4549
4583
  type: z.ZodLiteral<"readTextFile">;
4550
4584
  path: z.ZodString;
4551
4585
  content: z.ZodOptional<z.ZodString>;
@@ -4562,6 +4596,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4562
4596
  runId: z.ZodString;
4563
4597
  }, z.core.$strip>>;
4564
4598
  reasoning: z.ZodOptional<z.ZodString>;
4599
+ timestamp: z.ZodNumber;
4565
4600
  type: z.ZodLiteral<"editTextFile">;
4566
4601
  path: z.ZodString;
4567
4602
  newText: z.ZodString;
@@ -4577,6 +4612,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4577
4612
  runId: z.ZodString;
4578
4613
  }, z.core.$strip>>;
4579
4614
  reasoning: z.ZodOptional<z.ZodString>;
4615
+ timestamp: z.ZodNumber;
4580
4616
  type: z.ZodLiteral<"writeTextFile">;
4581
4617
  path: z.ZodString;
4582
4618
  text: z.ZodString;
@@ -4591,6 +4627,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4591
4627
  runId: z.ZodString;
4592
4628
  }, z.core.$strip>>;
4593
4629
  reasoning: z.ZodOptional<z.ZodString>;
4630
+ timestamp: z.ZodNumber;
4594
4631
  type: z.ZodLiteral<"exec">;
4595
4632
  command: z.ZodString;
4596
4633
  args: z.ZodArray<z.ZodString>;
@@ -4609,6 +4646,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4609
4646
  runId: z.ZodString;
4610
4647
  }, z.core.$strip>>;
4611
4648
  reasoning: z.ZodOptional<z.ZodString>;
4649
+ timestamp: z.ZodNumber;
4612
4650
  type: z.ZodLiteral<"delegate">;
4613
4651
  delegateExpertKey: z.ZodString;
4614
4652
  query: z.ZodString;
@@ -4622,6 +4660,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4622
4660
  runId: z.ZodString;
4623
4661
  }, z.core.$strip>>;
4624
4662
  reasoning: z.ZodOptional<z.ZodString>;
4663
+ timestamp: z.ZodNumber;
4625
4664
  type: z.ZodLiteral<"delegationComplete">;
4626
4665
  count: z.ZodNumber;
4627
4666
  }, z.core.$strip>, z.ZodObject<{
@@ -4634,6 +4673,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4634
4673
  runId: z.ZodString;
4635
4674
  }, z.core.$strip>>;
4636
4675
  reasoning: z.ZodOptional<z.ZodString>;
4676
+ timestamp: z.ZodNumber;
4637
4677
  type: z.ZodLiteral<"interactiveTool">;
4638
4678
  skillName: z.ZodString;
4639
4679
  toolName: z.ZodString;
@@ -4648,6 +4688,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4648
4688
  runId: z.ZodString;
4649
4689
  }, z.core.$strip>>;
4650
4690
  reasoning: z.ZodOptional<z.ZodString>;
4691
+ timestamp: z.ZodNumber;
4651
4692
  type: z.ZodLiteral<"generalTool">;
4652
4693
  skillName: z.ZodString;
4653
4694
  toolName: z.ZodString;
@@ -4730,6 +4771,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4730
4771
  runId: z.ZodString;
4731
4772
  }, z.core.$strip>>;
4732
4773
  reasoning: z.ZodOptional<z.ZodString>;
4774
+ timestamp: z.ZodNumber;
4733
4775
  type: z.ZodLiteral<"addSkill">;
4734
4776
  name: z.ZodString;
4735
4777
  skillType: z.ZodString;
@@ -4745,6 +4787,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4745
4787
  runId: z.ZodString;
4746
4788
  }, z.core.$strip>>;
4747
4789
  reasoning: z.ZodOptional<z.ZodString>;
4790
+ timestamp: z.ZodNumber;
4748
4791
  type: z.ZodLiteral<"removeSkill">;
4749
4792
  skillName: z.ZodString;
4750
4793
  error: z.ZodOptional<z.ZodString>;
@@ -4758,6 +4801,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4758
4801
  runId: z.ZodString;
4759
4802
  }, z.core.$strip>>;
4760
4803
  reasoning: z.ZodOptional<z.ZodString>;
4804
+ timestamp: z.ZodNumber;
4761
4805
  type: z.ZodLiteral<"addDelegate">;
4762
4806
  targetExpertKey: z.ZodString;
4763
4807
  delegateToolName: z.ZodOptional<z.ZodString>;
@@ -4772,6 +4816,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4772
4816
  runId: z.ZodString;
4773
4817
  }, z.core.$strip>>;
4774
4818
  reasoning: z.ZodOptional<z.ZodString>;
4819
+ timestamp: z.ZodNumber;
4775
4820
  type: z.ZodLiteral<"removeDelegate">;
4776
4821
  expertName: z.ZodString;
4777
4822
  error: z.ZodOptional<z.ZodString>;
@@ -4785,6 +4830,7 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4785
4830
  runId: z.ZodString;
4786
4831
  }, z.core.$strip>>;
4787
4832
  reasoning: z.ZodOptional<z.ZodString>;
4833
+ timestamp: z.ZodNumber;
4788
4834
  type: z.ZodLiteral<"createExpert">;
4789
4835
  targetKey: z.ZodString;
4790
4836
  description: z.ZodOptional<z.ZodString>;
@@ -4823,6 +4869,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4823
4869
  runId: z.ZodString;
4824
4870
  }, z.core.$strip>>;
4825
4871
  reasoning: z.ZodOptional<z.ZodString>;
4872
+ timestamp: z.ZodNumber;
4826
4873
  type: z.ZodLiteral<"query">;
4827
4874
  text: z.ZodString;
4828
4875
  }, z.core.$strip>, z.ZodObject<{
@@ -4835,6 +4882,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4835
4882
  runId: z.ZodString;
4836
4883
  }, z.core.$strip>>;
4837
4884
  reasoning: z.ZodOptional<z.ZodString>;
4885
+ timestamp: z.ZodNumber;
4838
4886
  type: z.ZodLiteral<"retry">;
4839
4887
  error: z.ZodString;
4840
4888
  message: z.ZodString;
@@ -4848,6 +4896,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4848
4896
  runId: z.ZodString;
4849
4897
  }, z.core.$strip>>;
4850
4898
  reasoning: z.ZodOptional<z.ZodString>;
4899
+ timestamp: z.ZodNumber;
4851
4900
  type: z.ZodLiteral<"complete">;
4852
4901
  text: z.ZodString;
4853
4902
  }, z.core.$strip>, z.ZodObject<{
@@ -4860,6 +4909,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4860
4909
  runId: z.ZodString;
4861
4910
  }, z.core.$strip>>;
4862
4911
  reasoning: z.ZodOptional<z.ZodString>;
4912
+ timestamp: z.ZodNumber;
4863
4913
  type: z.ZodLiteral<"error">;
4864
4914
  error: z.ZodOptional<z.ZodString>;
4865
4915
  errorName: z.ZodOptional<z.ZodString>;
@@ -4874,6 +4924,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4874
4924
  runId: z.ZodString;
4875
4925
  }, z.core.$strip>>;
4876
4926
  reasoning: z.ZodOptional<z.ZodString>;
4927
+ timestamp: z.ZodNumber;
4877
4928
  type: z.ZodLiteral<"attemptCompletion">;
4878
4929
  remainingTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
4879
4930
  id: z.ZodNumber;
@@ -4891,6 +4942,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4891
4942
  runId: z.ZodString;
4892
4943
  }, z.core.$strip>>;
4893
4944
  reasoning: z.ZodOptional<z.ZodString>;
4945
+ timestamp: z.ZodNumber;
4894
4946
  type: z.ZodLiteral<"todo">;
4895
4947
  newTodos: z.ZodOptional<z.ZodArray<z.ZodString>>;
4896
4948
  completedTodos: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -4910,6 +4962,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4910
4962
  runId: z.ZodString;
4911
4963
  }, z.core.$strip>>;
4912
4964
  reasoning: z.ZodOptional<z.ZodString>;
4965
+ timestamp: z.ZodNumber;
4913
4966
  type: z.ZodLiteral<"clearTodo">;
4914
4967
  error: z.ZodOptional<z.ZodString>;
4915
4968
  }, z.core.$strip>, z.ZodObject<{
@@ -4922,6 +4975,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4922
4975
  runId: z.ZodString;
4923
4976
  }, z.core.$strip>>;
4924
4977
  reasoning: z.ZodOptional<z.ZodString>;
4978
+ timestamp: z.ZodNumber;
4925
4979
  type: z.ZodLiteral<"readImageFile">;
4926
4980
  path: z.ZodString;
4927
4981
  mimeType: z.ZodOptional<z.ZodString>;
@@ -4937,6 +4991,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4937
4991
  runId: z.ZodString;
4938
4992
  }, z.core.$strip>>;
4939
4993
  reasoning: z.ZodOptional<z.ZodString>;
4994
+ timestamp: z.ZodNumber;
4940
4995
  type: z.ZodLiteral<"readPdfFile">;
4941
4996
  path: z.ZodString;
4942
4997
  mimeType: z.ZodOptional<z.ZodString>;
@@ -4952,6 +5007,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4952
5007
  runId: z.ZodString;
4953
5008
  }, z.core.$strip>>;
4954
5009
  reasoning: z.ZodOptional<z.ZodString>;
5010
+ timestamp: z.ZodNumber;
4955
5011
  type: z.ZodLiteral<"readTextFile">;
4956
5012
  path: z.ZodString;
4957
5013
  content: z.ZodOptional<z.ZodString>;
@@ -4968,6 +5024,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4968
5024
  runId: z.ZodString;
4969
5025
  }, z.core.$strip>>;
4970
5026
  reasoning: z.ZodOptional<z.ZodString>;
5027
+ timestamp: z.ZodNumber;
4971
5028
  type: z.ZodLiteral<"editTextFile">;
4972
5029
  path: z.ZodString;
4973
5030
  newText: z.ZodString;
@@ -4983,6 +5040,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4983
5040
  runId: z.ZodString;
4984
5041
  }, z.core.$strip>>;
4985
5042
  reasoning: z.ZodOptional<z.ZodString>;
5043
+ timestamp: z.ZodNumber;
4986
5044
  type: z.ZodLiteral<"writeTextFile">;
4987
5045
  path: z.ZodString;
4988
5046
  text: z.ZodString;
@@ -4997,6 +5055,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
4997
5055
  runId: z.ZodString;
4998
5056
  }, z.core.$strip>>;
4999
5057
  reasoning: z.ZodOptional<z.ZodString>;
5058
+ timestamp: z.ZodNumber;
5000
5059
  type: z.ZodLiteral<"exec">;
5001
5060
  command: z.ZodString;
5002
5061
  args: z.ZodArray<z.ZodString>;
@@ -5015,6 +5074,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5015
5074
  runId: z.ZodString;
5016
5075
  }, z.core.$strip>>;
5017
5076
  reasoning: z.ZodOptional<z.ZodString>;
5077
+ timestamp: z.ZodNumber;
5018
5078
  type: z.ZodLiteral<"delegate">;
5019
5079
  delegateExpertKey: z.ZodString;
5020
5080
  query: z.ZodString;
@@ -5028,6 +5088,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5028
5088
  runId: z.ZodString;
5029
5089
  }, z.core.$strip>>;
5030
5090
  reasoning: z.ZodOptional<z.ZodString>;
5091
+ timestamp: z.ZodNumber;
5031
5092
  type: z.ZodLiteral<"delegationComplete">;
5032
5093
  count: z.ZodNumber;
5033
5094
  }, z.core.$strip>, z.ZodObject<{
@@ -5040,6 +5101,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5040
5101
  runId: z.ZodString;
5041
5102
  }, z.core.$strip>>;
5042
5103
  reasoning: z.ZodOptional<z.ZodString>;
5104
+ timestamp: z.ZodNumber;
5043
5105
  type: z.ZodLiteral<"interactiveTool">;
5044
5106
  skillName: z.ZodString;
5045
5107
  toolName: z.ZodString;
@@ -5054,6 +5116,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5054
5116
  runId: z.ZodString;
5055
5117
  }, z.core.$strip>>;
5056
5118
  reasoning: z.ZodOptional<z.ZodString>;
5119
+ timestamp: z.ZodNumber;
5057
5120
  type: z.ZodLiteral<"generalTool">;
5058
5121
  skillName: z.ZodString;
5059
5122
  toolName: z.ZodString;
@@ -5136,6 +5199,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5136
5199
  runId: z.ZodString;
5137
5200
  }, z.core.$strip>>;
5138
5201
  reasoning: z.ZodOptional<z.ZodString>;
5202
+ timestamp: z.ZodNumber;
5139
5203
  type: z.ZodLiteral<"addSkill">;
5140
5204
  name: z.ZodString;
5141
5205
  skillType: z.ZodString;
@@ -5151,6 +5215,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5151
5215
  runId: z.ZodString;
5152
5216
  }, z.core.$strip>>;
5153
5217
  reasoning: z.ZodOptional<z.ZodString>;
5218
+ timestamp: z.ZodNumber;
5154
5219
  type: z.ZodLiteral<"removeSkill">;
5155
5220
  skillName: z.ZodString;
5156
5221
  error: z.ZodOptional<z.ZodString>;
@@ -5164,6 +5229,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5164
5229
  runId: z.ZodString;
5165
5230
  }, z.core.$strip>>;
5166
5231
  reasoning: z.ZodOptional<z.ZodString>;
5232
+ timestamp: z.ZodNumber;
5167
5233
  type: z.ZodLiteral<"addDelegate">;
5168
5234
  targetExpertKey: z.ZodString;
5169
5235
  delegateToolName: z.ZodOptional<z.ZodString>;
@@ -5178,6 +5244,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5178
5244
  runId: z.ZodString;
5179
5245
  }, z.core.$strip>>;
5180
5246
  reasoning: z.ZodOptional<z.ZodString>;
5247
+ timestamp: z.ZodNumber;
5181
5248
  type: z.ZodLiteral<"removeDelegate">;
5182
5249
  expertName: z.ZodString;
5183
5250
  error: z.ZodOptional<z.ZodString>;
@@ -5191,6 +5258,7 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
5191
5258
  runId: z.ZodString;
5192
5259
  }, z.core.$strip>>;
5193
5260
  reasoning: z.ZodOptional<z.ZodString>;
5261
+ timestamp: z.ZodNumber;
5194
5262
  type: z.ZodLiteral<"createExpert">;
5195
5263
  targetKey: z.ZodString;
5196
5264
  description: z.ZodOptional<z.ZodString>;
@@ -5210,6 +5278,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5210
5278
  runId: z.ZodString;
5211
5279
  }, z.core.$strip>>;
5212
5280
  reasoning: z.ZodOptional<z.ZodString>;
5281
+ timestamp: z.ZodNumber;
5213
5282
  type: z.ZodLiteral<"query">;
5214
5283
  text: z.ZodString;
5215
5284
  }, z.core.$strip>, z.ZodObject<{
@@ -5222,6 +5291,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5222
5291
  runId: z.ZodString;
5223
5292
  }, z.core.$strip>>;
5224
5293
  reasoning: z.ZodOptional<z.ZodString>;
5294
+ timestamp: z.ZodNumber;
5225
5295
  type: z.ZodLiteral<"retry">;
5226
5296
  error: z.ZodString;
5227
5297
  message: z.ZodString;
@@ -5235,6 +5305,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5235
5305
  runId: z.ZodString;
5236
5306
  }, z.core.$strip>>;
5237
5307
  reasoning: z.ZodOptional<z.ZodString>;
5308
+ timestamp: z.ZodNumber;
5238
5309
  type: z.ZodLiteral<"complete">;
5239
5310
  text: z.ZodString;
5240
5311
  }, z.core.$strip>, z.ZodObject<{
@@ -5247,6 +5318,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5247
5318
  runId: z.ZodString;
5248
5319
  }, z.core.$strip>>;
5249
5320
  reasoning: z.ZodOptional<z.ZodString>;
5321
+ timestamp: z.ZodNumber;
5250
5322
  type: z.ZodLiteral<"error">;
5251
5323
  error: z.ZodOptional<z.ZodString>;
5252
5324
  errorName: z.ZodOptional<z.ZodString>;
@@ -5261,6 +5333,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5261
5333
  runId: z.ZodString;
5262
5334
  }, z.core.$strip>>;
5263
5335
  reasoning: z.ZodOptional<z.ZodString>;
5336
+ timestamp: z.ZodNumber;
5264
5337
  type: z.ZodLiteral<"attemptCompletion">;
5265
5338
  remainingTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5266
5339
  id: z.ZodNumber;
@@ -5278,6 +5351,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5278
5351
  runId: z.ZodString;
5279
5352
  }, z.core.$strip>>;
5280
5353
  reasoning: z.ZodOptional<z.ZodString>;
5354
+ timestamp: z.ZodNumber;
5281
5355
  type: z.ZodLiteral<"todo">;
5282
5356
  newTodos: z.ZodOptional<z.ZodArray<z.ZodString>>;
5283
5357
  completedTodos: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -5297,6 +5371,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5297
5371
  runId: z.ZodString;
5298
5372
  }, z.core.$strip>>;
5299
5373
  reasoning: z.ZodOptional<z.ZodString>;
5374
+ timestamp: z.ZodNumber;
5300
5375
  type: z.ZodLiteral<"clearTodo">;
5301
5376
  error: z.ZodOptional<z.ZodString>;
5302
5377
  }, z.core.$strip>, z.ZodObject<{
@@ -5309,6 +5384,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5309
5384
  runId: z.ZodString;
5310
5385
  }, z.core.$strip>>;
5311
5386
  reasoning: z.ZodOptional<z.ZodString>;
5387
+ timestamp: z.ZodNumber;
5312
5388
  type: z.ZodLiteral<"readImageFile">;
5313
5389
  path: z.ZodString;
5314
5390
  mimeType: z.ZodOptional<z.ZodString>;
@@ -5324,6 +5400,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5324
5400
  runId: z.ZodString;
5325
5401
  }, z.core.$strip>>;
5326
5402
  reasoning: z.ZodOptional<z.ZodString>;
5403
+ timestamp: z.ZodNumber;
5327
5404
  type: z.ZodLiteral<"readPdfFile">;
5328
5405
  path: z.ZodString;
5329
5406
  mimeType: z.ZodOptional<z.ZodString>;
@@ -5339,6 +5416,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5339
5416
  runId: z.ZodString;
5340
5417
  }, z.core.$strip>>;
5341
5418
  reasoning: z.ZodOptional<z.ZodString>;
5419
+ timestamp: z.ZodNumber;
5342
5420
  type: z.ZodLiteral<"readTextFile">;
5343
5421
  path: z.ZodString;
5344
5422
  content: z.ZodOptional<z.ZodString>;
@@ -5355,6 +5433,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5355
5433
  runId: z.ZodString;
5356
5434
  }, z.core.$strip>>;
5357
5435
  reasoning: z.ZodOptional<z.ZodString>;
5436
+ timestamp: z.ZodNumber;
5358
5437
  type: z.ZodLiteral<"editTextFile">;
5359
5438
  path: z.ZodString;
5360
5439
  newText: z.ZodString;
@@ -5370,6 +5449,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5370
5449
  runId: z.ZodString;
5371
5450
  }, z.core.$strip>>;
5372
5451
  reasoning: z.ZodOptional<z.ZodString>;
5452
+ timestamp: z.ZodNumber;
5373
5453
  type: z.ZodLiteral<"writeTextFile">;
5374
5454
  path: z.ZodString;
5375
5455
  text: z.ZodString;
@@ -5384,6 +5464,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5384
5464
  runId: z.ZodString;
5385
5465
  }, z.core.$strip>>;
5386
5466
  reasoning: z.ZodOptional<z.ZodString>;
5467
+ timestamp: z.ZodNumber;
5387
5468
  type: z.ZodLiteral<"exec">;
5388
5469
  command: z.ZodString;
5389
5470
  args: z.ZodArray<z.ZodString>;
@@ -5402,6 +5483,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5402
5483
  runId: z.ZodString;
5403
5484
  }, z.core.$strip>>;
5404
5485
  reasoning: z.ZodOptional<z.ZodString>;
5486
+ timestamp: z.ZodNumber;
5405
5487
  type: z.ZodLiteral<"delegate">;
5406
5488
  delegateExpertKey: z.ZodString;
5407
5489
  query: z.ZodString;
@@ -5415,6 +5497,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5415
5497
  runId: z.ZodString;
5416
5498
  }, z.core.$strip>>;
5417
5499
  reasoning: z.ZodOptional<z.ZodString>;
5500
+ timestamp: z.ZodNumber;
5418
5501
  type: z.ZodLiteral<"delegationComplete">;
5419
5502
  count: z.ZodNumber;
5420
5503
  }, z.core.$strip>, z.ZodObject<{
@@ -5427,6 +5510,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5427
5510
  runId: z.ZodString;
5428
5511
  }, z.core.$strip>>;
5429
5512
  reasoning: z.ZodOptional<z.ZodString>;
5513
+ timestamp: z.ZodNumber;
5430
5514
  type: z.ZodLiteral<"interactiveTool">;
5431
5515
  skillName: z.ZodString;
5432
5516
  toolName: z.ZodString;
@@ -5441,6 +5525,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5441
5525
  runId: z.ZodString;
5442
5526
  }, z.core.$strip>>;
5443
5527
  reasoning: z.ZodOptional<z.ZodString>;
5528
+ timestamp: z.ZodNumber;
5444
5529
  type: z.ZodLiteral<"generalTool">;
5445
5530
  skillName: z.ZodString;
5446
5531
  toolName: z.ZodString;
@@ -5523,6 +5608,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5523
5608
  runId: z.ZodString;
5524
5609
  }, z.core.$strip>>;
5525
5610
  reasoning: z.ZodOptional<z.ZodString>;
5611
+ timestamp: z.ZodNumber;
5526
5612
  type: z.ZodLiteral<"addSkill">;
5527
5613
  name: z.ZodString;
5528
5614
  skillType: z.ZodString;
@@ -5538,6 +5624,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5538
5624
  runId: z.ZodString;
5539
5625
  }, z.core.$strip>>;
5540
5626
  reasoning: z.ZodOptional<z.ZodString>;
5627
+ timestamp: z.ZodNumber;
5541
5628
  type: z.ZodLiteral<"removeSkill">;
5542
5629
  skillName: z.ZodString;
5543
5630
  error: z.ZodOptional<z.ZodString>;
@@ -5551,6 +5638,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5551
5638
  runId: z.ZodString;
5552
5639
  }, z.core.$strip>>;
5553
5640
  reasoning: z.ZodOptional<z.ZodString>;
5641
+ timestamp: z.ZodNumber;
5554
5642
  type: z.ZodLiteral<"addDelegate">;
5555
5643
  targetExpertKey: z.ZodString;
5556
5644
  delegateToolName: z.ZodOptional<z.ZodString>;
@@ -5565,6 +5653,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5565
5653
  runId: z.ZodString;
5566
5654
  }, z.core.$strip>>;
5567
5655
  reasoning: z.ZodOptional<z.ZodString>;
5656
+ timestamp: z.ZodNumber;
5568
5657
  type: z.ZodLiteral<"removeDelegate">;
5569
5658
  expertName: z.ZodString;
5570
5659
  error: z.ZodOptional<z.ZodString>;
@@ -5578,6 +5667,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5578
5667
  runId: z.ZodString;
5579
5668
  }, z.core.$strip>>;
5580
5669
  reasoning: z.ZodOptional<z.ZodString>;
5670
+ timestamp: z.ZodNumber;
5581
5671
  type: z.ZodLiteral<"createExpert">;
5582
5672
  targetKey: z.ZodString;
5583
5673
  description: z.ZodOptional<z.ZodString>;
@@ -5599,6 +5689,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5599
5689
  runId: z.ZodString;
5600
5690
  }, z.core.$strip>>;
5601
5691
  reasoning: z.ZodOptional<z.ZodString>;
5692
+ timestamp: z.ZodNumber;
5602
5693
  type: z.ZodLiteral<"query">;
5603
5694
  text: z.ZodString;
5604
5695
  }, z.core.$strip>, z.ZodObject<{
@@ -5611,6 +5702,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5611
5702
  runId: z.ZodString;
5612
5703
  }, z.core.$strip>>;
5613
5704
  reasoning: z.ZodOptional<z.ZodString>;
5705
+ timestamp: z.ZodNumber;
5614
5706
  type: z.ZodLiteral<"retry">;
5615
5707
  error: z.ZodString;
5616
5708
  message: z.ZodString;
@@ -5624,6 +5716,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5624
5716
  runId: z.ZodString;
5625
5717
  }, z.core.$strip>>;
5626
5718
  reasoning: z.ZodOptional<z.ZodString>;
5719
+ timestamp: z.ZodNumber;
5627
5720
  type: z.ZodLiteral<"complete">;
5628
5721
  text: z.ZodString;
5629
5722
  }, z.core.$strip>, z.ZodObject<{
@@ -5636,6 +5729,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5636
5729
  runId: z.ZodString;
5637
5730
  }, z.core.$strip>>;
5638
5731
  reasoning: z.ZodOptional<z.ZodString>;
5732
+ timestamp: z.ZodNumber;
5639
5733
  type: z.ZodLiteral<"error">;
5640
5734
  error: z.ZodOptional<z.ZodString>;
5641
5735
  errorName: z.ZodOptional<z.ZodString>;
@@ -5650,6 +5744,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5650
5744
  runId: z.ZodString;
5651
5745
  }, z.core.$strip>>;
5652
5746
  reasoning: z.ZodOptional<z.ZodString>;
5747
+ timestamp: z.ZodNumber;
5653
5748
  type: z.ZodLiteral<"attemptCompletion">;
5654
5749
  remainingTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
5655
5750
  id: z.ZodNumber;
@@ -5667,6 +5762,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5667
5762
  runId: z.ZodString;
5668
5763
  }, z.core.$strip>>;
5669
5764
  reasoning: z.ZodOptional<z.ZodString>;
5765
+ timestamp: z.ZodNumber;
5670
5766
  type: z.ZodLiteral<"todo">;
5671
5767
  newTodos: z.ZodOptional<z.ZodArray<z.ZodString>>;
5672
5768
  completedTodos: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -5686,6 +5782,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5686
5782
  runId: z.ZodString;
5687
5783
  }, z.core.$strip>>;
5688
5784
  reasoning: z.ZodOptional<z.ZodString>;
5785
+ timestamp: z.ZodNumber;
5689
5786
  type: z.ZodLiteral<"clearTodo">;
5690
5787
  error: z.ZodOptional<z.ZodString>;
5691
5788
  }, z.core.$strip>, z.ZodObject<{
@@ -5698,6 +5795,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5698
5795
  runId: z.ZodString;
5699
5796
  }, z.core.$strip>>;
5700
5797
  reasoning: z.ZodOptional<z.ZodString>;
5798
+ timestamp: z.ZodNumber;
5701
5799
  type: z.ZodLiteral<"readImageFile">;
5702
5800
  path: z.ZodString;
5703
5801
  mimeType: z.ZodOptional<z.ZodString>;
@@ -5713,6 +5811,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5713
5811
  runId: z.ZodString;
5714
5812
  }, z.core.$strip>>;
5715
5813
  reasoning: z.ZodOptional<z.ZodString>;
5814
+ timestamp: z.ZodNumber;
5716
5815
  type: z.ZodLiteral<"readPdfFile">;
5717
5816
  path: z.ZodString;
5718
5817
  mimeType: z.ZodOptional<z.ZodString>;
@@ -5728,6 +5827,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5728
5827
  runId: z.ZodString;
5729
5828
  }, z.core.$strip>>;
5730
5829
  reasoning: z.ZodOptional<z.ZodString>;
5830
+ timestamp: z.ZodNumber;
5731
5831
  type: z.ZodLiteral<"readTextFile">;
5732
5832
  path: z.ZodString;
5733
5833
  content: z.ZodOptional<z.ZodString>;
@@ -5744,6 +5844,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5744
5844
  runId: z.ZodString;
5745
5845
  }, z.core.$strip>>;
5746
5846
  reasoning: z.ZodOptional<z.ZodString>;
5847
+ timestamp: z.ZodNumber;
5747
5848
  type: z.ZodLiteral<"editTextFile">;
5748
5849
  path: z.ZodString;
5749
5850
  newText: z.ZodString;
@@ -5759,6 +5860,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5759
5860
  runId: z.ZodString;
5760
5861
  }, z.core.$strip>>;
5761
5862
  reasoning: z.ZodOptional<z.ZodString>;
5863
+ timestamp: z.ZodNumber;
5762
5864
  type: z.ZodLiteral<"writeTextFile">;
5763
5865
  path: z.ZodString;
5764
5866
  text: z.ZodString;
@@ -5773,6 +5875,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5773
5875
  runId: z.ZodString;
5774
5876
  }, z.core.$strip>>;
5775
5877
  reasoning: z.ZodOptional<z.ZodString>;
5878
+ timestamp: z.ZodNumber;
5776
5879
  type: z.ZodLiteral<"exec">;
5777
5880
  command: z.ZodString;
5778
5881
  args: z.ZodArray<z.ZodString>;
@@ -5791,6 +5894,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5791
5894
  runId: z.ZodString;
5792
5895
  }, z.core.$strip>>;
5793
5896
  reasoning: z.ZodOptional<z.ZodString>;
5897
+ timestamp: z.ZodNumber;
5794
5898
  type: z.ZodLiteral<"delegate">;
5795
5899
  delegateExpertKey: z.ZodString;
5796
5900
  query: z.ZodString;
@@ -5804,6 +5908,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5804
5908
  runId: z.ZodString;
5805
5909
  }, z.core.$strip>>;
5806
5910
  reasoning: z.ZodOptional<z.ZodString>;
5911
+ timestamp: z.ZodNumber;
5807
5912
  type: z.ZodLiteral<"delegationComplete">;
5808
5913
  count: z.ZodNumber;
5809
5914
  }, z.core.$strip>, z.ZodObject<{
@@ -5816,6 +5921,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5816
5921
  runId: z.ZodString;
5817
5922
  }, z.core.$strip>>;
5818
5923
  reasoning: z.ZodOptional<z.ZodString>;
5924
+ timestamp: z.ZodNumber;
5819
5925
  type: z.ZodLiteral<"interactiveTool">;
5820
5926
  skillName: z.ZodString;
5821
5927
  toolName: z.ZodString;
@@ -5830,6 +5936,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5830
5936
  runId: z.ZodString;
5831
5937
  }, z.core.$strip>>;
5832
5938
  reasoning: z.ZodOptional<z.ZodString>;
5939
+ timestamp: z.ZodNumber;
5833
5940
  type: z.ZodLiteral<"generalTool">;
5834
5941
  skillName: z.ZodString;
5835
5942
  toolName: z.ZodString;
@@ -5912,6 +6019,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5912
6019
  runId: z.ZodString;
5913
6020
  }, z.core.$strip>>;
5914
6021
  reasoning: z.ZodOptional<z.ZodString>;
6022
+ timestamp: z.ZodNumber;
5915
6023
  type: z.ZodLiteral<"addSkill">;
5916
6024
  name: z.ZodString;
5917
6025
  skillType: z.ZodString;
@@ -5927,6 +6035,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5927
6035
  runId: z.ZodString;
5928
6036
  }, z.core.$strip>>;
5929
6037
  reasoning: z.ZodOptional<z.ZodString>;
6038
+ timestamp: z.ZodNumber;
5930
6039
  type: z.ZodLiteral<"removeSkill">;
5931
6040
  skillName: z.ZodString;
5932
6041
  error: z.ZodOptional<z.ZodString>;
@@ -5940,6 +6049,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5940
6049
  runId: z.ZodString;
5941
6050
  }, z.core.$strip>>;
5942
6051
  reasoning: z.ZodOptional<z.ZodString>;
6052
+ timestamp: z.ZodNumber;
5943
6053
  type: z.ZodLiteral<"addDelegate">;
5944
6054
  targetExpertKey: z.ZodString;
5945
6055
  delegateToolName: z.ZodOptional<z.ZodString>;
@@ -5954,6 +6064,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5954
6064
  runId: z.ZodString;
5955
6065
  }, z.core.$strip>>;
5956
6066
  reasoning: z.ZodOptional<z.ZodString>;
6067
+ timestamp: z.ZodNumber;
5957
6068
  type: z.ZodLiteral<"removeDelegate">;
5958
6069
  expertName: z.ZodString;
5959
6070
  error: z.ZodOptional<z.ZodString>;
@@ -5967,6 +6078,7 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5967
6078
  runId: z.ZodString;
5968
6079
  }, z.core.$strip>>;
5969
6080
  reasoning: z.ZodOptional<z.ZodString>;
6081
+ timestamp: z.ZodNumber;
5970
6082
  type: z.ZodLiteral<"createExpert">;
5971
6083
  targetKey: z.ZodString;
5972
6084
  description: z.ZodOptional<z.ZodString>;
@@ -5979,10 +6091,10 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5979
6091
  type JobStatus = "running" | "completed" | "stoppedByInteractiveTool" | "stoppedByError" | "stoppedByCancellation";
5980
6092
  declare const jobStatusSchema: z.ZodEnum<{
5981
6093
  completed: "completed";
6094
+ running: "running";
5982
6095
  stoppedByInteractiveTool: "stoppedByInteractiveTool";
5983
6096
  stoppedByError: "stoppedByError";
5984
6097
  stoppedByCancellation: "stoppedByCancellation";
5985
- running: "running";
5986
6098
  }>;
5987
6099
  interface Job {
5988
6100
  id: string;
@@ -5998,10 +6110,10 @@ declare const jobSchema: z.ZodObject<{
5998
6110
  id: z.ZodString;
5999
6111
  status: z.ZodEnum<{
6000
6112
  completed: "completed";
6113
+ running: "running";
6001
6114
  stoppedByInteractiveTool: "stoppedByInteractiveTool";
6002
6115
  stoppedByError: "stoppedByError";
6003
6116
  stoppedByCancellation: "stoppedByCancellation";
6004
- running: "running";
6005
6117
  }>;
6006
6118
  coordinatorExpertKey: z.ZodString;
6007
6119
  runtimeVersion: z.ZodPipe<z.ZodString, z.ZodTransform<`v${number}.${number}`, string>>;
@@ -6352,8 +6464,8 @@ type GetActivitiesParams = {
6352
6464
  * with shared reasoning.
6353
6465
  */
6354
6466
  declare function getActivities(params: GetActivitiesParams): ActivityOrGroup[];
6355
- declare function createBaseToolActivity(toolName: string, toolCall: ToolCall, toolResult: ToolResult, reasoning: string | undefined): Activity;
6356
- declare function createGeneralToolActivity(skillName: string, toolName: string, toolCall: ToolCall, toolResult: ToolResult, reasoning: string | undefined): Activity;
6467
+ declare function createBaseToolActivity(toolName: string, toolCall: ToolCall, toolResult: ToolResult, reasoning: string | undefined, timestamp?: number): Activity;
6468
+ declare function createGeneralToolActivity(skillName: string, toolName: string, toolCall: ToolCall, toolResult: ToolResult, reasoning: string | undefined, timestamp?: number): Activity;
6357
6469
  //#endregion
6358
6470
  //#region src/utils/env-filter.d.ts
6359
6471
  declare const SAFE_ENV_VARS: string[];
@@ -6414,9 +6526,13 @@ declare function validateDelegation(source: string, target: string): string | nu
6414
6526
  */
6415
6527
  declare function validateAllDelegations(expertName: string, delegates: string[]): string[];
6416
6528
  //#endregion
6529
+ //#region src/utils/truncate.d.ts
6530
+ declare const MAX_TOOL_OUTPUT_CHARS = 30000;
6531
+ declare function truncateText(text: string, maxChars?: number): string;
6532
+ //#endregion
6417
6533
  //#region src/utils/zod-error.d.ts
6418
6534
  declare function formatZodError(error: ZodError): string;
6419
6535
  declare function parseWithFriendlyError<T>(schema: ZodSchema<T>, data: unknown, context?: string): T;
6420
6536
  //#endregion
6421
- 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, ExpertType, 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, ModelTier, 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, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertBaseSchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getExpertScope, getExpertShortName, getExpertType, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isCoordinatorExpert, isDelegateExpert, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, modelTierSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, removeDelegateActivitySchema, removeSkillActivitySchema, resolveModelTier, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, usageSchema, userMessageSchema, validateAllDelegations, validateDelegation, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
6537
+ 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, ExpertType, FileBinaryPart, FileInlinePart, FileUrlPart, GeneralToolActivity, GetActivitiesParams, GoogleGenerativeAiProviderConfig, GoogleProviderToolName, GoogleVertexProviderConfig, Headers, ImageBinaryPart, ImageInlinePart, ImageUrlPart, InstructionMessage, InteractiveSkill, InteractiveSkillManagerParams, InteractiveTool, InteractiveToolActivity, Job, JobStatus, Lockfile, LockfileExpert, LockfileToolDefinition, MAX_TOOL_OUTPUT_CHARS, McpSkillManagerParams, McpSseSkill, McpStdioSkill, Message, MessagePart, ModelTier, 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, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertBaseSchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getExpertScope, getExpertShortName, getExpertType, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isCoordinatorExpert, isDelegateExpert, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, modelTierSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, removeDelegateActivitySchema, removeSkillActivitySchema, resolveModelTier, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, truncateText, usageSchema, userMessageSchema, validateAllDelegations, validateDelegation, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
6422
6538
  //# sourceMappingURL=index.d.ts.map