linkshell-cli 0.2.124 → 0.2.125

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.
@@ -387,23 +387,35 @@ export declare const terminalMkdirPayloadSchema: z.ZodObject<{
387
387
  }>;
388
388
  export declare const terminalBrowsePayloadSchema: z.ZodObject<{
389
389
  path: z.ZodString;
390
+ includeFiles: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
391
+ requestId: z.ZodOptional<z.ZodString>;
390
392
  }, "strip", z.ZodTypeAny, {
391
393
  path: string;
394
+ includeFiles: boolean;
395
+ requestId?: string | undefined;
392
396
  }, {
393
397
  path: string;
398
+ includeFiles?: boolean | undefined;
399
+ requestId?: string | undefined;
394
400
  }>;
395
401
  export declare const terminalBrowseEntrySchema: z.ZodObject<{
396
402
  name: z.ZodString;
397
403
  path: z.ZodString;
398
404
  isDirectory: z.ZodBoolean;
405
+ size: z.ZodOptional<z.ZodNumber>;
406
+ modifiedAt: z.ZodOptional<z.ZodString>;
399
407
  }, "strip", z.ZodTypeAny, {
400
408
  name: string;
401
409
  path: string;
402
410
  isDirectory: boolean;
411
+ size?: number | undefined;
412
+ modifiedAt?: string | undefined;
403
413
  }, {
404
414
  name: string;
405
415
  path: string;
406
416
  isDirectory: boolean;
417
+ size?: number | undefined;
418
+ modifiedAt?: string | undefined;
407
419
  }>;
408
420
  export declare const terminalBrowseResultPayloadSchema: z.ZodObject<{
409
421
  path: z.ZodString;
@@ -411,32 +423,83 @@ export declare const terminalBrowseResultPayloadSchema: z.ZodObject<{
411
423
  name: z.ZodString;
412
424
  path: z.ZodString;
413
425
  isDirectory: z.ZodBoolean;
426
+ size: z.ZodOptional<z.ZodNumber>;
427
+ modifiedAt: z.ZodOptional<z.ZodString>;
414
428
  }, "strip", z.ZodTypeAny, {
415
429
  name: string;
416
430
  path: string;
417
431
  isDirectory: boolean;
432
+ size?: number | undefined;
433
+ modifiedAt?: string | undefined;
418
434
  }, {
419
435
  name: string;
420
436
  path: string;
421
437
  isDirectory: boolean;
438
+ size?: number | undefined;
439
+ modifiedAt?: string | undefined;
422
440
  }>, "many">;
423
441
  error: z.ZodOptional<z.ZodString>;
442
+ requestId: z.ZodOptional<z.ZodString>;
424
443
  }, "strip", z.ZodTypeAny, {
425
444
  entries: {
426
445
  name: string;
427
446
  path: string;
428
447
  isDirectory: boolean;
448
+ size?: number | undefined;
449
+ modifiedAt?: string | undefined;
429
450
  }[];
430
451
  path: string;
431
452
  error?: string | undefined;
453
+ requestId?: string | undefined;
432
454
  }, {
433
455
  entries: {
434
456
  name: string;
435
457
  path: string;
436
458
  isDirectory: boolean;
459
+ size?: number | undefined;
460
+ modifiedAt?: string | undefined;
437
461
  }[];
438
462
  path: string;
439
463
  error?: string | undefined;
464
+ requestId?: string | undefined;
465
+ }>;
466
+ export declare const terminalFileReadPayloadSchema: z.ZodObject<{
467
+ path: z.ZodString;
468
+ maxBytes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
469
+ requestId: z.ZodOptional<z.ZodString>;
470
+ }, "strip", z.ZodTypeAny, {
471
+ path: string;
472
+ maxBytes: number;
473
+ requestId?: string | undefined;
474
+ }, {
475
+ path: string;
476
+ requestId?: string | undefined;
477
+ maxBytes?: number | undefined;
478
+ }>;
479
+ export declare const terminalFileReadResultPayloadSchema: z.ZodObject<{
480
+ path: z.ZodString;
481
+ content: z.ZodDefault<z.ZodString>;
482
+ encoding: z.ZodDefault<z.ZodLiteral<"utf8">>;
483
+ size: z.ZodOptional<z.ZodNumber>;
484
+ truncated: z.ZodDefault<z.ZodBoolean>;
485
+ error: z.ZodOptional<z.ZodString>;
486
+ requestId: z.ZodOptional<z.ZodString>;
487
+ }, "strip", z.ZodTypeAny, {
488
+ path: string;
489
+ encoding: "utf8";
490
+ content: string;
491
+ truncated: boolean;
492
+ error?: string | undefined;
493
+ requestId?: string | undefined;
494
+ size?: number | undefined;
495
+ }, {
496
+ path: string;
497
+ error?: string | undefined;
498
+ encoding?: "utf8" | undefined;
499
+ requestId?: string | undefined;
500
+ size?: number | undefined;
501
+ content?: string | undefined;
502
+ truncated?: boolean | undefined;
440
503
  }>;
