@agentdock/wire 0.0.11 → 0.0.13

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.
Files changed (64) hide show
  1. package/dist/agentCapabilities.d.ts +29 -2
  2. package/dist/agentCapabilities.d.ts.map +1 -1
  3. package/dist/agentCapabilities.js +113 -21
  4. package/dist/agentCapabilities.js.map +1 -1
  5. package/dist/agentInstallGuide.d.ts.map +1 -1
  6. package/dist/agentInstallGuide.js +18 -0
  7. package/dist/agentInstallGuide.js.map +1 -1
  8. package/dist/envelope.d.ts +48 -6
  9. package/dist/envelope.d.ts.map +1 -1
  10. package/dist/envelope.js +14 -4
  11. package/dist/envelope.js.map +1 -1
  12. package/dist/events.d.ts +39 -6
  13. package/dist/events.d.ts.map +1 -1
  14. package/dist/events.js +10 -1
  15. package/dist/events.js.map +1 -1
  16. package/dist/features.d.ts +35 -0
  17. package/dist/features.d.ts.map +1 -0
  18. package/dist/features.js +53 -0
  19. package/dist/features.js.map +1 -0
  20. package/dist/index.d.ts +17 -18
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +11 -11
  23. package/dist/index.js.map +1 -1
  24. package/dist/interactionEvents.d.ts +43 -4
  25. package/dist/interactionEvents.d.ts.map +1 -1
  26. package/dist/interactionEvents.js +16 -0
  27. package/dist/interactionEvents.js.map +1 -1
  28. package/dist/legacyProtocol.d.ts +40 -40
  29. package/dist/machine.d.ts +34 -0
  30. package/dist/machine.d.ts.map +1 -1
  31. package/dist/machine.js +15 -0
  32. package/dist/machine.js.map +1 -1
  33. package/dist/messageMeta.d.ts +14 -7
  34. package/dist/messageMeta.d.ts.map +1 -1
  35. package/dist/messageMeta.js +19 -3
  36. package/dist/messageMeta.js.map +1 -1
  37. package/dist/messages.d.ts +146 -56
  38. package/dist/messages.d.ts.map +1 -1
  39. package/dist/ops.d.ts +206 -0
  40. package/dist/ops.d.ts.map +1 -0
  41. package/dist/ops.js +74 -0
  42. package/dist/ops.js.map +1 -0
  43. package/dist/rpc.d.ts +121 -17
  44. package/dist/rpc.d.ts.map +1 -1
  45. package/dist/rpc.js +29 -12
  46. package/dist/rpc.js.map +1 -1
  47. package/dist/spawnError.d.ts +3 -3
  48. package/dist/stats.d.ts +977 -33
  49. package/dist/stats.d.ts.map +1 -1
  50. package/dist/stats.js +36 -0
  51. package/dist/stats.js.map +1 -1
  52. package/dist/sync.d.ts +69 -8
  53. package/dist/sync.d.ts.map +1 -1
  54. package/dist/sync.js +7 -0
  55. package/dist/sync.js.map +1 -1
  56. package/package.json +3 -2
  57. package/dist/agentModels.d.ts +0 -23
  58. package/dist/agentModels.d.ts.map +0 -1
  59. package/dist/agentModels.js +0 -77
  60. package/dist/agentModels.js.map +0 -1
  61. package/dist/team.d.ts +0 -1557
  62. package/dist/team.d.ts.map +0 -1
  63. package/dist/team.js +0 -93
  64. package/dist/team.js.map +0 -1
