linkshell-cli 0.10.71 → 0.10.72

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.
@@ -428,6 +428,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
428
428
  type: "resource_link";
429
429
  uri: string;
430
430
  name: string;
431
+ kind?: "file" | "skill" | "agent" | undefined;
431
432
  annotations?: z.objectOutputType<{
432
433
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
433
434
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -438,7 +439,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
438
439
  title?: string | undefined;
439
440
  description?: string | undefined;
440
441
  size?: number | undefined;
441
- kind?: "file" | "skill" | "agent" | undefined;
442
442
  }, z.ZodTypeDef, unknown>, "many">>;
443
443
  append: z.ZodOptional<z.ZodBoolean>;
444
444
  senderSessionId: z.ZodOptional<z.ZodString>;
@@ -498,6 +498,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
498
498
  type: "resource_link";
499
499
  uri: string;
500
500
  name: string;
501
+ kind?: "file" | "skill" | "agent" | undefined;
501
502
  annotations?: z.objectOutputType<{
502
503
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
503
504
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -508,7 +509,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
508
509
  title?: string | undefined;
509
510
  description?: string | undefined;
510
511
  size?: number | undefined;
511
- kind?: "file" | "skill" | "agent" | undefined;
512
512
  })[] | undefined;
513
513
  parentToolCallId?: string | undefined;
514
514
  append?: boolean | undefined;
@@ -577,6 +577,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
577
577
  type: "resource_link";
578
578
  uri: string;
579
579
  name: string;
580
+ kind?: "file" | "skill" | "agent" | undefined;
580
581
  annotations?: z.objectOutputType<{
581
582
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
582
583
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -587,7 +588,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
587
588
  title?: string | undefined;
588
589
  description?: string | undefined;
589
590
  size?: number | undefined;
590
- kind?: "file" | "skill" | "agent" | undefined;
591
591
  }, z.ZodTypeDef, unknown>;
