@namzu/sdk 58.1.1 → 60.0.0
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/CHANGELOG.md +124 -0
- package/dist/account/binding.d.ts +20 -0
- package/dist/account/binding.d.ts.map +1 -0
- package/dist/account/binding.js +27 -0
- package/dist/account/binding.js.map +1 -0
- package/dist/account/index.d.ts +9 -0
- package/dist/account/index.d.ts.map +1 -0
- package/dist/account/index.js +5 -0
- package/dist/account/index.js.map +1 -0
- package/dist/account/lock.d.ts +33 -0
- package/dist/account/lock.d.ts.map +1 -0
- package/dist/account/lock.js +170 -0
- package/dist/account/lock.js.map +1 -0
- package/dist/account/registry.d.ts +21 -0
- package/dist/account/registry.d.ts.map +1 -0
- package/dist/account/registry.js +340 -0
- package/dist/account/registry.js.map +1 -0
- package/dist/account/types.d.ts +124 -0
- package/dist/account/types.d.ts.map +1 -0
- package/dist/account/types.js +35 -0
- package/dist/account/types.js.map +1 -0
- package/dist/compaction/context-window.d.ts +53 -0
- package/dist/compaction/context-window.d.ts.map +1 -1
- package/dist/compaction/context-window.js +141 -2
- package/dist/compaction/context-window.js.map +1 -1
- package/dist/execution/workflow/index.d.ts +3 -1
- package/dist/execution/workflow/index.d.ts.map +1 -1
- package/dist/execution/workflow/index.js +2 -1
- package/dist/execution/workflow/index.js.map +1 -1
- package/dist/execution/workflow/journal.d.ts +24 -4
- package/dist/execution/workflow/journal.d.ts.map +1 -1
- package/dist/execution/workflow/journal.js +131 -9
- package/dist/execution/workflow/journal.js.map +1 -1
- package/dist/execution/workflow/prelude.d.ts +2 -0
- package/dist/execution/workflow/prelude.d.ts.map +1 -1
- package/dist/execution/workflow/prelude.js +49 -8
- package/dist/execution/workflow/prelude.js.map +1 -1
- package/dist/execution/workflow/resume.d.ts +59 -0
- package/dist/execution/workflow/resume.d.ts.map +1 -0
- package/dist/execution/workflow/resume.js +273 -0
- package/dist/execution/workflow/resume.js.map +1 -0
- package/dist/execution/workflow/runtime.d.ts.map +1 -1
- package/dist/execution/workflow/runtime.js +112 -8
- package/dist/execution/workflow/runtime.js.map +1 -1
- package/dist/execution/workflow/types.d.ts +105 -1
- package/dist/execution/workflow/types.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/pals/communication/ingress-schema.d.ts +38 -38
- package/dist/peers/record.d.ts +98 -0
- package/dist/peers/record.d.ts.map +1 -1
- package/dist/peers/record.js +17 -0
- package/dist/peers/record.js.map +1 -1
- package/dist/peers/registry.d.ts.map +1 -1
- package/dist/peers/registry.js +2 -2
- package/dist/peers/registry.js.map +1 -1
- package/dist/plugin/compat.d.ts +24 -0
- package/dist/plugin/compat.d.ts.map +1 -0
- package/dist/plugin/compat.js +149 -0
- package/dist/plugin/compat.js.map +1 -0
- package/dist/plugin/loader.d.ts +2 -1
- package/dist/plugin/loader.d.ts.map +1 -1
- package/dist/plugin/loader.js +6 -0
- package/dist/plugin/loader.js.map +1 -1
- package/dist/pricing/index.d.ts.map +1 -1
- package/dist/pricing/index.js +2 -1
- package/dist/pricing/index.js.map +1 -1
- package/dist/process/kill-tree.d.ts +44 -0
- package/dist/process/kill-tree.d.ts.map +1 -1
- package/dist/process/kill-tree.js +102 -4
- package/dist/process/kill-tree.js.map +1 -1
- package/dist/prompt/coding-agent-doctrine.d.ts +1 -1
- package/dist/prompt/coding-agent-doctrine.d.ts.map +1 -1
- package/dist/prompt/coding-agent-doctrine.js +9 -1
- package/dist/prompt/coding-agent-doctrine.js.map +1 -1
- package/dist/provider/errors.d.ts.map +1 -1
- package/dist/provider/errors.js +25 -2
- package/dist/provider/errors.js.map +1 -1
- package/dist/provider/model-window-suffix.d.ts +18 -0
- package/dist/provider/model-window-suffix.d.ts.map +1 -0
- package/dist/provider/model-window-suffix.js +77 -0
- package/dist/provider/model-window-suffix.js.map +1 -0
- package/dist/provider/token-budget.d.ts.map +1 -1
- package/dist/provider/token-budget.js +9 -1
- package/dist/provider/token-budget.js.map +1 -1
- package/dist/public-runtime.d.ts +6 -3
- package/dist/public-runtime.d.ts.map +1 -1
- package/dist/public-runtime.js +6 -4
- package/dist/public-runtime.js.map +1 -1
- package/dist/public-types.d.ts +3 -0
- package/dist/public-types.d.ts.map +1 -1
- package/dist/registry/command/kernel-commands.d.ts +1 -4
- package/dist/registry/command/kernel-commands.d.ts.map +1 -1
- package/dist/registry/command/kernel-commands.js +0 -28
- package/dist/registry/command/kernel-commands.js.map +1 -1
- package/dist/runtime/jobs/awaited-jobs.d.ts +6 -0
- package/dist/runtime/jobs/awaited-jobs.d.ts.map +1 -1
- package/dist/runtime/jobs/awaited-jobs.js +11 -0
- package/dist/runtime/jobs/awaited-jobs.js.map +1 -1
- package/dist/runtime/jobs/host-exit-finalizer.d.ts +20 -0
- package/dist/runtime/jobs/host-exit-finalizer.d.ts.map +1 -0
- package/dist/runtime/jobs/host-exit-finalizer.js +57 -0
- package/dist/runtime/jobs/host-exit-finalizer.js.map +1 -0
- package/dist/runtime/jobs/liveness.d.ts +67 -0
- package/dist/runtime/jobs/liveness.d.ts.map +1 -0
- package/dist/runtime/jobs/liveness.js +94 -0
- package/dist/runtime/jobs/liveness.js.map +1 -0
- package/dist/runtime/jobs/registry.d.ts +21 -0
- package/dist/runtime/jobs/registry.d.ts.map +1 -1
- package/dist/runtime/jobs/registry.js +104 -2
- package/dist/runtime/jobs/registry.js.map +1 -1
- package/dist/runtime/jobs/wake-budget.d.ts +35 -0
- package/dist/runtime/jobs/wake-budget.d.ts.map +1 -0
- package/dist/runtime/jobs/wake-budget.js +48 -0
- package/dist/runtime/jobs/wake-budget.js.map +1 -0
- package/dist/runtime/query/detached-calls.d.ts +65 -0
- package/dist/runtime/query/detached-calls.d.ts.map +1 -0
- package/dist/runtime/query/detached-calls.js +116 -0
- package/dist/runtime/query/detached-calls.js.map +1 -0
- package/dist/runtime/query/executor.d.ts +11 -3
- package/dist/runtime/query/executor.d.ts.map +1 -1
- package/dist/runtime/query/executor.js +100 -8
- package/dist/runtime/query/executor.js.map +1 -1
- package/dist/runtime/query/index.d.ts +20 -0
- package/dist/runtime/query/index.d.ts.map +1 -1
- package/dist/runtime/query/index.js +31 -5
- package/dist/runtime/query/index.js.map +1 -1
- package/dist/runtime/query/iteration/outstanding-work.d.ts.map +1 -1
- package/dist/runtime/query/iteration/outstanding-work.js +11 -3
- package/dist/runtime/query/iteration/outstanding-work.js.map +1 -1
- package/dist/runtime/query/iteration/phases/context.d.ts +7 -0
- package/dist/runtime/query/iteration/phases/context.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/context.js.map +1 -1
- package/dist/runtime/query/iteration/phases/tool-review.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/tool-review.js +63 -1
- package/dist/runtime/query/iteration/phases/tool-review.js.map +1 -1
- package/dist/runtime/query/session-storage.d.ts.map +1 -1
- package/dist/runtime/query/session-storage.js +8 -3
- package/dist/runtime/query/session-storage.js.map +1 -1
- package/dist/runtime/query/steering.d.ts +29 -3
- package/dist/runtime/query/steering.d.ts.map +1 -1
- package/dist/runtime/query/steering.js +58 -3
- package/dist/runtime/query/steering.js.map +1 -1
- package/dist/runtime/query/tooling.d.ts +1 -0
- package/dist/runtime/query/tooling.d.ts.map +1 -1
- package/dist/runtime/query/tooling.js +1 -0
- package/dist/runtime/query/tooling.js.map +1 -1
- package/dist/runtime/system-events.d.ts +5 -0
- package/dist/runtime/system-events.d.ts.map +1 -1
- package/dist/runtime/system-events.js +7 -1
- package/dist/runtime/system-events.js.map +1 -1
- package/dist/sandbox/denial.d.ts +11 -0
- package/dist/sandbox/denial.d.ts.map +1 -0
- package/dist/sandbox/denial.js +61 -0
- package/dist/sandbox/denial.js.map +1 -0
- package/dist/sandbox/file-walk-program.d.ts.map +1 -1
- package/dist/sandbox/file-walk-program.js +31 -13
- package/dist/sandbox/file-walk-program.js.map +1 -1
- package/dist/sandbox/file-walk.d.ts +2 -0
- package/dist/sandbox/file-walk.d.ts.map +1 -1
- package/dist/sandbox/file-walk.js +64 -13
- package/dist/sandbox/file-walk.js.map +1 -1
- package/dist/sandbox/ignore-matcher.d.ts +30 -0
- package/dist/sandbox/ignore-matcher.d.ts.map +1 -0
- package/dist/sandbox/ignore-matcher.js +11 -0
- package/dist/sandbox/ignore-matcher.js.map +1 -0
- package/dist/sandbox/ignore-source.d.ts +26 -0
- package/dist/sandbox/ignore-source.d.ts.map +1 -0
- package/dist/sandbox/ignore-source.js +221 -0
- package/dist/sandbox/ignore-source.js.map +1 -0
- package/dist/sandbox/provider/local.d.ts.map +1 -1
- package/dist/sandbox/provider/local.js +11 -1
- package/dist/sandbox/provider/local.js.map +1 -1
- package/dist/scheduler/completion-inbox.d.ts.map +1 -1
- package/dist/scheduler/completion-inbox.js +1 -0
- package/dist/scheduler/completion-inbox.js.map +1 -1
- package/dist/session/log-hash.d.ts.map +1 -1
- package/dist/session/log-hash.js +18 -1
- package/dist/session/log-hash.js.map +1 -1
- package/dist/store/session-index/sqlite.d.ts.map +1 -1
- package/dist/store/session-index/sqlite.js +169 -16
- package/dist/store/session-index/sqlite.js.map +1 -1
- package/dist/tools/builtins/bash.d.ts.map +1 -1
- package/dist/tools/builtins/bash.js +10 -4
- package/dist/tools/builtins/bash.js.map +1 -1
- package/dist/tools/builtins/computer-use.d.ts +35 -0
- package/dist/tools/builtins/computer-use.d.ts.map +1 -1
- package/dist/tools/builtins/computer-use.js +512 -67
- package/dist/tools/builtins/computer-use.js.map +1 -1
- package/dist/tools/builtins/glob.d.ts +1 -0
- package/dist/tools/builtins/glob.d.ts.map +1 -1
- package/dist/tools/builtins/glob.js +65 -28
- package/dist/tools/builtins/glob.js.map +1 -1
- package/dist/tools/builtins/grep.d.ts +2 -0
- package/dist/tools/builtins/grep.d.ts.map +1 -1
- package/dist/tools/builtins/grep.js +94 -40
- package/dist/tools/builtins/grep.js.map +1 -1
- package/dist/tools/builtins/job.d.ts +1 -1
- package/dist/tools/builtins/job.d.ts.map +1 -1
- package/dist/tools/builtins/job.js +34 -7
- package/dist/tools/builtins/job.js.map +1 -1
- package/dist/tools/builtins/search-support.d.ts +44 -0
- package/dist/tools/builtins/search-support.d.ts.map +1 -0
- package/dist/tools/builtins/search-support.js +89 -0
- package/dist/tools/builtins/search-support.js.map +1 -0
- package/dist/tools/builtins/wait-for-job-bounds.d.ts +2 -0
- package/dist/tools/builtins/wait-for-job-bounds.d.ts.map +1 -1
- package/dist/tools/builtins/wait-for-job-bounds.js +3 -1
- package/dist/tools/builtins/wait-for-job-bounds.js.map +1 -1
- package/dist/tools/builtins/wait-for-job.d.ts +1 -1
- package/dist/tools/builtins/wait-for-job.d.ts.map +1 -1
- package/dist/tools/builtins/wait-for-job.js +13 -2
- package/dist/tools/builtins/wait-for-job.js.map +1 -1
- package/dist/tools/command-shell.d.ts.map +1 -1
- package/dist/tools/command-shell.js +14 -5
- package/dist/tools/command-shell.js.map +1 -1
- package/dist/types/computer-use/index.d.ts +129 -13
- package/dist/types/computer-use/index.d.ts.map +1 -1
- package/dist/types/computer-use/index.js.map +1 -1
- package/dist/types/errors/catalog.d.ts.map +1 -1
- package/dist/types/errors/catalog.js +6 -0
- package/dist/types/errors/catalog.js.map +1 -1
- package/dist/types/plugin/index.d.ts +24 -0
- package/dist/types/plugin/index.d.ts.map +1 -1
- package/dist/types/plugin/index.js +4 -0
- package/dist/types/plugin/index.js.map +1 -1
- package/dist/types/provider/errors.d.ts +7 -0
- package/dist/types/provider/errors.d.ts.map +1 -1
- package/dist/types/provider/errors.js +27 -3
- package/dist/types/provider/errors.js.map +1 -1
- package/dist/types/sandbox/index.d.ts +38 -1
- package/dist/types/sandbox/index.d.ts.map +1 -1
- package/dist/types/sandbox/index.js.map +1 -1
- package/dist/types/session/records.d.ts +479 -1
- package/dist/types/session/records.d.ts.map +1 -1
- package/dist/types/session/records.js +45 -1
- package/dist/types/session/records.js.map +1 -1
- package/dist/types/tool/index.d.ts +30 -0
- package/dist/types/tool/index.d.ts.map +1 -1
- package/dist/types/tool/index.js.map +1 -1
- package/dist/types/tool/presentation.d.ts +8 -0
- package/dist/types/tool/presentation.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/account/binding.ts +43 -0
- package/src/account/index.ts +32 -0
- package/src/account/lock.ts +184 -0
- package/src/account/registry.ts +413 -0
- package/src/account/types.ts +137 -0
- package/src/compaction/context-window.ts +163 -2
- package/src/execution/workflow/index.ts +14 -1
- package/src/execution/workflow/journal.ts +161 -11
- package/src/execution/workflow/prelude.ts +51 -8
- package/src/execution/workflow/resume.ts +313 -0
- package/src/execution/workflow/runtime.ts +127 -9
- package/src/execution/workflow/types.ts +109 -1
- package/src/index.ts +17 -0
- package/src/peers/record.ts +18 -0
- package/src/peers/registry.ts +2 -2
- package/src/plugin/compat.ts +173 -0
- package/src/plugin/loader.ts +7 -1
- package/src/pricing/index.ts +2 -1
- package/src/process/kill-tree.ts +106 -4
- package/src/prompt/coding-agent-doctrine.ts +9 -1
- package/src/provider/errors.ts +27 -1
- package/src/provider/model-window-suffix.ts +84 -0
- package/src/provider/token-budget.ts +9 -3
- package/src/public-runtime.ts +38 -2
- package/src/public-types.ts +16 -0
- package/src/registry/command/kernel-commands.ts +1 -32
- package/src/runtime/jobs/awaited-jobs.ts +11 -0
- package/src/runtime/jobs/host-exit-finalizer.ts +67 -0
- package/src/runtime/jobs/liveness.ts +144 -0
- package/src/runtime/jobs/registry.ts +114 -2
- package/src/runtime/jobs/wake-budget.ts +55 -0
- package/src/runtime/query/detached-calls.ts +135 -0
- package/src/runtime/query/executor.ts +102 -12
- package/src/runtime/query/index.ts +50 -7
- package/src/runtime/query/iteration/outstanding-work.ts +12 -3
- package/src/runtime/query/iteration/phases/context.ts +7 -0
- package/src/runtime/query/iteration/phases/tool-review.ts +73 -8
- package/src/runtime/query/session-storage.ts +8 -3
- package/src/runtime/query/steering.ts +77 -6
- package/src/runtime/query/tooling.ts +2 -0
- package/src/runtime/system-events.ts +12 -1
- package/src/sandbox/denial.ts +79 -0
- package/src/sandbox/file-walk-program.ts +32 -13
- package/src/sandbox/file-walk.ts +75 -12
- package/src/sandbox/ignore-matcher.ts +46 -0
- package/src/sandbox/ignore-source.ts +220 -0
- package/src/sandbox/provider/local.ts +11 -1
- package/src/scheduler/completion-inbox.ts +1 -0
- package/src/session/log-hash.ts +21 -0
- package/src/store/session-index/sqlite.ts +171 -16
- package/src/tools/builtins/bash.ts +11 -4
- package/src/tools/builtins/computer-use.ts +593 -68
- package/src/tools/builtins/glob.ts +79 -32
- package/src/tools/builtins/grep.ts +107 -43
- package/src/tools/builtins/job.ts +42 -12
- package/src/tools/builtins/search-support.ts +107 -0
- package/src/tools/builtins/wait-for-job-bounds.ts +5 -1
- package/src/tools/builtins/wait-for-job.ts +14 -2
- package/src/tools/command-shell.ts +13 -5
- package/src/types/computer-use/index.ts +157 -15
- package/src/types/errors/catalog.ts +6 -0
- package/src/types/plugin/index.ts +8 -0
- package/src/types/provider/errors.ts +40 -3
- package/src/types/sandbox/index.ts +40 -1
- package/src/types/session/records.ts +52 -2
- package/src/types/tool/index.ts +30 -0
- package/src/types/tool/presentation.ts +8 -0
|
@@ -4178,6 +4178,116 @@ export declare const BudgetBoundRecordSchema: z.ZodObject<{
|
|
|
4178
4178
|
seq: number;
|
|
4179
4179
|
} | null | undefined;
|
|
4180
4180
|
}>;
|
|
4181
|
+
/**
|
|
4182
|
+
* The account a session's provider calls run under. Written when a session is
|
|
4183
|
+
* bound to an account other than the provider's `default`, and again on each
|
|
4184
|
+
* switch; never inside an open turn's work, only between turns. Replay reads
|
|
4185
|
+
* the last one. A build that predates this record refuses a log holding it, so
|
|
4186
|
+
* a session that never leaves the default account never writes one.
|
|
4187
|
+
*/
|
|
4188
|
+
export declare const AccountBoundRecordSchema: z.ZodObject<{
|
|
4189
|
+
type: z.ZodLiteral<"account_bound">;
|
|
4190
|
+
v: z.ZodLiteral<1>;
|
|
4191
|
+
id: z.ZodType<RecordId, z.ZodTypeDef, unknown>;
|
|
4192
|
+
sessionId: z.ZodType<SessionId, z.ZodTypeDef, unknown>;
|
|
4193
|
+
/**
|
|
4194
|
+
* The turn the record belongs to; absent on a record outside any turn. A
|
|
4195
|
+
* record never names a closed turn: the `child_session_*` records carry
|
|
4196
|
+
* their spawning turn only while it is open, and omit it afterwards.
|
|
4197
|
+
*/
|
|
4198
|
+
turnId: z.ZodOptional<z.ZodType<TurnId, z.ZodTypeDef, unknown>>;
|
|
4199
|
+
/** 1-based and contiguous. */
|
|
4200
|
+
seq: z.ZodNumber;
|
|
4201
|
+
ts: z.ZodString;
|
|
4202
|
+
/** The previous record; `null` only at seq 1. */
|
|
4203
|
+
prev: z.ZodNullable<z.ZodObject<{
|
|
4204
|
+
seq: z.ZodNumber;
|
|
4205
|
+
offset: z.ZodNumber;
|
|
4206
|
+
length: z.ZodNumber;
|
|
4207
|
+
sha256: z.ZodString;
|
|
4208
|
+
}, "strict", z.ZodTypeAny, {
|
|
4209
|
+
length: number;
|
|
4210
|
+
sha256: string;
|
|
4211
|
+
offset: number;
|
|
4212
|
+
seq: number;
|
|
4213
|
+
}, {
|
|
4214
|
+
length: number;
|
|
4215
|
+
sha256: string;
|
|
4216
|
+
offset: number;
|
|
4217
|
+
seq: number;
|
|
4218
|
+
}>>;
|
|
4219
|
+
/** Skip link to the previous record that carries text, for evidence search. */
|
|
4220
|
+
prevText: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4221
|
+
seq: z.ZodNumber;
|
|
4222
|
+
offset: z.ZodNumber;
|
|
4223
|
+
length: z.ZodNumber;
|
|
4224
|
+
sha256: z.ZodString;
|
|
4225
|
+
}, "strict", z.ZodTypeAny, {
|
|
4226
|
+
length: number;
|
|
4227
|
+
sha256: string;
|
|
4228
|
+
offset: number;
|
|
4229
|
+
seq: number;
|
|
4230
|
+
}, {
|
|
4231
|
+
length: number;
|
|
4232
|
+
sha256: string;
|
|
4233
|
+
offset: number;
|
|
4234
|
+
seq: number;
|
|
4235
|
+
}>>>;
|
|
4236
|
+
/** The fencing token of the lease the writer held. */
|
|
4237
|
+
gen: z.ZodNumber;
|
|
4238
|
+
} & {
|
|
4239
|
+
accountId: z.ZodString;
|
|
4240
|
+
provider: z.ZodString;
|
|
4241
|
+
reason: z.ZodEnum<["start", "user_switch", "limit_switch"]>;
|
|
4242
|
+
}, "strict", z.ZodTypeAny, {
|
|
4243
|
+
id: string & import("../ids/brand.js").IdBrand<"RecordId">;
|
|
4244
|
+
type: "account_bound";
|
|
4245
|
+
v: 1;
|
|
4246
|
+
sessionId: string & import("../ids/brand.js").IdBrand<"SessionId">;
|
|
4247
|
+
accountId: string;
|
|
4248
|
+
provider: string;
|
|
4249
|
+
seq: number;
|
|
4250
|
+
reason: "start" | "user_switch" | "limit_switch";
|
|
4251
|
+
ts: string;
|
|
4252
|
+
prev: {
|
|
4253
|
+
length: number;
|
|
4254
|
+
sha256: string;
|
|
4255
|
+
offset: number;
|
|
4256
|
+
seq: number;
|
|
4257
|
+
} | null;
|
|
4258
|
+
gen: number;
|
|
4259
|
+
turnId?: TurnId | undefined;
|
|
4260
|
+
prevText?: {
|
|
4261
|
+
length: number;
|
|
4262
|
+
sha256: string;
|
|
4263
|
+
offset: number;
|
|
4264
|
+
seq: number;
|
|
4265
|
+
} | null | undefined;
|
|
4266
|
+
}, {
|
|
4267
|
+
type: "account_bound";
|
|
4268
|
+
v: 1;
|
|
4269
|
+
accountId: string;
|
|
4270
|
+
provider: string;
|
|
4271
|
+
seq: number;
|
|
4272
|
+
reason: "start" | "user_switch" | "limit_switch";
|
|
4273
|
+
ts: string;
|
|
4274
|
+
prev: {
|
|
4275
|
+
length: number;
|
|
4276
|
+
sha256: string;
|
|
4277
|
+
offset: number;
|
|
4278
|
+
seq: number;
|
|
4279
|
+
} | null;
|
|
4280
|
+
gen: number;
|
|
4281
|
+
id?: unknown;
|
|
4282
|
+
turnId?: unknown;
|
|
4283
|
+
sessionId?: unknown;
|
|
4284
|
+
prevText?: {
|
|
4285
|
+
length: number;
|
|
4286
|
+
sha256: string;
|
|
4287
|
+
offset: number;
|
|
4288
|
+
seq: number;
|
|
4289
|
+
} | null | undefined;
|
|
4290
|
+
}>;
|
|
4181
4291
|
export declare const LogRepairedRecordSchema: z.ZodObject<{
|
|
4182
4292
|
type: z.ZodLiteral<"log_repaired">;
|
|
4183
4293
|
v: z.ZodLiteral<1>;
|
|
@@ -6487,6 +6597,109 @@ declare const RECORD_ONLY_SCHEMAS: {
|
|
|
6487
6597
|
seq: number;
|
|
6488
6598
|
} | null | undefined;
|
|
6489
6599
|
}>;
|
|
6600
|
+
readonly account_bound: z.ZodObject<{
|
|
6601
|
+
type: z.ZodLiteral<"account_bound">;
|
|
6602
|
+
v: z.ZodLiteral<1>;
|
|
6603
|
+
id: z.ZodType<RecordId, z.ZodTypeDef, unknown>;
|
|
6604
|
+
sessionId: z.ZodType<SessionId, z.ZodTypeDef, unknown>;
|
|
6605
|
+
/**
|
|
6606
|
+
* The turn the record belongs to; absent on a record outside any turn. A
|
|
6607
|
+
* record never names a closed turn: the `child_session_*` records carry
|
|
6608
|
+
* their spawning turn only while it is open, and omit it afterwards.
|
|
6609
|
+
*/
|
|
6610
|
+
turnId: z.ZodOptional<z.ZodType<TurnId, z.ZodTypeDef, unknown>>;
|
|
6611
|
+
/** 1-based and contiguous. */
|
|
6612
|
+
seq: z.ZodNumber;
|
|
6613
|
+
ts: z.ZodString;
|
|
6614
|
+
/** The previous record; `null` only at seq 1. */
|
|
6615
|
+
prev: z.ZodNullable<z.ZodObject<{
|
|
6616
|
+
seq: z.ZodNumber;
|
|
6617
|
+
offset: z.ZodNumber;
|
|
6618
|
+
length: z.ZodNumber;
|
|
6619
|
+
sha256: z.ZodString;
|
|
6620
|
+
}, "strict", z.ZodTypeAny, {
|
|
6621
|
+
length: number;
|
|
6622
|
+
sha256: string;
|
|
6623
|
+
offset: number;
|
|
6624
|
+
seq: number;
|
|
6625
|
+
}, {
|
|
6626
|
+
length: number;
|
|
6627
|
+
sha256: string;
|
|
6628
|
+
offset: number;
|
|
6629
|
+
seq: number;
|
|
6630
|
+
}>>;
|
|
6631
|
+
/** Skip link to the previous record that carries text, for evidence search. */
|
|
6632
|
+
prevText: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6633
|
+
seq: z.ZodNumber;
|
|
6634
|
+
offset: z.ZodNumber;
|
|
6635
|
+
length: z.ZodNumber;
|
|
6636
|
+
sha256: z.ZodString;
|
|
6637
|
+
}, "strict", z.ZodTypeAny, {
|
|
6638
|
+
length: number;
|
|
6639
|
+
sha256: string;
|
|
6640
|
+
offset: number;
|
|
6641
|
+
seq: number;
|
|
6642
|
+
}, {
|
|
6643
|
+
length: number;
|
|
6644
|
+
sha256: string;
|
|
6645
|
+
offset: number;
|
|
6646
|
+
seq: number;
|
|
6647
|
+
}>>>;
|
|
6648
|
+
/** The fencing token of the lease the writer held. */
|
|
6649
|
+
gen: z.ZodNumber;
|
|
6650
|
+
} & {
|
|
6651
|
+
accountId: z.ZodString;
|
|
6652
|
+
provider: z.ZodString;
|
|
6653
|
+
reason: z.ZodEnum<["start", "user_switch", "limit_switch"]>;
|
|
6654
|
+
}, "strict", z.ZodTypeAny, {
|
|
6655
|
+
id: string & import("../ids/brand.js").IdBrand<"RecordId">;
|
|
6656
|
+
type: "account_bound";
|
|
6657
|
+
v: 1;
|
|
6658
|
+
sessionId: string & import("../ids/brand.js").IdBrand<"SessionId">;
|
|
6659
|
+
accountId: string;
|
|
6660
|
+
provider: string;
|
|
6661
|
+
seq: number;
|
|
6662
|
+
reason: "start" | "user_switch" | "limit_switch";
|
|
6663
|
+
ts: string;
|
|
6664
|
+
prev: {
|
|
6665
|
+
length: number;
|
|
6666
|
+
sha256: string;
|
|
6667
|
+
offset: number;
|
|
6668
|
+
seq: number;
|
|
6669
|
+
} | null;
|
|
6670
|
+
gen: number;
|
|
6671
|
+
turnId?: TurnId | undefined;
|
|
6672
|
+
prevText?: {
|
|
6673
|
+
length: number;
|
|
6674
|
+
sha256: string;
|
|
6675
|
+
offset: number;
|
|
6676
|
+
seq: number;
|
|
6677
|
+
} | null | undefined;
|
|
6678
|
+
}, {
|
|
6679
|
+
type: "account_bound";
|
|
6680
|
+
v: 1;
|
|
6681
|
+
accountId: string;
|
|
6682
|
+
provider: string;
|
|
6683
|
+
seq: number;
|
|
6684
|
+
reason: "start" | "user_switch" | "limit_switch";
|
|
6685
|
+
ts: string;
|
|
6686
|
+
prev: {
|
|
6687
|
+
length: number;
|
|
6688
|
+
sha256: string;
|
|
6689
|
+
offset: number;
|
|
6690
|
+
seq: number;
|
|
6691
|
+
} | null;
|
|
6692
|
+
gen: number;
|
|
6693
|
+
id?: unknown;
|
|
6694
|
+
turnId?: unknown;
|
|
6695
|
+
sessionId?: unknown;
|
|
6696
|
+
prevText?: {
|
|
6697
|
+
length: number;
|
|
6698
|
+
sha256: string;
|
|
6699
|
+
offset: number;
|
|
6700
|
+
seq: number;
|
|
6701
|
+
} | null | undefined;
|
|
6702
|
+
}>;
|
|
6490
6703
|
readonly log_repaired: z.ZodObject<{
|
|
6491
6704
|
type: z.ZodLiteral<"log_repaired">;
|
|
6492
6705
|
v: z.ZodLiteral<1>;
|
|
@@ -6603,6 +6816,270 @@ export declare const SESSION_RECORD_TYPES: readonly SessionRecordType[];
|
|
|
6603
6816
|
declare const TURN_BOUND_OTHER_TYPE_LIST: readonly ["tool_calls_admitted", "iteration_started", "request_envelope", "iteration_completed", "tool_executing", "hosted_tool", "provider_retry", "provider_fallback", "tool_completed", "user_question_asked", "user_question_answered", "tool_review_requested", "tool_review_completed", "checkpoint_created", "guardrail_triggered", "message_history_repaired", "token_usage_updated", "activity_created", "activity_updated", "plan_ready", "plan_approved", "plan_rejected", "plan_step_updated", "plan_completed", "plan_failed", "agent_pending", "agent_completed", "agent_failed", "agent_canceled", "message_started", "reasoning_started", "reasoning_completed", "message_completed", "tool_input_started", "tool_input_completed"];
|
|
6604
6817
|
/** The persisted event types whose record always carries `turnId`. */
|
|
6605
6818
|
export type TurnBoundSessionEventType = (typeof TURN_BOUND_OTHER_TYPE_LIST)[number] | 'turn_started' | 'turn_paused' | 'turn_resuming' | 'turn_completed' | 'turn_failed' | 'child_session_spawned';
|
|
6819
|
+
/**
|
|
6820
|
+
* A record of a type this reader does not know, written by a newer writer
|
|
6821
|
+
* that flagged it `ignorable: true`: a promise that no reader needs it to
|
|
6822
|
+
* rebuild the conversation. It is kept in the hash chain and verified like any
|
|
6823
|
+
* other record, but never moves the fold. A known type never qualifies (its
|
|
6824
|
+
* own schema decides), and an unknown type without the flag is still refused,
|
|
6825
|
+
* so a record that does move the fold fails loudly on an older reader.
|
|
6826
|
+
*/
|
|
6827
|
+
export declare const IgnorableRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
6828
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
6829
|
+
ignorable: z.ZodLiteral<true>;
|
|
6830
|
+
v: z.ZodLiteral<1>;
|
|
6831
|
+
id: z.ZodType<RecordId, z.ZodTypeDef, unknown>;
|
|
6832
|
+
sessionId: z.ZodType<SessionId, z.ZodTypeDef, unknown>;
|
|
6833
|
+
/**
|
|
6834
|
+
* The turn the record belongs to; absent on a record outside any turn. A
|
|
6835
|
+
* record never names a closed turn: the `child_session_*` records carry
|
|
6836
|
+
* their spawning turn only while it is open, and omit it afterwards.
|
|
6837
|
+
*/
|
|
6838
|
+
turnId: z.ZodOptional<z.ZodType<TurnId, z.ZodTypeDef, unknown>>;
|
|
6839
|
+
/** 1-based and contiguous. */
|
|
6840
|
+
seq: z.ZodNumber;
|
|
6841
|
+
ts: z.ZodString;
|
|
6842
|
+
/** The previous record; `null` only at seq 1. */
|
|
6843
|
+
prev: z.ZodNullable<z.ZodObject<{
|
|
6844
|
+
seq: z.ZodNumber;
|
|
6845
|
+
offset: z.ZodNumber;
|
|
6846
|
+
length: z.ZodNumber;
|
|
6847
|
+
sha256: z.ZodString;
|
|
6848
|
+
}, "strict", z.ZodTypeAny, {
|
|
6849
|
+
length: number;
|
|
6850
|
+
sha256: string;
|
|
6851
|
+
offset: number;
|
|
6852
|
+
seq: number;
|
|
6853
|
+
}, {
|
|
6854
|
+
length: number;
|
|
6855
|
+
sha256: string;
|
|
6856
|
+
offset: number;
|
|
6857
|
+
seq: number;
|
|
6858
|
+
}>>;
|
|
6859
|
+
/** Skip link to the previous record that carries text, for evidence search. */
|
|
6860
|
+
prevText: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6861
|
+
seq: z.ZodNumber;
|
|
6862
|
+
offset: z.ZodNumber;
|
|
6863
|
+
length: z.ZodNumber;
|
|
6864
|
+
sha256: z.ZodString;
|
|
6865
|
+
}, "strict", z.ZodTypeAny, {
|
|
6866
|
+
length: number;
|
|
6867
|
+
sha256: string;
|
|
6868
|
+
offset: number;
|
|
6869
|
+
seq: number;
|
|
6870
|
+
}, {
|
|
6871
|
+
length: number;
|
|
6872
|
+
sha256: string;
|
|
6873
|
+
offset: number;
|
|
6874
|
+
seq: number;
|
|
6875
|
+
}>>>;
|
|
6876
|
+
/** The fencing token of the lease the writer held. */
|
|
6877
|
+
gen: z.ZodNumber;
|
|
6878
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6879
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
6880
|
+
ignorable: z.ZodLiteral<true>;
|
|
6881
|
+
v: z.ZodLiteral<1>;
|
|
6882
|
+
id: z.ZodType<RecordId, z.ZodTypeDef, unknown>;
|
|
6883
|
+
sessionId: z.ZodType<SessionId, z.ZodTypeDef, unknown>;
|
|
6884
|
+
/**
|
|
6885
|
+
* The turn the record belongs to; absent on a record outside any turn. A
|
|
6886
|
+
* record never names a closed turn: the `child_session_*` records carry
|
|
6887
|
+
* their spawning turn only while it is open, and omit it afterwards.
|
|
6888
|
+
*/
|
|
6889
|
+
turnId: z.ZodOptional<z.ZodType<TurnId, z.ZodTypeDef, unknown>>;
|
|
6890
|
+
/** 1-based and contiguous. */
|
|
6891
|
+
seq: z.ZodNumber;
|
|
6892
|
+
ts: z.ZodString;
|
|
6893
|
+
/** The previous record; `null` only at seq 1. */
|
|
6894
|
+
prev: z.ZodNullable<z.ZodObject<{
|
|
6895
|
+
seq: z.ZodNumber;
|
|
6896
|
+
offset: z.ZodNumber;
|
|
6897
|
+
length: z.ZodNumber;
|
|
6898
|
+
sha256: z.ZodString;
|
|
6899
|
+
}, "strict", z.ZodTypeAny, {
|
|
6900
|
+
length: number;
|
|
6901
|
+
sha256: string;
|
|
6902
|
+
offset: number;
|
|
6903
|
+
seq: number;
|
|
6904
|
+
}, {
|
|
6905
|
+
length: number;
|
|
6906
|
+
sha256: string;
|
|
6907
|
+
offset: number;
|
|
6908
|
+
seq: number;
|
|
6909
|
+
}>>;
|
|
6910
|
+
/** Skip link to the previous record that carries text, for evidence search. */
|
|
6911
|
+
prevText: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6912
|
+
seq: z.ZodNumber;
|
|
6913
|
+
offset: z.ZodNumber;
|
|
6914
|
+
length: z.ZodNumber;
|
|
6915
|
+
sha256: z.ZodString;
|
|
6916
|
+
}, "strict", z.ZodTypeAny, {
|
|
6917
|
+
length: number;
|
|
6918
|
+
sha256: string;
|
|
6919
|
+
offset: number;
|
|
6920
|
+
seq: number;
|
|
6921
|
+
}, {
|
|
6922
|
+
length: number;
|
|
6923
|
+
sha256: string;
|
|
6924
|
+
offset: number;
|
|
6925
|
+
seq: number;
|
|
6926
|
+
}>>>;
|
|
6927
|
+
/** The fencing token of the lease the writer held. */
|
|
6928
|
+
gen: z.ZodNumber;
|
|
6929
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6930
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
6931
|
+
ignorable: z.ZodLiteral<true>;
|
|
6932
|
+
v: z.ZodLiteral<1>;
|
|
6933
|
+
id: z.ZodType<RecordId, z.ZodTypeDef, unknown>;
|
|
6934
|
+
sessionId: z.ZodType<SessionId, z.ZodTypeDef, unknown>;
|
|
6935
|
+
/**
|
|
6936
|
+
* The turn the record belongs to; absent on a record outside any turn. A
|
|
6937
|
+
* record never names a closed turn: the `child_session_*` records carry
|
|
6938
|
+
* their spawning turn only while it is open, and omit it afterwards.
|
|
6939
|
+
*/
|
|
6940
|
+
turnId: z.ZodOptional<z.ZodType<TurnId, z.ZodTypeDef, unknown>>;
|
|
6941
|
+
/** 1-based and contiguous. */
|
|
6942
|
+
seq: z.ZodNumber;
|
|
6943
|
+
ts: z.ZodString;
|
|
6944
|
+
/** The previous record; `null` only at seq 1. */
|
|
6945
|
+
prev: z.ZodNullable<z.ZodObject<{
|
|
6946
|
+
seq: z.ZodNumber;
|
|
6947
|
+
offset: z.ZodNumber;
|
|
6948
|
+
length: z.ZodNumber;
|
|
6949
|
+
sha256: z.ZodString;
|
|
6950
|
+
}, "strict", z.ZodTypeAny, {
|
|
6951
|
+
length: number;
|
|
6952
|
+
sha256: string;
|
|
6953
|
+
offset: number;
|
|
6954
|
+
seq: number;
|
|
6955
|
+
}, {
|
|
6956
|
+
length: number;
|
|
6957
|
+
sha256: string;
|
|
6958
|
+
offset: number;
|
|
6959
|
+
seq: number;
|
|
6960
|
+
}>>;
|
|
6961
|
+
/** Skip link to the previous record that carries text, for evidence search. */
|
|
6962
|
+
prevText: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6963
|
+
seq: z.ZodNumber;
|
|
6964
|
+
offset: z.ZodNumber;
|
|
6965
|
+
length: z.ZodNumber;
|
|
6966
|
+
sha256: z.ZodString;
|
|
6967
|
+
}, "strict", z.ZodTypeAny, {
|
|
6968
|
+
length: number;
|
|
6969
|
+
sha256: string;
|
|
6970
|
+
offset: number;
|
|
6971
|
+
seq: number;
|
|
6972
|
+
}, {
|
|
6973
|
+
length: number;
|
|
6974
|
+
sha256: string;
|
|
6975
|
+
offset: number;
|
|
6976
|
+
seq: number;
|
|
6977
|
+
}>>>;
|
|
6978
|
+
/** The fencing token of the lease the writer held. */
|
|
6979
|
+
gen: z.ZodNumber;
|
|
6980
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
6981
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
6982
|
+
ignorable: z.ZodLiteral<true>;
|
|
6983
|
+
v: z.ZodLiteral<1>;
|
|
6984
|
+
id: z.ZodType<RecordId, z.ZodTypeDef, unknown>;
|
|
6985
|
+
sessionId: z.ZodType<SessionId, z.ZodTypeDef, unknown>;
|
|
6986
|
+
/**
|
|
6987
|
+
* The turn the record belongs to; absent on a record outside any turn. A
|
|
6988
|
+
* record never names a closed turn: the `child_session_*` records carry
|
|
6989
|
+
* their spawning turn only while it is open, and omit it afterwards.
|
|
6990
|
+
*/
|
|
6991
|
+
turnId: z.ZodOptional<z.ZodType<TurnId, z.ZodTypeDef, unknown>>;
|
|
6992
|
+
/** 1-based and contiguous. */
|
|
6993
|
+
seq: z.ZodNumber;
|
|
6994
|
+
ts: z.ZodString;
|
|
6995
|
+
/** The previous record; `null` only at seq 1. */
|
|
6996
|
+
prev: z.ZodNullable<z.ZodObject<{
|
|
6997
|
+
seq: z.ZodNumber;
|
|
6998
|
+
offset: z.ZodNumber;
|
|
6999
|
+
length: z.ZodNumber;
|
|
7000
|
+
sha256: z.ZodString;
|
|
7001
|
+
}, "strict", z.ZodTypeAny, {
|
|
7002
|
+
length: number;
|
|
7003
|
+
sha256: string;
|
|
7004
|
+
offset: number;
|
|
7005
|
+
seq: number;
|
|
7006
|
+
}, {
|
|
7007
|
+
length: number;
|
|
7008
|
+
sha256: string;
|
|
7009
|
+
offset: number;
|
|
7010
|
+
seq: number;
|
|
7011
|
+
}>>;
|
|
7012
|
+
/** Skip link to the previous record that carries text, for evidence search. */
|
|
7013
|
+
prevText: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7014
|
+
seq: z.ZodNumber;
|
|
7015
|
+
offset: z.ZodNumber;
|
|
7016
|
+
length: z.ZodNumber;
|
|
7017
|
+
sha256: z.ZodString;
|
|
7018
|
+
}, "strict", z.ZodTypeAny, {
|
|
7019
|
+
length: number;
|
|
7020
|
+
sha256: string;
|
|
7021
|
+
offset: number;
|
|
7022
|
+
seq: number;
|
|
7023
|
+
}, {
|
|
7024
|
+
length: number;
|
|
7025
|
+
sha256: string;
|
|
7026
|
+
offset: number;
|
|
7027
|
+
seq: number;
|
|
7028
|
+
}>>>;
|
|
7029
|
+
/** The fencing token of the lease the writer held. */
|
|
7030
|
+
gen: z.ZodNumber;
|
|
7031
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7032
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
7033
|
+
ignorable: z.ZodLiteral<true>;
|
|
7034
|
+
v: z.ZodLiteral<1>;
|
|
7035
|
+
id: z.ZodType<RecordId, z.ZodTypeDef, unknown>;
|
|
7036
|
+
sessionId: z.ZodType<SessionId, z.ZodTypeDef, unknown>;
|
|
7037
|
+
/**
|
|
7038
|
+
* The turn the record belongs to; absent on a record outside any turn. A
|
|
7039
|
+
* record never names a closed turn: the `child_session_*` records carry
|
|
7040
|
+
* their spawning turn only while it is open, and omit it afterwards.
|
|
7041
|
+
*/
|
|
7042
|
+
turnId: z.ZodOptional<z.ZodType<TurnId, z.ZodTypeDef, unknown>>;
|
|
7043
|
+
/** 1-based and contiguous. */
|
|
7044
|
+
seq: z.ZodNumber;
|
|
7045
|
+
ts: z.ZodString;
|
|
7046
|
+
/** The previous record; `null` only at seq 1. */
|
|
7047
|
+
prev: z.ZodNullable<z.ZodObject<{
|
|
7048
|
+
seq: z.ZodNumber;
|
|
7049
|
+
offset: z.ZodNumber;
|
|
7050
|
+
length: z.ZodNumber;
|
|
7051
|
+
sha256: z.ZodString;
|
|
7052
|
+
}, "strict", z.ZodTypeAny, {
|
|
7053
|
+
length: number;
|
|
7054
|
+
sha256: string;
|
|
7055
|
+
offset: number;
|
|
7056
|
+
seq: number;
|
|
7057
|
+
}, {
|
|
7058
|
+
length: number;
|
|
7059
|
+
sha256: string;
|
|
7060
|
+
offset: number;
|
|
7061
|
+
seq: number;
|
|
7062
|
+
}>>;
|
|
7063
|
+
/** Skip link to the previous record that carries text, for evidence search. */
|
|
7064
|
+
prevText: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7065
|
+
seq: z.ZodNumber;
|
|
7066
|
+
offset: z.ZodNumber;
|
|
7067
|
+
length: z.ZodNumber;
|
|
7068
|
+
sha256: z.ZodString;
|
|
7069
|
+
}, "strict", z.ZodTypeAny, {
|
|
7070
|
+
length: number;
|
|
7071
|
+
sha256: string;
|
|
7072
|
+
offset: number;
|
|
7073
|
+
seq: number;
|
|
7074
|
+
}, {
|
|
7075
|
+
length: number;
|
|
7076
|
+
sha256: string;
|
|
7077
|
+
offset: number;
|
|
7078
|
+
seq: number;
|
|
7079
|
+
}>>>;
|
|
7080
|
+
/** The fencing token of the lease the writer held. */
|
|
7081
|
+
gen: z.ZodNumber;
|
|
7082
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6606
7083
|
/** Validates one session record: envelope, discriminant, and every specified payload. */
|
|
6607
7084
|
export declare const SessionRecordSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodDiscriminatedUnionOption<"type">, z.ZodDiscriminatedUnionOption<"type">, ...z.ZodDiscriminatedUnionOption<"type">[]]>, {
|
|
6608
7085
|
[x: string]: any;
|
|
@@ -6642,8 +7119,9 @@ export type CompactionRecord = z.infer<typeof CompactionRecordSchema>;
|
|
|
6642
7119
|
export type ChildSessionEndedRecord = z.infer<typeof ChildSessionEndedRecordSchema>;
|
|
6643
7120
|
export type AuditRecord = z.infer<typeof AuditRecordSchema>;
|
|
6644
7121
|
export type BudgetBoundRecord = z.infer<typeof BudgetBoundRecordSchema>;
|
|
7122
|
+
export type AccountBoundRecord = z.infer<typeof AccountBoundRecordSchema>;
|
|
6645
7123
|
export type LogRepairedRecord = z.infer<typeof LogRepairedRecordSchema>;
|
|
6646
|
-
export type SessionRecordOnly = SessionStartedRecord | SessionUpdatedRecord | MessageRecord | MessageReplacedRecord | CheckpointWrittenRecord | CheckpointPrunedRecord | DecisionRequestedRecord | DecisionResolvedRecord | DecisionExpiredRecord | CompactionRecord | ChildSessionEndedRecord | AuditRecord | BudgetBoundRecord | LogRepairedRecord;
|
|
7124
|
+
export type SessionRecordOnly = SessionStartedRecord | SessionUpdatedRecord | MessageRecord | MessageReplacedRecord | CheckpointWrittenRecord | CheckpointPrunedRecord | DecisionRequestedRecord | DecisionResolvedRecord | DecisionExpiredRecord | CompactionRecord | ChildSessionEndedRecord | AuditRecord | BudgetBoundRecord | AccountBoundRecord | LogRepairedRecord;
|
|
6647
7125
|
/** One line of a session log. */
|
|
6648
7126
|
export type SessionRecord = SessionEventRecord | SessionRecordOnly;
|
|
6649
7127
|
export type SessionRecordType = SessionRecord['type'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../../src/types/session/records.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC/E,OAAO,KAAK,EACX,YAAY,EACZ,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,OAAO,EACP,MAAM,EACN,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,KAAK,OAAO,EAAiC,MAAM,qBAAqB,CAAA;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAE1C,OAAO,EAEN,KAAK,yBAAyB,EAC9B,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,MAAM,aAAa,CAAA;AAEpB;;;;GAIG;AAEH,uFAAuF;AACvF,eAAO,MAAM,6BAA6B,EAAG,CAAU,CAAA;AACvD,MAAM,MAAM,0BAA0B,GAAG,OAAO,6BAA6B,CAAA;AAE7E,gGAAgG;AAChG,eAAO,MAAM,wBAAwB,QAAkB,CAAA;AAoDvD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,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE,gFAAgF;AAChF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAQ7B,CAAA;AACV,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -211,7 +211,9 @@ export const TurnSettlementSchema = z
|
|
|
211
211
|
const completedSettlement = TurnSettlementSchema.extend({
|
|
212
212
|
status: z.enum(['completed', 'cancelled']),
|
|
213
213
|
});
|
|
214
|
-
const failedSettlement = TurnSettlementSchema.extend({
|
|
214
|
+
const failedSettlement = TurnSettlementSchema.extend({
|
|
215
|
+
status: z.literal('failed'),
|
|
216
|
+
});
|
|
215
217
|
/** A body too large for one record, written (and fsynced) to `tool-results/` before the record. */
|
|
216
218
|
const spill = z
|
|
217
219
|
.object({
|
|
@@ -458,6 +460,18 @@ export const BudgetBoundRecordSchema = inTurn('budget_bound', {
|
|
|
458
460
|
rootTurnId: turnId,
|
|
459
461
|
accountId: text.min(1),
|
|
460
462
|
});
|
|
463
|
+
/**
|
|
464
|
+
* The account a session's provider calls run under. Written when a session is
|
|
465
|
+
* bound to an account other than the provider's `default`, and again on each
|
|
466
|
+
* switch; never inside an open turn's work, only between turns. Replay reads
|
|
467
|
+
* the last one. A build that predates this record refuses a log holding it, so
|
|
468
|
+
* a session that never leaves the default account never writes one.
|
|
469
|
+
*/
|
|
470
|
+
export const AccountBoundRecordSchema = recordSchema('account_bound', {
|
|
471
|
+
accountId: text.min(1),
|
|
472
|
+
provider: text.min(1),
|
|
473
|
+
reason: z.enum(['start', 'user_switch', 'limit_switch']),
|
|
474
|
+
});
|
|
461
475
|
export const LogRepairedRecordSchema = recordSchema('log_repaired', {
|
|
462
476
|
truncatedBytes: positive,
|
|
463
477
|
lastGoodSeq: positive,
|
|
@@ -492,6 +506,7 @@ const RECORD_ONLY_SCHEMAS = {
|
|
|
492
506
|
child_session_ended: ChildSessionEndedRecordSchema,
|
|
493
507
|
audit: AuditRecordSchema,
|
|
494
508
|
budget_bound: BudgetBoundRecordSchema,
|
|
509
|
+
account_bound: AccountBoundRecordSchema,
|
|
495
510
|
log_repaired: LogRepairedRecordSchema,
|
|
496
511
|
};
|
|
497
512
|
/**
|
|
@@ -629,6 +644,35 @@ const RECORD_OPTIONS = [
|
|
|
629
644
|
...Object.values(RECORD_ONLY_SCHEMAS),
|
|
630
645
|
OtherEventRecordSchema,
|
|
631
646
|
];
|
|
647
|
+
/**
|
|
648
|
+
* A record of a type this reader does not know, written by a newer writer
|
|
649
|
+
* that flagged it `ignorable: true`: a promise that no reader needs it to
|
|
650
|
+
* rebuild the conversation. It is kept in the hash chain and verified like any
|
|
651
|
+
* other record, but never moves the fold. A known type never qualifies (its
|
|
652
|
+
* own schema decides), and an unknown type without the flag is still refused,
|
|
653
|
+
* so a record that does move the fold fails loudly on an older reader.
|
|
654
|
+
*/
|
|
655
|
+
export const IgnorableRecordSchema = z
|
|
656
|
+
.object({
|
|
657
|
+
...envelopeShape,
|
|
658
|
+
type: z
|
|
659
|
+
.string()
|
|
660
|
+
.min(1)
|
|
661
|
+
.refine((type) => !SESSION_RECORD_TYPES.includes(type), {
|
|
662
|
+
message: 'a type this reader knows is validated by its own schema',
|
|
663
|
+
}),
|
|
664
|
+
ignorable: z.literal(true),
|
|
665
|
+
})
|
|
666
|
+
.passthrough()
|
|
667
|
+
.superRefine((record, context) => {
|
|
668
|
+
if (record.seq === 1 || record.prev === null) {
|
|
669
|
+
context.addIssue({
|
|
670
|
+
code: z.ZodIssueCode.custom,
|
|
671
|
+
path: ['type'],
|
|
672
|
+
message: 'session_started is the first record of a session log, and only the first',
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
});
|
|
632
676
|
/** Validates one session record: envelope, discriminant, and every specified payload. */
|
|
633
677
|
export const SessionRecordSchema = z
|
|
634
678
|
.discriminatedUnion('type', RECORD_OPTIONS)
|