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.
- package/dist/cli/src/auth.js +76 -33
- package/dist/cli/src/auth.js.map +1 -1
- package/dist/cli/src/commands/desktop.d.ts +6 -6
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- package/dist/host/src/drivers/claude/tasks.d.ts +1 -1
- package/dist/host/src/drivers/claude/transcript.d.ts +13 -13
- package/dist/host/src/hub.d.ts +9 -9
- package/dist/wire/src/content.d.ts +4 -4
- package/dist/wire/src/editor.d.ts +28 -28
- package/dist/wire/src/live-activity.d.ts +10 -10
- package/dist/wire/src/model.d.ts +59 -59
- package/dist/wire/src/rpc.d.ts +543 -543
- package/dist/wire/src/updates.d.ts +95 -95
- package/dist/wire/src/watch.d.ts +22 -22
- package/package.json +3 -3
- package/src/auth.ts +84 -38
package/dist/wire/src/model.d.ts
CHANGED
|
@@ -66,11 +66,11 @@ export declare const agentAuthSchema: z.ZodObject<{
|
|
|
66
66
|
/** What the user should do when state is "missing". */
|
|
67
67
|
hint: z.ZodOptional<z.ZodString>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
state: "
|
|
69
|
+
state: "ok" | "unknown" | "missing";
|
|
70
70
|
method?: string | undefined;
|
|
71
71
|
hint?: string | undefined;
|
|
72
72
|
}, {
|
|
73
|
-
state: "
|
|
73
|
+
state: "ok" | "unknown" | "missing";
|
|
74
74
|
method?: string | undefined;
|
|
75
75
|
hint?: string | undefined;
|
|
76
76
|
}>;
|
|
@@ -90,11 +90,11 @@ export declare const agentInfoSchema: z.ZodObject<{
|
|
|
90
90
|
/** What the user should do when state is "missing". */
|
|
91
91
|
hint: z.ZodOptional<z.ZodString>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
state: "
|
|
93
|
+
state: "ok" | "unknown" | "missing";
|
|
94
94
|
method?: string | undefined;
|
|
95
95
|
hint?: string | undefined;
|
|
96
96
|
}, {
|
|
97
|
-
state: "
|
|
97
|
+
state: "ok" | "unknown" | "missing";
|
|
98
98
|
method?: string | undefined;
|
|
99
99
|
hint?: string | undefined;
|
|
100
100
|
}>>;
|
|
@@ -160,7 +160,7 @@ export declare const agentInfoSchema: z.ZodObject<{
|
|
|
160
160
|
version?: string | undefined;
|
|
161
161
|
problem?: string | undefined;
|
|
162
162
|
auth?: {
|
|
163
|
-
state: "
|
|
163
|
+
state: "ok" | "unknown" | "missing";
|
|
164
164
|
method?: string | undefined;
|
|
165
165
|
hint?: string | undefined;
|
|
166
166
|
} | undefined;
|
|
@@ -184,7 +184,7 @@ export declare const agentInfoSchema: z.ZodObject<{
|
|
|
184
184
|
version?: string | undefined;
|
|
185
185
|
problem?: string | undefined;
|
|
186
186
|
auth?: {
|
|
187
|
-
state: "
|
|
187
|
+
state: "ok" | "unknown" | "missing";
|
|
188
188
|
method?: string | undefined;
|
|
189
189
|
hint?: string | undefined;
|
|
190
190
|
} | undefined;
|
|
@@ -205,12 +205,12 @@ export declare const permissionOptionSchema: z.ZodObject<{
|
|
|
205
205
|
name: z.ZodString;
|
|
206
206
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
name: string;
|
|
209
208
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
209
|
+
name: string;
|
|
210
210
|
optionId: string;
|
|
211
211
|
}, {
|
|
212
|
-
name: string;
|
|
213
212
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
213
|
+
name: string;
|
|
214
214
|
optionId: string;
|
|
215
215
|
}>;
|
|
216
216
|
export type PermissionOption = z.infer<typeof permissionOptionSchema>;
|
|
@@ -293,8 +293,8 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
293
293
|
secret: z.ZodOptional<z.ZodBoolean>;
|
|
294
294
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
text: string;
|
|
297
296
|
kind: "text" | "choice" | "choices";
|
|
297
|
+
text: string;
|
|
298
298
|
id: string;
|
|
299
299
|
options?: {
|
|
300
300
|
value: string;
|
|
@@ -318,8 +318,8 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
318
318
|
secret?: boolean | undefined;
|
|
319
319
|
required?: boolean | undefined;
|
|
320
320
|
}, {
|
|
321
|
-
text: string;
|
|
322
321
|
kind: "text" | "choice" | "choices";
|
|
322
|
+
text: string;
|
|
323
323
|
id: string;
|
|
324
324
|
options?: {
|
|
325
325
|
value: string;
|
|
@@ -423,6 +423,7 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
423
423
|
type: "resource_link";
|
|
424
424
|
uri: string;
|
|
425
425
|
name: string;
|
|
426
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
426
427
|
annotations?: z.objectOutputType<{
|
|
427
428
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
428
429
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -433,7 +434,6 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
433
434
|
title?: string | undefined;
|
|
434
435
|
description?: string | undefined;
|
|
435
436
|
size?: number | undefined;
|
|
436
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
437
437
|
}, z.ZodTypeDef, unknown>;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
439
|
type: "content";
|
|
@@ -488,6 +488,7 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
488
488
|
type: "resource_link";
|
|
489
489
|
uri: string;
|
|
490
490
|
name: string;
|
|
491
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
491
492
|
annotations?: z.objectOutputType<{
|
|
492
493
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
493
494
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -498,7 +499,6 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
498
499
|
title?: string | undefined;
|
|
499
500
|
description?: string | undefined;
|
|
500
501
|
size?: number | undefined;
|
|
501
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
502
502
|
};
|
|
503
503
|
}, {
|
|
504
504
|
type: "content";
|
|
@@ -557,8 +557,8 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
557
557
|
line?: number | undefined;
|
|
558
558
|
}>, "many">>;
|
|
559
559
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
title?: string | undefined;
|
|
561
560
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
561
|
+
title?: string | undefined;
|
|
562
562
|
content?: ({
|
|
563
563
|
type: "content";
|
|
564
564
|
content: {
|
|
@@ -612,6 +612,7 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
612
612
|
type: "resource_link";
|
|
613
613
|
uri: string;
|
|
614
614
|
name: string;
|
|
615
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
615
616
|
annotations?: z.objectOutputType<{
|
|
616
617
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
617
618
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -622,7 +623,6 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
622
623
|
title?: string | undefined;
|
|
623
624
|
description?: string | undefined;
|
|
624
625
|
size?: number | undefined;
|
|
625
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
626
626
|
};
|
|
627
627
|
} | {
|
|
628
628
|
path: string;
|
|
@@ -645,8 +645,8 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
645
645
|
line?: number | undefined;
|
|
646
646
|
}[] | undefined;
|
|
647
647
|
}, {
|
|
648
|
-
title?: string | undefined;
|
|
649
648
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
649
|
+
title?: string | undefined;
|
|
650
650
|
content?: ({
|
|
651
651
|
type: "content";
|
|
652
652
|
content?: unknown;
|
|
@@ -686,12 +686,12 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
686
686
|
name: z.ZodString;
|
|
687
687
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
-
name: string;
|
|
690
689
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
690
|
+
name: string;
|
|
691
691
|
optionId: string;
|
|
692
692
|
}, {
|
|
693
|
-
name: string;
|
|
694
693
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
694
|
+
name: string;
|
|
695
695
|
optionId: string;
|
|
696
696
|
}>, "many">;
|
|
697
697
|
/** Set when this is a question to answer (`sessions.answer`) rather than a permission to give. */
|
|
@@ -753,8 +753,8 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
753
753
|
secret: z.ZodOptional<z.ZodBoolean>;
|
|
754
754
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
755
755
|
}, "strip", z.ZodTypeAny, {
|
|
756
|
-
text: string;
|
|
757
756
|
kind: "text" | "choice" | "choices";
|
|
757
|
+
text: string;
|
|
758
758
|
id: string;
|
|
759
759
|
options?: {
|
|
760
760
|
value: string;
|
|
@@ -778,8 +778,8 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
778
778
|
secret?: boolean | undefined;
|
|
779
779
|
required?: boolean | undefined;
|
|
780
780
|
}, {
|
|
781
|
-
text: string;
|
|
782
781
|
kind: "text" | "choice" | "choices";
|
|
782
|
+
text: string;
|
|
783
783
|
id: string;
|
|
784
784
|
options?: {
|
|
785
785
|
value: string;
|
|
@@ -805,16 +805,16 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
805
805
|
}>, "many">>;
|
|
806
806
|
}, "strip", z.ZodTypeAny, {
|
|
807
807
|
options: {
|
|
808
|
-
name: string;
|
|
809
808
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
809
|
+
name: string;
|
|
810
810
|
optionId: string;
|
|
811
811
|
}[];
|
|
812
812
|
title: string;
|
|
813
813
|
requestId: string;
|
|
814
814
|
toolCallId?: string | undefined;
|
|
815
815
|
tool?: {
|
|
816
|
-
title?: string | undefined;
|
|
817
816
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
817
|
+
title?: string | undefined;
|
|
818
818
|
content?: ({
|
|
819
819
|
type: "content";
|
|
820
820
|
content: {
|
|
@@ -868,6 +868,7 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
868
868
|
type: "resource_link";
|
|
869
869
|
uri: string;
|
|
870
870
|
name: string;
|
|
871
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
871
872
|
annotations?: z.objectOutputType<{
|
|
872
873
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
873
874
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -878,7 +879,6 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
878
879
|
title?: string | undefined;
|
|
879
880
|
description?: string | undefined;
|
|
880
881
|
size?: number | undefined;
|
|
881
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
882
882
|
};
|
|
883
883
|
} | {
|
|
884
884
|
path: string;
|
|
@@ -903,8 +903,8 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
903
903
|
} | undefined;
|
|
904
904
|
detail?: string | undefined;
|
|
905
905
|
questions?: {
|
|
906
|
-
text: string;
|
|
907
906
|
kind: "text" | "choice" | "choices";
|
|
907
|
+
text: string;
|
|
908
908
|
id: string;
|
|
909
909
|
options?: {
|
|
910
910
|
value: string;
|
|
@@ -935,16 +935,16 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
935
935
|
} | undefined;
|
|
936
936
|
}, {
|
|
937
937
|
options: {
|
|
938
|
-
name: string;
|
|
939
938
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
939
|
+
name: string;
|
|
940
940
|
optionId: string;
|
|
941
941
|
}[];
|
|
942
942
|
title: string;
|
|
943
943
|
requestId: string;
|
|
944
944
|
toolCallId?: string | undefined;
|
|
945
945
|
tool?: {
|
|
946
|
-
title?: string | undefined;
|
|
947
946
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
947
|
+
title?: string | undefined;
|
|
948
948
|
content?: ({
|
|
949
949
|
type: "content";
|
|
950
950
|
content?: unknown;
|
|
@@ -971,8 +971,8 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
971
971
|
} | undefined;
|
|
972
972
|
detail?: string | undefined;
|
|
973
973
|
questions?: {
|
|
974
|
-
text: string;
|
|
975
974
|
kind: "text" | "choice" | "choices";
|
|
975
|
+
text: string;
|
|
976
976
|
id: string;
|
|
977
977
|
options?: {
|
|
978
978
|
value: string;
|
|
@@ -1278,8 +1278,8 @@ export declare const backgroundTaskSchema: z.ZodObject<{
|
|
|
1278
1278
|
/** Orders list snapshots against events arriving while the request is in flight. */
|
|
1279
1279
|
lastSeq: z.ZodOptional<z.ZodNumber>;
|
|
1280
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1281
|
-
title: string;
|
|
1282
1281
|
kind: "shell" | "monitor";
|
|
1282
|
+
title: string;
|
|
1283
1283
|
id: string;
|
|
1284
1284
|
state: "unknown" | "completed" | "failed" | "running" | "stopped";
|
|
1285
1285
|
startedAt: number;
|
|
@@ -1292,8 +1292,8 @@ export declare const backgroundTaskSchema: z.ZodObject<{
|
|
|
1292
1292
|
canStop?: boolean | undefined;
|
|
1293
1293
|
lastSeq?: number | undefined;
|
|
1294
1294
|
}, {
|
|
1295
|
-
title: string;
|
|
1296
1295
|
kind: "shell" | "monitor";
|
|
1296
|
+
title: string;
|
|
1297
1297
|
id: string;
|
|
1298
1298
|
state: "unknown" | "completed" | "failed" | "running" | "stopped";
|
|
1299
1299
|
startedAt: number;
|
|
@@ -1399,6 +1399,7 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1399
1399
|
type: "resource_link";
|
|
1400
1400
|
uri: string;
|
|
1401
1401
|
name: string;
|
|
1402
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
1402
1403
|
annotations?: z.objectOutputType<{
|
|
1403
1404
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
1404
1405
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -1409,7 +1410,6 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1409
1410
|
title?: string | undefined;
|
|
1410
1411
|
description?: string | undefined;
|
|
1411
1412
|
size?: number | undefined;
|
|
1412
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
1413
1413
|
}, z.ZodTypeDef, unknown>;
|
|
1414
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1415
1415
|
type: "content";
|
|
@@ -1464,6 +1464,7 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1464
1464
|
type: "resource_link";
|
|
1465
1465
|
uri: string;
|
|
1466
1466
|
name: string;
|
|
1467
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
1467
1468
|
annotations?: z.objectOutputType<{
|
|
1468
1469
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
1469
1470
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -1474,7 +1475,6 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1474
1475
|
title?: string | undefined;
|
|
1475
1476
|
description?: string | undefined;
|
|
1476
1477
|
size?: number | undefined;
|
|
1477
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
1478
1478
|
};
|
|
1479
1479
|
}, {
|
|
1480
1480
|
type: "content";
|
|
@@ -1533,8 +1533,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1533
1533
|
line?: number | undefined;
|
|
1534
1534
|
}>, "many">>;
|
|
1535
1535
|
}, "strip", z.ZodTypeAny, {
|
|
1536
|
-
title?: string | undefined;
|
|
1537
1536
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
1537
|
+
title?: string | undefined;
|
|
1538
1538
|
content?: ({
|
|
1539
1539
|
type: "content";
|
|
1540
1540
|
content: {
|
|
@@ -1588,6 +1588,7 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1588
1588
|
type: "resource_link";
|
|
1589
1589
|
uri: string;
|
|
1590
1590
|
name: string;
|
|
1591
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
1591
1592
|
annotations?: z.objectOutputType<{
|
|
1592
1593
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
1593
1594
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -1598,7 +1599,6 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1598
1599
|
title?: string | undefined;
|
|
1599
1600
|
description?: string | undefined;
|
|
1600
1601
|
size?: number | undefined;
|
|
1601
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
1602
1602
|
};
|
|
1603
1603
|
} | {
|
|
1604
1604
|
path: string;
|
|
@@ -1621,8 +1621,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1621
1621
|
line?: number | undefined;
|
|
1622
1622
|
}[] | undefined;
|
|
1623
1623
|
}, {
|
|
1624
|
-
title?: string | undefined;
|
|
1625
1624
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
1625
|
+
title?: string | undefined;
|
|
1626
1626
|
content?: ({
|
|
1627
1627
|
type: "content";
|
|
1628
1628
|
content?: unknown;
|
|
@@ -1662,12 +1662,12 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1662
1662
|
name: z.ZodString;
|
|
1663
1663
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
1664
1664
|
}, "strip", z.ZodTypeAny, {
|
|
1665
|
-
name: string;
|
|
1666
1665
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1666
|
+
name: string;
|
|
1667
1667
|
optionId: string;
|
|
1668
1668
|
}, {
|
|
1669
|
-
name: string;
|
|
1670
1669
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1670
|
+
name: string;
|
|
1671
1671
|
optionId: string;
|
|
1672
1672
|
}>, "many">;
|
|
1673
1673
|
/** Set when this is a question to answer (`sessions.answer`) rather than a permission to give. */
|
|
@@ -1729,8 +1729,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1729
1729
|
secret: z.ZodOptional<z.ZodBoolean>;
|
|
1730
1730
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1731
1731
|
}, "strip", z.ZodTypeAny, {
|
|
1732
|
-
text: string;
|
|
1733
1732
|
kind: "text" | "choice" | "choices";
|
|
1733
|
+
text: string;
|
|
1734
1734
|
id: string;
|
|
1735
1735
|
options?: {
|
|
1736
1736
|
value: string;
|
|
@@ -1754,8 +1754,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1754
1754
|
secret?: boolean | undefined;
|
|
1755
1755
|
required?: boolean | undefined;
|
|
1756
1756
|
}, {
|
|
1757
|
-
text: string;
|
|
1758
1757
|
kind: "text" | "choice" | "choices";
|
|
1758
|
+
text: string;
|
|
1759
1759
|
id: string;
|
|
1760
1760
|
options?: {
|
|
1761
1761
|
value: string;
|
|
@@ -1781,16 +1781,16 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1781
1781
|
}>, "many">>;
|
|
1782
1782
|
}, "strip", z.ZodTypeAny, {
|
|
1783
1783
|
options: {
|
|
1784
|
-
name: string;
|
|
1785
1784
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1785
|
+
name: string;
|
|
1786
1786
|
optionId: string;
|
|
1787
1787
|
}[];
|
|
1788
1788
|
title: string;
|
|
1789
1789
|
requestId: string;
|
|
1790
1790
|
toolCallId?: string | undefined;
|
|
1791
1791
|
tool?: {
|
|
1792
|
-
title?: string | undefined;
|
|
1793
1792
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
1793
|
+
title?: string | undefined;
|
|
1794
1794
|
content?: ({
|
|
1795
1795
|
type: "content";
|
|
1796
1796
|
content: {
|
|
@@ -1844,6 +1844,7 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1844
1844
|
type: "resource_link";
|
|
1845
1845
|
uri: string;
|
|
1846
1846
|
name: string;
|
|
1847
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
1847
1848
|
annotations?: z.objectOutputType<{
|
|
1848
1849
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
1849
1850
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -1854,7 +1855,6 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1854
1855
|
title?: string | undefined;
|
|
1855
1856
|
description?: string | undefined;
|
|
1856
1857
|
size?: number | undefined;
|
|
1857
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
1858
1858
|
};
|
|
1859
1859
|
} | {
|
|
1860
1860
|
path: string;
|
|
@@ -1879,8 +1879,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1879
1879
|
} | undefined;
|
|
1880
1880
|
detail?: string | undefined;
|
|
1881
1881
|
questions?: {
|
|
1882
|
-
text: string;
|
|
1883
1882
|
kind: "text" | "choice" | "choices";
|
|
1883
|
+
text: string;
|
|
1884
1884
|
id: string;
|
|
1885
1885
|
options?: {
|
|
1886
1886
|
value: string;
|
|
@@ -1911,16 +1911,16 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1911
1911
|
} | undefined;
|
|
1912
1912
|
}, {
|
|
1913
1913
|
options: {
|
|
1914
|
-
name: string;
|
|
1915
1914
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
1915
|
+
name: string;
|
|
1916
1916
|
optionId: string;
|
|
1917
1917
|
}[];
|
|
1918
1918
|
title: string;
|
|
1919
1919
|
requestId: string;
|
|
1920
1920
|
toolCallId?: string | undefined;
|
|
1921
1921
|
tool?: {
|
|
1922
|
-
title?: string | undefined;
|
|
1923
1922
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
1923
|
+
title?: string | undefined;
|
|
1924
1924
|
content?: ({
|
|
1925
1925
|
type: "content";
|
|
1926
1926
|
content?: unknown;
|
|
@@ -1947,8 +1947,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
1947
1947
|
} | undefined;
|
|
1948
1948
|
detail?: string | undefined;
|
|
1949
1949
|
questions?: {
|
|
1950
|
-
text: string;
|
|
1951
1950
|
kind: "text" | "choice" | "choices";
|
|
1951
|
+
text: string;
|
|
1952
1952
|
id: string;
|
|
1953
1953
|
options?: {
|
|
1954
1954
|
value: string;
|
|
@@ -2070,16 +2070,16 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
2070
2070
|
} | undefined;
|
|
2071
2071
|
permission?: {
|
|
2072
2072
|
options: {
|
|
2073
|
-
name: string;
|
|
2074
2073
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
2074
|
+
name: string;
|
|
2075
2075
|
optionId: string;
|
|
2076
2076
|
}[];
|
|
2077
2077
|
title: string;
|
|
2078
2078
|
requestId: string;
|
|
2079
2079
|
toolCallId?: string | undefined;
|
|
2080
2080
|
tool?: {
|
|
2081
|
-
title?: string | undefined;
|
|
2082
2081
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
2082
|
+
title?: string | undefined;
|
|
2083
2083
|
content?: ({
|
|
2084
2084
|
type: "content";
|
|
2085
2085
|
content: {
|
|
@@ -2133,6 +2133,7 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
2133
2133
|
type: "resource_link";
|
|
2134
2134
|
uri: string;
|
|
2135
2135
|
name: string;
|
|
2136
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
2136
2137
|
annotations?: z.objectOutputType<{
|
|
2137
2138
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
2138
2139
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -2143,7 +2144,6 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
2143
2144
|
title?: string | undefined;
|
|
2144
2145
|
description?: string | undefined;
|
|
2145
2146
|
size?: number | undefined;
|
|
2146
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
2147
2147
|
};
|
|
2148
2148
|
} | {
|
|
2149
2149
|
path: string;
|
|
@@ -2168,8 +2168,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
2168
2168
|
} | undefined;
|
|
2169
2169
|
detail?: string | undefined;
|
|
2170
2170
|
questions?: {
|
|
2171
|
-
text: string;
|
|
2172
2171
|
kind: "text" | "choice" | "choices";
|
|
2172
|
+
text: string;
|
|
2173
2173
|
id: string;
|
|
2174
2174
|
options?: {
|
|
2175
2175
|
value: string;
|
|
@@ -2243,16 +2243,16 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
2243
2243
|
} | undefined;
|
|
2244
2244
|
permission?: {
|
|
2245
2245
|
options: {
|
|
2246
|
-
name: string;
|
|
2247
2246
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
2247
|
+
name: string;
|
|
2248
2248
|
optionId: string;
|
|
2249
2249
|
}[];
|
|
2250
2250
|
title: string;
|
|
2251
2251
|
requestId: string;
|
|
2252
2252
|
toolCallId?: string | undefined;
|
|
2253
2253
|
tool?: {
|
|
2254
|
-
title?: string | undefined;
|
|
2255
2254
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
2255
|
+
title?: string | undefined;
|
|
2256
2256
|
content?: ({
|
|
2257
2257
|
type: "content";
|
|
2258
2258
|
content?: unknown;
|
|
@@ -2279,8 +2279,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
2279
2279
|
} | undefined;
|
|
2280
2280
|
detail?: string | undefined;
|
|
2281
2281
|
questions?: {
|
|
2282
|
-
text: string;
|
|
2283
2282
|
kind: "text" | "choice" | "choices";
|
|
2283
|
+
text: string;
|
|
2284
2284
|
id: string;
|
|
2285
2285
|
options?: {
|
|
2286
2286
|
value: string;
|
|
@@ -2436,11 +2436,11 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
2436
2436
|
/** What the user should do when state is "missing". */
|
|
2437
2437
|
hint: z.ZodOptional<z.ZodString>;
|
|
2438
2438
|
}, "strip", z.ZodTypeAny, {
|
|
2439
|
-
state: "
|
|
2439
|
+
state: "ok" | "unknown" | "missing";
|
|
2440
2440
|
method?: string | undefined;
|
|
2441
2441
|
hint?: string | undefined;
|
|
2442
2442
|
}, {
|
|
2443
|
-
state: "
|
|
2443
|
+
state: "ok" | "unknown" | "missing";
|
|
2444
2444
|
method?: string | undefined;
|
|
2445
2445
|
hint?: string | undefined;
|
|
2446
2446
|
}>>;
|
|
@@ -2506,7 +2506,7 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
2506
2506
|
version?: string | undefined;
|
|
2507
2507
|
problem?: string | undefined;
|
|
2508
2508
|
auth?: {
|
|
2509
|
-
state: "
|
|
2509
|
+
state: "ok" | "unknown" | "missing";
|
|
2510
2510
|
method?: string | undefined;
|
|
2511
2511
|
hint?: string | undefined;
|
|
2512
2512
|
} | undefined;
|
|
@@ -2530,7 +2530,7 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
2530
2530
|
version?: string | undefined;
|
|
2531
2531
|
problem?: string | undefined;
|
|
2532
2532
|
auth?: {
|
|
2533
|
-
state: "
|
|
2533
|
+
state: "ok" | "unknown" | "missing";
|
|
2534
2534
|
method?: string | undefined;
|
|
2535
2535
|
hint?: string | undefined;
|
|
2536
2536
|
} | undefined;
|
|
@@ -2569,7 +2569,7 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
2569
2569
|
version?: string | undefined;
|
|
2570
2570
|
problem?: string | undefined;
|
|
2571
2571
|
auth?: {
|
|
2572
|
-
state: "
|
|
2572
|
+
state: "ok" | "unknown" | "missing";
|
|
2573
2573
|
method?: string | undefined;
|
|
2574
2574
|
hint?: string | undefined;
|
|
2575
2575
|
} | undefined;
|
|
@@ -2604,7 +2604,7 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
2604
2604
|
version?: string | undefined;
|
|
2605
2605
|
problem?: string | undefined;
|
|
2606
2606
|
auth?: {
|
|
2607
|
-
state: "
|
|
2607
|
+
state: "ok" | "unknown" | "missing";
|
|
2608
2608
|
method?: string | undefined;
|
|
2609
2609
|
hint?: string | undefined;
|
|
2610
2610
|
} | undefined;
|
|
@@ -2740,7 +2740,7 @@ export declare const gatewayStatusSchema: z.ZodObject<{
|
|
|
2740
2740
|
pairedAt: number;
|
|
2741
2741
|
}>, "many">;
|
|
2742
2742
|
}, "strip", z.ZodTypeAny, {
|
|
2743
|
-
status: "
|
|
2743
|
+
status: "off" | "offline" | "connecting" | "online";
|
|
2744
2744
|
devices: {
|
|
2745
2745
|
name: string;
|
|
2746
2746
|
id: string;
|
|
@@ -2761,7 +2761,7 @@ export declare const gatewayStatusSchema: z.ZodObject<{
|
|
|
2761
2761
|
email?: string | undefined;
|
|
2762
2762
|
} | undefined;
|
|
2763
2763
|
}, {
|
|
2764
|
-
status: "
|
|
2764
|
+
status: "off" | "offline" | "connecting" | "online";
|
|
2765
2765
|
devices: {
|
|
2766
2766
|
name: string;
|
|
2767
2767
|
id: string;
|