@linkshell/gateway 0.5.1 → 0.5.2
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/Dockerfile +6 -2
- package/dist/gateway/src/index.js +2 -1
- package/dist/gateway/src/index.js.map +1 -1
- package/dist/gateway/tsconfig.tsbuildinfo +1 -1
- package/dist/gateway-v2/src/server.d.ts +15 -0
- package/dist/gateway-v2/src/server.js +39 -0
- package/dist/gateway-v2/src/server.js.map +1 -1
- package/dist/wire/src/model.d.ts +175 -127
- package/dist/wire/src/model.js +14 -0
- package/dist/wire/src/model.js.map +1 -1
- package/dist/wire/src/relay-client.d.ts +2 -0
- package/dist/wire/src/relay-client.js +12 -0
- package/dist/wire/src/relay-client.js.map +1 -1
- package/dist/wire/src/rpc.d.ts +6073 -943
- package/dist/wire/src/rpc.js +101 -6
- package/dist/wire/src/rpc.js.map +1 -1
- package/dist/wire/src/updates.d.ts +388 -388
- package/package.json +4 -4
- package/src/index.ts +2 -1
package/dist/wire/src/model.d.ts
CHANGED
|
@@ -21,21 +21,21 @@ export declare const agentCapabilitiesSchema: z.ZodObject<{
|
|
|
21
21
|
models: z.ZodBoolean;
|
|
22
22
|
modes: z.ZodBoolean;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
models: boolean;
|
|
25
|
-
modes: boolean;
|
|
26
|
-
steer: boolean;
|
|
27
24
|
interrupt: boolean;
|
|
25
|
+
steer: boolean;
|
|
28
26
|
permissions: boolean;
|
|
29
27
|
images: boolean;
|
|
30
28
|
fork: boolean;
|
|
31
|
-
}, {
|
|
32
29
|
models: boolean;
|
|
33
30
|
modes: boolean;
|
|
34
|
-
|
|
31
|
+
}, {
|
|
35
32
|
interrupt: boolean;
|
|
33
|
+
steer: boolean;
|
|
36
34
|
permissions: boolean;
|
|
37
35
|
images: boolean;
|
|
38
36
|
fork: boolean;
|
|
37
|
+
models: boolean;
|
|
38
|
+
modes: boolean;
|
|
39
39
|
}>;
|
|
40
40
|
export type AgentCapabilities = z.infer<typeof agentCapabilitiesSchema>;
|
|
41
41
|
/**
|
|
@@ -92,36 +92,36 @@ export declare const agentInfoSchema: z.ZodObject<{
|
|
|
92
92
|
models: z.ZodBoolean;
|
|
93
93
|
modes: z.ZodBoolean;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
models: boolean;
|
|
96
|
-
modes: boolean;
|
|
97
|
-
steer: boolean;
|
|
98
95
|
interrupt: boolean;
|
|
96
|
+
steer: boolean;
|
|
99
97
|
permissions: boolean;
|
|
100
98
|
images: boolean;
|
|
101
99
|
fork: boolean;
|
|
102
|
-
}, {
|
|
103
100
|
models: boolean;
|
|
104
101
|
modes: boolean;
|
|
105
|
-
|
|
102
|
+
}, {
|
|
106
103
|
interrupt: boolean;
|
|
104
|
+
steer: boolean;
|
|
107
105
|
permissions: boolean;
|
|
108
106
|
images: boolean;
|
|
109
107
|
fork: boolean;
|
|
108
|
+
models: boolean;
|
|
109
|
+
modes: boolean;
|
|
110
110
|
}>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
112
|
id: string;
|
|
113
113
|
label: string;
|
|
114
|
+
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
115
|
+
installed: boolean;
|
|
114
116
|
capabilities: {
|
|
115
|
-
models: boolean;
|
|
116
|
-
modes: boolean;
|
|
117
|
-
steer: boolean;
|
|
118
117
|
interrupt: boolean;
|
|
118
|
+
steer: boolean;
|
|
119
119
|
permissions: boolean;
|
|
120
120
|
images: boolean;
|
|
121
121
|
fork: boolean;
|
|
122
|
+
models: boolean;
|
|
123
|
+
modes: boolean;
|
|
122
124
|
};
|
|
123
|
-
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
124
|
-
installed: boolean;
|
|
125
125
|
version?: string | undefined;
|
|
126
126
|
problem?: string | undefined;
|
|
127
127
|
auth?: {
|
|
@@ -132,17 +132,17 @@ export declare const agentInfoSchema: z.ZodObject<{
|
|
|
132
132
|
}, {
|
|
133
133
|
id: string;
|
|
134
134
|
label: string;
|
|
135
|
+
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
136
|
+
installed: boolean;
|
|
135
137
|
capabilities: {
|
|
136
|
-
models: boolean;
|
|
137
|
-
modes: boolean;
|
|
138
|
-
steer: boolean;
|
|
139
138
|
interrupt: boolean;
|
|
139
|
+
steer: boolean;
|
|
140
140
|
permissions: boolean;
|
|
141
141
|
images: boolean;
|
|
142
142
|
fork: boolean;
|
|
143
|
+
models: boolean;
|
|
144
|
+
modes: boolean;
|
|
143
145
|
};
|
|
144
|
-
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
145
|
-
installed: boolean;
|
|
146
146
|
version?: string | undefined;
|
|
147
147
|
problem?: string | undefined;
|
|
148
148
|
auth?: {
|
|
@@ -167,13 +167,13 @@ export declare const permissionOptionSchema: z.ZodObject<{
|
|
|
167
167
|
name: z.ZodString;
|
|
168
168
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
optionId: string;
|
|
170
171
|
name: string;
|
|
171
172
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
172
|
-
optionId: string;
|
|
173
173
|
}, {
|
|
174
|
+
optionId: string;
|
|
174
175
|
name: string;
|
|
175
176
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
176
|
-
optionId: string;
|
|
177
177
|
}>;
|
|
178
178
|
export type PermissionOption = z.infer<typeof permissionOptionSchema>;
|
|
179
179
|
/** What a running session is doing right now, for list rows. Live only. */
|
|
@@ -182,13 +182,13 @@ export declare const sessionActivitySchema: z.ZodObject<{
|
|
|
182
182
|
title: z.ZodOptional<z.ZodString>;
|
|
183
183
|
toolKind: z.ZodOptional<z.ZodEnum<["read", "edit", "delete", "move", "search", "execute", "think", "fetch", "other"]>>;
|
|
184
184
|
}, "strip", z.ZodTypeAny, {
|
|
185
|
-
kind: "thinking" | "
|
|
185
|
+
kind: "thinking" | "responding" | "tool";
|
|
186
186
|
title?: string | undefined;
|
|
187
|
-
toolKind?: "
|
|
187
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
188
188
|
}, {
|
|
189
|
-
kind: "thinking" | "
|
|
189
|
+
kind: "thinking" | "responding" | "tool";
|
|
190
190
|
title?: string | undefined;
|
|
191
|
-
toolKind?: "
|
|
191
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
192
192
|
}>;
|
|
193
193
|
export type SessionActivity = z.infer<typeof sessionActivitySchema>;
|
|
194
194
|
/** The oldest unanswered permission request, so lists can offer approval inline. Live only. */
|
|
@@ -202,34 +202,34 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
202
202
|
name: z.ZodString;
|
|
203
203
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
204
204
|
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
optionId: string;
|
|
205
206
|
name: string;
|
|
206
207
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
207
|
-
optionId: string;
|
|
208
208
|
}, {
|
|
209
|
+
optionId: string;
|
|
209
210
|
name: string;
|
|
210
211
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
211
|
-
optionId: string;
|
|
212
212
|
}>, "many">;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
214
|
options: {
|
|
215
|
+
optionId: string;
|
|
215
216
|
name: string;
|
|
216
217
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
217
|
-
optionId: string;
|
|
218
218
|
}[];
|
|
219
|
-
requestId: string;
|
|
220
219
|
title: string;
|
|
221
|
-
|
|
220
|
+
requestId: string;
|
|
222
221
|
toolCallId?: string | undefined;
|
|
222
|
+
detail?: string | undefined;
|
|
223
223
|
}, {
|
|
224
224
|
options: {
|
|
225
|
+
optionId: string;
|
|
225
226
|
name: string;
|
|
226
227
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
227
|
-
optionId: string;
|
|
228
228
|
}[];
|
|
229
|
-
requestId: string;
|
|
230
229
|
title: string;
|
|
231
|
-
|
|
230
|
+
requestId: string;
|
|
232
231
|
toolCallId?: string | undefined;
|
|
232
|
+
detail?: string | undefined;
|
|
233
233
|
}>;
|
|
234
234
|
export type PendingPermissionSummary = z.infer<typeof pendingPermissionSchema>;
|
|
235
235
|
export declare const queuedMessageSchema: z.ZodObject<{
|
|
@@ -238,15 +238,44 @@ export declare const queuedMessageSchema: z.ZodObject<{
|
|
|
238
238
|
text: z.ZodString;
|
|
239
239
|
images: z.ZodNumber;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
text: string;
|
|
242
|
-
clientMessageId: string;
|
|
243
241
|
images: number;
|
|
244
|
-
}, {
|
|
245
|
-
text: string;
|
|
246
242
|
clientMessageId: string;
|
|
243
|
+
text: string;
|
|
244
|
+
}, {
|
|
247
245
|
images: number;
|
|
246
|
+
clientMessageId: string;
|
|
247
|
+
text: string;
|
|
248
248
|
}>;
|
|
249
249
|
export type QueuedMessage = z.infer<typeof queuedMessageSchema>;
|
|
250
|
+
/** A sub-agent a session started: the tool call it runs under, and how it is doing. */
|
|
251
|
+
export declare const subagentInfoSchema: z.ZodObject<{
|
|
252
|
+
toolCallId: z.ZodString;
|
|
253
|
+
/** What it was asked to do. */
|
|
254
|
+
task: z.ZodString;
|
|
255
|
+
/** Its role or type, e.g. "Explore". */
|
|
256
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
257
|
+
running: z.ZodBoolean;
|
|
258
|
+
failed: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
startedAt: z.ZodNumber;
|
|
260
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
running: boolean;
|
|
263
|
+
toolCallId: string;
|
|
264
|
+
task: string;
|
|
265
|
+
startedAt: number;
|
|
266
|
+
agentType?: string | undefined;
|
|
267
|
+
failed?: boolean | undefined;
|
|
268
|
+
endedAt?: number | undefined;
|
|
269
|
+
}, {
|
|
270
|
+
running: boolean;
|
|
271
|
+
toolCallId: string;
|
|
272
|
+
task: string;
|
|
273
|
+
startedAt: number;
|
|
274
|
+
agentType?: string | undefined;
|
|
275
|
+
failed?: boolean | undefined;
|
|
276
|
+
endedAt?: number | undefined;
|
|
277
|
+
}>;
|
|
278
|
+
export type SubagentInfo = z.infer<typeof subagentInfoSchema>;
|
|
250
279
|
export declare const sessionSummarySchema: z.ZodObject<{
|
|
251
280
|
/** `${agent}:${nativeId}` — stable across daemon restarts and rediscovery. */
|
|
252
281
|
id: z.ZodString;
|
|
@@ -268,13 +297,13 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
268
297
|
title: z.ZodOptional<z.ZodString>;
|
|
269
298
|
toolKind: z.ZodOptional<z.ZodEnum<["read", "edit", "delete", "move", "search", "execute", "think", "fetch", "other"]>>;
|
|
270
299
|
}, "strip", z.ZodTypeAny, {
|
|
271
|
-
kind: "thinking" | "
|
|
300
|
+
kind: "thinking" | "responding" | "tool";
|
|
272
301
|
title?: string | undefined;
|
|
273
|
-
toolKind?: "
|
|
302
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
274
303
|
}, {
|
|
275
|
-
kind: "thinking" | "
|
|
304
|
+
kind: "thinking" | "responding" | "tool";
|
|
276
305
|
title?: string | undefined;
|
|
277
|
-
toolKind?: "
|
|
306
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
278
307
|
}>>;
|
|
279
308
|
permission: z.ZodOptional<z.ZodObject<{
|
|
280
309
|
requestId: z.ZodString;
|
|
@@ -286,34 +315,34 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
286
315
|
name: z.ZodString;
|
|
287
316
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
288
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
+
optionId: string;
|
|
289
319
|
name: string;
|
|
290
320
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
291
|
-
optionId: string;
|
|
292
321
|
}, {
|
|
322
|
+
optionId: string;
|
|
293
323
|
name: string;
|
|
294
324
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
295
|
-
optionId: string;
|
|
296
325
|
}>, "many">;
|
|
297
326
|
}, "strip", z.ZodTypeAny, {
|
|
298
327
|
options: {
|
|
328
|
+
optionId: string;
|
|
299
329
|
name: string;
|
|
300
330
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
301
|
-
optionId: string;
|
|
302
331
|
}[];
|
|
303
|
-
requestId: string;
|
|
304
332
|
title: string;
|
|
305
|
-
|
|
333
|
+
requestId: string;
|
|
306
334
|
toolCallId?: string | undefined;
|
|
335
|
+
detail?: string | undefined;
|
|
307
336
|
}, {
|
|
308
337
|
options: {
|
|
338
|
+
optionId: string;
|
|
309
339
|
name: string;
|
|
310
340
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
311
|
-
optionId: string;
|
|
312
341
|
}[];
|
|
313
|
-
requestId: string;
|
|
314
342
|
title: string;
|
|
315
|
-
|
|
343
|
+
requestId: string;
|
|
316
344
|
toolCallId?: string | undefined;
|
|
345
|
+
detail?: string | undefined;
|
|
317
346
|
}>>;
|
|
318
347
|
/**
|
|
319
348
|
* Live only: messages waiting for the current turn to end, when the host
|
|
@@ -325,86 +354,105 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
325
354
|
text: z.ZodString;
|
|
326
355
|
images: z.ZodNumber;
|
|
327
356
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
text: string;
|
|
329
|
-
clientMessageId: string;
|
|
330
357
|
images: number;
|
|
331
|
-
}, {
|
|
332
|
-
text: string;
|
|
333
358
|
clientMessageId: string;
|
|
359
|
+
text: string;
|
|
360
|
+
}, {
|
|
334
361
|
images: number;
|
|
362
|
+
clientMessageId: string;
|
|
363
|
+
text: string;
|
|
335
364
|
}>, "many">>;
|
|
365
|
+
/** Live only, for sessions that started sub-agents: how many, and how many are working now (`sessions.subagents` lists them). */
|
|
366
|
+
subagents: z.ZodOptional<z.ZodObject<{
|
|
367
|
+
total: z.ZodNumber;
|
|
368
|
+
running: z.ZodNumber;
|
|
369
|
+
}, "strip", z.ZodTypeAny, {
|
|
370
|
+
running: number;
|
|
371
|
+
total: number;
|
|
372
|
+
}, {
|
|
373
|
+
running: number;
|
|
374
|
+
total: number;
|
|
375
|
+
}>>;
|
|
336
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
+
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
337
378
|
id: string;
|
|
379
|
+
agent: string;
|
|
380
|
+
nativeId: string;
|
|
338
381
|
cwd: string;
|
|
339
|
-
createdAt: number;
|
|
340
382
|
pendingPermissions: number;
|
|
383
|
+
createdAt: number;
|
|
341
384
|
updatedAt: number;
|
|
342
|
-
archived: boolean;
|
|
343
|
-
state: "idle" | "error" | "running" | "waiting" | "offline";
|
|
344
|
-
agent: string;
|
|
345
|
-
nativeId: string;
|
|
346
385
|
lastSeq: number;
|
|
386
|
+
archived: boolean;
|
|
347
387
|
title?: string | undefined;
|
|
388
|
+
preview?: string | undefined;
|
|
389
|
+
driver?: "remote" | "desktop" | "none" | undefined;
|
|
348
390
|
model?: string | undefined;
|
|
391
|
+
activity?: {
|
|
392
|
+
kind: "thinking" | "responding" | "tool";
|
|
393
|
+
title?: string | undefined;
|
|
394
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
395
|
+
} | undefined;
|
|
349
396
|
permission?: {
|
|
350
397
|
options: {
|
|
398
|
+
optionId: string;
|
|
351
399
|
name: string;
|
|
352
400
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
353
|
-
optionId: string;
|
|
354
401
|
}[];
|
|
355
|
-
requestId: string;
|
|
356
402
|
title: string;
|
|
357
|
-
|
|
403
|
+
requestId: string;
|
|
358
404
|
toolCallId?: string | undefined;
|
|
359
|
-
|
|
360
|
-
preview?: string | undefined;
|
|
361
|
-
driver?: "none" | "remote" | "desktop" | undefined;
|
|
362
|
-
activity?: {
|
|
363
|
-
kind: "thinking" | "tool" | "responding";
|
|
364
|
-
title?: string | undefined;
|
|
365
|
-
toolKind?: "other" | "delete" | "read" | "edit" | "move" | "search" | "execute" | "think" | "fetch" | undefined;
|
|
405
|
+
detail?: string | undefined;
|
|
366
406
|
} | undefined;
|
|
367
407
|
queue?: {
|
|
368
|
-
text: string;
|
|
369
|
-
clientMessageId: string;
|
|
370
408
|
images: number;
|
|
409
|
+
clientMessageId: string;
|
|
410
|
+
text: string;
|
|
371
411
|
}[] | undefined;
|
|
412
|
+
subagents?: {
|
|
413
|
+
running: number;
|
|
414
|
+
total: number;
|
|
415
|
+
} | undefined;
|
|
372
416
|
}, {
|
|
417
|
+
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
373
418
|
id: string;
|
|
419
|
+
agent: string;
|
|
420
|
+
nativeId: string;
|
|
374
421
|
cwd: string;
|
|
375
|
-
createdAt: number;
|
|
376
422
|
pendingPermissions: number;
|
|
423
|
+
createdAt: number;
|
|
377
424
|
updatedAt: number;
|
|
378
|
-
archived: boolean;
|
|
379
|
-
state: "idle" | "error" | "running" | "waiting" | "offline";
|
|
380
|
-
agent: string;
|
|
381
|
-
nativeId: string;
|
|
382
425
|
lastSeq: number;
|
|
426
|
+
archived: boolean;
|
|
383
427
|
title?: string | undefined;
|
|
428
|
+
preview?: string | undefined;
|
|
429
|
+
driver?: "remote" | "desktop" | "none" | undefined;
|
|
384
430
|
model?: string | undefined;
|
|
431
|
+
activity?: {
|
|
432
|
+
kind: "thinking" | "responding" | "tool";
|
|
433
|
+
title?: string | undefined;
|
|
434
|
+
toolKind?: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other" | undefined;
|
|
435
|
+
} | undefined;
|
|
385
436
|
permission?: {
|
|
386
437
|
options: {
|
|
438
|
+
optionId: string;
|
|
387
439
|
name: string;
|
|
388
440
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
389
|
-
optionId: string;
|
|
390
441
|
}[];
|
|
391
|
-
requestId: string;
|
|
392
442
|
title: string;
|
|
393
|
-
|
|
443
|
+
requestId: string;
|
|
394
444
|
toolCallId?: string | undefined;
|
|
395
|
-
|
|
396
|
-
preview?: string | undefined;
|
|
397
|
-
driver?: "none" | "remote" | "desktop" | undefined;
|
|
398
|
-
activity?: {
|
|
399
|
-
kind: "thinking" | "tool" | "responding";
|
|
400
|
-
title?: string | undefined;
|
|
401
|
-
toolKind?: "other" | "delete" | "read" | "edit" | "move" | "search" | "execute" | "think" | "fetch" | undefined;
|
|
445
|
+
detail?: string | undefined;
|
|
402
446
|
} | undefined;
|
|
403
447
|
queue?: {
|
|
404
|
-
text: string;
|
|
405
|
-
clientMessageId: string;
|
|
406
448
|
images: number;
|
|
449
|
+
clientMessageId: string;
|
|
450
|
+
text: string;
|
|
407
451
|
}[] | undefined;
|
|
452
|
+
subagents?: {
|
|
453
|
+
running: number;
|
|
454
|
+
total: number;
|
|
455
|
+
} | undefined;
|
|
408
456
|
}>;
|
|
409
457
|
export type SessionSummary = z.infer<typeof sessionSummarySchema>;
|
|
410
458
|
export declare function sessionIdFor(agent: string, nativeId: string): string;
|
|
@@ -418,13 +466,13 @@ export declare const projectSummarySchema: z.ZodObject<{
|
|
|
418
466
|
lastActiveAt: z.ZodNumber;
|
|
419
467
|
sessionCount: z.ZodNumber;
|
|
420
468
|
}, "strip", z.ZodTypeAny, {
|
|
421
|
-
cwd: string;
|
|
422
469
|
name: string;
|
|
470
|
+
cwd: string;
|
|
423
471
|
lastActiveAt: number;
|
|
424
472
|
sessionCount: number;
|
|
425
473
|
}, {
|
|
426
|
-
cwd: string;
|
|
427
474
|
name: string;
|
|
475
|
+
cwd: string;
|
|
428
476
|
lastActiveAt: number;
|
|
429
477
|
sessionCount: number;
|
|
430
478
|
}>;
|
|
@@ -469,36 +517,36 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
469
517
|
models: z.ZodBoolean;
|
|
470
518
|
modes: z.ZodBoolean;
|
|
471
519
|
}, "strip", z.ZodTypeAny, {
|
|
472
|
-
models: boolean;
|
|
473
|
-
modes: boolean;
|
|
474
|
-
steer: boolean;
|
|
475
520
|
interrupt: boolean;
|
|
521
|
+
steer: boolean;
|
|
476
522
|
permissions: boolean;
|
|
477
523
|
images: boolean;
|
|
478
524
|
fork: boolean;
|
|
479
|
-
}, {
|
|
480
525
|
models: boolean;
|
|
481
526
|
modes: boolean;
|
|
482
|
-
|
|
527
|
+
}, {
|
|
483
528
|
interrupt: boolean;
|
|
529
|
+
steer: boolean;
|
|
484
530
|
permissions: boolean;
|
|
485
531
|
images: boolean;
|
|
486
532
|
fork: boolean;
|
|
533
|
+
models: boolean;
|
|
534
|
+
modes: boolean;
|
|
487
535
|
}>;
|
|
488
536
|
}, "strip", z.ZodTypeAny, {
|
|
489
537
|
id: string;
|
|
490
538
|
label: string;
|
|
539
|
+
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
540
|
+
installed: boolean;
|
|
491
541
|
capabilities: {
|
|
492
|
-
models: boolean;
|
|
493
|
-
modes: boolean;
|
|
494
|
-
steer: boolean;
|
|
495
542
|
interrupt: boolean;
|
|
543
|
+
steer: boolean;
|
|
496
544
|
permissions: boolean;
|
|
497
545
|
images: boolean;
|
|
498
546
|
fork: boolean;
|
|
547
|
+
models: boolean;
|
|
548
|
+
modes: boolean;
|
|
499
549
|
};
|
|
500
|
-
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
501
|
-
installed: boolean;
|
|
502
550
|
version?: string | undefined;
|
|
503
551
|
problem?: string | undefined;
|
|
504
552
|
auth?: {
|
|
@@ -509,17 +557,17 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
509
557
|
}, {
|
|
510
558
|
id: string;
|
|
511
559
|
label: string;
|
|
560
|
+
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
561
|
+
installed: boolean;
|
|
512
562
|
capabilities: {
|
|
513
|
-
models: boolean;
|
|
514
|
-
modes: boolean;
|
|
515
|
-
steer: boolean;
|
|
516
563
|
interrupt: boolean;
|
|
564
|
+
steer: boolean;
|
|
517
565
|
permissions: boolean;
|
|
518
566
|
images: boolean;
|
|
519
567
|
fork: boolean;
|
|
568
|
+
models: boolean;
|
|
569
|
+
modes: boolean;
|
|
520
570
|
};
|
|
521
|
-
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
522
|
-
installed: boolean;
|
|
523
571
|
version?: string | undefined;
|
|
524
572
|
problem?: string | undefined;
|
|
525
573
|
auth?: {
|
|
@@ -536,17 +584,17 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
536
584
|
agents: {
|
|
537
585
|
id: string;
|
|
538
586
|
label: string;
|
|
587
|
+
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
588
|
+
installed: boolean;
|
|
539
589
|
capabilities: {
|
|
540
|
-
models: boolean;
|
|
541
|
-
modes: boolean;
|
|
542
|
-
steer: boolean;
|
|
543
590
|
interrupt: boolean;
|
|
591
|
+
steer: boolean;
|
|
544
592
|
permissions: boolean;
|
|
545
593
|
images: boolean;
|
|
546
594
|
fork: boolean;
|
|
595
|
+
models: boolean;
|
|
596
|
+
modes: boolean;
|
|
547
597
|
};
|
|
548
|
-
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
549
|
-
installed: boolean;
|
|
550
598
|
version?: string | undefined;
|
|
551
599
|
problem?: string | undefined;
|
|
552
600
|
auth?: {
|
|
@@ -564,17 +612,17 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
564
612
|
agents: {
|
|
565
613
|
id: string;
|
|
566
614
|
label: string;
|
|
615
|
+
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
616
|
+
installed: boolean;
|
|
567
617
|
capabilities: {
|
|
568
|
-
models: boolean;
|
|
569
|
-
modes: boolean;
|
|
570
|
-
steer: boolean;
|
|
571
618
|
interrupt: boolean;
|
|
619
|
+
steer: boolean;
|
|
572
620
|
permissions: boolean;
|
|
573
621
|
images: boolean;
|
|
574
622
|
fork: boolean;
|
|
623
|
+
models: boolean;
|
|
624
|
+
modes: boolean;
|
|
575
625
|
};
|
|
576
|
-
tier: "multi_client" | "handoff" | "remote" | "terminal";
|
|
577
|
-
installed: boolean;
|
|
578
626
|
version?: string | undefined;
|
|
579
627
|
problem?: string | undefined;
|
|
580
628
|
auth?: {
|
|
@@ -602,15 +650,15 @@ export declare const portInfoSchema: z.ZodObject<{
|
|
|
602
650
|
port: number;
|
|
603
651
|
process: string;
|
|
604
652
|
http: boolean;
|
|
605
|
-
cwd?: string | undefined;
|
|
606
653
|
title?: string | undefined;
|
|
654
|
+
cwd?: string | undefined;
|
|
607
655
|
pid?: number | undefined;
|
|
608
656
|
}, {
|
|
609
657
|
port: number;
|
|
610
658
|
process: string;
|
|
611
659
|
http: boolean;
|
|
612
|
-
cwd?: string | undefined;
|
|
613
660
|
title?: string | undefined;
|
|
661
|
+
cwd?: string | undefined;
|
|
614
662
|
pid?: number | undefined;
|
|
615
663
|
}>;
|
|
616
664
|
export type PortInfo = z.infer<typeof portInfoSchema>;
|
|
@@ -633,25 +681,25 @@ export declare const terminalInfoSchema: z.ZodObject<{
|
|
|
633
681
|
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
634
682
|
}, "strip", z.ZodTypeAny, {
|
|
635
683
|
id: string;
|
|
636
|
-
|
|
637
|
-
rows: number;
|
|
684
|
+
title: string;
|
|
638
685
|
cwd: string;
|
|
639
686
|
createdAt: number;
|
|
640
|
-
|
|
687
|
+
cols: number;
|
|
688
|
+
rows: number;
|
|
641
689
|
activeAt: number;
|
|
642
|
-
exitCode?: number | null | undefined;
|
|
643
690
|
command?: string | undefined;
|
|
691
|
+
exitCode?: number | null | undefined;
|
|
644
692
|
interrupted?: boolean | undefined;
|
|
645
693
|
}, {
|
|
646
694
|
id: string;
|
|
647
|
-
|
|
648
|
-
rows: number;
|
|
695
|
+
title: string;
|
|
649
696
|
cwd: string;
|
|
650
697
|
createdAt: number;
|
|
651
|
-
|
|
698
|
+
cols: number;
|
|
699
|
+
rows: number;
|
|
652
700
|
activeAt: number;
|
|
653
|
-
exitCode?: number | null | undefined;
|
|
654
701
|
command?: string | undefined;
|
|
702
|
+
exitCode?: number | null | undefined;
|
|
655
703
|
interrupted?: boolean | undefined;
|
|
656
704
|
}>;
|
|
657
705
|
export type TerminalInfo = z.infer<typeof terminalInfoSchema>;
|
|
@@ -706,7 +754,7 @@ export declare const gatewayStatusSchema: z.ZodObject<{
|
|
|
706
754
|
pairedAt: number;
|
|
707
755
|
}>, "many">;
|
|
708
756
|
}, "strip", z.ZodTypeAny, {
|
|
709
|
-
status: "
|
|
757
|
+
status: "offline" | "off" | "connecting" | "online";
|
|
710
758
|
devices: {
|
|
711
759
|
id: string;
|
|
712
760
|
name: string;
|
|
@@ -727,7 +775,7 @@ export declare const gatewayStatusSchema: z.ZodObject<{
|
|
|
727
775
|
email?: string | undefined;
|
|
728
776
|
} | undefined;
|
|
729
777
|
}, {
|
|
730
|
-
status: "
|
|
778
|
+
status: "offline" | "off" | "connecting" | "online";
|
|
731
779
|
devices: {
|
|
732
780
|
id: string;
|
|
733
781
|
name: string;
|
package/dist/wire/src/model.js
CHANGED
|
@@ -85,6 +85,18 @@ export const queuedMessageSchema = z.object({
|
|
|
85
85
|
text: z.string(),
|
|
86
86
|
images: z.number().int().nonnegative(),
|
|
87
87
|
});
|
|
88
|
+
/** A sub-agent a session started: the tool call it runs under, and how it is doing. */
|
|
89
|
+
export const subagentInfoSchema = z.object({
|
|
90
|
+
toolCallId: z.string(),
|
|
91
|
+
/** What it was asked to do. */
|
|
92
|
+
task: z.string(),
|
|
93
|
+
/** Its role or type, e.g. "Explore". */
|
|
94
|
+
agentType: z.string().optional(),
|
|
95
|
+
running: z.boolean(),
|
|
96
|
+
failed: z.boolean().optional(),
|
|
97
|
+
startedAt: z.number(),
|
|
98
|
+
endedAt: z.number().optional(),
|
|
99
|
+
});
|
|
88
100
|
export const sessionSummarySchema = z.object({
|
|
89
101
|
/** `${agent}:${nativeId}` — stable across daemon restarts and rediscovery. */
|
|
90
102
|
id: z.string().min(1),
|
|
@@ -108,6 +120,8 @@ export const sessionSummarySchema = z.object({
|
|
|
108
120
|
* holds them (agents that can't take input mid-turn). Oldest first.
|
|
109
121
|
*/
|
|
110
122
|
queue: z.array(queuedMessageSchema).optional(),
|
|
123
|
+
/** Live only, for sessions that started sub-agents: how many, and how many are working now (`sessions.subagents` lists them). */
|
|
124
|
+
subagents: z.object({ total: z.number().int(), running: z.number().int() }).optional(),
|
|
111
125
|
});
|
|
112
126
|
export function sessionIdFor(agent, nativeId) {
|
|
113
127
|
return `${agent}:${nativeId}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../../wire/src/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC;AAGzF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB,mEAAmE;IACnE,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;IACxB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,IAAI,EA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