592
592
  }, "strip", z.ZodTypeAny, {
593
593
  content: {
@@ -641,6 +641,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
641
641
  type: "resource_link";
642
642
  uri: string;
643
643
  name: string;
644
+ kind?: "file" | "skill" | "agent" | undefined;
644
645
  annotations?: z.objectOutputType<{
645
646
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
646
647
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -651,7 +652,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
651
652
  title?: string | undefined;
652
653
  description?: string | undefined;
653
654
  size?: number | undefined;
654
- kind?: "file" | "skill" | "agent" | undefined;
655
655
  };
656
656
  sessionUpdate: "user_message_chunk";
657
657
  messageId?: string | undefined;
@@ -714,6 +714,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
714
714
  type: "resource_link";
715
715
  uri: string;
716
716
  name: string;
717
+ kind?: "file" | "skill" | "agent" | undefined;
717
718
  annotations?: z.objectOutputType<{
718
719
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
719
720
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -724,7 +725,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
724
725
  title?: string | undefined;
725
726
  description?: string | undefined;
726
727
  size?: number | undefined;
727
- kind?: "file" | "skill" | "agent" | undefined;
728
728
  }, z.ZodTypeDef, unknown>;
729
729
  }, "strip", z.ZodTypeAny, {
730
730
  content: {
@@ -778,6 +778,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
778
778
  type: "resource_link";
779
779
  uri: string;
780
780
  name: string;
781
+ kind?: "file" | "skill" | "agent" | undefined;
781
782
  annotations?: z.objectOutputType<{
782
783
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
783
784
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -788,7 +789,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
788
789
  title?: string | undefined;
789
790
  description?: string | undefined;
790
791
  size?: number | undefined;
791
- kind?: "file" | "skill" | "agent" | undefined;
792
792
  };
793
793
  sessionUpdate: "agent_message_chunk";
794
794
  messageId: string;
@@ -853,6 +853,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
853
853
  type: "resource_link";
854
854
  uri: string;
855
855
  name: string;
856
+ kind?: "file" | "skill" | "agent" | undefined;
856
857
  annotations?: z.objectOutputType<{
857
858
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
858
859
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -863,7 +864,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
863
864
  title?: string | undefined;
864
865
  description?: string | undefined;
865
866
  size?: number | undefined;
866
- kind?: "file" | "skill" | "agent" | undefined;
867
867
  }, z.ZodTypeDef, unknown>;
868
868
  }, "strip", z.ZodTypeAny, {
869
869
  content: {
@@ -917,6 +917,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
917
917
  type: "resource_link";
918
918
  uri: string;
919
919
  name: string;
920
+ kind?: "file" | "skill" | "agent" | undefined;
920
921
  annotations?: z.objectOutputType<{
921
922
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
922
923
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -927,7 +928,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
927
928
  title?: string | undefined;
928
929
  description?: string | undefined;
929
930
  size?: number | undefined;
930
- kind?: "file" | "skill" | "agent" | undefined;
931
931
  };
932
932
  sessionUpdate: "agent_thought_chunk";
933
933
  messageId: string;
@@ -1001,6 +1001,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
1001
1001
  type: "resource_link";
1002
1002
  uri: string;
1003
1003
  name: string;
1004
+ kind?: "file" | "skill" | "agent" | undefined;
1004
1005
  annotations?: z.objectOutputType<{
1005
1006
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
1006
1007
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -1011,7 +1012,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
1011
1012
  title?: string | undefined;
1012
1013
  description?: string | undefined;
1013
1014
  size?: number | undefined;
1014
- kind?: "file" | "skill" | "agent" | undefined;
1015
1015
  }, z.ZodTypeDef, unknown>;
1016
1016
  }, "strip", z.ZodTypeAny, {
1017
1017
  type: "content";
@@ -1066,6 +1066,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
1066
1066
  type: "resource_link";
1067
1067
  uri: string;
1068
1068
  name: string;
1069
+ kind?: "file" | "skill" | "agent" | undefined;
1069
1070
  annotations?: z.objectOutputType<{
1070
1071
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
1071
1072
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -1076,7 +1077,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
1076
1077
  title?: string | undefined;
1077
1078
  description?: string | undefined;
1078
1079
  size?: number | undefined;
1079
- kind?: "file" | "skill" | "agent" | undefined;
1080
1080
  };
1081
1081
  }, {
1082
1082
  type: "content";
@@ -1422,9 +1422,9 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
1422
1422
  more?: number | undefined;
1423
1423
  }>]>>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
+ kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
1425
1426
  status: "pending" | "in_progress" | "completed" | "failed";
1426
1427
  title: string;
1427
- kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
1428
1428
  toolCallId: string;
1429
1429
  sessionUpdate: "tool_call";
1430
1430
  name?: string | undefined;
@@ -1481,6 +1481,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
1481
1481
  type: "resource_link";
1482
1482
  uri: string;
1483
1483
  name: string;
1484
+ kind?: "file" | "skill" | "agent" | undefined;
1484
1485
  annotations?: z.objectOutputType<{
1485
1486
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
1486
1487
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -1491,7 +1492,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
1491
1492
  title?: string | undefined;
1492
1493
  description?: string | undefined;
1493
1494
  size?: number | undefined;
1494
- kind?: "file" | "skill" | "agent" | undefined;
1495
1495
  };
1496
1496
  } | {
1497
1497
  path: string;
@@ -1580,9 +1580,9 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
1580
1580
  more?: number | undefined;
1581
1581
  } | undefined;
1582
1582
  }, {
1583
+ kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
1583
1584
  status: "pending" | "in_progress" | "completed" | "failed";
1584
1585
  title: string;
1585
- kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
1586
1586
  toolCallId: string;
1587
1587
  sessionUpdate: "tool_call";
1588
1588
  name?: string | undefined;
@@ -2035,6 +2035,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2035
2035
  type: "resource_link";
2036
2036
  uri: string;
2037
2037
  name: string;
2038
+ kind?: "file" | "skill" | "agent" | undefined;
2038
2039
  annotations?: z.objectOutputType<{
2039
2040
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
2040
2041
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -2045,7 +2046,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2045
2046
  title?: string | undefined;
2046
2047
  description?: string | undefined;
2047
2048
  size?: number | undefined;
2048
- kind?: "file" | "skill" | "agent" | undefined;
2049
2049
  }, z.ZodTypeDef, unknown>;
2050
2050
  }, "strip", z.ZodTypeAny, {
2051
2051
  type: "content";
@@ -2100,6 +2100,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2100
2100
  type: "resource_link";
2101
2101
  uri: string;
2102
2102
  name: string;
2103
+ kind?: "file" | "skill" | "agent" | undefined;
2103
2104
  annotations?: z.objectOutputType<{
2104
2105
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
2105
2106
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -2110,7 +2111,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2110
2111
  title?: string | undefined;
2111
2112
  description?: string | undefined;
2112
2113
  size?: number | undefined;
2113
- kind?: "file" | "skill" | "agent" | undefined;
2114
2114
  };
2115
2115
  }, {
2116
2116
  type: "content";
@@ -2167,10 +2167,10 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2167
2167
  }, "strip", z.ZodTypeAny, {
2168
2168
  toolCallId: string;
2169
2169
  sessionUpdate: "tool_call_update";
2170
+ kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
2170
2171
  status?: "pending" | "in_progress" | "completed" | "failed" | undefined;
2171
2172
  name?: string | undefined;
2172
2173
  title?: string | undefined;
2173
- kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
2174
2174
  content?: ({
2175
2175
  type: "content";
2176
2176
  content: {
@@ -2224,6 +2224,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2224
2224
  type: "resource_link";
2225
2225
  uri: string;
2226
2226
  name: string;
2227
+ kind?: "file" | "skill" | "agent" | undefined;
2227
2228
  annotations?: z.objectOutputType<{
2228
2229
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
2229
2230
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -2234,7 +2235,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2234
2235
  title?: string | undefined;
2235
2236
  description?: string | undefined;
2236
2237
  size?: number | undefined;
2237
- kind?: "file" | "skill" | "agent" | undefined;
2238
2238
  };
2239
2239
  } | {
2240
2240
  path: string;
@@ -2328,10 +2328,10 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2328
2328
  }, {
2329
2329
  toolCallId: string;
2330
2330
  sessionUpdate: "tool_call_update";
2331
+ kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
2331
2332
  status?: "pending" | "in_progress" | "completed" | "failed" | undefined;
2332
2333
  name?: string | undefined;
2333
2334
  title?: string | undefined;
2334
- kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
2335
2335
  content?: ({
2336
2336
  type: "content";
2337
2337
  content?: unknown;
@@ -2921,6 +2921,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2921
2921
  type: "resource_link";
2922
2922
  uri: string;
2923
2923
  name: string;
2924
+ kind?: "file" | "skill" | "agent" | undefined;
2924
2925
  annotations?: z.objectOutputType<{
2925
2926
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
2926
2927
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -2931,7 +2932,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2931
2932
  title?: string | undefined;
2932
2933
  description?: string | undefined;
2933
2934
  size?: number | undefined;
2934
- kind?: "file" | "skill" | "agent" | undefined;
2935
2935
  }, z.ZodTypeDef, unknown>;
2936
2936
  }, "strip", z.ZodTypeAny, {
2937
2937
  type: "content";
@@ -2986,6 +2986,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2986
2986
  type: "resource_link";
2987
2987
  uri: string;
2988
2988
  name: string;
2989
+ kind?: "file" | "skill" | "agent" | undefined;
2989
2990
  annotations?: z.objectOutputType<{
2990
2991
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
2991
2992
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -2996,7 +2997,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
2996
2997
  title?: string | undefined;
2997
2998
  description?: string | undefined;
2998
2999
  size?: number | undefined;
2999
- kind?: "file" | "skill" | "agent" | undefined;
3000
3000
  };
3001
3001
  }, {
3002
3002
  type: "content";
@@ -3055,8 +3055,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3055
3055
  line?: number | undefined;
3056
3056
  }>, "many">>;
3057
3057
  }, "strip", z.ZodTypeAny, {
3058
- title?: string | undefined;
3059
3058
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
3059
+ title?: string | undefined;
3060
3060
  content?: ({
3061
3061
  type: "content";
3062
3062
  content: {
@@ -3110,6 +3110,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3110
3110
  type: "resource_link";
3111
3111
  uri: string;
3112
3112
  name: string;
3113
+ kind?: "file" | "skill" | "agent" | undefined;
3113
3114
  annotations?: z.objectOutputType<{
3114
3115
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
3115
3116
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -3120,7 +3121,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3120
3121
  title?: string | undefined;
3121
3122
  description?: string | undefined;
3122
3123
  size?: number | undefined;
3123
- kind?: "file" | "skill" | "agent" | undefined;
3124
3124
  };
3125
3125
  } | {
3126
3126
  path: string;
@@ -3143,8 +3143,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3143
3143
  line?: number | undefined;
3144
3144
  }[] | undefined;
3145
3145
  }, {
3146
- title?: string | undefined;
3147
3146
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
3147
+ title?: string | undefined;
3148
3148
  content?: ({
3149
3149
  type: "content";
3150
3150
  content?: unknown;
@@ -3185,12 +3185,12 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3185
3185
  name: z.ZodString;
3186
3186
  kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
3187
3187
  }, "strip", z.ZodTypeAny, {
3188
- name: string;
3189
3188
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
3189
+ name: string;
3190
3190
  optionId: string;
3191
3191
  }, {
3192
- name: string;
3193
3192
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
3193
+ name: string;
3194
3194
  optionId: string;
3195
3195
  }>, "many">;
3196
3196
  /**
@@ -3252,8 +3252,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3252
3252
  secret: z.ZodOptional<z.ZodBoolean>;
3253
3253
  required: z.ZodOptional<z.ZodBoolean>;
3254
3254
  }, "strip", z.ZodTypeAny, {
3255
- text: string;
3256
3255
  kind: "text" | "choice" | "choices";
3256
+ text: string;
3257
3257
  id: string;
3258
3258
  options?: {
3259
3259
  value: string;
@@ -3277,8 +3277,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3277
3277
  secret?: boolean | undefined;
3278
3278
  required?: boolean | undefined;
3279
3279
  }, {
3280
- text: string;
3281
3280
  kind: "text" | "choice" | "choices";
3281
+ text: string;
3282
3282
  id: string;
3283
3283
  options?: {
3284
3284
  value: string;
@@ -3304,8 +3304,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3304
3304
  }>, "many">>;
3305
3305
  }, "strip", z.ZodTypeAny, {
3306
3306
  options: {
3307
- name: string;
3308
3307
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
3308
+ name: string;
3309
3309
  optionId: string;
3310
3310
  }[];
3311
3311
  title: string;
@@ -3313,8 +3313,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3313
3313
  requestId: string;
3314
3314
  toolCallId?: string | undefined;
3315
3315
  tool?: {
3316
- title?: string | undefined;
3317
3316
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
3317
+ title?: string | undefined;
3318
3318
  content?: ({
3319
3319
  type: "content";
3320
3320
  content: {
@@ -3368,6 +3368,7 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3368
3368
  type: "resource_link";
3369
3369
  uri: string;
3370
3370
  name: string;
3371
+ kind?: "file" | "skill" | "agent" | undefined;
3371
3372
  annotations?: z.objectOutputType<{
3372
3373
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
3373
3374
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -3378,7 +3379,6 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3378
3379
  title?: string | undefined;
3379
3380
  description?: string | undefined;
3380
3381
  size?: number | undefined;
3381
- kind?: "file" | "skill" | "agent" | undefined;
3382
3382
  };
3383
3383
  } | {
3384
3384
  path: string;
@@ -3403,8 +3403,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3403
3403
  } | undefined;
3404
3404
  detail?: string | undefined;
3405
3405
  questions?: {
3406
- text: string;
3407
3406
  kind: "text" | "choice" | "choices";
3407
+ text: string;
3408
3408
  id: string;
3409
3409
  options?: {
3410
3410
  value: string;
@@ -3435,8 +3435,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3435
3435
  } | undefined;
3436
3436
  }, {
3437
3437
  options: {
3438
- name: string;
3439
3438
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
3439
+ name: string;
3440
3440
  optionId: string;
3441
3441
  }[];
3442
3442
  title: string;
@@ -3444,8 +3444,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3444
3444
  requestId: string;
3445
3445
  toolCallId?: string | undefined;
3446
3446
  tool?: {
3447
- title?: string | undefined;
3448
3447
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
3448
+ title?: string | undefined;
3449
3449
  content?: ({
3450
3450
  type: "content";
3451
3451
  content?: unknown;
@@ -3472,8 +3472,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3472
3472
  } | undefined;
3473
3473
  detail?: string | undefined;
3474
3474
  questions?: {
3475
- text: string;
3476
3475
  kind: "text" | "choice" | "choices";
3476
+ text: string;
3477
3477
  id: string;
3478
3478
  options?: {
3479
3479
  value: string;
@@ -3579,8 +3579,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3579
3579
  canStop: z.ZodOptional<z.ZodBoolean>;
3580
3580
  lastSeq: z.ZodOptional<z.ZodNumber>;
3581
3581
  }, "strip", z.ZodTypeAny, {
3582
- title: string;
3583
3582
  kind: "shell" | "monitor";
3583
+ title: string;
3584
3584
  id: string;
3585
3585
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
3586
3586
  startedAt: number;
@@ -3593,8 +3593,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3593
3593
  canStop?: boolean | undefined;
3594
3594
  lastSeq?: number | undefined;
3595
3595
  }, {
3596
- title: string;
3597
3596
  kind: "shell" | "monitor";
3597
+ title: string;
3598
3598
  id: string;
3599
3599
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
3600
3600
  startedAt: number;
@@ -3609,8 +3609,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3609
3609
  }>;
3610
3610
  }, "strip", z.ZodTypeAny, {
3611
3611
  task: {
3612
- title: string;
3613
3612
  kind: "shell" | "monitor";
3613
+ title: string;
3614
3614
  id: string;
3615
3615
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
3616
3616
  startedAt: number;
@@ -3626,8 +3626,8 @@ export declare const sessionUpdateSchema: z.ZodDiscriminatedUnion<"sessionUpdate
3626
3626
  sessionUpdate: "ls_task";
3627
3627
  }, {
3628
3628
  task: {
3629
- title: string;
3630
3629
  kind: "shell" | "monitor";
3630
+ title: string;
3631
3631
  id: string;
3632
3632
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
3633
3633
  startedAt: number;
@@ -3735,6 +3735,7 @@ export declare const sessionEventSchema: z.ZodObject<{
3735
3735
  type: "resource_link";
3736
3736
  uri: string;
3737
3737
  name: string;
3738
+ kind?: "file" | "skill" | "agent" | undefined;
3738
3739
  annotations?: z.objectOutputType<{
3739
3740
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
3740
3741
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -3745,7 +3746,6 @@ export declare const sessionEventSchema: z.ZodObject<{
3745
3746
  title?: string | undefined;
3746
3747
  description?: string | undefined;
3747
3748
  size?: number | undefined;
3748
- kind?: "file" | "skill" | "agent" | undefined;
3749
3749
  }, z.ZodTypeDef, unknown>, "many">>;
3750
3750
  append: z.ZodOptional<z.ZodBoolean>;
3751
3751
  senderSessionId: z.ZodOptional<z.ZodString>;
@@ -3805,6 +3805,7 @@ export declare const sessionEventSchema: z.ZodObject<{
3805
3805
  type: "resource_link";
3806
3806
  uri: string;
3807
3807
  name: string;
3808
+ kind?: "file" | "skill" | "agent" | undefined;
3808
3809
  annotations?: z.objectOutputType<{
3809
3810
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
3810
3811
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -3815,7 +3816,6 @@ export declare const sessionEventSchema: z.ZodObject<{
3815
3816
  title?: string | undefined;
3816
3817
  description?: string | undefined;
3817
3818
  size?: number | undefined;
3818
- kind?: "file" | "skill" | "agent" | undefined;
3819
3819
  })[] | undefined;
3820
3820
  parentToolCallId?: string | undefined;
3821
3821
  append?: boolean | undefined;
@@ -3884,6 +3884,7 @@ export declare const sessionEventSchema: z.ZodObject<{
3884
3884
  type: "resource_link";
3885
3885
  uri: string;
3886
3886
  name: string;
3887
+ kind?: "file" | "skill" | "agent" | undefined;
3887
3888
  annotations?: z.objectOutputType<{
3888
3889
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
3889
3890
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -3894,7 +3895,6 @@ export declare const sessionEventSchema: z.ZodObject<{
3894
3895
  title?: string | undefined;
3895
3896
  description?: string | undefined;
3896
3897
  size?: number | undefined;
3897
- kind?: "file" | "skill" | "agent" | undefined;
3898
3898
  }, z.ZodTypeDef, unknown>;
3899
3899
  }, "strip", z.ZodTypeAny, {
3900
3900
  content: {
@@ -3948,6 +3948,7 @@ export declare const sessionEventSchema: z.ZodObject<{
3948
3948
  type: "resource_link";
3949
3949
  uri: string;
3950
3950
  name: string;
3951
+ kind?: "file" | "skill" | "agent" | undefined;
3951
3952
  annotations?: z.objectOutputType<{
3952
3953
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
3953
3954
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -3958,7 +3959,6 @@ export declare const sessionEventSchema: z.ZodObject<{
3958
3959
  title?: string | undefined;
3959
3960
  description?: string | undefined;
3960
3961
  size?: number | undefined;
3961
- kind?: "file" | "skill" | "agent" | undefined;
3962
3962
  };
3963
3963
  sessionUpdate: "user_message_chunk";
3964
3964
  messageId?: string | undefined;
@@ -4021,6 +4021,7 @@ export declare const sessionEventSchema: z.ZodObject<{
4021
4021
  type: "resource_link";
4022
4022
  uri: string;
4023
4023
  name: string;
4024
+ kind?: "file" | "skill" | "agent" | undefined;
4024
4025
  annotations?: z.objectOutputType<{
4025
4026
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
4026
4027
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -4031,7 +4032,6 @@ export declare const sessionEventSchema: z.ZodObject<{
4031
4032
  title?: string | undefined;
4032
4033
  description?: string | undefined;
4033
4034
  size?: number | undefined;
4034
- kind?: "file" | "skill" | "agent" | undefined;
4035
4035
  }, z.ZodTypeDef, unknown>;
4036
4036
  }, "strip", z.ZodTypeAny, {
4037
4037
  content: {
@@ -4085,6 +4085,7 @@ export declare const sessionEventSchema: z.ZodObject<{
4085
4085
  type: "resource_link";
4086
4086
  uri: string;
4087
4087
  name: string;
4088
+ kind?: "file" | "skill" | "agent" | undefined;
4088
4089
  annotations?: z.objectOutputType<{
4089
4090
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
4090
4091
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -4095,7 +4096,6 @@ export declare const sessionEventSchema: z.ZodObject<{
4095
4096
  title?: string | undefined;
4096
4097
  description?: string | undefined;
4097
4098
  size?: number | undefined;
4098
- kind?: "file" | "skill" | "agent" | undefined;
4099
4099
  };
4100
4100
  sessionUpdate: "agent_message_chunk";
4101
4101
  messageId: string;
@@ -4160,6 +4160,7 @@ export declare const sessionEventSchema: z.ZodObject<{
4160
4160
  type: "resource_link";
4161
4161
  uri: string;
4162
4162
  name: string;
4163
+ kind?: "file" | "skill" | "agent" | undefined;
4163
4164
  annotations?: z.objectOutputType<{
4164
4165
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
4165
4166
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -4170,7 +4171,6 @@ export declare const sessionEventSchema: z.ZodObject<{
4170
4171
  title?: string | undefined;
4171
4172
  description?: string | undefined;
4172
4173
  size?: number | undefined;
4173
- kind?: "file" | "skill" | "agent" | undefined;
4174
4174
  }, z.ZodTypeDef, unknown>;
4175
4175
  }, "strip", z.ZodTypeAny, {
4176
4176
  content: {
@@ -4224,6 +4224,7 @@ export declare const sessionEventSchema: z.ZodObject<{
4224
4224
  type: "resource_link";
4225
4225
  uri: string;
4226
4226
  name: string;
4227
+ kind?: "file" | "skill" | "agent" | undefined;
4227
4228
  annotations?: z.objectOutputType<{
4228
4229
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
4229
4230
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -4234,7 +4235,6 @@ export declare const sessionEventSchema: z.ZodObject<{
4234
4235
  title?: string | undefined;
4235
4236
  description?: string | undefined;
4236
4237
  size?: number | undefined;
4237
- kind?: "file" | "skill" | "agent" | undefined;
4238
4238
  };
4239
4239
  sessionUpdate: "agent_thought_chunk";
4240
4240
  messageId: string;
@@ -4308,6 +4308,7 @@ export declare const sessionEventSchema: z.ZodObject<{
4308
4308
  type: "resource_link";
4309
4309
  uri: string;
4310
4310
  name: string;
4311
+ kind?: "file" | "skill" | "agent" | undefined;
4311
4312
  annotations?: z.objectOutputType<{
4312
4313
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
4313
4314
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -4318,7 +4319,6 @@ export declare const sessionEventSchema: z.ZodObject<{
4318
4319
  title?: string | undefined;
4319
4320
  description?: string | undefined;
4320
4321
  size?: number | undefined;
4321
- kind?: "file" | "skill" | "agent" | undefined;
4322
4322
  }, z.ZodTypeDef, unknown>;
4323
4323
  }, "strip", z.ZodTypeAny, {
4324
4324
  type: "content";
@@ -4373,6 +4373,7 @@ export declare const sessionEventSchema: z.ZodObject<{
4373
4373
  type: "resource_link";
4374
4374
  uri: string;
4375
4375
  name: string;
4376
+ kind?: "file" | "skill" | "agent" | undefined;
4376
4377
  annotations?: z.objectOutputType<{
4377
4378
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
4378
4379
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -4383,7 +4384,6 @@ export declare const sessionEventSchema: z.ZodObject<{
4383
4384
  title?: string | undefined;
4384
4385
  description?: string | undefined;
4385
4386
  size?: number | undefined;
4386
- kind?: "file" | "skill" | "agent" | undefined;
4387
4387
  };
4388
4388
  }, {
4389
4389
  type: "content";
@@ -4729,9 +4729,9 @@ export declare const sessionEventSchema: z.ZodObject<{
4729
4729
  more?: number | undefined;
4730
4730
  }>]>>;
4731
4731
  }, "strip", z.ZodTypeAny, {
4732
+ kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
4732
4733
  status: "pending" | "in_progress" | "completed" | "failed";
4733
4734
  title: string;
4734
- kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
4735
4735
  toolCallId: string;
4736
4736
  sessionUpdate: "tool_call";
4737
4737
  name?: string | undefined;
@@ -4788,6 +4788,7 @@ export declare const sessionEventSchema: z.ZodObject<{
4788
4788
  type: "resource_link";
4789
4789
  uri: string;
4790
4790
  name: string;
4791
+ kind?: "file" | "skill" | "agent" | undefined;
4791
4792
  annotations?: z.objectOutputType<{
4792
4793
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
4793
4794
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -4798,7 +4799,6 @@ export declare const sessionEventSchema: z.ZodObject<{
4798
4799
  title?: string | undefined;
4799
4800
  description?: string | undefined;
4800
4801
  size?: number | undefined;
4801
- kind?: "file" | "skill" | "agent" | undefined;
4802
4802
  };
4803
4803
  } | {
4804
4804
  path: string;
@@ -4887,9 +4887,9 @@ export declare const sessionEventSchema: z.ZodObject<{
4887
4887
  more?: number | undefined;
4888
4888
  } | undefined;
4889
4889
  }, {
4890
+ kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
4890
4891
  status: "pending" | "in_progress" | "completed" | "failed";
4891
4892
  title: string;
4892
- kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
4893
4893
  toolCallId: string;
4894
4894
  sessionUpdate: "tool_call";
4895
4895
  name?: string | undefined;
@@ -5342,6 +5342,7 @@ export declare const sessionEventSchema: z.ZodObject<{
5342
5342
  type: "resource_link";
5343
5343
  uri: string;
5344
5344
  name: string;
5345
+ kind?: "file" | "skill" | "agent" | undefined;
5345
5346
  annotations?: z.objectOutputType<{
5346
5347
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
5347
5348
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -5352,7 +5353,6 @@ export declare const sessionEventSchema: z.ZodObject<{
5352
5353
  title?: string | undefined;
5353
5354
  description?: string | undefined;
5354
5355
  size?: number | undefined;
5355
- kind?: "file" | "skill" | "agent" | undefined;
5356
5356
  }, z.ZodTypeDef, unknown>;
5357
5357
  }, "strip", z.ZodTypeAny, {
5358
5358
  type: "content";
@@ -5407,6 +5407,7 @@ export declare const sessionEventSchema: z.ZodObject<{
5407
5407
  type: "resource_link";
5408
5408
  uri: string;
5409
5409
  name: string;
5410
+ kind?: "file" | "skill" | "agent" | undefined;
5410
5411
  annotations?: z.objectOutputType<{
5411
5412
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
5412
5413
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -5417,7 +5418,6 @@ export declare const sessionEventSchema: z.ZodObject<{
5417
5418
  title?: string | undefined;
5418
5419
  description?: string | undefined;
5419
5420
  size?: number | undefined;
5420
- kind?: "file" | "skill" | "agent" | undefined;
5421
5421
  };
5422
5422
  }, {
5423
5423
  type: "content";
@@ -5474,10 +5474,10 @@ export declare const sessionEventSchema: z.ZodObject<{
5474
5474
  }, "strip", z.ZodTypeAny, {
5475
5475
  toolCallId: string;
5476
5476
  sessionUpdate: "tool_call_update";
5477
+ kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
5477
5478
  status?: "pending" | "in_progress" | "completed" | "failed" | undefined;
5478
5479
  name?: string | undefined;
5479
5480
  title?: string | undefined;
5480
- kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
5481
5481
  content?: ({
5482
5482
  type: "content";
5483
5483
  content: {
@@ -5531,6 +5531,7 @@ export declare const sessionEventSchema: z.ZodObject<{
5531
5531
  type: "resource_link";
5532
5532
  uri: string;
5533
5533
  name: string;
5534
+ kind?: "file" | "skill" | "agent" | undefined;
5534
5535
  annotations?: z.objectOutputType<{
5535
5536
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
5536
5537
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -5541,7 +5542,6 @@ export declare const sessionEventSchema: z.ZodObject<{
5541
5542
  title?: string | undefined;
5542
5543
  description?: string | undefined;
5543
5544
  size?: number | undefined;
5544
- kind?: "file" | "skill" | "agent" | undefined;
5545
5545
  };
5546
5546
  } | {
5547
5547
  path: string;
@@ -5635,10 +5635,10 @@ export declare const sessionEventSchema: z.ZodObject<{
5635
5635
  }, {
5636
5636
  toolCallId: string;
5637
5637
  sessionUpdate: "tool_call_update";
5638
+ kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
5638
5639
  status?: "pending" | "in_progress" | "completed" | "failed" | undefined;
5639
5640
  name?: string | undefined;
5640
5641
  title?: string | undefined;
5641
- kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
5642
5642
  content?: ({
5643
5643
  type: "content";
5644
5644
  content?: unknown;
@@ -6228,6 +6228,7 @@ export declare const sessionEventSchema: z.ZodObject<{
6228
6228
  type: "resource_link";
6229
6229
  uri: string;
6230
6230
  name: string;
6231
+ kind?: "file" | "skill" | "agent" | undefined;
6231
6232
  annotations?: z.objectOutputType<{
6232
6233
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
6233
6234
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -6238,7 +6239,6 @@ export declare const sessionEventSchema: z.ZodObject<{
6238
6239
  title?: string | undefined;
6239
6240
  description?: string | undefined;
6240
6241
  size?: number | undefined;
6241
- kind?: "file" | "skill" | "agent" | undefined;
6242
6242
  }, z.ZodTypeDef, unknown>;
6243
6243
  }, "strip", z.ZodTypeAny, {
6244
6244
  type: "content";
@@ -6293,6 +6293,7 @@ export declare const sessionEventSchema: z.ZodObject<{
6293
6293
  type: "resource_link";
6294
6294
  uri: string;
6295
6295
  name: string;
6296
+ kind?: "file" | "skill" | "agent" | undefined;
6296
6297
  annotations?: z.objectOutputType<{
6297
6298
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
6298
6299
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -6303,7 +6304,6 @@ export declare const sessionEventSchema: z.ZodObject<{
6303
6304
  title?: string | undefined;
6304
6305
  description?: string | undefined;
6305
6306
  size?: number | undefined;
6306
- kind?: "file" | "skill" | "agent" | undefined;
6307
6307
  };
6308
6308
  }, {
6309
6309
  type: "content";
@@ -6362,8 +6362,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6362
6362
  line?: number | undefined;
6363
6363
  }>, "many">>;
6364
6364
  }, "strip", z.ZodTypeAny, {
6365
- title?: string | undefined;
6366
6365
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
6366
+ title?: string | undefined;
6367
6367
  content?: ({
6368
6368
  type: "content";
6369
6369
  content: {
@@ -6417,6 +6417,7 @@ export declare const sessionEventSchema: z.ZodObject<{
6417
6417
  type: "resource_link";
6418
6418
  uri: string;
6419
6419
  name: string;
6420
+ kind?: "file" | "skill" | "agent" | undefined;
6420
6421
  annotations?: z.objectOutputType<{
6421
6422
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
6422
6423
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -6427,7 +6428,6 @@ export declare const sessionEventSchema: z.ZodObject<{
6427
6428
  title?: string | undefined;
6428
6429
  description?: string | undefined;
6429
6430
  size?: number | undefined;
6430
- kind?: "file" | "skill" | "agent" | undefined;
6431
6431
  };
6432
6432
  } | {
6433
6433
  path: string;
@@ -6450,8 +6450,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6450
6450
  line?: number | undefined;
6451
6451
  }[] | undefined;
6452
6452
  }, {
6453
- title?: string | undefined;
6454
6453
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
6454
+ title?: string | undefined;
6455
6455
  content?: ({
6456
6456
  type: "content";
6457
6457
  content?: unknown;
@@ -6492,12 +6492,12 @@ export declare const sessionEventSchema: z.ZodObject<{
6492
6492
  name: z.ZodString;
6493
6493
  kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
6494
6494
  }, "strip", z.ZodTypeAny, {
6495
- name: string;
6496
6495
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
6496
+ name: string;
6497
6497
  optionId: string;
6498
6498
  }, {
6499
- name: string;
6500
6499
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
6500
+ name: string;
6501
6501
  optionId: string;
6502
6502
  }>, "many">;
6503
6503
  /**
@@ -6559,8 +6559,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6559
6559
  secret: z.ZodOptional<z.ZodBoolean>;
6560
6560
  required: z.ZodOptional<z.ZodBoolean>;
6561
6561
  }, "strip", z.ZodTypeAny, {
6562
- text: string;
6563
6562
  kind: "text" | "choice" | "choices";
6563
+ text: string;
6564
6564
  id: string;
6565
6565
  options?: {
6566
6566
  value: string;
@@ -6584,8 +6584,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6584
6584
  secret?: boolean | undefined;
6585
6585
  required?: boolean | undefined;
6586
6586
  }, {
6587
- text: string;
6588
6587
  kind: "text" | "choice" | "choices";
6588
+ text: string;
6589
6589
  id: string;
6590
6590
  options?: {
6591
6591
  value: string;
@@ -6611,8 +6611,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6611
6611
  }>, "many">>;
6612
6612
  }, "strip", z.ZodTypeAny, {
6613
6613
  options: {
6614
- name: string;
6615
6614
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
6615
+ name: string;
6616
6616
  optionId: string;
6617
6617
  }[];
6618
6618
  title: string;
@@ -6620,8 +6620,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6620
6620
  requestId: string;
6621
6621
  toolCallId?: string | undefined;
6622
6622
  tool?: {
6623
- title?: string | undefined;
6624
6623
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
6624
+ title?: string | undefined;
6625
6625
  content?: ({
6626
6626
  type: "content";
6627
6627
  content: {
@@ -6675,6 +6675,7 @@ export declare const sessionEventSchema: z.ZodObject<{
6675
6675
  type: "resource_link";
6676
6676
  uri: string;
6677
6677
  name: string;
6678
+ kind?: "file" | "skill" | "agent" | undefined;
6678
6679
  annotations?: z.objectOutputType<{
6679
6680
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
6680
6681
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -6685,7 +6686,6 @@ export declare const sessionEventSchema: z.ZodObject<{
6685
6686
  title?: string | undefined;
6686
6687
  description?: string | undefined;
6687
6688
  size?: number | undefined;
6688
- kind?: "file" | "skill" | "agent" | undefined;
6689
6689
  };
6690
6690
  } | {
6691
6691
  path: string;
@@ -6710,8 +6710,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6710
6710
  } | undefined;
6711
6711
  detail?: string | undefined;
6712
6712
  questions?: {
6713
- text: string;
6714
6713
  kind: "text" | "choice" | "choices";
6714
+ text: string;
6715
6715
  id: string;
6716
6716
  options?: {
6717
6717
  value: string;
@@ -6742,8 +6742,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6742
6742
  } | undefined;
6743
6743
  }, {
6744
6744
  options: {
6745
- name: string;
6746
6745
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
6746
+ name: string;
6747
6747
  optionId: string;
6748
6748
  }[];
6749
6749
  title: string;
@@ -6751,8 +6751,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6751
6751
  requestId: string;
6752
6752
  toolCallId?: string | undefined;
6753
6753
  tool?: {
6754
- title?: string | undefined;
6755
6754
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
6755
+ title?: string | undefined;
6756
6756
  content?: ({
6757
6757
  type: "content";
6758
6758
  content?: unknown;
@@ -6779,8 +6779,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6779
6779
  } | undefined;
6780
6780
  detail?: string | undefined;
6781
6781
  questions?: {
6782
- text: string;
6783
6782
  kind: "text" | "choice" | "choices";
6783
+ text: string;
6784
6784
  id: string;
6785
6785
  options?: {
6786
6786
  value: string;
@@ -6886,8 +6886,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6886
6886
  canStop: z.ZodOptional<z.ZodBoolean>;
6887
6887
  lastSeq: z.ZodOptional<z.ZodNumber>;
6888
6888
  }, "strip", z.ZodTypeAny, {
6889
- title: string;
6890
6889
  kind: "shell" | "monitor";
6890
+ title: string;
6891
6891
  id: string;
6892
6892
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
6893
6893
  startedAt: number;
@@ -6900,8 +6900,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6900
6900
  canStop?: boolean | undefined;
6901
6901
  lastSeq?: number | undefined;
6902
6902
  }, {
6903
- title: string;
6904
6903
  kind: "shell" | "monitor";
6904
+ title: string;
6905
6905
  id: string;
6906
6906
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
6907
6907
  startedAt: number;
@@ -6916,8 +6916,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6916
6916
  }>;
6917
6917
  }, "strip", z.ZodTypeAny, {
6918
6918
  task: {
6919
- title: string;
6920
6919
  kind: "shell" | "monitor";
6920
+ title: string;
6921
6921
  id: string;
6922
6922
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
6923
6923
  startedAt: number;
@@ -6933,8 +6933,8 @@ export declare const sessionEventSchema: z.ZodObject<{
6933
6933
  sessionUpdate: "ls_task";
6934
6934
  }, {
6935
6935
  task: {
6936
- title: string;
6937
6936
  kind: "shell" | "monitor";
6937
+ title: string;
6938
6938
  id: string;
6939
6939
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
6940
6940
  startedAt: number;
@@ -7020,6 +7020,7 @@ export declare const sessionEventSchema: z.ZodObject<{
7020
7020
  type: "resource_link";
7021
7021
  uri: string;
7022
7022
  name: string;
7023
+ kind?: "file" | "skill" | "agent" | undefined;
7023
7024
  annotations?: z.objectOutputType<{
7024
7025
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
7025
7026
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -7030,7 +7031,6 @@ export declare const sessionEventSchema: z.ZodObject<{
7030
7031
  title?: string | undefined;
7031
7032
  description?: string | undefined;
7032
7033
  size?: number | undefined;
7033
- kind?: "file" | "skill" | "agent" | undefined;
7034
7034
  })[] | undefined;
7035
7035
  parentToolCallId?: string | undefined;
7036
7036
  append?: boolean | undefined;
@@ -7088,6 +7088,7 @@ export declare const sessionEventSchema: z.ZodObject<{
7088
7088
  type: "resource_link";
7089
7089
  uri: string;
7090
7090
  name: string;
7091
+ kind?: "file" | "skill" | "agent" | undefined;
7091
7092
  annotations?: z.objectOutputType<{
7092
7093
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
7093
7094
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -7098,7 +7099,6 @@ export declare const sessionEventSchema: z.ZodObject<{
7098
7099
  title?: string | undefined;
7099
7100
  description?: string | undefined;
7100
7101
  size?: number | undefined;
7101
- kind?: "file" | "skill" | "agent" | undefined;
7102
7102
  };
7103
7103
  sessionUpdate: "user_message_chunk";
7104
7104
  messageId?: string | undefined;
@@ -7154,6 +7154,7 @@ export declare const sessionEventSchema: z.ZodObject<{
7154
7154
  type: "resource_link";
7155
7155
  uri: string;
7156
7156
  name: string;
7157
+ kind?: "file" | "skill" | "agent" | undefined;
7157
7158
  annotations?: z.objectOutputType<{
7158
7159
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
7159
7160
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -7164,7 +7165,6 @@ export declare const sessionEventSchema: z.ZodObject<{
7164
7165
  title?: string | undefined;
7165
7166
  description?: string | undefined;
7166
7167
  size?: number | undefined;
7167
- kind?: "file" | "skill" | "agent" | undefined;
7168
7168
  };
7169
7169
  sessionUpdate: "agent_message_chunk";
7170
7170
  messageId: string;
@@ -7221,6 +7221,7 @@ export declare const sessionEventSchema: z.ZodObject<{
7221
7221
  type: "resource_link";
7222
7222
  uri: string;
7223
7223
  name: string;
7224
+ kind?: "file" | "skill" | "agent" | undefined;
7224
7225
  annotations?: z.objectOutputType<{
7225
7226
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
7226
7227
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -7231,15 +7232,14 @@ export declare const sessionEventSchema: z.ZodObject<{
7231
7232
  title?: string | undefined;
7232
7233
  description?: string | undefined;
7233
7234
  size?: number | undefined;
7234
- kind?: "file" | "skill" | "agent" | undefined;
7235
7235
  };
7236
7236
  sessionUpdate: "agent_thought_chunk";
7237
7237
  messageId: string;
7238
7238
  parentToolCallId?: string | undefined;
7239
7239
  } | {
7240
+ kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
7240
7241
  status: "pending" | "in_progress" | "completed" | "failed";
7241
7242
  title: string;
7242
- kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
7243
7243
  toolCallId: string;
7244
7244
  sessionUpdate: "tool_call";
7245
7245
  name?: string | undefined;
@@ -7296,6 +7296,7 @@ export declare const sessionEventSchema: z.ZodObject<{
7296
7296
  type: "resource_link";
7297
7297
  uri: string;
7298
7298
  name: string;
7299
+ kind?: "file" | "skill" | "agent" | undefined;
7299
7300
  annotations?: z.objectOutputType<{
7300
7301
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
7301
7302
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -7306,7 +7307,6 @@ export declare const sessionEventSchema: z.ZodObject<{
7306
7307
  title?: string | undefined;
7307
7308
  description?: string | undefined;
7308
7309
  size?: number | undefined;
7309
- kind?: "file" | "skill" | "agent" | undefined;
7310
7310
  };
7311
7311
  } | {
7312
7312
  path: string;
@@ -7397,10 +7397,10 @@ export declare const sessionEventSchema: z.ZodObject<{
7397
7397
  } | {
7398
7398
  toolCallId: string;
7399
7399
  sessionUpdate: "tool_call_update";
7400
+ kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
7400
7401
  status?: "pending" | "in_progress" | "completed" | "failed" | undefined;
7401
7402
  name?: string | undefined;
7402
7403
  title?: string | undefined;
7403
- kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
7404
7404
  content?: ({
7405
7405
  type: "content";
7406
7406
  content: {
@@ -7454,6 +7454,7 @@ export declare const sessionEventSchema: z.ZodObject<{
7454
7454
  type: "resource_link";
7455
7455
  uri: string;
7456
7456
  name: string;
7457
+ kind?: "file" | "skill" | "agent" | undefined;
7457
7458
  annotations?: z.objectOutputType<{
7458
7459
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
7459
7460
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -7464,7 +7465,6 @@ export declare const sessionEventSchema: z.ZodObject<{
7464
7465
  title?: string | undefined;
7465
7466
  description?: string | undefined;
7466
7467
  size?: number | undefined;
7467
- kind?: "file" | "skill" | "agent" | undefined;
7468
7468
  };
7469
7469
  } | {
7470
7470
  path: string;
@@ -7661,8 +7661,8 @@ export declare const sessionEventSchema: z.ZodObject<{
7661
7661
  stopReason?: "unknown" | "end_turn" | "cancelled" | "error" | "max_tokens" | "max_turn_requests" | "refusal" | undefined;
7662
7662
  } | {
7663
7663
  options: {
7664
- name: string;
7665
7664
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
7665
+ name: string;
7666
7666
  optionId: string;
7667
7667
  }[];
7668
7668
  title: string;
@@ -7670,8 +7670,8 @@ export declare const sessionEventSchema: z.ZodObject<{
7670
7670
  requestId: string;
7671
7671
  toolCallId?: string | undefined;
7672
7672
  tool?: {
7673
- title?: string | undefined;
7674
7673
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
7674
+ title?: string | undefined;
7675
7675
  content?: ({
7676
7676
  type: "content";
7677
7677
  content: {
@@ -7725,6 +7725,7 @@ export declare const sessionEventSchema: z.ZodObject<{
7725
7725
  type: "resource_link";
7726
7726
  uri: string;
7727
7727
  name: string;
7728
+ kind?: "file" | "skill" | "agent" | undefined;
7728
7729
  annotations?: z.objectOutputType<{
7729
7730
  audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
7730
7731
  priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
@@ -7735,7 +7736,6 @@ export declare const sessionEventSchema: z.ZodObject<{
7735
7736
  title?: string | undefined;
7736
7737
  description?: string | undefined;
7737
7738
  size?: number | undefined;
7738
- kind?: "file" | "skill" | "agent" | undefined;
7739
7739
  };
7740
7740
  } | {
7741
7741
  path: string;
@@ -7760,8 +7760,8 @@ export declare const sessionEventSchema: z.ZodObject<{
7760
7760
  } | undefined;
7761
7761
  detail?: string | undefined;
7762
7762
  questions?: {
7763
- text: string;
7764
7763
  kind: "text" | "choice" | "choices";
7764
+ text: string;
7765
7765
  id: string;
7766
7766
  options?: {
7767
7767
  value: string;
@@ -7809,8 +7809,8 @@ export declare const sessionEventSchema: z.ZodObject<{
7809
7809
  turnActive?: boolean | undefined;
7810
7810
  } | {
7811
7811
  task: {
7812
- title: string;
7813
7812
  kind: "shell" | "monitor";
7813
+ title: string;
7814
7814
  id: string;
7815
7815
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
7816
7816
  startedAt: number;
@@ -7858,9 +7858,9 @@ export declare const sessionEventSchema: z.ZodObject<{
7858
7858
  content?: unknown;
7859
7859
  parentToolCallId?: string | undefined;
7860
7860
  } | {
7861
+ kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
7861
7862
  status: "pending" | "in_progress" | "completed" | "failed";
7862
7863
  title: string;
7863
- kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
7864
7864
  toolCallId: string;
7865
7865
  sessionUpdate: "tool_call";
7866
7866
  name?: string | undefined;
@@ -7956,10 +7956,10 @@ export declare const sessionEventSchema: z.ZodObject<{
7956
7956
  } | {
7957
7957
  toolCallId: string;
7958
7958
  sessionUpdate: "tool_call_update";
7959
+ kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
7959
7960
  status?: "pending" | "in_progress" | "completed" | "failed" | undefined;
7960
7961
  name?: string | undefined;
7961
7962
  title?: string | undefined;
7962
- kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
7963
7963
  content?: ({
7964
7964
  type: "content";
7965
7965
  content?: unknown;
@@ -8158,8 +8158,8 @@ export declare const sessionEventSchema: z.ZodObject<{
8158
8158
  stopReason?: "unknown" | "end_turn" | "cancelled" | "error" | "max_tokens" | "max_turn_requests" | "refusal" | undefined;
8159
8159
  } | {
8160
8160
  options: {
8161
- name: string;
8162
8161
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
8162
+ name: string;
8163
8163
  optionId: string;
8164
8164
  }[];
8165
8165
  title: string;
@@ -8167,8 +8167,8 @@ export declare const sessionEventSchema: z.ZodObject<{
8167
8167
  requestId: string;
8168
8168
  toolCallId?: string | undefined;
8169
8169
  tool?: {
8170
- title?: string | undefined;
8171
8170
  kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
8171
+ title?: string | undefined;
8172
8172
  content?: ({
8173
8173
  type: "content";
8174
8174
  content?: unknown;
@@ -8195,8 +8195,8 @@ export declare const sessionEventSchema: z.ZodObject<{
8195
8195
  } | undefined;
8196
8196
  detail?: string | undefined;
8197
8197
  questions?: {
8198
- text: string;
8199
8198
  kind: "text" | "choice" | "choices";
8199
+ text: string;
8200
8200
  id: string;
8201
8201
  options?: {
8202
8202
  value: string;
@@ -8244,8 +8244,8 @@ export declare const sessionEventSchema: z.ZodObject<{
8244
8244
  turnActive?: boolean | undefined;
8245
8245
  } | {
8246
8246
  task: {
8247
- title: string;
8248
8247
  kind: "shell" | "monitor";
8248
+ title: string;
8249
8249
  id: string;
8250
8250
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
8251
8251
  startedAt: number;