@linkshell/host 0.4.5 → 0.4.7
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 +2 -0
- package/dist/host/src/drivers/acp/mapper.js +5 -2
- package/dist/host/src/drivers/acp/mapper.js.map +1 -1
- package/dist/host/src/drivers/claude/activity.d.ts +40 -0
- package/dist/host/src/drivers/claude/activity.js +425 -0
- package/dist/host/src/drivers/claude/activity.js.map +1 -0
- package/dist/host/src/drivers/claude/driver.d.ts +2 -0
- package/dist/host/src/drivers/claude/driver.js +54 -5
- package/dist/host/src/drivers/claude/driver.js.map +1 -1
- package/dist/host/src/drivers/claude/transcript.d.ts +78 -13
- package/dist/host/src/drivers/claude/transcript.js +11 -3
- package/dist/host/src/drivers/claude/transcript.js.map +1 -1
- package/dist/host/src/drivers/codex/driver.js +24 -7
- package/dist/host/src/drivers/codex/driver.js.map +1 -1
- package/dist/host/src/drivers/codex/mapper.d.ts +3 -1
- package/dist/host/src/drivers/codex/mapper.js +39 -4
- package/dist/host/src/drivers/codex/mapper.js.map +1 -1
- package/dist/host/src/hub.js +16 -6
- package/dist/host/src/hub.js.map +1 -1
- package/dist/host/src/store.d.ts +3 -0
- package/dist/host/src/store.js +14 -5
- package/dist/host/src/store.js.map +1 -1
- package/dist/host/tsconfig.tsbuildinfo +1 -1
- package/dist/wire/src/index.d.ts +1 -0
- package/dist/wire/src/index.js +1 -0
- package/dist/wire/src/index.js.map +1 -1
- package/dist/wire/src/model.d.ts +222 -30
- package/dist/wire/src/model.js +6 -0
- package/dist/wire/src/model.js.map +1 -1
- package/dist/wire/src/relay.d.ts +4 -4
- package/dist/wire/src/rpc.d.ts +2743 -384
- package/dist/wire/src/updates.d.ts +1405 -98
- package/dist/wire/src/updates.js +5 -0
- package/dist/wire/src/updates.js.map +1 -1
- package/dist/wire/src/workflow.d.ts +187 -0
- package/dist/wire/src/workflow.js +35 -0
- package/dist/wire/src/workflow.js.map +1 -0
- package/package.json +2 -2
package/dist/wire/src/index.d.ts
CHANGED
package/dist/wire/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../wire/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../wire/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
|
package/dist/wire/src/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>;
|
|
@@ -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,22 +426,213 @@ 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: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown";
|
|
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: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown";
|
|
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?: "running" | "paused" | "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: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown";
|
|
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?: "running" | "paused" | "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: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown";
|
|
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?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
435
561
|
endedAt?: number | undefined;
|
|
562
|
+
parentToolCallId?: string | undefined;
|
|
563
|
+
agentType?: string | undefined;
|
|
564
|
+
workflow?: {
|
|
565
|
+
completed?: number | undefined;
|
|
566
|
+
state?: "running" | "paused" | "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: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown";
|
|
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?: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown" | undefined;
|
|
443
602
|
endedAt?: number | undefined;
|
|
603
|
+
parentToolCallId?: string | undefined;
|
|
604
|
+
agentType?: string | undefined;
|
|
605
|
+
workflow?: {
|
|
606
|
+
completed?: number | undefined;
|
|
607
|
+
state?: "running" | "paused" | "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: "running" | "paused" | "completed" | "failed" | "stopped" | "pending" | "unknown";
|
|
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>;
|
|
446
638
|
export declare const sessionSummarySchema: z.ZodObject<{
|
|
@@ -482,12 +674,12 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
482
674
|
name: z.ZodString;
|
|
483
675
|
kind: z.ZodEnum<["allow_once", "allow_always", "reject_once", "reject_always"]>;
|
|
484
676
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
optionId: string;
|
|
486
677
|
name: string;
|
|
678
|
+
optionId: string;
|
|
487
679
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
488
680
|
}, {
|
|
489
|
-
optionId: string;
|
|
490
681
|
name: string;
|
|
682
|
+
optionId: string;
|
|
491
683
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
492
684
|
}>, "many">;
|
|
493
685
|
/** Set when this is a question to answer (`sessions.answer`) rather than a permission to give. */
|
|
@@ -545,8 +737,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
545
737
|
}>, "many">>;
|
|
546
738
|
}, "strip", z.ZodTypeAny, {
|
|
547
739
|
options: {
|
|
548
|
-
optionId: string;
|
|
549
740
|
name: string;
|
|
741
|
+
optionId: string;
|
|
550
742
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
551
743
|
}[];
|
|
552
744
|
title: string;
|
|
@@ -569,8 +761,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
569
761
|
}[] | undefined;
|
|
570
762
|
}, {
|
|
571
763
|
options: {
|
|
572
|
-
optionId: string;
|
|
573
764
|
name: string;
|
|
765
|
+
optionId: string;
|
|
574
766
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
575
767
|
}[];
|
|
576
768
|
title: string;
|
|
@@ -638,20 +830,20 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
638
830
|
total: number;
|
|
639
831
|
}>>;
|
|
640
832
|
}, "strip", z.ZodTypeAny, {
|
|
641
|
-
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
642
833
|
id: string;
|
|
834
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
835
|
+
lastSeq: number;
|
|
643
836
|
agent: string;
|
|
644
837
|
nativeId: string;
|
|
645
838
|
cwd: string;
|
|
646
839
|
pendingPermissions: number;
|
|
647
840
|
createdAt: number;
|
|
648
841
|
updatedAt: number;
|
|
649
|
-
lastSeq: number;
|
|
650
842
|
archived: boolean;
|
|
651
843
|
title?: string | undefined;
|
|
844
|
+
model?: string | undefined;
|
|
652
845
|
preview?: string | undefined;
|
|
653
846
|
driver?: "remote" | "desktop" | "none" | undefined;
|
|
654
|
-
model?: string | undefined;
|
|
655
847
|
activity?: {
|
|
656
848
|
kind: "thinking" | "responding" | "tool";
|
|
657
849
|
title?: string | undefined;
|
|
@@ -659,8 +851,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
659
851
|
} | undefined;
|
|
660
852
|
permission?: {
|
|
661
853
|
options: {
|
|
662
|
-
optionId: string;
|
|
663
854
|
name: string;
|
|
855
|
+
optionId: string;
|
|
664
856
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
665
857
|
}[];
|
|
666
858
|
title: string;
|
|
@@ -696,20 +888,20 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
696
888
|
total: number;
|
|
697
889
|
} | undefined;
|
|
698
890
|
}, {
|
|
699
|
-
state: "idle" | "running" | "waiting" | "error" | "offline";
|
|
700
891
|
id: string;
|
|
892
|
+
state: "running" | "idle" | "waiting" | "error" | "offline";
|
|
893
|
+
lastSeq: number;
|
|
701
894
|
agent: string;
|
|
702
895
|
nativeId: string;
|
|
703
896
|
cwd: string;
|
|
704
897
|
pendingPermissions: number;
|
|
705
898
|
createdAt: number;
|
|
706
899
|
updatedAt: number;
|
|
707
|
-
lastSeq: number;
|
|
708
900
|
archived: boolean;
|
|
709
901
|
title?: string | undefined;
|
|
902
|
+
model?: string | undefined;
|
|
710
903
|
preview?: string | undefined;
|
|
711
904
|
driver?: "remote" | "desktop" | "none" | undefined;
|
|
712
|
-
model?: string | undefined;
|
|
713
905
|
activity?: {
|
|
714
906
|
kind: "thinking" | "responding" | "tool";
|
|
715
907
|
title?: string | undefined;
|
|
@@ -717,8 +909,8 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
717
909
|
} | undefined;
|
|
718
910
|
permission?: {
|
|
719
911
|
options: {
|
|
720
|
-
optionId: string;
|
|
721
912
|
name: string;
|
|
913
|
+
optionId: string;
|
|
722
914
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
723
915
|
}[];
|
|
724
916
|
title: string;
|
|
@@ -952,10 +1144,6 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
952
1144
|
iceServers: string[];
|
|
953
1145
|
}>>;
|
|
954
1146
|
}, "strip", z.ZodTypeAny, {
|
|
955
|
-
machineId: string;
|
|
956
|
-
hostname: string;
|
|
957
|
-
platform: string;
|
|
958
|
-
hostVersion: string;
|
|
959
1147
|
agents: {
|
|
960
1148
|
id: string;
|
|
961
1149
|
label: string;
|
|
@@ -978,15 +1166,15 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
978
1166
|
hint?: string | undefined;
|
|
979
1167
|
} | undefined;
|
|
980
1168
|
}[];
|
|
1169
|
+
machineId: string;
|
|
1170
|
+
hostname: string;
|
|
1171
|
+
platform: string;
|
|
1172
|
+
hostVersion: string;
|
|
981
1173
|
home?: string | undefined;
|
|
982
1174
|
direct?: {
|
|
983
1175
|
iceServers: string[];
|
|
984
1176
|
} | undefined;
|
|
985
1177
|
}, {
|
|
986
|
-
machineId: string;
|
|
987
|
-
hostname: string;
|
|
988
|
-
platform: string;
|
|
989
|
-
hostVersion: string;
|
|
990
1178
|
agents: {
|
|
991
1179
|
id: string;
|
|
992
1180
|
label: string;
|
|
@@ -1009,6 +1197,10 @@ export declare const machineInfoSchema: z.ZodObject<{
|
|
|
1009
1197
|
hint?: string | undefined;
|
|
1010
1198
|
} | undefined;
|
|
1011
1199
|
}[];
|
|
1200
|
+
machineId: string;
|
|
1201
|
+
hostname: string;
|
|
1202
|
+
platform: string;
|
|
1203
|
+
hostVersion: string;
|
|
1012
1204
|
home?: string | undefined;
|
|
1013
1205
|
direct?: {
|
|
1014
1206
|
iceServers: string[];
|
package/dist/wire/src/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,10 @@ 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(),
|
|
133
139
|
});
|
|
134
140
|
export const sessionSummarySchema = z.object({
|
|
135
141
|
/** `${agent}:${nativeId}` — stable across daemon restarts and rediscovery. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../../wire/src/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC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MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClF,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;CAC5G,CAAC,CAAC"}
|
package/dist/wire/src/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<{
|
|
@@ -187,19 +187,19 @@ export declare const serverFrameSchema: z.ZodDiscriminatedUnion<"t", [z.ZodObjec
|
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
id: number;
|
|
189
189
|
t: "res";
|
|
190
|
+
result?: unknown;
|
|
190
191
|
error?: {
|
|
191
192
|
code: string;
|
|
192
193
|
message: string;
|
|
193
194
|
} | undefined;
|
|
194
|
-
result?: unknown;
|
|
195
195
|
}, {
|
|
196
196
|
id: number;
|
|
197
197
|
t: "res";
|
|
198
|
+
result?: unknown;
|
|
198
199
|
error?: {
|
|
199
200
|
code: string;
|
|
200
201
|
message: string;
|
|
201
202
|
} | undefined;
|
|
202
|
-
result?: unknown;
|
|
203
203
|
}>, z.ZodObject<{
|
|
204
204
|
t: z.ZodLiteral<"event">;
|
|
205
205
|
name: z.ZodString;
|