@@ -112,13 +112,13 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
112
112
  }, "strip", z.ZodTypeAny, {
113
113
  t: "tool-call-end";
114
114
  call: string;
115
- result?: string | undefined;
116
115
  error?: boolean | undefined;
116
+ result?: string | undefined;
117
117
  }, {
118
118
  t: "tool-call-end";
119
119
  call: string;
120
- result?: string | undefined;
121
120
  error?: boolean | undefined;
121
+ result?: string | undefined;
122
122
  }>, z.ZodObject<{
123
123
  t: z.ZodLiteral<"file">;
124
124
  ref: z.ZodString;
@@ -294,14 +294,29 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
294
294
  t: z.ZodLiteral<"permission-resolved">;
295
295
  requestId: z.ZodString;
296
296
  action: z.ZodEnum<["approve", "approve-all-edits", "approve-tool", "deny"]>;
297
+ reason: z.ZodOptional<z.ZodString>;
297
298
  }, "strip", z.ZodTypeAny, {
298
299
  t: "permission-resolved";
299
300
  requestId: string;
300
301
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
302
+ reason?: string | undefined;
301
303
  }, {
302
304
  t: "permission-resolved";
303
305
  requestId: string;
304
306
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
307
+ reason?: string | undefined;
308
+ }>, z.ZodObject<{
309
+ t: z.ZodLiteral<"image">;
310
+ data: z.ZodString;
311
+ mediaType: z.ZodString;
312
+ }, "strip", z.ZodTypeAny, {
313
+ t: "image";
314
+ data: string;
315
+ mediaType: string;
316
+ }, {
317
+ t: "image";
318
+ data: string;
319
+ mediaType: string;
305
320
  }>]>;
306
321
  }, "strip", z.ZodTypeAny, {
307
322
  id: string;
@@ -333,6 +348,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
333
348
  t: "permission-resolved";
334
349
  requestId: string;
335
350
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
351
+ reason?: string | undefined;
336
352
  } | {
337
353
  t: "text";
338
354
  text: string;
@@ -350,8 +366,8 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
350
366
  } | {
351
367
  t: "tool-call-end";
352
368
  call: string;
353
- result?: string | undefined;
354
369
  error?: boolean | undefined;
370
+ result?: string | undefined;
355
371
  } | {
356
372
  t: "file";
357
373
  name: string;
@@ -379,6 +395,10 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
379
395
  title?: string | undefined;
380
396
  } | {
381
397
  t: "stop";
398
+ } | {
399
+ t: "image";
400
+ data: string;
401
+ mediaType: string;
382
402
  };
383
403
  turn?: string | undefined;
384
404
  subagent?: string | undefined;
@@ -412,6 +432,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
412
432
  t: "permission-resolved";
413
433
  requestId: string;
414
434
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
435
+ reason?: string | undefined;
415
436
  } | {
416
437
  t: "text";
417
438
  text: string;
@@ -429,8 +450,8 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
429
450
  } | {
430
451
  t: "tool-call-end";
431
452
  call: string;
432
- result?: string | undefined;
433
453
  error?: boolean | undefined;
454
+ result?: string | undefined;
434
455
  } | {
435
456
  t: "file";
436
457
  name: string;
@@ -458,6 +479,10 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
458
479
  title?: string | undefined;
459
480
  } | {
460
481
  t: "stop";
482
+ } | {
483
+ t: "image";
484
+ data: string;
485
+ mediaType: string;
461
486
  };
462
487
  turn?: string | undefined;
463
488
  subagent?: string | undefined;
@@ -491,6 +516,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
491
516
  t: "permission-resolved";
492
517
  requestId: string;
493
518
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
519
+ reason?: string | undefined;
494
520
  } | {
495
521
  t: "text";
496
522
  text: string;
@@ -508,8 +534,8 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
508
534
  } | {
509
535
  t: "tool-call-end";
510
536
  call: string;
511
- result?: string | undefined;
512
537
  error?: boolean | undefined;
538
+ result?: string | undefined;
513
539
  } | {
514
540
  t: "file";
515
541
  name: string;
@@ -537,6 +563,10 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
537
563
  title?: string | undefined;
538
564
  } | {
539
565
  t: "stop";
566
+ } | {
567
+ t: "image";
568
+ data: string;
569
+ mediaType: string;
540
570
  };
