@claudexor/schema 3.0.3 → 3.1.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/LICENSE +1 -1
- package/dist/agent-capabilities.d.ts +37 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +14 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +384 -18
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +20 -1
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/budget.d.ts +75 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +46 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +41 -41
- package/dist/control-operation-responses.d.ts +287 -65
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +33 -3
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +600 -150
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +28 -2
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +1 -1
- package/dist/control-run-scope.d.ts +1 -1
- package/dist/control-thread-apply.d.ts +10 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control.d.ts +664 -156
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +76 -2
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +205 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +69 -1
- package/dist/decision.js.map +1 -1
- package/dist/deep-scan.d.ts +27 -0
- package/dist/deep-scan.d.ts.map +1 -0
- package/dist/deep-scan.js +27 -0
- package/dist/deep-scan.js.map +1 -0
- package/dist/delivery.d.ts +13 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +15 -0
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +59 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +85 -0
- package/dist/events.js.map +1 -1
- package/dist/harness.d.ts +111 -3
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +77 -1
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +193 -10
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +45 -0
- package/dist/operation.js.map +1 -1
- package/dist/output-schema-dialect.d.ts +22 -0
- package/dist/output-schema-dialect.d.ts.map +1 -0
- package/dist/output-schema-dialect.js +37 -0
- package/dist/output-schema-dialect.js.map +1 -0
- package/dist/output-schema.d.ts +26 -2
- package/dist/output-schema.d.ts.map +1 -1
- package/dist/output-schema.js +313 -16
- package/dist/output-schema.js.map +1 -1
- package/dist/plan.d.ts +2 -2
- package/dist/problem.d.ts +3 -3
- package/dist/project.d.ts +47 -12
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +32 -0
- package/dist/project.js.map +1 -1
- package/dist/readiness.d.ts +14 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/recovery.d.ts +14 -14
- package/dist/review.d.ts +7 -7
- package/dist/route.d.ts +2 -2
- package/dist/setup.d.ts +288 -94
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +90 -6
- package/dist/setup.js.map +1 -1
- package/dist/status-projection.d.ts +79 -4
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +161 -4
- package/dist/status-projection.js.map +1 -1
- package/dist/task.d.ts +14 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +9 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +779 -16
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +177 -4
- package/dist/telemetry.js.map +1 -1
- package/dist/tool-ref.d.ts +14 -0
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +15 -0
- package/dist/tool-ref.js.map +1 -1
- package/dist/work-report.d.ts +131 -0
- package/dist/work-report.d.ts.map +1 -0
- package/dist/work-report.js +124 -0
- package/dist/work-report.js.map +1 -0
- package/dist/workspace.d.ts +2 -2
- package/generated/AgentCapabilityCatalog.schema.json +35 -0
- package/generated/ControlApplyCheckResponse.schema.json +5 -0
- package/generated/ControlDeliveryResponse.schema.json +14 -0
- package/generated/ControlHarnessListResponse.schema.json +19 -0
- package/generated/ControlOperationCatalog.schema.json +74 -0
- package/generated/ControlOperationDescriptor.schema.json +74 -0
- package/generated/ControlOperationParameter.schema.json +75 -0
- package/generated/ControlProjectRemoveReceipt.schema.json +58 -0
- package/generated/ControlRunAgainDraft.schema.json +11 -0
- package/generated/ControlRunDetail.schema.json +403 -9
- package/generated/ControlRunListResponse.schema.json +229 -3
- package/generated/ControlRunStartRequest.schema.json +11 -0
- package/generated/ControlRunSummary.schema.json +215 -2
- package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
- package/generated/ControlSetupJobEvent.schema.json +28 -0
- package/generated/ControlSetupJobSnapshot.schema.json +28 -0
- package/generated/ControlThreadApplyResponse.schema.json +14 -0
- package/generated/ControlThreadDetail.schema.json +94 -1
- package/generated/ControlThreadTurnRequest.schema.json +11 -0
- package/generated/DecisionRecord.schema.json +178 -2
- package/generated/HarnessEvent.schema.json +79 -1
- package/generated/HarnessManifest.schema.json +19 -0
- package/generated/HarnessStatusDto.schema.json +19 -0
- package/generated/McpRunHandleResult.schema.json +286 -1
- package/generated/McpRunToolResult.schema.json +171 -1
- package/generated/RoutePoolDegradedPayload.schema.json +79 -0
- package/generated/RunEvent.schema.json +7 -1
- package/generated/RunFailure.schema.json +23 -1
- package/generated/RunTelemetry.schema.json +376 -1
- package/generated/StructuredOutputConformance.schema.json +83 -0
- package/generated/TaskContract.schema.json +16 -0
- package/package.json +2 -2
package/dist/events.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const ThreadHeadPing: z.ZodObject<{
|
|
|
36
36
|
revision: number;
|
|
37
37
|
}>;
|
|
38
38
|
export type ThreadHeadPing = z.infer<typeof ThreadHeadPing>;
|
|
39
|
-
export declare const RunEventType: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "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.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "output.ready", "gate.started", "gate.completed", "review.started", "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"]>;
|
|
39
|
+
export declare const RunEventType: 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.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "output.ready", "gate.started", "gate.completed", "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"]>;
|
|
40
40
|
export type RunEventType = z.infer<typeof RunEventType>;
|
|
41
41
|
/**
|
|
42
42
|
* Typed payload for `route.fallback.*` events. The orchestrator validates this
|
|
@@ -96,6 +96,61 @@ export declare const RoutePrimaryDivergedPayload: z.ZodObject<{
|
|
|
96
96
|
reason?: "quota_exhausted" | "money_exhausted" | "subscription_exhausted" | "rate_limited" | "harness_error" | "stall" | "web_evidence_unsatisfied" | "fallback_model" | "not_portable" | "auth_unavailable" | "readiness_preferred" | "manual" | undefined;
|
|
97
97
|
}>;
|
|
98
98
|
export type RoutePrimaryDivergedPayload = z.infer<typeof RoutePrimaryDivergedPayload>;
|
|
99
|
+
/** The routing stage at which an auto-pool lane was dropped. Typed so a
|
|
100
|
+
* disclosed omission preserves the ACTUAL cause (an access refusal is not an
|
|
101
|
+
* auth failure) instead of collapsing every drop to one reason (QA-043). */
|
|
102
|
+
export declare const RouteDropStage: z.ZodEnum<["discovery", "settings", "credential", "doctor", "capability", "access", "web", "attachment"]>;
|
|
103
|
+
export type RouteDropStage = z.infer<typeof RouteDropStage>;
|
|
104
|
+
/**
|
|
105
|
+
* Typed payload for `route.pool.degraded`. Emitted once at route resolution
|
|
106
|
+
* when an AUTO pool lost lanes and/or clamped width below the requested `n`.
|
|
107
|
+
* It is the canonical requested-vs-effective route receipt: the resolver never
|
|
108
|
+
* duplicates a surviving harness to refill a dropped lane's slot (the QA-043
|
|
109
|
+
* self-race), so the shrink is disclosed here rather than hidden as an
|
|
110
|
+
* identical extra candidate. Explicit pools throw at the drop and never reach
|
|
111
|
+
* this event, so a degraded auto pool is always attributable to real
|
|
112
|
+
* unavailability, not a silent substitution.
|
|
113
|
+
*/
|
|
114
|
+
export declare const RoutePoolDegradedPayload: z.ZodObject<{
|
|
115
|
+
requested_harnesses: z.ZodArray<z.ZodString, "many">;
|
|
116
|
+
effective_harnesses: z.ZodArray<z.ZodString, "many">;
|
|
117
|
+
requested_n: z.ZodNumber;
|
|
118
|
+
effective_n: z.ZodNumber;
|
|
119
|
+
dropped_lanes: z.ZodArray<z.ZodObject<{
|
|
120
|
+
harness_id: z.ZodString;
|
|
121
|
+
stage: z.ZodEnum<["discovery", "settings", "credential", "doctor", "capability", "access", "web", "attachment"]>;
|
|
122
|
+
detail: z.ZodString;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
detail: string;
|
|
125
|
+
harness_id: string;
|
|
126
|
+
stage: "web" | "access" | "credential" | "capability" | "settings" | "discovery" | "doctor" | "attachment";
|
|
127
|
+
}, {
|
|
128
|
+
detail: string;
|
|
129
|
+
harness_id: string;
|
|
130
|
+
stage: "web" | "access" | "credential" | "capability" | "settings" | "discovery" | "doctor" | "attachment";
|
|
131
|
+
}>, "many">;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
requested_harnesses: string[];
|
|
134
|
+
effective_harnesses: string[];
|
|
135
|
+
requested_n: number;
|
|
136
|
+
effective_n: number;
|
|
137
|
+
dropped_lanes: {
|
|
138
|
+
detail: string;
|
|
139
|
+
harness_id: string;
|
|
140
|
+
stage: "web" | "access" | "credential" | "capability" | "settings" | "discovery" | "doctor" | "attachment";
|
|
141
|
+
}[];
|
|
142
|
+
}, {
|
|
143
|
+
requested_harnesses: string[];
|
|
144
|
+
effective_harnesses: string[];
|
|
145
|
+
requested_n: number;
|
|
146
|
+
effective_n: number;
|
|
147
|
+
dropped_lanes: {
|
|
148
|
+
detail: string;
|
|
149
|
+
harness_id: string;
|
|
150
|
+
stage: "web" | "access" | "credential" | "capability" | "settings" | "discovery" | "doctor" | "attachment";
|
|
151
|
+
}[];
|
|
152
|
+
}>;
|
|
153
|
+
export type RoutePoolDegradedPayload = z.infer<typeof RoutePoolDegradedPayload>;
|
|
99
154
|
/** Append-only event record (one JSONL line). */
|
|
100
155
|
export declare const RunEvent: z.ZodObject<{
|
|
101
156
|
/**
|
|
@@ -110,10 +165,10 @@ export declare const RunEvent: z.ZodObject<{
|
|
|
110
165
|
/** Thread this run is a turn of, when any. Lets the global event multiplex
|
|
111
166
|
* route live progress to a chat surface without a reverse job lookup. */
|
|
112
167
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
113
|
-
type: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "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.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "output.ready", "gate.started", "gate.completed", "review.started", "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"]>;
|
|
168
|
+
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.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "output.ready", "gate.started", "gate.completed", "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"]>;
|
|
114
169
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
115
170
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
type: "run.created" | "task.contract.created" | "context.pack.created" | "project.git.initialized" | "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.transient.exhausted" | "route.fallback.auth_switched" | "route.primary.diverged" | "session.continuity" | "interaction.requested" | "interaction.answered" | "interaction.timeout" | "interaction.answer_discarded" | "plan.progress" | "plan.questions" | "plan.brief.materialized" | "council.started" | "council.draft" | "council.member.failed" | "council.merged" | "budget.quota_pressure" | "output.ready" | "gate.started" | "gate.completed" | "review.started" | "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";
|
|
171
|
+
type: "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.transient.exhausted" | "route.fallback.auth_switched" | "route.primary.diverged" | "route.pool.degraded" | "session.continuity" | "interaction.requested" | "interaction.answered" | "interaction.timeout" | "interaction.answer_discarded" | "plan.progress" | "plan.questions" | "plan.brief.materialized" | "council.started" | "council.draft" | "council.member.failed" | "council.merged" | "budget.quota_pressure" | "delegation.belt.unavailable" | "output.ready" | "gate.started" | "gate.completed" | "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";
|
|
117
172
|
ts: string;
|
|
118
173
|
payload: Record<string, unknown>;
|
|
119
174
|
run_id: string;
|
|
@@ -121,7 +176,7 @@ export declare const RunEvent: z.ZodObject<{
|
|
|
121
176
|
thread_id?: string | undefined;
|
|
122
177
|
seq?: number | undefined;
|
|
123
178
|
}, {
|
|
124
|
-
type: "run.created" | "task.contract.created" | "context.pack.created" | "project.git.initialized" | "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.transient.exhausted" | "route.fallback.auth_switched" | "route.primary.diverged" | "session.continuity" | "interaction.requested" | "interaction.answered" | "interaction.timeout" | "interaction.answer_discarded" | "plan.progress" | "plan.questions" | "plan.brief.materialized" | "council.started" | "council.draft" | "council.member.failed" | "council.merged" | "budget.quota_pressure" | "output.ready" | "gate.started" | "gate.completed" | "review.started" | "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";
|
|
179
|
+
type: "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.transient.exhausted" | "route.fallback.auth_switched" | "route.primary.diverged" | "route.pool.degraded" | "session.continuity" | "interaction.requested" | "interaction.answered" | "interaction.timeout" | "interaction.answer_discarded" | "plan.progress" | "plan.questions" | "plan.brief.materialized" | "council.started" | "council.draft" | "council.member.failed" | "council.merged" | "budget.quota_pressure" | "delegation.belt.unavailable" | "output.ready" | "gate.started" | "gate.completed" | "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";
|
|
125
180
|
ts: string;
|
|
126
181
|
run_id: string;
|
|
127
182
|
task_id: string;
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAU4C,CAAC;AAC7E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,iDAAiD;AACjD,eAAO,MAAM,QAAQ;IAEjB;;;;OAIG;;;;;IAYH;6EACyE;;;;;;;;;;;;;;;;;;;;EAKO,CAAC;AACrF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
package/dist/events.js
CHANGED
|
@@ -37,6 +37,13 @@ export const RunEventType = z
|
|
|
37
37
|
"task.contract.created",
|
|
38
38
|
"context.pack.created",
|
|
39
39
|
"project.git.initialized",
|
|
40
|
+
/** D-14 (INV-113): a thin `CLAUDE.md` bridge (`@AGENTS.md` import + ownership
|
|
41
|
+
* marker) was created at the PROJECT root because it had `AGENTS.md` and no
|
|
42
|
+
* `CLAUDE.md`, so a Claude Code route reads the same instructions codex/cursor
|
|
43
|
+
* read natively. The ONE live-tree write this feature adds; exclusive-create +
|
|
44
|
+
* no-follow, never overwriting a hand-written file, emitted only on an actual
|
|
45
|
+
* create. Payload: {project_root, path, source}. */
|
|
46
|
+
"project.claude_bridge.created",
|
|
40
47
|
"budget.lease.created",
|
|
41
48
|
"budget.observation",
|
|
42
49
|
"budget.cash",
|
|
@@ -63,6 +70,14 @@ export const RunEventType = z
|
|
|
63
70
|
* (no attempt was ever made on the primary to fall back FROM); never silent.
|
|
64
71
|
* Payload: RoutePrimaryDivergedPayload {requested, effective, reason, detail}. */
|
|
65
72
|
"route.primary.diverged",
|
|
73
|
+
/** QA-043: an AUTO pool dropped one or more incompatible lanes and/or its
|
|
74
|
+
* effective width fell below the requested `n`. The route resolver NEVER
|
|
75
|
+
* backfills a dropped lane's slot by duplicating a surviving harness (the
|
|
76
|
+
* self-race class), so a shrunk pool is disclosed here — requested vs
|
|
77
|
+
* effective harnesses/width plus every dropped lane and its typed stage.
|
|
78
|
+
* Explicit pools fail loudly at the drop instead of reaching this event.
|
|
79
|
+
* Payload: RoutePoolDegradedPayload. */
|
|
80
|
+
"route.pool.degraded",
|
|
66
81
|
/** A thread turn was continued across the conversation (INV-137); payload
|
|
67
82
|
* carries the ContinuityDisclosure stats (kind, packet_turns, summarized,
|
|
68
83
|
* lane_switched_from). Replaces the old static session.rebound phrase. */
|
|
@@ -81,10 +96,24 @@ export const RunEventType = z
|
|
|
81
96
|
"council.member.failed",
|
|
82
97
|
"council.merged",
|
|
83
98
|
"budget.quota_pressure",
|
|
99
|
+
/** QA-024: a --delegate attempt injected the Claudexor delegation belt but
|
|
100
|
+
* the harness reported its MCP server `failed` to start and no belt tool ran
|
|
101
|
+
* — the requested capability never became operational (the harness may have
|
|
102
|
+
* degraded to its own native subagent). Never silent: this surfaces the
|
|
103
|
+
* failed belt so the terminal outcome and UI can disclose it. Payload:
|
|
104
|
+
* {attempt_id, harness_id, server_name, reason}. */
|
|
105
|
+
"delegation.belt.unavailable",
|
|
84
106
|
"output.ready",
|
|
85
107
|
"gate.started",
|
|
86
108
|
"gate.completed",
|
|
87
109
|
"review.started",
|
|
110
|
+
/** QA-025: the paid reviewer panel was intentionally NOT run — every working
|
|
111
|
+
* candidate had an empty diff, or no reviewers were configured. Emitted
|
|
112
|
+
* INSTEAD of review.started so the audit trail never claims a review began
|
|
113
|
+
* that was skipped. Payload:
|
|
114
|
+
* {reason: "no_changes"|"no_reviewers", reviewable_candidates,
|
|
115
|
+
* configured_reviewers, configured_provider_families}. */
|
|
116
|
+
"review.skipped",
|
|
88
117
|
"reviewer.started",
|
|
89
118
|
"reviewer.first_event",
|
|
90
119
|
"reviewer.auth_switched",
|
|
@@ -104,6 +133,15 @@ export const RunEventType = z
|
|
|
104
133
|
"run.blocked",
|
|
105
134
|
"run.completed",
|
|
106
135
|
"run.failed",
|
|
136
|
+
/** D-16d: a one-shot automatic continuation was launched after a terminal
|
|
137
|
+
* context exhaustion (eligible cause, no completed WorkReport). Payload:
|
|
138
|
+
* {from_attempt, cause, continuation_count, packet_turns}. */
|
|
139
|
+
"run.continuation",
|
|
140
|
+
/** D-16d: an eligible one-shot continuation was REFUSED because its budget
|
|
141
|
+
* lease was denied — emitted INSTEAD of run.continuation so a denied lease
|
|
142
|
+
* never leaves a disclosure claiming a continuation launched. No attempt ran
|
|
143
|
+
* and the one-shot is not consumed. Payload: {from_attempt, cause, reason}. */
|
|
144
|
+
"run.continuation.denied",
|
|
107
145
|
])
|
|
108
146
|
.describe("Type of an append-only run event, covering run lifecycle, contract/context creation, budget, routing fallbacks, harness activity, interactions, gates, review, arbitration, work products, and control verbs.");
|
|
109
147
|
/**
|
|
@@ -156,6 +194,53 @@ export const RoutePrimaryDivergedPayload = z
|
|
|
156
194
|
.describe("Redacted human reason the primary was dropped (e.g. cooldown, unavailable)."),
|
|
157
195
|
})
|
|
158
196
|
.describe("Typed payload for route.primary.diverged, validated before being stamped onto the RunEvent payload so a pre-attempt primary divergence is always evidence-backed.");
|
|
197
|
+
/** The routing stage at which an auto-pool lane was dropped. Typed so a
|
|
198
|
+
* disclosed omission preserves the ACTUAL cause (an access refusal is not an
|
|
199
|
+
* auth failure) instead of collapsing every drop to one reason (QA-043). */
|
|
200
|
+
export const RouteDropStage = z
|
|
201
|
+
.enum([
|
|
202
|
+
"discovery",
|
|
203
|
+
"settings",
|
|
204
|
+
"credential",
|
|
205
|
+
"doctor",
|
|
206
|
+
"capability",
|
|
207
|
+
"access",
|
|
208
|
+
"web",
|
|
209
|
+
"attachment",
|
|
210
|
+
])
|
|
211
|
+
.describe("The routing stage at which an auto-pool lane was dropped.");
|
|
212
|
+
/**
|
|
213
|
+
* Typed payload for `route.pool.degraded`. Emitted once at route resolution
|
|
214
|
+
* when an AUTO pool lost lanes and/or clamped width below the requested `n`.
|
|
215
|
+
* It is the canonical requested-vs-effective route receipt: the resolver never
|
|
216
|
+
* duplicates a surviving harness to refill a dropped lane's slot (the QA-043
|
|
217
|
+
* self-race), so the shrink is disclosed here rather than hidden as an
|
|
218
|
+
* identical extra candidate. Explicit pools throw at the drop and never reach
|
|
219
|
+
* this event, so a degraded auto pool is always attributable to real
|
|
220
|
+
* unavailability, not a silent substitution.
|
|
221
|
+
*/
|
|
222
|
+
export const RoutePoolDegradedPayload = z
|
|
223
|
+
.object({
|
|
224
|
+
requested_harnesses: z
|
|
225
|
+
.array(z.string())
|
|
226
|
+
.describe("The pool the resolver considered (explicit ids or auto-derived)."),
|
|
227
|
+
effective_harnesses: z
|
|
228
|
+
.array(z.string())
|
|
229
|
+
.describe("Distinct harnesses that actually route, in attempt order."),
|
|
230
|
+
requested_n: z.number().int().describe("The requested candidate width for this run."),
|
|
231
|
+
effective_n: z
|
|
232
|
+
.number()
|
|
233
|
+
.int()
|
|
234
|
+
.describe("Distinct candidates that will run; never inflated by duplication."),
|
|
235
|
+
dropped_lanes: z
|
|
236
|
+
.array(z.object({
|
|
237
|
+
harness_id: z.string().describe("The dropped lane's harness id."),
|
|
238
|
+
stage: RouteDropStage,
|
|
239
|
+
detail: z.string().describe("Redacted human reason the lane was dropped."),
|
|
240
|
+
}))
|
|
241
|
+
.describe("Every lane excluded from the auto pool, with its typed stage and reason."),
|
|
242
|
+
})
|
|
243
|
+
.describe("Typed payload for route.pool.degraded: the requested-vs-effective route receipt for an auto pool that dropped lanes or clamped width, validated before being stamped onto the RunEvent payload.");
|
|
159
244
|
/** Append-only event record (one JSONL line). */
|
|
160
245
|
export const RunEvent = z
|
|
161
246
|
.object({
|
package/dist/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,CAAC,MAAM,mBAAmB,GAAG,C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C,QAAQ,CAAC,8BAA8B,CAAC;CAChG,CAAC;KACD,QAAQ,CAAC,uEAAuE,CAAC,CAAC"}
|
package/dist/harness.d.ts
CHANGED
|
@@ -68,6 +68,30 @@ export declare const HarnessCapabilities: z.ZodObject<{
|
|
|
68
68
|
* declaring this; everything else keeps fenced-JSON parsing.
|
|
69
69
|
*/
|
|
70
70
|
json_schema_output: z.ZodDefault<z.ZodBoolean>;
|
|
71
|
+
/**
|
|
72
|
+
* How the harness can carry the D-16 WorkReport envelope (a compiled
|
|
73
|
+
* wrapper over any caller output schema). Consumer: the orchestrator spec
|
|
74
|
+
* build compiles the envelope only for `constrained`/`validated` routes,
|
|
75
|
+
* and the attempt finalizer demands a report only from them.
|
|
76
|
+
* - `constrained`: a native schema-constrained transport carries it
|
|
77
|
+
* (codex --output-schema, claude StructuredOutput tool).
|
|
78
|
+
* - `validated`: no native flag; the whole final answer is validated JSON
|
|
79
|
+
* (cursor's instructed fenced envelope on the existing parse path).
|
|
80
|
+
* - `unsupported`: the route cannot carry a WorkReport; the work_state axis
|
|
81
|
+
* stays `unverified` (a disclosed absence, never a failure).
|
|
82
|
+
*/
|
|
83
|
+
work_report_transport: z.ZodDefault<z.ZodEnum<["constrained", "validated", "unsupported"]>>;
|
|
84
|
+
/**
|
|
85
|
+
* Where a schema-constrained structured answer surfaces relative to the
|
|
86
|
+
* final message. Consumer: the orchestrator's no-caller-schema envelope
|
|
87
|
+
* shape (D-16). `side_tool` (claude --json-schema materializes a
|
|
88
|
+
* StructuredOutput tool; the prose message stays markdown) lets a
|
|
89
|
+
* WorkReport-only envelope ride the tool while the markdown remains the
|
|
90
|
+
* deliverable. `final_message` (codex --output-schema, cursor fenced JSON)
|
|
91
|
+
* consumes the final message, so a no-caller WorkReport envelope must wrap
|
|
92
|
+
* the markdown deliverable as `output: string`.
|
|
93
|
+
*/
|
|
94
|
+
structured_output_channel: z.ZodDefault<z.ZodEnum<["side_tool", "final_message"]>>;
|
|
71
95
|
/**
|
|
72
96
|
* Ordered (weakest→strongest) reasoning-effort levels this harness actually
|
|
73
97
|
* accepts. Empty = effort is not a tunable surface. The shared effort
|
|
@@ -116,6 +140,8 @@ export declare const HarnessCapabilities: z.ZodObject<{
|
|
|
116
140
|
tool_lists: boolean;
|
|
117
141
|
interactive: boolean;
|
|
118
142
|
json_schema_output: boolean;
|
|
143
|
+
work_report_transport: "constrained" | "validated" | "unsupported";
|
|
144
|
+
structured_output_channel: "side_tool" | "final_message";
|
|
119
145
|
effort_levels: ("low" | "medium" | "high" | "xhigh" | "max")[];
|
|
120
146
|
known_models: (string | {
|
|
121
147
|
id: string;
|
|
@@ -137,6 +163,8 @@ export declare const HarnessCapabilities: z.ZodObject<{
|
|
|
137
163
|
tool_lists?: boolean | undefined;
|
|
138
164
|
interactive?: boolean | undefined;
|
|
139
165
|
json_schema_output?: boolean | undefined;
|
|
166
|
+
work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
|
|
167
|
+
structured_output_channel?: "side_tool" | "final_message" | undefined;
|
|
140
168
|
effort_levels?: ("low" | "medium" | "high" | "xhigh" | "max")[] | undefined;
|
|
141
169
|
known_models?: (string | {
|
|
142
170
|
id: string;
|
|
@@ -573,6 +601,30 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
573
601
|
* declaring this; everything else keeps fenced-JSON parsing.
|
|
574
602
|
*/
|
|
575
603
|
json_schema_output: z.ZodDefault<z.ZodBoolean>;
|
|
604
|
+
/**
|
|
605
|
+
* How the harness can carry the D-16 WorkReport envelope (a compiled
|
|
606
|
+
* wrapper over any caller output schema). Consumer: the orchestrator spec
|
|
607
|
+
* build compiles the envelope only for `constrained`/`validated` routes,
|
|
608
|
+
* and the attempt finalizer demands a report only from them.
|
|
609
|
+
* - `constrained`: a native schema-constrained transport carries it
|
|
610
|
+
* (codex --output-schema, claude StructuredOutput tool).
|
|
611
|
+
* - `validated`: no native flag; the whole final answer is validated JSON
|
|
612
|
+
* (cursor's instructed fenced envelope on the existing parse path).
|
|
613
|
+
* - `unsupported`: the route cannot carry a WorkReport; the work_state axis
|
|
614
|
+
* stays `unverified` (a disclosed absence, never a failure).
|
|
615
|
+
*/
|
|
616
|
+
work_report_transport: z.ZodDefault<z.ZodEnum<["constrained", "validated", "unsupported"]>>;
|
|
617
|
+
/**
|
|
618
|
+
* Where a schema-constrained structured answer surfaces relative to the
|
|
619
|
+
* final message. Consumer: the orchestrator's no-caller-schema envelope
|
|
620
|
+
* shape (D-16). `side_tool` (claude --json-schema materializes a
|
|
621
|
+
* StructuredOutput tool; the prose message stays markdown) lets a
|
|
622
|
+
* WorkReport-only envelope ride the tool while the markdown remains the
|
|
623
|
+
* deliverable. `final_message` (codex --output-schema, cursor fenced JSON)
|
|
624
|
+
* consumes the final message, so a no-caller WorkReport envelope must wrap
|
|
625
|
+
* the markdown deliverable as `output: string`.
|
|
626
|
+
*/
|
|
627
|
+
structured_output_channel: z.ZodDefault<z.ZodEnum<["side_tool", "final_message"]>>;
|
|
576
628
|
/**
|
|
577
629
|
* Ordered (weakest→strongest) reasoning-effort levels this harness actually
|
|
578
630
|
* accepts. Empty = effort is not a tunable surface. The shared effort
|
|
@@ -621,6 +673,8 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
621
673
|
tool_lists: boolean;
|
|
622
674
|
interactive: boolean;
|
|
623
675
|
json_schema_output: boolean;
|
|
676
|
+
work_report_transport: "constrained" | "validated" | "unsupported";
|
|
677
|
+
structured_output_channel: "side_tool" | "final_message";
|
|
624
678
|
effort_levels: ("low" | "medium" | "high" | "xhigh" | "max")[];
|
|
625
679
|
known_models: (string | {
|
|
626
680
|
id: string;
|
|
@@ -642,6 +696,8 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
642
696
|
tool_lists?: boolean | undefined;
|
|
643
697
|
interactive?: boolean | undefined;
|
|
644
698
|
json_schema_output?: boolean | undefined;
|
|
699
|
+
work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
|
|
700
|
+
structured_output_channel?: "side_tool" | "final_message" | undefined;
|
|
645
701
|
effort_levels?: ("low" | "medium" | "high" | "xhigh" | "max")[] | undefined;
|
|
646
702
|
known_models?: (string | {
|
|
647
703
|
id: string;
|
|
@@ -697,6 +753,8 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
697
753
|
tool_lists: boolean;
|
|
698
754
|
interactive: boolean;
|
|
699
755
|
json_schema_output: boolean;
|
|
756
|
+
work_report_transport: "constrained" | "validated" | "unsupported";
|
|
757
|
+
structured_output_channel: "side_tool" | "final_message";
|
|
700
758
|
effort_levels: ("low" | "medium" | "high" | "xhigh" | "max")[];
|
|
701
759
|
known_models: (string | {
|
|
702
760
|
id: string;
|
|
@@ -727,6 +785,8 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
727
785
|
tool_lists?: boolean | undefined;
|
|
728
786
|
interactive?: boolean | undefined;
|
|
729
787
|
json_schema_output?: boolean | undefined;
|
|
788
|
+
work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
|
|
789
|
+
structured_output_channel?: "side_tool" | "final_message" | undefined;
|
|
730
790
|
effort_levels?: ("low" | "medium" | "high" | "xhigh" | "max")[] | undefined;
|
|
731
791
|
known_models?: (string | {
|
|
732
792
|
id: string;
|
|
@@ -1540,7 +1600,7 @@ export declare const InteractionAnswerSet: z.ZodObject<{
|
|
|
1540
1600
|
export type InteractionAnswerSet = z.infer<typeof InteractionAnswerSet>;
|
|
1541
1601
|
/** Normalized event emitted by every adapter (the SSOT of adapter output). */
|
|
1542
1602
|
export declare const HarnessEvent: z.ZodObject<{
|
|
1543
|
-
type: z.ZodEnum<["started", "thinking", "message", "tool_call", "tool_result", "interaction_requested", "file_change", "patch_produced", "usage", "error", "status", "completed"]>;
|
|
1603
|
+
type: z.ZodEnum<["started", "thinking", "message", "tool_call", "tool_result", "interaction_requested", "file_change", "patch_produced", "usage", "error", "status", "context", "completed"]>;
|
|
1544
1604
|
session_id: z.ZodString;
|
|
1545
1605
|
ts: z.ZodString;
|
|
1546
1606
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1561,6 +1621,7 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1561
1621
|
error_summary: z.ZodOptional<z.ZodString>;
|
|
1562
1622
|
content_summary: z.ZodOptional<z.ZodString>;
|
|
1563
1623
|
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
1624
|
+
web_retrieval: z.ZodOptional<z.ZodEnum<["verified", "dispatched", "failed"]>>;
|
|
1564
1625
|
}, "strip", z.ZodTypeAny, {
|
|
1565
1626
|
kind: "web" | "file" | "command" | "mcp" | "search" | "other";
|
|
1566
1627
|
name: string;
|
|
@@ -1570,6 +1631,7 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1570
1631
|
error_summary?: string | undefined;
|
|
1571
1632
|
content_summary?: string | undefined;
|
|
1572
1633
|
exit_code?: number | undefined;
|
|
1634
|
+
web_retrieval?: "failed" | "verified" | "dispatched" | undefined;
|
|
1573
1635
|
}, {
|
|
1574
1636
|
name: string;
|
|
1575
1637
|
status?: "cancelled" | "ok" | "error" | "denied" | undefined;
|
|
@@ -1579,6 +1641,7 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1579
1641
|
error_summary?: string | undefined;
|
|
1580
1642
|
content_summary?: string | undefined;
|
|
1581
1643
|
exit_code?: number | undefined;
|
|
1644
|
+
web_retrieval?: "failed" | "verified" | "dispatched" | undefined;
|
|
1582
1645
|
}>>;
|
|
1583
1646
|
/** Set on `interaction_requested` events. */
|
|
1584
1647
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
@@ -1856,11 +1919,40 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1856
1919
|
kind?: "unknown" | "network" | "stream_disconnect" | "service_unavailable" | "timeout" | undefined;
|
|
1857
1920
|
retry_delay_ms?: number | null | undefined;
|
|
1858
1921
|
}>>;
|
|
1922
|
+
/**
|
|
1923
|
+
* Typed CONTEXT-management signal (D-16), a sibling of `transient`/
|
|
1924
|
+
* `rate_limit` and DELIBERATELY separate from the transient-retry taxonomy:
|
|
1925
|
+
* adapters set it in their parse layer from native compaction / context-
|
|
1926
|
+
* exhaustion frames (claude `compact_boundary` system frames + result
|
|
1927
|
+
* `terminal_reason`, codex only when a recorded fixture proves a typed
|
|
1928
|
+
* marker). Context signals NEVER enter the transient_retry loop; a terminal
|
|
1929
|
+
* `capacity_exhausted` with no completed WorkReport is what the finalizer
|
|
1930
|
+
* maps to `interrupted / context_capacity_exhausted`.
|
|
1931
|
+
*/
|
|
1932
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1933
|
+
kind: z.ZodEnum<["compaction_started", "compaction_completed", "capacity_exhausted"]>;
|
|
1934
|
+
cause: z.ZodDefault<z.ZodEnum<["prompt_too_long", "repeated_refill", "blocking_limit", "window_exceeded", "unknown"]>>;
|
|
1935
|
+
native_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1936
|
+
trigger: z.ZodDefault<z.ZodNullable<z.ZodEnum<["manual", "auto"]>>>;
|
|
1937
|
+
pre_tokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1938
|
+
}, "strip", z.ZodTypeAny, {
|
|
1939
|
+
kind: "compaction_started" | "compaction_completed" | "capacity_exhausted";
|
|
1940
|
+
cause: "unknown" | "prompt_too_long" | "repeated_refill" | "blocking_limit" | "window_exceeded";
|
|
1941
|
+
native_code: string | null;
|
|
1942
|
+
trigger: "auto" | "manual" | null;
|
|
1943
|
+
pre_tokens: number | null;
|
|
1944
|
+
}, {
|
|
1945
|
+
kind: "compaction_started" | "compaction_completed" | "capacity_exhausted";
|
|
1946
|
+
cause?: "unknown" | "prompt_too_long" | "repeated_refill" | "blocking_limit" | "window_exceeded" | undefined;
|
|
1947
|
+
native_code?: string | null | undefined;
|
|
1948
|
+
trigger?: "auto" | "manual" | null | undefined;
|
|
1949
|
+
pre_tokens?: number | null | undefined;
|
|
1950
|
+
}>>;
|
|
1859
1951
|
error: z.ZodOptional<z.ZodString>;
|
|
1860
1952
|
aborted: z.ZodOptional<z.ZodBoolean>;
|
|
1861
1953
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1862
1954
|
}, "strip", z.ZodTypeAny, {
|
|
1863
|
-
type: "message" | "status" | "completed" | "error" | "started" | "thinking" | "tool_call" | "tool_result" | "interaction_requested" | "file_change" | "patch_produced" | "usage";
|
|
1955
|
+
type: "message" | "status" | "completed" | "error" | "started" | "thinking" | "tool_call" | "tool_result" | "interaction_requested" | "file_change" | "patch_produced" | "usage" | "context";
|
|
1864
1956
|
session_id: string;
|
|
1865
1957
|
ts: string;
|
|
1866
1958
|
aborted?: boolean | undefined;
|
|
@@ -1880,6 +1972,13 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1880
1972
|
cached_input_tokens?: number | undefined;
|
|
1881
1973
|
cost_usd?: number | undefined;
|
|
1882
1974
|
} | undefined;
|
|
1975
|
+
context?: {
|
|
1976
|
+
kind: "compaction_started" | "compaction_completed" | "capacity_exhausted";
|
|
1977
|
+
cause: "unknown" | "prompt_too_long" | "repeated_refill" | "blocking_limit" | "window_exceeded";
|
|
1978
|
+
native_code: string | null;
|
|
1979
|
+
trigger: "auto" | "manual" | null;
|
|
1980
|
+
pre_tokens: number | null;
|
|
1981
|
+
} | undefined;
|
|
1883
1982
|
text?: string | undefined;
|
|
1884
1983
|
final?: boolean | undefined;
|
|
1885
1984
|
tool?: {
|
|
@@ -1891,6 +1990,7 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1891
1990
|
error_summary?: string | undefined;
|
|
1892
1991
|
content_summary?: string | undefined;
|
|
1893
1992
|
exit_code?: number | undefined;
|
|
1993
|
+
web_retrieval?: "failed" | "verified" | "dispatched" | undefined;
|
|
1894
1994
|
} | undefined;
|
|
1895
1995
|
interaction?: {
|
|
1896
1996
|
interaction_id: string;
|
|
@@ -1951,7 +2051,7 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1951
2051
|
} | undefined;
|
|
1952
2052
|
payload?: Record<string, unknown> | undefined;
|
|
1953
2053
|
}, {
|
|
1954
|
-
type: "message" | "status" | "completed" | "error" | "started" | "thinking" | "tool_call" | "tool_result" | "interaction_requested" | "file_change" | "patch_produced" | "usage";
|
|
2054
|
+
type: "message" | "status" | "completed" | "error" | "started" | "thinking" | "tool_call" | "tool_result" | "interaction_requested" | "file_change" | "patch_produced" | "usage" | "context";
|
|
1955
2055
|
session_id: string;
|
|
1956
2056
|
ts: string;
|
|
1957
2057
|
aborted?: boolean | undefined;
|
|
@@ -1971,6 +2071,13 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1971
2071
|
cached_input_tokens?: number | undefined;
|
|
1972
2072
|
cost_usd?: number | undefined;
|
|
1973
2073
|
} | undefined;
|
|
2074
|
+
context?: {
|
|
2075
|
+
kind: "compaction_started" | "compaction_completed" | "capacity_exhausted";
|
|
2076
|
+
cause?: "unknown" | "prompt_too_long" | "repeated_refill" | "blocking_limit" | "window_exceeded" | undefined;
|
|
2077
|
+
native_code?: string | null | undefined;
|
|
2078
|
+
trigger?: "auto" | "manual" | null | undefined;
|
|
2079
|
+
pre_tokens?: number | null | undefined;
|
|
2080
|
+
} | undefined;
|
|
1974
2081
|
text?: string | undefined;
|
|
1975
2082
|
final?: boolean | undefined;
|
|
1976
2083
|
tool?: {
|
|
@@ -1982,6 +2089,7 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
1982
2089
|
error_summary?: string | undefined;
|
|
1983
2090
|
content_summary?: string | undefined;
|
|
1984
2091
|
exit_code?: number | undefined;
|
|
2092
|
+
web_retrieval?: "failed" | "verified" | "dispatched" | undefined;
|
|
1985
2093
|
} | undefined;
|
|
1986
2094
|
interaction?: {
|
|
1987
2095
|
interaction_id: string;
|
package/dist/harness.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../src/harness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,M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