@nyte-ai/schema 0.0.19 → 0.0.23
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/chunks/{browser-1nqahr9q.js → browser-ay8k1s1m.js} +4 -3
- package/dist/chunks/{browser-pvfshqyk.js → browser-etfrcxhb.js} +2 -2
- package/dist/chunks/{browser-hp9ze9ga.js → browser-fe66aj8v.js} +8 -2
- package/dist/chunks/{browser-sgst60b0.js → browser-fnanbp6m.js} +4 -1
- package/dist/chunks/{browser-jgxe05s4.js → browser-gzn951k8.js} +2 -2
- package/dist/chunks/{browser-j150etqf.js → browser-t5xqtqzh.js} +8 -6
- package/dist/chunks/{browser-3exd93gm.js → browser-xk4psyrx.js} +1 -1
- package/dist/src/events.d.ts +2 -0
- package/dist/src/events.js +2 -2
- package/dist/src/index.js +11 -7
- package/dist/src/parts.d.ts +7 -0
- package/dist/src/parts.js +3 -1
- package/dist/src/store.d.ts +1 -0
- package/dist/src/store.js +3 -3
- package/dist/src/views.d.ts +186 -0
- package/dist/src/views.js +4 -2
- package/dist/src/wire/operations/host.d.ts +157 -150
- package/dist/src/wire/operations/host.js +5 -1
- package/dist/src/wire/operations/index.d.ts +157 -150
- package/dist/src/wire/operations/index.js +5 -5
- package/dist/src/wire/operations/session.js +3 -3
- package/package.json +4 -4
|
@@ -471,182 +471,189 @@ export declare const HOST_OPERATIONS: {
|
|
|
471
471
|
} | undefined;
|
|
472
472
|
}>;
|
|
473
473
|
readonly output: import("../../schema.ts").Schema<{
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
} | {
|
|
484
|
-
id: import("../../ids.ts").Id<"commit">;
|
|
485
|
-
kind: "commit";
|
|
486
|
-
};
|
|
487
|
-
stack: {
|
|
488
|
-
stale: boolean;
|
|
489
|
-
parent: import("../../ids.ts").Id<"head">;
|
|
490
|
-
base: {
|
|
474
|
+
items: {
|
|
475
|
+
name: string | null;
|
|
476
|
+
call: import("../../ids.ts").Id<"call"> | null;
|
|
477
|
+
workspace: import("../../ids.ts").Id<"workspace">;
|
|
478
|
+
id: import("../../ids.ts").Id<"session">;
|
|
479
|
+
parent: import("../../ids.ts").Id<"session"> | null;
|
|
480
|
+
heads: {
|
|
481
|
+
name: import("../../ids.ts").Id<"head">;
|
|
482
|
+
tip: {
|
|
491
483
|
kind: "start";
|
|
492
484
|
} | {
|
|
493
485
|
id: import("../../ids.ts").Id<"commit">;
|
|
494
486
|
kind: "commit";
|
|
495
487
|
};
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
488
|
+
stack: {
|
|
489
|
+
stale: boolean;
|
|
490
|
+
parent: import("../../ids.ts").Id<"head">;
|
|
491
|
+
base: {
|
|
492
|
+
kind: "start";
|
|
493
|
+
} | {
|
|
494
|
+
id: import("../../ids.ts").Id<"commit">;
|
|
495
|
+
kind: "commit";
|
|
496
|
+
};
|
|
497
|
+
} | null;
|
|
498
|
+
execution: {
|
|
499
|
+
kind: "idle";
|
|
500
|
+
lastRun: {
|
|
501
|
+
id: import("../../ids.ts").Id<"run">;
|
|
502
|
+
end: {
|
|
503
|
+
kind: "completed";
|
|
504
|
+
usage: {
|
|
511
505
|
output: number;
|
|
512
506
|
input: number;
|
|
513
507
|
cacheRead: number;
|
|
514
508
|
cacheWrite: number;
|
|
509
|
+
reasoning: number | null;
|
|
515
510
|
total: number;
|
|
511
|
+
cost: {
|
|
512
|
+
output: number;
|
|
513
|
+
input: number;
|
|
514
|
+
cacheRead: number;
|
|
515
|
+
cacheWrite: number;
|
|
516
|
+
total: number;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
} | {
|
|
520
|
+
kind: "stopped";
|
|
521
|
+
} | {
|
|
522
|
+
kind: "failed";
|
|
523
|
+
failure: {
|
|
524
|
+
retryAfterMs?: number | undefined;
|
|
525
|
+
message: string;
|
|
526
|
+
class: "provider" | "rate_limit" | "auth" | "quota" | "context_window" | "overloaded" | "network" | "aborted" | "runner";
|
|
516
527
|
};
|
|
517
528
|
};
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
529
|
+
endedAt: number;
|
|
530
|
+
} | null;
|
|
531
|
+
} | {
|
|
532
|
+
run: {
|
|
533
|
+
head: import("../../ids.ts").Id<"head">;
|
|
534
|
+
id: import("../../ids.ts").Id<"run">;
|
|
535
|
+
configuration: {
|
|
536
|
+
kind: "exact";
|
|
537
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
538
|
+
model: {
|
|
539
|
+
id: string;
|
|
540
|
+
provider: string;
|
|
541
|
+
};
|
|
542
|
+
agent: string | null;
|
|
543
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
544
|
+
settingsVersion: string;
|
|
526
545
|
};
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
kind: "exact";
|
|
536
|
-
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
537
|
-
model: {
|
|
538
|
-
id: string;
|
|
539
|
-
provider: string;
|
|
546
|
+
startedAt: number;
|
|
547
|
+
attempt: number;
|
|
548
|
+
origin: {
|
|
549
|
+
message: import("../../ids.ts").Id<"message">;
|
|
550
|
+
kind: "input";
|
|
551
|
+
} | {
|
|
552
|
+
kind: "continuation";
|
|
553
|
+
from: "job" | "child" | "wake";
|
|
540
554
|
};
|
|
541
|
-
agent: string | null;
|
|
542
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
543
|
-
settingsVersion: string;
|
|
544
555
|
};
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
556
|
+
kind: "live";
|
|
557
|
+
phase: "responding" | "executing";
|
|
558
|
+
stopping: boolean;
|
|
559
|
+
} | {
|
|
560
|
+
run: {
|
|
561
|
+
head: import("../../ids.ts").Id<"head">;
|
|
562
|
+
id: import("../../ids.ts").Id<"run">;
|
|
563
|
+
configuration: {
|
|
564
|
+
kind: "exact";
|
|
565
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
566
|
+
model: {
|
|
567
|
+
id: string;
|
|
568
|
+
provider: string;
|
|
569
|
+
};
|
|
570
|
+
agent: string | null;
|
|
571
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
572
|
+
settingsVersion: string;
|
|
573
|
+
};
|
|
574
|
+
startedAt: number;
|
|
575
|
+
attempt: number;
|
|
576
|
+
origin: {
|
|
577
|
+
message: import("../../ids.ts").Id<"message">;
|
|
578
|
+
kind: "input";
|
|
579
|
+
} | {
|
|
580
|
+
kind: "continuation";
|
|
581
|
+
from: "job" | "child" | "wake";
|
|
568
582
|
};
|
|
569
|
-
agent: string | null;
|
|
570
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
571
|
-
settingsVersion: string;
|
|
572
583
|
};
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
584
|
+
kind: "waiting";
|
|
585
|
+
on: {
|
|
586
|
+
deadline?: number | undefined;
|
|
587
|
+
session: import("../../ids.ts").Id<"session">;
|
|
588
|
+
run: import("../../ids.ts").Id<"run">;
|
|
589
|
+
kind: "run";
|
|
578
590
|
} | {
|
|
579
|
-
|
|
580
|
-
|
|
591
|
+
deadline?: number | undefined;
|
|
592
|
+
job: import("../../ids.ts").Id<"job">;
|
|
593
|
+
kind: "job";
|
|
594
|
+
} | {
|
|
595
|
+
deadline?: number | undefined;
|
|
596
|
+
part: import("../../ids.ts").Id<"part">;
|
|
597
|
+
kind: "part";
|
|
598
|
+
} | {
|
|
599
|
+
deadline?: number | undefined;
|
|
600
|
+
kind: "timer";
|
|
601
|
+
until: number;
|
|
581
602
|
};
|
|
582
|
-
};
|
|
583
|
-
kind: "waiting";
|
|
584
|
-
on: {
|
|
585
|
-
deadline?: number | undefined;
|
|
586
|
-
session: import("../../ids.ts").Id<"session">;
|
|
587
|
-
run: import("../../ids.ts").Id<"run">;
|
|
588
|
-
kind: "run";
|
|
589
|
-
} | {
|
|
590
|
-
deadline?: number | undefined;
|
|
591
|
-
job: import("../../ids.ts").Id<"job">;
|
|
592
|
-
kind: "job";
|
|
593
|
-
} | {
|
|
594
|
-
deadline?: number | undefined;
|
|
595
|
-
part: import("../../ids.ts").Id<"part">;
|
|
596
|
-
kind: "part";
|
|
597
603
|
} | {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
604
|
+
run: {
|
|
605
|
+
head: import("../../ids.ts").Id<"head">;
|
|
606
|
+
id: import("../../ids.ts").Id<"run">;
|
|
607
|
+
configuration: {
|
|
608
|
+
kind: "exact";
|
|
609
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
610
|
+
model: {
|
|
611
|
+
id: string;
|
|
612
|
+
provider: string;
|
|
613
|
+
};
|
|
614
|
+
agent: string | null;
|
|
615
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
616
|
+
settingsVersion: string;
|
|
617
|
+
};
|
|
618
|
+
startedAt: number;
|
|
619
|
+
attempt: number;
|
|
620
|
+
origin: {
|
|
621
|
+
message: import("../../ids.ts").Id<"message">;
|
|
622
|
+
kind: "input";
|
|
623
|
+
} | {
|
|
624
|
+
kind: "continuation";
|
|
625
|
+
from: "job" | "child" | "wake";
|
|
612
626
|
};
|
|
613
|
-
agent: string | null;
|
|
614
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
615
|
-
settingsVersion: string;
|
|
616
|
-
};
|
|
617
|
-
startedAt: number;
|
|
618
|
-
attempt: number;
|
|
619
|
-
origin: {
|
|
620
|
-
message: import("../../ids.ts").Id<"message">;
|
|
621
|
-
kind: "input";
|
|
622
|
-
} | {
|
|
623
|
-
kind: "continuation";
|
|
624
|
-
from: "job" | "child" | "wake";
|
|
625
627
|
};
|
|
628
|
+
kind: "retrying";
|
|
629
|
+
reason: string;
|
|
630
|
+
until: number;
|
|
626
631
|
};
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
632
|
+
unread: boolean;
|
|
633
|
+
}[];
|
|
634
|
+
pinned: boolean;
|
|
635
|
+
archived: boolean;
|
|
636
|
+
activation: {
|
|
637
|
+
kind: "active";
|
|
638
|
+
} | {
|
|
639
|
+
kind: "inactive";
|
|
640
|
+
} | {
|
|
641
|
+
workspace: import("../../ids.ts").Id<"workspace">;
|
|
642
|
+
kind: "unavailable";
|
|
643
|
+
reason: "unreachable" | "unsupported";
|
|
644
|
+
} | {
|
|
645
|
+
message: string;
|
|
646
|
+
kind: "failed";
|
|
630
647
|
};
|
|
631
|
-
|
|
648
|
+
createdAt: number;
|
|
649
|
+
lastActivityAt: number;
|
|
632
650
|
}[];
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
} | {
|
|
638
|
-
kind: "inactive";
|
|
639
|
-
} | {
|
|
640
|
-
workspace: import("../../ids.ts").Id<"workspace">;
|
|
641
|
-
kind: "unavailable";
|
|
642
|
-
reason: "unreachable" | "unsupported";
|
|
643
|
-
} | {
|
|
644
|
-
message: string;
|
|
645
|
-
kind: "failed";
|
|
651
|
+
kind: "list" | "delta";
|
|
652
|
+
order: {
|
|
653
|
+
items: import("../../ids.ts").Id<"session">[];
|
|
654
|
+
runs: number[];
|
|
646
655
|
};
|
|
647
|
-
|
|
648
|
-
lastActivityAt: number;
|
|
649
|
-
}[]>;
|
|
656
|
+
}>;
|
|
650
657
|
readonly authority: "participant";
|
|
651
658
|
readonly scope: "host";
|
|
652
659
|
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_OPERATIONS2,
|
|
3
3
|
MAINTENANCE_OPERATIONS2
|
|
4
|
-
} from "../../../chunks/browser-
|
|
4
|
+
} from "../../../chunks/browser-fnanbp6m.js";
|
|
5
5
|
import"../../../chunks/browser-r87w64mz.js";
|
|
6
|
+
import"../../../chunks/browser-fe66aj8v.js";
|
|
6
7
|
import"../../../chunks/browser-j629a6wa.js";
|
|
7
8
|
import"../../../chunks/browser-0byq2fja.js";
|
|
8
9
|
import"../../../chunks/browser-s2xe7c21.js";
|
|
9
10
|
import"../../../chunks/browser-0chm3654.js";
|
|
10
11
|
import"../../../chunks/browser-6e1madxa.js";
|
|
12
|
+
import"../../../chunks/browser-t5xqtqzh.js";
|
|
13
|
+
import"../../../chunks/browser-h86zs54a.js";
|
|
11
14
|
import"../../../chunks/browser-xensz05x.js";
|
|
12
15
|
import"../../../chunks/browser-bg1esaw0.js";
|
|
13
16
|
import"../../../chunks/browser-8ancsy4m.js";
|
|
@@ -18,6 +21,7 @@ import"../../../chunks/browser-ynj8v9ad.js";
|
|
|
18
21
|
import"../../../chunks/browser-0sbkxgkx.js";
|
|
19
22
|
import"../../../chunks/browser-sgwxbek9.js";
|
|
20
23
|
import"../../../chunks/browser-1sfp0bcx.js";
|
|
24
|
+
import"../../../chunks/browser-ebr6k189.js";
|
|
21
25
|
import"../../../chunks/browser-4et7qtz3.js";
|
|
22
26
|
import"../../../chunks/browser-ypez6s7v.js";
|
|
23
27
|
import"../../../chunks/browser-vzc3r2r3.js";
|