541
571
  turn?: string | undefined;
542
572
  subagent?: string | undefined;
@@ -570,6 +600,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
570
600
  t: "permission-resolved";
571
601
  requestId: string;
572
602
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
603
+ reason?: string | undefined;
573
604
  } | {
574
605
  t: "text";
575
606
  text: string;
@@ -587,8 +618,8 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
587
618
  } | {
588
619
  t: "tool-call-end";
589
620
  call: string;
590
- result?: string | undefined;
591
621
  error?: boolean | undefined;
622
+ result?: string | undefined;
592
623
  } | {
593
624
  t: "file";
594
625
  name: string;
@@ -616,13 +647,17 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
616
647
  title?: string | undefined;
617
648
  } | {
618
649
  t: "stop";
650
+ } | {
651
+ t: "image";
652
+ data: string;
653
+ mediaType: string;
619
654
  };
620
655
  turn?: string | undefined;
621
656
  subagent?: string | undefined;
622
657
  }>;
623
658
  meta: z.ZodOptional<z.ZodObject<{
624
659
  sentFrom: z.ZodOptional<z.ZodString>;
625
- permissionMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo"]>>;
660
+ permissionMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "autoEdit", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo", "suggest", "auto-edit", "full-auto"]>>;
626
661
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
662
  fallbackModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
628
663
  customSystemPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -630,12 +665,12 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
630
665
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
631
666
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
632
667
  displayText: z.ZodOptional<z.ZodString>;
633
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "custom"]>>>;
668
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
634
669
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
635
670
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
636
671
  }, "strip", z.ZodTypeAny, {
637
672
  sentFrom?: string | undefined;
638
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
673
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
639
674
  model?: string | null | undefined;
640
675
  fallbackModel?: string | null | undefined;
641
676
  customSystemPrompt?: string | null | undefined;
@@ -643,12 +678,12 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
643
678
  allowedTools?: string[] | null | undefined;
644
679
  disallowedTools?: string[] | null | undefined;
645
680
  displayText?: string | undefined;
646
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
681
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
647
682
  startedAt?: number | null | undefined;
648
683
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
649
684
  }, {
650
685
  sentFrom?: string | undefined;
651
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
686
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
652
687
  model?: string | null | undefined;
653
688
  fallbackModel?: string | null | undefined;
654
689
  customSystemPrompt?: string | null | undefined;
@@ -656,7 +691,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
656
691
  allowedTools?: string[] | null | undefined;
657
692
  disallowedTools?: string[] | null | undefined;
658
693
  displayText?: string | undefined;
659
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
694
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
660
695
  startedAt?: number | null | undefined;
661
696
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
662
697
  }>>;
@@ -692,6 +727,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
692
727
  t: "permission-resolved";
693
728
  requestId: string;
694
729
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
730
+ reason?: string | undefined;
695
731
  } | {
696
732
  t: "text";
697
733
  text: string;
@@ -709,8 +745,8 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
709
745
  } | {
710
746
  t: "tool-call-end";
711
747
  call: string;
712
- result?: string | undefined;
713
748
  error?: boolean | undefined;
749
+ result?: string | undefined;
714
750
  } | {
715
751
  t: "file";
716
752
  name: string;
@@ -738,13 +774,17 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
738
774
  title?: string | undefined;
739
775
  } | {
740
776
  t: "stop";
777
+ } | {
778
+ t: "image";
779
+ data: string;
780
+ mediaType: string;
741
781
  };
742
782
  turn?: string | undefined;
743
783
  subagent?: string | undefined;
744
784
  };
745
785
  meta?: {
746
786
  sentFrom?: string | undefined;
747
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
787
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
748
788
  model?: string | null | undefined;
749
789
  fallbackModel?: string | null | undefined;
750
790
  customSystemPrompt?: string | null | undefined;
@@ -752,7 +792,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
752
792
  allowedTools?: string[] | null | undefined;
753
793
  disallowedTools?: string[] | null | undefined;
754
794
  displayText?: string | undefined;
755
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
795
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
756
796
  startedAt?: number | null | undefined;
757
797
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
758
798
  } | undefined;
