@linkshell/wire 0.2.1 → 0.2.3
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/README.md +1 -1
- package/dist/computer-preview.d.ts +35 -0
- package/dist/computer-preview.js +51 -0
- package/dist/computer-preview.js.map +1 -0
- package/dist/goal.d.ts +66 -0
- package/dist/goal.js +19 -0
- package/dist/goal.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/model.d.ts +302 -32
- package/dist/model.js +37 -0
- package/dist/model.js.map +1 -1
- package/dist/relay.d.ts +2 -2
- package/dist/rpc.d.ts +4358 -856
- package/dist/rpc.js +41 -1
- package/dist/rpc.js.map +1 -1
- package/dist/updates.d.ts +2287 -668
- package/dist/updates.js +16 -1
- package/dist/updates.js.map +1 -1
- package/dist/workflow.d.ts +187 -0
- package/dist/workflow.js +35 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +2 -2
- package/src/computer-preview.ts +49 -0
- package/src/goal.ts +22 -0
- package/src/index.ts +3 -0
- package/src/model.ts +41 -0
- package/src/rpc.ts +41 -0
- package/src/updates.ts +16 -1
- package/src/workflow.ts +44 -0
package/dist/model.d.ts
CHANGED
|
@@ -179,12 +179,12 @@ export declare const permissionOptionSchema: z.ZodObject<{
|
|
|
179
179
|
name: z.ZodString;
|
|
180
180
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
optionId: string;
|
|
183
182
|
name: string;
|
|
183
|
+
optionId: string;
|
|
184
184
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
185
185
|
}, {
|
|
186
|
-
optionId: string;
|
|
187
186
|
name: string;
|
|
187
|
+
optionId: string;
|
|
188
188
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
189
189
|
}>;
|
|
190
190
|
export type PermissionOption = z.infer<typeof permissionOptionSchema>;
|
|
@@ -269,12 +269,12 @@ export declare const questionAnswerSchema: z.ZodObject<{
|
|
|
269
269
|
/** The user's own answer beside the options. */
|
|
270
270
|
other: z.ZodOptional<z.ZodString>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
|
-
values: string[];
|
|
273
272
|
id: string;
|
|
273
|
+
values: string[];
|
|
274
274
|
other?: string | undefined;
|
|
275
275
|
}, {
|
|
276
|
-
values: string[];
|
|
277
276
|
id: string;
|
|
277
|
+
values: string[];
|
|
278
278
|
other?: string | undefined;
|
|
279
279
|
}>;
|
|
280
280
|
export type QuestionAnswer = z.infer<typeof questionAnswerSchema>;
|
|
@@ -288,12 +288,12 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
288
288
|
name: z.ZodString;
|
|
289
289
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
290
290
|
}, "strip", z.ZodTypeAny, {
|
|
291
|
-
optionId: string;
|
|
292
291
|
name: string;
|
|
292
|
+
optionId: string;
|
|
293
293
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
294
294
|
}, {
|
|
295
|
-
optionId: string;
|
|
296
295
|
name: string;
|
|
296
|
+
optionId: string;
|
|
297
297
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
298
298
|
}>, "many">;
|
|
299
299
|
/** Set when this is a question to answer (`sessions.answer`) rather than a permission to give. */
|
|
@@ -351,8 +351,8 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
351
351
|
}>, "many">>;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
353
|
options: {
|
|
354
|
-
optionId: string;
|
|
355
354
|
name: string;
|
|
355
|
+
optionId: string;
|
|
356
356
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
357
357
|
}[];
|
|
358
358
|
title: string;
|
|
@@ -375,8 +375,8 @@ export declare const pendingPermissionSchema: z.ZodObject<{
|
|
|
375
375
|
}[] | undefined;
|
|
376
376
|
}, {
|
|
377
377
|
options: {
|
|
378
|
-
optionId: string;
|
|
379
378
|
name: string;
|
|
379
|
+
optionId: string;
|
|
380
380
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
381
381
|
}[];
|
|
382
382
|
title: string;
|
|
@@ -417,6 +417,7 @@ export type QueuedMessage = z.infer<typeof queuedMessageSchema>;
|
|
|
417
417
|
/** A sub-agent a session started: the tool call it runs under, and how it is doing. */
|
|
418
418
|
export declare const subagentInfoSchema: z.ZodObject<{
|
|
419
419
|
toolCallId: z.ZodString;
|
|
420
|
+
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
420
421
|
/** What it was asked to do. */
|
|
421
422
|
task: z.ZodString;
|
|
422
423
|
/** Its role or type, e.g. "Explore". */
|
|
@@ -425,24 +426,274 @@ export declare const subagentInfoSchema: z.ZodObject<{
|
|
|
425
426
|
failed: z.ZodOptional<z.ZodBoolean>;
|
|
426
427
|
startedAt: z.ZodNumber;
|
|
427
428
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
429
|
+
state: z.ZodOptional<z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>>;
|
|
430
|
+
workflow: z.ZodOptional<z.ZodObject<{
|
|
431
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
432
|
+
name: z.ZodOptional<z.ZodString>;
|
|
433
|
+
state: z.ZodOptional<z.ZodEnum<["running", "paused", "completed", "failed", "stopped"]>>;
|
|
434
|
+
started: z.ZodOptional<z.ZodNumber>;
|
|
435
|
+
completed: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
437
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
438
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
439
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
440
|
+
phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
441
|
+
id: z.ZodString;
|
|
442
|
+
title: z.ZodString;
|
|
443
|
+
order: z.ZodNumber;
|
|
444
|
+
}, "strip", z.ZodTypeAny, {
|
|
445
|
+
id: string;
|
|
446
|
+
title: string;
|
|
447
|
+
order: number;
|
|
448
|
+
}, {
|
|
449
|
+
id: string;
|
|
450
|
+
title: string;
|
|
451
|
+
order: number;
|
|
452
|
+
}>, "many">>;
|
|
453
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
454
|
+
id: z.ZodString;
|
|
455
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
456
|
+
title: z.ZodString;
|
|
457
|
+
state: z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>;
|
|
458
|
+
phaseId: z.ZodOptional<z.ZodString>;
|
|
459
|
+
model: z.ZodOptional<z.ZodString>;
|
|
460
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
461
|
+
toolCalls: z.ZodOptional<z.ZodNumber>;
|
|
462
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
463
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
464
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
465
|
+
result: z.ZodOptional<z.ZodString>;
|
|
466
|
+
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
id: string;
|
|
468
|
+
title: string;
|
|
469
|
+
state: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending";
|
|
470
|
+
toolCallId?: string | undefined;
|
|
471
|
+
phaseId?: string | undefined;
|
|
472
|
+
model?: string | undefined;
|
|
473
|
+
tokens?: number | undefined;
|
|
474
|
+
toolCalls?: number | undefined;
|
|
475
|
+
durationMs?: number | undefined;
|
|
476
|
+
startedAt?: number | undefined;
|
|
477
|
+
endedAt?: number | undefined;
|
|
478
|
+
result?: string | undefined;
|
|
479
|
+
}, {
|
|
480
|
+
id: string;
|
|
481
|
+
title: string;
|
|
482
|
+
state: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending";
|
|
483
|
+
toolCallId?: string | undefined;
|
|
484
|
+
phaseId?: string | undefined;
|
|
485
|
+
model?: string | undefined;
|
|
486
|
+
tokens?: number | undefined;
|
|
487
|
+
toolCalls?: number | undefined;
|
|
488
|
+
durationMs?: number | undefined;
|
|
489
|
+
startedAt?: number | undefined;
|
|
490
|
+
endedAt?: number | undefined;
|
|
491
|
+
result?: string | undefined;
|
|
492
|
+
}>, "many">>;
|
|
493
|
+
}, "strip", z.ZodTypeAny, {
|
|
494
|
+
completed?: number | undefined;
|
|
495
|
+
state?: "paused" | "running" | "completed" | "failed" | "stopped" | undefined;
|
|
496
|
+
tokens?: number | undefined;
|
|
497
|
+
durationMs?: number | undefined;
|
|
498
|
+
startedAt?: number | undefined;
|
|
499
|
+
endedAt?: number | undefined;
|
|
500
|
+
runId?: string | undefined;
|
|
501
|
+
name?: string | undefined;
|
|
502
|
+
started?: number | undefined;
|
|
503
|
+
phases?: {
|
|
504
|
+
id: string;
|
|
505
|
+
title: string;
|
|
506
|
+
order: number;
|
|
507
|
+
}[] | undefined;
|
|
508
|
+
agents?: {
|
|
509
|
+
id: string;
|
|
510
|
+
title: string;
|
|
511
|
+
state: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending";
|
|
512
|
+
toolCallId?: string | undefined;
|
|
513
|
+
phaseId?: string | undefined;
|
|
514
|
+
model?: string | undefined;
|
|
515
|
+
tokens?: number | undefined;
|
|
516
|
+
toolCalls?: number | undefined;
|
|
517
|
+
durationMs?: number | undefined;
|
|
518
|
+
startedAt?: number | undefined;
|
|
519
|
+
endedAt?: number | undefined;
|
|
520
|
+
result?: string | undefined;
|
|
521
|
+
}[] | undefined;
|
|
522
|
+
}, {
|
|
523
|
+
completed?: number | undefined;
|
|
524
|
+
state?: "paused" | "running" | "completed" | "failed" | "stopped" | undefined;
|
|
525
|
+
tokens?: number | undefined;
|
|
526
|
+
durationMs?: number | undefined;
|
|
527
|
+
startedAt?: number | undefined;
|
|
528
|
+
endedAt?: number | undefined;
|
|
529
|
+
runId?: string | undefined;
|
|
530
|
+
name?: string | undefined;
|
|
531
|
+
started?: number | undefined;
|
|
532
|
+
phases?: {
|
|
533
|
+
id: string;
|
|
534
|
+
title: string;
|
|
535
|
+
order: number;
|
|
536
|
+
}[] | undefined;
|
|
537
|
+
agents?: {
|
|
538
|
+
id: string;
|
|
539
|
+
title: string;
|
|
540
|
+
state: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending";
|
|
541
|
+
toolCallId?: string | undefined;
|
|
542
|
+
phaseId?: string | undefined;
|
|
543
|
+
model?: string | undefined;
|
|
544
|
+
tokens?: number | undefined;
|
|
545
|
+
toolCalls?: number | undefined;
|
|
546
|
+
durationMs?: number | undefined;
|
|
547
|
+
startedAt?: number | undefined;
|
|
548
|
+
endedAt?: number | undefined;
|
|
549
|
+
result?: string | undefined;
|
|
550
|
+
}[] | undefined;
|
|
551
|
+
}>>;
|
|
552
|
+
/** Orders list snapshots against events arriving while the request is in flight. */
|
|
553
|
+
lastSeq: z.ZodOptional<z.ZodNumber>;
|
|
428
554
|
}, "strip", z.ZodTypeAny, {
|
|
429
555
|
running: boolean;
|
|
430
556
|
toolCallId: string;
|
|
431
|
-
task: string;
|
|
432
557
|
startedAt: number;
|
|
433
|
-
|
|
558
|
+
task: string;
|
|
434
559
|
failed?: boolean | undefined;
|
|
560
|
+
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
435
561
|
endedAt?: number | undefined;
|
|
562
|
+
parentToolCallId?: string | undefined;
|
|
563
|
+
agentType?: string | undefined;
|
|
564
|
+
workflow?: {
|
|
565
|
+
completed?: number | undefined;
|
|
566
|
+
state?: "paused" | "running" | "completed" | "failed" | "stopped" | undefined;
|
|
567
|
+
tokens?: number | undefined;
|
|
568
|
+
durationMs?: number | undefined;
|
|
569
|
+
startedAt?: number | undefined;
|
|
570
|
+
endedAt?: number | undefined;
|
|
571
|
+
runId?: string | undefined;
|
|
572
|
+
name?: string | undefined;
|
|
573
|
+
started?: number | undefined;
|
|
574
|
+
phases?: {
|
|
575
|
+
id: string;
|
|
576
|
+
title: string;
|
|
577
|
+
order: number;
|
|
578
|
+
}[] | undefined;
|
|
579
|
+
agents?: {
|
|
580
|
+
id: string;
|
|
581
|
+
title: string;
|
|
582
|
+
state: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending";
|
|
583
|
+
toolCallId?: string | undefined;
|
|
584
|
+
phaseId?: string | undefined;
|
|
585
|
+
model?: string | undefined;
|
|
586
|
+
tokens?: number | undefined;
|
|
587
|
+
toolCalls?: number | undefined;
|
|
588
|
+
durationMs?: number | undefined;
|
|
589
|
+
startedAt?: number | undefined;
|
|
590
|
+
endedAt?: number | undefined;
|
|
591
|
+
result?: string | undefined;
|
|
592
|
+
}[] | undefined;
|
|
593
|
+
} | undefined;
|
|
594
|
+
lastSeq?: number | undefined;
|
|
436
595
|
}, {
|
|
437
596
|
running: boolean;
|
|
438
597
|
toolCallId: string;
|
|
439
|
-
task: string;
|
|
440
598
|
startedAt: number;
|
|
441
|
-
|
|
599
|
+
task: string;
|
|
442
600
|
failed?: boolean | undefined;
|
|
601
|
+
state?: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending" | undefined;
|
|
443
602
|
endedAt?: number | undefined;
|
|
603
|
+
parentToolCallId?: string | undefined;
|
|
604
|
+
agentType?: string | undefined;
|
|
605
|
+
workflow?: {
|
|
606
|
+
completed?: number | undefined;
|
|
607
|
+
state?: "paused" | "running" | "completed" | "failed" | "stopped" | undefined;
|
|
608
|
+
tokens?: number | undefined;
|
|
609
|
+
durationMs?: number | undefined;
|
|
610
|
+
startedAt?: number | undefined;
|
|
611
|
+
endedAt?: number | undefined;
|
|
612
|
+
runId?: string | undefined;
|
|
613
|
+
name?: string | undefined;
|
|
614
|
+
started?: number | undefined;
|
|
615
|
+
phases?: {
|
|
616
|
+
id: string;
|
|
617
|
+
title: string;
|
|
618
|
+
order: number;
|
|
619
|
+
}[] | undefined;
|
|
620
|
+
agents?: {
|
|
621
|
+
id: string;
|
|
622
|
+
title: string;
|
|
623
|
+
state: "unknown" | "paused" | "running" | "completed" | "failed" | "stopped" | "pending";
|
|
624
|
+
toolCallId?: string | undefined;
|
|
625
|
+
phaseId?: string | undefined;
|
|
626
|
+
model?: string | undefined;
|
|
627
|
+
tokens?: number | undefined;
|
|
628
|
+
toolCalls?: number | undefined;
|
|
629
|
+
durationMs?: number | undefined;
|
|
630
|
+
startedAt?: number | undefined;
|
|
631
|
+
endedAt?: number | undefined;
|
|
632
|
+
result?: string | undefined;
|
|
633
|
+
}[] | undefined;
|
|
634
|
+
} | undefined;
|
|
635
|
+
lastSeq?: number | undefined;
|
|
444
636
|
}>;
|
|
445
637
|
export type SubagentInfo = z.infer<typeof subagentInfoSchema>;
|
|
638
|
+
/**
|
|
639
|
+
* A command the agent left running after its call returned (a background
|
|
640
|
+
* shell, a dev server, a watcher). Sub-agents and workflows are not tasks:
|
|
641
|
+
* they have their own records (`SubagentInfo`).
|
|
642
|
+
*/
|
|
643
|
+
export declare const backgroundTaskStateSchema: z.ZodEnum<["running", "completed", "failed", "stopped", "unknown"]>;
|
|
644
|
+
export type BackgroundTaskState = z.infer<typeof backgroundTaskStateSchema>;
|
|
645
|
+
export declare const backgroundTaskSchema: z.ZodObject<{
|
|
646
|
+
/** The agent's own id for it. */
|
|
647
|
+
id: z.ZodString;
|
|
648
|
+
/** shell: a command; monitor: a command whose output the agent is told about as it comes. */
|
|
649
|
+
kind: z.ZodEnum<["shell", "monitor"]>;
|
|
650
|
+
/** The tool call that started it. */
|
|
651
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
652
|
+
title: z.ZodString;
|
|
653
|
+
command: z.ZodOptional<z.ZodString>;
|
|
654
|
+
/** `unknown`: it was running when the host lost track of it (its agent quit without saying how it ended). */
|
|
655
|
+
state: z.ZodEnum<["running", "completed", "failed", "stopped", "unknown"]>;
|
|
656
|
+
startedAt: z.ZodNumber;
|
|
657
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
658
|
+
/** How it ended, or the latest thing it reported, as the agent says it. */
|
|
659
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
660
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
661
|
+
/** Its output can be read (`sessions.taskOutput`). */
|
|
662
|
+
output: z.ZodOptional<z.ZodBoolean>;
|
|
663
|
+
/** It can be stopped from here (`sessions.stopTask`). */
|
|
664
|
+
canStop: z.ZodOptional<z.ZodBoolean>;
|
|
665
|
+
/** Orders list snapshots against events arriving while the request is in flight. */
|
|
666
|
+
lastSeq: z.ZodOptional<z.ZodNumber>;
|
|
667
|
+
}, "strip", z.ZodTypeAny, {
|
|
668
|
+
id: string;
|
|
669
|
+
title: string;
|
|
670
|
+
state: "unknown" | "running" | "completed" | "failed" | "stopped";
|
|
671
|
+
startedAt: number;
|
|
672
|
+
kind: "shell" | "monitor";
|
|
673
|
+
toolCallId?: string | undefined;
|
|
674
|
+
endedAt?: number | undefined;
|
|
675
|
+
lastSeq?: number | undefined;
|
|
676
|
+
command?: string | undefined;
|
|
677
|
+
summary?: string | undefined;
|
|
678
|
+
exitCode?: number | undefined;
|
|
679
|
+
output?: boolean | undefined;
|
|
680
|
+
canStop?: boolean | undefined;
|
|
681
|
+
}, {
|
|
682
|
+
id: string;
|
|
683
|
+
title: string;
|
|
684
|
+
state: "unknown" | "running" | "completed" | "failed" | "stopped";
|
|
685
|
+
startedAt: number;
|
|
686
|
+
kind: "shell" | "monitor";
|
|
687
|
+
toolCallId?: string | undefined;
|
|
688
|
+
endedAt?: number | undefined;
|
|
689
|
+
lastSeq?: number | undefined;
|
|
690
|
+
command?: string | undefined;
|
|
691
|
+
summary?: string | undefined;
|
|
692
|
+
exitCode?: number | undefined;
|
|
693
|
+
output?: boolean | undefined;
|
|
694
|
+
canStop?: boolean | undefined;
|
|
695
|
+
}>;
|
|
696
|
+
export type BackgroundTask = z.infer<typeof backgroundTaskSchema>;
|
|
446
697
|
export declare const sessionSummarySchema: z.ZodObject<{
|
|
447
698
|
/** `${agent}:${nativeId}` — stable across daemon restarts and rediscovery. */
|
|
448
699
|
id: z.ZodString;
|
|
@@ -482,12 +733,12 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
482
733
|
name: z.ZodString;
|
|
483
734
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
484
735
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
optionId: string;
|
|
486
736
|
name: string;
|
|
737
|
+
optionId: string;
|
|
487
738
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
488
739
|
}, {
|
|
489
|
-
optionId: string;
|
|
490
740
|
name: string;
|
|
741
|
+
optionId: string;
|
|
491
742
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
492
743
|
}>, "many">;
|
|
493
744
|
/** Set when this is a question to answer (`sessions.answer`) rather than a permission to give. */
|
|
@@ -545,8 +796,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
545
796
|
}>, "many">>;
|
|
546
797
|
}, "strip", z.ZodTypeAny, {
|
|
547
798
|
options: {
|
|
548
|
-
optionId: string;
|
|
549
799
|
name: string;
|
|
800
|
+
optionId: string;
|
|
550
801
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
551
802
|
}[];
|
|
552
803
|
title: string;
|
|
@@ -569,8 +820,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
569
820
|
}[] | undefined;
|
|
570
821
|
}, {
|
|
571
822
|
options: {
|
|
572
|
-
optionId: string;
|
|
573
823
|
name: string;
|
|
824
|
+
optionId: string;
|
|
574
825
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
575
826
|
}[];
|
|
576
827
|
title: string;
|
|
@@ -637,21 +888,32 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
637
888
|
running: number;
|
|
638
889
|
total: number;
|
|
639
890
|
}>>;
|
|
891
|
+
/** Live only, for sessions that left commands running: how many, and how many still run (`sessions.tasks` lists them). */
|
|
892
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
893
|
+
total: z.ZodNumber;
|
|
894
|
+
running: z.ZodNumber;
|
|
895
|
+
}, "strip", z.ZodTypeAny, {
|
|
896
|
+
running: number;
|
|
897
|
+
total: number;
|
|
898
|
+
}, {
|
|
899
|
+
running: number;
|
|
900
|
+
total: number;
|
|
901
|
+
}>>;
|
|
640
902
|
}, "strip", z.ZodTypeAny, {
|
|
641
|
-
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
642
903
|
id: string;
|
|
904
|
+
state: "error" | "running" | "idle" | "waiting" | "offline";
|
|
905
|
+
lastSeq: number;
|
|
643
906
|
agent: string;
|
|
644
907
|
nativeId: string;
|
|
645
908
|
cwd: string;
|
|
646
909
|
pendingPermissions: number;
|
|
647
910
|
createdAt: number;
|
|
648
911
|
updatedAt: number;
|
|
649
|
-
lastSeq: number;
|
|
650
912
|
archived: boolean;
|
|
651
913
|
title?: string | undefined;
|
|
914
|
+
model?: string | undefined;
|
|
652
915
|
preview?: string | undefined;
|
|
653
916
|
driver?: "remote" | "desktop" | "none" | undefined;
|
|
654
|
-
model?: string | undefined;
|
|
655
917
|
activity?: {
|
|
656
918
|
kind: "thinking" | "responding" | "tool";
|
|
657
919
|
title?: string | undefined;
|
|
@@ -659,8 +921,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
659
921
|
} | undefined;
|
|
660
922
|
permission?: {
|
|
661
923
|
options: {
|
|
662
|
-
optionId: string;
|
|
663
924
|
name: string;
|
|
925
|
+
optionId: string;
|
|
664
926
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
665
927
|
}[];
|
|
666
928
|
title: string;
|
|
@@ -695,21 +957,25 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
695
957
|
running: number;
|
|
696
958
|
total: number;
|
|
697
959
|
} | undefined;
|
|
960
|
+
tasks?: {
|
|
961
|
+
running: number;
|
|
962
|
+
total: number;
|
|
963
|
+
} | undefined;
|
|
698
964
|
}, {
|
|
699
|
-
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
700
965
|
id: string;
|
|
966
|
+
state: "error" | "running" | "idle" | "waiting" | "offline";
|
|
967
|
+
lastSeq: number;
|
|
701
968
|
agent: string;
|
|
702
969
|
nativeId: string;
|
|
703
970
|
cwd: string;
|
|
704
971
|
pendingPermissions: number;
|
|
705
972
|
createdAt: number;
|
|
706
973
|
updatedAt: number;
|
|
707
|
-
lastSeq: number;
|
|
708
974
|
archived: boolean;
|
|
709
975
|
title?: string | undefined;
|
|
976
|
+
model?: string | undefined;
|
|
710
977
|
preview?: string | undefined;
|
|
711
978
|
driver?: "remote" | "desktop" | "none" | undefined;
|
|
712
|
-
model?: string | undefined;
|
|
713
979
|
activity?: {
|
|
714
980
|
kind: "thinking" | "responding" | "tool";
|
|
715
981
|
title?: string | undefined;
|
|
@@ -717,8 +983,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
717
983
|
} | undefined;
|
|
718
984
|
permission?: {
|
|
719
985
|
options: {
|
|
720
|
-
optionId: string;
|
|
721
986
|
name: string;
|
|
987
|
+
optionId: string;
|
|
722
988
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
723
989
|
}[];
|
|
724
990
|
title: string;
|
|
@@ -753,6 +1019,10 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
753
1019
|
running: number;
|
|
754
1020
|
total: number;
|
|
755
1021
|
} | undefined;
|
|
1022
|
+
tasks?: {
|
|
1023
|
+
running: number;
|
|
1024
|
+
total: number;
|
|
1025
|
+
} | undefined;
|
|
756
1026
|
}>;
|
|
757
1027
|
export type SessionSummary = z.infer<typeof sessionSummarySchema>;
|
|
758
1028
|
export declare function sessionIdFor(agent: string, nativeId: string): string;
|
|
@@ -952,10 +1222,6 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
952
1222
|
iceServers: string[];
|
|
953
1223
|
}>>;
|
|
954
1224
|
}, "strip", z.ZodTypeAny, {
|
|
955
|
-
machineId: string;
|
|
956
|
-
hostname: string;
|
|
957
|
-
platform: string;
|
|
958
|
-
hostVersion: string;
|
|
959
1225
|
agents: {
|
|
960
1226
|
id: string;
|
|
961
1227
|
label: string;
|
|
@@ -978,15 +1244,15 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
978
1244
|
hint?: string | undefined;
|
|
979
1245
|
} | undefined;
|
|
980
1246
|
}[];
|
|
1247
|
+
machineId: string;
|
|
1248
|
+
hostname: string;
|
|
1249
|
+
platform: string;
|
|
1250
|
+
hostVersion: string;
|
|
981
1251
|
home?: string | undefined;
|
|
982
1252
|
direct?: {
|
|
983
1253
|
iceServers: string[];
|
|
984
1254
|
} | undefined;
|
|
985
1255
|
}, {
|
|
986
|
-
machineId: string;
|
|
987
|
-
hostname: string;
|
|
988
|
-
platform: string;
|
|
989
|
-
hostVersion: string;
|
|
990
1256
|
agents: {
|
|
991
1257
|
id: string;
|
|
992
1258
|
label: string;
|
|
@@ -1009,6 +1275,10 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
1009
1275
|
hint?: string | undefined;
|
|
1010
1276
|
} | undefined;
|
|
1011
1277
|
}[];
|
|
1278
|
+
machineId: string;
|
|
1279
|
+
hostname: string;
|
|
1280
|
+
platform: string;
|
|
1281
|
+
hostVersion: string;
|
|
1012
1282
|
home?: string | undefined;
|
|
1013
1283
|
direct?: {
|
|
1014
1284
|
iceServers: string[];
|
package/dist/model.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { workflowAgentStateSchema, workflowSchema } from "./workflow.js";
|
|
2
3
|
/**
|
|
3
4
|
* How far LinkShell can take a given agent. The UI renders capabilities from
|
|
4
5
|
* this instead of guessing:
|
|
@@ -122,6 +123,7 @@ export const queuedMessageSchema = z.object({
|
|
|
122
123
|
/** A sub-agent a session started: the tool call it runs under, and how it is doing. */
|
|
123
124
|
export const subagentInfoSchema = z.object({
|
|
124
125
|
toolCallId: z.string(),
|
|
126
|
+
parentToolCallId: z.string().optional(),
|
|
125
127
|
/** What it was asked to do. */
|
|
126
128
|
task: z.string(),
|
|
127
129
|
/** Its role or type, e.g. "Explore". */
|
|
@@ -130,6 +132,39 @@ export const subagentInfoSchema = z.object({
|
|
|
130
132
|
failed: z.boolean().optional(),
|
|
131
133
|
startedAt: z.number(),
|
|
132
134
|
endedAt: z.number().optional(),
|
|
135
|
+
state: workflowAgentStateSchema.optional(),
|
|
136
|
+
workflow: workflowSchema.optional(),
|
|
137
|
+
/** Orders list snapshots against events arriving while the request is in flight. */
|
|
138
|
+
lastSeq: z.number().int().nonnegative().optional(),
|
|
139
|
+
});
|
|
140
|
+
/**
|
|
141
|
+
* A command the agent left running after its call returned (a background
|
|
142
|
+
* shell, a dev server, a watcher). Sub-agents and workflows are not tasks:
|
|
143
|
+
* they have their own records (`SubagentInfo`).
|
|
144
|
+
*/
|
|
145
|
+
export const backgroundTaskStateSchema = z.enum(["running", "completed", "failed", "stopped", "unknown"]);
|
|
146
|
+
export const backgroundTaskSchema = z.object({
|
|
147
|
+
/** The agent's own id for it. */
|
|
148
|
+
id: z.string(),
|
|
149
|
+
/** shell: a command; monitor: a command whose output the agent is told about as it comes. */
|
|
150
|
+
kind: z.enum(["shell", "monitor"]),
|
|
151
|
+
/** The tool call that started it. */
|
|
152
|
+
toolCallId: z.string().optional(),
|
|
153
|
+
title: z.string(),
|
|
154
|
+
command: z.string().optional(),
|
|
155
|
+
/** `unknown`: it was running when the host lost track of it (its agent quit without saying how it ended). */
|
|
156
|
+
state: backgroundTaskStateSchema,
|
|
157
|
+
startedAt: z.number(),
|
|
158
|
+
endedAt: z.number().optional(),
|
|
159
|
+
/** How it ended, or the latest thing it reported, as the agent says it. */
|
|
160
|
+
summary: z.string().optional(),
|
|
161
|
+
exitCode: z.number().int().optional(),
|
|
162
|
+
/** Its output can be read (`sessions.taskOutput`). */
|
|
163
|
+
output: z.boolean().optional(),
|
|
164
|
+
/** It can be stopped from here (`sessions.stopTask`). */
|
|
165
|
+
canStop: z.boolean().optional(),
|
|
166
|
+
/** Orders list snapshots against events arriving while the request is in flight. */
|
|
167
|
+
lastSeq: z.number().int().nonnegative().optional(),
|
|
133
168
|
});
|
|
134
169
|
export const sessionSummarySchema = z.object({
|
|
135
170
|
/** `${agent}:${nativeId}` — stable across daemon restarts and rediscovery. */
|
|
@@ -163,6 +198,8 @@ export const sessionSummarySchema = z.object({
|
|
|
163
198
|
worktree: z.object({ branch: z.string(), source: z.string() }).optional(),
|
|
164
199
|
/** Live only, for sessions that started sub-agents: how many, and how many are working now (`sessions.subagents` lists them). */
|
|
165
200
|
subagents: z.object({ total: z.number().int(), running: z.number().int() }).optional(),
|
|
201
|
+
/** Live only, for sessions that left commands running: how many, and how many still run (`sessions.tasks` lists them). */
|
|
202
|
+
tasks: z.object({ total: z.number().int(), running: z.number().int() }).optional(),
|
|
166
203
|
});
|
|
167
204
|
export function sessionIdFor(agent, nativeId) {
|
|
168
205
|
return `${agent}:${nativeId}`;
|
package/dist/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../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,OA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AC5G,CAAC,CAAC"}
|
package/dist/relay.d.ts
CHANGED
|
@@ -120,13 +120,13 @@ export declare const clientFrameSchema: z.ZodDiscriminatedUnion<"t", [z.ZodObjec
|
|
|
120
120
|
method: z.ZodString;
|
|
121
121
|
params: z.ZodOptional<z.ZodUnknown>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
method: string;
|
|
124
123
|
id: number;
|
|
124
|
+
method: string;
|
|
125
125
|
t: "req";
|
|
126
126
|
params?: unknown;
|
|
127
127
|
}, {
|
|
128
|
-
method: string;
|
|
129
128
|
id: number;
|
|
129
|
+
method: string;
|
|
130
130
|
t: "req";
|
|
131
131
|
params?: unknown;
|
|
132
132
|
}>, z.ZodObject<{
|