@claudexor/schema 3.19.0 → 3.22.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/dist/agent-capabilities.d.ts +1 -1
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +1 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/continuation-admission.d.ts +41 -0
- package/dist/continuation-admission.d.ts.map +1 -0
- package/dist/continuation-admission.js +136 -0
- package/dist/continuation-admission.js.map +1 -0
- package/dist/control-gc.d.ts +9 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +12 -0
- package/dist/control-gc.js.map +1 -1
- package/dist/control-operation-responses.d.ts +415 -9
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +2 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +891 -25
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +36 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +1 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-thread-requests.d.ts +101 -0
- package/dist/control-thread-requests.d.ts.map +1 -0
- package/dist/control-thread-requests.js +52 -0
- package/dist/control-thread-requests.js.map +1 -0
- package/dist/control.d.ts +377 -106
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +26 -45
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +172 -14
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +4 -1
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +3 -2
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +12 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/effort.d.ts +33 -12
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +43 -13
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +7 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +11 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-input.d.ts +20 -2
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +17 -6
- package/dist/harness-input.js.map +1 -1
- package/dist/harness.d.ts +57 -20
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -5
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +253 -14
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +38 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/quota.d.ts +507 -12
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +111 -15
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +0 -1
- package/dist/raw.js.map +1 -1
- package/dist/run-continuation.d.ts +166 -0
- package/dist/run-continuation.d.ts.map +1 -0
- package/dist/run-continuation.js +65 -0
- package/dist/run-continuation.js.map +1 -0
- package/dist/run-continuity.d.ts +215 -0
- package/dist/run-continuity.d.ts.map +1 -0
- package/dist/run-continuity.js +170 -0
- package/dist/run-continuity.js.map +1 -0
- package/dist/run-facts.d.ts +7 -0
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/setup-login.d.ts +35 -0
- package/dist/setup-login.d.ts.map +1 -1
- package/dist/setup-login.js +10 -0
- package/dist/setup-login.js.map +1 -1
- package/dist/status-projection.d.ts +8 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +22 -1
- package/dist/status-projection.js.map +1 -1
- package/dist/telemetry.d.ts +109 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +4 -0
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +10 -1
- package/dist/thread.js.map +1 -1
- package/dist/work-report.d.ts +18 -4
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +26 -5
- package/dist/work-report.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +29 -7
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +29 -7
- package/generated/ControlGcReceipt.schema.json +14 -0
- package/generated/ControlGcRequest.schema.json +4 -0
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
- package/generated/ControlQuotaResponse.schema.json +28 -6
- package/generated/ControlRetainedEnvelope.schema.json +63 -0
- package/generated/ControlRunAgainDraft.schema.json +16 -0
- package/generated/ControlRunDetail.schema.json +503 -54
- package/generated/ControlRunListResponse.schema.json +503 -54
- package/generated/ControlRunStartRequest.schema.json +16 -0
- package/generated/ControlRunSummary.schema.json +503 -54
- package/generated/ControlSettingsSnapshot.schema.json +1 -1
- package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
- package/generated/ControlThread.schema.json +16 -1
- package/generated/ControlThreadCreateRequest.schema.json +6 -0
- package/generated/ControlThreadDetail.schema.json +30 -2
- package/generated/ControlThreadListResponse.schema.json +16 -1
- package/generated/ControlThreadTurnRequest.schema.json +4 -0
- package/generated/ControlThreadUpdateRequest.schema.json +15 -1
- package/generated/DecisionRecord.schema.json +14 -1
- package/generated/EnvelopeCustody.schema.json +195 -0
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +114 -56
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +214 -54
- package/generated/McpRunToolResult.schema.json +119 -54
- package/generated/RunContinuityReceipt.schema.json +182 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +14 -1
- package/generated/RunFailure.schema.json +105 -53
- package/generated/RunResumable.schema.json +153 -0
- package/generated/RunTelemetry.schema.json +118 -54
- package/generated/SessionCapsule.schema.json +78 -0
- package/generated/TaskContract.schema.json +1 -1
- package/generated/Thread.schema.json +16 -1
- package/package.json +2 -2
package/dist/control.d.ts
CHANGED
|
@@ -119,9 +119,6 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
119
119
|
* startup-frozen Council cap. Legal only on mode=plan (and `n` on a plan
|
|
120
120
|
* run is legal ONLY with council). */
|
|
121
121
|
council: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
-
/** Best-of-N synthesis policy. `auto` (default) only synthesizes a 3rd
|
|
123
|
-
* candidate when n>=3 and candidates genuinely complement; `always`/`never`
|
|
124
|
-
* force it. Threaded to the orchestrator's decideSynthesis. */
|
|
125
122
|
synthesis: z.ZodOptional<z.ZodEnum<["auto", "always", "never"]>>;
|
|
126
123
|
paidBudget: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
127
124
|
kind: z.ZodLiteral<"unlimited">;
|
|
@@ -183,6 +180,9 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
183
180
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
184
181
|
delegatedFromRunId: z.ZodOptional<z.ZodString>;
|
|
185
182
|
retryOf: z.ZodOptional<z.ZodString>;
|
|
183
|
+
continueFrom: z.ZodOptional<z.ZodString>;
|
|
184
|
+
continueCarrier: z.ZodOptional<z.ZodEnum<["auto", "packet"]>>;
|
|
185
|
+
continueModelInherited: z.ZodOptional<z.ZodBoolean>;
|
|
186
186
|
/** When set, this turn implements an approved plan (mode is forced to
|
|
187
187
|
* agent); the plan is DELIVERED AS A FILE (planRef), never re-embedded
|
|
188
188
|
* into the prompt text. */
|
|
@@ -334,6 +334,9 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
334
334
|
parentRunId?: string | undefined;
|
|
335
335
|
delegatedFromRunId?: string | undefined;
|
|
336
336
|
retryOf?: string | undefined;
|
|
337
|
+
continueFrom?: string | undefined;
|
|
338
|
+
continueCarrier?: "auto" | "packet" | undefined;
|
|
339
|
+
continueModelInherited?: boolean | undefined;
|
|
337
340
|
planRunId?: string | undefined;
|
|
338
341
|
planRef?: {
|
|
339
342
|
runId: string;
|
|
@@ -419,6 +422,9 @@ export declare const ControlRunStartRequest: z.ZodObject<{
|
|
|
419
422
|
parentRunId?: string | undefined;
|
|
420
423
|
delegatedFromRunId?: string | undefined;
|
|
421
424
|
retryOf?: string | undefined;
|
|
425
|
+
continueFrom?: string | undefined;
|
|
426
|
+
continueCarrier?: "auto" | "packet" | undefined;
|
|
427
|
+
continueModelInherited?: boolean | undefined;
|
|
422
428
|
planRunId?: string | undefined;
|
|
423
429
|
planRef?: {
|
|
424
430
|
runId: string;
|
|
@@ -563,6 +569,9 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
|
|
|
563
569
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
564
570
|
delegatedFromRunId: z.ZodOptional<z.ZodString>;
|
|
565
571
|
retryOf: z.ZodOptional<z.ZodString>;
|
|
572
|
+
continueFrom: z.ZodOptional<z.ZodString>;
|
|
573
|
+
continueCarrier: z.ZodOptional<z.ZodEnum<["auto", "packet"]>>;
|
|
574
|
+
continueModelInherited: z.ZodOptional<z.ZodBoolean>;
|
|
566
575
|
planRunId: z.ZodOptional<z.ZodString>;
|
|
567
576
|
planRef: z.ZodOptional<z.ZodObject<{
|
|
568
577
|
runId: z.ZodString;
|
|
@@ -673,6 +682,9 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
|
|
|
673
682
|
parentRunId?: string | undefined;
|
|
674
683
|
delegatedFromRunId?: string | undefined;
|
|
675
684
|
retryOf?: string | undefined;
|
|
685
|
+
continueFrom?: string | undefined;
|
|
686
|
+
continueCarrier?: "auto" | "packet" | undefined;
|
|
687
|
+
continueModelInherited?: boolean | undefined;
|
|
676
688
|
planRunId?: string | undefined;
|
|
677
689
|
planRef?: {
|
|
678
690
|
runId: string;
|
|
@@ -758,6 +770,9 @@ export declare const RecordedControlRunStartRequest: z.ZodObject<{
|
|
|
758
770
|
parentRunId?: string | undefined;
|
|
759
771
|
delegatedFromRunId?: string | undefined;
|
|
760
772
|
retryOf?: string | undefined;
|
|
773
|
+
continueFrom?: string | undefined;
|
|
774
|
+
continueCarrier?: "auto" | "packet" | undefined;
|
|
775
|
+
continueModelInherited?: boolean | undefined;
|
|
761
776
|
planRunId?: string | undefined;
|
|
762
777
|
planRef?: {
|
|
763
778
|
runId: string;
|
|
@@ -912,9 +927,6 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
912
927
|
* startup-frozen Council cap. Legal only on mode=plan (and `n` on a plan
|
|
913
928
|
* run is legal ONLY with council). */
|
|
914
929
|
council: z.ZodOptional<z.ZodBoolean>;
|
|
915
|
-
/** Best-of-N synthesis policy. `auto` (default) only synthesizes a 3rd
|
|
916
|
-
* candidate when n>=3 and candidates genuinely complement; `always`/`never`
|
|
917
|
-
* force it. Threaded to the orchestrator's decideSynthesis. */
|
|
918
930
|
synthesis: z.ZodOptional<z.ZodEnum<["auto", "always", "never"]>>;
|
|
919
931
|
paidBudget: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
920
932
|
kind: z.ZodLiteral<"unlimited">;
|
|
@@ -976,6 +988,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
976
988
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
977
989
|
delegatedFromRunId: z.ZodOptional<z.ZodString>;
|
|
978
990
|
retryOf: z.ZodOptional<z.ZodString>;
|
|
991
|
+
continueFrom: z.ZodOptional<z.ZodString>;
|
|
992
|
+
continueCarrier: z.ZodOptional<z.ZodEnum<["auto", "packet"]>>;
|
|
993
|
+
continueModelInherited: z.ZodOptional<z.ZodBoolean>;
|
|
979
994
|
/** When set, this turn implements an approved plan (mode is forced to
|
|
980
995
|
* agent); the plan is DELIVERED AS A FILE (planRef), never re-embedded
|
|
981
996
|
* into the prompt text. */
|
|
@@ -1127,6 +1142,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1127
1142
|
parentRunId?: string | undefined;
|
|
1128
1143
|
delegatedFromRunId?: string | undefined;
|
|
1129
1144
|
retryOf?: string | undefined;
|
|
1145
|
+
continueFrom?: string | undefined;
|
|
1146
|
+
continueCarrier?: "auto" | "packet" | undefined;
|
|
1147
|
+
continueModelInherited?: boolean | undefined;
|
|
1130
1148
|
planRunId?: string | undefined;
|
|
1131
1149
|
planRef?: {
|
|
1132
1150
|
runId: string;
|
|
@@ -1212,6 +1230,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1212
1230
|
parentRunId?: string | undefined;
|
|
1213
1231
|
delegatedFromRunId?: string | undefined;
|
|
1214
1232
|
retryOf?: string | undefined;
|
|
1233
|
+
continueFrom?: string | undefined;
|
|
1234
|
+
continueCarrier?: "auto" | "packet" | undefined;
|
|
1235
|
+
continueModelInherited?: boolean | undefined;
|
|
1215
1236
|
planRunId?: string | undefined;
|
|
1216
1237
|
planRef?: {
|
|
1217
1238
|
runId: string;
|
|
@@ -1320,6 +1341,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1320
1341
|
parentRunId?: string | undefined;
|
|
1321
1342
|
delegatedFromRunId?: string | undefined;
|
|
1322
1343
|
retryOf?: string | undefined;
|
|
1344
|
+
continueFrom?: string | undefined;
|
|
1345
|
+
continueCarrier?: "auto" | "packet" | undefined;
|
|
1346
|
+
continueModelInherited?: boolean | undefined;
|
|
1323
1347
|
planRunId?: string | undefined;
|
|
1324
1348
|
planRef?: {
|
|
1325
1349
|
runId: string;
|
|
@@ -1416,6 +1440,9 @@ export declare const ControlRunAgainDraft: z.ZodObject<{
|
|
|
1416
1440
|
parentRunId?: string | undefined;
|
|
1417
1441
|
delegatedFromRunId?: string | undefined;
|
|
1418
1442
|
retryOf?: string | undefined;
|
|
1443
|
+
continueFrom?: string | undefined;
|
|
1444
|
+
continueCarrier?: "auto" | "packet" | undefined;
|
|
1445
|
+
continueModelInherited?: boolean | undefined;
|
|
1419
1446
|
planRunId?: string | undefined;
|
|
1420
1447
|
planRef?: {
|
|
1421
1448
|
runId: string;
|
|
@@ -1676,12 +1703,168 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1676
1703
|
reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
|
|
1677
1704
|
remediation?: string | null | undefined;
|
|
1678
1705
|
}>>>;
|
|
1706
|
+
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1707
|
+
resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1708
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1709
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
1710
|
+
limitWindow: z.ZodNullable<z.ZodString>;
|
|
1711
|
+
limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
|
|
1712
|
+
carriers: z.ZodArray<z.ZodEnum<["native", "native_moved", "packet"]>, "many">;
|
|
1713
|
+
limitCode: z.ZodNullable<z.ZodString>;
|
|
1714
|
+
session: z.ZodNullable<z.ZodObject<{
|
|
1715
|
+
harness: z.ZodString;
|
|
1716
|
+
nativeSessionId: z.ZodString;
|
|
1717
|
+
holderProfileId: z.ZodNullable<z.ZodString>;
|
|
1718
|
+
}, "strip", z.ZodTypeAny, {
|
|
1719
|
+
harness: string;
|
|
1720
|
+
nativeSessionId: string;
|
|
1721
|
+
holderProfileId: string | null;
|
|
1722
|
+
}, {
|
|
1723
|
+
harness: string;
|
|
1724
|
+
nativeSessionId: string;
|
|
1725
|
+
holderProfileId: string | null;
|
|
1726
|
+
}>>;
|
|
1727
|
+
workspace: z.ZodObject<{
|
|
1728
|
+
kind: z.ZodEnum<["in_place", "retained_envelope", "none"]>;
|
|
1729
|
+
root: z.ZodNullable<z.ZodString>;
|
|
1730
|
+
}, "strip", z.ZodTypeAny, {
|
|
1731
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
1732
|
+
root: string | null;
|
|
1733
|
+
}, {
|
|
1734
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
1735
|
+
root: string | null;
|
|
1736
|
+
}>;
|
|
1737
|
+
}, "strict", z.ZodTypeAny, {
|
|
1738
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1739
|
+
resetsAt: string | null;
|
|
1740
|
+
limitWindow: string | null;
|
|
1741
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
1742
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
1743
|
+
limitCode: string | null;
|
|
1744
|
+
session: {
|
|
1745
|
+
harness: string;
|
|
1746
|
+
nativeSessionId: string;
|
|
1747
|
+
holderProfileId: string | null;
|
|
1748
|
+
} | null;
|
|
1749
|
+
workspace: {
|
|
1750
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
1751
|
+
root: string | null;
|
|
1752
|
+
};
|
|
1753
|
+
}, {
|
|
1754
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1755
|
+
resetsAt: string | null;
|
|
1756
|
+
limitWindow: string | null;
|
|
1757
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
1758
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
1759
|
+
limitCode: string | null;
|
|
1760
|
+
session: {
|
|
1761
|
+
harness: string;
|
|
1762
|
+
nativeSessionId: string;
|
|
1763
|
+
holderProfileId: string | null;
|
|
1764
|
+
} | null;
|
|
1765
|
+
workspace: {
|
|
1766
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
1767
|
+
root: string | null;
|
|
1768
|
+
};
|
|
1769
|
+
}>>>;
|
|
1770
|
+
continuity: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1771
|
+
tryIndex: z.ZodNumber;
|
|
1772
|
+
attemptId: z.ZodString;
|
|
1773
|
+
carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
|
|
1774
|
+
cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
|
|
1775
|
+
from: z.ZodObject<{
|
|
1776
|
+
runId: z.ZodString;
|
|
1777
|
+
attemptId: z.ZodString;
|
|
1778
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
1779
|
+
}, "strip", z.ZodTypeAny, {
|
|
1780
|
+
runId: string;
|
|
1781
|
+
attemptId: string;
|
|
1782
|
+
profileId: string | null;
|
|
1783
|
+
}, {
|
|
1784
|
+
runId: string;
|
|
1785
|
+
attemptId: string;
|
|
1786
|
+
profileId: string | null;
|
|
1787
|
+
}>;
|
|
1788
|
+
to: z.ZodObject<{
|
|
1789
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
1790
|
+
}, "strip", z.ZodTypeAny, {
|
|
1791
|
+
profileId: string | null;
|
|
1792
|
+
}, {
|
|
1793
|
+
profileId: string | null;
|
|
1794
|
+
}>;
|
|
1795
|
+
workspace: z.ZodEnum<["same_root", "different_root"]>;
|
|
1796
|
+
memory: z.ZodEnum<["full", "partial", "unknown"]>;
|
|
1797
|
+
instructions: z.ZodEnum<["as_sent", "vendor_snapshot"]>;
|
|
1798
|
+
reingestedTokens: z.ZodNullable<z.ZodNumber>;
|
|
1799
|
+
observedModel: z.ZodNullable<z.ZodString>;
|
|
1800
|
+
modelMismatch: z.ZodNullable<z.ZodBoolean>;
|
|
1801
|
+
identityCheck: z.ZodEnum<["matched_before_effects", "mismatch_before_effects", "mismatch_after_possible_effects", "not_applicable"]>;
|
|
1802
|
+
inputDelivery: z.ZodEnum<["confirmed", "uncertain", "not_applicable"]>;
|
|
1803
|
+
}, "strict", z.ZodTypeAny, {
|
|
1804
|
+
tryIndex: number;
|
|
1805
|
+
attemptId: string;
|
|
1806
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1807
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1808
|
+
from: {
|
|
1809
|
+
runId: string;
|
|
1810
|
+
attemptId: string;
|
|
1811
|
+
profileId: string | null;
|
|
1812
|
+
};
|
|
1813
|
+
to: {
|
|
1814
|
+
profileId: string | null;
|
|
1815
|
+
};
|
|
1816
|
+
workspace: "different_root" | "same_root";
|
|
1817
|
+
memory: "full" | "partial" | "unknown";
|
|
1818
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
1819
|
+
reingestedTokens: number | null;
|
|
1820
|
+
observedModel: string | null;
|
|
1821
|
+
modelMismatch: boolean | null;
|
|
1822
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
1823
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
1824
|
+
}, {
|
|
1825
|
+
tryIndex: number;
|
|
1826
|
+
attemptId: string;
|
|
1827
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
1828
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
1829
|
+
from: {
|
|
1830
|
+
runId: string;
|
|
1831
|
+
attemptId: string;
|
|
1832
|
+
profileId: string | null;
|
|
1833
|
+
};
|
|
1834
|
+
to: {
|
|
1835
|
+
profileId: string | null;
|
|
1836
|
+
};
|
|
1837
|
+
workspace: "different_root" | "same_root";
|
|
1838
|
+
memory: "full" | "partial" | "unknown";
|
|
1839
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
1840
|
+
reingestedTokens: number | null;
|
|
1841
|
+
observedModel: string | null;
|
|
1842
|
+
modelMismatch: boolean | null;
|
|
1843
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
1844
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
1845
|
+
}>, "many">>;
|
|
1846
|
+
retainedEnvelope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1847
|
+
root: z.ZodString;
|
|
1848
|
+
bytes: z.ZodNullable<z.ZodNumber>;
|
|
1849
|
+
retainedAt: z.ZodString;
|
|
1850
|
+
cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
|
|
1851
|
+
}, "strict", z.ZodTypeAny, {
|
|
1852
|
+
root: string;
|
|
1853
|
+
bytes: number | null;
|
|
1854
|
+
retainedAt: string;
|
|
1855
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1856
|
+
}, {
|
|
1857
|
+
root: string;
|
|
1858
|
+
bytes: number | null;
|
|
1859
|
+
retainedAt: string;
|
|
1860
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
1861
|
+
}>>>;
|
|
1679
1862
|
taskId: z.ZodOptional<z.ZodString>;
|
|
1680
1863
|
state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
|
|
1681
1864
|
runDir: z.ZodOptional<z.ZodString>;
|
|
1682
1865
|
error: z.ZodOptional<z.ZodString>;
|
|
1683
1866
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1684
|
-
requestRefusal: z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1685
1868
|
scope: z.ZodLiteral<"turn_text">;
|
|
1686
1869
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
1687
1870
|
source: z.ZodString;
|
|
@@ -1706,10 +1889,28 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1706
1889
|
limit: number | null;
|
|
1707
1890
|
actual: number | null;
|
|
1708
1891
|
native_code: string;
|
|
1709
|
-
}
|
|
1892
|
+
}>, z.ZodObject<{
|
|
1893
|
+
kind: z.ZodLiteral<"vendor_cli_too_old">;
|
|
1894
|
+
native_code: z.ZodLiteral<"claude_code_version_too_old">;
|
|
1895
|
+
source: z.ZodLiteral<"claude_stdout">;
|
|
1896
|
+
binary_path: z.ZodNullable<z.ZodString>;
|
|
1897
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
1898
|
+
}, "strip", z.ZodTypeAny, {
|
|
1899
|
+
kind: "vendor_cli_too_old";
|
|
1900
|
+
native_code: "claude_code_version_too_old";
|
|
1901
|
+
source: "claude_stdout";
|
|
1902
|
+
binary_path: string | null;
|
|
1903
|
+
installed_version: string | null;
|
|
1904
|
+
}, {
|
|
1905
|
+
kind: "vendor_cli_too_old";
|
|
1906
|
+
native_code: "claude_code_version_too_old";
|
|
1907
|
+
source: "claude_stdout";
|
|
1908
|
+
binary_path: string | null;
|
|
1909
|
+
installed_version: string | null;
|
|
1910
|
+
}>]>>;
|
|
1710
1911
|
phase: z.ZodDefault<z.ZodString>;
|
|
1711
1912
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
1712
|
-
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
|
|
1913
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "vendor_cli_too_old", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
|
|
1713
1914
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1714
1915
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1715
1916
|
safeMessage: z.ZodString;
|
|
@@ -1741,10 +1942,16 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1741
1942
|
limit: number | null;
|
|
1742
1943
|
actual: number | null;
|
|
1743
1944
|
native_code: string;
|
|
1945
|
+
} | {
|
|
1946
|
+
kind: "vendor_cli_too_old";
|
|
1947
|
+
native_code: "claude_code_version_too_old";
|
|
1948
|
+
source: "claude_stdout";
|
|
1949
|
+
binary_path: string | null;
|
|
1950
|
+
installed_version: string | null;
|
|
1744
1951
|
} | undefined;
|
|
1745
1952
|
phase: string;
|
|
1746
1953
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
1747
|
-
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
1954
|
+
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
1748
1955
|
harnessId: string | null;
|
|
1749
1956
|
attemptId: string | null;
|
|
1750
1957
|
safeMessage: string;
|
|
@@ -1768,10 +1975,16 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
1768
1975
|
limit: number | null;
|
|
1769
1976
|
actual: number | null;
|
|
1770
1977
|
native_code: string;
|
|
1978
|
+
} | {
|
|
1979
|
+
kind: "vendor_cli_too_old";
|
|
1980
|
+
native_code: "claude_code_version_too_old";
|
|
1981
|
+
source: "claude_stdout";
|
|
1982
|
+
binary_path: string | null;
|
|
1983
|
+
installed_version: string | null;
|
|
1771
1984
|
} | undefined;
|
|
1772
1985
|
phase?: string | undefined;
|
|
1773
1986
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1774
|
-
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
1987
|
+
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
1775
1988
|
harnessId?: string | null | undefined;
|
|
1776
1989
|
attemptId?: string | null | undefined;
|
|
1777
1990
|
safeMessage: string;
|
|
@@ -2089,6 +2302,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2089
2302
|
locator?: string | null | undefined;
|
|
2090
2303
|
description: string;
|
|
2091
2304
|
}>, "many">>;
|
|
2305
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
2092
2306
|
}, "strip", z.ZodTypeAny, {
|
|
2093
2307
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2094
2308
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2097,6 +2311,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2097
2311
|
locator: string | null;
|
|
2098
2312
|
description: string;
|
|
2099
2313
|
}[] | undefined;
|
|
2314
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2100
2315
|
}, {
|
|
2101
2316
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
2102
2317
|
source: "absent" | "constrained" | "validated";
|
|
@@ -2105,6 +2320,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2105
2320
|
locator?: string | null | undefined;
|
|
2106
2321
|
description: string;
|
|
2107
2322
|
}[] | undefined;
|
|
2323
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2108
2324
|
}>>;
|
|
2109
2325
|
}, "strict", z.ZodTypeAny, {
|
|
2110
2326
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -2121,6 +2337,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2121
2337
|
locator: string | null;
|
|
2122
2338
|
description: string;
|
|
2123
2339
|
}[] | undefined;
|
|
2340
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2124
2341
|
} | undefined;
|
|
2125
2342
|
}, {
|
|
2126
2343
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -2137,6 +2354,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2137
2354
|
locator?: string | null | undefined;
|
|
2138
2355
|
description: string;
|
|
2139
2356
|
}[] | undefined;
|
|
2357
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2140
2358
|
} | undefined;
|
|
2141
2359
|
}>>>;
|
|
2142
2360
|
/** True while at least one requested interaction has no terminal release. */
|
|
@@ -2240,6 +2458,52 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2240
2458
|
reason: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used";
|
|
2241
2459
|
remediation: string | null;
|
|
2242
2460
|
} | null;
|
|
2461
|
+
continueFrom: string | null;
|
|
2462
|
+
resumable: {
|
|
2463
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2464
|
+
resetsAt: string | null;
|
|
2465
|
+
limitWindow: string | null;
|
|
2466
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
2467
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
2468
|
+
limitCode: string | null;
|
|
2469
|
+
session: {
|
|
2470
|
+
harness: string;
|
|
2471
|
+
nativeSessionId: string;
|
|
2472
|
+
holderProfileId: string | null;
|
|
2473
|
+
} | null;
|
|
2474
|
+
workspace: {
|
|
2475
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
2476
|
+
root: string | null;
|
|
2477
|
+
};
|
|
2478
|
+
} | null;
|
|
2479
|
+
continuity?: {
|
|
2480
|
+
tryIndex: number;
|
|
2481
|
+
attemptId: string;
|
|
2482
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
2483
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2484
|
+
from: {
|
|
2485
|
+
runId: string;
|
|
2486
|
+
attemptId: string;
|
|
2487
|
+
profileId: string | null;
|
|
2488
|
+
};
|
|
2489
|
+
to: {
|
|
2490
|
+
profileId: string | null;
|
|
2491
|
+
};
|
|
2492
|
+
workspace: "different_root" | "same_root";
|
|
2493
|
+
memory: "full" | "partial" | "unknown";
|
|
2494
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
2495
|
+
reingestedTokens: number | null;
|
|
2496
|
+
observedModel: string | null;
|
|
2497
|
+
modelMismatch: boolean | null;
|
|
2498
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
2499
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
2500
|
+
}[] | undefined;
|
|
2501
|
+
retainedEnvelope: {
|
|
2502
|
+
root: string;
|
|
2503
|
+
bytes: number | null;
|
|
2504
|
+
retainedAt: string;
|
|
2505
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2506
|
+
} | null;
|
|
2243
2507
|
taskId?: string | undefined;
|
|
2244
2508
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
2245
2509
|
runDir?: string | undefined;
|
|
@@ -2253,10 +2517,16 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2253
2517
|
limit: number | null;
|
|
2254
2518
|
actual: number | null;
|
|
2255
2519
|
native_code: string;
|
|
2520
|
+
} | {
|
|
2521
|
+
kind: "vendor_cli_too_old";
|
|
2522
|
+
native_code: "claude_code_version_too_old";
|
|
2523
|
+
source: "claude_stdout";
|
|
2524
|
+
binary_path: string | null;
|
|
2525
|
+
installed_version: string | null;
|
|
2256
2526
|
} | undefined;
|
|
2257
2527
|
phase: string;
|
|
2258
2528
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
2259
|
-
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
2529
|
+
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
2260
2530
|
harnessId: string | null;
|
|
2261
2531
|
attemptId: string | null;
|
|
2262
2532
|
safeMessage: string;
|
|
@@ -2389,6 +2659,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2389
2659
|
locator: string | null;
|
|
2390
2660
|
description: string;
|
|
2391
2661
|
}[] | undefined;
|
|
2662
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2392
2663
|
} | undefined;
|
|
2393
2664
|
} | null;
|
|
2394
2665
|
waitingOnUser: boolean;
|
|
@@ -2432,6 +2703,52 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2432
2703
|
reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
|
|
2433
2704
|
remediation?: string | null | undefined;
|
|
2434
2705
|
} | null | undefined;
|
|
2706
|
+
continueFrom?: string | null | undefined;
|
|
2707
|
+
resumable?: {
|
|
2708
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2709
|
+
resetsAt: string | null;
|
|
2710
|
+
limitWindow: string | null;
|
|
2711
|
+
limitEvidence: "unspecified" | "window" | null;
|
|
2712
|
+
carriers: ("native" | "native_moved" | "packet")[];
|
|
2713
|
+
limitCode: string | null;
|
|
2714
|
+
session: {
|
|
2715
|
+
harness: string;
|
|
2716
|
+
nativeSessionId: string;
|
|
2717
|
+
holderProfileId: string | null;
|
|
2718
|
+
} | null;
|
|
2719
|
+
workspace: {
|
|
2720
|
+
kind: "in_place" | "none" | "retained_envelope";
|
|
2721
|
+
root: string | null;
|
|
2722
|
+
};
|
|
2723
|
+
} | null | undefined;
|
|
2724
|
+
continuity?: {
|
|
2725
|
+
tryIndex: number;
|
|
2726
|
+
attemptId: string;
|
|
2727
|
+
carrier: "fresh" | "native" | "native_moved" | "packet";
|
|
2728
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
|
|
2729
|
+
from: {
|
|
2730
|
+
runId: string;
|
|
2731
|
+
attemptId: string;
|
|
2732
|
+
profileId: string | null;
|
|
2733
|
+
};
|
|
2734
|
+
to: {
|
|
2735
|
+
profileId: string | null;
|
|
2736
|
+
};
|
|
2737
|
+
workspace: "different_root" | "same_root";
|
|
2738
|
+
memory: "full" | "partial" | "unknown";
|
|
2739
|
+
instructions: "as_sent" | "vendor_snapshot";
|
|
2740
|
+
reingestedTokens: number | null;
|
|
2741
|
+
observedModel: string | null;
|
|
2742
|
+
modelMismatch: boolean | null;
|
|
2743
|
+
identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
|
|
2744
|
+
inputDelivery: "confirmed" | "not_applicable" | "uncertain";
|
|
2745
|
+
}[] | undefined;
|
|
2746
|
+
retainedEnvelope?: {
|
|
2747
|
+
root: string;
|
|
2748
|
+
bytes: number | null;
|
|
2749
|
+
retainedAt: string;
|
|
2750
|
+
cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
|
|
2751
|
+
} | null | undefined;
|
|
2435
2752
|
taskId?: string | undefined;
|
|
2436
2753
|
state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
|
|
2437
2754
|
runDir?: string | undefined;
|
|
@@ -2445,10 +2762,16 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2445
2762
|
limit: number | null;
|
|
2446
2763
|
actual: number | null;
|
|
2447
2764
|
native_code: string;
|
|
2765
|
+
} | {
|
|
2766
|
+
kind: "vendor_cli_too_old";
|
|
2767
|
+
native_code: "claude_code_version_too_old";
|
|
2768
|
+
source: "claude_stdout";
|
|
2769
|
+
binary_path: string | null;
|
|
2770
|
+
installed_version: string | null;
|
|
2448
2771
|
} | undefined;
|
|
2449
2772
|
phase?: string | undefined;
|
|
2450
2773
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
2451
|
-
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
2774
|
+
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
2452
2775
|
harnessId?: string | null | undefined;
|
|
2453
2776
|
attemptId?: string | null | undefined;
|
|
2454
2777
|
safeMessage: string;
|
|
@@ -2581,6 +2904,7 @@ export declare const ControlRunSummary: z.ZodObject<{
|
|
|
2581
2904
|
locator?: string | null | undefined;
|
|
2582
2905
|
description: string;
|
|
2583
2906
|
}[] | undefined;
|
|
2907
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
2584
2908
|
} | undefined;
|
|
2585
2909
|
} | null | undefined;
|
|
2586
2910
|
waitingOnUser?: boolean | undefined;
|
|
@@ -3113,6 +3437,7 @@ export type ControlRunDecisionResponse = z.infer<typeof ControlRunDecisionRespon
|
|
|
3113
3437
|
export declare const ControlThread: z.ZodObject<{
|
|
3114
3438
|
id: z.ZodString;
|
|
3115
3439
|
title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3440
|
+
folder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3116
3441
|
repoRoot: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3117
3442
|
mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
|
|
3118
3443
|
/** How turns touch files (in-place live tree vs isolated worktree). */
|
|
@@ -3138,6 +3463,7 @@ export declare const ControlThread: z.ZodObject<{
|
|
|
3138
3463
|
}, "strip", z.ZodTypeAny, {
|
|
3139
3464
|
id: string;
|
|
3140
3465
|
title: string | null;
|
|
3466
|
+
folder: string | null;
|
|
3141
3467
|
repoRoot: string | null;
|
|
3142
3468
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
3143
3469
|
workspaceMode: "in_place" | "isolated";
|
|
@@ -3157,6 +3483,7 @@ export declare const ControlThread: z.ZodObject<{
|
|
|
3157
3483
|
}, {
|
|
3158
3484
|
id: string;
|
|
3159
3485
|
title?: string | null | undefined;
|
|
3486
|
+
folder?: string | null | undefined;
|
|
3160
3487
|
repoRoot?: string | null | undefined;
|
|
3161
3488
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
3162
3489
|
workspaceMode?: "in_place" | "isolated" | undefined;
|
|
@@ -3293,6 +3620,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
3293
3620
|
locator?: string | null | undefined;
|
|
3294
3621
|
description: string;
|
|
3295
3622
|
}>, "many">>;
|
|
3623
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
3296
3624
|
}, "strip", z.ZodTypeAny, {
|
|
3297
3625
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3298
3626
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3301,6 +3629,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
3301
3629
|
locator: string | null;
|
|
3302
3630
|
description: string;
|
|
3303
3631
|
}[] | undefined;
|
|
3632
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3304
3633
|
}, {
|
|
3305
3634
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3306
3635
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3309,6 +3638,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
3309
3638
|
locator?: string | null | undefined;
|
|
3310
3639
|
description: string;
|
|
3311
3640
|
}[] | undefined;
|
|
3641
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3312
3642
|
}>>;
|
|
3313
3643
|
}, "strict", z.ZodTypeAny, {
|
|
3314
3644
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -3325,6 +3655,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
3325
3655
|
locator: string | null;
|
|
3326
3656
|
description: string;
|
|
3327
3657
|
}[] | undefined;
|
|
3658
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3328
3659
|
} | undefined;
|
|
3329
3660
|
}, {
|
|
3330
3661
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -3341,6 +3672,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
3341
3672
|
locator?: string | null | undefined;
|
|
3342
3673
|
description: string;
|
|
3343
3674
|
}[] | undefined;
|
|
3675
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3344
3676
|
} | undefined;
|
|
3345
3677
|
}>>>;
|
|
3346
3678
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3414,6 +3746,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
3414
3746
|
locator: string | null;
|
|
3415
3747
|
description: string;
|
|
3416
3748
|
}[] | undefined;
|
|
3749
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3417
3750
|
} | undefined;
|
|
3418
3751
|
} | null;
|
|
3419
3752
|
spendUsd?: number | null | undefined;
|
|
@@ -3463,6 +3796,7 @@ export declare const ControlTurnRunCard: z.ZodObject<{
|
|
|
3463
3796
|
locator?: string | null | undefined;
|
|
3464
3797
|
description: string;
|
|
3465
3798
|
}[] | undefined;
|
|
3799
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3466
3800
|
} | undefined;
|
|
3467
3801
|
} | null | undefined;
|
|
3468
3802
|
spendUsd?: number | null | undefined;
|
|
@@ -3585,6 +3919,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3585
3919
|
locator?: string | null | undefined;
|
|
3586
3920
|
description: string;
|
|
3587
3921
|
}>, "many">>;
|
|
3922
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
3588
3923
|
}, "strip", z.ZodTypeAny, {
|
|
3589
3924
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3590
3925
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3593,6 +3928,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3593
3928
|
locator: string | null;
|
|
3594
3929
|
description: string;
|
|
3595
3930
|
}[] | undefined;
|
|
3931
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3596
3932
|
}, {
|
|
3597
3933
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
3598
3934
|
source: "absent" | "constrained" | "validated";
|
|
@@ -3601,6 +3937,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3601
3937
|
locator?: string | null | undefined;
|
|
3602
3938
|
description: string;
|
|
3603
3939
|
}[] | undefined;
|
|
3940
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3604
3941
|
}>>;
|
|
3605
3942
|
}, "strict", z.ZodTypeAny, {
|
|
3606
3943
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -3617,6 +3954,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3617
3954
|
locator: string | null;
|
|
3618
3955
|
description: string;
|
|
3619
3956
|
}[] | undefined;
|
|
3957
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3620
3958
|
} | undefined;
|
|
3621
3959
|
}, {
|
|
3622
3960
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -3633,6 +3971,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3633
3971
|
locator?: string | null | undefined;
|
|
3634
3972
|
description: string;
|
|
3635
3973
|
}[] | undefined;
|
|
3974
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3636
3975
|
} | undefined;
|
|
3637
3976
|
}>>>;
|
|
3638
3977
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3706,6 +4045,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3706
4045
|
locator: string | null;
|
|
3707
4046
|
description: string;
|
|
3708
4047
|
}[] | undefined;
|
|
4048
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3709
4049
|
} | undefined;
|
|
3710
4050
|
} | null;
|
|
3711
4051
|
spendUsd?: number | null | undefined;
|
|
@@ -3755,6 +4095,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3755
4095
|
locator?: string | null | undefined;
|
|
3756
4096
|
description: string;
|
|
3757
4097
|
}[] | undefined;
|
|
4098
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3758
4099
|
} | undefined;
|
|
3759
4100
|
} | null | undefined;
|
|
3760
4101
|
spendUsd?: number | null | undefined;
|
|
@@ -3880,6 +4221,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3880
4221
|
locator: string | null;
|
|
3881
4222
|
description: string;
|
|
3882
4223
|
}[] | undefined;
|
|
4224
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3883
4225
|
} | undefined;
|
|
3884
4226
|
} | null;
|
|
3885
4227
|
spendUsd?: number | null | undefined;
|
|
@@ -3959,6 +4301,7 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3959
4301
|
locator?: string | null | undefined;
|
|
3960
4302
|
description: string;
|
|
3961
4303
|
}[] | undefined;
|
|
4304
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
3962
4305
|
} | undefined;
|
|
3963
4306
|
} | null | undefined;
|
|
3964
4307
|
spendUsd?: number | null | undefined;
|
|
@@ -3994,99 +4337,6 @@ export declare const ControlThreadTurn: z.ZodObject<{
|
|
|
3994
4337
|
createdAt: string;
|
|
3995
4338
|
}>;
|
|
3996
4339
|
export type ControlThreadTurn = z.infer<typeof ControlThreadTurn>;
|
|
3997
|
-
export declare const ControlThreadCreateRequest: z.ZodObject<{
|
|
3998
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3999
|
-
scope: z.ZodDefault<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
4000
|
-
kind: z.ZodLiteral<"project">;
|
|
4001
|
-
root: z.ZodString;
|
|
4002
|
-
context: z.ZodDefault<z.ZodEnum<["auto"]>>;
|
|
4003
|
-
ephemeral: z.ZodDefault<z.ZodBoolean>;
|
|
4004
|
-
}, "strict", z.ZodTypeAny, {
|
|
4005
|
-
kind: "project";
|
|
4006
|
-
root: string;
|
|
4007
|
-
context: "auto";
|
|
4008
|
-
ephemeral: boolean;
|
|
4009
|
-
}, {
|
|
4010
|
-
kind: "project";
|
|
4011
|
-
root: string;
|
|
4012
|
-
context?: "auto" | undefined;
|
|
4013
|
-
ephemeral?: boolean | undefined;
|
|
4014
|
-
}>, z.ZodObject<{
|
|
4015
|
-
kind: z.ZodLiteral<"none">;
|
|
4016
|
-
}, "strict", z.ZodTypeAny, {
|
|
4017
|
-
kind: "none";
|
|
4018
|
-
}, {
|
|
4019
|
-
kind: "none";
|
|
4020
|
-
}>]>>;
|
|
4021
|
-
mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
|
|
4022
|
-
workspace: z.ZodOptional<z.ZodEnum<["in_place", "isolated"]>>;
|
|
4023
|
-
authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
4024
|
-
credentialProfileId: z.ZodOptional<z.ZodString>;
|
|
4025
|
-
primaryHarness: z.ZodOptional<z.ZodString>;
|
|
4026
|
-
/** Sticky eligible pool for the thread; turns inherit it when unset. */
|
|
4027
|
-
eligibleHarnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4028
|
-
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>>;
|
|
4029
|
-
}, "strict", z.ZodTypeAny, {
|
|
4030
|
-
title?: string | undefined;
|
|
4031
|
-
scope: {
|
|
4032
|
-
kind: "project";
|
|
4033
|
-
root: string;
|
|
4034
|
-
context: "auto";
|
|
4035
|
-
ephemeral: boolean;
|
|
4036
|
-
} | {
|
|
4037
|
-
kind: "none";
|
|
4038
|
-
};
|
|
4039
|
-
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4040
|
-
workspace?: "in_place" | "isolated" | undefined;
|
|
4041
|
-
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
4042
|
-
credentialProfileId?: string | undefined;
|
|
4043
|
-
primaryHarness?: string | undefined;
|
|
4044
|
-
eligibleHarnesses?: string[] | undefined;
|
|
4045
|
-
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
4046
|
-
}, {
|
|
4047
|
-
title?: string | undefined;
|
|
4048
|
-
scope?: {
|
|
4049
|
-
kind: "project";
|
|
4050
|
-
root: string;
|
|
4051
|
-
context?: "auto" | undefined;
|
|
4052
|
-
ephemeral?: boolean | undefined;
|
|
4053
|
-
} | {
|
|
4054
|
-
kind: "none";
|
|
4055
|
-
} | undefined;
|
|
4056
|
-
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4057
|
-
workspace?: "in_place" | "isolated" | undefined;
|
|
4058
|
-
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
4059
|
-
credentialProfileId?: string | undefined;
|
|
4060
|
-
primaryHarness?: string | undefined;
|
|
4061
|
-
eligibleHarnesses?: string[] | undefined;
|
|
4062
|
-
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
4063
|
-
}>;
|
|
4064
|
-
export type ControlThreadCreateRequest = z.infer<typeof ControlThreadCreateRequest>;
|
|
4065
|
-
/** Mutate a thread's title, open/closed state, or sticky routing (rename,
|
|
4066
|
-
* archive, switch primary/pool). primaryHarness nullable => clear back to auto. */
|
|
4067
|
-
export declare const ControlThreadUpdateRequest: z.ZodObject<{
|
|
4068
|
-
title: z.ZodOptional<z.ZodString>;
|
|
4069
|
-
state: z.ZodOptional<z.ZodEnum<["active", "closed"]>>;
|
|
4070
|
-
primaryHarness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4071
|
-
credentialProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4072
|
-
eligibleHarnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4073
|
-
access: z.ZodOptional<z.ZodNullable<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>>>;
|
|
4074
|
-
}, "strict", z.ZodTypeAny, {
|
|
4075
|
-
title?: string | undefined;
|
|
4076
|
-
state?: "active" | "closed" | undefined;
|
|
4077
|
-
primaryHarness?: string | null | undefined;
|
|
4078
|
-
credentialProfileId?: string | null | undefined;
|
|
4079
|
-
eligibleHarnesses?: string[] | undefined;
|
|
4080
|
-
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | null | undefined;
|
|
4081
|
-
}, {
|
|
4082
|
-
title?: string | undefined;
|
|
4083
|
-
state?: "active" | "closed" | undefined;
|
|
4084
|
-
primaryHarness?: string | null | undefined;
|
|
4085
|
-
credentialProfileId?: string | null | undefined;
|
|
4086
|
-
eligibleHarnesses?: string[] | undefined;
|
|
4087
|
-
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | null | undefined;
|
|
4088
|
-
}>;
|
|
4089
|
-
export type ControlThreadUpdateRequest = z.infer<typeof ControlThreadUpdateRequest>;
|
|
4090
4340
|
/** A registered project skipped during thread listing because its root is no
|
|
4091
4341
|
* longer usable (F2 resilience): disclosed per-project so a dead root
|
|
4092
4342
|
* never 400s the whole listing rather than silently dropping its threads. */
|
|
@@ -4111,6 +4361,7 @@ export declare const ControlThreadListResponse: z.ZodObject<{
|
|
|
4111
4361
|
threads: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4112
4362
|
id: z.ZodString;
|
|
4113
4363
|
title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4364
|
+
folder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4114
4365
|
repoRoot: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4115
4366
|
mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
|
|
4116
4367
|
/** How turns touch files (in-place live tree vs isolated worktree). */
|
|
@@ -4136,6 +4387,7 @@ export declare const ControlThreadListResponse: z.ZodObject<{
|
|
|
4136
4387
|
}, "strip", z.ZodTypeAny, {
|
|
4137
4388
|
id: string;
|
|
4138
4389
|
title: string | null;
|
|
4390
|
+
folder: string | null;
|
|
4139
4391
|
repoRoot: string | null;
|
|
4140
4392
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4141
4393
|
workspaceMode: "in_place" | "isolated";
|
|
@@ -4155,6 +4407,7 @@ export declare const ControlThreadListResponse: z.ZodObject<{
|
|
|
4155
4407
|
}, {
|
|
4156
4408
|
id: string;
|
|
4157
4409
|
title?: string | null | undefined;
|
|
4410
|
+
folder?: string | null | undefined;
|
|
4158
4411
|
repoRoot?: string | null | undefined;
|
|
4159
4412
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4160
4413
|
workspaceMode?: "in_place" | "isolated" | undefined;
|
|
@@ -4192,6 +4445,7 @@ export declare const ControlThreadListResponse: z.ZodObject<{
|
|
|
4192
4445
|
threads: {
|
|
4193
4446
|
id: string;
|
|
4194
4447
|
title: string | null;
|
|
4448
|
+
folder: string | null;
|
|
4195
4449
|
repoRoot: string | null;
|
|
4196
4450
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4197
4451
|
workspaceMode: "in_place" | "isolated";
|
|
@@ -4219,6 +4473,7 @@ export declare const ControlThreadListResponse: z.ZodObject<{
|
|
|
4219
4473
|
threads?: {
|
|
4220
4474
|
id: string;
|
|
4221
4475
|
title?: string | null | undefined;
|
|
4476
|
+
folder?: string | null | undefined;
|
|
4222
4477
|
repoRoot?: string | null | undefined;
|
|
4223
4478
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4224
4479
|
workspaceMode?: "in_place" | "isolated" | undefined;
|
|
@@ -4248,6 +4503,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4248
4503
|
thread: z.ZodObject<{
|
|
4249
4504
|
id: z.ZodString;
|
|
4250
4505
|
title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4506
|
+
folder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4251
4507
|
repoRoot: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4252
4508
|
mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
|
|
4253
4509
|
/** How turns touch files (in-place live tree vs isolated worktree). */
|
|
@@ -4273,6 +4529,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4273
4529
|
}, "strip", z.ZodTypeAny, {
|
|
4274
4530
|
id: string;
|
|
4275
4531
|
title: string | null;
|
|
4532
|
+
folder: string | null;
|
|
4276
4533
|
repoRoot: string | null;
|
|
4277
4534
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4278
4535
|
workspaceMode: "in_place" | "isolated";
|
|
@@ -4292,6 +4549,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4292
4549
|
}, {
|
|
4293
4550
|
id: string;
|
|
4294
4551
|
title?: string | null | undefined;
|
|
4552
|
+
folder?: string | null | undefined;
|
|
4295
4553
|
repoRoot?: string | null | undefined;
|
|
4296
4554
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4297
4555
|
workspaceMode?: "in_place" | "isolated" | undefined;
|
|
@@ -4443,6 +4701,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4443
4701
|
locator?: string | null | undefined;
|
|
4444
4702
|
description: string;
|
|
4445
4703
|
}>, "many">>;
|
|
4704
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
4446
4705
|
}, "strip", z.ZodTypeAny, {
|
|
4447
4706
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4448
4707
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4451,6 +4710,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4451
4710
|
locator: string | null;
|
|
4452
4711
|
description: string;
|
|
4453
4712
|
}[] | undefined;
|
|
4713
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4454
4714
|
}, {
|
|
4455
4715
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
4456
4716
|
source: "absent" | "constrained" | "validated";
|
|
@@ -4459,6 +4719,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4459
4719
|
locator?: string | null | undefined;
|
|
4460
4720
|
description: string;
|
|
4461
4721
|
}[] | undefined;
|
|
4722
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4462
4723
|
}>>;
|
|
4463
4724
|
}, "strict", z.ZodTypeAny, {
|
|
4464
4725
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -4475,6 +4736,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4475
4736
|
locator: string | null;
|
|
4476
4737
|
description: string;
|
|
4477
4738
|
}[] | undefined;
|
|
4739
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4478
4740
|
} | undefined;
|
|
4479
4741
|
}, {
|
|
4480
4742
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
@@ -4491,6 +4753,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4491
4753
|
locator?: string | null | undefined;
|
|
4492
4754
|
description: string;
|
|
4493
4755
|
}[] | undefined;
|
|
4756
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4494
4757
|
} | undefined;
|
|
4495
4758
|
}>>>;
|
|
4496
4759
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4564,6 +4827,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4564
4827
|
locator: string | null;
|
|
4565
4828
|
description: string;
|
|
4566
4829
|
}[] | undefined;
|
|
4830
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4567
4831
|
} | undefined;
|
|
4568
4832
|
} | null;
|
|
4569
4833
|
spendUsd?: number | null | undefined;
|
|
@@ -4613,6 +4877,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4613
4877
|
locator?: string | null | undefined;
|
|
4614
4878
|
description: string;
|
|
4615
4879
|
}[] | undefined;
|
|
4880
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4616
4881
|
} | undefined;
|
|
4617
4882
|
} | null | undefined;
|
|
4618
4883
|
spendUsd?: number | null | undefined;
|
|
@@ -4738,6 +5003,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4738
5003
|
locator: string | null;
|
|
4739
5004
|
description: string;
|
|
4740
5005
|
}[] | undefined;
|
|
5006
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4741
5007
|
} | undefined;
|
|
4742
5008
|
} | null;
|
|
4743
5009
|
spendUsd?: number | null | undefined;
|
|
@@ -4817,6 +5083,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4817
5083
|
locator?: string | null | undefined;
|
|
4818
5084
|
description: string;
|
|
4819
5085
|
}[] | undefined;
|
|
5086
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4820
5087
|
} | undefined;
|
|
4821
5088
|
} | null | undefined;
|
|
4822
5089
|
spendUsd?: number | null | undefined;
|
|
@@ -4855,6 +5122,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4855
5122
|
thread: {
|
|
4856
5123
|
id: string;
|
|
4857
5124
|
title: string | null;
|
|
5125
|
+
folder: string | null;
|
|
4858
5126
|
repoRoot: string | null;
|
|
4859
5127
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4860
5128
|
workspaceMode: "in_place" | "isolated";
|
|
@@ -4927,6 +5195,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4927
5195
|
locator: string | null;
|
|
4928
5196
|
description: string;
|
|
4929
5197
|
}[] | undefined;
|
|
5198
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
4930
5199
|
} | undefined;
|
|
4931
5200
|
} | null;
|
|
4932
5201
|
spendUsd?: number | null | undefined;
|
|
@@ -4965,6 +5234,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
4965
5234
|
thread: {
|
|
4966
5235
|
id: string;
|
|
4967
5236
|
title?: string | null | undefined;
|
|
5237
|
+
folder?: string | null | undefined;
|
|
4968
5238
|
repoRoot?: string | null | undefined;
|
|
4969
5239
|
mode?: "agent" | "ask" | "plan" | undefined;
|
|
4970
5240
|
workspaceMode?: "in_place" | "isolated" | undefined;
|
|
@@ -5037,6 +5307,7 @@ export declare const ControlThreadDetail: z.ZodObject<{
|
|
|
5037
5307
|
locator?: string | null | undefined;
|
|
5038
5308
|
description: string;
|
|
5039
5309
|
}[] | undefined;
|
|
5310
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
5040
5311
|
} | undefined;
|
|
5041
5312
|
} | null | undefined;
|
|
5042
5313
|
spendUsd?: number | null | undefined;
|