@@ -788,6 +828,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
788
828
  t: "permission-resolved";
789
829
  requestId: string;
790
830
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
831
+ reason?: string | undefined;
791
832
  } | {
792
833
  t: "text";
793
834
  text: string;
@@ -805,8 +846,8 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
805
846
  } | {
806
847
  t: "tool-call-end";
807
848
  call: string;
808
- result?: string | undefined;
809
849
  error?: boolean | undefined;
850
+ result?: string | undefined;
810
851
  } | {
811
852
  t: "file";
812
853
  name: string;
@@ -834,13 +875,17 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
834
875
  title?: string | undefined;
835
876
  } | {
836
877
  t: "stop";
878
+ } | {
879
+ t: "image";
880
+ data: string;
881
+ mediaType: string;
837
882
  };
838
883
  turn?: string | undefined;
839
884
  subagent?: string | undefined;
840
885
  };
841
886
  meta?: {
842
887
  sentFrom?: string | undefined;
843
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
888
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
844
889
  model?: string | null | undefined;
845
890
  fallbackModel?: string | null | undefined;
846
891
  customSystemPrompt?: string | null | undefined;
@@ -848,7 +893,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
848
893
  allowedTools?: string[] | null | undefined;
849
894
  disallowedTools?: string[] | null | undefined;
850
895
  displayText?: string | undefined;
851
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
896
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
852
897
  startedAt?: number | null | undefined;
853
898
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
854
899
  } | undefined;
@@ -869,7 +914,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
869
914
  localKey: z.ZodOptional<z.ZodString>;
870
915
  meta: z.ZodOptional<z.ZodObject<{
871
916
  sentFrom: z.ZodOptional<z.ZodString>;
872
- permissionMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo"]>>;
917
+ permissionMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "autoEdit", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo", "suggest", "auto-edit", "full-auto"]>>;
873
918
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
874
919
  fallbackModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
875
920
  customSystemPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -877,12 +922,12 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
877
922
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
878
923
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
879
924
  displayText: z.ZodOptional<z.ZodString>;
880
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "custom"]>>>;
925
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
881
926
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
882
927
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
883
928
  }, "strip", z.ZodTypeAny, {
884
929
  sentFrom?: string | undefined;
885
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
930
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
886
931
  model?: string | null | undefined;
887
932
  fallbackModel?: string | null | undefined;
888
933
  customSystemPrompt?: string | null | undefined;
@@ -890,12 +935,12 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
890
935
  allowedTools?: string[] | null | undefined;
891
936
  disallowedTools?: string[] | null | undefined;
892
937
  displayText?: string | undefined;
893
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
938
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
894
939
  startedAt?: number | null | undefined;
895
940
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
896
941
  }, {
897
942
  sentFrom?: string | undefined;
898
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
943
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
899
944
  model?: string | null | undefined;
900
945
  fallbackModel?: string | null | undefined;
901
946
  customSystemPrompt?: string | null | undefined;
@@ -903,7 +948,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
903
948
  allowedTools?: string[] | null | undefined;
904
949
  disallowedTools?: string[] | null | undefined;
905
950
  displayText?: string | undefined;
906
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
951
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
907
952
  startedAt?: number | null | undefined;
908
953
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
909
954
  }>>;
@@ -916,7 +961,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
916
961
  localKey?: string | undefined;
917
962
  meta?: {
918
963
  sentFrom?: string | undefined;
919
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
964
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
920
965
  model?: string | null | undefined;
921
966
  fallbackModel?: string | null | undefined;
922
967
  customSystemPrompt?: string | null | undefined;
@@ -924,7 +969,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
924
969
  allowedTools?: string[] | null | undefined;
925
970
  disallowedTools?: string[] | null | undefined;
926
971
  displayText?: string | undefined;
927
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
972
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
928
973
  startedAt?: number | null | undefined;
929
974
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
930
975
  } | undefined;