441
504
  export declare const terminalStatusPayloadSchema: z.ZodObject<{
442
505
  phase: z.ZodEnum<["thinking", "tool_use", "outputting", "waiting", "idle", "error"]>;
@@ -455,14 +518,14 @@ export declare const terminalStatusPayloadSchema: z.ZodObject<{
455
518
  toolName: string;
456
519
  toolInput: string;
457
520
  timestamp: number;
458
- permissionRequest: string;
459
521
  requestId: string;
522
+ permissionRequest: string;
460
523
  }, {
461
524
  toolName: string;
462
525
  toolInput: string;
463
526
  timestamp: number;
464
- permissionRequest: string;
465
527
  requestId: string;
528
+ permissionRequest: string;
466
529
  }>>;
467
530
  permissionResolution: z.ZodOptional<z.ZodObject<{
468
531
  requestId: z.ZodString;
@@ -494,8 +557,8 @@ export declare const terminalStatusPayloadSchema: z.ZodObject<{
494
557
  toolName: string;
495
558
  toolInput: string;
496
559
  timestamp: number;
497
- permissionRequest: string;
498
560
  requestId: string;
561
+ permissionRequest: string;
499
562
  } | undefined;
500
563
  permissionResolution?: {
501
564
  requestId: string;
@@ -516,8 +579,8 @@ export declare const terminalStatusPayloadSchema: z.ZodObject<{
516
579
  toolName: string;
517
580
  toolInput: string;
518
581
  timestamp: number;
519
- permissionRequest: string;
520
582
  requestId: string;
583
+ permissionRequest: string;
521
584
  } | undefined;
522
585
  permissionResolution?: {
523
586
  requestId: string;
@@ -2706,13 +2769,13 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2706
2769
  changeSetId?: string | undefined;
2707
2770
  } | undefined;
2708
2771
  role?: "user" | "assistant" | "system" | undefined;
2709
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
2710
2772
  content?: {
2711
2773
  type: "text" | "image";
2712
2774
  text?: string | undefined;
2713
2775
  data?: string | undefined;
2714
2776
  mimeType?: string | undefined;
2715
2777
  }[] | undefined;
2778
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
2716
2779
  isStreaming?: boolean | undefined;
2717
2780
  toolCall?: {
2718
2781
  name: string;
@@ -2806,13 +2869,13 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2806
2869
  changeSetId?: string | undefined;
2807
2870
  } | undefined;
2808
2871
  role?: "user" | "assistant" | "system" | undefined;
2809
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
2810
2872
  content?: {
2811
2873
  type: "text" | "image";
2812
2874
  text?: string | undefined;
2813
2875
  data?: string | undefined;
2814
2876
  mimeType?: string | undefined;
2815
2877
  }[] | undefined;
2878
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
2816
2879
  isStreaming?: boolean | undefined;
2817
2880
  toolCall?: {
2818
2881
  name: string;
@@ -3630,13 +3693,13 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3630
3693
  changeSetId?: string | undefined;
3631
3694
  } | undefined;
3632
3695
  role?: "user" | "assistant" | "system" | undefined;
3633
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
3634
3696
  content?: {
3635
3697
  type: "text" | "image";
3636
3698
  text?: string | undefined;
3637
3699
  data?: string | undefined;
3638
3700
  mimeType?: string | undefined;
3639
3701
  }[] | undefined;
3702
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
3640
3703
  isStreaming?: boolean | undefined;
3641
3704
  toolCall?: {
3642
3705
  name: string;
@@ -3730,13 +3793,13 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3730
3793
  changeSetId?: string | undefined;
3731
3794
  } | undefined;
3732
3795
  role?: "user" | "assistant" | "system" | undefined;
3733
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
3734
3796
  content?: {
3735
3797
  type: "text" | "image";
3736
3798
  text?: string | undefined;
3737
3799
  data?: string | undefined;
3738
3800
  mimeType?: string | undefined;
3739
3801
  }[] | undefined;
3802
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
3740
3803
  isStreaming?: boolean | undefined;
3741
3804
  toolCall?: {
3742
3805
  name: string;
@@ -3848,13 +3911,13 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3848
3911
  changeSetId?: string | undefined;
3849
3912
  } | undefined;
3850
3913
  role?: "user" | "assistant" | "system" | undefined;
3851
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
3852
3914
  content?: {
3853
3915
  type: "text" | "image";
3854
3916
  text?: string | undefined;
3855
3917
  data?: string | undefined;
3856
3918
  mimeType?: string | undefined;
3857
3919
  }[] | undefined;
3920
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
3858
3921
  isStreaming?: boolean | undefined;
3859
3922
  toolCall?: {
3860
3923
  name: string;
@@ -3966,13 +4029,13 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3966
4029
  changeSetId?: string | undefined;
3967
4030
  } | undefined;
3968
4031
  role?: "user" | "assistant" | "system" | undefined;
3969
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
3970
4032
  content?: {
3971
4033
  type: "text" | "image";
3972
4034
  text?: string | undefined;
3973
4035
  data?: string | undefined;
3974
4036
  mimeType?: string | undefined;
3975
4037
  }[] | undefined;
4038
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
3976
4039
  isStreaming?: boolean | undefined;
3977
4040
  toolCall?: {
3978
4041
  name: string;
@@ -4643,13 +4706,13 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4643
4706
  changeSetId?: string | undefined;
4644
4707
  } | undefined;
4645
4708
  role?: "user" | "assistant" | "system" | undefined;
4646
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
4647
4709
  content?: {
4648
4710
  type: "text" | "image";
4649
4711
  text?: string | undefined;
4650
4712
  data?: string | undefined;
4651
4713
  mimeType?: string | undefined;
4652
4714
  }[] | undefined;
4715
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
4653
4716
  isStreaming?: boolean | undefined;
4654
4717
  toolCall?: {
4655
4718
  name: string;
@@ -4743,13 +4806,13 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4743
4806
  changeSetId?: string | undefined;
4744
4807
  } | undefined;
4745
4808
  role?: "user" | "assistant" | "system" | undefined;
4746
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
4747
4809
  content?: {
4748
4810
  type: "text" | "image";
4749
4811
  text?: string | undefined;
4750
4812
  data?: string | undefined;
4751
4813
  mimeType?: string | undefined;
4752
4814
  }[] | undefined;
4815
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
4753
4816
  isStreaming?: boolean | undefined;
4754
4817
  toolCall?: {
4755
4818
  name: string;
@@ -4862,13 +4925,13 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4862
4925
  changeSetId?: string | undefined;
4863
4926
  } | undefined;
4864
4927
  role?: "user" | "assistant" | "system" | undefined;
4865
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
4866
4928
  content?: {
4867
4929
  type: "text" | "image";
4868
4930
  text?: string | undefined;
4869
4931
  data?: string | undefined;
4870
4932
  mimeType?: string | undefined;
4871
4933
  }[] | undefined;
4934
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
4872
4935
  isStreaming?: boolean | undefined;
4873
4936
  toolCall?: {
4874
4937
  name: string;
@@ -4984,13 +5047,13 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4984
5047
  changeSetId?: string | undefined;
4985
5048
  } | undefined;
4986
5049
  role?: "user" | "assistant" | "system" | undefined;
4987
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
4988
5050
  content?: {
4989
5051
  type: "text" | "image";
4990
5052
  text?: string | undefined;
4991
5053
  data?: string | undefined;
4992
5054
  mimeType?: string | undefined;
4993
5055
  }[] | undefined;
5056
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
4994
5057
  isStreaming?: boolean | undefined;
4995
5058
  toolCall?: {
4996
5059
  name: string;
@@ -5460,13 +5523,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5460
5523
  changeSetId?: string | undefined;
5461
5524
  } | undefined;
5462
5525
  role?: "user" | "assistant" | "system" | undefined;
5463
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
5464
5526
  content?: {
5465
5527
  type: "text" | "image";
5466
5528
  text?: string | undefined;
5467
5529
  data?: string | undefined;
5468
5530
  mimeType?: string | undefined;
5469
5531
  }[] | undefined;
5532
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
5470
5533
  isStreaming?: boolean | undefined;
5471
5534
  toolCall?: {
5472
5535
  name: string;
@@ -5560,13 +5623,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5560
5623
  changeSetId?: string | undefined;
5561
5624
  } | undefined;
5562
5625
  role?: "user" | "assistant" | "system" | undefined;
5563
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
5564
5626
  content?: {
5565
5627
  type: "text" | "image";
5566
5628
  text?: string | undefined;
5567
5629
  data?: string | undefined;
5568
5630
  mimeType?: string | undefined;
5569
5631
  }[] | undefined;
5632
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
5570
5633
  isStreaming?: boolean | undefined;
5571
5634
  toolCall?: {
5572
5635
  name: string;
@@ -5979,13 +6042,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5979
6042
  changeSetId?: string | undefined;
5980
6043
  } | undefined;
5981
6044
  role?: "user" | "assistant" | "system" | undefined;
5982
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
5983
6045
  content?: {
5984
6046
  type: "text" | "image";
5985
6047
  text?: string | undefined;
5986
6048
  data?: string | undefined;
5987
6049
  mimeType?: string | undefined;
5988
6050
  }[] | undefined;
6051
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
5989
6052
  isStreaming?: boolean | undefined;
5990
6053
  toolCall?: {
5991
6054
  name: string;
@@ -6075,13 +6138,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6075
6138
  changeSetId?: string | undefined;
6076
6139
  } | undefined;
6077
6140
  role?: "user" | "assistant" | "system" | undefined;
6078
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6079
6141
  content?: {
6080
6142
  type: "text" | "image";
6081
6143
  text?: string | undefined;
6082
6144
  data?: string | undefined;
6083
6145
  mimeType?: string | undefined;
6084
6146
  }[] | undefined;
6147
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6085
6148
  isStreaming?: boolean | undefined;
6086
6149
  toolCall?: {
6087
6150
  name: string;
@@ -6178,13 +6241,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6178
6241
  changeSetId?: string | undefined;
6179
6242
  } | undefined;
6180
6243
  role?: "user" | "assistant" | "system" | undefined;
6181
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6182
6244
  content?: {
6183
6245
  type: "text" | "image";
6184
6246
  text?: string | undefined;
6185
6247
  data?: string | undefined;
6186
6248
  mimeType?: string | undefined;
6187
6249
  }[] | undefined;
6250
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6188
6251
  isStreaming?: boolean | undefined;
6189
6252
  toolCall?: {
6190
6253
  name: string;
@@ -6275,13 +6338,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6275
6338
  changeSetId?: string | undefined;
6276
6339
  } | undefined;
6277
6340
  role?: "user" | "assistant" | "system" | undefined;
6278
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6279
6341
  content?: {
6280
6342
  type: "text" | "image";
6281
6343
  text?: string | undefined;
6282
6344
  data?: string | undefined;
6283
6345
  mimeType?: string | undefined;
6284
6346
  }[] | undefined;
6347
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6285
6348
  isStreaming?: boolean | undefined;
6286
6349
  toolCall?: {
6287
6350
  name: string;
@@ -6394,13 +6457,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6394
6457
  changeSetId?: string | undefined;
6395
6458
  } | undefined;
6396
6459
  role?: "user" | "assistant" | "system" | undefined;
6397
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6398
6460
  content?: {
6399
6461
  type: "text" | "image";
6400
6462
  text?: string | undefined;
6401
6463
  data?: string | undefined;
6402
6464
  mimeType?: string | undefined;
6403
6465
  }[] | undefined;
6466
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6404
6467
  isStreaming?: boolean | undefined;
6405
6468
  toolCall?: {
6406
6469
  name: string;
@@ -6491,13 +6554,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6491
6554
  changeSetId?: string | undefined;
6492
6555
  } | undefined;
6493
6556
  role?: "user" | "assistant" | "system" | undefined;
6494
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6495
6557
  content?: {
6496
6558
  type: "text" | "image";
6497
6559
  text?: string | undefined;
6498
6560
  data?: string | undefined;
6499
6561
  mimeType?: string | undefined;
6500
6562
  }[] | undefined;
6563
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6501
6564
  isStreaming?: boolean | undefined;
6502
6565
  toolCall?: {
6503
6566
  name: string;
@@ -6955,13 +7018,13 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
6955
7018
  changeSetId?: string | undefined;
6956
7019
  } | undefined;
6957
7020
  role?: "user" | "assistant" | "system" | undefined;
6958
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6959
7021
  content?: {
6960
7022
  type: "text" | "image";
6961
7023
  text?: string | undefined;
6962
7024
  data?: string | undefined;
6963
7025
  mimeType?: string | undefined;
6964
7026
  }[] | undefined;
7027
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
6965
7028
  isStreaming?: boolean | undefined;
6966
7029
  toolCall?: {
6967
7030
  name: string;
@@ -7055,13 +7118,13 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7055
7118
  changeSetId?: string | undefined;
7056
7119
  } | undefined;
7057
7120
  role?: "user" | "assistant" | "system" | undefined;
7058
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
7059
7121
  content?: {
7060
7122
  type: "text" | "image";
7061
7123
  text?: string | undefined;
7062
7124
  data?: string | undefined;
7063
7125
  mimeType?: string | undefined;
7064
7126
  }[] | undefined;
7127
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
7065
7128
  isStreaming?: boolean | undefined;
7066
7129
  toolCall?: {
7067
7130
  name: string;
@@ -7164,13 +7227,13 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7164
7227
  changeSetId?: string | undefined;
7165
7228
  } | undefined;
7166
7229
  role?: "user" | "assistant" | "system" | undefined;
7167
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
7168
7230
  content?: {
7169
7231
  type: "text" | "image";
7170
7232
  text?: string | undefined;
7171
7233
  data?: string | undefined;
7172
7234
  mimeType?: string | undefined;
7173
7235
  }[] | undefined;
7236
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
7174
7237
  isStreaming?: boolean | undefined;
7175
7238
  toolCall?: {
7176
7239
  name: string;
@@ -7271,13 +7334,13 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7271
7334
  changeSetId?: string | undefined;
7272
7335
  } | undefined;
7273
7336
  role?: "user" | "assistant" | "system" | undefined;
7274
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
7275
7337
  content?: {
7276
7338
  type: "text" | "image";
7277
7339
  text?: string | undefined;
7278
7340
  data?: string | undefined;
7279
7341
  mimeType?: string | undefined;
7280
7342
  }[] | undefined;
7343
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
7281
7344
  isStreaming?: boolean | undefined;
7282
7345
  toolCall?: {
7283
7346
  name: string;
@@ -7679,10 +7742,16 @@ export declare const protocolMessageSchemas: {
7679
7742
  }>;
7680
7743
  readonly "terminal.browse": z.ZodObject<{
7681
7744
  path: z.ZodString;
7745
+ includeFiles: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7746
+ requestId: z.ZodOptional<z.ZodString>;
7682
7747
  }, "strip", z.ZodTypeAny, {
7683
7748
  path: string;
7749
+ includeFiles: boolean;
7750
+ requestId?: string | undefined;
7684
7751
  }, {
7685
7752
  path: string;
7753
+ includeFiles?: boolean | undefined;
7754
+ requestId?: string | undefined;
7686
7755
  }>;
7687
7756
  readonly "terminal.browse.result": z.ZodObject<{
7688
7757
  path: z.ZodString;
@@ -7690,32 +7759,83 @@ export declare const protocolMessageSchemas: {
7690
7759
  name: z.ZodString;
7691
7760
  path: z.ZodString;
7692
7761
  isDirectory: z.ZodBoolean;
7762
+ size: z.ZodOptional<z.ZodNumber>;
7763
+ modifiedAt: z.ZodOptional<z.ZodString>;
7693
7764
  }, "strip", z.ZodTypeAny, {
7694
7765
  name: string;
7695
7766
  path: string;
7696
7767
  isDirectory: boolean;
7768
+ size?: number | undefined;
7769
+ modifiedAt?: string | undefined;
7697
7770
  }, {
7698
7771
  name: string;
7699
7772
  path: string;
7700
7773
  isDirectory: boolean;
7774
+ size?: number | undefined;
7775
+ modifiedAt?: string | undefined;
7701
7776
  }>, "many">;
7702
7777
  error: z.ZodOptional<z.ZodString>;
7778
+ requestId: z.ZodOptional<z.ZodString>;
7703
7779
  }, "strip", z.ZodTypeAny, {
7704
7780
  entries: {
7705
7781
  name: string;
7706
7782
  path: string;
7707
7783
  isDirectory: boolean;
7784
+ size?: number | undefined;
7785
+ modifiedAt?: string | undefined;
7708
7786
  }[];
7709
7787
  path: string;
7710
7788
  error?: string | undefined;
7789
+ requestId?: string | undefined;
7711
7790
  }, {
7712
7791
  entries: {
7713
7792
  name: string;
7714
7793
  path: string;
7715
7794
  isDirectory: boolean;
7795
+ size?: number | undefined;
7796
+ modifiedAt?: string | undefined;
7716
7797
  }[];
7717
7798
  path: string;
7718
7799
  error?: string | undefined;
7800
+ requestId?: string | undefined;
7801
+ }>;
7802
+ readonly "terminal.file.read": z.ZodObject<{
7803
+ path: z.ZodString;
7804
+ maxBytes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7805
+ requestId: z.ZodOptional<z.ZodString>;
7806
+ }, "strip", z.ZodTypeAny, {
7807
+ path: string;
7808
+ maxBytes: number;
7809
+ requestId?: string | undefined;
7810
+ }, {
7811
+ path: string;
7812
+ requestId?: string | undefined;
7813
+ maxBytes?: number | undefined;
7814
+ }>;
7815
+ readonly "terminal.file.read.result": z.ZodObject<{
7816
+ path: z.ZodString;
7817
+ content: z.ZodDefault<z.ZodString>;
7818
+ encoding: z.ZodDefault<z.ZodLiteral<"utf8">>;
7819
+ size: z.ZodOptional<z.ZodNumber>;
7820
+ truncated: z.ZodDefault<z.ZodBoolean>;
7821
+ error: z.ZodOptional<z.ZodString>;
7822
+ requestId: z.ZodOptional<z.ZodString>;
7823
+ }, "strip", z.ZodTypeAny, {
7824
+ path: string;
7825
+ encoding: "utf8";
7826
+ content: string;
7827
+ truncated: boolean;
7828
+ error?: string | undefined;
7829
+ requestId?: string | undefined;
7830
+ size?: number | undefined;
7831
+ }, {
7832
+ path: string;
7833
+ error?: string | undefined;
7834
+ encoding?: "utf8" | undefined;
7835
+ requestId?: string | undefined;
7836
+ size?: number | undefined;
7837
+ content?: string | undefined;
7838
+ truncated?: boolean | undefined;
7719
7839
  }>;
7720
7840
  readonly "terminal.kill": z.ZodObject<{
7721
7841
  terminalId: z.ZodString;
@@ -7748,14 +7868,14 @@ export declare const protocolMessageSchemas: {
7748
7868
  toolName: string;
7749
7869
  toolInput: string;
7750
7870
  timestamp: number;
7751
- permissionRequest: string;
7752
7871
  requestId: string;
7872
+ permissionRequest: string;
7753
7873
  }, {
7754
7874
  toolName: string;
7755
7875
  toolInput: string;
7756
7876
  timestamp: number;
7757
- permissionRequest: string;
7758
7877
  requestId: string;
7878
+ permissionRequest: string;
7759
7879
  }>>;
7760
7880
  permissionResolution: z.ZodOptional<z.ZodObject<{
7761
7881
  requestId: z.ZodString;
@@ -7787,8 +7907,8 @@ export declare const protocolMessageSchemas: {
7787
7907
  toolName: string;
7788
7908
  toolInput: string;
7789
7909
  timestamp: number;
7790
- permissionRequest: string;
7791
7910
  requestId: string;
7911
+ permissionRequest: string;
7792
7912
  } | undefined;
7793
7913
  permissionResolution?: {
7794
7914
  requestId: string;
@@ -7809,8 +7929,8 @@ export declare const protocolMessageSchemas: {
7809
7929
  toolName: string;
7810
7930
  toolInput: string;
7811
7931
  timestamp: number;
7812
- permissionRequest: string;
7813
7932
  requestId: string;
7933
+ permissionRequest: string;
7814
7934
  } | undefined;
7815
7935
  permissionResolution?: {
7816
7936
  requestId: string;
@@ -9683,13 +9803,13 @@ export declare const protocolMessageSchemas: {
9683
9803
  changeSetId?: string | undefined;
9684
9804
  } | undefined;
9685
9805
  role?: "user" | "assistant" | "system" | undefined;
9686
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
9687
9806
  content?: {
9688
9807
  type: "text" | "image";
9689
9808
  text?: string | undefined;
9690
9809
  data?: string | undefined;
9691
9810
  mimeType?: string | undefined;
9692
9811
  }[] | undefined;
9812
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
9693
9813
  isStreaming?: boolean | undefined;
9694
9814
  toolCall?: {
9695
9815
  name: string;
@@ -9783,13 +9903,13 @@ export declare const protocolMessageSchemas: {
9783
9903
  changeSetId?: string | undefined;
9784
9904
  } | undefined;
9785
9905
  role?: "user" | "assistant" | "system" | undefined;
9786
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
9787
9906
  content?: {
9788
9907
  type: "text" | "image";
9789
9908
  text?: string | undefined;
9790
9909
  data?: string | undefined;
9791
9910
  mimeType?: string | undefined;
9792
9911
  }[] | undefined;
9912
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
9793
9913
  isStreaming?: boolean | undefined;
9794
9914
  toolCall?: {
9795
9915
  name: string;
@@ -9901,13 +10021,13 @@ export declare const protocolMessageSchemas: {
9901
10021
  changeSetId?: string | undefined;
9902
10022
  } | undefined;
9903
10023
  role?: "user" | "assistant" | "system" | undefined;
9904
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
9905
10024
  content?: {
9906
10025
  type: "text" | "image";
9907
10026
  text?: string | undefined;
9908
10027
  data?: string | undefined;
9909
10028
  mimeType?: string | undefined;
9910
10029
  }[] | undefined;
10030
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
9911
10031
  isStreaming?: boolean | undefined;
9912
10032
  toolCall?: {
9913
10033
  name: string;
@@ -10019,13 +10139,13 @@ export declare const protocolMessageSchemas: {
10019
10139
  changeSetId?: string | undefined;
10020
10140
  } | undefined;
10021
10141
  role?: "user" | "assistant" | "system" | undefined;
10022
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10023
10142
  content?: {
10024
10143
  type: "text" | "image";
10025
10144
  text?: string | undefined;
10026
10145
  data?: string | undefined;
10027
10146
  mimeType?: string | undefined;
10028
10147
  }[] | undefined;
10148
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10029
10149
  isStreaming?: boolean | undefined;
10030
10150
  toolCall?: {
10031
10151
  name: string;
@@ -10648,13 +10768,13 @@ export declare const protocolMessageSchemas: {
10648
10768
  changeSetId?: string | undefined;
10649
10769
  } | undefined;
10650
10770
  role?: "user" | "assistant" | "system" | undefined;
10651
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10652
10771
  content?: {
10653
10772
  type: "text" | "image";
10654
10773
  text?: string | undefined;
10655
10774
  data?: string | undefined;
10656
10775
  mimeType?: string | undefined;
10657
10776
  }[] | undefined;
10777
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10658
10778
  isStreaming?: boolean | undefined;
10659
10779
  toolCall?: {
10660
10780
  name: string;
@@ -10748,13 +10868,13 @@ export declare const protocolMessageSchemas: {
10748
10868
  changeSetId?: string | undefined;
10749
10869
  } | undefined;
10750
10870
  role?: "user" | "assistant" | "system" | undefined;
10751
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10752
10871
  content?: {
10753
10872
  type: "text" | "image";
10754
10873
  text?: string | undefined;
10755
10874
  data?: string | undefined;
10756
10875
  mimeType?: string | undefined;
10757
10876
  }[] | undefined;
10877
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10758
10878
  isStreaming?: boolean | undefined;
10759
10879
  toolCall?: {
10760
10880
  name: string;
@@ -10857,13 +10977,13 @@ export declare const protocolMessageSchemas: {
10857
10977
  changeSetId?: string | undefined;
10858
10978
  } | undefined;
10859
10979
  role?: "user" | "assistant" | "system" | undefined;
10860
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10861
10980
  content?: {
10862
10981
  type: "text" | "image";
10863
10982
  text?: string | undefined;
10864
10983
  data?: string | undefined;
10865
10984
  mimeType?: string | undefined;
10866
10985
  }[] | undefined;
10986
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10867
10987
  isStreaming?: boolean | undefined;
10868
10988
  toolCall?: {
10869
10989
  name: string;
@@ -10964,13 +11084,13 @@ export declare const protocolMessageSchemas: {
10964
11084
  changeSetId?: string | undefined;
10965
11085
  } | undefined;
10966
11086
  role?: "user" | "assistant" | "system" | undefined;
10967
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10968
11087
  content?: {
10969
11088
  type: "text" | "image";
10970
11089
  text?: string | undefined;
10971
11090
  data?: string | undefined;
10972
11091
  mimeType?: string | undefined;
10973
11092
  }[] | undefined;
11093
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
10974
11094
  isStreaming?: boolean | undefined;
10975
11095
  toolCall?: {
10976
11096
  name: string;
@@ -11468,13 +11588,13 @@ export declare const protocolMessageSchemas: {
11468
11588
  changeSetId?: string | undefined;
11469
11589
  } | undefined;
11470
11590
  role?: "user" | "assistant" | "system" | undefined;
11471
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
11472
11591
  content?: {
11473
11592
  type: "text" | "image";
11474
11593
  text?: string | undefined;
11475
11594
  data?: string | undefined;
11476
11595
  mimeType?: string | undefined;
11477
11596
  }[] | undefined;
11597
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
11478
11598
  isStreaming?: boolean | undefined;
11479
11599
  toolCall?: {
11480
11600
  name: string;
@@ -11568,13 +11688,13 @@ export declare const protocolMessageSchemas: {
11568
11688
  changeSetId?: string | undefined;
11569
11689
  } | undefined;
11570
11690
  role?: "user" | "assistant" | "system" | undefined;
11571
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
11572
11691
  content?: {
11573
11692
  type: "text" | "image";
11574
11693
  text?: string | undefined;
11575
11694
  data?: string | undefined;
11576
11695
  mimeType?: string | undefined;
11577
11696
  }[] | undefined;
11697
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
11578
11698
  isStreaming?: boolean | undefined;
11579
11699
  toolCall?: {
11580
11700
  name: string;
@@ -11687,13 +11807,13 @@ export declare const protocolMessageSchemas: {
11687
11807
  changeSetId?: string | undefined;
11688
11808
  } | undefined;
11689
11809
  role?: "user" | "assistant" | "system" | undefined;
11690
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
11691
11810
  content?: {
11692
11811
  type: "text" | "image";
11693
11812
  text?: string | undefined;
11694
11813
  data?: string | undefined;
11695
11814
  mimeType?: string | undefined;
11696
11815
  }[] | undefined;
11816
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
11697
11817
  isStreaming?: boolean | undefined;
11698
11818
  toolCall?: {
11699
11819
  name: string;
@@ -11809,13 +11929,13 @@ export declare const protocolMessageSchemas: {
11809
11929
  changeSetId?: string | undefined;
11810
11930
  } | undefined;
11811
11931
  role?: "user" | "assistant" | "system" | undefined;
11812
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
11813
11932
  content?: {
11814
11933
  type: "text" | "image";
11815
11934
  text?: string | undefined;
11816
11935
  data?: string | undefined;
11817
11936
  mimeType?: string | undefined;
11818
11937
  }[] | undefined;
11938
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
11819
11939
  isStreaming?: boolean | undefined;
11820
11940
  toolCall?: {
11821
11941
  name: string;
@@ -12285,13 +12405,13 @@ export declare const protocolMessageSchemas: {
12285
12405
  changeSetId?: string | undefined;
12286
12406
  } | undefined;
12287
12407
  role?: "user" | "assistant" | "system" | undefined;
12288
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
12289
12408
  content?: {
12290
12409
  type: "text" | "image";
12291
12410
  text?: string | undefined;
12292
12411
  data?: string | undefined;
12293
12412
  mimeType?: string | undefined;
12294
12413
  }[] | undefined;
12414
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
12295
12415
  isStreaming?: boolean | undefined;
12296
12416
  toolCall?: {
12297
12417
  name: string;
@@ -12385,13 +12505,13 @@ export declare const protocolMessageSchemas: {
12385
12505
  changeSetId?: string | undefined;
12386
12506
  } | undefined;
12387
12507
  role?: "user" | "assistant" | "system" | undefined;
12388
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
12389
12508
  content?: {
12390
12509
  type: "text" | "image";
12391
12510
  text?: string | undefined;
12392
12511
  data?: string | undefined;
12393
12512
  mimeType?: string | undefined;
12394
12513
  }[] | undefined;
12514
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
12395
12515
  isStreaming?: boolean | undefined;
12396
12516
  toolCall?: {
12397
12517
  name: string;
@@ -12804,13 +12924,13 @@ export declare const protocolMessageSchemas: {
12804
12924
  changeSetId?: string | undefined;
12805
12925
  } | undefined;
12806
12926
  role?: "user" | "assistant" | "system" | undefined;
12807
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
12808
12927
  content?: {
12809
12928
  type: "text" | "image";
12810
12929
  text?: string | undefined;
12811
12930
  data?: string | undefined;
12812
12931
  mimeType?: string | undefined;
12813
12932
  }[] | undefined;
12933
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
12814
12934
  isStreaming?: boolean | undefined;
12815
12935
  toolCall?: {
12816
12936
  name: string;
@@ -12900,13 +13020,13 @@ export declare const protocolMessageSchemas: {
12900
13020
  changeSetId?: string | undefined;
12901
13021
  } | undefined;
12902
13022
  role?: "user" | "assistant" | "system" | undefined;
12903
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
12904
13023
  content?: {
12905
13024
  type: "text" | "image";
12906
13025
  text?: string | undefined;
12907
13026
  data?: string | undefined;
12908
13027
  mimeType?: string | undefined;
12909
13028
  }[] | undefined;
13029
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
12910
13030
  isStreaming?: boolean | undefined;
12911
13031
  toolCall?: {
12912
13032
  name: string;
@@ -13003,13 +13123,13 @@ export declare const protocolMessageSchemas: {
13003
13123
  changeSetId?: string | undefined;
13004
13124
  } | undefined;
13005
13125
  role?: "user" | "assistant" | "system" | undefined;
13006
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
13007
13126
  content?: {
13008
13127
  type: "text" | "image";
13009
13128
  text?: string | undefined;
13010
13129
  data?: string | undefined;
13011
13130
  mimeType?: string | undefined;
13012
13131
  }[] | undefined;
13132
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
13013
13133
  isStreaming?: boolean | undefined;
13014
13134
  toolCall?: {
13015
13135
  name: string;
@@ -13100,13 +13220,13 @@ export declare const protocolMessageSchemas: {
13100
13220
  changeSetId?: string | undefined;
13101
13221
  } | undefined;
13102
13222
  role?: "user" | "assistant" | "system" | undefined;
13103
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
13104
13223
  content?: {
13105
13224
  type: "text" | "image";
13106
13225
  text?: string | undefined;
13107
13226
  data?: string | undefined;
13108
13227
  mimeType?: string | undefined;
13109
13228
  }[] | undefined;
13229
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
13110
13230
  isStreaming?: boolean | undefined;
13111
13231
  toolCall?: {
13112
13232
  name: string;
@@ -13219,13 +13339,13 @@ export declare const protocolMessageSchemas: {
13219
13339
  changeSetId?: string | undefined;
13220
13340
  } | undefined;
13221
13341
  role?: "user" | "assistant" | "system" | undefined;
13222
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
13223
13342
  content?: {
13224
13343
  type: "text" | "image";
13225
13344
  text?: string | undefined;
13226
13345
  data?: string | undefined;
13227
13346
  mimeType?: string | undefined;
13228
13347
  }[] | undefined;
13348
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
13229
13349
  isStreaming?: boolean | undefined;
13230
13350
  toolCall?: {
13231
13351
  name: string;
@@ -13316,13 +13436,13 @@ export declare const protocolMessageSchemas: {
13316
13436
  changeSetId?: string | undefined;
13317
13437
  } | undefined;
13318
13438
  role?: "user" | "assistant" | "system" | undefined;
13319
- kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
13320
13439
  content?: {
13321
13440
  type: "text" | "image";
13322
13441
  text?: string | undefined;
13323
13442
  data?: string | undefined;
13324
13443
  mimeType?: string | undefined;
13325
13444
  }[] | undefined;
13445
+ kind?: "plan" | "thinking" | "chat" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
13326
13446
  isStreaming?: boolean | undefined;
13327
13447
  toolCall?: {
13328
13448
  name: string;