linkshell-cli 0.10.70 → 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.d.ts +7 -0
- package/dist/cli/src/auth.js +90 -33
- package/dist/cli/src/auth.js.map +1 -1
- package/dist/cli/src/commands/desktop.d.ts +6 -6
- package/dist/cli/src/commands/host.js +4 -2
- package/dist/cli/src/commands/host.js.map +1 -1
- 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 +97 -38
- package/src/commands/host.ts +4 -2
|
@@ -3,8 +3,8 @@ import type { BackgroundTask } from "@linkshell/wire";
|
|
|
3
3
|
export declare class ClaudeTasks {
|
|
4
4
|
private readonly emit;
|
|
5
5
|
readonly records: Map<string, {
|
|
6
|
-
title: string;
|
|
7
6
|
kind: "shell" | "monitor";
|
|
7
|
+
title: string;
|
|
8
8
|
id: string;
|
|
9
9
|
state: "unknown" | "completed" | "failed" | "running" | "stopped";
|
|
10
10
|
startedAt: number;
|
|
@@ -88,6 +88,7 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
88
88
|
type: "resource_link";
|
|
89
89
|
uri: string;
|
|
90
90
|
name: string;
|
|
91
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
91
92
|
annotations?: import("zod").objectOutputType<{
|
|
92
93
|
audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
93
94
|
priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -98,7 +99,6 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
98
99
|
title?: string | undefined;
|
|
99
100
|
description?: string | undefined;
|
|
100
101
|
size?: number | undefined;
|
|
101
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
102
102
|
})[] | undefined;
|
|
103
103
|
parentToolCallId?: string | undefined;
|
|
104
104
|
append?: boolean | undefined;
|
|
@@ -156,6 +156,7 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
156
156
|
type: "resource_link";
|
|
157
157
|
uri: string;
|
|
158
158
|
name: string;
|
|
159
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
159
160
|
annotations?: import("zod").objectOutputType<{
|
|
160
161
|
audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
161
162
|
priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -166,7 +167,6 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
166
167
|
title?: string | undefined;
|
|
167
168
|
description?: string | undefined;
|
|
168
169
|
size?: number | undefined;
|
|
169
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
170
170
|
};
|
|
171
171
|
sessionUpdate: "user_message_chunk";
|
|
172
172
|
messageId?: string | undefined;
|
|
@@ -222,6 +222,7 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
222
222
|
type: "resource_link";
|
|
223
223
|
uri: string;
|
|
224
224
|
name: string;
|
|
225
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
225
226
|
annotations?: import("zod").objectOutputType<{
|
|
226
227
|
audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
227
228
|
priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -232,7 +233,6 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
232
233
|
title?: string | undefined;
|
|
233
234
|
description?: string | undefined;
|
|
234
235
|
size?: number | undefined;
|
|
235
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
236
236
|
};
|
|
237
237
|
sessionUpdate: "agent_message_chunk";
|
|
238
238
|
messageId: string;
|
|
@@ -289,6 +289,7 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
289
289
|
type: "resource_link";
|
|
290
290
|
uri: string;
|
|
291
291
|
name: string;
|
|
292
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
292
293
|
annotations?: import("zod").objectOutputType<{
|
|
293
294
|
audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
294
295
|
priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -299,15 +300,14 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
299
300
|
title?: string | undefined;
|
|
300
301
|
description?: string | undefined;
|
|
301
302
|
size?: number | undefined;
|
|
302
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
303
303
|
};
|
|
304
304
|
sessionUpdate: "agent_thought_chunk";
|
|
305
305
|
messageId: string;
|
|
306
306
|
parentToolCallId?: string | undefined;
|
|
307
307
|
} | {
|
|
308
|
+
kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
|
|
308
309
|
status: "pending" | "in_progress" | "completed" | "failed";
|
|
309
310
|
title: string;
|
|
310
|
-
kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
|
|
311
311
|
toolCallId: string;
|
|
312
312
|
sessionUpdate: "tool_call";
|
|
313
313
|
name?: string | undefined;
|
|
@@ -364,6 +364,7 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
364
364
|
type: "resource_link";
|
|
365
365
|
uri: string;
|
|
366
366
|
name: string;
|
|
367
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
367
368
|
annotations?: import("zod").objectOutputType<{
|
|
368
369
|
audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
369
370
|
priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -374,7 +375,6 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
374
375
|
title?: string | undefined;
|
|
375
376
|
description?: string | undefined;
|
|
376
377
|
size?: number | undefined;
|
|
377
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
378
378
|
};
|
|
379
379
|
} | {
|
|
380
380
|
path: string;
|
|
@@ -465,10 +465,10 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
465
465
|
} | {
|
|
466
466
|
toolCallId: string;
|
|
467
467
|
sessionUpdate: "tool_call_update";
|
|
468
|
+
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
468
469
|
status?: "pending" | "in_progress" | "completed" | "failed" | undefined;
|
|
469
470
|
name?: string | undefined;
|
|
470
471
|
title?: string | undefined;
|
|
471
|
-
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
472
472
|
content?: ({
|
|
473
473
|
type: "content";
|
|
474
474
|
content: {
|
|
@@ -522,6 +522,7 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
522
522
|
type: "resource_link";
|
|
523
523
|
uri: string;
|
|
524
524
|
name: string;
|
|
525
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
525
526
|
annotations?: import("zod").objectOutputType<{
|
|
526
527
|
audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
527
528
|
priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -532,7 +533,6 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
532
533
|
title?: string | undefined;
|
|
533
534
|
description?: string | undefined;
|
|
534
535
|
size?: number | undefined;
|
|
535
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
536
536
|
};
|
|
537
537
|
} | {
|
|
538
538
|
path: string;
|
|
@@ -729,8 +729,8 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
729
729
|
stopReason?: "unknown" | "end_turn" | "cancelled" | "error" | "max_tokens" | "max_turn_requests" | "refusal" | undefined;
|
|
730
730
|
} | {
|
|
731
731
|
options: {
|
|
732
|
-
name: string;
|
|
733
732
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
733
|
+
name: string;
|
|
734
734
|
optionId: string;
|
|
735
735
|
}[];
|
|
736
736
|
title: string;
|
|
@@ -738,8 +738,8 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
738
738
|
requestId: string;
|
|
739
739
|
toolCallId?: string | undefined;
|
|
740
740
|
tool?: {
|
|
741
|
-
title?: string | undefined;
|
|
742
741
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
742
|
+
title?: string | undefined;
|
|
743
743
|
content?: ({
|
|
744
744
|
type: "content";
|
|
745
745
|
content: {
|
|
@@ -793,6 +793,7 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
793
793
|
type: "resource_link";
|
|
794
794
|
uri: string;
|
|
795
795
|
name: string;
|
|
796
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
796
797
|
annotations?: import("zod").objectOutputType<{
|
|
797
798
|
audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
798
799
|
priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -803,7 +804,6 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
803
804
|
title?: string | undefined;
|
|
804
805
|
description?: string | undefined;
|
|
805
806
|
size?: number | undefined;
|
|
806
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
807
807
|
};
|
|
808
808
|
} | {
|
|
809
809
|
path: string;
|
|
@@ -828,8 +828,8 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
828
828
|
} | undefined;
|
|
829
829
|
detail?: string | undefined;
|
|
830
830
|
questions?: {
|
|
831
|
-
text: string;
|
|
832
831
|
kind: "text" | "choice" | "choices";
|
|
832
|
+
text: string;
|
|
833
833
|
id: string;
|
|
834
834
|
options?: {
|
|
835
835
|
value: string;
|
|
@@ -877,8 +877,8 @@ export declare const transcriptTimes: WeakMap<{
|
|
|
877
877
|
turnActive?: boolean | undefined;
|
|
878
878
|
} | {
|
|
879
879
|
task: {
|
|
880
|
-
title: string;
|
|
881
880
|
kind: "shell" | "monitor";
|
|
881
|
+
title: string;
|
|
882
882
|
id: string;
|
|
883
883
|
state: "unknown" | "completed" | "failed" | "running" | "stopped";
|
|
884
884
|
startedAt: number;
|
package/dist/host/src/hub.d.ts
CHANGED
|
@@ -67,16 +67,16 @@ export declare class SessionHub {
|
|
|
67
67
|
agent: string;
|
|
68
68
|
request: {
|
|
69
69
|
options: {
|
|
70
|
-
name: string;
|
|
71
70
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
71
|
+
name: string;
|
|
72
72
|
optionId: string;
|
|
73
73
|
}[];
|
|
74
74
|
title: string;
|
|
75
75
|
requestId: string;
|
|
76
76
|
toolCallId?: string | undefined;
|
|
77
77
|
tool?: {
|
|
78
|
-
title?: string | undefined;
|
|
79
78
|
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
79
|
+
title?: string | undefined;
|
|
80
80
|
content?: ({
|
|
81
81
|
type: "content";
|
|
82
82
|
content: {
|
|
@@ -130,6 +130,7 @@ export declare class SessionHub {
|
|
|
130
130
|
type: "resource_link";
|
|
131
131
|
uri: string;
|
|
132
132
|
name: string;
|
|
133
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
133
134
|
annotations?: import("zod").objectOutputType<{
|
|
134
135
|
audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
135
136
|
priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -140,7 +141,6 @@ export declare class SessionHub {
|
|
|
140
141
|
title?: string | undefined;
|
|
141
142
|
description?: string | undefined;
|
|
142
143
|
size?: number | undefined;
|
|
143
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
144
144
|
};
|
|
145
145
|
} | {
|
|
146
146
|
path: string;
|
|
@@ -165,8 +165,8 @@ export declare class SessionHub {
|
|
|
165
165
|
} | undefined;
|
|
166
166
|
detail?: string | undefined;
|
|
167
167
|
questions?: {
|
|
168
|
-
text: string;
|
|
169
168
|
kind: "text" | "choice" | "choices";
|
|
169
|
+
text: string;
|
|
170
170
|
id: string;
|
|
171
171
|
options?: {
|
|
172
172
|
value: string;
|
|
@@ -202,8 +202,8 @@ export declare class SessionHub {
|
|
|
202
202
|
text?: string | undefined;
|
|
203
203
|
version?: number | undefined;
|
|
204
204
|
preview?: {
|
|
205
|
-
path: string;
|
|
206
205
|
kind: "edit" | "jump" | "searchAndReplace";
|
|
206
|
+
path: string;
|
|
207
207
|
id: string;
|
|
208
208
|
before: string;
|
|
209
209
|
after: string;
|
|
@@ -218,8 +218,8 @@ export declare class SessionHub {
|
|
|
218
218
|
} | undefined;
|
|
219
219
|
editorId?: string | undefined;
|
|
220
220
|
suggestions?: ({
|
|
221
|
-
uri: string;
|
|
222
221
|
kind: "edit";
|
|
222
|
+
uri: string;
|
|
223
223
|
id: string;
|
|
224
224
|
edits: {
|
|
225
225
|
newText: string;
|
|
@@ -239,16 +239,16 @@ export declare class SessionHub {
|
|
|
239
239
|
character: number;
|
|
240
240
|
} | null | undefined;
|
|
241
241
|
} | {
|
|
242
|
-
uri: string;
|
|
243
242
|
kind: "jump";
|
|
243
|
+
uri: string;
|
|
244
244
|
id: string;
|
|
245
245
|
position: {
|
|
246
246
|
line: number;
|
|
247
247
|
character: number;
|
|
248
248
|
};
|
|
249
249
|
} | {
|
|
250
|
-
uri: string;
|
|
251
250
|
kind: "rename";
|
|
251
|
+
uri: string;
|
|
252
252
|
id: string;
|
|
253
253
|
position: {
|
|
254
254
|
line: number;
|
|
@@ -258,8 +258,8 @@ export declare class SessionHub {
|
|
|
258
258
|
} | {
|
|
259
259
|
replace: string;
|
|
260
260
|
search: string;
|
|
261
|
-
uri: string;
|
|
262
261
|
kind: "searchAndReplace";
|
|
262
|
+
uri: string;
|
|
263
263
|
id: string;
|
|
264
264
|
isRegex?: boolean | null | undefined;
|
|
265
265
|
})[] | undefined;
|
|
@@ -254,6 +254,7 @@ declare const contentVariants: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
254
254
|
type: "resource_link";
|
|
255
255
|
uri: string;
|
|
256
256
|
name: string;
|
|
257
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
257
258
|
annotations?: z.objectOutputType<{
|
|
258
259
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
259
260
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -264,11 +265,11 @@ declare const contentVariants: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
264
265
|
title?: string | undefined;
|
|
265
266
|
description?: string | undefined;
|
|
266
267
|
size?: number | undefined;
|
|
267
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
268
268
|
}, {
|
|
269
269
|
type: "resource_link";
|
|
270
270
|
uri: string;
|
|
271
271
|
name: string;
|
|
272
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
272
273
|
annotations?: z.objectInputType<{
|
|
273
274
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
274
275
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -279,7 +280,6 @@ declare const contentVariants: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
279
280
|
title?: string | null | undefined;
|
|
280
281
|
description?: string | null | undefined;
|
|
281
282
|
size?: number | null | undefined;
|
|
282
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
283
283
|
}>]>;
|
|
284
284
|
export type ContentBlock = z.infer<typeof contentVariants>;
|
|
285
285
|
export declare const contentBlockSchema: z.ZodType<ContentBlock, z.ZodTypeDef, unknown>;
|
|
@@ -338,6 +338,7 @@ export declare const toolCallContentSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
338
338
|
type: "resource_link";
|
|
339
339
|
uri: string;
|
|
340
340
|
name: string;
|
|
341
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
341
342
|
annotations?: z.objectOutputType<{
|
|
342
343
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
343
344
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -348,7 +349,6 @@ export declare const toolCallContentSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
348
349
|
title?: string | undefined;
|
|
349
350
|
description?: string | undefined;
|
|
350
351
|
size?: number | undefined;
|
|
351
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
352
352
|
}, z.ZodTypeDef, unknown>;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
type: "content";
|
|
@@ -403,6 +403,7 @@ export declare const toolCallContentSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
403
403
|
type: "resource_link";
|
|
404
404
|
uri: string;
|
|
405
405
|
name: string;
|
|
406
|
+
kind?: "file" | "skill" | "agent" | undefined;
|
|
406
407
|
annotations?: z.objectOutputType<{
|
|
407
408
|
audience: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
|
|
408
409
|
priority: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
@@ -413,7 +414,6 @@ export declare const toolCallContentSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
413
414
|
title?: string | undefined;
|
|
414
415
|
description?: string | undefined;
|
|
415
416
|
size?: number | undefined;
|
|
416
|
-
kind?: "file" | "skill" | "agent" | undefined;
|
|
417
417
|
};
|
|
418
418
|
}, {
|
|
419
419
|
type: "content";
|
|
@@ -132,8 +132,8 @@ export declare const editSuggestionSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
132
132
|
uri: z.ZodString;
|
|
133
133
|
kind: z.ZodLiteral<"edit">;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
uri: string;
|
|
136
135
|
kind: "edit";
|
|
136
|
+
uri: string;
|
|
137
137
|
id: string;
|
|
138
138
|
edits: {
|
|
139
139
|
newText: string;
|
|
@@ -153,8 +153,8 @@ export declare const editSuggestionSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
153
153
|
character: number;
|
|
154
154
|
} | null | undefined;
|
|
155
155
|
}, {
|
|
156
|
-
uri: string;
|
|
157
156
|
kind: "edit";
|
|
157
|
+
uri: string;
|
|
158
158
|
id: string;
|
|
159
159
|
edits: {
|
|
160
160
|
newText: string;
|
|
@@ -188,16 +188,16 @@ export declare const editSuggestionSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
188
188
|
uri: z.ZodString;
|
|
189
189
|
kind: z.ZodLiteral<"jump">;
|
|
190
190
|
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
uri: string;
|
|
192
191
|
kind: "jump";
|
|
192
|
+
uri: string;
|
|
193
193
|
id: string;
|
|
194
194
|
position: {
|
|
195
195
|
line: number;
|
|
196
196
|
character: number;
|
|
197
197
|
};
|
|
198
198
|
}, {
|
|
199
|
-
uri: string;
|
|
200
199
|
kind: "jump";
|
|
200
|
+
uri: string;
|
|
201
201
|
id: string;
|
|
202
202
|
position: {
|
|
203
203
|
line: number;
|
|
@@ -219,8 +219,8 @@ export declare const editSuggestionSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
219
219
|
uri: z.ZodString;
|
|
220
220
|
kind: z.ZodLiteral<"rename">;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
uri: string;
|
|
223
222
|
kind: "rename";
|
|
223
|
+
uri: string;
|
|
224
224
|
id: string;
|
|
225
225
|
position: {
|
|
226
226
|
line: number;
|
|
@@ -228,8 +228,8 @@ export declare const editSuggestionSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
228
228
|
};
|
|
229
229
|
newName: string;
|
|
230
230
|
}, {
|
|
231
|
-
uri: string;
|
|
232
231
|
kind: "rename";
|
|
232
|
+
uri: string;
|
|
233
233
|
id: string;
|
|
234
234
|
position: {
|
|
235
235
|
line: number;
|
|
@@ -246,15 +246,15 @@ export declare const editSuggestionSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
247
|
replace: string;
|
|
248
248
|
search: string;
|
|
249
|
-
uri: string;
|
|
250
249
|
kind: "searchAndReplace";
|
|
250
|
+
uri: string;
|
|
251
251
|
id: string;
|
|
252
252
|
isRegex?: boolean | null | undefined;
|
|
253
253
|
}, {
|
|
254
254
|
replace: string;
|
|
255
255
|
search: string;
|
|
256
|
-
uri: string;
|
|
257
256
|
kind: "searchAndReplace";
|
|
257
|
+
uri: string;
|
|
258
258
|
id: string;
|
|
259
259
|
isRegex?: boolean | null | undefined;
|
|
260
260
|
}>]>;
|
|
@@ -393,8 +393,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
393
393
|
uri: z.ZodString;
|
|
394
394
|
kind: z.ZodLiteral<"edit">;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
uri: string;
|
|
397
396
|
kind: "edit";
|
|
397
|
+
uri: string;
|
|
398
398
|
id: string;
|
|
399
399
|
edits: {
|
|
400
400
|
newText: string;
|
|
@@ -414,8 +414,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
414
414
|
character: number;
|
|
415
415
|
} | null | undefined;
|
|
416
416
|
}, {
|
|
417
|
-
uri: string;
|
|
418
417
|
kind: "edit";
|
|
418
|
+
uri: string;
|
|
419
419
|
id: string;
|
|
420
420
|
edits: {
|
|
421
421
|
newText: string;
|
|
@@ -449,16 +449,16 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
449
449
|
uri: z.ZodString;
|
|
450
450
|
kind: z.ZodLiteral<"jump">;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
uri: string;
|
|
453
452
|
kind: "jump";
|
|
453
|
+
uri: string;
|
|
454
454
|
id: string;
|
|
455
455
|
position: {
|
|
456
456
|
line: number;
|
|
457
457
|
character: number;
|
|
458
458
|
};
|
|
459
459
|
}, {
|
|
460
|
-
uri: string;
|
|
461
460
|
kind: "jump";
|
|
461
|
+
uri: string;
|
|
462
462
|
id: string;
|
|
463
463
|
position: {
|
|
464
464
|
line: number;
|
|
@@ -480,8 +480,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
480
480
|
uri: z.ZodString;
|
|
481
481
|
kind: z.ZodLiteral<"rename">;
|
|
482
482
|
}, "strip", z.ZodTypeAny, {
|
|
483
|
-
uri: string;
|
|
484
483
|
kind: "rename";
|
|
484
|
+
uri: string;
|
|
485
485
|
id: string;
|
|
486
486
|
position: {
|
|
487
487
|
line: number;
|
|
@@ -489,8 +489,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
489
489
|
};
|
|
490
490
|
newName: string;
|
|
491
491
|
}, {
|
|
492
|
-
uri: string;
|
|
493
492
|
kind: "rename";
|
|
493
|
+
uri: string;
|
|
494
494
|
id: string;
|
|
495
495
|
position: {
|
|
496
496
|
line: number;
|
|
@@ -507,15 +507,15 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
507
507
|
}, "strip", z.ZodTypeAny, {
|
|
508
508
|
replace: string;
|
|
509
509
|
search: string;
|
|
510
|
-
uri: string;
|
|
511
510
|
kind: "searchAndReplace";
|
|
511
|
+
uri: string;
|
|
512
512
|
id: string;
|
|
513
513
|
isRegex?: boolean | null | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
replace: string;
|
|
516
516
|
search: string;
|
|
517
|
-
uri: string;
|
|
518
517
|
kind: "searchAndReplace";
|
|
518
|
+
uri: string;
|
|
519
519
|
id: string;
|
|
520
520
|
isRegex?: boolean | null | undefined;
|
|
521
521
|
}>]>, "many">>;
|
|
@@ -536,8 +536,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
536
536
|
character: number;
|
|
537
537
|
}>>;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
|
-
path: string;
|
|
540
539
|
kind: "edit" | "jump" | "searchAndReplace";
|
|
540
|
+
path: string;
|
|
541
541
|
id: string;
|
|
542
542
|
before: string;
|
|
543
543
|
after: string;
|
|
@@ -546,8 +546,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
546
546
|
character: number;
|
|
547
547
|
} | undefined;
|
|
548
548
|
}, {
|
|
549
|
-
path: string;
|
|
550
549
|
kind: "edit" | "jump" | "searchAndReplace";
|
|
550
|
+
path: string;
|
|
551
551
|
id: string;
|
|
552
552
|
before: string;
|
|
553
553
|
after: string;
|
|
@@ -571,8 +571,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
571
571
|
text?: string | undefined;
|
|
572
572
|
version?: number | undefined;
|
|
573
573
|
preview?: {
|
|
574
|
-
path: string;
|
|
575
574
|
kind: "edit" | "jump" | "searchAndReplace";
|
|
575
|
+
path: string;
|
|
576
576
|
id: string;
|
|
577
577
|
before: string;
|
|
578
578
|
after: string;
|
|
@@ -587,8 +587,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
587
587
|
} | undefined;
|
|
588
588
|
editorId?: string | undefined;
|
|
589
589
|
suggestions?: ({
|
|
590
|
-
uri: string;
|
|
591
590
|
kind: "edit";
|
|
591
|
+
uri: string;
|
|
592
592
|
id: string;
|
|
593
593
|
edits: {
|
|
594
594
|
newText: string;
|
|
@@ -608,16 +608,16 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
608
608
|
character: number;
|
|
609
609
|
} | null | undefined;
|
|
610
610
|
} | {
|
|
611
|
-
uri: string;
|
|
612
611
|
kind: "jump";
|
|
612
|
+
uri: string;
|
|
613
613
|
id: string;
|
|
614
614
|
position: {
|
|
615
615
|
line: number;
|
|
616
616
|
character: number;
|
|
617
617
|
};
|
|
618
618
|
} | {
|
|
619
|
-
uri: string;
|
|
620
619
|
kind: "rename";
|
|
620
|
+
uri: string;
|
|
621
621
|
id: string;
|
|
622
622
|
position: {
|
|
623
623
|
line: number;
|
|
@@ -627,8 +627,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
627
627
|
} | {
|
|
628
628
|
replace: string;
|
|
629
629
|
search: string;
|
|
630
|
-
uri: string;
|
|
631
630
|
kind: "searchAndReplace";
|
|
631
|
+
uri: string;
|
|
632
632
|
id: string;
|
|
633
633
|
isRegex?: boolean | null | undefined;
|
|
634
634
|
})[] | undefined;
|
|
@@ -637,8 +637,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
637
637
|
text?: string | undefined;
|
|
638
638
|
version?: number | undefined;
|
|
639
639
|
preview?: {
|
|
640
|
-
path: string;
|
|
641
640
|
kind: "edit" | "jump" | "searchAndReplace";
|
|
641
|
+
path: string;
|
|
642
642
|
id: string;
|
|
643
643
|
before: string;
|
|
644
644
|
after: string;
|
|
@@ -653,8 +653,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
653
653
|
} | undefined;
|
|
654
654
|
editorId?: string | undefined;
|
|
655
655
|
suggestions?: ({
|
|
656
|
-
uri: string;
|
|
657
656
|
kind: "edit";
|
|
657
|
+
uri: string;
|
|
658
658
|
id: string;
|
|
659
659
|
edits: {
|
|
660
660
|
newText: string;
|
|
@@ -674,16 +674,16 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
674
674
|
character: number;
|
|
675
675
|
} | null | undefined;
|
|
676
676
|
} | {
|
|
677
|
-
uri: string;
|
|
678
677
|
kind: "jump";
|
|
678
|
+
uri: string;
|
|
679
679
|
id: string;
|
|
680
680
|
position: {
|
|
681
681
|
line: number;
|
|
682
682
|
character: number;
|
|
683
683
|
};
|
|
684
684
|
} | {
|
|
685
|
-
uri: string;
|
|
686
685
|
kind: "rename";
|
|
686
|
+
uri: string;
|
|
687
687
|
id: string;
|
|
688
688
|
position: {
|
|
689
689
|
line: number;
|
|
@@ -693,8 +693,8 @@ export declare const editorResultSchema: z.ZodObject<{
|
|
|
693
693
|
} | {
|
|
694
694
|
replace: string;
|
|
695
695
|
search: string;
|
|
696
|
-
uri: string;
|
|
697
696
|
kind: "searchAndReplace";
|
|
697
|
+
uri: string;
|
|
698
698
|
id: string;
|
|
699
699
|
isRegex?: boolean | null | undefined;
|
|
700
700
|
})[] | undefined;
|