@@ -937,7 +982,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
937
982
  localKey?: string | undefined;
938
983
  meta?: {
939
984
  sentFrom?: string | undefined;
940
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
985
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
941
986
  model?: string | null | undefined;
942
987
  fallbackModel?: string | null | undefined;
943
988
  customSystemPrompt?: string | null | undefined;
@@ -945,7 +990,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
945
990
  allowedTools?: string[] | null | undefined;
946
991
  disallowedTools?: string[] | null | undefined;
947
992
  displayText?: string | undefined;
948
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
993
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
949
994
  startedAt?: number | null | undefined;
950
995
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
951
996
  } | undefined;
@@ -960,7 +1005,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
960
1005
  }, z.ZodTypeAny, "passthrough">>;
961
1006
  meta: z.ZodOptional<z.ZodObject<{
962
1007
  sentFrom: z.ZodOptional<z.ZodString>;
963
- permissionMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo"]>>;
1008
+ permissionMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "autoEdit", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo", "suggest", "auto-edit", "full-auto"]>>;
964
1009
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
965
1010
  fallbackModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
966
1011
  customSystemPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -968,12 +1013,12 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
968
1013
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
969
1014
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
970
1015
  displayText: z.ZodOptional<z.ZodString>;
971
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "custom"]>>>;
1016
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
972
1017
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
973
1018
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
974
1019
  }, "strip", z.ZodTypeAny, {
975
1020
  sentFrom?: string | undefined;
976
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
1021
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
977
1022
  model?: string | null | undefined;
978
1023
  fallbackModel?: string | null | undefined;
979
1024
  customSystemPrompt?: string | null | undefined;
@@ -981,12 +1026,12 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
981
1026
  allowedTools?: string[] | null | undefined;
982
1027
  disallowedTools?: string[] | null | undefined;
983
1028
  displayText?: string | undefined;
984
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
1029
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
985
1030
  startedAt?: number | null | undefined;
986
1031
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
987
1032
  }, {
988
1033
  sentFrom?: string | undefined;
989
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
1034
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
990
1035
  model?: string | null | undefined;
991
1036
  fallbackModel?: string | null | undefined;
992
1037
  customSystemPrompt?: string | null | undefined;
@@ -994,7 +1039,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
994
1039
  allowedTools?: string[] | null | undefined;
995
1040
  disallowedTools?: string[] | null | undefined;
996
1041
  displayText?: string | undefined;
997
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
1042
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
998
1043
  startedAt?: number | null | undefined;
999
1044
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
1000
1045
  }>>;
@@ -1007,7 +1052,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1007
1052
  };
1008
1053
  meta?: {
1009
1054
  sentFrom?: string | undefined;
1010
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
1055
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
1011
1056
  model?: string | null | undefined;
1012
1057
  fallbackModel?: string | null | undefined;
1013
1058
  customSystemPrompt?: string | null | undefined;
@@ -1015,7 +1060,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1015
1060
  allowedTools?: string[] | null | undefined;
1016
1061
  disallowedTools?: string[] | null | undefined;
1017
1062
  displayText?: string | undefined;
1018
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
1063
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
1019
1064
  startedAt?: number | null | undefined;
1020
1065
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
1021
1066
  } | undefined;
@@ -1028,7 +1073,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1028
1073
  };
1029
1074
  meta?: {
1030
1075
  sentFrom?: string | undefined;
1031
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
1076
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
1032
1077
  model?: string | null | undefined;
1033
1078
  fallbackModel?: string | null | undefined;
1034
1079
  customSystemPrompt?: string | null | undefined;
@@ -1036,7 +1081,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1036
1081
  allowedTools?: string[] | null | undefined;
1037
1082
  disallowedTools?: string[] | null | undefined;
1038
1083
  displayText?: string | undefined;
1039
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
1084
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
1040
1085
  startedAt?: number | null | undefined;
1041
1086
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
1042
1087
  } | undefined;
