@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
|
@@ -6645,182 +6645,189 @@ export declare const OPERATIONS: {
|
|
|
6645
6645
|
} | undefined;
|
|
6646
6646
|
}>;
|
|
6647
6647
|
readonly output: import("../../schema.ts").Schema<{
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
} | {
|
|
6658
|
-
id: import("../../ids.ts").Id<"commit">;
|
|
6659
|
-
kind: "commit";
|
|
6660
|
-
};
|
|
6661
|
-
stack: {
|
|
6662
|
-
stale: boolean;
|
|
6663
|
-
parent: import("../../ids.ts").Id<"head">;
|
|
6664
|
-
base: {
|
|
6648
|
+
items: {
|
|
6649
|
+
name: string | null;
|
|
6650
|
+
call: import("../../ids.ts").Id<"call"> | null;
|
|
6651
|
+
workspace: import("../../ids.ts").Id<"workspace">;
|
|
6652
|
+
id: import("../../ids.ts").Id<"session">;
|
|
6653
|
+
parent: import("../../ids.ts").Id<"session"> | null;
|
|
6654
|
+
heads: {
|
|
6655
|
+
name: import("../../ids.ts").Id<"head">;
|
|
6656
|
+
tip: {
|
|
6665
6657
|
kind: "start";
|
|
6666
6658
|
} | {
|
|
6667
6659
|
id: import("../../ids.ts").Id<"commit">;
|
|
6668
6660
|
kind: "commit";
|
|
6669
6661
|
};
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6662
|
+
stack: {
|
|
6663
|
+
stale: boolean;
|
|
6664
|
+
parent: import("../../ids.ts").Id<"head">;
|
|
6665
|
+
base: {
|
|
6666
|
+
kind: "start";
|
|
6667
|
+
} | {
|
|
6668
|
+
id: import("../../ids.ts").Id<"commit">;
|
|
6669
|
+
kind: "commit";
|
|
6670
|
+
};
|
|
6671
|
+
} | null;
|
|
6672
|
+
execution: {
|
|
6673
|
+
kind: "idle";
|
|
6674
|
+
lastRun: {
|
|
6675
|
+
id: import("../../ids.ts").Id<"run">;
|
|
6676
|
+
end: {
|
|
6677
|
+
kind: "completed";
|
|
6678
|
+
usage: {
|
|
6685
6679
|
output: number;
|
|
6686
6680
|
input: number;
|
|
6687
6681
|
cacheRead: number;
|
|
6688
6682
|
cacheWrite: number;
|
|
6683
|
+
reasoning: number | null;
|
|
6689
6684
|
total: number;
|
|
6685
|
+
cost: {
|
|
6686
|
+
output: number;
|
|
6687
|
+
input: number;
|
|
6688
|
+
cacheRead: number;
|
|
6689
|
+
cacheWrite: number;
|
|
6690
|
+
total: number;
|
|
6691
|
+
};
|
|
6692
|
+
};
|
|
6693
|
+
} | {
|
|
6694
|
+
kind: "stopped";
|
|
6695
|
+
} | {
|
|
6696
|
+
kind: "failed";
|
|
6697
|
+
failure: {
|
|
6698
|
+
retryAfterMs?: number | undefined;
|
|
6699
|
+
message: string;
|
|
6700
|
+
class: "provider" | "rate_limit" | "auth" | "quota" | "context_window" | "overloaded" | "network" | "aborted" | "runner";
|
|
6690
6701
|
};
|
|
6691
6702
|
};
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6703
|
+
endedAt: number;
|
|
6704
|
+
} | null;
|
|
6705
|
+
} | {
|
|
6706
|
+
run: {
|
|
6707
|
+
head: import("../../ids.ts").Id<"head">;
|
|
6708
|
+
id: import("../../ids.ts").Id<"run">;
|
|
6709
|
+
configuration: {
|
|
6710
|
+
kind: "exact";
|
|
6711
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
6712
|
+
model: {
|
|
6713
|
+
id: string;
|
|
6714
|
+
provider: string;
|
|
6715
|
+
};
|
|
6716
|
+
agent: string | null;
|
|
6717
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
6718
|
+
settingsVersion: string;
|
|
6700
6719
|
};
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
kind: "exact";
|
|
6710
|
-
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
6711
|
-
model: {
|
|
6712
|
-
id: string;
|
|
6713
|
-
provider: string;
|
|
6720
|
+
startedAt: number;
|
|
6721
|
+
attempt: number;
|
|
6722
|
+
origin: {
|
|
6723
|
+
message: import("../../ids.ts").Id<"message">;
|
|
6724
|
+
kind: "input";
|
|
6725
|
+
} | {
|
|
6726
|
+
kind: "continuation";
|
|
6727
|
+
from: "job" | "child" | "wake";
|
|
6714
6728
|
};
|
|
6715
|
-
agent: string | null;
|
|
6716
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
6717
|
-
settingsVersion: string;
|
|
6718
6729
|
};
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6730
|
+
kind: "live";
|
|
6731
|
+
phase: "responding" | "executing";
|
|
6732
|
+
stopping: boolean;
|
|
6733
|
+
} | {
|
|
6734
|
+
run: {
|
|
6735
|
+
head: import("../../ids.ts").Id<"head">;
|
|
6736
|
+
id: import("../../ids.ts").Id<"run">;
|
|
6737
|
+
configuration: {
|
|
6738
|
+
kind: "exact";
|
|
6739
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
6740
|
+
model: {
|
|
6741
|
+
id: string;
|
|
6742
|
+
provider: string;
|
|
6743
|
+
};
|
|
6744
|
+
agent: string | null;
|
|
6745
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
6746
|
+
settingsVersion: string;
|
|
6747
|
+
};
|
|
6748
|
+
startedAt: number;
|
|
6749
|
+
attempt: number;
|
|
6750
|
+
origin: {
|
|
6751
|
+
message: import("../../ids.ts").Id<"message">;
|
|
6752
|
+
kind: "input";
|
|
6753
|
+
} | {
|
|
6754
|
+
kind: "continuation";
|
|
6755
|
+
from: "job" | "child" | "wake";
|
|
6742
6756
|
};
|
|
6743
|
-
agent: string | null;
|
|
6744
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
6745
|
-
settingsVersion: string;
|
|
6746
6757
|
};
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6758
|
+
kind: "waiting";
|
|
6759
|
+
on: {
|
|
6760
|
+
deadline?: number | undefined;
|
|
6761
|
+
session: import("../../ids.ts").Id<"session">;
|
|
6762
|
+
run: import("../../ids.ts").Id<"run">;
|
|
6763
|
+
kind: "run";
|
|
6764
|
+
} | {
|
|
6765
|
+
deadline?: number | undefined;
|
|
6766
|
+
job: import("../../ids.ts").Id<"job">;
|
|
6767
|
+
kind: "job";
|
|
6768
|
+
} | {
|
|
6769
|
+
deadline?: number | undefined;
|
|
6770
|
+
part: import("../../ids.ts").Id<"part">;
|
|
6771
|
+
kind: "part";
|
|
6752
6772
|
} | {
|
|
6753
|
-
|
|
6754
|
-
|
|
6773
|
+
deadline?: number | undefined;
|
|
6774
|
+
kind: "timer";
|
|
6775
|
+
until: number;
|
|
6755
6776
|
};
|
|
6756
|
-
};
|
|
6757
|
-
kind: "waiting";
|
|
6758
|
-
on: {
|
|
6759
|
-
deadline?: number | undefined;
|
|
6760
|
-
session: import("../../ids.ts").Id<"session">;
|
|
6761
|
-
run: import("../../ids.ts").Id<"run">;
|
|
6762
|
-
kind: "run";
|
|
6763
|
-
} | {
|
|
6764
|
-
deadline?: number | undefined;
|
|
6765
|
-
job: import("../../ids.ts").Id<"job">;
|
|
6766
|
-
kind: "job";
|
|
6767
6777
|
} | {
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6778
|
+
run: {
|
|
6779
|
+
head: import("../../ids.ts").Id<"head">;
|
|
6780
|
+
id: import("../../ids.ts").Id<"run">;
|
|
6781
|
+
configuration: {
|
|
6782
|
+
kind: "exact";
|
|
6783
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
6784
|
+
model: {
|
|
6785
|
+
id: string;
|
|
6786
|
+
provider: string;
|
|
6787
|
+
};
|
|
6788
|
+
agent: string | null;
|
|
6789
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
6790
|
+
settingsVersion: string;
|
|
6791
|
+
};
|
|
6792
|
+
startedAt: number;
|
|
6793
|
+
attempt: number;
|
|
6794
|
+
origin: {
|
|
6795
|
+
message: import("../../ids.ts").Id<"message">;
|
|
6796
|
+
kind: "input";
|
|
6797
|
+
} | {
|
|
6798
|
+
kind: "continuation";
|
|
6799
|
+
from: "job" | "child" | "wake";
|
|
6786
6800
|
};
|
|
6787
|
-
agent: string | null;
|
|
6788
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
6789
|
-
settingsVersion: string;
|
|
6790
|
-
};
|
|
6791
|
-
startedAt: number;
|
|
6792
|
-
attempt: number;
|
|
6793
|
-
origin: {
|
|
6794
|
-
message: import("../../ids.ts").Id<"message">;
|
|
6795
|
-
kind: "input";
|
|
6796
|
-
} | {
|
|
6797
|
-
kind: "continuation";
|
|
6798
|
-
from: "job" | "child" | "wake";
|
|
6799
6801
|
};
|
|
6802
|
+
kind: "retrying";
|
|
6803
|
+
reason: string;
|
|
6804
|
+
until: number;
|
|
6800
6805
|
};
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6806
|
+
unread: boolean;
|
|
6807
|
+
}[];
|
|
6808
|
+
pinned: boolean;
|
|
6809
|
+
archived: boolean;
|
|
6810
|
+
activation: {
|
|
6811
|
+
kind: "active";
|
|
6812
|
+
} | {
|
|
6813
|
+
kind: "inactive";
|
|
6814
|
+
} | {
|
|
6815
|
+
workspace: import("../../ids.ts").Id<"workspace">;
|
|
6816
|
+
kind: "unavailable";
|
|
6817
|
+
reason: "unreachable" | "unsupported";
|
|
6818
|
+
} | {
|
|
6819
|
+
message: string;
|
|
6820
|
+
kind: "failed";
|
|
6804
6821
|
};
|
|
6805
|
-
|
|
6822
|
+
createdAt: number;
|
|
6823
|
+
lastActivityAt: number;
|
|
6806
6824
|
}[];
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
} | {
|
|
6812
|
-
kind: "inactive";
|
|
6813
|
-
} | {
|
|
6814
|
-
workspace: import("../../ids.ts").Id<"workspace">;
|
|
6815
|
-
kind: "unavailable";
|
|
6816
|
-
reason: "unreachable" | "unsupported";
|
|
6817
|
-
} | {
|
|
6818
|
-
message: string;
|
|
6819
|
-
kind: "failed";
|
|
6825
|
+
kind: "list" | "delta";
|
|
6826
|
+
order: {
|
|
6827
|
+
items: import("../../ids.ts").Id<"session">[];
|
|
6828
|
+
runs: number[];
|
|
6820
6829
|
};
|
|
6821
|
-
|
|
6822
|
-
lastActivityAt: number;
|
|
6823
|
-
}[]>;
|
|
6830
|
+
}>;
|
|
6824
6831
|
readonly authority: "participant";
|
|
6825
6832
|
readonly scope: "host";
|
|
6826
6833
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OPERATIONS2
|
|
3
|
-
} from "../../../chunks/browser-
|
|
4
|
-
import"../../../chunks/browser-
|
|
3
|
+
} from "../../../chunks/browser-etfrcxhb.js";
|
|
4
|
+
import"../../../chunks/browser-gzn951k8.js";
|
|
5
5
|
import"../../../chunks/browser-h5k4hqfq.js";
|
|
6
6
|
import"../../../chunks/browser-fd3accdr.js";
|
|
7
7
|
import"../../../chunks/browser-pdv675va.js";
|
|
8
8
|
import"../../../chunks/browser-0xr6c36r.js";
|
|
9
9
|
import"../../../chunks/browser-0g0z3617.js";
|
|
10
|
-
import"../../../chunks/browser-
|
|
10
|
+
import"../../../chunks/browser-fnanbp6m.js";
|
|
11
11
|
import"../../../chunks/browser-r87w64mz.js";
|
|
12
|
-
import"../../../chunks/browser-
|
|
12
|
+
import"../../../chunks/browser-fe66aj8v.js";
|
|
13
13
|
import"../../../chunks/browser-b519jtez.js";
|
|
14
14
|
import"../../../chunks/browser-j629a6wa.js";
|
|
15
15
|
import"../../../chunks/browser-0byq2fja.js";
|
|
@@ -18,7 +18,7 @@ import"../../../chunks/browser-mzfc0v5j.js";
|
|
|
18
18
|
import"../../../chunks/browser-s2xe7c21.js";
|
|
19
19
|
import"../../../chunks/browser-0chm3654.js";
|
|
20
20
|
import"../../../chunks/browser-6e1madxa.js";
|
|
21
|
-
import"../../../chunks/browser-
|
|
21
|
+
import"../../../chunks/browser-t5xqtqzh.js";
|
|
22
22
|
import"../../../chunks/browser-h86zs54a.js";
|
|
23
23
|
import"../../../chunks/browser-xensz05x.js";
|
|
24
24
|
import"../../../chunks/browser-bg1esaw0.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SESSION_OPERATIONS2
|
|
3
|
-
} from "../../../chunks/browser-
|
|
3
|
+
} from "../../../chunks/browser-gzn951k8.js";
|
|
4
4
|
import"../../../chunks/browser-r87w64mz.js";
|
|
5
|
-
import"../../../chunks/browser-
|
|
5
|
+
import"../../../chunks/browser-fe66aj8v.js";
|
|
6
6
|
import"../../../chunks/browser-0chm3654.js";
|
|
7
|
-
import"../../../chunks/browser-
|
|
7
|
+
import"../../../chunks/browser-t5xqtqzh.js";
|
|
8
8
|
import"../../../chunks/browser-h86zs54a.js";
|
|
9
9
|
import"../../../chunks/browser-xensz05x.js";
|
|
10
10
|
import"../../../chunks/browser-bg1esaw0.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyte-ai/schema",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"provenance": true
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@standard-schema/spec": "1.1.0",
|
|
37
|
-
"typebox": "1.
|
|
36
|
+
"@standard-schema/spec": "^1.1.0",
|
|
37
|
+
"typebox": "^1.4.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@cfworker/json-schema": "4.1.1",
|
|
40
|
+
"@cfworker/json-schema": "^4.1.1",
|
|
41
41
|
"@types/node": "^26.6.5",
|
|
42
42
|
"typescript": "6.0.3",
|
|
43
43
|
"vitest": "^5.0.5"
|