devcontour-harness 0.1.0-alpha.30 → 0.1.0-alpha.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -16
- package/docs/architecture.md +12 -0
- package/docs/compatibility.md +21 -18
- package/docs/contracts.md +270 -12
- package/docs/release-notes/0.1.0-alpha.31.md +44 -0
- package/docs/release-notes/0.1.0-alpha.32.md +33 -0
- package/docs/release-notes/0.1.0-alpha.33.md +29 -0
- package/docs/release-notes/0.1.0-alpha.34.md +32 -0
- package/docs/upgrade.md +181 -0
- package/lib/agents/cli-adapter.js +1 -0
- package/lib/cli.js +25 -3
- package/lib/contracts/cli.d.ts +1381 -18
- package/lib/contracts/cli.js +43 -1
- package/lib/contracts/diagnosis.d.ts +2 -1
- package/lib/contracts/diagnosis.js +1 -0
- package/lib/contracts/events.d.ts +760 -5
- package/lib/contracts/events.js +109 -3
- package/lib/contracts/execution.d.ts +112 -1
- package/lib/contracts/execution.js +38 -0
- package/lib/contracts/failure.d.ts +6 -1
- package/lib/contracts/failure.js +5 -1
- package/lib/contracts/handoff.d.ts +702 -0
- package/lib/contracts/handoff.js +305 -0
- package/lib/contracts/index.d.ts +1 -0
- package/lib/contracts/index.js +1 -0
- package/lib/contracts/policy.d.ts +27 -1
- package/lib/contracts/policy.js +38 -2
- package/lib/contracts/published.d.ts +1016 -3
- package/lib/contracts/published.js +2 -0
- package/lib/contracts/repair-policy.js +5 -0
- package/lib/contracts/report.d.ts +118 -2
- package/lib/contracts/report.js +61 -3
- package/lib/control/base-move.d.ts +7 -2
- package/lib/control/base-move.js +14 -1
- package/lib/control/harness.d.ts +81 -19
- package/lib/control/harness.js +8 -93
- package/lib/control/recovery.d.ts +1 -1
- package/lib/control/status.d.ts +235 -0
- package/lib/control/status.js +101 -0
- package/lib/engine/budget.d.ts +78 -0
- package/lib/engine/budget.js +13 -2
- package/lib/engine/classify.d.ts +14 -1
- package/lib/engine/classify.js +34 -0
- package/lib/engine/engine.d.ts +31 -11
- package/lib/engine/engine.js +99 -5
- package/lib/engine/joint-runner.d.ts +6 -0
- package/lib/engine/joint-runner.js +20 -4
- package/lib/engine/property-recovery.js +1 -0
- package/lib/engine/reuse.js +1 -0
- package/lib/engine/runner.d.ts +8 -0
- package/lib/engine/runner.js +120 -16
- package/lib/engine/stall-sweep.d.ts +137 -0
- package/lib/engine/stall-sweep.js +393 -0
- package/lib/environment/activity.d.ts +34 -0
- package/lib/environment/activity.js +55 -0
- package/lib/environment/isolation.d.ts +67 -3
- package/lib/environment/isolation.js +148 -5
- package/lib/environment/lifecycle.js +2 -1
- package/lib/environment/process.d.ts +7 -1
- package/lib/environment/process.js +14 -0
- package/lib/environment/redaction.d.ts +2 -0
- package/lib/environment/redaction.js +19 -0
- package/lib/explain/state.d.ts +26 -5
- package/lib/explain/state.js +41 -0
- package/lib/handoff/index.d.ts +2 -0
- package/lib/handoff/index.js +3 -0
- package/lib/handoff/markdown.d.ts +6 -0
- package/lib/handoff/markdown.js +155 -0
- package/lib/handoff/pack.d.ts +79 -0
- package/lib/handoff/pack.js +531 -0
- package/lib/index.d.ts +19 -3
- package/lib/index.js +18 -1
- package/lib/integrations/connector/redact.d.ts +2 -13
- package/lib/integrations/connector/redact.js +2 -21
- package/lib/integrations/connector/testing.js +1 -1
- package/lib/projections/attempt.d.ts +28 -0
- package/lib/projections/attempt.js +14 -0
- package/lib/projections/next.d.ts +3 -1
- package/lib/projections/next.js +4 -1
- package/lib/projections/stop.d.ts +22 -1
- package/lib/projections/stop.js +73 -15
- package/lib/report/compute.js +229 -21
- package/lib/report/document.js +31 -7
- package/lib/storage/document.d.ts +28 -6
- package/lib/storage/sqlite.d.ts +2 -0
- package/lib/storage/sqlite.js +9 -1
- package/lib/verification/gates-at.d.ts +11 -1
- package/lib/verification/gates-at.js +28 -2
- package/lib/verification/gates.d.ts +3 -1
- package/lib/verification/gates.js +25 -4
- package/package.json +1 -1
- package/schemas/execution-document.schema.json +68 -0
- package/schemas/execution-policy.schema.json +32 -0
- package/schemas/handoff-pack.schema.json +1430 -0
- package/schemas/run-event.schema.json +679 -0
- package/schemas/stop-diagnosis.schema.json +1 -0
- package/schemas/value-report.schema.json +236 -3
package/lib/contracts/cli.d.ts
CHANGED
|
@@ -372,6 +372,29 @@ export declare const cliCommands: {
|
|
|
372
372
|
}];
|
|
373
373
|
readonly refusals: ["NOT_FOUND", "PATH_CONFLICT"];
|
|
374
374
|
};
|
|
375
|
+
readonly handoff: {
|
|
376
|
+
readonly description: "Пакет передачи контекста для новой сессии ведущего агента из хранилища: активная работа и стадия, решения и остановки, незавершённые попытки, последние провалы, бюджеты, следующий шаг; только чтение";
|
|
377
|
+
readonly writes: false;
|
|
378
|
+
readonly idempotency: "Только чтение; агент добавляет только намерения (--intent)";
|
|
379
|
+
readonly args: [CliArgument, {
|
|
380
|
+
readonly name: "--graph";
|
|
381
|
+
readonly value: "id";
|
|
382
|
+
readonly required: false;
|
|
383
|
+
readonly description: "Только этот граф";
|
|
384
|
+
}, {
|
|
385
|
+
readonly name: "--intent";
|
|
386
|
+
readonly value: "text";
|
|
387
|
+
readonly required: false;
|
|
388
|
+
readonly multiple: true;
|
|
389
|
+
readonly description: "Намерение агента (до 20, каждое до 1000 знаков); единственный текст не из хранилища";
|
|
390
|
+
}, {
|
|
391
|
+
readonly name: "--format";
|
|
392
|
+
readonly value: "text";
|
|
393
|
+
readonly required: false;
|
|
394
|
+
readonly description: "json (по умолчанию, конверт HandoffPack) или md (Markdown без конверта)";
|
|
395
|
+
}];
|
|
396
|
+
readonly refusals: ["NOT_FOUND"];
|
|
397
|
+
};
|
|
375
398
|
readonly 'plan-request': {
|
|
376
399
|
readonly description: "Собрать read-only запрос планирования из постановки и фактов проекта (роли, gates, репозитории, контекст, ресурсы, контракты, требования) для ведущего агента; модель не вызывается, ничего не пишется";
|
|
377
400
|
readonly writes: false;
|
|
@@ -567,6 +590,29 @@ export declare const attemptViewSchema: z.ZodObject<{
|
|
|
567
590
|
failed: z.ZodNumber;
|
|
568
591
|
remaining: z.ZodNumber;
|
|
569
592
|
}, z.core.$strict>;
|
|
593
|
+
liveness: z.ZodOptional<z.ZodObject<{
|
|
594
|
+
state: z.ZodEnum<{
|
|
595
|
+
active: "active";
|
|
596
|
+
stalled: "stalled";
|
|
597
|
+
quiet: "quiet";
|
|
598
|
+
}>;
|
|
599
|
+
since: z.ZodISODateTime;
|
|
600
|
+
lastMovementAt: z.ZodISODateTime;
|
|
601
|
+
idleMs: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
603
|
+
kind: z.ZodEnum<{
|
|
604
|
+
gate: "gate";
|
|
605
|
+
command: "command";
|
|
606
|
+
agent: "agent";
|
|
607
|
+
step: "step";
|
|
608
|
+
}>;
|
|
609
|
+
label: z.ZodString;
|
|
610
|
+
}, z.core.$strict>>;
|
|
611
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
612
|
+
report: "report";
|
|
613
|
+
stop: "stop";
|
|
614
|
+
}>>;
|
|
615
|
+
}, z.core.$strict>>;
|
|
570
616
|
}, z.core.$strict>;
|
|
571
617
|
/**
|
|
572
618
|
* Почему выдача стоит (`status --detail`): причина паузы (`queueStop`), кто и
|
|
@@ -594,6 +640,7 @@ export declare const queueViewSchema: z.ZodObject<{
|
|
|
594
640
|
environment: "environment";
|
|
595
641
|
timeout: "timeout";
|
|
596
642
|
"provider-auth": "provider-auth";
|
|
643
|
+
stalled: "stalled";
|
|
597
644
|
"stale-base": "stale-base";
|
|
598
645
|
"empty-result": "empty-result";
|
|
599
646
|
unfinished: "unfinished";
|
|
@@ -648,6 +695,7 @@ export declare const queueViewSchema: z.ZodObject<{
|
|
|
648
695
|
environment: "environment";
|
|
649
696
|
timeout: "timeout";
|
|
650
697
|
"provider-auth": "provider-auth";
|
|
698
|
+
stalled: "stalled";
|
|
651
699
|
"stale-base": "stale-base";
|
|
652
700
|
"empty-result": "empty-result";
|
|
653
701
|
unfinished: "unfinished";
|
|
@@ -704,6 +752,7 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
704
752
|
environment: "environment";
|
|
705
753
|
timeout: "timeout";
|
|
706
754
|
"provider-auth": "provider-auth";
|
|
755
|
+
stalled: "stalled";
|
|
707
756
|
"stale-base": "stale-base";
|
|
708
757
|
"empty-result": "empty-result";
|
|
709
758
|
unfinished: "unfinished";
|
|
@@ -768,6 +817,10 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
768
817
|
}>;
|
|
769
818
|
attempt: z.ZodNumber;
|
|
770
819
|
activeRunId: z.ZodOptional<z.ZodString>;
|
|
820
|
+
liveness: z.ZodOptional<z.ZodEnum<{
|
|
821
|
+
stalled: "stalled";
|
|
822
|
+
quiet: "quiet";
|
|
823
|
+
}>>;
|
|
771
824
|
resultSha: z.ZodOptional<z.ZodString>;
|
|
772
825
|
blockers: z.ZodArray<z.ZodObject<{
|
|
773
826
|
code: z.ZodEnum<{
|
|
@@ -869,6 +922,7 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
869
922
|
environment: "environment";
|
|
870
923
|
timeout: "timeout";
|
|
871
924
|
"provider-auth": "provider-auth";
|
|
925
|
+
stalled: "stalled";
|
|
872
926
|
"stale-base": "stale-base";
|
|
873
927
|
"empty-result": "empty-result";
|
|
874
928
|
unfinished: "unfinished";
|
|
@@ -923,6 +977,7 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
923
977
|
environment: "environment";
|
|
924
978
|
timeout: "timeout";
|
|
925
979
|
"provider-auth": "provider-auth";
|
|
980
|
+
stalled: "stalled";
|
|
926
981
|
"stale-base": "stale-base";
|
|
927
982
|
"empty-result": "empty-result";
|
|
928
983
|
unfinished: "unfinished";
|
|
@@ -1001,6 +1056,29 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
1001
1056
|
failed: z.ZodNumber;
|
|
1002
1057
|
remaining: z.ZodNumber;
|
|
1003
1058
|
}, z.core.$strict>;
|
|
1059
|
+
liveness: z.ZodOptional<z.ZodObject<{
|
|
1060
|
+
state: z.ZodEnum<{
|
|
1061
|
+
active: "active";
|
|
1062
|
+
stalled: "stalled";
|
|
1063
|
+
quiet: "quiet";
|
|
1064
|
+
}>;
|
|
1065
|
+
since: z.ZodISODateTime;
|
|
1066
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1067
|
+
idleMs: z.ZodOptional<z.ZodNumber>;
|
|
1068
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1069
|
+
kind: z.ZodEnum<{
|
|
1070
|
+
gate: "gate";
|
|
1071
|
+
command: "command";
|
|
1072
|
+
agent: "agent";
|
|
1073
|
+
step: "step";
|
|
1074
|
+
}>;
|
|
1075
|
+
label: z.ZodString;
|
|
1076
|
+
}, z.core.$strict>>;
|
|
1077
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1078
|
+
report: "report";
|
|
1079
|
+
stop: "stop";
|
|
1080
|
+
}>>;
|
|
1081
|
+
}, z.core.$strict>>;
|
|
1004
1082
|
}, z.core.$strict>>;
|
|
1005
1083
|
}, z.core.$strict>>;
|
|
1006
1084
|
}, z.core.$strict>;
|
|
@@ -1013,7 +1091,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1013
1091
|
workId: z.ZodOptional<z.ZodString>;
|
|
1014
1092
|
runId: z.ZodOptional<z.ZodString>;
|
|
1015
1093
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1016
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1094
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1017
1095
|
payload: z.ZodObject<{
|
|
1018
1096
|
digest: z.ZodString;
|
|
1019
1097
|
orders: z.ZodNumber;
|
|
@@ -1116,6 +1194,44 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1116
1194
|
passed: "passed";
|
|
1117
1195
|
failed: "failed";
|
|
1118
1196
|
}>>;
|
|
1197
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1198
|
+
state: z.ZodEnum<{
|
|
1199
|
+
active: "active";
|
|
1200
|
+
stalled: "stalled";
|
|
1201
|
+
quiet: "quiet";
|
|
1202
|
+
}>;
|
|
1203
|
+
previous: z.ZodEnum<{
|
|
1204
|
+
active: "active";
|
|
1205
|
+
stalled: "stalled";
|
|
1206
|
+
quiet: "quiet";
|
|
1207
|
+
}>;
|
|
1208
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1209
|
+
idleMs: z.ZodNumber;
|
|
1210
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1211
|
+
kind: z.ZodEnum<{
|
|
1212
|
+
gate: "gate";
|
|
1213
|
+
command: "command";
|
|
1214
|
+
agent: "agent";
|
|
1215
|
+
step: "step";
|
|
1216
|
+
}>;
|
|
1217
|
+
label: z.ZodString;
|
|
1218
|
+
}, z.core.$strict>>;
|
|
1219
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1220
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1221
|
+
report: "report";
|
|
1222
|
+
stop: "stop";
|
|
1223
|
+
}>>;
|
|
1224
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1225
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1226
|
+
pid: z.ZodNumber;
|
|
1227
|
+
parentPid: z.ZodNumber;
|
|
1228
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1229
|
+
command: z.ZodString;
|
|
1230
|
+
}, z.core.$strict>>;
|
|
1231
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1232
|
+
tail: z.ZodString;
|
|
1233
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
}, z.core.$strict>>;
|
|
1119
1235
|
}, z.core.$strict> | z.ZodObject<{
|
|
1120
1236
|
failureKind: z.ZodEnum<{
|
|
1121
1237
|
gate: "gate";
|
|
@@ -1125,6 +1241,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1125
1241
|
environment: "environment";
|
|
1126
1242
|
timeout: "timeout";
|
|
1127
1243
|
"provider-auth": "provider-auth";
|
|
1244
|
+
stalled: "stalled";
|
|
1128
1245
|
"stale-base": "stale-base";
|
|
1129
1246
|
"empty-result": "empty-result";
|
|
1130
1247
|
unfinished: "unfinished";
|
|
@@ -1136,6 +1253,42 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1136
1253
|
}>;
|
|
1137
1254
|
message: z.ZodString;
|
|
1138
1255
|
blocked: z.ZodBoolean;
|
|
1256
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1257
|
+
failureKind: z.ZodEnum<{
|
|
1258
|
+
gate: "gate";
|
|
1259
|
+
unknown: "unknown";
|
|
1260
|
+
review: "review";
|
|
1261
|
+
cancelled: "cancelled";
|
|
1262
|
+
environment: "environment";
|
|
1263
|
+
timeout: "timeout";
|
|
1264
|
+
"provider-auth": "provider-auth";
|
|
1265
|
+
stalled: "stalled";
|
|
1266
|
+
"stale-base": "stale-base";
|
|
1267
|
+
"empty-result": "empty-result";
|
|
1268
|
+
unfinished: "unfinished";
|
|
1269
|
+
"scope-violation": "scope-violation";
|
|
1270
|
+
"review-protocol": "review-protocol";
|
|
1271
|
+
merge: "merge";
|
|
1272
|
+
budget: "budget";
|
|
1273
|
+
"needs-lead": "needs-lead";
|
|
1274
|
+
}>;
|
|
1275
|
+
cause: z.ZodEnum<{
|
|
1276
|
+
preflight: "preflight";
|
|
1277
|
+
transport: "transport";
|
|
1278
|
+
none: "none";
|
|
1279
|
+
other: "other";
|
|
1280
|
+
"provider-auth": "provider-auth";
|
|
1281
|
+
stalled: "stalled";
|
|
1282
|
+
shutdown: "shutdown";
|
|
1283
|
+
"sandbox-launch": "sandbox-launch";
|
|
1284
|
+
"sandbox-network": "sandbox-network";
|
|
1285
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
1286
|
+
"sandbox-policy": "sandbox-policy";
|
|
1287
|
+
"dependency-network": "dependency-network";
|
|
1288
|
+
"provider-limit": "provider-limit";
|
|
1289
|
+
"lease-expired": "lease-expired";
|
|
1290
|
+
}>;
|
|
1291
|
+
counted: z.ZodBoolean;
|
|
1139
1292
|
}, z.core.$strict> | z.ZodObject<{
|
|
1140
1293
|
leaseUntil: z.ZodNumber;
|
|
1141
1294
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1147,6 +1300,22 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1147
1300
|
}, z.core.$strict> | z.ZodObject<{
|
|
1148
1301
|
resultSha: z.ZodString;
|
|
1149
1302
|
integrationSha: z.ZodString;
|
|
1303
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1304
|
+
by: z.ZodEnum<{
|
|
1305
|
+
operator: "operator";
|
|
1306
|
+
recovery: "recovery";
|
|
1307
|
+
host: "host";
|
|
1308
|
+
}>;
|
|
1309
|
+
reset: z.ZodBoolean;
|
|
1310
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
1311
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
1312
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1313
|
+
by: z.ZodEnum<{
|
|
1314
|
+
operator: "operator";
|
|
1315
|
+
graph: "graph";
|
|
1316
|
+
host: "host";
|
|
1317
|
+
}>;
|
|
1318
|
+
hadAttempt: z.ZodBoolean;
|
|
1150
1319
|
}, z.core.$strict> | z.ZodObject<{
|
|
1151
1320
|
code: z.ZodString;
|
|
1152
1321
|
message: z.ZodString;
|
|
@@ -1166,6 +1335,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1166
1335
|
environment: "environment";
|
|
1167
1336
|
timeout: "timeout";
|
|
1168
1337
|
"provider-auth": "provider-auth";
|
|
1338
|
+
stalled: "stalled";
|
|
1169
1339
|
"stale-base": "stale-base";
|
|
1170
1340
|
"empty-result": "empty-result";
|
|
1171
1341
|
unfinished: "unfinished";
|
|
@@ -1185,6 +1355,12 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1185
1355
|
}>;
|
|
1186
1356
|
}, z.core.$strict> | z.ZodObject<{
|
|
1187
1357
|
owner: z.ZodString;
|
|
1358
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1359
|
+
by: z.ZodEnum<{
|
|
1360
|
+
operator: "operator";
|
|
1361
|
+
controller: "controller";
|
|
1362
|
+
host: "host";
|
|
1363
|
+
}>;
|
|
1188
1364
|
}, z.core.$strict> | z.ZodObject<{
|
|
1189
1365
|
owner: z.ZodString;
|
|
1190
1366
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1227,6 +1403,45 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1227
1403
|
verificationId: z.ZodString;
|
|
1228
1404
|
workIds: z.ZodArray<z.ZodString>;
|
|
1229
1405
|
policyDigest: z.ZodString;
|
|
1406
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1407
|
+
state: z.ZodEnum<{
|
|
1408
|
+
active: "active";
|
|
1409
|
+
stalled: "stalled";
|
|
1410
|
+
quiet: "quiet";
|
|
1411
|
+
}>;
|
|
1412
|
+
previous: z.ZodEnum<{
|
|
1413
|
+
active: "active";
|
|
1414
|
+
stalled: "stalled";
|
|
1415
|
+
quiet: "quiet";
|
|
1416
|
+
}>;
|
|
1417
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1418
|
+
idleMs: z.ZodNumber;
|
|
1419
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1420
|
+
kind: z.ZodEnum<{
|
|
1421
|
+
gate: "gate";
|
|
1422
|
+
command: "command";
|
|
1423
|
+
agent: "agent";
|
|
1424
|
+
step: "step";
|
|
1425
|
+
}>;
|
|
1426
|
+
label: z.ZodString;
|
|
1427
|
+
}, z.core.$strict>>;
|
|
1428
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1429
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1430
|
+
report: "report";
|
|
1431
|
+
stop: "stop";
|
|
1432
|
+
}>>;
|
|
1433
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1434
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1435
|
+
pid: z.ZodNumber;
|
|
1436
|
+
parentPid: z.ZodNumber;
|
|
1437
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1438
|
+
command: z.ZodString;
|
|
1439
|
+
}, z.core.$strict>>;
|
|
1440
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1441
|
+
tail: z.ZodString;
|
|
1442
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
}, z.core.$strict>>;
|
|
1444
|
+
verificationId: z.ZodString;
|
|
1230
1445
|
}, z.core.$strict> | z.ZodObject<{
|
|
1231
1446
|
verificationId: z.ZodString;
|
|
1232
1447
|
status: z.ZodEnum<{
|
|
@@ -1288,7 +1503,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1288
1503
|
workId: z.ZodOptional<z.ZodString>;
|
|
1289
1504
|
runId: z.ZodOptional<z.ZodString>;
|
|
1290
1505
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1291
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1506
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1292
1507
|
payload: z.ZodObject<{
|
|
1293
1508
|
digest: z.ZodString;
|
|
1294
1509
|
orders: z.ZodNumber;
|
|
@@ -1391,6 +1606,44 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1391
1606
|
passed: "passed";
|
|
1392
1607
|
failed: "failed";
|
|
1393
1608
|
}>>;
|
|
1609
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1610
|
+
state: z.ZodEnum<{
|
|
1611
|
+
active: "active";
|
|
1612
|
+
stalled: "stalled";
|
|
1613
|
+
quiet: "quiet";
|
|
1614
|
+
}>;
|
|
1615
|
+
previous: z.ZodEnum<{
|
|
1616
|
+
active: "active";
|
|
1617
|
+
stalled: "stalled";
|
|
1618
|
+
quiet: "quiet";
|
|
1619
|
+
}>;
|
|
1620
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1621
|
+
idleMs: z.ZodNumber;
|
|
1622
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1623
|
+
kind: z.ZodEnum<{
|
|
1624
|
+
gate: "gate";
|
|
1625
|
+
command: "command";
|
|
1626
|
+
agent: "agent";
|
|
1627
|
+
step: "step";
|
|
1628
|
+
}>;
|
|
1629
|
+
label: z.ZodString;
|
|
1630
|
+
}, z.core.$strict>>;
|
|
1631
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1632
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1633
|
+
report: "report";
|
|
1634
|
+
stop: "stop";
|
|
1635
|
+
}>>;
|
|
1636
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1637
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1638
|
+
pid: z.ZodNumber;
|
|
1639
|
+
parentPid: z.ZodNumber;
|
|
1640
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1641
|
+
command: z.ZodString;
|
|
1642
|
+
}, z.core.$strict>>;
|
|
1643
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1644
|
+
tail: z.ZodString;
|
|
1645
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
}, z.core.$strict>>;
|
|
1394
1647
|
}, z.core.$strict> | z.ZodObject<{
|
|
1395
1648
|
failureKind: z.ZodEnum<{
|
|
1396
1649
|
gate: "gate";
|
|
@@ -1400,6 +1653,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1400
1653
|
environment: "environment";
|
|
1401
1654
|
timeout: "timeout";
|
|
1402
1655
|
"provider-auth": "provider-auth";
|
|
1656
|
+
stalled: "stalled";
|
|
1403
1657
|
"stale-base": "stale-base";
|
|
1404
1658
|
"empty-result": "empty-result";
|
|
1405
1659
|
unfinished: "unfinished";
|
|
@@ -1411,6 +1665,42 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1411
1665
|
}>;
|
|
1412
1666
|
message: z.ZodString;
|
|
1413
1667
|
blocked: z.ZodBoolean;
|
|
1668
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1669
|
+
failureKind: z.ZodEnum<{
|
|
1670
|
+
gate: "gate";
|
|
1671
|
+
unknown: "unknown";
|
|
1672
|
+
review: "review";
|
|
1673
|
+
cancelled: "cancelled";
|
|
1674
|
+
environment: "environment";
|
|
1675
|
+
timeout: "timeout";
|
|
1676
|
+
"provider-auth": "provider-auth";
|
|
1677
|
+
stalled: "stalled";
|
|
1678
|
+
"stale-base": "stale-base";
|
|
1679
|
+
"empty-result": "empty-result";
|
|
1680
|
+
unfinished: "unfinished";
|
|
1681
|
+
"scope-violation": "scope-violation";
|
|
1682
|
+
"review-protocol": "review-protocol";
|
|
1683
|
+
merge: "merge";
|
|
1684
|
+
budget: "budget";
|
|
1685
|
+
"needs-lead": "needs-lead";
|
|
1686
|
+
}>;
|
|
1687
|
+
cause: z.ZodEnum<{
|
|
1688
|
+
preflight: "preflight";
|
|
1689
|
+
transport: "transport";
|
|
1690
|
+
none: "none";
|
|
1691
|
+
other: "other";
|
|
1692
|
+
"provider-auth": "provider-auth";
|
|
1693
|
+
stalled: "stalled";
|
|
1694
|
+
shutdown: "shutdown";
|
|
1695
|
+
"sandbox-launch": "sandbox-launch";
|
|
1696
|
+
"sandbox-network": "sandbox-network";
|
|
1697
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
1698
|
+
"sandbox-policy": "sandbox-policy";
|
|
1699
|
+
"dependency-network": "dependency-network";
|
|
1700
|
+
"provider-limit": "provider-limit";
|
|
1701
|
+
"lease-expired": "lease-expired";
|
|
1702
|
+
}>;
|
|
1703
|
+
counted: z.ZodBoolean;
|
|
1414
1704
|
}, z.core.$strict> | z.ZodObject<{
|
|
1415
1705
|
leaseUntil: z.ZodNumber;
|
|
1416
1706
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1422,6 +1712,22 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1422
1712
|
}, z.core.$strict> | z.ZodObject<{
|
|
1423
1713
|
resultSha: z.ZodString;
|
|
1424
1714
|
integrationSha: z.ZodString;
|
|
1715
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1716
|
+
by: z.ZodEnum<{
|
|
1717
|
+
operator: "operator";
|
|
1718
|
+
recovery: "recovery";
|
|
1719
|
+
host: "host";
|
|
1720
|
+
}>;
|
|
1721
|
+
reset: z.ZodBoolean;
|
|
1722
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
1723
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
1724
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1725
|
+
by: z.ZodEnum<{
|
|
1726
|
+
operator: "operator";
|
|
1727
|
+
graph: "graph";
|
|
1728
|
+
host: "host";
|
|
1729
|
+
}>;
|
|
1730
|
+
hadAttempt: z.ZodBoolean;
|
|
1425
1731
|
}, z.core.$strict> | z.ZodObject<{
|
|
1426
1732
|
code: z.ZodString;
|
|
1427
1733
|
message: z.ZodString;
|
|
@@ -1441,6 +1747,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1441
1747
|
environment: "environment";
|
|
1442
1748
|
timeout: "timeout";
|
|
1443
1749
|
"provider-auth": "provider-auth";
|
|
1750
|
+
stalled: "stalled";
|
|
1444
1751
|
"stale-base": "stale-base";
|
|
1445
1752
|
"empty-result": "empty-result";
|
|
1446
1753
|
unfinished: "unfinished";
|
|
@@ -1460,6 +1767,12 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1460
1767
|
}>;
|
|
1461
1768
|
}, z.core.$strict> | z.ZodObject<{
|
|
1462
1769
|
owner: z.ZodString;
|
|
1770
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1771
|
+
by: z.ZodEnum<{
|
|
1772
|
+
operator: "operator";
|
|
1773
|
+
controller: "controller";
|
|
1774
|
+
host: "host";
|
|
1775
|
+
}>;
|
|
1463
1776
|
}, z.core.$strict> | z.ZodObject<{
|
|
1464
1777
|
owner: z.ZodString;
|
|
1465
1778
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1502,6 +1815,45 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1502
1815
|
verificationId: z.ZodString;
|
|
1503
1816
|
workIds: z.ZodArray<z.ZodString>;
|
|
1504
1817
|
policyDigest: z.ZodString;
|
|
1818
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1819
|
+
state: z.ZodEnum<{
|
|
1820
|
+
active: "active";
|
|
1821
|
+
stalled: "stalled";
|
|
1822
|
+
quiet: "quiet";
|
|
1823
|
+
}>;
|
|
1824
|
+
previous: z.ZodEnum<{
|
|
1825
|
+
active: "active";
|
|
1826
|
+
stalled: "stalled";
|
|
1827
|
+
quiet: "quiet";
|
|
1828
|
+
}>;
|
|
1829
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1830
|
+
idleMs: z.ZodNumber;
|
|
1831
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1832
|
+
kind: z.ZodEnum<{
|
|
1833
|
+
gate: "gate";
|
|
1834
|
+
command: "command";
|
|
1835
|
+
agent: "agent";
|
|
1836
|
+
step: "step";
|
|
1837
|
+
}>;
|
|
1838
|
+
label: z.ZodString;
|
|
1839
|
+
}, z.core.$strict>>;
|
|
1840
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1841
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1842
|
+
report: "report";
|
|
1843
|
+
stop: "stop";
|
|
1844
|
+
}>>;
|
|
1845
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1846
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1847
|
+
pid: z.ZodNumber;
|
|
1848
|
+
parentPid: z.ZodNumber;
|
|
1849
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1850
|
+
command: z.ZodString;
|
|
1851
|
+
}, z.core.$strict>>;
|
|
1852
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1853
|
+
tail: z.ZodString;
|
|
1854
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1855
|
+
}, z.core.$strict>>;
|
|
1856
|
+
verificationId: z.ZodString;
|
|
1505
1857
|
}, z.core.$strict> | z.ZodObject<{
|
|
1506
1858
|
verificationId: z.ZodString;
|
|
1507
1859
|
status: z.ZodEnum<{
|
|
@@ -1676,6 +2028,7 @@ export declare const controlDataSchema: z.ZodObject<{
|
|
|
1676
2028
|
environment: "environment";
|
|
1677
2029
|
timeout: "timeout";
|
|
1678
2030
|
"provider-auth": "provider-auth";
|
|
2031
|
+
stalled: "stalled";
|
|
1679
2032
|
"stale-base": "stale-base";
|
|
1680
2033
|
"empty-result": "empty-result";
|
|
1681
2034
|
unfinished: "unfinished";
|
|
@@ -2411,6 +2764,7 @@ export declare const explainDataSchema: z.ZodObject<{
|
|
|
2411
2764
|
environment: "environment";
|
|
2412
2765
|
timeout: "timeout";
|
|
2413
2766
|
"provider-auth": "provider-auth";
|
|
2767
|
+
stalled: "stalled";
|
|
2414
2768
|
"stale-base": "stale-base";
|
|
2415
2769
|
"empty-result": "empty-result";
|
|
2416
2770
|
unfinished: "unfinished";
|
|
@@ -2690,6 +3044,7 @@ export declare const cliDataSchemas: {
|
|
|
2690
3044
|
environment: "environment";
|
|
2691
3045
|
timeout: "timeout";
|
|
2692
3046
|
"provider-auth": "provider-auth";
|
|
3047
|
+
stalled: "stalled";
|
|
2693
3048
|
"stale-base": "stale-base";
|
|
2694
3049
|
"empty-result": "empty-result";
|
|
2695
3050
|
unfinished: "unfinished";
|
|
@@ -2754,6 +3109,10 @@ export declare const cliDataSchemas: {
|
|
|
2754
3109
|
}>;
|
|
2755
3110
|
attempt: z.ZodNumber;
|
|
2756
3111
|
activeRunId: z.ZodOptional<z.ZodString>;
|
|
3112
|
+
liveness: z.ZodOptional<z.ZodEnum<{
|
|
3113
|
+
stalled: "stalled";
|
|
3114
|
+
quiet: "quiet";
|
|
3115
|
+
}>>;
|
|
2757
3116
|
resultSha: z.ZodOptional<z.ZodString>;
|
|
2758
3117
|
blockers: z.ZodArray<z.ZodObject<{
|
|
2759
3118
|
code: z.ZodEnum<{
|
|
@@ -2855,6 +3214,7 @@ export declare const cliDataSchemas: {
|
|
|
2855
3214
|
environment: "environment";
|
|
2856
3215
|
timeout: "timeout";
|
|
2857
3216
|
"provider-auth": "provider-auth";
|
|
3217
|
+
stalled: "stalled";
|
|
2858
3218
|
"stale-base": "stale-base";
|
|
2859
3219
|
"empty-result": "empty-result";
|
|
2860
3220
|
unfinished: "unfinished";
|
|
@@ -2909,6 +3269,7 @@ export declare const cliDataSchemas: {
|
|
|
2909
3269
|
environment: "environment";
|
|
2910
3270
|
timeout: "timeout";
|
|
2911
3271
|
"provider-auth": "provider-auth";
|
|
3272
|
+
stalled: "stalled";
|
|
2912
3273
|
"stale-base": "stale-base";
|
|
2913
3274
|
"empty-result": "empty-result";
|
|
2914
3275
|
unfinished: "unfinished";
|
|
@@ -2987,6 +3348,29 @@ export declare const cliDataSchemas: {
|
|
|
2987
3348
|
failed: z.ZodNumber;
|
|
2988
3349
|
remaining: z.ZodNumber;
|
|
2989
3350
|
}, z.core.$strict>;
|
|
3351
|
+
liveness: z.ZodOptional<z.ZodObject<{
|
|
3352
|
+
state: z.ZodEnum<{
|
|
3353
|
+
active: "active";
|
|
3354
|
+
stalled: "stalled";
|
|
3355
|
+
quiet: "quiet";
|
|
3356
|
+
}>;
|
|
3357
|
+
since: z.ZodISODateTime;
|
|
3358
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3359
|
+
idleMs: z.ZodOptional<z.ZodNumber>;
|
|
3360
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3361
|
+
kind: z.ZodEnum<{
|
|
3362
|
+
gate: "gate";
|
|
3363
|
+
command: "command";
|
|
3364
|
+
agent: "agent";
|
|
3365
|
+
step: "step";
|
|
3366
|
+
}>;
|
|
3367
|
+
label: z.ZodString;
|
|
3368
|
+
}, z.core.$strict>>;
|
|
3369
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3370
|
+
report: "report";
|
|
3371
|
+
stop: "stop";
|
|
3372
|
+
}>>;
|
|
3373
|
+
}, z.core.$strict>>;
|
|
2990
3374
|
}, z.core.$strict>>;
|
|
2991
3375
|
}, z.core.$strict>>;
|
|
2992
3376
|
}, z.core.$strict>;
|
|
@@ -2999,7 +3383,7 @@ export declare const cliDataSchemas: {
|
|
|
2999
3383
|
workId: z.ZodOptional<z.ZodString>;
|
|
3000
3384
|
runId: z.ZodOptional<z.ZodString>;
|
|
3001
3385
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
3002
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
3386
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
3003
3387
|
payload: z.ZodObject<{
|
|
3004
3388
|
digest: z.ZodString;
|
|
3005
3389
|
orders: z.ZodNumber;
|
|
@@ -3102,6 +3486,44 @@ export declare const cliDataSchemas: {
|
|
|
3102
3486
|
passed: "passed";
|
|
3103
3487
|
failed: "failed";
|
|
3104
3488
|
}>>;
|
|
3489
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3490
|
+
state: z.ZodEnum<{
|
|
3491
|
+
active: "active";
|
|
3492
|
+
stalled: "stalled";
|
|
3493
|
+
quiet: "quiet";
|
|
3494
|
+
}>;
|
|
3495
|
+
previous: z.ZodEnum<{
|
|
3496
|
+
active: "active";
|
|
3497
|
+
stalled: "stalled";
|
|
3498
|
+
quiet: "quiet";
|
|
3499
|
+
}>;
|
|
3500
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3501
|
+
idleMs: z.ZodNumber;
|
|
3502
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3503
|
+
kind: z.ZodEnum<{
|
|
3504
|
+
gate: "gate";
|
|
3505
|
+
command: "command";
|
|
3506
|
+
agent: "agent";
|
|
3507
|
+
step: "step";
|
|
3508
|
+
}>;
|
|
3509
|
+
label: z.ZodString;
|
|
3510
|
+
}, z.core.$strict>>;
|
|
3511
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3512
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3513
|
+
report: "report";
|
|
3514
|
+
stop: "stop";
|
|
3515
|
+
}>>;
|
|
3516
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
3517
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
3518
|
+
pid: z.ZodNumber;
|
|
3519
|
+
parentPid: z.ZodNumber;
|
|
3520
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
3521
|
+
command: z.ZodString;
|
|
3522
|
+
}, z.core.$strict>>;
|
|
3523
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3524
|
+
tail: z.ZodString;
|
|
3525
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3526
|
+
}, z.core.$strict>>;
|
|
3105
3527
|
}, z.core.$strict> | z.ZodObject<{
|
|
3106
3528
|
failureKind: z.ZodEnum<{
|
|
3107
3529
|
gate: "gate";
|
|
@@ -3111,6 +3533,7 @@ export declare const cliDataSchemas: {
|
|
|
3111
3533
|
environment: "environment";
|
|
3112
3534
|
timeout: "timeout";
|
|
3113
3535
|
"provider-auth": "provider-auth";
|
|
3536
|
+
stalled: "stalled";
|
|
3114
3537
|
"stale-base": "stale-base";
|
|
3115
3538
|
"empty-result": "empty-result";
|
|
3116
3539
|
unfinished: "unfinished";
|
|
@@ -3122,6 +3545,42 @@ export declare const cliDataSchemas: {
|
|
|
3122
3545
|
}>;
|
|
3123
3546
|
message: z.ZodString;
|
|
3124
3547
|
blocked: z.ZodBoolean;
|
|
3548
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3549
|
+
failureKind: z.ZodEnum<{
|
|
3550
|
+
gate: "gate";
|
|
3551
|
+
unknown: "unknown";
|
|
3552
|
+
review: "review";
|
|
3553
|
+
cancelled: "cancelled";
|
|
3554
|
+
environment: "environment";
|
|
3555
|
+
timeout: "timeout";
|
|
3556
|
+
"provider-auth": "provider-auth";
|
|
3557
|
+
stalled: "stalled";
|
|
3558
|
+
"stale-base": "stale-base";
|
|
3559
|
+
"empty-result": "empty-result";
|
|
3560
|
+
unfinished: "unfinished";
|
|
3561
|
+
"scope-violation": "scope-violation";
|
|
3562
|
+
"review-protocol": "review-protocol";
|
|
3563
|
+
merge: "merge";
|
|
3564
|
+
budget: "budget";
|
|
3565
|
+
"needs-lead": "needs-lead";
|
|
3566
|
+
}>;
|
|
3567
|
+
cause: z.ZodEnum<{
|
|
3568
|
+
preflight: "preflight";
|
|
3569
|
+
transport: "transport";
|
|
3570
|
+
none: "none";
|
|
3571
|
+
other: "other";
|
|
3572
|
+
"provider-auth": "provider-auth";
|
|
3573
|
+
stalled: "stalled";
|
|
3574
|
+
shutdown: "shutdown";
|
|
3575
|
+
"sandbox-launch": "sandbox-launch";
|
|
3576
|
+
"sandbox-network": "sandbox-network";
|
|
3577
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
3578
|
+
"sandbox-policy": "sandbox-policy";
|
|
3579
|
+
"dependency-network": "dependency-network";
|
|
3580
|
+
"provider-limit": "provider-limit";
|
|
3581
|
+
"lease-expired": "lease-expired";
|
|
3582
|
+
}>;
|
|
3583
|
+
counted: z.ZodBoolean;
|
|
3125
3584
|
}, z.core.$strict> | z.ZodObject<{
|
|
3126
3585
|
leaseUntil: z.ZodNumber;
|
|
3127
3586
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -3133,6 +3592,22 @@ export declare const cliDataSchemas: {
|
|
|
3133
3592
|
}, z.core.$strict> | z.ZodObject<{
|
|
3134
3593
|
resultSha: z.ZodString;
|
|
3135
3594
|
integrationSha: z.ZodString;
|
|
3595
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3596
|
+
by: z.ZodEnum<{
|
|
3597
|
+
operator: "operator";
|
|
3598
|
+
recovery: "recovery";
|
|
3599
|
+
host: "host";
|
|
3600
|
+
}>;
|
|
3601
|
+
reset: z.ZodBoolean;
|
|
3602
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
3603
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
3604
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3605
|
+
by: z.ZodEnum<{
|
|
3606
|
+
operator: "operator";
|
|
3607
|
+
graph: "graph";
|
|
3608
|
+
host: "host";
|
|
3609
|
+
}>;
|
|
3610
|
+
hadAttempt: z.ZodBoolean;
|
|
3136
3611
|
}, z.core.$strict> | z.ZodObject<{
|
|
3137
3612
|
code: z.ZodString;
|
|
3138
3613
|
message: z.ZodString;
|
|
@@ -3152,6 +3627,7 @@ export declare const cliDataSchemas: {
|
|
|
3152
3627
|
environment: "environment";
|
|
3153
3628
|
timeout: "timeout";
|
|
3154
3629
|
"provider-auth": "provider-auth";
|
|
3630
|
+
stalled: "stalled";
|
|
3155
3631
|
"stale-base": "stale-base";
|
|
3156
3632
|
"empty-result": "empty-result";
|
|
3157
3633
|
unfinished: "unfinished";
|
|
@@ -3171,6 +3647,12 @@ export declare const cliDataSchemas: {
|
|
|
3171
3647
|
}>;
|
|
3172
3648
|
}, z.core.$strict> | z.ZodObject<{
|
|
3173
3649
|
owner: z.ZodString;
|
|
3650
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3651
|
+
by: z.ZodEnum<{
|
|
3652
|
+
operator: "operator";
|
|
3653
|
+
controller: "controller";
|
|
3654
|
+
host: "host";
|
|
3655
|
+
}>;
|
|
3174
3656
|
}, z.core.$strict> | z.ZodObject<{
|
|
3175
3657
|
owner: z.ZodString;
|
|
3176
3658
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -3213,6 +3695,45 @@ export declare const cliDataSchemas: {
|
|
|
3213
3695
|
verificationId: z.ZodString;
|
|
3214
3696
|
workIds: z.ZodArray<z.ZodString>;
|
|
3215
3697
|
policyDigest: z.ZodString;
|
|
3698
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3699
|
+
state: z.ZodEnum<{
|
|
3700
|
+
active: "active";
|
|
3701
|
+
stalled: "stalled";
|
|
3702
|
+
quiet: "quiet";
|
|
3703
|
+
}>;
|
|
3704
|
+
previous: z.ZodEnum<{
|
|
3705
|
+
active: "active";
|
|
3706
|
+
stalled: "stalled";
|
|
3707
|
+
quiet: "quiet";
|
|
3708
|
+
}>;
|
|
3709
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3710
|
+
idleMs: z.ZodNumber;
|
|
3711
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3712
|
+
kind: z.ZodEnum<{
|
|
3713
|
+
gate: "gate";
|
|
3714
|
+
command: "command";
|
|
3715
|
+
agent: "agent";
|
|
3716
|
+
step: "step";
|
|
3717
|
+
}>;
|
|
3718
|
+
label: z.ZodString;
|
|
3719
|
+
}, z.core.$strict>>;
|
|
3720
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3721
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3722
|
+
report: "report";
|
|
3723
|
+
stop: "stop";
|
|
3724
|
+
}>>;
|
|
3725
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
3726
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
3727
|
+
pid: z.ZodNumber;
|
|
3728
|
+
parentPid: z.ZodNumber;
|
|
3729
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
3730
|
+
command: z.ZodString;
|
|
3731
|
+
}, z.core.$strict>>;
|
|
3732
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3733
|
+
tail: z.ZodString;
|
|
3734
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3735
|
+
}, z.core.$strict>>;
|
|
3736
|
+
verificationId: z.ZodString;
|
|
3216
3737
|
}, z.core.$strict> | z.ZodObject<{
|
|
3217
3738
|
verificationId: z.ZodString;
|
|
3218
3739
|
status: z.ZodEnum<{
|
|
@@ -3274,7 +3795,7 @@ export declare const cliDataSchemas: {
|
|
|
3274
3795
|
workId: z.ZodOptional<z.ZodString>;
|
|
3275
3796
|
runId: z.ZodOptional<z.ZodString>;
|
|
3276
3797
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
3277
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
3798
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
3278
3799
|
payload: z.ZodObject<{
|
|
3279
3800
|
digest: z.ZodString;
|
|
3280
3801
|
orders: z.ZodNumber;
|
|
@@ -3377,6 +3898,44 @@ export declare const cliDataSchemas: {
|
|
|
3377
3898
|
passed: "passed";
|
|
3378
3899
|
failed: "failed";
|
|
3379
3900
|
}>>;
|
|
3901
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3902
|
+
state: z.ZodEnum<{
|
|
3903
|
+
active: "active";
|
|
3904
|
+
stalled: "stalled";
|
|
3905
|
+
quiet: "quiet";
|
|
3906
|
+
}>;
|
|
3907
|
+
previous: z.ZodEnum<{
|
|
3908
|
+
active: "active";
|
|
3909
|
+
stalled: "stalled";
|
|
3910
|
+
quiet: "quiet";
|
|
3911
|
+
}>;
|
|
3912
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3913
|
+
idleMs: z.ZodNumber;
|
|
3914
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3915
|
+
kind: z.ZodEnum<{
|
|
3916
|
+
gate: "gate";
|
|
3917
|
+
command: "command";
|
|
3918
|
+
agent: "agent";
|
|
3919
|
+
step: "step";
|
|
3920
|
+
}>;
|
|
3921
|
+
label: z.ZodString;
|
|
3922
|
+
}, z.core.$strict>>;
|
|
3923
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3924
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3925
|
+
report: "report";
|
|
3926
|
+
stop: "stop";
|
|
3927
|
+
}>>;
|
|
3928
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
3929
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
3930
|
+
pid: z.ZodNumber;
|
|
3931
|
+
parentPid: z.ZodNumber;
|
|
3932
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
3933
|
+
command: z.ZodString;
|
|
3934
|
+
}, z.core.$strict>>;
|
|
3935
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3936
|
+
tail: z.ZodString;
|
|
3937
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3938
|
+
}, z.core.$strict>>;
|
|
3380
3939
|
}, z.core.$strict> | z.ZodObject<{
|
|
3381
3940
|
failureKind: z.ZodEnum<{
|
|
3382
3941
|
gate: "gate";
|
|
@@ -3386,6 +3945,7 @@ export declare const cliDataSchemas: {
|
|
|
3386
3945
|
environment: "environment";
|
|
3387
3946
|
timeout: "timeout";
|
|
3388
3947
|
"provider-auth": "provider-auth";
|
|
3948
|
+
stalled: "stalled";
|
|
3389
3949
|
"stale-base": "stale-base";
|
|
3390
3950
|
"empty-result": "empty-result";
|
|
3391
3951
|
unfinished: "unfinished";
|
|
@@ -3398,19 +3958,71 @@ export declare const cliDataSchemas: {
|
|
|
3398
3958
|
message: z.ZodString;
|
|
3399
3959
|
blocked: z.ZodBoolean;
|
|
3400
3960
|
}, z.core.$strict> | z.ZodObject<{
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3961
|
+
failureKind: z.ZodEnum<{
|
|
3962
|
+
gate: "gate";
|
|
3963
|
+
unknown: "unknown";
|
|
3964
|
+
review: "review";
|
|
3965
|
+
cancelled: "cancelled";
|
|
3966
|
+
environment: "environment";
|
|
3967
|
+
timeout: "timeout";
|
|
3968
|
+
"provider-auth": "provider-auth";
|
|
3969
|
+
stalled: "stalled";
|
|
3970
|
+
"stale-base": "stale-base";
|
|
3971
|
+
"empty-result": "empty-result";
|
|
3972
|
+
unfinished: "unfinished";
|
|
3973
|
+
"scope-violation": "scope-violation";
|
|
3974
|
+
"review-protocol": "review-protocol";
|
|
3975
|
+
merge: "merge";
|
|
3976
|
+
budget: "budget";
|
|
3977
|
+
"needs-lead": "needs-lead";
|
|
3978
|
+
}>;
|
|
3979
|
+
cause: z.ZodEnum<{
|
|
3980
|
+
preflight: "preflight";
|
|
3981
|
+
transport: "transport";
|
|
3982
|
+
none: "none";
|
|
3983
|
+
other: "other";
|
|
3984
|
+
"provider-auth": "provider-auth";
|
|
3985
|
+
stalled: "stalled";
|
|
3986
|
+
shutdown: "shutdown";
|
|
3987
|
+
"sandbox-launch": "sandbox-launch";
|
|
3988
|
+
"sandbox-network": "sandbox-network";
|
|
3989
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
3990
|
+
"sandbox-policy": "sandbox-policy";
|
|
3991
|
+
"dependency-network": "dependency-network";
|
|
3992
|
+
"provider-limit": "provider-limit";
|
|
3993
|
+
"lease-expired": "lease-expired";
|
|
3994
|
+
}>;
|
|
3995
|
+
counted: z.ZodBoolean;
|
|
3996
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3997
|
+
leaseUntil: z.ZodNumber;
|
|
3998
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3999
|
+
reason: z.ZodString;
|
|
4000
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
4001
|
+
integrationSha: z.ZodString;
|
|
4002
|
+
accepted: z.ZodBoolean;
|
|
4003
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4004
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
4005
|
+
resultSha: z.ZodString;
|
|
4006
|
+
integrationSha: z.ZodString;
|
|
4007
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
4008
|
+
by: z.ZodEnum<{
|
|
4009
|
+
operator: "operator";
|
|
4010
|
+
recovery: "recovery";
|
|
4011
|
+
host: "host";
|
|
4012
|
+
}>;
|
|
4013
|
+
reset: z.ZodBoolean;
|
|
4014
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
4015
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
4016
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
4017
|
+
by: z.ZodEnum<{
|
|
4018
|
+
operator: "operator";
|
|
4019
|
+
graph: "graph";
|
|
4020
|
+
host: "host";
|
|
4021
|
+
}>;
|
|
4022
|
+
hadAttempt: z.ZodBoolean;
|
|
4023
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
4024
|
+
code: z.ZodString;
|
|
4025
|
+
message: z.ZodString;
|
|
3414
4026
|
}, z.core.$strict> | z.ZodObject<{
|
|
3415
4027
|
reason: z.ZodEnum<{
|
|
3416
4028
|
runtime: "runtime";
|
|
@@ -3427,6 +4039,7 @@ export declare const cliDataSchemas: {
|
|
|
3427
4039
|
environment: "environment";
|
|
3428
4040
|
timeout: "timeout";
|
|
3429
4041
|
"provider-auth": "provider-auth";
|
|
4042
|
+
stalled: "stalled";
|
|
3430
4043
|
"stale-base": "stale-base";
|
|
3431
4044
|
"empty-result": "empty-result";
|
|
3432
4045
|
unfinished: "unfinished";
|
|
@@ -3446,6 +4059,12 @@ export declare const cliDataSchemas: {
|
|
|
3446
4059
|
}>;
|
|
3447
4060
|
}, z.core.$strict> | z.ZodObject<{
|
|
3448
4061
|
owner: z.ZodString;
|
|
4062
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
4063
|
+
by: z.ZodEnum<{
|
|
4064
|
+
operator: "operator";
|
|
4065
|
+
controller: "controller";
|
|
4066
|
+
host: "host";
|
|
4067
|
+
}>;
|
|
3449
4068
|
}, z.core.$strict> | z.ZodObject<{
|
|
3450
4069
|
owner: z.ZodString;
|
|
3451
4070
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -3488,6 +4107,45 @@ export declare const cliDataSchemas: {
|
|
|
3488
4107
|
verificationId: z.ZodString;
|
|
3489
4108
|
workIds: z.ZodArray<z.ZodString>;
|
|
3490
4109
|
policyDigest: z.ZodString;
|
|
4110
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
4111
|
+
state: z.ZodEnum<{
|
|
4112
|
+
active: "active";
|
|
4113
|
+
stalled: "stalled";
|
|
4114
|
+
quiet: "quiet";
|
|
4115
|
+
}>;
|
|
4116
|
+
previous: z.ZodEnum<{
|
|
4117
|
+
active: "active";
|
|
4118
|
+
stalled: "stalled";
|
|
4119
|
+
quiet: "quiet";
|
|
4120
|
+
}>;
|
|
4121
|
+
lastMovementAt: z.ZodISODateTime;
|
|
4122
|
+
idleMs: z.ZodNumber;
|
|
4123
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
4124
|
+
kind: z.ZodEnum<{
|
|
4125
|
+
gate: "gate";
|
|
4126
|
+
command: "command";
|
|
4127
|
+
agent: "agent";
|
|
4128
|
+
step: "step";
|
|
4129
|
+
}>;
|
|
4130
|
+
label: z.ZodString;
|
|
4131
|
+
}, z.core.$strict>>;
|
|
4132
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
4133
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
4134
|
+
report: "report";
|
|
4135
|
+
stop: "stop";
|
|
4136
|
+
}>>;
|
|
4137
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
4138
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
4139
|
+
pid: z.ZodNumber;
|
|
4140
|
+
parentPid: z.ZodNumber;
|
|
4141
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
4142
|
+
command: z.ZodString;
|
|
4143
|
+
}, z.core.$strict>>;
|
|
4144
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
4145
|
+
tail: z.ZodString;
|
|
4146
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
4147
|
+
}, z.core.$strict>>;
|
|
4148
|
+
verificationId: z.ZodString;
|
|
3491
4149
|
}, z.core.$strict> | z.ZodObject<{
|
|
3492
4150
|
verificationId: z.ZodString;
|
|
3493
4151
|
status: z.ZodEnum<{
|
|
@@ -3574,6 +4232,7 @@ export declare const cliDataSchemas: {
|
|
|
3574
4232
|
environment: "environment";
|
|
3575
4233
|
timeout: "timeout";
|
|
3576
4234
|
"provider-auth": "provider-auth";
|
|
4235
|
+
stalled: "stalled";
|
|
3577
4236
|
"stale-base": "stale-base";
|
|
3578
4237
|
"empty-result": "empty-result";
|
|
3579
4238
|
unfinished: "unfinished";
|
|
@@ -3629,6 +4288,7 @@ export declare const cliDataSchemas: {
|
|
|
3629
4288
|
environment: "environment";
|
|
3630
4289
|
timeout: "timeout";
|
|
3631
4290
|
"provider-auth": "provider-auth";
|
|
4291
|
+
stalled: "stalled";
|
|
3632
4292
|
"stale-base": "stale-base";
|
|
3633
4293
|
"empty-result": "empty-result";
|
|
3634
4294
|
unfinished: "unfinished";
|
|
@@ -5007,6 +5667,7 @@ export declare const cliDataSchemas: {
|
|
|
5007
5667
|
environment: "environment";
|
|
5008
5668
|
timeout: "timeout";
|
|
5009
5669
|
"provider-auth": "provider-auth";
|
|
5670
|
+
stalled: "stalled";
|
|
5010
5671
|
"stale-base": "stale-base";
|
|
5011
5672
|
"empty-result": "empty-result";
|
|
5012
5673
|
unfinished: "unfinished";
|
|
@@ -5261,6 +5922,36 @@ export declare const cliDataSchemas: {
|
|
|
5261
5922
|
retries: z.ZodNullable<z.ZodNumber>;
|
|
5262
5923
|
resets: z.ZodNullable<z.ZodNumber>;
|
|
5263
5924
|
baseMoves: z.ZodNullable<z.ZodNumber>;
|
|
5925
|
+
recorded: z.ZodNullable<z.ZodObject<{
|
|
5926
|
+
from: z.ZodISODateTime;
|
|
5927
|
+
bound: z.ZodEnum<{
|
|
5928
|
+
exact: "exact";
|
|
5929
|
+
lower: "lower";
|
|
5930
|
+
}>;
|
|
5931
|
+
retries: z.ZodObject<{
|
|
5932
|
+
operator: z.ZodNumber;
|
|
5933
|
+
recovery: z.ZodNumber;
|
|
5934
|
+
host: z.ZodNumber;
|
|
5935
|
+
}, z.core.$strict>;
|
|
5936
|
+
resets: z.ZodObject<{
|
|
5937
|
+
operator: z.ZodNumber;
|
|
5938
|
+
recovery: z.ZodNumber;
|
|
5939
|
+
host: z.ZodNumber;
|
|
5940
|
+
}, z.core.$strict>;
|
|
5941
|
+
cancellations: z.ZodObject<{
|
|
5942
|
+
operator: z.ZodNumber;
|
|
5943
|
+
graph: z.ZodNumber;
|
|
5944
|
+
host: z.ZodNumber;
|
|
5945
|
+
}, z.core.$strict>;
|
|
5946
|
+
cancelledWithoutAttempt: z.ZodNumber;
|
|
5947
|
+
baseMoves: z.ZodObject<{
|
|
5948
|
+
operator: z.ZodNumber;
|
|
5949
|
+
controller: z.ZodNumber;
|
|
5950
|
+
host: z.ZodNumber;
|
|
5951
|
+
}, z.core.$strict>;
|
|
5952
|
+
baseMovesBound: z.ZodLiteral<"lower">;
|
|
5953
|
+
gaps: z.ZodNumber;
|
|
5954
|
+
}, z.core.$strict>>;
|
|
5264
5955
|
}, z.core.$strict>;
|
|
5265
5956
|
approvals: z.ZodObject<{
|
|
5266
5957
|
operator: z.ZodNumber;
|
|
@@ -5291,6 +5982,7 @@ export declare const cliDataSchemas: {
|
|
|
5291
5982
|
environment: "environment";
|
|
5292
5983
|
timeout: "timeout";
|
|
5293
5984
|
"provider-auth": "provider-auth";
|
|
5985
|
+
stalled: "stalled";
|
|
5294
5986
|
"stale-base": "stale-base";
|
|
5295
5987
|
"empty-result": "empty-result";
|
|
5296
5988
|
unfinished: "unfinished";
|
|
@@ -5498,7 +6190,34 @@ export declare const cliDataSchemas: {
|
|
|
5498
6190
|
}, z.core.$strict>;
|
|
5499
6191
|
setupCheckFailures: z.ZodNumber;
|
|
5500
6192
|
timeLimit: z.ZodNumber;
|
|
5501
|
-
causes: z.
|
|
6193
|
+
causes: z.ZodNullable<z.ZodObject<{
|
|
6194
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
6195
|
+
cause: z.ZodEnum<{
|
|
6196
|
+
preflight: "preflight";
|
|
6197
|
+
transport: "transport";
|
|
6198
|
+
none: "none";
|
|
6199
|
+
other: "other";
|
|
6200
|
+
"provider-auth": "provider-auth";
|
|
6201
|
+
stalled: "stalled";
|
|
6202
|
+
shutdown: "shutdown";
|
|
6203
|
+
"sandbox-launch": "sandbox-launch";
|
|
6204
|
+
"sandbox-network": "sandbox-network";
|
|
6205
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
6206
|
+
"sandbox-policy": "sandbox-policy";
|
|
6207
|
+
"dependency-network": "dependency-network";
|
|
6208
|
+
"provider-limit": "provider-limit";
|
|
6209
|
+
"lease-expired": "lease-expired";
|
|
6210
|
+
}>;
|
|
6211
|
+
count: z.ZodNumber;
|
|
6212
|
+
counted: z.ZodNumber;
|
|
6213
|
+
}, z.core.$strict>>;
|
|
6214
|
+
diagnosed: z.ZodNumber;
|
|
6215
|
+
undiagnosed: z.ZodNumber;
|
|
6216
|
+
bound: z.ZodEnum<{
|
|
6217
|
+
exact: "exact";
|
|
6218
|
+
lower: "lower";
|
|
6219
|
+
}>;
|
|
6220
|
+
}, z.core.$strict>>;
|
|
5502
6221
|
neutral: z.ZodObject<{
|
|
5503
6222
|
costBound: z.ZodEnum<{
|
|
5504
6223
|
exact: "exact";
|
|
@@ -5606,6 +6325,650 @@ export declare const cliDataSchemas: {
|
|
|
5606
6325
|
bytes: z.ZodNumber;
|
|
5607
6326
|
asOf: z.ZodISODateTime;
|
|
5608
6327
|
}, z.core.$strict>]>;
|
|
6328
|
+
readonly handoff: z.ZodObject<{
|
|
6329
|
+
handoffVersion: z.ZodLiteral<1>;
|
|
6330
|
+
at: z.ZodISODateTime;
|
|
6331
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
6332
|
+
limits: z.ZodObject<{
|
|
6333
|
+
maxAttempts: z.ZodNumber;
|
|
6334
|
+
repairBudget: z.ZodNumber;
|
|
6335
|
+
}, z.core.$strict>;
|
|
6336
|
+
summary: z.ZodObject<{
|
|
6337
|
+
works: z.ZodNumber;
|
|
6338
|
+
open: z.ZodNumber;
|
|
6339
|
+
done: z.ZodNumber;
|
|
6340
|
+
cancelled: z.ZodNumber;
|
|
6341
|
+
byStatus: z.ZodArray<z.ZodObject<{
|
|
6342
|
+
status: z.ZodEnum<{
|
|
6343
|
+
ready: "ready";
|
|
6344
|
+
failed: "failed";
|
|
6345
|
+
cancelled: "cancelled";
|
|
6346
|
+
draft: "draft";
|
|
6347
|
+
running: "running";
|
|
6348
|
+
verifying: "verifying";
|
|
6349
|
+
reviewing: "reviewing";
|
|
6350
|
+
integrating: "integrating";
|
|
6351
|
+
done: "done";
|
|
6352
|
+
}>;
|
|
6353
|
+
count: z.ZodNumber;
|
|
6354
|
+
}, z.core.$strict>>;
|
|
6355
|
+
}, z.core.$strict>;
|
|
6356
|
+
queue: z.ZodObject<{
|
|
6357
|
+
paused: z.ZodBoolean;
|
|
6358
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
6359
|
+
runtime: "runtime";
|
|
6360
|
+
operator: "operator";
|
|
6361
|
+
shutdown: "shutdown";
|
|
6362
|
+
"base-check": "base-check";
|
|
6363
|
+
reconfigure: "reconfigure";
|
|
6364
|
+
}>>;
|
|
6365
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6366
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
6367
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
6368
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6369
|
+
gate: "gate";
|
|
6370
|
+
unknown: "unknown";
|
|
6371
|
+
review: "review";
|
|
6372
|
+
cancelled: "cancelled";
|
|
6373
|
+
environment: "environment";
|
|
6374
|
+
timeout: "timeout";
|
|
6375
|
+
"provider-auth": "provider-auth";
|
|
6376
|
+
stalled: "stalled";
|
|
6377
|
+
"stale-base": "stale-base";
|
|
6378
|
+
"empty-result": "empty-result";
|
|
6379
|
+
unfinished: "unfinished";
|
|
6380
|
+
"scope-violation": "scope-violation";
|
|
6381
|
+
"review-protocol": "review-protocol";
|
|
6382
|
+
merge: "merge";
|
|
6383
|
+
budget: "budget";
|
|
6384
|
+
"needs-lead": "needs-lead";
|
|
6385
|
+
}>>>;
|
|
6386
|
+
liftedByRun: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6387
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
6388
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6389
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6390
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6391
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6392
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6393
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6394
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6395
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6396
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6397
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6398
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6399
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6400
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6401
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6402
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6403
|
+
PAUSED: "PAUSED";
|
|
6404
|
+
NOT_READY: "NOT_READY";
|
|
6405
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6406
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6407
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6408
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6409
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6410
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6411
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6412
|
+
CANCELLED: "CANCELLED";
|
|
6413
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6414
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6415
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6416
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6417
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6418
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6419
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6420
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6421
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6422
|
+
INTERNAL: "INTERNAL";
|
|
6423
|
+
}>>;
|
|
6424
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6425
|
+
controller: "controller";
|
|
6426
|
+
lead: "lead";
|
|
6427
|
+
user: "user";
|
|
6428
|
+
}>>>;
|
|
6429
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
6430
|
+
none: "none";
|
|
6431
|
+
wait: "wait";
|
|
6432
|
+
retry: "retry";
|
|
6433
|
+
"review-plan": "review-plan";
|
|
6434
|
+
"diagnose-failure": "diagnose-failure";
|
|
6435
|
+
"reset-attempts": "reset-attempts";
|
|
6436
|
+
"raise-budget": "raise-budget";
|
|
6437
|
+
"replan-dependents": "replan-dependents";
|
|
6438
|
+
"recovery-decision": "recovery-decision";
|
|
6439
|
+
"user-decision": "user-decision";
|
|
6440
|
+
"resume-queue": "resume-queue";
|
|
6441
|
+
"fix-environment": "fix-environment";
|
|
6442
|
+
"fix-access": "fix-access";
|
|
6443
|
+
}>>;
|
|
6444
|
+
}, z.core.$strict>;
|
|
6445
|
+
controller: z.ZodOptional<z.ZodObject<{
|
|
6446
|
+
owner: z.ZodString;
|
|
6447
|
+
until: z.ZodISODateTime;
|
|
6448
|
+
live: z.ZodBoolean;
|
|
6449
|
+
}, z.core.$strict>>;
|
|
6450
|
+
active: z.ZodArray<z.ZodObject<{
|
|
6451
|
+
workId: z.ZodString;
|
|
6452
|
+
title: z.ZodString;
|
|
6453
|
+
runId: z.ZodString;
|
|
6454
|
+
attempt: z.ZodNumber;
|
|
6455
|
+
phase: z.ZodEnum<{
|
|
6456
|
+
ready: "ready";
|
|
6457
|
+
failed: "failed";
|
|
6458
|
+
cancelled: "cancelled";
|
|
6459
|
+
draft: "draft";
|
|
6460
|
+
running: "running";
|
|
6461
|
+
verifying: "verifying";
|
|
6462
|
+
reviewing: "reviewing";
|
|
6463
|
+
integrating: "integrating";
|
|
6464
|
+
done: "done";
|
|
6465
|
+
}>;
|
|
6466
|
+
runtime: z.ZodString;
|
|
6467
|
+
elapsedMs: z.ZodNumber;
|
|
6468
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
6469
|
+
name: z.ZodString;
|
|
6470
|
+
elapsedMs: z.ZodNumber;
|
|
6471
|
+
}, z.core.$strict>>;
|
|
6472
|
+
sinceHeartbeatMs: z.ZodOptional<z.ZodNumber>;
|
|
6473
|
+
leaseUntil: z.ZodISODateTime;
|
|
6474
|
+
stale: z.ZodBoolean;
|
|
6475
|
+
gates: z.ZodObject<{
|
|
6476
|
+
phase: z.ZodEnum<{
|
|
6477
|
+
candidate: "candidate";
|
|
6478
|
+
integration: "integration";
|
|
6479
|
+
}>;
|
|
6480
|
+
required: z.ZodNumber;
|
|
6481
|
+
passed: z.ZodNumber;
|
|
6482
|
+
failed: z.ZodNumber;
|
|
6483
|
+
remaining: z.ZodNumber;
|
|
6484
|
+
}, z.core.$strict>;
|
|
6485
|
+
}, z.core.$strict>>;
|
|
6486
|
+
unfinished: z.ZodArray<z.ZodObject<{
|
|
6487
|
+
runId: z.ZodString;
|
|
6488
|
+
workId: z.ZodString;
|
|
6489
|
+
attempt: z.ZodNumber;
|
|
6490
|
+
phase: z.ZodEnum<{
|
|
6491
|
+
ready: "ready";
|
|
6492
|
+
failed: "failed";
|
|
6493
|
+
cancelled: "cancelled";
|
|
6494
|
+
draft: "draft";
|
|
6495
|
+
running: "running";
|
|
6496
|
+
verifying: "verifying";
|
|
6497
|
+
reviewing: "reviewing";
|
|
6498
|
+
integrating: "integrating";
|
|
6499
|
+
done: "done";
|
|
6500
|
+
}>;
|
|
6501
|
+
startedAt: z.ZodISODateTime;
|
|
6502
|
+
stale: z.ZodBoolean;
|
|
6503
|
+
current: z.ZodBoolean;
|
|
6504
|
+
interrupted: z.ZodOptional<z.ZodLiteral<"shutdown">>;
|
|
6505
|
+
}, z.core.$strict>>;
|
|
6506
|
+
works: z.ZodArray<z.ZodObject<{
|
|
6507
|
+
id: z.ZodString;
|
|
6508
|
+
graphId: z.ZodString;
|
|
6509
|
+
title: z.ZodString;
|
|
6510
|
+
status: z.ZodEnum<{
|
|
6511
|
+
ready: "ready";
|
|
6512
|
+
failed: "failed";
|
|
6513
|
+
cancelled: "cancelled";
|
|
6514
|
+
draft: "draft";
|
|
6515
|
+
running: "running";
|
|
6516
|
+
verifying: "verifying";
|
|
6517
|
+
reviewing: "reviewing";
|
|
6518
|
+
integrating: "integrating";
|
|
6519
|
+
done: "done";
|
|
6520
|
+
}>;
|
|
6521
|
+
attempt: z.ZodNumber;
|
|
6522
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
6523
|
+
gate: "gate";
|
|
6524
|
+
unknown: "unknown";
|
|
6525
|
+
review: "review";
|
|
6526
|
+
cancelled: "cancelled";
|
|
6527
|
+
environment: "environment";
|
|
6528
|
+
timeout: "timeout";
|
|
6529
|
+
"provider-auth": "provider-auth";
|
|
6530
|
+
stalled: "stalled";
|
|
6531
|
+
"stale-base": "stale-base";
|
|
6532
|
+
"empty-result": "empty-result";
|
|
6533
|
+
unfinished: "unfinished";
|
|
6534
|
+
"scope-violation": "scope-violation";
|
|
6535
|
+
"review-protocol": "review-protocol";
|
|
6536
|
+
merge: "merge";
|
|
6537
|
+
budget: "budget";
|
|
6538
|
+
"needs-lead": "needs-lead";
|
|
6539
|
+
}>>;
|
|
6540
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
6541
|
+
hold: z.ZodOptional<z.ZodObject<{
|
|
6542
|
+
operation: z.ZodString;
|
|
6543
|
+
reason: z.ZodString;
|
|
6544
|
+
}, z.core.$strict>>;
|
|
6545
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
6546
|
+
status: z.ZodString;
|
|
6547
|
+
property: z.ZodString;
|
|
6548
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6549
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
6550
|
+
}, z.core.$strict>>;
|
|
6551
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
6552
|
+
code: z.ZodEnum<{
|
|
6553
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6554
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6555
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6556
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6557
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6558
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6559
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6560
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6561
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6562
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6563
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6564
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6565
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6566
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6567
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6568
|
+
PAUSED: "PAUSED";
|
|
6569
|
+
NOT_READY: "NOT_READY";
|
|
6570
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6571
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6572
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6573
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6574
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6575
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6576
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6577
|
+
CANCELLED: "CANCELLED";
|
|
6578
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6579
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6580
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6581
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6582
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6583
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6584
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6585
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6586
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6587
|
+
INTERNAL: "INTERNAL";
|
|
6588
|
+
}>;
|
|
6589
|
+
message: z.ZodString;
|
|
6590
|
+
}, z.core.$strict>>;
|
|
6591
|
+
blockersTruncated: z.ZodOptional<z.ZodNumber>;
|
|
6592
|
+
next: z.ZodObject<{
|
|
6593
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
6594
|
+
controller: "controller";
|
|
6595
|
+
lead: "lead";
|
|
6596
|
+
user: "user";
|
|
6597
|
+
}>>;
|
|
6598
|
+
action: z.ZodEnum<{
|
|
6599
|
+
none: "none";
|
|
6600
|
+
wait: "wait";
|
|
6601
|
+
retry: "retry";
|
|
6602
|
+
"review-plan": "review-plan";
|
|
6603
|
+
"diagnose-failure": "diagnose-failure";
|
|
6604
|
+
"reset-attempts": "reset-attempts";
|
|
6605
|
+
"raise-budget": "raise-budget";
|
|
6606
|
+
"replan-dependents": "replan-dependents";
|
|
6607
|
+
"recovery-decision": "recovery-decision";
|
|
6608
|
+
"user-decision": "user-decision";
|
|
6609
|
+
"resume-queue": "resume-queue";
|
|
6610
|
+
"fix-environment": "fix-environment";
|
|
6611
|
+
"fix-access": "fix-access";
|
|
6612
|
+
}>;
|
|
6613
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
6614
|
+
accepted: "accepted";
|
|
6615
|
+
cancelled: "cancelled";
|
|
6616
|
+
"recovery-awaiting-lead": "recovery-awaiting-lead";
|
|
6617
|
+
"recovery-analyzing": "recovery-analyzing";
|
|
6618
|
+
"recovery-applying": "recovery-applying";
|
|
6619
|
+
"recovery-retry-allowed": "recovery-retry-allowed";
|
|
6620
|
+
"recovery-retrying": "recovery-retrying";
|
|
6621
|
+
"recovery-awaiting-user": "recovery-awaiting-user";
|
|
6622
|
+
"recovery-stopped": "recovery-stopped";
|
|
6623
|
+
"corpus-adoption": "corpus-adoption";
|
|
6624
|
+
held: "held";
|
|
6625
|
+
"plan-review": "plan-review";
|
|
6626
|
+
"attempt-running": "attempt-running";
|
|
6627
|
+
"retry-within-budget": "retry-within-budget";
|
|
6628
|
+
"attempts-exhausted": "attempts-exhausted";
|
|
6629
|
+
"awaiting-claim": "awaiting-claim";
|
|
6630
|
+
}>>;
|
|
6631
|
+
property: z.ZodOptional<z.ZodString>;
|
|
6632
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6633
|
+
command: z.ZodOptional<z.ZodEnum<{
|
|
6634
|
+
"harness run": "harness run";
|
|
6635
|
+
"harness resume": "harness resume";
|
|
6636
|
+
}>>;
|
|
6637
|
+
}, z.core.$strict>;
|
|
6638
|
+
}, z.core.$strict>>;
|
|
6639
|
+
stops: z.ZodArray<z.ZodObject<{
|
|
6640
|
+
code: z.ZodEnum<{
|
|
6641
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6642
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6643
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6644
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6645
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6646
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6647
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6648
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6649
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6650
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6651
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6652
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6653
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6654
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6655
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6656
|
+
PAUSED: "PAUSED";
|
|
6657
|
+
NOT_READY: "NOT_READY";
|
|
6658
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6659
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6660
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6661
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6662
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6663
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6664
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6665
|
+
CANCELLED: "CANCELLED";
|
|
6666
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6667
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6668
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6669
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6670
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6671
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6672
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6673
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6674
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6675
|
+
INTERNAL: "INTERNAL";
|
|
6676
|
+
}>;
|
|
6677
|
+
cause: z.ZodEnum<{
|
|
6678
|
+
gate: "gate";
|
|
6679
|
+
unknown: "unknown";
|
|
6680
|
+
review: "review";
|
|
6681
|
+
cancelled: "cancelled";
|
|
6682
|
+
environment: "environment";
|
|
6683
|
+
timeout: "timeout";
|
|
6684
|
+
"provider-auth": "provider-auth";
|
|
6685
|
+
stalled: "stalled";
|
|
6686
|
+
"stale-base": "stale-base";
|
|
6687
|
+
"empty-result": "empty-result";
|
|
6688
|
+
unfinished: "unfinished";
|
|
6689
|
+
"scope-violation": "scope-violation";
|
|
6690
|
+
"review-protocol": "review-protocol";
|
|
6691
|
+
merge: "merge";
|
|
6692
|
+
budget: "budget";
|
|
6693
|
+
"needs-lead": "needs-lead";
|
|
6694
|
+
"runtime-missing": "runtime-missing";
|
|
6695
|
+
"controller-busy": "controller-busy";
|
|
6696
|
+
"operator-pause": "operator-pause";
|
|
6697
|
+
"approval-required": "approval-required";
|
|
6698
|
+
"not-ready": "not-ready";
|
|
6699
|
+
}>;
|
|
6700
|
+
phase: z.ZodEnum<{
|
|
6701
|
+
gates: "gates";
|
|
6702
|
+
preflight: "preflight";
|
|
6703
|
+
review: "review";
|
|
6704
|
+
integration: "integration";
|
|
6705
|
+
delivery: "delivery";
|
|
6706
|
+
claim: "claim";
|
|
6707
|
+
implementation: "implementation";
|
|
6708
|
+
}>;
|
|
6709
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
6710
|
+
controller: "controller";
|
|
6711
|
+
lead: "lead";
|
|
6712
|
+
user: "user";
|
|
6713
|
+
}>>;
|
|
6714
|
+
action: z.ZodEnum<{
|
|
6715
|
+
none: "none";
|
|
6716
|
+
wait: "wait";
|
|
6717
|
+
retry: "retry";
|
|
6718
|
+
"review-plan": "review-plan";
|
|
6719
|
+
"diagnose-failure": "diagnose-failure";
|
|
6720
|
+
"reset-attempts": "reset-attempts";
|
|
6721
|
+
"raise-budget": "raise-budget";
|
|
6722
|
+
"replan-dependents": "replan-dependents";
|
|
6723
|
+
"recovery-decision": "recovery-decision";
|
|
6724
|
+
"user-decision": "user-decision";
|
|
6725
|
+
"resume-queue": "resume-queue";
|
|
6726
|
+
"fix-environment": "fix-environment";
|
|
6727
|
+
"fix-access": "fix-access";
|
|
6728
|
+
}>;
|
|
6729
|
+
retryPlanned: z.ZodBoolean;
|
|
6730
|
+
message: z.ZodString;
|
|
6731
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
6732
|
+
kind: z.ZodEnum<{
|
|
6733
|
+
attempt: "attempt";
|
|
6734
|
+
evidence: "evidence";
|
|
6735
|
+
event: "event";
|
|
6736
|
+
doctor: "doctor";
|
|
6737
|
+
}>;
|
|
6738
|
+
id: z.ZodString;
|
|
6739
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
6740
|
+
}, z.core.$strict>>;
|
|
6741
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
6742
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
6743
|
+
queue: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6744
|
+
works: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6745
|
+
worksCount: z.ZodOptional<z.ZodNumber>;
|
|
6746
|
+
}, z.core.$strict>>;
|
|
6747
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
6748
|
+
runId: z.ZodString;
|
|
6749
|
+
workId: z.ZodString;
|
|
6750
|
+
workStatus: z.ZodOptional<z.ZodEnum<{
|
|
6751
|
+
ready: "ready";
|
|
6752
|
+
failed: "failed";
|
|
6753
|
+
cancelled: "cancelled";
|
|
6754
|
+
draft: "draft";
|
|
6755
|
+
running: "running";
|
|
6756
|
+
verifying: "verifying";
|
|
6757
|
+
reviewing: "reviewing";
|
|
6758
|
+
integrating: "integrating";
|
|
6759
|
+
done: "done";
|
|
6760
|
+
}>>;
|
|
6761
|
+
attempt: z.ZodNumber;
|
|
6762
|
+
status: z.ZodEnum<{
|
|
6763
|
+
failed: "failed";
|
|
6764
|
+
expired: "expired";
|
|
6765
|
+
}>;
|
|
6766
|
+
phase: z.ZodEnum<{
|
|
6767
|
+
ready: "ready";
|
|
6768
|
+
failed: "failed";
|
|
6769
|
+
cancelled: "cancelled";
|
|
6770
|
+
draft: "draft";
|
|
6771
|
+
running: "running";
|
|
6772
|
+
verifying: "verifying";
|
|
6773
|
+
reviewing: "reviewing";
|
|
6774
|
+
integrating: "integrating";
|
|
6775
|
+
done: "done";
|
|
6776
|
+
}>;
|
|
6777
|
+
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6778
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
6779
|
+
gate: "gate";
|
|
6780
|
+
unknown: "unknown";
|
|
6781
|
+
review: "review";
|
|
6782
|
+
cancelled: "cancelled";
|
|
6783
|
+
environment: "environment";
|
|
6784
|
+
timeout: "timeout";
|
|
6785
|
+
"provider-auth": "provider-auth";
|
|
6786
|
+
stalled: "stalled";
|
|
6787
|
+
"stale-base": "stale-base";
|
|
6788
|
+
"empty-result": "empty-result";
|
|
6789
|
+
unfinished: "unfinished";
|
|
6790
|
+
"scope-violation": "scope-violation";
|
|
6791
|
+
"review-protocol": "review-protocol";
|
|
6792
|
+
merge: "merge";
|
|
6793
|
+
budget: "budget";
|
|
6794
|
+
"needs-lead": "needs-lead";
|
|
6795
|
+
}>>;
|
|
6796
|
+
code: z.ZodEnum<{
|
|
6797
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6798
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6799
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6800
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6801
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6802
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6803
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6804
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6805
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6806
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6807
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6808
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6809
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6810
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6811
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6812
|
+
PAUSED: "PAUSED";
|
|
6813
|
+
NOT_READY: "NOT_READY";
|
|
6814
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6815
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6816
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6817
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6818
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6819
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6820
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6821
|
+
CANCELLED: "CANCELLED";
|
|
6822
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6823
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6824
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6825
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6826
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6827
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6828
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6829
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6830
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6831
|
+
INTERNAL: "INTERNAL";
|
|
6832
|
+
}>;
|
|
6833
|
+
error: z.ZodOptional<z.ZodString>;
|
|
6834
|
+
}, z.core.$strict>>;
|
|
6835
|
+
budgets: z.ZodOptional<z.ZodObject<{
|
|
6836
|
+
onUnknown: z.ZodEnum<{
|
|
6837
|
+
continue: "continue";
|
|
6838
|
+
stop: "stop";
|
|
6839
|
+
}>;
|
|
6840
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
6841
|
+
scope: z.ZodEnum<{
|
|
6842
|
+
work: "work";
|
|
6843
|
+
group: "group";
|
|
6844
|
+
total: "total";
|
|
6845
|
+
}>;
|
|
6846
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6847
|
+
state: z.ZodEnum<{
|
|
6848
|
+
exceeded: "exceeded";
|
|
6849
|
+
undetermined: "undetermined";
|
|
6850
|
+
within: "within";
|
|
6851
|
+
}>;
|
|
6852
|
+
limitUsd: z.ZodOptional<z.ZodNumber>;
|
|
6853
|
+
limitMs: z.ZodOptional<z.ZodNumber>;
|
|
6854
|
+
reportedUsd: z.ZodNumber;
|
|
6855
|
+
estimatedUsd: z.ZodNumber;
|
|
6856
|
+
complete: z.ZodBoolean;
|
|
6857
|
+
unknownCalls: z.ZodNumber;
|
|
6858
|
+
unfinishedCalls: z.ZodNumber;
|
|
6859
|
+
abandonedCalls: z.ZodNumber;
|
|
6860
|
+
uncoveredRuns: z.ZodNumber;
|
|
6861
|
+
durationMs: z.ZodNumber;
|
|
6862
|
+
remainingUsd: z.ZodNullable<z.ZodNumber>;
|
|
6863
|
+
remainingMs: z.ZodNullable<z.ZodNumber>;
|
|
6864
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6865
|
+
}, z.core.$strict>>;
|
|
6866
|
+
}, z.core.$strict>>;
|
|
6867
|
+
repairs: z.ZodArray<z.ZodObject<{
|
|
6868
|
+
graphId: z.ZodString;
|
|
6869
|
+
status: z.ZodString;
|
|
6870
|
+
used: z.ZodNumber;
|
|
6871
|
+
budget: z.ZodNumber;
|
|
6872
|
+
}, z.core.$strict>>;
|
|
6873
|
+
next: z.ZodObject<{
|
|
6874
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
6875
|
+
controller: "controller";
|
|
6876
|
+
lead: "lead";
|
|
6877
|
+
user: "user";
|
|
6878
|
+
}>>;
|
|
6879
|
+
action: z.ZodEnum<{
|
|
6880
|
+
none: "none";
|
|
6881
|
+
wait: "wait";
|
|
6882
|
+
retry: "retry";
|
|
6883
|
+
"review-plan": "review-plan";
|
|
6884
|
+
"diagnose-failure": "diagnose-failure";
|
|
6885
|
+
"reset-attempts": "reset-attempts";
|
|
6886
|
+
"raise-budget": "raise-budget";
|
|
6887
|
+
"replan-dependents": "replan-dependents";
|
|
6888
|
+
"recovery-decision": "recovery-decision";
|
|
6889
|
+
"user-decision": "user-decision";
|
|
6890
|
+
"resume-queue": "resume-queue";
|
|
6891
|
+
"fix-environment": "fix-environment";
|
|
6892
|
+
"fix-access": "fix-access";
|
|
6893
|
+
}>;
|
|
6894
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
6895
|
+
accepted: "accepted";
|
|
6896
|
+
cancelled: "cancelled";
|
|
6897
|
+
"recovery-awaiting-lead": "recovery-awaiting-lead";
|
|
6898
|
+
"recovery-analyzing": "recovery-analyzing";
|
|
6899
|
+
"recovery-applying": "recovery-applying";
|
|
6900
|
+
"recovery-retry-allowed": "recovery-retry-allowed";
|
|
6901
|
+
"recovery-retrying": "recovery-retrying";
|
|
6902
|
+
"recovery-awaiting-user": "recovery-awaiting-user";
|
|
6903
|
+
"recovery-stopped": "recovery-stopped";
|
|
6904
|
+
"corpus-adoption": "corpus-adoption";
|
|
6905
|
+
held: "held";
|
|
6906
|
+
"plan-review": "plan-review";
|
|
6907
|
+
"attempt-running": "attempt-running";
|
|
6908
|
+
"retry-within-budget": "retry-within-budget";
|
|
6909
|
+
"attempts-exhausted": "attempts-exhausted";
|
|
6910
|
+
"awaiting-claim": "awaiting-claim";
|
|
6911
|
+
}>>;
|
|
6912
|
+
property: z.ZodOptional<z.ZodString>;
|
|
6913
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6914
|
+
command: z.ZodOptional<z.ZodEnum<{
|
|
6915
|
+
"harness run": "harness run";
|
|
6916
|
+
"harness resume": "harness resume";
|
|
6917
|
+
}>>;
|
|
6918
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
6919
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
6920
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6921
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6922
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6923
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6924
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6925
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6926
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6927
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6928
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6929
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6930
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6931
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6932
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6933
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6934
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6935
|
+
PAUSED: "PAUSED";
|
|
6936
|
+
NOT_READY: "NOT_READY";
|
|
6937
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6938
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6939
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6940
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6941
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6942
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6943
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6944
|
+
CANCELLED: "CANCELLED";
|
|
6945
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6946
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6947
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6948
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6949
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6950
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6951
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6952
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6953
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6954
|
+
INTERNAL: "INTERNAL";
|
|
6955
|
+
}>>;
|
|
6956
|
+
}, z.core.$strict>;
|
|
6957
|
+
intentions: z.ZodArray<z.ZodString>;
|
|
6958
|
+
truncated: z.ZodObject<{
|
|
6959
|
+
works: z.ZodNumber;
|
|
6960
|
+
stops: z.ZodNumber;
|
|
6961
|
+
failures: z.ZodNumber;
|
|
6962
|
+
unfinished: z.ZodNumber;
|
|
6963
|
+
budgets: z.ZodNumber;
|
|
6964
|
+
budgetsWithin: z.ZodNumber;
|
|
6965
|
+
budgetsShared: z.ZodDefault<z.ZodNumber>;
|
|
6966
|
+
repairs: z.ZodNumber;
|
|
6967
|
+
intentions: z.ZodNumber;
|
|
6968
|
+
intentionsDropped: z.ZodNumber;
|
|
6969
|
+
bySize: z.ZodBoolean;
|
|
6970
|
+
}, z.core.$strict>;
|
|
6971
|
+
}, z.core.$strict>;
|
|
5609
6972
|
readonly 'plan-request': z.ZodObject<{
|
|
5610
6973
|
prompt: z.ZodString;
|
|
5611
6974
|
readOnly: z.ZodLiteral<true>;
|