@@ -1098,13 +1143,13 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1098
1143
  }, "strip", z.ZodTypeAny, {
1099
1144
  t: "tool-call-end";
1100
1145
  call: string;
1101
- result?: string | undefined;
1102
1146
  error?: boolean | undefined;
1147
+ result?: string | undefined;
1103
1148
  }, {
1104
1149
  t: "tool-call-end";
1105
1150
  call: string;
1106
- result?: string | undefined;
1107
1151
  error?: boolean | undefined;
1152
+ result?: string | undefined;
1108
1153
  }>, z.ZodObject<{
1109
1154
  t: z.ZodLiteral<"file">;
1110
1155
  ref: z.ZodString;
@@ -1280,14 +1325,29 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1280
1325
  t: z.ZodLiteral<"permission-resolved">;
1281
1326
  requestId: z.ZodString;
1282
1327
  action: z.ZodEnum<["approve", "approve-all-edits", "approve-tool", "deny"]>;
1328
+ reason: z.ZodOptional<z.ZodString>;
1283
1329
  }, "strip", z.ZodTypeAny, {
1284
1330
  t: "permission-resolved";
1285
1331
  requestId: string;
1286
1332
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
1333
+ reason?: string | undefined;
1287
1334
  }, {
1288
1335
  t: "permission-resolved";
1289
1336
  requestId: string;
1290
1337
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
1338
+ reason?: string | undefined;
1339
+ }>, z.ZodObject<{
1340
+ t: z.ZodLiteral<"image">;
1341
+ data: z.ZodString;
1342
+ mediaType: z.ZodString;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ t: "image";
1345
+ data: string;
1346
+ mediaType: string;
1347
+ }, {
1348
+ t: "image";
1349
+ data: string;
1350
+ mediaType: string;
1291
1351
  }>]>;
1292
1352
  }, "strip", z.ZodTypeAny, {
1293
1353
  id: string;
@@ -1319,6 +1379,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1319
1379
  t: "permission-resolved";
1320
1380
  requestId: string;
1321
1381
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
1382
+ reason?: string | undefined;
1322
1383
  } | {
1323
1384
  t: "text";
1324
1385
  text: string;
@@ -1336,8 +1397,8 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1336
1397
  } | {
1337
1398
  t: "tool-call-end";
1338
1399
  call: string;
1339
- result?: string | undefined;
1340
1400
  error?: boolean | undefined;
1401
+ result?: string | undefined;
1341
1402
  } | {
1342
1403
  t: "file";
1343
1404
  name: string;
@@ -1365,6 +1426,10 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1365
1426
  title?: string | undefined;
1366
1427
  } | {
1367
1428
  t: "stop";
1429
+ } | {
1430
+ t: "image";
1431
+ data: string;
1432
+ mediaType: string;
1368
1433
  };
1369
1434
  turn?: string | undefined;
1370
1435
  subagent?: string | undefined;
@@ -1398,6 +1463,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1398
1463
  t: "permission-resolved";
1399
1464
  requestId: string;
1400
1465
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
1466
+ reason?: string | undefined;
1401
1467
  } | {
1402
1468
  t: "text";
1403
1469
  text: string;
@@ -1415,8 +1481,8 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1415
1481
  } | {
1416
1482
  t: "tool-call-end";
1417
1483
  call: string;
1418
- result?: string | undefined;
1419
1484
  error?: boolean | undefined;
1485
+ result?: string | undefined;
1420
1486
  } | {
1421
1487
  t: "file";
1422
1488
  name: string;
@@ -1444,6 +1510,10 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1444
1510
  title?: string | undefined;
1445
1511
  } | {
1446
1512
  t: "stop";
1513
+ } | {
1514
+ t: "image";
1515
+ data: string;
1516
+ mediaType: string;
1447
1517
  };
