@nyte-ai/core 0.0.24 → 0.0.25-beta.1
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/{compose-nj4nj5n9.js → compose-0f9x3cjd.js} +1 -1
- package/dist/chunks/{compose-yfcb6w2h.js → compose-0zrwy7nk.js} +1 -1
- package/dist/chunks/{compose-xhtgytrh.js → compose-122g5jvb.js} +1 -1
- package/dist/chunks/{compose-nkxwrphm.js → compose-17xxey5y.js} +6 -6
- package/dist/chunks/compose-1hgkp0q6.js +154 -0
- package/dist/chunks/{compose-ad80nkkn.js → compose-1kvvrw50.js} +6 -6
- package/dist/chunks/{compose-jeemzja1.js → compose-1nqjy2z5.js} +3 -3
- package/dist/chunks/compose-2e84znn8.js +62 -0
- package/dist/chunks/{compose-sprfv38c.js → compose-34cqydxc.js} +4 -4
- package/dist/chunks/{compose-ee0h1pk1.js → compose-3qkhfwtd.js} +4 -4
- package/dist/chunks/{compose-yr19b453.js → compose-4jqwbez4.js} +7 -7
- package/dist/chunks/{compose-5rg7askh.js → compose-4krv4vzw.js} +13 -5
- package/dist/chunks/{compose-byse0eqj.js → compose-4s0c5zqv.js} +6 -6
- package/dist/chunks/{compose-gj2ypr7q.js → compose-5ygdrc65.js} +3 -3
- package/dist/chunks/{compose-csh5vv2t.js → compose-6e9ktyhr.js} +1 -1
- package/dist/chunks/{compose-dbsn3bsy.js → compose-6zgf2dtw.js} +6 -3
- package/dist/chunks/{compose-ht1tbyr3.js → compose-75pnchkk.js} +22 -10
- package/dist/chunks/{compose-vzvm76dn.js → compose-79h43be5.js} +13 -5
- package/dist/chunks/compose-7bpnxft1.js +20 -0
- package/dist/chunks/{compose-jwy1gba9.js → compose-7sjf0y70.js} +3 -3
- package/dist/chunks/{compose-1tdb9ezw.js → compose-8nysak5a.js} +33 -22
- package/dist/chunks/{compose-ay7t13m9.js → compose-8p6emvvh.js} +8 -8
- package/dist/chunks/{compose-e3635qmn.js → compose-8ranx653.js} +17 -2
- package/dist/chunks/{compose-5njywhy8.js → compose-9tntshv3.js} +6 -6
- package/dist/chunks/{compose-gvm49f4b.js → compose-b10qcn9b.js} +1 -1
- package/dist/chunks/{compose-42egt9y7.js → compose-b4zb2rpb.js} +21 -12
- package/dist/chunks/{compose-767bb340.js → compose-c7jk6qr1.js} +1 -1
- package/dist/chunks/{compose-hfsn6pnt.js → compose-chcqk093.js} +39 -17
- package/dist/chunks/{compose-nw5hdpxk.js → compose-ct1h40fd.js} +8 -8
- package/dist/chunks/{compose-smsafpqe.js → compose-d5yhtpa7.js} +2 -2
- package/dist/chunks/{compose-qxfq6dn9.js → compose-d95420jw.js} +8 -8
- package/dist/chunks/{compose-gxjc6vz9.js → compose-dw8fvn94.js} +4 -2
- package/dist/chunks/{compose-fnncnk81.js → compose-dywbt4he.js} +5 -5
- package/dist/chunks/{compose-xvbyp65f.js → compose-gnfmty38.js} +30 -10
- package/dist/chunks/{compose-mdwr0er9.js → compose-h0d0vess.js} +4 -4
- package/dist/chunks/{compose-2gsbcjgv.js → compose-hf0nrd46.js} +22 -18
- package/dist/chunks/{compose-mcz93154.js → compose-ht5fhzzw.js} +10 -10
- package/dist/chunks/{compose-8pp3vtv0.js → compose-hx8j2kef.js} +4 -4
- package/dist/chunks/{compose-c4z4kp98.js → compose-j8xmyfy6.js} +118 -42
- package/dist/chunks/{compose-9jvn2wvh.js → compose-jawbhn7q.js} +21 -5
- package/dist/chunks/{compose-2rha31fc.js → compose-jbrtw0md.js} +4 -4
- package/dist/chunks/{compose-m01wspwf.js → compose-jrxg4vqg.js} +1 -1
- package/dist/chunks/{compose-bz70g01d.js → compose-kf2k4hq5.js} +5 -5
- package/dist/chunks/{compose-w6zb11k1.js → compose-kgdmzx0n.js} +6 -6
- package/dist/chunks/{compose-qjxtbzgq.js → compose-krkyrds4.js} +11 -5
- package/dist/chunks/{compose-tppkp915.js → compose-kw3bf8mf.js} +4 -4
- package/dist/chunks/{compose-d95fwwvw.js → compose-kwbs1f34.js} +2 -2
- package/dist/chunks/{compose-j42p9wfs.js → compose-n29d5dzv.js} +1 -1
- package/dist/chunks/{compose-qwbe95qs.js → compose-n5f6w2y6.js} +1 -1
- package/dist/chunks/{compose-a7k9h27z.js → compose-nc60858y.js} +4 -4
- package/dist/chunks/{compose-6r5ymwyr.js → compose-nenmmq5w.js} +30 -10
- package/dist/chunks/{compose-enq3x3rq.js → compose-p7j0gt4t.js} +22 -7
- package/dist/chunks/compose-pb3420v8.js +74 -0
- package/dist/chunks/{compose-ts08bth2.js → compose-pcfvksb2.js} +1 -1
- package/dist/chunks/{compose-917xy085.js → compose-pjkzf9ev.js} +9 -9
- package/dist/chunks/{compose-c9wxgbjp.js → compose-prek5sd9.js} +2 -2
- package/dist/chunks/{compose-h14pmqv3.js → compose-qgz6q016.js} +1 -1
- package/dist/chunks/{compose-y6xgbg2h.js → compose-qq85vkhf.js} +1 -1
- package/dist/chunks/{compose-bd8c5n7k.js → compose-qyjchprv.js} +2 -2
- package/dist/chunks/{compose-97y00axn.js → compose-rh1d2g0s.js} +30 -16
- package/dist/chunks/compose-s23st6q6.js +4 -0
- package/dist/chunks/{compose-bbhk8vnr.js → compose-s4kyfjj6.js} +2 -2
- package/dist/chunks/{compose-t9fcqtby.js → compose-sjfbxw65.js} +93 -85
- package/dist/chunks/{compose-a40dnhy5.js → compose-vphbntyn.js} +7 -7
- package/dist/chunks/compose-vxme67gg.js +63 -0
- package/dist/chunks/compose-wgs4rgfp.js +32 -0
- package/dist/chunks/{compose-1xn3eecn.js → compose-xdq54csy.js} +39 -35
- package/dist/chunks/{compose-v46qmh60.js → compose-yd5t8qj3.js} +63 -126
- package/dist/chunks/{compose-vn7b7fdj.js → compose-ydth4n0z.js} +7 -3
- package/dist/chunks/{compose-6gt28900.js → compose-yxhvzsed.js} +4 -4
- package/dist/chunks/{compose-matk94se.js → compose-zajq79k0.js} +6 -6
- package/dist/chunks/{compose-ae5t6v5b.js → compose-zq7ar8qm.js} +4 -4
- package/dist/chunks/{compose-4ppmas7g.js → compose-zt2qtrxj.js} +4 -4
- package/dist/chunks/compose-ztyjpn84.js +59 -0
- package/dist/chunks/{compose-m91ffwss.js → compose-zv0t13e7.js} +2 -2
- package/dist/chunks/{compose-r8tz1xfj.js → compose-zx78edb2.js} +9 -5
- package/dist/src/agent/agent-loop.d.ts +4 -0
- package/dist/src/agent/agent-loop.js +3 -1
- package/dist/src/agent/compaction.js +38 -37
- package/dist/src/agent/open-parts.d.ts +34 -0
- package/dist/src/agent/open-parts.js +22 -0
- package/dist/src/agent/request.js +27 -26
- package/dist/src/agent/tool-runner.d.ts +5 -5
- package/dist/src/agent/tool-runner.js +31 -30
- package/dist/src/agent/transcript.js +34 -33
- package/dist/src/agent/turn.js +48 -43
- package/dist/src/api/connection.js +61 -56
- package/dist/src/api/head.d.ts +1 -2
- package/dist/src/api/head.js +43 -39
- package/dist/src/api/hold.d.ts +7 -0
- package/dist/src/api/hold.js +7 -0
- package/dist/src/api/part.js +20 -18
- package/dist/src/api/server.js +48 -45
- package/dist/src/api/session.js +48 -44
- package/dist/src/builtins/delegation.js +1 -1
- package/dist/src/builtins/environment.d.ts +8 -0
- package/dist/src/builtins/environment.js +3 -1
- package/dist/src/builtins/interruptions.d.ts +4 -0
- package/dist/src/builtins/interruptions.js +8 -0
- package/dist/src/compose.js +75 -68
- package/dist/src/contract/host.d.ts +6 -0
- package/dist/src/contract/kernel.d.ts +9 -6
- package/dist/src/contract/parts.d.ts +48 -46
- package/dist/src/contract/records.d.ts +429 -419
- package/dist/src/contract/records.js +1 -1
- package/dist/src/contract/server.d.ts +3 -1
- package/dist/src/contract/session.d.ts +31 -1
- package/dist/src/contract/session.js +6 -0
- package/dist/src/contract/workspace.d.ts +3 -1
- package/dist/src/drive/execution.js +44 -43
- package/dist/src/drive/interruptions.d.ts +10 -2
- package/dist/src/drive/interruptions.js +9 -5
- package/dist/src/drive/pause.d.ts +11 -0
- package/dist/src/drive/pause.js +10 -0
- package/dist/src/engine/admission-writes.d.ts +22 -0
- package/dist/src/engine/admission-writes.js +15 -0
- package/dist/src/engine/admission.d.ts +15 -1
- package/dist/src/engine/admission.js +25 -20
- package/dist/src/engine/batches.js +18 -18
- package/dist/src/engine/branch-summary.js +17 -17
- package/dist/src/engine/durable.js +17 -17
- package/dist/src/engine/fence.js +16 -16
- package/dist/src/engine/holds.d.ts +4 -0
- package/dist/src/engine/holds.js +43 -0
- package/dist/src/engine/jobs.js +24 -23
- package/dist/src/engine/lease.d.ts +5 -4
- package/dist/src/engine/lease.js +1 -1
- package/dist/src/engine/move.js +19 -19
- package/dist/src/engine/presence.js +2 -2
- package/dist/src/engine/principals.js +14 -14
- package/dist/src/engine/receipts.js +17 -17
- package/dist/src/engine/runs.js +22 -21
- package/dist/src/engine/start.js +34 -33
- package/dist/src/engine/surface.js +3 -3
- package/dist/src/engine/waits.js +15 -15
- package/dist/src/env/browser.js +25 -24
- package/dist/src/env/environment.js +27 -26
- package/dist/src/env/mcp.js +29 -28
- package/dist/src/env/session-changes.js +3 -3
- package/dist/src/env/trust.js +28 -27
- package/dist/src/env/workspaces.js +32 -31
- package/dist/src/env/worktrees.js +33 -32
- package/dist/src/extend/activation.d.ts +3 -0
- package/dist/src/extend/activation.js +35 -32
- package/dist/src/extend/hooks.js +19 -19
- package/dist/src/extend/models.js +26 -25
- package/dist/src/extend/plugin-api.js +14 -14
- package/dist/src/extend/plugin-runtime.d.ts +3 -1
- package/dist/src/extend/plugin-runtime.js +39 -38
- package/dist/src/extend/registry.js +24 -23
- package/dist/src/extend/resources.js +29 -28
- package/dist/src/extend/setting-layers.js +3 -3
- package/dist/src/extend/settings.js +36 -35
- package/dist/src/extend/workspace-commands.js +40 -39
- package/dist/src/fold/calls.js +4 -4
- package/dist/src/fold/checkpoint.js +9 -9
- package/dist/src/fold/code.d.ts +1 -1
- package/dist/src/fold/code.js +1 -1
- package/dist/src/fold/commit.js +13 -13
- package/dist/src/fold/draft.d.ts +37 -37
- package/dist/src/fold/draft.js +3 -3
- package/dist/src/fold/fold.js +6 -6
- package/dist/src/fold/paths.js +4 -4
- package/dist/src/fold/project.d.ts +2 -2
- package/dist/src/fold/project.js +6 -6
- package/dist/src/fold/reads.js +3 -3
- package/dist/src/fold/seen.d.ts +3 -5
- package/dist/src/fold/seen.js +17 -17
- package/dist/src/fold/view.d.ts +7 -1
- package/dist/src/fold/view.js +8 -23
- package/dist/src/fold/watch.js +12 -12
- package/dist/src/harness.d.ts +257 -257
- package/dist/src/harness.js +78 -71
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.js +13 -3
- package/dist/src/server.js +73 -66
- package/dist/src/store/inspect.js +3 -3
- package/dist/src/store/memory-store.js +3 -3
- package/dist/src/store/migrations.js +2 -2
- package/dist/src/store/model-state.js +2 -2
- package/dist/src/store/parts.js +3 -3
- package/dist/src/store/session-index.js +2 -2
- package/dist/src/store/session.js +2 -2
- package/dist/src/store.js +5 -5
- package/dist/src/testing.js +76 -69
- package/dist/src/util/line-diff.d.ts +5 -5
- package/package.json +4 -5
- package/dist/chunks/compose-hfrjm4a1.js +0 -88
package/dist/src/harness.d.ts
CHANGED
|
@@ -44,69 +44,79 @@ export declare function label(event: DurableEvent): string;
|
|
|
44
44
|
export declare function recording(store: StoreConnection): {
|
|
45
45
|
sets: (readonly string[])[];
|
|
46
46
|
store: {
|
|
47
|
+
objects: import("./index.ts").ObjectStore;
|
|
48
|
+
sessions: import("./index.ts").SessionIndex;
|
|
49
|
+
commitMark?(): Promise<number>;
|
|
50
|
+
checkpoints?: import("./index.ts").FoldCheckpoints;
|
|
47
51
|
refs: {
|
|
52
|
+
get(name: string): Promise<import("@nyte-ai/schema").Ref | null>;
|
|
53
|
+
list(prefix: string): Promise<readonly import("@nyte-ai/schema").Ref[]>;
|
|
54
|
+
log(session: SessionId, after: import("@nyte-ai/schema").Seq, limit: number): Promise<readonly import("@nyte-ai/schema").SessionEvent[]>;
|
|
55
|
+
tail(session: SessionId): Promise<import("@nyte-ai/schema").Seq>;
|
|
48
56
|
set(updates: readonly {
|
|
49
|
-
readonly
|
|
57
|
+
readonly name: string;
|
|
58
|
+
readonly target: import("@nyte-ai/schema").Id<"object"> | null;
|
|
59
|
+
readonly expect?: "absent" | import("@nyte-ai/schema").Id<"revision"> | undefined;
|
|
50
60
|
readonly events?: readonly ({
|
|
51
|
-
readonly kind: "commit";
|
|
52
|
-
readonly run: import("@nyte-ai/schema").Id<"run"> | null;
|
|
53
61
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
62
|
+
readonly kind: "commit";
|
|
54
63
|
readonly id: import("@nyte-ai/schema").Id<"commit">;
|
|
55
64
|
readonly parent: import("@nyte-ai/schema").Id<"commit"> | null;
|
|
65
|
+
readonly run: import("@nyte-ai/schema").Id<"run"> | null;
|
|
56
66
|
readonly body: {
|
|
57
|
-
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
58
|
-
readonly source: {
|
|
59
|
-
readonly kind: "user";
|
|
60
|
-
} | {
|
|
61
|
-
readonly kind: "child";
|
|
62
|
-
readonly session: import("@nyte-ai/schema").Id<"session">;
|
|
63
|
-
readonly end: "completed" | "stopped" | "failed";
|
|
64
|
-
} | {
|
|
65
|
-
readonly kind: "job";
|
|
66
|
-
readonly job: import("@nyte-ai/schema").Id<"job">;
|
|
67
|
-
} | {
|
|
68
|
-
readonly kind: "shell";
|
|
69
|
-
} | {
|
|
70
|
-
readonly command?: string | undefined;
|
|
71
|
-
readonly kind: "action";
|
|
72
|
-
readonly label: string;
|
|
73
|
-
};
|
|
74
67
|
readonly kind: "user";
|
|
75
|
-
readonly
|
|
68
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
76
69
|
readonly content: string | readonly ({
|
|
77
70
|
readonly kind: "text";
|
|
78
71
|
readonly text: string;
|
|
79
72
|
} | {
|
|
80
73
|
readonly kind: "file";
|
|
81
|
-
readonly name: string;
|
|
82
74
|
readonly blob: import("@nyte-ai/schema").Id<"blob">;
|
|
83
75
|
readonly mime: string;
|
|
76
|
+
readonly name: string;
|
|
84
77
|
} | {
|
|
85
|
-
readonly blob?: import("@nyte-ai/schema").Id<"blob"> | undefined;
|
|
86
|
-
readonly path: string;
|
|
87
78
|
readonly kind: "reference";
|
|
79
|
+
readonly path: string;
|
|
80
|
+
readonly blob?: import("@nyte-ai/schema").Id<"blob"> | undefined;
|
|
88
81
|
} | {
|
|
89
82
|
readonly kind: "skill";
|
|
90
83
|
readonly name: string;
|
|
91
84
|
readonly location: string;
|
|
92
85
|
} | {
|
|
86
|
+
readonly kind: "excerpt";
|
|
93
87
|
readonly source: {
|
|
94
|
-
readonly path: string;
|
|
95
88
|
readonly kind: "diff";
|
|
89
|
+
readonly path: string;
|
|
90
|
+
readonly side: "new" | "old";
|
|
96
91
|
readonly start: number;
|
|
97
92
|
readonly end: number;
|
|
98
|
-
readonly side: "old" | "new";
|
|
99
93
|
} | {
|
|
100
|
-
readonly command?: string | undefined;
|
|
101
94
|
readonly kind: "terminal";
|
|
95
|
+
readonly command?: string | undefined;
|
|
102
96
|
} | {
|
|
103
97
|
readonly kind: "browser";
|
|
104
98
|
readonly url: string;
|
|
105
99
|
readonly selector: string;
|
|
106
100
|
};
|
|
107
|
-
readonly kind: "excerpt";
|
|
108
101
|
readonly text: string;
|
|
109
102
|
})[];
|
|
103
|
+
readonly source: {
|
|
104
|
+
readonly kind: "user";
|
|
105
|
+
} | {
|
|
106
|
+
readonly kind: "child";
|
|
107
|
+
readonly session: import("@nyte-ai/schema").Id<"session">;
|
|
108
|
+
readonly end: "completed" | "failed" | "stopped";
|
|
109
|
+
} | {
|
|
110
|
+
readonly kind: "job";
|
|
111
|
+
readonly job: import("@nyte-ai/schema").Id<"job">;
|
|
112
|
+
} | {
|
|
113
|
+
readonly kind: "shell";
|
|
114
|
+
} | {
|
|
115
|
+
readonly kind: "action";
|
|
116
|
+
readonly label: string;
|
|
117
|
+
readonly command?: string | undefined;
|
|
118
|
+
};
|
|
119
|
+
readonly delivery: "attach" | "queue" | "steer";
|
|
110
120
|
readonly siblings: readonly import("@nyte-ai/schema").Id<"commit">[];
|
|
111
121
|
} | {
|
|
112
122
|
readonly kind: "part";
|
|
@@ -121,36 +131,72 @@ export declare function recording(store: StoreConnection): {
|
|
|
121
131
|
readonly replaces: readonly import("@nyte-ai/schema").Id<"commit">[];
|
|
122
132
|
};
|
|
123
133
|
} | {
|
|
124
|
-
readonly kind: "head";
|
|
125
|
-
readonly reason: "moved" | "created" | "merged" | "removed";
|
|
126
134
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
135
|
+
readonly kind: "head";
|
|
127
136
|
readonly from: import("@nyte-ai/schema").Id<"commit"> | null;
|
|
128
137
|
readonly to: import("@nyte-ai/schema").Id<"commit"> | null;
|
|
138
|
+
readonly reason: "created" | "merged" | "moved" | "removed";
|
|
129
139
|
} | {
|
|
130
|
-
readonly kind: "seen";
|
|
131
|
-
readonly commit: import("@nyte-ai/schema").Id<"commit"> | null;
|
|
132
140
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
141
|
+
readonly kind: "seen";
|
|
133
142
|
readonly principal: import("@nyte-ai/schema").Id<"principal">;
|
|
143
|
+
readonly commit: import("@nyte-ai/schema").Id<"commit"> | null;
|
|
134
144
|
} | {
|
|
135
|
-
readonly
|
|
145
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
146
|
+
readonly kind: "input";
|
|
136
147
|
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
148
|
+
readonly change: "admitted";
|
|
149
|
+
readonly content: string | readonly ({
|
|
150
|
+
readonly kind: "text";
|
|
151
|
+
readonly text: string;
|
|
152
|
+
} | {
|
|
153
|
+
readonly kind: "file";
|
|
154
|
+
readonly blob: import("@nyte-ai/schema").Id<"blob">;
|
|
155
|
+
readonly mime: string;
|
|
156
|
+
readonly name: string;
|
|
157
|
+
} | {
|
|
158
|
+
readonly kind: "reference";
|
|
159
|
+
readonly path: string;
|
|
160
|
+
readonly blob?: import("@nyte-ai/schema").Id<"blob"> | undefined;
|
|
161
|
+
} | {
|
|
162
|
+
readonly kind: "skill";
|
|
163
|
+
readonly name: string;
|
|
164
|
+
readonly location: string;
|
|
165
|
+
} | {
|
|
166
|
+
readonly kind: "excerpt";
|
|
167
|
+
readonly source: {
|
|
168
|
+
readonly kind: "diff";
|
|
169
|
+
readonly path: string;
|
|
170
|
+
readonly side: "new" | "old";
|
|
171
|
+
readonly start: number;
|
|
172
|
+
readonly end: number;
|
|
173
|
+
} | {
|
|
174
|
+
readonly kind: "terminal";
|
|
175
|
+
readonly command?: string | undefined;
|
|
176
|
+
} | {
|
|
177
|
+
readonly kind: "browser";
|
|
178
|
+
readonly url: string;
|
|
179
|
+
readonly selector: string;
|
|
180
|
+
};
|
|
181
|
+
readonly text: string;
|
|
182
|
+
})[];
|
|
137
183
|
readonly source: {
|
|
138
184
|
readonly kind: "user";
|
|
139
185
|
} | {
|
|
140
186
|
readonly kind: "child";
|
|
141
187
|
readonly session: import("@nyte-ai/schema").Id<"session">;
|
|
142
|
-
readonly end: "completed" | "
|
|
188
|
+
readonly end: "completed" | "failed" | "stopped";
|
|
143
189
|
} | {
|
|
144
190
|
readonly kind: "job";
|
|
145
191
|
readonly job: import("@nyte-ai/schema").Id<"job">;
|
|
146
192
|
} | {
|
|
147
193
|
readonly kind: "shell";
|
|
148
194
|
} | {
|
|
149
|
-
readonly command?: string | undefined;
|
|
150
195
|
readonly kind: "action";
|
|
151
196
|
readonly label: string;
|
|
197
|
+
readonly command?: string | undefined;
|
|
152
198
|
};
|
|
153
|
-
readonly
|
|
199
|
+
readonly delivery: "attach" | "queue" | "steer";
|
|
154
200
|
readonly schedule: {
|
|
155
201
|
readonly kind: "joined";
|
|
156
202
|
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
@@ -163,64 +209,29 @@ export declare function recording(store: StoreConnection): {
|
|
|
163
209
|
readonly kind: "deciding";
|
|
164
210
|
};
|
|
165
211
|
readonly covered: boolean;
|
|
166
|
-
readonly replaced: {
|
|
167
|
-
readonly stopped: import("@nyte-ai/schema").Id<"run"> | null;
|
|
168
|
-
readonly previous: import("@nyte-ai/schema").Id<"message">;
|
|
169
|
-
} | null;
|
|
170
|
-
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
171
|
-
readonly delivery: "steer" | "queue" | "attach";
|
|
172
212
|
readonly configuration: {
|
|
173
213
|
readonly kind: "exact";
|
|
174
214
|
readonly model: {
|
|
175
|
-
readonly id: string;
|
|
176
215
|
readonly provider: string;
|
|
216
|
+
readonly id: string;
|
|
177
217
|
};
|
|
178
|
-
readonly thinking: "
|
|
218
|
+
readonly thinking: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
179
219
|
readonly agent: string | null;
|
|
180
220
|
readonly settings: {
|
|
181
221
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
182
222
|
};
|
|
183
223
|
readonly settingsVersion: string;
|
|
184
224
|
};
|
|
185
|
-
readonly
|
|
186
|
-
readonly
|
|
187
|
-
readonly
|
|
188
|
-
} |
|
|
189
|
-
|
|
190
|
-
readonly name: string;
|
|
191
|
-
readonly blob: import("@nyte-ai/schema").Id<"blob">;
|
|
192
|
-
readonly mime: string;
|
|
193
|
-
} | {
|
|
194
|
-
readonly blob?: import("@nyte-ai/schema").Id<"blob"> | undefined;
|
|
195
|
-
readonly path: string;
|
|
196
|
-
readonly kind: "reference";
|
|
197
|
-
} | {
|
|
198
|
-
readonly kind: "skill";
|
|
199
|
-
readonly name: string;
|
|
200
|
-
readonly location: string;
|
|
201
|
-
} | {
|
|
202
|
-
readonly source: {
|
|
203
|
-
readonly path: string;
|
|
204
|
-
readonly kind: "diff";
|
|
205
|
-
readonly start: number;
|
|
206
|
-
readonly end: number;
|
|
207
|
-
readonly side: "old" | "new";
|
|
208
|
-
} | {
|
|
209
|
-
readonly command?: string | undefined;
|
|
210
|
-
readonly kind: "terminal";
|
|
211
|
-
} | {
|
|
212
|
-
readonly kind: "browser";
|
|
213
|
-
readonly url: string;
|
|
214
|
-
readonly selector: string;
|
|
215
|
-
};
|
|
216
|
-
readonly kind: "excerpt";
|
|
217
|
-
readonly text: string;
|
|
218
|
-
})[];
|
|
219
|
-
readonly change: "admitted";
|
|
225
|
+
readonly replaced: {
|
|
226
|
+
readonly previous: import("@nyte-ai/schema").Id<"message">;
|
|
227
|
+
readonly stopped: import("@nyte-ai/schema").Id<"run"> | null;
|
|
228
|
+
} | null;
|
|
229
|
+
readonly requires?: readonly string[] | undefined;
|
|
220
230
|
} | {
|
|
221
|
-
readonly
|
|
231
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
222
232
|
readonly kind: "input";
|
|
223
|
-
readonly
|
|
233
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
234
|
+
readonly change: "scheduled";
|
|
224
235
|
readonly schedule: {
|
|
225
236
|
readonly kind: "joined";
|
|
226
237
|
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
@@ -232,73 +243,72 @@ export declare function recording(store: StoreConnection): {
|
|
|
232
243
|
} | {
|
|
233
244
|
readonly kind: "deciding";
|
|
234
245
|
};
|
|
235
|
-
readonly
|
|
236
|
-
readonly change: "scheduled";
|
|
246
|
+
readonly position: number;
|
|
237
247
|
} | {
|
|
238
|
-
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
239
|
-
readonly kind: "input";
|
|
240
|
-
readonly run: import("@nyte-ai/schema").Id<"run"> | null;
|
|
241
|
-
readonly commit: import("@nyte-ai/schema").Id<"commit">;
|
|
242
248
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
249
|
+
readonly kind: "input";
|
|
250
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
243
251
|
readonly change: "landed";
|
|
252
|
+
readonly commit: import("@nyte-ai/schema").Id<"commit">;
|
|
253
|
+
readonly run: import("@nyte-ai/schema").Id<"run"> | null;
|
|
244
254
|
} | {
|
|
245
|
-
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
246
|
-
readonly kind: "input";
|
|
247
255
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
256
|
+
readonly kind: "input";
|
|
257
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
248
258
|
readonly change: "withdrawn";
|
|
249
259
|
} | {
|
|
250
|
-
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
251
|
-
readonly kind: "input";
|
|
252
260
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
261
|
+
readonly kind: "input";
|
|
262
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
253
263
|
readonly change: "superseded";
|
|
254
264
|
readonly by: import("@nyte-ai/schema").Id<"message">;
|
|
255
265
|
} | {
|
|
266
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
256
267
|
readonly kind: "run";
|
|
257
268
|
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
258
|
-
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
259
269
|
readonly change: "started";
|
|
260
270
|
readonly view: {
|
|
261
|
-
readonly head: import("@nyte-ai/schema").Id<"head">;
|
|
262
271
|
readonly id: import("@nyte-ai/schema").Id<"run">;
|
|
272
|
+
readonly head: import("@nyte-ai/schema").Id<"head">;
|
|
273
|
+
readonly startedAt: number;
|
|
274
|
+
readonly attempt: number;
|
|
263
275
|
readonly configuration: {
|
|
264
276
|
readonly kind: "exact";
|
|
265
277
|
readonly model: {
|
|
266
|
-
readonly id: string;
|
|
267
278
|
readonly provider: string;
|
|
279
|
+
readonly id: string;
|
|
268
280
|
};
|
|
269
|
-
readonly thinking: "
|
|
281
|
+
readonly thinking: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
270
282
|
readonly agent: string | null;
|
|
271
283
|
readonly settings: {
|
|
272
284
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
273
285
|
};
|
|
274
286
|
readonly settingsVersion: string;
|
|
275
287
|
};
|
|
276
|
-
readonly startedAt: number;
|
|
277
|
-
readonly attempt: number;
|
|
278
288
|
readonly origin: {
|
|
279
|
-
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
280
289
|
readonly kind: "input";
|
|
290
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
281
291
|
} | {
|
|
282
292
|
readonly kind: "continuation";
|
|
283
|
-
readonly from: "
|
|
293
|
+
readonly from: "child" | "job" | "wake";
|
|
284
294
|
};
|
|
285
295
|
};
|
|
286
296
|
} | {
|
|
297
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
287
298
|
readonly kind: "run";
|
|
288
299
|
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
289
|
-
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
290
|
-
readonly phase: "responding" | "executing";
|
|
291
300
|
readonly change: "phase";
|
|
301
|
+
readonly phase: "executing" | "responding";
|
|
292
302
|
} | {
|
|
303
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
293
304
|
readonly kind: "run";
|
|
294
305
|
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
295
|
-
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
296
306
|
readonly change: "waiting";
|
|
297
307
|
readonly on: {
|
|
298
308
|
readonly deadline?: number | undefined;
|
|
299
309
|
readonly kind: "run";
|
|
300
|
-
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
301
310
|
readonly session: import("@nyte-ai/schema").Id<"session">;
|
|
311
|
+
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
302
312
|
} | {
|
|
303
313
|
readonly deadline?: number | undefined;
|
|
304
314
|
readonly kind: "job";
|
|
@@ -313,22 +323,23 @@ export declare function recording(store: StoreConnection): {
|
|
|
313
323
|
readonly until: number;
|
|
314
324
|
};
|
|
315
325
|
} | {
|
|
326
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
316
327
|
readonly kind: "run";
|
|
317
328
|
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
318
|
-
readonly reason: string;
|
|
319
|
-
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
320
|
-
readonly until: number;
|
|
321
|
-
readonly attempt: number;
|
|
322
329
|
readonly change: "retrying";
|
|
330
|
+
readonly attempt: number;
|
|
331
|
+
readonly until: number;
|
|
332
|
+
readonly reason: string;
|
|
323
333
|
} | {
|
|
334
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
324
335
|
readonly kind: "run";
|
|
325
336
|
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
326
|
-
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
327
337
|
readonly change: "stopping";
|
|
328
338
|
} | {
|
|
339
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
329
340
|
readonly kind: "run";
|
|
330
341
|
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
331
|
-
readonly
|
|
342
|
+
readonly change: "ended";
|
|
332
343
|
readonly end: {
|
|
333
344
|
readonly kind: "completed";
|
|
334
345
|
readonly usage: {
|
|
@@ -351,92 +362,91 @@ export declare function recording(store: StoreConnection): {
|
|
|
351
362
|
} | {
|
|
352
363
|
readonly kind: "failed";
|
|
353
364
|
readonly failure: {
|
|
354
|
-
readonly
|
|
365
|
+
readonly class: "aborted" | "auth" | "context_window" | "network" | "overloaded" | "provider" | "quota" | "rate_limit" | "runner";
|
|
355
366
|
readonly message: string;
|
|
356
|
-
readonly
|
|
367
|
+
readonly retryAfterMs?: number | undefined;
|
|
357
368
|
};
|
|
358
369
|
};
|
|
359
|
-
readonly change: "ended";
|
|
360
370
|
} | {
|
|
361
|
-
readonly kind: "part";
|
|
362
|
-
readonly run: import("@nyte-ai/schema").Id<"run"> | null;
|
|
363
371
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
364
|
-
readonly
|
|
372
|
+
readonly kind: "part";
|
|
365
373
|
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
366
|
-
readonly version: number;
|
|
367
|
-
readonly owner: string | null;
|
|
368
|
-
readonly partKind: string;
|
|
369
374
|
readonly change: "created";
|
|
375
|
+
readonly partKind: string;
|
|
370
376
|
readonly placement: {
|
|
371
377
|
readonly kind: "transcript";
|
|
372
|
-
readonly role: "
|
|
378
|
+
readonly role: "answer" | "note" | "step";
|
|
373
379
|
} | {
|
|
374
380
|
readonly kind: "modal";
|
|
375
381
|
} | {
|
|
376
382
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
377
383
|
readonly kind: string;
|
|
378
384
|
};
|
|
385
|
+
readonly state: import("@nyte-ai/schema").Json;
|
|
386
|
+
readonly version: number;
|
|
387
|
+
readonly run: import("@nyte-ai/schema").Id<"run"> | null;
|
|
388
|
+
readonly owner: string | null;
|
|
379
389
|
} | {
|
|
380
|
-
readonly kind: "part";
|
|
381
390
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
382
|
-
readonly
|
|
391
|
+
readonly kind: "part";
|
|
383
392
|
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
384
|
-
readonly version: number;
|
|
385
393
|
readonly change: "updated";
|
|
394
|
+
readonly state: import("@nyte-ai/schema").Json;
|
|
395
|
+
readonly version: number;
|
|
386
396
|
} | {
|
|
387
|
-
readonly kind: "part";
|
|
388
397
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
389
|
-
readonly
|
|
398
|
+
readonly kind: "part";
|
|
390
399
|
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
391
400
|
readonly change: "waiting";
|
|
401
|
+
readonly call: import("@nyte-ai/schema").Id<"call">;
|
|
392
402
|
} | {
|
|
393
|
-
readonly kind: "part";
|
|
394
|
-
readonly commit: import("@nyte-ai/schema").Id<"commit">;
|
|
395
403
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
404
|
+
readonly kind: "part";
|
|
396
405
|
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
397
|
-
readonly endedAt: number;
|
|
398
406
|
readonly change: "settled";
|
|
407
|
+
readonly commit: import("@nyte-ai/schema").Id<"commit">;
|
|
408
|
+
readonly endedAt: number;
|
|
399
409
|
} | {
|
|
410
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
400
411
|
readonly kind: "part";
|
|
412
|
+
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
413
|
+
readonly change: "failed";
|
|
401
414
|
readonly failure: {
|
|
402
|
-
readonly
|
|
415
|
+
readonly class: "aborted" | "auth" | "context_window" | "network" | "overloaded" | "provider" | "quota" | "rate_limit" | "runner";
|
|
403
416
|
readonly message: string;
|
|
404
|
-
readonly
|
|
417
|
+
readonly retryAfterMs?: number | undefined;
|
|
405
418
|
};
|
|
406
|
-
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
407
|
-
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
408
|
-
readonly change: "failed";
|
|
409
419
|
} | {
|
|
410
|
-
readonly kind: "part";
|
|
411
420
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
421
|
+
readonly kind: "part";
|
|
422
|
+
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
423
|
+
readonly change: "answered";
|
|
412
424
|
readonly answer: {
|
|
413
|
-
readonly input: import("@nyte-ai/schema").Json;
|
|
414
425
|
readonly action: string;
|
|
426
|
+
readonly input: import("@nyte-ai/schema").Json;
|
|
415
427
|
};
|
|
416
|
-
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
417
|
-
readonly change: "answered";
|
|
418
428
|
} | {
|
|
419
|
-
readonly kind: "part";
|
|
420
429
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
430
|
+
readonly kind: "part";
|
|
421
431
|
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
422
432
|
readonly change: "closed";
|
|
423
433
|
} | {
|
|
424
|
-
readonly kind: "call";
|
|
425
434
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
435
|
+
readonly kind: "call";
|
|
426
436
|
readonly call: import("@nyte-ai/schema").Id<"call">;
|
|
427
437
|
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
428
438
|
readonly change: "intent";
|
|
429
439
|
} | {
|
|
430
|
-
readonly kind: "call";
|
|
431
440
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
441
|
+
readonly kind: "call";
|
|
432
442
|
readonly call: import("@nyte-ai/schema").Id<"call">;
|
|
433
443
|
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
434
444
|
readonly change: "waiting";
|
|
435
445
|
readonly on: {
|
|
436
446
|
readonly deadline?: number | undefined;
|
|
437
447
|
readonly kind: "run";
|
|
438
|
-
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
439
448
|
readonly session: import("@nyte-ai/schema").Id<"session">;
|
|
449
|
+
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
440
450
|
} | {
|
|
441
451
|
readonly deadline?: number | undefined;
|
|
442
452
|
readonly kind: "job";
|
|
@@ -451,32 +461,27 @@ export declare function recording(store: StoreConnection): {
|
|
|
451
461
|
readonly until: number;
|
|
452
462
|
};
|
|
453
463
|
} | {
|
|
454
|
-
readonly kind: "call";
|
|
455
464
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
465
|
+
readonly kind: "call";
|
|
456
466
|
readonly call: import("@nyte-ai/schema").Id<"call">;
|
|
457
467
|
readonly part: import("@nyte-ai/schema").Id<"part">;
|
|
458
|
-
readonly
|
|
459
|
-
readonly unattributed?: true | undefined;
|
|
460
|
-
readonly removed: number;
|
|
461
|
-
readonly added: number;
|
|
462
|
-
readonly paths: readonly string[];
|
|
463
|
-
} | null;
|
|
468
|
+
readonly change: "settled";
|
|
464
469
|
readonly outcome: {
|
|
465
|
-
readonly output: import("@nyte-ai/schema").Json;
|
|
466
470
|
readonly kind: "ok";
|
|
467
|
-
readonly parts: readonly import("@nyte-ai/schema").Id<"part">[];
|
|
468
471
|
readonly content: readonly ({
|
|
469
472
|
readonly kind: "text";
|
|
470
473
|
readonly text: string;
|
|
471
474
|
} | {
|
|
472
|
-
readonly name?: string | undefined;
|
|
473
475
|
readonly kind: "file";
|
|
474
476
|
readonly blob: import("@nyte-ai/schema").Id<"blob">;
|
|
475
477
|
readonly mime: string;
|
|
478
|
+
readonly name?: string | undefined;
|
|
476
479
|
})[];
|
|
480
|
+
readonly output: import("@nyte-ai/schema").Json;
|
|
481
|
+
readonly parts: readonly import("@nyte-ai/schema").Id<"part">[];
|
|
477
482
|
} | {
|
|
478
|
-
readonly message: string;
|
|
479
483
|
readonly kind: "failed";
|
|
484
|
+
readonly message: string;
|
|
480
485
|
} | {
|
|
481
486
|
readonly kind: "interrupted";
|
|
482
487
|
} | {
|
|
@@ -485,27 +490,32 @@ export declare function recording(store: StoreConnection): {
|
|
|
485
490
|
} | {
|
|
486
491
|
readonly kind: "stopped";
|
|
487
492
|
};
|
|
488
|
-
readonly
|
|
493
|
+
readonly changes: {
|
|
494
|
+
readonly added: number;
|
|
495
|
+
readonly removed: number;
|
|
496
|
+
readonly paths: readonly string[];
|
|
497
|
+
readonly unattributed?: true | undefined;
|
|
498
|
+
} | null;
|
|
489
499
|
} | {
|
|
490
|
-
readonly kind: "background";
|
|
491
500
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
501
|
+
readonly kind: "background";
|
|
492
502
|
readonly item: {
|
|
493
|
-
readonly kind: "
|
|
503
|
+
readonly kind: "child" | "job" | "page";
|
|
494
504
|
readonly id: string;
|
|
495
|
-
readonly state: "failed" | "working" | "waiting" | "done";
|
|
496
505
|
readonly title: string;
|
|
506
|
+
readonly state: "done" | "failed" | "waiting" | "working";
|
|
497
507
|
readonly startedBy: import("@nyte-ai/schema").Id<"call"> | null;
|
|
498
508
|
};
|
|
499
509
|
} | {
|
|
500
|
-
readonly kind: "configured";
|
|
501
510
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
511
|
+
readonly kind: "configured";
|
|
502
512
|
readonly selected: {
|
|
503
513
|
readonly kind: "exact";
|
|
504
514
|
readonly model: {
|
|
505
|
-
readonly id: string;
|
|
506
515
|
readonly provider: string;
|
|
516
|
+
readonly id: string;
|
|
507
517
|
};
|
|
508
|
-
readonly thinking: "
|
|
518
|
+
readonly thinking: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
509
519
|
readonly agent: string | null;
|
|
510
520
|
readonly settings: {
|
|
511
521
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
@@ -515,10 +525,10 @@ export declare function recording(store: StoreConnection): {
|
|
|
515
525
|
readonly effective: {
|
|
516
526
|
readonly kind: "exact";
|
|
517
527
|
readonly model: {
|
|
518
|
-
readonly id: string;
|
|
519
528
|
readonly provider: string;
|
|
529
|
+
readonly id: string;
|
|
520
530
|
};
|
|
521
|
-
readonly thinking: "
|
|
531
|
+
readonly thinking: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
522
532
|
readonly agent: string | null;
|
|
523
533
|
readonly settings: {
|
|
524
534
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
@@ -526,6 +536,7 @@ export declare function recording(store: StoreConnection): {
|
|
|
526
536
|
readonly settingsVersion: string;
|
|
527
537
|
} | null;
|
|
528
538
|
} | {
|
|
539
|
+
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
529
540
|
readonly kind: "request";
|
|
530
541
|
readonly usage: {
|
|
531
542
|
readonly input: number;
|
|
@@ -542,8 +553,6 @@ export declare function recording(store: StoreConnection): {
|
|
|
542
553
|
readonly total: number;
|
|
543
554
|
};
|
|
544
555
|
};
|
|
545
|
-
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
546
|
-
readonly step: "summary" | "compaction" | "assistant" | "plugin";
|
|
547
556
|
readonly context: {
|
|
548
557
|
readonly tokens: number;
|
|
549
558
|
readonly window: number;
|
|
@@ -563,19 +572,20 @@ export declare function recording(store: StoreConnection): {
|
|
|
563
572
|
};
|
|
564
573
|
} | null;
|
|
565
574
|
};
|
|
575
|
+
readonly step: "assistant" | "compaction" | "plugin" | "summary";
|
|
566
576
|
} | {
|
|
567
|
-
readonly kind: "changes";
|
|
568
577
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
578
|
+
readonly kind: "changes";
|
|
569
579
|
readonly files: readonly {
|
|
570
|
-
readonly from?: string | undefined;
|
|
571
580
|
readonly path: string;
|
|
572
|
-
readonly
|
|
573
|
-
readonly status: "untracked" | "added" | "modified" | "deleted" | "renamed" | "conflicted";
|
|
581
|
+
readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
|
|
574
582
|
readonly added: number;
|
|
583
|
+
readonly removed: number;
|
|
584
|
+
readonly from?: string | undefined;
|
|
575
585
|
}[];
|
|
576
586
|
} | {
|
|
577
|
-
readonly kind: "session";
|
|
578
587
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
588
|
+
readonly kind: "session";
|
|
579
589
|
readonly info: {
|
|
580
590
|
readonly id: import("@nyte-ai/schema").Id<"session">;
|
|
581
591
|
readonly name: string | null;
|
|
@@ -590,19 +600,34 @@ export declare function recording(store: StoreConnection): {
|
|
|
590
600
|
readonly kind: "inactive";
|
|
591
601
|
} | {
|
|
592
602
|
readonly kind: "unavailable";
|
|
593
|
-
readonly reason: "
|
|
603
|
+
readonly reason: "unreachable" | "unsupported";
|
|
594
604
|
readonly workspace: import("@nyte-ai/schema").Id<"workspace">;
|
|
595
605
|
} | {
|
|
596
|
-
readonly message: string;
|
|
597
606
|
readonly kind: "failed";
|
|
607
|
+
readonly message: string;
|
|
598
608
|
};
|
|
599
609
|
readonly heads: readonly {
|
|
600
610
|
readonly name: import("@nyte-ai/schema").Id<"head">;
|
|
611
|
+
readonly tip: {
|
|
612
|
+
readonly kind: "start";
|
|
613
|
+
} | {
|
|
614
|
+
readonly kind: "commit";
|
|
615
|
+
readonly id: import("@nyte-ai/schema").Id<"commit">;
|
|
616
|
+
};
|
|
617
|
+
readonly stack: {
|
|
618
|
+
readonly parent: import("@nyte-ai/schema").Id<"head">;
|
|
619
|
+
readonly base: {
|
|
620
|
+
readonly kind: "start";
|
|
621
|
+
} | {
|
|
622
|
+
readonly kind: "commit";
|
|
623
|
+
readonly id: import("@nyte-ai/schema").Id<"commit">;
|
|
624
|
+
};
|
|
625
|
+
readonly stale: boolean;
|
|
626
|
+
} | null;
|
|
601
627
|
readonly execution: {
|
|
602
628
|
readonly kind: "idle";
|
|
603
629
|
readonly lastRun: {
|
|
604
630
|
readonly id: import("@nyte-ai/schema").Id<"run">;
|
|
605
|
-
readonly endedAt: number;
|
|
606
631
|
readonly end: {
|
|
607
632
|
readonly kind: "completed";
|
|
608
633
|
readonly usage: {
|
|
@@ -625,75 +650,76 @@ export declare function recording(store: StoreConnection): {
|
|
|
625
650
|
} | {
|
|
626
651
|
readonly kind: "failed";
|
|
627
652
|
readonly failure: {
|
|
628
|
-
readonly
|
|
653
|
+
readonly class: "aborted" | "auth" | "context_window" | "network" | "overloaded" | "provider" | "quota" | "rate_limit" | "runner";
|
|
629
654
|
readonly message: string;
|
|
630
|
-
readonly
|
|
655
|
+
readonly retryAfterMs?: number | undefined;
|
|
631
656
|
};
|
|
632
657
|
};
|
|
658
|
+
readonly endedAt: number;
|
|
633
659
|
} | null;
|
|
634
660
|
} | {
|
|
635
661
|
readonly kind: "live";
|
|
636
662
|
readonly run: {
|
|
637
|
-
readonly head: import("@nyte-ai/schema").Id<"head">;
|
|
638
663
|
readonly id: import("@nyte-ai/schema").Id<"run">;
|
|
664
|
+
readonly head: import("@nyte-ai/schema").Id<"head">;
|
|
665
|
+
readonly startedAt: number;
|
|
666
|
+
readonly attempt: number;
|
|
639
667
|
readonly configuration: {
|
|
640
668
|
readonly kind: "exact";
|
|
641
669
|
readonly model: {
|
|
642
|
-
readonly id: string;
|
|
643
670
|
readonly provider: string;
|
|
671
|
+
readonly id: string;
|
|
644
672
|
};
|
|
645
|
-
readonly thinking: "
|
|
673
|
+
readonly thinking: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
646
674
|
readonly agent: string | null;
|
|
647
675
|
readonly settings: {
|
|
648
676
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
649
677
|
};
|
|
650
678
|
readonly settingsVersion: string;
|
|
651
679
|
};
|
|
652
|
-
readonly startedAt: number;
|
|
653
|
-
readonly attempt: number;
|
|
654
680
|
readonly origin: {
|
|
655
|
-
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
656
681
|
readonly kind: "input";
|
|
682
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
657
683
|
} | {
|
|
658
684
|
readonly kind: "continuation";
|
|
659
|
-
readonly from: "
|
|
685
|
+
readonly from: "child" | "job" | "wake";
|
|
660
686
|
};
|
|
661
687
|
};
|
|
662
|
-
readonly phase: "
|
|
688
|
+
readonly phase: "executing" | "responding";
|
|
663
689
|
readonly stopping: boolean;
|
|
664
690
|
} | {
|
|
665
691
|
readonly kind: "waiting";
|
|
666
692
|
readonly run: {
|
|
667
|
-
readonly head: import("@nyte-ai/schema").Id<"head">;
|
|
668
693
|
readonly id: import("@nyte-ai/schema").Id<"run">;
|
|
694
|
+
readonly head: import("@nyte-ai/schema").Id<"head">;
|
|
695
|
+
readonly startedAt: number;
|
|
696
|
+
readonly attempt: number;
|
|
669
697
|
readonly configuration: {
|
|
670
698
|
readonly kind: "exact";
|
|
671
699
|
readonly model: {
|
|
672
|
-
readonly id: string;
|
|
673
700
|
readonly provider: string;
|
|
701
|
+
readonly id: string;
|
|
674
702
|
};
|
|
675
|
-
readonly thinking: "
|
|
703
|
+
readonly thinking: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
676
704
|
readonly agent: string | null;
|
|
677
705
|
readonly settings: {
|
|
678
706
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
679
707
|
};
|
|
680
708
|
readonly settingsVersion: string;
|
|
681
709
|
};
|
|
682
|
-
readonly startedAt: number;
|
|
683
|
-
readonly attempt: number;
|
|
684
710
|
readonly origin: {
|
|
685
|
-
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
686
711
|
readonly kind: "input";
|
|
712
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
687
713
|
} | {
|
|
688
714
|
readonly kind: "continuation";
|
|
689
|
-
readonly from: "
|
|
715
|
+
readonly from: "child" | "job" | "wake";
|
|
690
716
|
};
|
|
691
717
|
};
|
|
692
718
|
readonly on: {
|
|
693
719
|
readonly deadline?: number | undefined;
|
|
694
720
|
readonly kind: "run";
|
|
695
|
-
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
696
721
|
readonly session: import("@nyte-ai/schema").Id<"session">;
|
|
722
|
+
readonly run: import("@nyte-ai/schema").Id<"run">;
|
|
697
723
|
} | {
|
|
698
724
|
readonly deadline?: number | undefined;
|
|
699
725
|
readonly kind: "job";
|
|
@@ -710,156 +736,130 @@ export declare function recording(store: StoreConnection): {
|
|
|
710
736
|
} | {
|
|
711
737
|
readonly kind: "retrying";
|
|
712
738
|
readonly run: {
|
|
713
|
-
readonly head: import("@nyte-ai/schema").Id<"head">;
|
|
714
739
|
readonly id: import("@nyte-ai/schema").Id<"run">;
|
|
740
|
+
readonly head: import("@nyte-ai/schema").Id<"head">;
|
|
741
|
+
readonly startedAt: number;
|
|
742
|
+
readonly attempt: number;
|
|
715
743
|
readonly configuration: {
|
|
716
744
|
readonly kind: "exact";
|
|
717
745
|
readonly model: {
|
|
718
|
-
readonly id: string;
|
|
719
746
|
readonly provider: string;
|
|
747
|
+
readonly id: string;
|
|
720
748
|
};
|
|
721
|
-
readonly thinking: "
|
|
749
|
+
readonly thinking: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
722
750
|
readonly agent: string | null;
|
|
723
751
|
readonly settings: {
|
|
724
752
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
725
753
|
};
|
|
726
754
|
readonly settingsVersion: string;
|
|
727
755
|
};
|
|
728
|
-
readonly startedAt: number;
|
|
729
|
-
readonly attempt: number;
|
|
730
756
|
readonly origin: {
|
|
731
|
-
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
732
757
|
readonly kind: "input";
|
|
758
|
+
readonly message: import("@nyte-ai/schema").Id<"message">;
|
|
733
759
|
} | {
|
|
734
760
|
readonly kind: "continuation";
|
|
735
|
-
readonly from: "
|
|
761
|
+
readonly from: "child" | "job" | "wake";
|
|
736
762
|
};
|
|
737
763
|
};
|
|
738
|
-
readonly reason: string;
|
|
739
764
|
readonly until: number;
|
|
765
|
+
readonly reason: string;
|
|
740
766
|
};
|
|
741
|
-
readonly tip: {
|
|
742
|
-
readonly kind: "start";
|
|
743
|
-
} | {
|
|
744
|
-
readonly kind: "commit";
|
|
745
|
-
readonly id: import("@nyte-ai/schema").Id<"commit">;
|
|
746
|
-
};
|
|
747
|
-
readonly stack: {
|
|
748
|
-
readonly stale: boolean;
|
|
749
|
-
readonly base: {
|
|
750
|
-
readonly kind: "start";
|
|
751
|
-
} | {
|
|
752
|
-
readonly kind: "commit";
|
|
753
|
-
readonly id: import("@nyte-ai/schema").Id<"commit">;
|
|
754
|
-
};
|
|
755
|
-
readonly parent: import("@nyte-ai/schema").Id<"head">;
|
|
756
|
-
} | null;
|
|
757
767
|
readonly unread: boolean;
|
|
758
768
|
}[];
|
|
759
769
|
readonly createdAt: number;
|
|
760
770
|
readonly lastActivityAt: number;
|
|
761
771
|
};
|
|
762
772
|
} | {
|
|
763
|
-
readonly kind: "activation";
|
|
764
773
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
774
|
+
readonly kind: "activation";
|
|
765
775
|
readonly activation: {
|
|
766
776
|
readonly kind: "active";
|
|
767
777
|
} | {
|
|
768
778
|
readonly kind: "inactive";
|
|
769
779
|
} | {
|
|
770
780
|
readonly kind: "unavailable";
|
|
771
|
-
readonly reason: "
|
|
781
|
+
readonly reason: "unreachable" | "unsupported";
|
|
772
782
|
readonly workspace: import("@nyte-ai/schema").Id<"workspace">;
|
|
773
783
|
} | {
|
|
774
|
-
readonly message: string;
|
|
775
784
|
readonly kind: "failed";
|
|
785
|
+
readonly message: string;
|
|
776
786
|
};
|
|
777
787
|
} | {
|
|
778
|
-
readonly kind: "catalog";
|
|
779
788
|
readonly head: import("@nyte-ai/schema").Id<"head"> | null;
|
|
789
|
+
readonly kind: "catalog";
|
|
780
790
|
readonly catalog: {
|
|
791
|
+
readonly commands: readonly {
|
|
792
|
+
readonly name: string;
|
|
793
|
+
readonly owner: string;
|
|
794
|
+
readonly side: "client" | "core";
|
|
795
|
+
readonly title: string;
|
|
796
|
+
readonly description: string;
|
|
797
|
+
readonly takesText: boolean;
|
|
798
|
+
readonly completes: boolean;
|
|
799
|
+
readonly category?: string | undefined;
|
|
800
|
+
readonly keywords?: readonly string[] | undefined;
|
|
801
|
+
}[];
|
|
781
802
|
readonly settings: readonly {
|
|
782
|
-
readonly value: import("@nyte-ai/schema").Json;
|
|
783
803
|
readonly id: string;
|
|
784
|
-
readonly label: string;
|
|
785
804
|
readonly owner: string;
|
|
786
|
-
readonly from: "host" | "session" | "default";
|
|
787
805
|
readonly scope: "host" | "session";
|
|
806
|
+
readonly label: string;
|
|
788
807
|
readonly schema: {
|
|
789
808
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
790
809
|
};
|
|
791
810
|
readonly choices: readonly {
|
|
792
|
-
readonly badge?: string | undefined;
|
|
793
811
|
readonly value: import("@nyte-ai/schema").Json;
|
|
794
812
|
readonly label: string;
|
|
813
|
+
readonly badge?: string | undefined;
|
|
795
814
|
}[] | null;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
readonly category?: string | undefined;
|
|
799
|
-
readonly keywords?: readonly string[] | undefined;
|
|
800
|
-
readonly name: string;
|
|
801
|
-
readonly description: string;
|
|
802
|
-
readonly title: string;
|
|
803
|
-
readonly owner: string;
|
|
804
|
-
readonly side: "core" | "client";
|
|
805
|
-
readonly takesText: boolean;
|
|
806
|
-
readonly completes: boolean;
|
|
815
|
+
readonly value: import("@nyte-ai/schema").Json;
|
|
816
|
+
readonly from: "default" | "host" | "session";
|
|
807
817
|
}[];
|
|
808
818
|
readonly skills: readonly {
|
|
809
819
|
readonly name: string;
|
|
820
|
+
readonly owner: string;
|
|
810
821
|
readonly description: string;
|
|
811
822
|
readonly location: string;
|
|
823
|
+
}[];
|
|
824
|
+
readonly agents: readonly {
|
|
825
|
+
readonly id: string;
|
|
812
826
|
readonly owner: string;
|
|
827
|
+
readonly description: string | null;
|
|
828
|
+
readonly model: {
|
|
829
|
+
readonly provider: string;
|
|
830
|
+
readonly id: string;
|
|
831
|
+
} | null;
|
|
832
|
+
readonly mode: "all" | "primary" | "subagent";
|
|
813
833
|
}[];
|
|
814
834
|
readonly tools: readonly {
|
|
815
|
-
readonly output: {
|
|
816
|
-
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
817
|
-
} | null;
|
|
818
835
|
readonly name: string;
|
|
819
|
-
readonly description: string;
|
|
820
|
-
readonly exposure: "code" | "model" | "deferred" | "hidden";
|
|
821
836
|
readonly owner: string;
|
|
822
837
|
readonly namespace: string | null;
|
|
838
|
+
readonly description: string;
|
|
823
839
|
readonly parameters: {
|
|
824
840
|
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
825
841
|
};
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
readonly id: string;
|
|
829
|
-
readonly description: string | null;
|
|
830
|
-
readonly model: {
|
|
831
|
-
readonly id: string;
|
|
832
|
-
readonly provider: string;
|
|
842
|
+
readonly output: {
|
|
843
|
+
readonly [x: string]: import("@nyte-ai/schema").Json;
|
|
833
844
|
} | null;
|
|
834
|
-
readonly
|
|
835
|
-
readonly mode: "all" | "primary" | "subagent";
|
|
845
|
+
readonly exposure: "code" | "deferred" | "hidden" | "model";
|
|
836
846
|
}[];
|
|
837
847
|
};
|
|
838
848
|
})[] | undefined;
|
|
839
849
|
readonly fences?: readonly string[] | undefined;
|
|
840
|
-
readonly name: string;
|
|
841
|
-
readonly target: import("@nyte-ai/schema").Id<"object"> | null;
|
|
842
850
|
}[]): Promise<{
|
|
843
|
-
readonly at: number;
|
|
844
851
|
readonly kind: "set";
|
|
845
852
|
readonly logged: readonly import("@nyte-ai/schema").Seq[];
|
|
853
|
+
readonly at: number;
|
|
846
854
|
readonly revisions: readonly import("@nyte-ai/schema").Id<"revision">[];
|
|
847
855
|
} | {
|
|
848
856
|
readonly kind: "stale";
|
|
849
|
-
readonly revision: import("@nyte-ai/schema").Id<"revision"> | null;
|
|
850
857
|
readonly name: string;
|
|
858
|
+
readonly revision: import("@nyte-ai/schema").Id<"revision"> | null;
|
|
851
859
|
} | {
|
|
852
860
|
readonly kind: "fenced";
|
|
853
861
|
readonly name: string;
|
|
854
862
|
}>;
|
|
855
|
-
get(name: string): Promise<import("@nyte-ai/schema").Ref | null>;
|
|
856
|
-
list(prefix: string): Promise<readonly import("@nyte-ai/schema").Ref[]>;
|
|
857
|
-
log(session: SessionId, after: import("@nyte-ai/schema").Seq, limit: number): Promise<readonly import("@nyte-ai/schema").SessionEvent[]>;
|
|
858
|
-
tail(session: SessionId): Promise<import("@nyte-ai/schema").Seq>;
|
|
859
863
|
};
|
|
860
|
-
objects: import("./index.ts").ObjectStore;
|
|
861
|
-
sessions: import("./index.ts").SessionIndex;
|
|
862
|
-
commitMark?(): Promise<number>;
|
|
863
|
-
checkpoints?: import("./index.ts").FoldCheckpoints;
|
|
864
864
|
};
|
|
865
865
|
};
|