@claudexor/schema 4.8.2 → 5.0.2
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/account-resources.d.ts +325 -56
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-resources.js +35 -5
- package/dist/account-resources.js.map +1 -1
- package/dist/account-routing-evidence.d.ts +253 -45
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-target.d.ts +19 -5
- package/dist/account-target.d.ts.map +1 -1
- package/dist/account-target.js +14 -1
- package/dist/account-target.js.map +1 -1
- package/dist/agent-capabilities.d.ts +183 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +2 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/budget.d.ts +3 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +5 -1
- package/dist/budget.js.map +1 -1
- package/dist/capture-inventory.d.ts +60 -0
- package/dist/capture-inventory.d.ts.map +1 -0
- package/dist/capture-inventory.js +57 -0
- package/dist/capture-inventory.js.map +1 -0
- package/dist/control-harness-list.d.ts +102 -18
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +299 -6
- package/dist/control-harness-models.d.ts.map +1 -1
- package/dist/control-harness-models.js +12 -3
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +606 -23
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +3 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +1178 -72
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-event-part.d.ts +3 -3
- package/dist/control-run-event-part.js +1 -1
- package/dist/control-run-event-part.js.map +1 -1
- package/dist/control-run-failure.d.ts +276 -12
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +54 -16
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-message.js +1 -1
- package/dist/control-run-message.js.map +1 -1
- package/dist/control-thread-apply.d.ts +165 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-timeline.d.ts.map +1 -1
- package/dist/control-timeline.js +7 -3
- package/dist/control-timeline.js.map +1 -1
- package/dist/control.d.ts +383 -42
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +9 -5
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +506 -90
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +4 -0
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +162 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +32 -0
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +7 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +15 -8
- package/dist/events.js.map +1 -1
- package/dist/git-result.d.ts +99 -0
- package/dist/git-result.d.ts.map +1 -0
- package/dist/git-result.js +80 -0
- package/dist/git-result.js.map +1 -0
- package/dist/harness-model.d.ts +89 -0
- package/dist/harness-model.d.ts.map +1 -1
- package/dist/harness-model.js +83 -0
- package/dist/harness-model.js.map +1 -1
- package/dist/harness.d.ts +353 -35
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +4 -19
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +620 -51
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +45 -5
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +7 -7
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +3 -2
- package/dist/primitives.js.map +1 -1
- package/dist/project.d.ts +45 -1
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +26 -1
- package/dist/project.js.map +1 -1
- package/dist/quota-read.d.ts +6 -3
- package/dist/quota-read.d.ts.map +1 -1
- package/dist/quota-read.js +7 -1
- package/dist/quota-read.js.map +1 -1
- package/dist/quota-scope.d.ts +29 -0
- package/dist/quota-scope.d.ts.map +1 -0
- package/dist/quota-scope.js +95 -0
- package/dist/quota-scope.js.map +1 -0
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +5 -1
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts +223 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +86 -0
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +87 -18
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +7 -6
- package/dist/readiness.js.map +1 -1
- package/dist/route-health.d.ts +303 -0
- package/dist/route-health.d.ts.map +1 -0
- package/dist/route-health.js +71 -0
- package/dist/route-health.js.map +1 -0
- package/dist/run-continuity.d.ts +3 -0
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +4 -0
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-facts.d.ts +5 -5
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/run-facts.js +1 -0
- package/dist/run-facts.js.map +1 -1
- package/dist/setup-login.d.ts +1 -1
- package/dist/setup-login.js +1 -1
- package/dist/setup.d.ts +1 -1
- package/dist/setup.js +1 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +3 -0
- package/dist/status-projection.js.map +1 -1
- package/dist/telemetry.d.ts +239 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +4 -2
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-history.d.ts +1109 -161
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread-history.js +1 -1
- package/dist/thread-history.js.map +1 -1
- package/dist/tool-ref.d.ts +94 -3
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +98 -6
- package/dist/tool-ref.js.map +1 -1
- package/dist/workspace-preparation.d.ts +54 -0
- package/dist/workspace-preparation.d.ts.map +1 -0
- package/dist/workspace-preparation.js +59 -0
- package/dist/workspace-preparation.js.map +1 -0
- package/generated/AgentCapabilityCatalog.schema.json +54 -0
- package/generated/BudgetObservation.schema.json +8 -1
- package/generated/ControlAccountResetResponse.schema.json +60 -1
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +46 -2
- package/generated/ControlAccountResourcesResponse.schema.json +46 -2
- package/generated/ControlApplyCheckResponse.schema.json +47 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +105 -4
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +105 -4
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +59 -2
- package/generated/ControlDeliveryResponse.schema.json +154 -0
- package/generated/ControlHarnessAccountCatalog.schema.json +13 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +13 -0
- package/generated/ControlHarnessListResponse.schema.json +59 -2
- package/generated/ControlHarnessModelsQueryResponse.schema.json +97 -51
- package/generated/ControlHarnessModelsResponse.schema.json +96 -0
- package/generated/ControlProjectRemoveReceipt.schema.json +36 -0
- package/generated/ControlQuotaQueryResponse.schema.json +46 -2
- package/generated/ControlQuotaReadRequest.schema.json +4 -0
- package/generated/ControlQuotaRefreshRequest.schema.json +12 -3
- package/generated/ControlRouteHealth.schema.json +202 -0
- package/generated/ControlRunDetail.schema.json +344 -5
- package/generated/ControlRunEventPart.schema.json +4 -2
- package/generated/ControlRunListResponse.schema.json +341 -2
- package/generated/ControlRunMessageRequest.schema.json +1 -1
- package/generated/ControlRunSummary.schema.json +341 -2
- package/generated/ControlThreadApplyResponse.schema.json +154 -0
- package/generated/ControlThreadDetail.schema.json +1 -0
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/HarnessEvent.schema.json +189 -5
- package/generated/HarnessManifest.schema.json +57 -0
- package/generated/HarnessModel.schema.json +13 -0
- package/generated/HarnessStatusDto.schema.json +59 -2
- package/generated/JournaledRunCreatedPayload.schema.json +2 -2
- package/generated/McpAccountsToolResult.schema.json +105 -4
- package/generated/McpRunHandleResult.schema.json +279 -2
- package/generated/McpRunToolResult.schema.json +269 -0
- package/generated/McpRunWaitResult.schema.json +3 -1
- package/generated/RawContextPacket.schema.json +98 -0
- package/generated/RunContinuityReceipt.schema.json +8 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +201 -0
- package/generated/RunTelemetry.schema.json +123 -2
- package/generated/ThreadHistoryPage.schema.json +203 -1
- package/generated/WorkspacePreparedPayload.schema.json +67 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-run-detail.d.ts","sourceRoot":"","sources":["../src/control-run-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAqB3B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAwB4B,CAAC;AAC9D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;kCAGkC;AAClC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAwBrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF;;;gCAGgC;AAChC,eAAO,MAAM,gBAAgB;;;;;;;;;;IAgCzB,0DAA0D;;;;;;;;;;;;;;;;;;IA0B1D;;;;;;;;OAQG;;IAQH;uEACmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpE,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtE,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare const RUN_EVENT_PART_DEFAULT_BYTES = 32768;
|
|
|
7
7
|
export declare const ControlRunEventPart: z.ZodObject<{
|
|
8
8
|
runId: z.ZodString;
|
|
9
9
|
seq: z.ZodNumber;
|
|
10
|
-
type: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.profile.credential_unusable", "route.account.pool_selected", "route.account.lane_switch", "route.account.pool_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "interaction.withdrawn", "message.accepted", "message.delivered", "message.refused", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "delegation.belt.degraded", "output.ready", "gate.started", "gate.completed", "review.preflight", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied", "run.continuity", "workspace.retained"]>;
|
|
10
|
+
type: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.profile.credential_unusable", "route.account.pool_selected", "route.account.lane_switch", "route.account.pool_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "interaction.withdrawn", "message.accepted", "message.delivered", "message.refused", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "delegation.belt.degraded", "output.ready", "gate.started", "gate.completed", "review.preflight", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied", "run.continuity", "workspace.retained", "workspace.prepared", "workspace.settlement_failed"]>;
|
|
11
11
|
totalBytes: z.ZodNumber;
|
|
12
12
|
sha256: z.ZodString;
|
|
13
13
|
offset: z.ZodNumber;
|
|
@@ -16,7 +16,7 @@ export declare const ControlRunEventPart: z.ZodObject<{
|
|
|
16
16
|
}, "strict", z.ZodTypeAny, {
|
|
17
17
|
runId: string;
|
|
18
18
|
seq: number;
|
|
19
|
-
type: "arbitration.completed" | "budget.cash" | "budget.lease.created" | "budget.observation" | "budget.quota_pressure" | "context.pack.created" | "control.applied" | "control.rejected" | "control.requested" | "council.draft" | "council.member.failed" | "council.merged" | "council.started" | "delegation.belt.degraded" | "delegation.belt.unavailable" | "finding.revalidated" | "gate.completed" | "gate.started" | "harness.completed" | "harness.event" | "harness.started" | "interaction.answer_discarded" | "interaction.answered" | "interaction.requested" | "interaction.timeout" | "interaction.withdrawn" | "message.accepted" | "message.delivered" | "message.refused" | "output.ready" | "plan.brief.materialized" | "plan.progress" | "plan.questions" | "policy.web.upgraded" | "project.claude_bridge.created" | "project.git.initialized" | "review.preflight" | "review.skipped" | "review.started" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.failed" | "reviewer.first_event" | "reviewer.started" | "reviewer.timed_out" | "route.account.lane_switch" | "route.account.pool_exhausted" | "route.account.pool_selected" | "route.fallback.auth_switched" | "route.fallback.completed" | "route.fallback.exhausted" | "route.fallback.started" | "route.pool.degraded" | "route.primary.diverged" | "route.profile.credential_unusable" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.detected" | "route.transient.exhausted" | "route.transient.retry_scheduled" | "run.blocked" | "run.completed" | "run.continuation" | "run.continuation.denied" | "run.continuity" | "run.created" | "run.failed" | "session.continuity" | "synthesis.started" | "task.contract.created" | "work_product.adopted" | "work_product.emitted" | "workspace.retained";
|
|
19
|
+
type: "arbitration.completed" | "budget.cash" | "budget.lease.created" | "budget.observation" | "budget.quota_pressure" | "context.pack.created" | "control.applied" | "control.rejected" | "control.requested" | "council.draft" | "council.member.failed" | "council.merged" | "council.started" | "delegation.belt.degraded" | "delegation.belt.unavailable" | "finding.revalidated" | "gate.completed" | "gate.started" | "harness.completed" | "harness.event" | "harness.started" | "interaction.answer_discarded" | "interaction.answered" | "interaction.requested" | "interaction.timeout" | "interaction.withdrawn" | "message.accepted" | "message.delivered" | "message.refused" | "output.ready" | "plan.brief.materialized" | "plan.progress" | "plan.questions" | "policy.web.upgraded" | "project.claude_bridge.created" | "project.git.initialized" | "review.preflight" | "review.skipped" | "review.started" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.failed" | "reviewer.first_event" | "reviewer.started" | "reviewer.timed_out" | "route.account.lane_switch" | "route.account.pool_exhausted" | "route.account.pool_selected" | "route.fallback.auth_switched" | "route.fallback.completed" | "route.fallback.exhausted" | "route.fallback.started" | "route.pool.degraded" | "route.primary.diverged" | "route.profile.credential_unusable" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.detected" | "route.transient.exhausted" | "route.transient.retry_scheduled" | "run.blocked" | "run.completed" | "run.continuation" | "run.continuation.denied" | "run.continuity" | "run.created" | "run.failed" | "session.continuity" | "synthesis.started" | "task.contract.created" | "work_product.adopted" | "work_product.emitted" | "workspace.prepared" | "workspace.retained" | "workspace.settlement_failed";
|
|
20
20
|
totalBytes: number;
|
|
21
21
|
sha256: string;
|
|
22
22
|
offset: number;
|
|
@@ -25,7 +25,7 @@ export declare const ControlRunEventPart: z.ZodObject<{
|
|
|
25
25
|
}, {
|
|
26
26
|
runId: string;
|
|
27
27
|
seq: number;
|
|
28
|
-
type: "arbitration.completed" | "budget.cash" | "budget.lease.created" | "budget.observation" | "budget.quota_pressure" | "context.pack.created" | "control.applied" | "control.rejected" | "control.requested" | "council.draft" | "council.member.failed" | "council.merged" | "council.started" | "delegation.belt.degraded" | "delegation.belt.unavailable" | "finding.revalidated" | "gate.completed" | "gate.started" | "harness.completed" | "harness.event" | "harness.started" | "interaction.answer_discarded" | "interaction.answered" | "interaction.requested" | "interaction.timeout" | "interaction.withdrawn" | "message.accepted" | "message.delivered" | "message.refused" | "output.ready" | "plan.brief.materialized" | "plan.progress" | "plan.questions" | "policy.web.upgraded" | "project.claude_bridge.created" | "project.git.initialized" | "review.preflight" | "review.skipped" | "review.started" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.failed" | "reviewer.first_event" | "reviewer.started" | "reviewer.timed_out" | "route.account.lane_switch" | "route.account.pool_exhausted" | "route.account.pool_selected" | "route.fallback.auth_switched" | "route.fallback.completed" | "route.fallback.exhausted" | "route.fallback.started" | "route.pool.degraded" | "route.primary.diverged" | "route.profile.credential_unusable" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.detected" | "route.transient.exhausted" | "route.transient.retry_scheduled" | "run.blocked" | "run.completed" | "run.continuation" | "run.continuation.denied" | "run.continuity" | "run.created" | "run.failed" | "session.continuity" | "synthesis.started" | "task.contract.created" | "work_product.adopted" | "work_product.emitted" | "workspace.retained";
|
|
28
|
+
type: "arbitration.completed" | "budget.cash" | "budget.lease.created" | "budget.observation" | "budget.quota_pressure" | "context.pack.created" | "control.applied" | "control.rejected" | "control.requested" | "council.draft" | "council.member.failed" | "council.merged" | "council.started" | "delegation.belt.degraded" | "delegation.belt.unavailable" | "finding.revalidated" | "gate.completed" | "gate.started" | "harness.completed" | "harness.event" | "harness.started" | "interaction.answer_discarded" | "interaction.answered" | "interaction.requested" | "interaction.timeout" | "interaction.withdrawn" | "message.accepted" | "message.delivered" | "message.refused" | "output.ready" | "plan.brief.materialized" | "plan.progress" | "plan.questions" | "policy.web.upgraded" | "project.claude_bridge.created" | "project.git.initialized" | "review.preflight" | "review.skipped" | "review.started" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.failed" | "reviewer.first_event" | "reviewer.started" | "reviewer.timed_out" | "route.account.lane_switch" | "route.account.pool_exhausted" | "route.account.pool_selected" | "route.fallback.auth_switched" | "route.fallback.completed" | "route.fallback.exhausted" | "route.fallback.started" | "route.pool.degraded" | "route.primary.diverged" | "route.profile.credential_unusable" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.detected" | "route.transient.exhausted" | "route.transient.retry_scheduled" | "run.blocked" | "run.completed" | "run.continuation" | "run.continuation.denied" | "run.continuity" | "run.created" | "run.failed" | "session.continuity" | "synthesis.started" | "task.contract.created" | "work_product.adopted" | "work_product.emitted" | "workspace.prepared" | "workspace.retained" | "workspace.settlement_failed";
|
|
29
29
|
totalBytes: number;
|
|
30
30
|
sha256: string;
|
|
31
31
|
offset: number;
|
|
@@ -17,7 +17,7 @@ export const ControlRunEventPart = z
|
|
|
17
17
|
.number()
|
|
18
18
|
.int()
|
|
19
19
|
.positive()
|
|
20
|
-
.describe("UTF-8 byte length of the event's complete stream serialization: the
|
|
20
|
+
.describe("UTF-8 byte length of the event's complete stream serialization: the stored JSON line the run event stream delivers."),
|
|
21
21
|
sha256: z
|
|
22
22
|
.string()
|
|
23
23
|
.regex(/^[0-9a-f]{64}$/)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-run-event-part.js","sourceRoot":"","sources":["../src/control-run-event-part.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,qEAAqE;AACrE,MAAM,CAAC,MAAM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AAE;SACL,GAAG,CAAC,wBAAwB,CAAC;SAC7B,GAAG,CAAC,wBAAwB,CAAC;SAC7B,OAAO,CAAC,4BAA4B,CAAC;SACrC,QAAQ,CACP,yFAAyF,CAC1F;CACJ,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -8,7 +8,7 @@ import { z } from "zod/v3";
|
|
|
8
8
|
* Re-exported through `index.ts` like the other `control-*` splits, so every
|
|
9
9
|
* caller keeps importing it from `@claudexor/schema`.
|
|
10
10
|
*/
|
|
11
|
-
export declare const RunFailureCode: 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", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>;
|
|
11
|
+
export declare const RunFailureCode: 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", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>;
|
|
12
12
|
export type RunFailureCode = z.infer<typeof RunFailureCode>;
|
|
13
13
|
/** A vendor's OWN typed failure, forwarded as evidence. `code` is opaque: no
|
|
14
14
|
* Claudexor code path may branch on its value; retry, rotation, cooldown and
|
|
@@ -32,12 +32,16 @@ export declare const VendorFailureEvidence: z.ZodObject<{
|
|
|
32
32
|
export type VendorFailureEvidence = z.infer<typeof VendorFailureEvidence>;
|
|
33
33
|
/** Capture evidence is separate from native harness failure and never inferred from prose. */
|
|
34
34
|
export declare const WorkspaceCaptureFailure: z.ZodObject<{
|
|
35
|
-
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
35
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_space_insufficient", "capture_git_stalled", "capture_git_signal", "capture_read_failed", "capture_object_missing", "capture_failed"]>;
|
|
36
36
|
message: z.ZodString;
|
|
37
37
|
causeCode: z.ZodOptional<z.ZodString>;
|
|
38
38
|
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
39
39
|
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
40
40
|
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
41
|
+
requiredBytes: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
availableBytes: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
44
|
+
stallMs: z.ZodOptional<z.ZodNumber>;
|
|
41
45
|
cleanup: z.ZodOptional<z.ZodObject<{
|
|
42
46
|
code: z.ZodNullable<z.ZodString>;
|
|
43
47
|
message: z.ZodString;
|
|
@@ -48,28 +52,87 @@ export declare const WorkspaceCaptureFailure: z.ZodObject<{
|
|
|
48
52
|
code: string | null;
|
|
49
53
|
message: string;
|
|
50
54
|
}>>;
|
|
55
|
+
inventory: z.ZodOptional<z.ZodObject<{
|
|
56
|
+
exact: z.ZodLiteral<false>;
|
|
57
|
+
changedFiles: z.ZodNumber;
|
|
58
|
+
largest: z.ZodArray<z.ZodObject<{
|
|
59
|
+
path: z.ZodString;
|
|
60
|
+
change: z.ZodEnum<["added", "modified", "deleted", "type_changed"]>;
|
|
61
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
path: string;
|
|
64
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
65
|
+
sizeBytes: number | null;
|
|
66
|
+
}, {
|
|
67
|
+
path: string;
|
|
68
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
69
|
+
sizeBytes: number | null;
|
|
70
|
+
}>, "many">;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
exact: false;
|
|
73
|
+
changedFiles: number;
|
|
74
|
+
largest: {
|
|
75
|
+
path: string;
|
|
76
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
77
|
+
sizeBytes: number | null;
|
|
78
|
+
}[];
|
|
79
|
+
}, {
|
|
80
|
+
exact: false;
|
|
81
|
+
changedFiles: number;
|
|
82
|
+
largest: {
|
|
83
|
+
path: string;
|
|
84
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
85
|
+
sizeBytes: number | null;
|
|
86
|
+
}[];
|
|
87
|
+
}>>;
|
|
51
88
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
89
|
+
code: "capture_failed" | "capture_git_signal" | "capture_git_stalled" | "capture_object_missing" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated" | "capture_read_failed" | "capture_space_insufficient";
|
|
53
90
|
message: string;
|
|
54
91
|
causeCode?: string | undefined;
|
|
55
92
|
bufferBudgetBytes?: number | undefined;
|
|
56
93
|
stream?: "stderr" | "stdout" | undefined;
|
|
57
94
|
drain?: "truncated" | undefined;
|
|
95
|
+
requiredBytes?: number | undefined;
|
|
96
|
+
availableBytes?: number | undefined;
|
|
97
|
+
signal?: string | undefined;
|
|
98
|
+
stallMs?: number | undefined;
|
|
58
99
|
cleanup?: {
|
|
59
100
|
code: string | null;
|
|
60
101
|
message: string;
|
|
61
102
|
} | undefined;
|
|
103
|
+
inventory?: {
|
|
104
|
+
exact: false;
|
|
105
|
+
changedFiles: number;
|
|
106
|
+
largest: {
|
|
107
|
+
path: string;
|
|
108
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
109
|
+
sizeBytes: number | null;
|
|
110
|
+
}[];
|
|
111
|
+
} | undefined;
|
|
62
112
|
}, {
|
|
63
|
-
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
113
|
+
code: "capture_failed" | "capture_git_signal" | "capture_git_stalled" | "capture_object_missing" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated" | "capture_read_failed" | "capture_space_insufficient";
|
|
64
114
|
message: string;
|
|
65
115
|
causeCode?: string | undefined;
|
|
66
116
|
bufferBudgetBytes?: number | undefined;
|
|
67
117
|
stream?: "stderr" | "stdout" | undefined;
|
|
68
118
|
drain?: "truncated" | undefined;
|
|
119
|
+
requiredBytes?: number | undefined;
|
|
120
|
+
availableBytes?: number | undefined;
|
|
121
|
+
signal?: string | undefined;
|
|
122
|
+
stallMs?: number | undefined;
|
|
69
123
|
cleanup?: {
|
|
70
124
|
code: string | null;
|
|
71
125
|
message: string;
|
|
72
126
|
} | undefined;
|
|
127
|
+
inventory?: {
|
|
128
|
+
exact: false;
|
|
129
|
+
changedFiles: number;
|
|
130
|
+
largest: {
|
|
131
|
+
path: string;
|
|
132
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
133
|
+
sizeBytes: number | null;
|
|
134
|
+
}[];
|
|
135
|
+
} | undefined;
|
|
73
136
|
}>;
|
|
74
137
|
export type WorkspaceCaptureFailure = z.infer<typeof WorkspaceCaptureFailure>;
|
|
75
138
|
/** One actual execution try that ended in an error, attributed to the account it
|
|
@@ -133,6 +196,31 @@ export declare const PoolAttemptFailure: z.ZodObject<{
|
|
|
133
196
|
} | null;
|
|
134
197
|
}>;
|
|
135
198
|
export type PoolAttemptFailure = z.infer<typeof PoolAttemptFailure>;
|
|
199
|
+
/** Why quota admission refused an account: the owner's saved headroom reserve
|
|
200
|
+
* (the provider may still serve it) or the provider's own observed limit. */
|
|
201
|
+
export declare const QuotaRefusalBasis: z.ZodEnum<["owner_reserve", "provider_window", "provider_cooldown"]>;
|
|
202
|
+
export type QuotaRefusalBasis = z.infer<typeof QuotaRefusalBasis>;
|
|
203
|
+
export declare const QuotaRefusal: z.ZodObject<{
|
|
204
|
+
basis: z.ZodEnum<["owner_reserve", "provider_window", "provider_cooldown"]>;
|
|
205
|
+
constraintId: z.ZodNullable<z.ZodString>;
|
|
206
|
+
usedRatio: z.ZodNullable<z.ZodNumber>;
|
|
207
|
+
threshold: z.ZodNullable<z.ZodNumber>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
basis: "owner_reserve" | "provider_cooldown" | "provider_window";
|
|
210
|
+
constraintId: string | null;
|
|
211
|
+
usedRatio: number | null;
|
|
212
|
+
threshold: number | null;
|
|
213
|
+
}, {
|
|
214
|
+
basis: "owner_reserve" | "provider_cooldown" | "provider_window";
|
|
215
|
+
constraintId: string | null;
|
|
216
|
+
usedRatio: number | null;
|
|
217
|
+
threshold: number | null;
|
|
218
|
+
}>;
|
|
219
|
+
export type QuotaRefusal = z.infer<typeof QuotaRefusal>;
|
|
220
|
+
/** The typed category axis of a run failure, shared by the failure record and
|
|
221
|
+
* the route-health groups that count failures by it. Described at each use. */
|
|
222
|
+
export declare const RunFailureCategory: z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>;
|
|
223
|
+
export type RunFailureCategory = z.infer<typeof RunFailureCategory>;
|
|
136
224
|
export declare const RunFailure: z.ZodObject<{
|
|
137
225
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
138
226
|
scope: z.ZodLiteral<"turn_text">;
|
|
@@ -193,13 +281,54 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
193
281
|
source: "grok_init";
|
|
194
282
|
reported_source: string;
|
|
195
283
|
}>]>>;
|
|
284
|
+
rawContextShortfall: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
model: z.ZodString;
|
|
286
|
+
context_window: z.ZodNumber;
|
|
287
|
+
packet_tokens: z.ZodNumber;
|
|
288
|
+
framing_tokens: z.ZodNumber;
|
|
289
|
+
output_allowance_tokens: z.ZodNumber;
|
|
290
|
+
mandatory_files: z.ZodArray<z.ZodObject<{
|
|
291
|
+
path: z.ZodString;
|
|
292
|
+
estimated_tokens: z.ZodNumber;
|
|
293
|
+
}, "strict", z.ZodTypeAny, {
|
|
294
|
+
path: string;
|
|
295
|
+
estimated_tokens: number;
|
|
296
|
+
}, {
|
|
297
|
+
path: string;
|
|
298
|
+
estimated_tokens: number;
|
|
299
|
+
}>, "many">;
|
|
300
|
+
}, "strict", z.ZodTypeAny, {
|
|
301
|
+
model: string;
|
|
302
|
+
context_window: number;
|
|
303
|
+
packet_tokens: number;
|
|
304
|
+
framing_tokens: number;
|
|
305
|
+
output_allowance_tokens: number;
|
|
306
|
+
mandatory_files: {
|
|
307
|
+
path: string;
|
|
308
|
+
estimated_tokens: number;
|
|
309
|
+
}[];
|
|
310
|
+
}, {
|
|
311
|
+
model: string;
|
|
312
|
+
context_window: number;
|
|
313
|
+
packet_tokens: number;
|
|
314
|
+
framing_tokens: number;
|
|
315
|
+
output_allowance_tokens: number;
|
|
316
|
+
mandatory_files: {
|
|
317
|
+
path: string;
|
|
318
|
+
estimated_tokens: number;
|
|
319
|
+
}[];
|
|
320
|
+
}>>;
|
|
196
321
|
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
197
|
-
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
322
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_space_insufficient", "capture_git_stalled", "capture_git_signal", "capture_read_failed", "capture_object_missing", "capture_failed"]>;
|
|
198
323
|
message: z.ZodString;
|
|
199
324
|
causeCode: z.ZodOptional<z.ZodString>;
|
|
200
325
|
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
201
326
|
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
202
327
|
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
328
|
+
requiredBytes: z.ZodOptional<z.ZodNumber>;
|
|
329
|
+
availableBytes: z.ZodOptional<z.ZodNumber>;
|
|
330
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
331
|
+
stallMs: z.ZodOptional<z.ZodNumber>;
|
|
203
332
|
cleanup: z.ZodOptional<z.ZodObject<{
|
|
204
333
|
code: z.ZodNullable<z.ZodString>;
|
|
205
334
|
message: z.ZodString;
|
|
@@ -210,32 +339,91 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
210
339
|
code: string | null;
|
|
211
340
|
message: string;
|
|
212
341
|
}>>;
|
|
342
|
+
inventory: z.ZodOptional<z.ZodObject<{
|
|
343
|
+
exact: z.ZodLiteral<false>;
|
|
344
|
+
changedFiles: z.ZodNumber;
|
|
345
|
+
largest: z.ZodArray<z.ZodObject<{
|
|
346
|
+
path: z.ZodString;
|
|
347
|
+
change: z.ZodEnum<["added", "modified", "deleted", "type_changed"]>;
|
|
348
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
path: string;
|
|
351
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
352
|
+
sizeBytes: number | null;
|
|
353
|
+
}, {
|
|
354
|
+
path: string;
|
|
355
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
356
|
+
sizeBytes: number | null;
|
|
357
|
+
}>, "many">;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
exact: false;
|
|
360
|
+
changedFiles: number;
|
|
361
|
+
largest: {
|
|
362
|
+
path: string;
|
|
363
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
364
|
+
sizeBytes: number | null;
|
|
365
|
+
}[];
|
|
366
|
+
}, {
|
|
367
|
+
exact: false;
|
|
368
|
+
changedFiles: number;
|
|
369
|
+
largest: {
|
|
370
|
+
path: string;
|
|
371
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
372
|
+
sizeBytes: number | null;
|
|
373
|
+
}[];
|
|
374
|
+
}>>;
|
|
213
375
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
376
|
+
code: "capture_failed" | "capture_git_signal" | "capture_git_stalled" | "capture_object_missing" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated" | "capture_read_failed" | "capture_space_insufficient";
|
|
215
377
|
message: string;
|
|
216
378
|
causeCode?: string | undefined;
|
|
217
379
|
bufferBudgetBytes?: number | undefined;
|
|
218
380
|
stream?: "stderr" | "stdout" | undefined;
|
|
219
381
|
drain?: "truncated" | undefined;
|
|
382
|
+
requiredBytes?: number | undefined;
|
|
383
|
+
availableBytes?: number | undefined;
|
|
384
|
+
signal?: string | undefined;
|
|
385
|
+
stallMs?: number | undefined;
|
|
220
386
|
cleanup?: {
|
|
221
387
|
code: string | null;
|
|
222
388
|
message: string;
|
|
223
389
|
} | undefined;
|
|
390
|
+
inventory?: {
|
|
391
|
+
exact: false;
|
|
392
|
+
changedFiles: number;
|
|
393
|
+
largest: {
|
|
394
|
+
path: string;
|
|
395
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
396
|
+
sizeBytes: number | null;
|
|
397
|
+
}[];
|
|
398
|
+
} | undefined;
|
|
224
399
|
}, {
|
|
225
|
-
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
400
|
+
code: "capture_failed" | "capture_git_signal" | "capture_git_stalled" | "capture_object_missing" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated" | "capture_read_failed" | "capture_space_insufficient";
|
|
226
401
|
message: string;
|
|
227
402
|
causeCode?: string | undefined;
|
|
228
403
|
bufferBudgetBytes?: number | undefined;
|
|
229
404
|
stream?: "stderr" | "stdout" | undefined;
|
|
230
405
|
drain?: "truncated" | undefined;
|
|
406
|
+
requiredBytes?: number | undefined;
|
|
407
|
+
availableBytes?: number | undefined;
|
|
408
|
+
signal?: string | undefined;
|
|
409
|
+
stallMs?: number | undefined;
|
|
231
410
|
cleanup?: {
|
|
232
411
|
code: string | null;
|
|
233
412
|
message: string;
|
|
234
413
|
} | undefined;
|
|
414
|
+
inventory?: {
|
|
415
|
+
exact: false;
|
|
416
|
+
changedFiles: number;
|
|
417
|
+
largest: {
|
|
418
|
+
path: string;
|
|
419
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
420
|
+
sizeBytes: number | null;
|
|
421
|
+
}[];
|
|
422
|
+
} | undefined;
|
|
235
423
|
}>>;
|
|
236
424
|
phase: z.ZodDefault<z.ZodString>;
|
|
237
425
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
238
|
-
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", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
426
|
+
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", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
|
|
239
427
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
240
428
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
241
429
|
safeMessage: z.ZodString;
|
|
@@ -247,6 +435,22 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
247
435
|
* inside safeMessage forces every caller to parse prose to decide when to
|
|
248
436
|
* come back — the thing typed contracts exist to prevent. */
|
|
249
437
|
resetsAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
438
|
+
quotaRefusal: z.ZodOptional<z.ZodObject<{
|
|
439
|
+
basis: z.ZodEnum<["owner_reserve", "provider_window", "provider_cooldown"]>;
|
|
440
|
+
constraintId: z.ZodNullable<z.ZodString>;
|
|
441
|
+
usedRatio: z.ZodNullable<z.ZodNumber>;
|
|
442
|
+
threshold: z.ZodNullable<z.ZodNumber>;
|
|
443
|
+
}, "strip", z.ZodTypeAny, {
|
|
444
|
+
basis: "owner_reserve" | "provider_cooldown" | "provider_window";
|
|
445
|
+
constraintId: string | null;
|
|
446
|
+
usedRatio: number | null;
|
|
447
|
+
threshold: number | null;
|
|
448
|
+
}, {
|
|
449
|
+
basis: "owner_reserve" | "provider_cooldown" | "provider_window";
|
|
450
|
+
constraintId: string | null;
|
|
451
|
+
usedRatio: number | null;
|
|
452
|
+
threshold: number | null;
|
|
453
|
+
}>>;
|
|
250
454
|
vendorFailure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
251
455
|
code: z.ZodNullable<z.ZodString>;
|
|
252
456
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -339,21 +543,45 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
339
543
|
source: "grok_init";
|
|
340
544
|
reported_source: string;
|
|
341
545
|
} | undefined;
|
|
546
|
+
rawContextShortfall?: {
|
|
547
|
+
model: string;
|
|
548
|
+
context_window: number;
|
|
549
|
+
packet_tokens: number;
|
|
550
|
+
framing_tokens: number;
|
|
551
|
+
output_allowance_tokens: number;
|
|
552
|
+
mandatory_files: {
|
|
553
|
+
path: string;
|
|
554
|
+
estimated_tokens: number;
|
|
555
|
+
}[];
|
|
556
|
+
} | undefined;
|
|
342
557
|
captureFailure?: {
|
|
343
|
-
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
558
|
+
code: "capture_failed" | "capture_git_signal" | "capture_git_stalled" | "capture_object_missing" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated" | "capture_read_failed" | "capture_space_insufficient";
|
|
344
559
|
message: string;
|
|
345
560
|
causeCode?: string | undefined;
|
|
346
561
|
bufferBudgetBytes?: number | undefined;
|
|
347
562
|
stream?: "stderr" | "stdout" | undefined;
|
|
348
563
|
drain?: "truncated" | undefined;
|
|
564
|
+
requiredBytes?: number | undefined;
|
|
565
|
+
availableBytes?: number | undefined;
|
|
566
|
+
signal?: string | undefined;
|
|
567
|
+
stallMs?: number | undefined;
|
|
349
568
|
cleanup?: {
|
|
350
569
|
code: string | null;
|
|
351
570
|
message: string;
|
|
352
571
|
} | undefined;
|
|
572
|
+
inventory?: {
|
|
573
|
+
exact: false;
|
|
574
|
+
changedFiles: number;
|
|
575
|
+
largest: {
|
|
576
|
+
path: string;
|
|
577
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
578
|
+
sizeBytes: number | null;
|
|
579
|
+
}[];
|
|
580
|
+
} | undefined;
|
|
353
581
|
} | undefined;
|
|
354
582
|
phase: string;
|
|
355
583
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
356
|
-
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "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;
|
|
584
|
+
code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
357
585
|
harnessId: string | null;
|
|
358
586
|
attemptId: string | null;
|
|
359
587
|
safeMessage: string;
|
|
@@ -362,6 +590,12 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
362
590
|
eventRefs: string[];
|
|
363
591
|
runDir: string | null;
|
|
364
592
|
resetsAt: string | null;
|
|
593
|
+
quotaRefusal?: {
|
|
594
|
+
basis: "owner_reserve" | "provider_cooldown" | "provider_window";
|
|
595
|
+
constraintId: string | null;
|
|
596
|
+
usedRatio: number | null;
|
|
597
|
+
threshold: number | null;
|
|
598
|
+
} | undefined;
|
|
365
599
|
vendorFailure: {
|
|
366
600
|
code: string | null;
|
|
367
601
|
message: string | null;
|
|
@@ -406,21 +640,45 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
406
640
|
source: "grok_init";
|
|
407
641
|
reported_source: string;
|
|
408
642
|
} | undefined;
|
|
643
|
+
rawContextShortfall?: {
|
|
644
|
+
model: string;
|
|
645
|
+
context_window: number;
|
|
646
|
+
packet_tokens: number;
|
|
647
|
+
framing_tokens: number;
|
|
648
|
+
output_allowance_tokens: number;
|
|
649
|
+
mandatory_files: {
|
|
650
|
+
path: string;
|
|
651
|
+
estimated_tokens: number;
|
|
652
|
+
}[];
|
|
653
|
+
} | undefined;
|
|
409
654
|
captureFailure?: {
|
|
410
|
-
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
655
|
+
code: "capture_failed" | "capture_git_signal" | "capture_git_stalled" | "capture_object_missing" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated" | "capture_read_failed" | "capture_space_insufficient";
|
|
411
656
|
message: string;
|
|
412
657
|
causeCode?: string | undefined;
|
|
413
658
|
bufferBudgetBytes?: number | undefined;
|
|
414
659
|
stream?: "stderr" | "stdout" | undefined;
|
|
415
660
|
drain?: "truncated" | undefined;
|
|
661
|
+
requiredBytes?: number | undefined;
|
|
662
|
+
availableBytes?: number | undefined;
|
|
663
|
+
signal?: string | undefined;
|
|
664
|
+
stallMs?: number | undefined;
|
|
416
665
|
cleanup?: {
|
|
417
666
|
code: string | null;
|
|
418
667
|
message: string;
|
|
419
668
|
} | undefined;
|
|
669
|
+
inventory?: {
|
|
670
|
+
exact: false;
|
|
671
|
+
changedFiles: number;
|
|
672
|
+
largest: {
|
|
673
|
+
path: string;
|
|
674
|
+
change: "added" | "deleted" | "modified" | "type_changed";
|
|
675
|
+
sizeBytes: number | null;
|
|
676
|
+
}[];
|
|
677
|
+
} | undefined;
|
|
420
678
|
} | undefined;
|
|
421
679
|
phase?: string | undefined;
|
|
422
680
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
423
|
-
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "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;
|
|
681
|
+
code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
424
682
|
harnessId?: string | null | undefined;
|
|
425
683
|
attemptId?: string | null | undefined;
|
|
426
684
|
safeMessage: string;
|
|
@@ -429,6 +687,12 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
429
687
|
eventRefs?: string[] | undefined;
|
|
430
688
|
runDir?: string | null | undefined;
|
|
431
689
|
resetsAt?: string | null | undefined;
|
|
690
|
+
quotaRefusal?: {
|
|
691
|
+
basis: "owner_reserve" | "provider_cooldown" | "provider_window";
|
|
692
|
+
constraintId: string | null;
|
|
693
|
+
usedRatio: number | null;
|
|
694
|
+
threshold: number | null;
|
|
695
|
+
} | undefined;
|
|
432
696
|
vendorFailure?: {
|
|
433
697
|
code: string | null;
|
|
434
698
|
message: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-run-failure.d.ts","sourceRoot":"","sources":["../src/control-run-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"control-run-failure.d.ts","sourceRoot":"","sources":["../src/control-run-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,+kBA4CxB,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;;;+CAK+C;AAC/C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EA2B/B,CAAC;AACJ,MAAM,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