1448
1518
  turn?: string | undefined;
1449
1519
  subagent?: string | undefined;
@@ -1477,6 +1547,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1477
1547
  t: "permission-resolved";
1478
1548
  requestId: string;
1479
1549
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
1550
+ reason?: string | undefined;
1480
1551
  } | {
1481
1552
  t: "text";
1482
1553
  text: string;
@@ -1494,8 +1565,8 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1494
1565
  } | {
1495
1566
  t: "tool-call-end";
1496
1567
  call: string;
1497
- result?: string | undefined;
1498
1568
  error?: boolean | undefined;
1569
+ result?: string | undefined;
1499
1570
  } | {
1500
1571
  t: "file";
1501
1572
  name: string;
@@ -1523,6 +1594,10 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1523
1594
  title?: string | undefined;
1524
1595
  } | {
1525
1596
  t: "stop";
1597
+ } | {
1598
+ t: "image";
1599
+ data: string;
1600
+ mediaType: string;
1526
1601
  };
1527
1602
  turn?: string | undefined;
1528
1603
  subagent?: string | undefined;
@@ -1556,6 +1631,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1556
1631
  t: "permission-resolved";
1557
1632
  requestId: string;
1558
1633
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
1634
+ reason?: string | undefined;
1559
1635
  } | {
1560
1636
  t: "text";
1561
1637
  text: string;
@@ -1573,8 +1649,8 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1573
1649
  } | {
1574
1650
  t: "tool-call-end";
1575
1651
  call: string;
1576
- result?: string | undefined;
1577
1652
  error?: boolean | undefined;
1653
+ result?: string | undefined;
1578
1654
  } | {
1579
1655
  t: "file";
1580
1656
  name: string;
@@ -1602,13 +1678,17 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1602
1678
  title?: string | undefined;
1603
1679
  } | {
1604
1680
  t: "stop";
1681
+ } | {
1682
+ t: "image";
1683
+ data: string;
1684
+ mediaType: string;
1605
1685
  };
1606
1686
  turn?: string | undefined;
1607
1687
  subagent?: string | undefined;
1608
1688
  }>;
1609
1689
  meta: z.ZodOptional<z.ZodObject<{
1610
1690
  sentFrom: z.ZodOptional<z.ZodString>;
1611
- permissionMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo"]>>;
1691
+ permissionMode: z.ZodOptional<z.ZodEnum<["default", "acceptEdits", "autoEdit", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo", "suggest", "auto-edit", "full-auto"]>>;
1612
1692
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1613
1693
  fallbackModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1614
1694
  customSystemPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1616,12 +1696,12 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1616
1696
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1617
1697
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1618
1698
  displayText: z.ZodOptional<z.ZodString>;
1619
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "custom"]>>>;
1699
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
1620
1700
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1621
1701
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
1622
1702
  }, "strip", z.ZodTypeAny, {
1623
1703
  sentFrom?: string | undefined;
1624
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
1704
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
1625
1705
  model?: string | null | undefined;
1626
1706
  fallbackModel?: string | null | undefined;
1627
1707
  customSystemPrompt?: string | null | undefined;
@@ -1629,12 +1709,12 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1629
1709
  allowedTools?: string[] | null | undefined;
1630
1710
  disallowedTools?: string[] | null | undefined;
1631
1711
  displayText?: string | undefined;
1632
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
1712
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
1633
1713
  startedAt?: number | null | undefined;
1634
1714
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
1635
1715
  }, {
1636
1716
  sentFrom?: string | undefined;
1637
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
1717
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
1638
1718
  model?: string | null | undefined;
1639
1719
  fallbackModel?: string | null | undefined;
1640
1720
  customSystemPrompt?: string | null | undefined;
@@ -1642,7 +1722,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1642
1722
  allowedTools?: string[] | null | undefined;
1643
1723
  disallowedTools?: string[] | null | undefined;
1644
1724
  displayText?: string | undefined;
1645
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
1725
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
1646
1726
  startedAt?: number | null | undefined;
1647
1727
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
1648
1728
  }>>;
@@ -1678,6 +1758,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1678
1758
  t: "permission-resolved";
1679
1759
  requestId: string;
1680
1760
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
1761
+ reason?: string | undefined;
1681
1762
  } | {
1682
1763
  t: "text";
1683
1764
  text: string;
@@ -1695,8 +1776,8 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1695
1776
  } | {
1696
1777
  t: "tool-call-end";
1697
1778
  call: string;
1698
- result?: string | undefined;
1699
1779
  error?: boolean | undefined;
1780
+ result?: string | undefined;
1700
1781
  } | {
1701
1782
  t: "file";
1702
1783
  name: string;
@@ -1724,13 +1805,17 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1724
1805
  title?: string | undefined;
1725
1806
  } | {
1726
1807
  t: "stop";
1808
+ } | {
1809
+ t: "image";
1810
+ data: string;
1811
+ mediaType: string;
1727
1812
  };
1728
1813
  turn?: string | undefined;
1729
1814
  subagent?: string | undefined;
1730
1815
  };
1731
1816
  meta?: {
1732
1817
  sentFrom?: string | undefined;
1733
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
1818
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
1734
1819
  model?: string | null | undefined;
1735
1820
  fallbackModel?: string | null | undefined;
1736
1821
  customSystemPrompt?: string | null | undefined;
@@ -1738,7 +1823,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1738
1823
  allowedTools?: string[] | null | undefined;
1739
1824
  disallowedTools?: string[] | null | undefined;
1740
1825
  displayText?: string | undefined;
1741
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
1826
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
1742
1827
  startedAt?: number | null | undefined;
1743
1828
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
1744
1829
  } | undefined;
@@ -1774,6 +1859,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1774
1859
  t: "permission-resolved";
1775
1860
  requestId: string;
1776
1861
  action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
1862
+ reason?: string | undefined;
1777
1863
  } | {
1778
1864
  t: "text";
1779
1865
  text: string;
@@ -1791,8 +1877,8 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1791
1877
  } | {
1792
1878
  t: "tool-call-end";
1793
1879
  call: string;
1794
- result?: string | undefined;
1795
1880
  error?: boolean | undefined;
1881
+ result?: string | undefined;
1796
1882
  } | {
1797
1883
  t: "file";
1798
1884
  name: string;
@@ -1820,13 +1906,17 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1820
1906
  title?: string | undefined;
1821
1907
  } | {
1822
1908
  t: "stop";
1909
+ } | {
1910
+ t: "image";
1911
+ data: string;
1912
+ mediaType: string;
1823
1913
  };
1824
1914
  turn?: string | undefined;
1825
1915
  subagent?: string | undefined;
1826
1916
  };
1827
1917
  meta?: {
1828
1918
  sentFrom?: string | undefined;
1829
- permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "read-only" | "safe-yolo" | "yolo" | undefined;
1919
+ permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
1830
1920
  model?: string | null | undefined;
1831
1921
  fallbackModel?: string | null | undefined;
1832
1922
  customSystemPrompt?: string | null | undefined;
@@ -1834,7 +1924,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
1834
1924
  allowedTools?: string[] | null | undefined;
1835
1925
  disallowedTools?: string[] | null | undefined;
1836
1926
  displayText?: string | undefined;
1837
- agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | null | undefined;
1927
+ agentType?: "custom" | "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | null | undefined;
1838
1928
  startedAt?: number | null | undefined;
1839
1929
  sessionStatus?: "running" | "idle" | "completed" | "failed" | "cancelled" | null | undefined;
1840
1930
  } | undefined;