@claudexor/schema 4.8.1 → 5.0.1
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-gc.d.ts +377 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +74 -1
- package/dist/control-gc.js.map +1 -1
- 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 +1193 -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 +9 -0
- package/dist/control-timeline.d.ts.map +1 -1
- package/dist/control-timeline.js +20 -3
- package/dist/control-timeline.js.map +1 -1
- package/dist/control.d.ts +392 -42
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +13 -7
- 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/daemon-status.d.ts +492 -0
- package/dist/daemon-status.d.ts.map +1 -1
- package/dist/daemon-status.js +22 -0
- package/dist/daemon-status.js.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 +10 -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-speech.d.ts +36 -0
- package/dist/harness-speech.d.ts.map +1 -0
- package/dist/harness-speech.js +27 -0
- package/dist/harness-speech.js.map +1 -0
- package/dist/harness.d.ts +371 -35
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +7 -21
- 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/run-observation.d.ts +6 -6
- package/dist/run-observation.d.ts.map +1 -1
- package/dist/run-observation.js +7 -1
- package/dist/run-observation.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/task-group-runs.d.ts +1 -0
- package/dist/task-group-runs.d.ts.map +1 -1
- package/dist/task-group-runs.js +6 -3
- package/dist/task-group-runs.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/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/ControlDaemonStatus.schema.json +112 -43
- package/generated/ControlDeliveryResponse.schema.json +154 -0
- package/generated/ControlGcLastResponse.schema.json +184 -0
- package/generated/ControlGcReceipt.schema.json +60 -1
- package/generated/ControlGcRequest.schema.json +4 -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/ControlRunDecisionResponse.schema.json +14 -0
- package/generated/ControlRunDetail.schema.json +376 -6
- package/generated/ControlRunEventPart.schema.json +3 -2
- package/generated/ControlRunListResponse.schema.json +342 -3
- package/generated/ControlRunMessageRequest.schema.json +1 -1
- package/generated/ControlRunSummary.schema.json +342 -3
- package/generated/ControlThreadApplyResponse.schema.json +154 -0
- package/generated/ControlThreadDetail.schema.json +2 -1
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/HarnessEvent.schema.json +214 -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 +2 -1
- package/generated/RawContextPacket.schema.json +98 -0
- package/generated/RunContinuityReceipt.schema.json +8 -0
- package/generated/RunEvent.schema.json +2 -1
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +201 -0
- package/generated/RunTelemetry.schema.json +123 -2
- package/generated/RunWaitManyInput.schema.json +11 -4
- package/generated/ThreadHistoryPage.schema.json +204 -2
- package/package.json +2 -2
package/dist/harness.d.ts
CHANGED
|
@@ -30,6 +30,28 @@ export type WebPolicySupport = z.infer<typeof WebPolicySupport>;
|
|
|
30
30
|
* gate that reads it).
|
|
31
31
|
*/
|
|
32
32
|
export declare const HarnessCapabilities: z.ZodObject<{
|
|
33
|
+
model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
|
|
34
|
+
model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
|
|
35
|
+
model_routing_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
|
+
suffix: z.ZodString;
|
|
37
|
+
billing: z.ZodEnum<["base", "service_tier"]>;
|
|
38
|
+
}, "strict", z.ZodTypeAny, {
|
|
39
|
+
suffix: string;
|
|
40
|
+
billing: "base" | "service_tier";
|
|
41
|
+
}, {
|
|
42
|
+
suffix: string;
|
|
43
|
+
billing: "base" | "service_tier";
|
|
44
|
+
}>, "many">>;
|
|
45
|
+
model_refused_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
+
suffix: z.ZodString;
|
|
47
|
+
reason: z.ZodEnum<["provider_web_search"]>;
|
|
48
|
+
}, "strict", z.ZodTypeAny, {
|
|
49
|
+
suffix: string;
|
|
50
|
+
reason: "provider_web_search";
|
|
51
|
+
}, {
|
|
52
|
+
suffix: string;
|
|
53
|
+
reason: "provider_web_search";
|
|
54
|
+
}>, "many">>;
|
|
33
55
|
processing_preferences: z.ZodOptional<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
|
|
34
56
|
plan: z.ZodDefault<z.ZodBoolean>;
|
|
35
57
|
implement: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -119,16 +141,6 @@ export declare const HarnessCapabilities: z.ZodObject<{
|
|
|
119
141
|
* apart. Null = never verified / not applicable.
|
|
120
142
|
*/
|
|
121
143
|
effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
122
|
-
model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
|
|
123
|
-
/**
|
|
124
|
-
* What this harness's model lists prove (INV-104) — the live `models()`
|
|
125
|
-
* answer and the manifest `known_models` hints alike. A list always proves
|
|
126
|
-
* PRESENCE; this says whether an absence from it is proof too. `authoritative`
|
|
127
|
-
* (the default when omitted) keeps the strict gate: a model the list lacks is
|
|
128
|
-
* refused. `advisory` means the harness cannot enumerate what its runtime
|
|
129
|
-
* accepts, so the gate forwards the explicit model byte-identical and discloses it.
|
|
130
|
-
*/
|
|
131
|
-
model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
|
|
132
144
|
/**
|
|
133
145
|
* Known model ids/aliases this harness accepts — the manifest-declared model
|
|
134
146
|
* truth source when no live `models()` producer applies to the credential route.
|
|
@@ -157,6 +169,16 @@ export declare const HarnessCapabilities: z.ZodObject<{
|
|
|
157
169
|
*/
|
|
158
170
|
known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
159
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
173
|
+
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
174
|
+
model_routing_variants?: {
|
|
175
|
+
suffix: string;
|
|
176
|
+
billing: "base" | "service_tier";
|
|
177
|
+
}[] | undefined;
|
|
178
|
+
model_refused_variants?: {
|
|
179
|
+
suffix: string;
|
|
180
|
+
reason: "provider_web_search";
|
|
181
|
+
}[] | undefined;
|
|
160
182
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
161
183
|
plan: boolean;
|
|
162
184
|
implement: boolean;
|
|
@@ -180,14 +202,22 @@ export declare const HarnessCapabilities: z.ZodObject<{
|
|
|
180
202
|
default: string | null;
|
|
181
203
|
}>;
|
|
182
204
|
effort_levels_verified_against: string | null;
|
|
183
|
-
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
184
|
-
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
185
205
|
known_models: (string | {
|
|
186
206
|
id: string;
|
|
187
207
|
routes: ("api_key" | "local_session")[];
|
|
188
208
|
})[];
|
|
189
209
|
known_models_verified_against: string | null;
|
|
190
210
|
}, {
|
|
211
|
+
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
212
|
+
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
213
|
+
model_routing_variants?: {
|
|
214
|
+
suffix: string;
|
|
215
|
+
billing: "base" | "service_tier";
|
|
216
|
+
}[] | undefined;
|
|
217
|
+
model_refused_variants?: {
|
|
218
|
+
suffix: string;
|
|
219
|
+
reason: "provider_web_search";
|
|
220
|
+
}[] | undefined;
|
|
191
221
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
192
222
|
plan?: boolean | undefined;
|
|
193
223
|
implement?: boolean | undefined;
|
|
@@ -211,8 +241,6 @@ export declare const HarnessCapabilities: z.ZodObject<{
|
|
|
211
241
|
default?: string | null | undefined;
|
|
212
242
|
}> | undefined;
|
|
213
243
|
effort_levels_verified_against?: string | null | undefined;
|
|
214
|
-
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
215
|
-
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
216
244
|
known_models?: (string | {
|
|
217
245
|
id: string;
|
|
218
246
|
routes: ("api_key" | "local_session")[];
|
|
@@ -871,6 +899,28 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
871
899
|
}>>;
|
|
872
900
|
/** Compatibility convenience fields. New routing/UI should prefer capability_profile. */
|
|
873
901
|
capabilities: z.ZodObject<{
|
|
902
|
+
model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
|
|
903
|
+
model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
|
|
904
|
+
model_routing_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
905
|
+
suffix: z.ZodString;
|
|
906
|
+
billing: z.ZodEnum<["base", "service_tier"]>;
|
|
907
|
+
}, "strict", z.ZodTypeAny, {
|
|
908
|
+
suffix: string;
|
|
909
|
+
billing: "base" | "service_tier";
|
|
910
|
+
}, {
|
|
911
|
+
suffix: string;
|
|
912
|
+
billing: "base" | "service_tier";
|
|
913
|
+
}>, "many">>;
|
|
914
|
+
model_refused_variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
915
|
+
suffix: z.ZodString;
|
|
916
|
+
reason: z.ZodEnum<["provider_web_search"]>;
|
|
917
|
+
}, "strict", z.ZodTypeAny, {
|
|
918
|
+
suffix: string;
|
|
919
|
+
reason: "provider_web_search";
|
|
920
|
+
}, {
|
|
921
|
+
suffix: string;
|
|
922
|
+
reason: "provider_web_search";
|
|
923
|
+
}>, "many">>;
|
|
874
924
|
processing_preferences: z.ZodOptional<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
|
|
875
925
|
plan: z.ZodDefault<z.ZodBoolean>;
|
|
876
926
|
implement: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -960,16 +1010,6 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
960
1010
|
* apart. Null = never verified / not applicable.
|
|
961
1011
|
*/
|
|
962
1012
|
effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
963
|
-
model_inventory_routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>;
|
|
964
|
-
/**
|
|
965
|
-
* What this harness's model lists prove (INV-104) — the live `models()`
|
|
966
|
-
* answer and the manifest `known_models` hints alike. A list always proves
|
|
967
|
-
* PRESENCE; this says whether an absence from it is proof too. `authoritative`
|
|
968
|
-
* (the default when omitted) keeps the strict gate: a model the list lacks is
|
|
969
|
-
* refused. `advisory` means the harness cannot enumerate what its runtime
|
|
970
|
-
* accepts, so the gate forwards the explicit model byte-identical and discloses it.
|
|
971
|
-
*/
|
|
972
|
-
model_inventory_absence: z.ZodOptional<z.ZodEnum<["authoritative", "advisory"]>>;
|
|
973
1013
|
/**
|
|
974
1014
|
* Known model ids/aliases this harness accepts — the manifest-declared model
|
|
975
1015
|
* truth source when no live `models()` producer applies to the credential route.
|
|
@@ -998,6 +1038,16 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
998
1038
|
*/
|
|
999
1039
|
known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1000
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
|
+
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
1042
|
+
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
1043
|
+
model_routing_variants?: {
|
|
1044
|
+
suffix: string;
|
|
1045
|
+
billing: "base" | "service_tier";
|
|
1046
|
+
}[] | undefined;
|
|
1047
|
+
model_refused_variants?: {
|
|
1048
|
+
suffix: string;
|
|
1049
|
+
reason: "provider_web_search";
|
|
1050
|
+
}[] | undefined;
|
|
1001
1051
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
1002
1052
|
plan: boolean;
|
|
1003
1053
|
implement: boolean;
|
|
@@ -1021,14 +1071,22 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
1021
1071
|
default: string | null;
|
|
1022
1072
|
}>;
|
|
1023
1073
|
effort_levels_verified_against: string | null;
|
|
1024
|
-
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
1025
|
-
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
1026
1074
|
known_models: (string | {
|
|
1027
1075
|
id: string;
|
|
1028
1076
|
routes: ("api_key" | "local_session")[];
|
|
1029
1077
|
})[];
|
|
1030
1078
|
known_models_verified_against: string | null;
|
|
1031
1079
|
}, {
|
|
1080
|
+
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
1081
|
+
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
1082
|
+
model_routing_variants?: {
|
|
1083
|
+
suffix: string;
|
|
1084
|
+
billing: "base" | "service_tier";
|
|
1085
|
+
}[] | undefined;
|
|
1086
|
+
model_refused_variants?: {
|
|
1087
|
+
suffix: string;
|
|
1088
|
+
reason: "provider_web_search";
|
|
1089
|
+
}[] | undefined;
|
|
1032
1090
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
1033
1091
|
plan?: boolean | undefined;
|
|
1034
1092
|
implement?: boolean | undefined;
|
|
@@ -1052,8 +1110,6 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
1052
1110
|
default?: string | null | undefined;
|
|
1053
1111
|
}> | undefined;
|
|
1054
1112
|
effort_levels_verified_against?: string | null | undefined;
|
|
1055
|
-
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
1056
|
-
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
1057
1113
|
known_models?: (string | {
|
|
1058
1114
|
id: string;
|
|
1059
1115
|
routes: ("api_key" | "local_session")[];
|
|
@@ -1118,6 +1174,16 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
1118
1174
|
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
1119
1175
|
};
|
|
1120
1176
|
capabilities: {
|
|
1177
|
+
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
1178
|
+
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
1179
|
+
model_routing_variants?: {
|
|
1180
|
+
suffix: string;
|
|
1181
|
+
billing: "base" | "service_tier";
|
|
1182
|
+
}[] | undefined;
|
|
1183
|
+
model_refused_variants?: {
|
|
1184
|
+
suffix: string;
|
|
1185
|
+
reason: "provider_web_search";
|
|
1186
|
+
}[] | undefined;
|
|
1121
1187
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
1122
1188
|
plan: boolean;
|
|
1123
1189
|
implement: boolean;
|
|
@@ -1141,8 +1207,6 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
1141
1207
|
default: string | null;
|
|
1142
1208
|
}>;
|
|
1143
1209
|
effort_levels_verified_against: string | null;
|
|
1144
|
-
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
1145
|
-
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
1146
1210
|
known_models: (string | {
|
|
1147
1211
|
id: string;
|
|
1148
1212
|
routes: ("api_key" | "local_session")[];
|
|
@@ -1207,6 +1271,16 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
1207
1271
|
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
1208
1272
|
} | undefined;
|
|
1209
1273
|
capabilities: {
|
|
1274
|
+
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
1275
|
+
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
1276
|
+
model_routing_variants?: {
|
|
1277
|
+
suffix: string;
|
|
1278
|
+
billing: "base" | "service_tier";
|
|
1279
|
+
}[] | undefined;
|
|
1280
|
+
model_refused_variants?: {
|
|
1281
|
+
suffix: string;
|
|
1282
|
+
reason: "provider_web_search";
|
|
1283
|
+
}[] | undefined;
|
|
1210
1284
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
1211
1285
|
plan?: boolean | undefined;
|
|
1212
1286
|
implement?: boolean | undefined;
|
|
@@ -1230,8 +1304,6 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
1230
1304
|
default?: string | null | undefined;
|
|
1231
1305
|
}> | undefined;
|
|
1232
1306
|
effort_levels_verified_against?: string | null | undefined;
|
|
1233
|
-
model_inventory_routes?: ("api_key" | "local_session")[] | undefined;
|
|
1234
|
-
model_inventory_absence?: "advisory" | "authoritative" | undefined;
|
|
1235
1307
|
known_models?: (string | {
|
|
1236
1308
|
id: string;
|
|
1237
1309
|
routes: ("api_key" | "local_session")[];
|
|
@@ -1606,6 +1678,40 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1606
1678
|
raw_context_packet: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1607
1679
|
schema_version: z.ZodLiteral<1>;
|
|
1608
1680
|
packet_hash: z.ZodString;
|
|
1681
|
+
budget: z.ZodOptional<z.ZodObject<{
|
|
1682
|
+
estimator: z.ZodLiteral<"chars_div_4">;
|
|
1683
|
+
basis: z.ZodEnum<["model_context_window", "assumed_ceiling"]>;
|
|
1684
|
+
model: z.ZodNullable<z.ZodString>;
|
|
1685
|
+
context_window: z.ZodNullable<z.ZodNumber>;
|
|
1686
|
+
output_allowance_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1687
|
+
framing_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1688
|
+
selection_limit_tokens: z.ZodNumber;
|
|
1689
|
+
estimated_packet_tokens: z.ZodNumber;
|
|
1690
|
+
omitted_for_budget: z.ZodNumber;
|
|
1691
|
+
mandatory_paths: z.ZodArray<z.ZodString, "many">;
|
|
1692
|
+
}, "strict", z.ZodTypeAny, {
|
|
1693
|
+
estimator: "chars_div_4";
|
|
1694
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
1695
|
+
model: string | null;
|
|
1696
|
+
context_window: number | null;
|
|
1697
|
+
output_allowance_tokens: number | null;
|
|
1698
|
+
framing_tokens: number | null;
|
|
1699
|
+
selection_limit_tokens: number;
|
|
1700
|
+
estimated_packet_tokens: number;
|
|
1701
|
+
omitted_for_budget: number;
|
|
1702
|
+
mandatory_paths: string[];
|
|
1703
|
+
}, {
|
|
1704
|
+
estimator: "chars_div_4";
|
|
1705
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
1706
|
+
model: string | null;
|
|
1707
|
+
context_window: number | null;
|
|
1708
|
+
output_allowance_tokens: number | null;
|
|
1709
|
+
framing_tokens: number | null;
|
|
1710
|
+
selection_limit_tokens: number;
|
|
1711
|
+
estimated_packet_tokens: number;
|
|
1712
|
+
omitted_for_budget: number;
|
|
1713
|
+
mandatory_paths: string[];
|
|
1714
|
+
}>>;
|
|
1609
1715
|
base_commit_sha: z.ZodString;
|
|
1610
1716
|
base_tree_sha: z.ZodString;
|
|
1611
1717
|
readable_files: z.ZodArray<z.ZodObject<{
|
|
@@ -1668,6 +1774,18 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1668
1774
|
}, "strip", z.ZodTypeAny, {
|
|
1669
1775
|
schema_version: 1;
|
|
1670
1776
|
packet_hash: string;
|
|
1777
|
+
budget?: {
|
|
1778
|
+
estimator: "chars_div_4";
|
|
1779
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
1780
|
+
model: string | null;
|
|
1781
|
+
context_window: number | null;
|
|
1782
|
+
output_allowance_tokens: number | null;
|
|
1783
|
+
framing_tokens: number | null;
|
|
1784
|
+
selection_limit_tokens: number;
|
|
1785
|
+
estimated_packet_tokens: number;
|
|
1786
|
+
omitted_for_budget: number;
|
|
1787
|
+
mandatory_paths: string[];
|
|
1788
|
+
} | undefined;
|
|
1671
1789
|
base_commit_sha: string;
|
|
1672
1790
|
base_tree_sha: string;
|
|
1673
1791
|
readable_files: {
|
|
@@ -1696,6 +1814,18 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1696
1814
|
}, {
|
|
1697
1815
|
schema_version: 1;
|
|
1698
1816
|
packet_hash: string;
|
|
1817
|
+
budget?: {
|
|
1818
|
+
estimator: "chars_div_4";
|
|
1819
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
1820
|
+
model: string | null;
|
|
1821
|
+
context_window: number | null;
|
|
1822
|
+
output_allowance_tokens: number | null;
|
|
1823
|
+
framing_tokens: number | null;
|
|
1824
|
+
selection_limit_tokens: number;
|
|
1825
|
+
estimated_packet_tokens: number;
|
|
1826
|
+
omitted_for_budget: number;
|
|
1827
|
+
mandatory_paths: string[];
|
|
1828
|
+
} | undefined;
|
|
1699
1829
|
base_commit_sha: string;
|
|
1700
1830
|
base_tree_sha: string;
|
|
1701
1831
|
readable_files: {
|
|
@@ -1798,6 +1928,18 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1798
1928
|
raw_context_packet?: {
|
|
1799
1929
|
schema_version: 1;
|
|
1800
1930
|
packet_hash: string;
|
|
1931
|
+
budget?: {
|
|
1932
|
+
estimator: "chars_div_4";
|
|
1933
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
1934
|
+
model: string | null;
|
|
1935
|
+
context_window: number | null;
|
|
1936
|
+
output_allowance_tokens: number | null;
|
|
1937
|
+
framing_tokens: number | null;
|
|
1938
|
+
selection_limit_tokens: number;
|
|
1939
|
+
estimated_packet_tokens: number;
|
|
1940
|
+
omitted_for_budget: number;
|
|
1941
|
+
mandatory_paths: string[];
|
|
1942
|
+
} | undefined;
|
|
1801
1943
|
base_commit_sha: string;
|
|
1802
1944
|
base_tree_sha: string;
|
|
1803
1945
|
readable_files: {
|
|
@@ -1900,6 +2042,18 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1900
2042
|
raw_context_packet?: {
|
|
1901
2043
|
schema_version: 1;
|
|
1902
2044
|
packet_hash: string;
|
|
2045
|
+
budget?: {
|
|
2046
|
+
estimator: "chars_div_4";
|
|
2047
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
2048
|
+
model: string | null;
|
|
2049
|
+
context_window: number | null;
|
|
2050
|
+
output_allowance_tokens: number | null;
|
|
2051
|
+
framing_tokens: number | null;
|
|
2052
|
+
selection_limit_tokens: number;
|
|
2053
|
+
estimated_packet_tokens: number;
|
|
2054
|
+
omitted_for_budget: number;
|
|
2055
|
+
mandatory_paths: string[];
|
|
2056
|
+
} | undefined;
|
|
1903
2057
|
base_commit_sha: string;
|
|
1904
2058
|
base_tree_sha: string;
|
|
1905
2059
|
readable_files: {
|
|
@@ -2044,6 +2198,16 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2044
2198
|
source: "account_catalog";
|
|
2045
2199
|
profile_id: string | null;
|
|
2046
2200
|
}>>;
|
|
2201
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
2202
|
+
key: z.ZodString;
|
|
2203
|
+
op: z.ZodEnum<["fragment", "complete", "abandoned"]>;
|
|
2204
|
+
}, "strict", z.ZodTypeAny, {
|
|
2205
|
+
key: string;
|
|
2206
|
+
op: "abandoned" | "complete" | "fragment";
|
|
2207
|
+
}, {
|
|
2208
|
+
key: string;
|
|
2209
|
+
op: "abandoned" | "complete" | "fragment";
|
|
2210
|
+
}>>;
|
|
2047
2211
|
request_refusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2048
2212
|
scope: z.ZodLiteral<"turn_text">;
|
|
2049
2213
|
unit: z.ZodLiteral<"unicode_scalars">;
|
|
@@ -2212,9 +2376,32 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2212
2376
|
use_id: z.ZodOptional<z.ZodString>;
|
|
2213
2377
|
target: z.ZodOptional<z.ZodString>;
|
|
2214
2378
|
status: z.ZodOptional<z.ZodEnum<["ok", "error", "cancelled", "denied"]>>;
|
|
2379
|
+
phase: z.ZodOptional<z.ZodEnum<["started", "completed"]>>;
|
|
2215
2380
|
error_summary: z.ZodOptional<z.ZodString>;
|
|
2216
2381
|
content_summary: z.ZodOptional<z.ZodString>;
|
|
2217
2382
|
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
2383
|
+
command_outcome: z.ZodOptional<z.ZodObject<{
|
|
2384
|
+
state: z.ZodEnum<["exited", "timed_out", "backgrounded", "unknown"]>;
|
|
2385
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
2386
|
+
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
2387
|
+
background_reason: z.ZodOptional<z.ZodEnum<["timeout", "requested"]>>;
|
|
2388
|
+
shell_id: z.ZodOptional<z.ZodString>;
|
|
2389
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
2390
|
+
}, "strip", z.ZodTypeAny, {
|
|
2391
|
+
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
2392
|
+
signal?: string | undefined;
|
|
2393
|
+
timeout_ms?: number | undefined;
|
|
2394
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
2395
|
+
shell_id?: string | undefined;
|
|
2396
|
+
pid?: number | undefined;
|
|
2397
|
+
}, {
|
|
2398
|
+
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
2399
|
+
signal?: string | undefined;
|
|
2400
|
+
timeout_ms?: number | undefined;
|
|
2401
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
2402
|
+
shell_id?: string | undefined;
|
|
2403
|
+
pid?: number | undefined;
|
|
2404
|
+
}>>;
|
|
2218
2405
|
web_retrieval: z.ZodOptional<z.ZodEnum<["verified", "dispatched", "failed"]>>;
|
|
2219
2406
|
}, "strip", z.ZodTypeAny, {
|
|
2220
2407
|
name: string;
|
|
@@ -2222,9 +2409,18 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2222
2409
|
use_id?: string | undefined;
|
|
2223
2410
|
target?: string | undefined;
|
|
2224
2411
|
status?: "cancelled" | "denied" | "error" | "ok" | undefined;
|
|
2412
|
+
phase?: "completed" | "started" | undefined;
|
|
2225
2413
|
error_summary?: string | undefined;
|
|
2226
2414
|
content_summary?: string | undefined;
|
|
2227
2415
|
exit_code?: number | undefined;
|
|
2416
|
+
command_outcome?: {
|
|
2417
|
+
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
2418
|
+
signal?: string | undefined;
|
|
2419
|
+
timeout_ms?: number | undefined;
|
|
2420
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
2421
|
+
shell_id?: string | undefined;
|
|
2422
|
+
pid?: number | undefined;
|
|
2423
|
+
} | undefined;
|
|
2228
2424
|
web_retrieval?: "dispatched" | "failed" | "verified" | undefined;
|
|
2229
2425
|
}, {
|
|
2230
2426
|
name: string;
|
|
@@ -2232,9 +2428,18 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2232
2428
|
use_id?: string | undefined;
|
|
2233
2429
|
target?: string | undefined;
|
|
2234
2430
|
status?: "cancelled" | "denied" | "error" | "ok" | undefined;
|
|
2431
|
+
phase?: "completed" | "started" | undefined;
|
|
2235
2432
|
error_summary?: string | undefined;
|
|
2236
2433
|
content_summary?: string | undefined;
|
|
2237
2434
|
exit_code?: number | undefined;
|
|
2435
|
+
command_outcome?: {
|
|
2436
|
+
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
2437
|
+
signal?: string | undefined;
|
|
2438
|
+
timeout_ms?: number | undefined;
|
|
2439
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
2440
|
+
shell_id?: string | undefined;
|
|
2441
|
+
pid?: number | undefined;
|
|
2442
|
+
} | undefined;
|
|
2238
2443
|
web_retrieval?: "dispatched" | "failed" | "verified" | undefined;
|
|
2239
2444
|
}>>;
|
|
2240
2445
|
/** Set on `interaction_requested` events. */
|
|
@@ -2339,7 +2544,75 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2339
2544
|
expected_blob_oid: string | null;
|
|
2340
2545
|
}[];
|
|
2341
2546
|
}>>;
|
|
2342
|
-
refusal_code: z.ZodOptional<z.ZodEnum<["raw_patch_requires_isolation", "raw_patch_missing_evidence", "raw_patch_digest_mismatch", "raw_patch_base_mismatch", "raw_patch_path_traversal", "raw_patch_outside_scope", "raw_patch_stale_preimage", "raw_patch_binary_unsupported", "raw_patch_truncated", "raw_patch_apply_failed"]>>;
|
|
2547
|
+
refusal_code: z.ZodOptional<z.ZodEnum<["raw_patch_requires_isolation", "raw_patch_missing_evidence", "raw_patch_digest_mismatch", "raw_patch_base_mismatch", "raw_patch_path_traversal", "raw_patch_outside_scope", "raw_patch_stale_preimage", "raw_patch_binary_unsupported", "raw_patch_truncated", "raw_patch_apply_failed", "raw_context_exceeds_window"]>>;
|
|
2548
|
+
raw_context: z.ZodOptional<z.ZodObject<{
|
|
2549
|
+
model: z.ZodString;
|
|
2550
|
+
estimated_request_tokens: z.ZodNumber;
|
|
2551
|
+
budget: z.ZodObject<{
|
|
2552
|
+
estimator: z.ZodLiteral<"chars_div_4">;
|
|
2553
|
+
basis: z.ZodEnum<["model_context_window", "assumed_ceiling"]>;
|
|
2554
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2555
|
+
context_window: z.ZodNullable<z.ZodNumber>;
|
|
2556
|
+
output_allowance_tokens: z.ZodNullable<z.ZodNumber>;
|
|
2557
|
+
framing_tokens: z.ZodNullable<z.ZodNumber>;
|
|
2558
|
+
selection_limit_tokens: z.ZodNumber;
|
|
2559
|
+
estimated_packet_tokens: z.ZodNumber;
|
|
2560
|
+
omitted_for_budget: z.ZodNumber;
|
|
2561
|
+
mandatory_paths: z.ZodArray<z.ZodString, "many">;
|
|
2562
|
+
}, "strict", z.ZodTypeAny, {
|
|
2563
|
+
estimator: "chars_div_4";
|
|
2564
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
2565
|
+
model: string | null;
|
|
2566
|
+
context_window: number | null;
|
|
2567
|
+
output_allowance_tokens: number | null;
|
|
2568
|
+
framing_tokens: number | null;
|
|
2569
|
+
selection_limit_tokens: number;
|
|
2570
|
+
estimated_packet_tokens: number;
|
|
2571
|
+
omitted_for_budget: number;
|
|
2572
|
+
mandatory_paths: string[];
|
|
2573
|
+
}, {
|
|
2574
|
+
estimator: "chars_div_4";
|
|
2575
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
2576
|
+
model: string | null;
|
|
2577
|
+
context_window: number | null;
|
|
2578
|
+
output_allowance_tokens: number | null;
|
|
2579
|
+
framing_tokens: number | null;
|
|
2580
|
+
selection_limit_tokens: number;
|
|
2581
|
+
estimated_packet_tokens: number;
|
|
2582
|
+
omitted_for_budget: number;
|
|
2583
|
+
mandatory_paths: string[];
|
|
2584
|
+
}>;
|
|
2585
|
+
}, "strict", z.ZodTypeAny, {
|
|
2586
|
+
model: string;
|
|
2587
|
+
estimated_request_tokens: number;
|
|
2588
|
+
budget: {
|
|
2589
|
+
estimator: "chars_div_4";
|
|
2590
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
2591
|
+
model: string | null;
|
|
2592
|
+
context_window: number | null;
|
|
2593
|
+
output_allowance_tokens: number | null;
|
|
2594
|
+
framing_tokens: number | null;
|
|
2595
|
+
selection_limit_tokens: number;
|
|
2596
|
+
estimated_packet_tokens: number;
|
|
2597
|
+
omitted_for_budget: number;
|
|
2598
|
+
mandatory_paths: string[];
|
|
2599
|
+
};
|
|
2600
|
+
}, {
|
|
2601
|
+
model: string;
|
|
2602
|
+
estimated_request_tokens: number;
|
|
2603
|
+
budget: {
|
|
2604
|
+
estimator: "chars_div_4";
|
|
2605
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
2606
|
+
model: string | null;
|
|
2607
|
+
context_window: number | null;
|
|
2608
|
+
output_allowance_tokens: number | null;
|
|
2609
|
+
framing_tokens: number | null;
|
|
2610
|
+
selection_limit_tokens: number;
|
|
2611
|
+
estimated_packet_tokens: number;
|
|
2612
|
+
omitted_for_budget: number;
|
|
2613
|
+
mandatory_paths: string[];
|
|
2614
|
+
};
|
|
2615
|
+
}>>;
|
|
2343
2616
|
permission_denial: z.ZodOptional<z.ZodObject<{
|
|
2344
2617
|
permission: z.ZodString;
|
|
2345
2618
|
source: z.ZodString;
|
|
@@ -2461,18 +2734,21 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2461
2734
|
constraint_id: z.ZodOptional<z.ZodString>;
|
|
2462
2735
|
applies_to_request_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "image"]>, "many">>;
|
|
2463
2736
|
applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2737
|
+
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2464
2738
|
resets_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2465
2739
|
retry_delay_ms: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2466
2740
|
}, "strip", z.ZodTypeAny, {
|
|
2467
2741
|
constraint_id?: string | undefined;
|
|
2468
2742
|
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
2469
2743
|
applies_to_models?: string[] | null | undefined;
|
|
2744
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
2470
2745
|
resets_at: string | null;
|
|
2471
2746
|
retry_delay_ms: number | null;
|
|
2472
2747
|
}, {
|
|
2473
2748
|
constraint_id?: string | undefined;
|
|
2474
2749
|
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
2475
2750
|
applies_to_models?: string[] | null | undefined;
|
|
2751
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
2476
2752
|
resets_at?: string | null | undefined;
|
|
2477
2753
|
retry_delay_ms?: number | null | undefined;
|
|
2478
2754
|
}>>;
|
|
@@ -2579,6 +2855,10 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2579
2855
|
source: "account_catalog";
|
|
2580
2856
|
profile_id: string | null;
|
|
2581
2857
|
} | undefined;
|
|
2858
|
+
speech?: {
|
|
2859
|
+
key: string;
|
|
2860
|
+
op: "abandoned" | "complete" | "fragment";
|
|
2861
|
+
} | undefined;
|
|
2582
2862
|
request_refusal?: {
|
|
2583
2863
|
scope: "turn_text";
|
|
2584
2864
|
unit: "unicode_scalars";
|
|
@@ -2643,9 +2923,18 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2643
2923
|
use_id?: string | undefined;
|
|
2644
2924
|
target?: string | undefined;
|
|
2645
2925
|
status?: "cancelled" | "denied" | "error" | "ok" | undefined;
|
|
2926
|
+
phase?: "completed" | "started" | undefined;
|
|
2646
2927
|
error_summary?: string | undefined;
|
|
2647
2928
|
content_summary?: string | undefined;
|
|
2648
2929
|
exit_code?: number | undefined;
|
|
2930
|
+
command_outcome?: {
|
|
2931
|
+
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
2932
|
+
signal?: string | undefined;
|
|
2933
|
+
timeout_ms?: number | undefined;
|
|
2934
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
2935
|
+
shell_id?: string | undefined;
|
|
2936
|
+
pid?: number | undefined;
|
|
2937
|
+
} | undefined;
|
|
2649
2938
|
web_retrieval?: "dispatched" | "failed" | "verified" | undefined;
|
|
2650
2939
|
} | undefined;
|
|
2651
2940
|
interaction?: {
|
|
@@ -2673,7 +2962,23 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2673
2962
|
expected_blob_oid: string | null;
|
|
2674
2963
|
}[];
|
|
2675
2964
|
} | undefined;
|
|
2676
|
-
refusal_code?: "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | undefined;
|
|
2965
|
+
refusal_code?: "raw_context_exceeds_window" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | undefined;
|
|
2966
|
+
raw_context?: {
|
|
2967
|
+
model: string;
|
|
2968
|
+
estimated_request_tokens: number;
|
|
2969
|
+
budget: {
|
|
2970
|
+
estimator: "chars_div_4";
|
|
2971
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
2972
|
+
model: string | null;
|
|
2973
|
+
context_window: number | null;
|
|
2974
|
+
output_allowance_tokens: number | null;
|
|
2975
|
+
framing_tokens: number | null;
|
|
2976
|
+
selection_limit_tokens: number;
|
|
2977
|
+
estimated_packet_tokens: number;
|
|
2978
|
+
omitted_for_budget: number;
|
|
2979
|
+
mandatory_paths: string[];
|
|
2980
|
+
};
|
|
2981
|
+
} | undefined;
|
|
2677
2982
|
permission_denial?: {
|
|
2678
2983
|
permission: string;
|
|
2679
2984
|
source: string;
|
|
@@ -2708,6 +3013,7 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2708
3013
|
constraint_id?: string | undefined;
|
|
2709
3014
|
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
2710
3015
|
applies_to_models?: string[] | null | undefined;
|
|
3016
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
2711
3017
|
resets_at: string | null;
|
|
2712
3018
|
retry_delay_ms: number | null;
|
|
2713
3019
|
} | undefined;
|
|
@@ -2761,6 +3067,10 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2761
3067
|
source: "account_catalog";
|
|
2762
3068
|
profile_id: string | null;
|
|
2763
3069
|
} | undefined;
|
|
3070
|
+
speech?: {
|
|
3071
|
+
key: string;
|
|
3072
|
+
op: "abandoned" | "complete" | "fragment";
|
|
3073
|
+
} | undefined;
|
|
2764
3074
|
request_refusal?: {
|
|
2765
3075
|
scope: "turn_text";
|
|
2766
3076
|
unit: "unicode_scalars";
|
|
@@ -2825,9 +3135,18 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2825
3135
|
use_id?: string | undefined;
|
|
2826
3136
|
target?: string | undefined;
|
|
2827
3137
|
status?: "cancelled" | "denied" | "error" | "ok" | undefined;
|
|
3138
|
+
phase?: "completed" | "started" | undefined;
|
|
2828
3139
|
error_summary?: string | undefined;
|
|
2829
3140
|
content_summary?: string | undefined;
|
|
2830
3141
|
exit_code?: number | undefined;
|
|
3142
|
+
command_outcome?: {
|
|
3143
|
+
state: "backgrounded" | "exited" | "timed_out" | "unknown";
|
|
3144
|
+
signal?: string | undefined;
|
|
3145
|
+
timeout_ms?: number | undefined;
|
|
3146
|
+
background_reason?: "requested" | "timeout" | undefined;
|
|
3147
|
+
shell_id?: string | undefined;
|
|
3148
|
+
pid?: number | undefined;
|
|
3149
|
+
} | undefined;
|
|
2831
3150
|
web_retrieval?: "dispatched" | "failed" | "verified" | undefined;
|
|
2832
3151
|
} | undefined;
|
|
2833
3152
|
interaction?: {
|
|
@@ -2855,7 +3174,23 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2855
3174
|
expected_blob_oid: string | null;
|
|
2856
3175
|
}[];
|
|
2857
3176
|
} | undefined;
|
|
2858
|
-
refusal_code?: "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | undefined;
|
|
3177
|
+
refusal_code?: "raw_context_exceeds_window" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | undefined;
|
|
3178
|
+
raw_context?: {
|
|
3179
|
+
model: string;
|
|
3180
|
+
estimated_request_tokens: number;
|
|
3181
|
+
budget: {
|
|
3182
|
+
estimator: "chars_div_4";
|
|
3183
|
+
basis: "assumed_ceiling" | "model_context_window";
|
|
3184
|
+
model: string | null;
|
|
3185
|
+
context_window: number | null;
|
|
3186
|
+
output_allowance_tokens: number | null;
|
|
3187
|
+
framing_tokens: number | null;
|
|
3188
|
+
selection_limit_tokens: number;
|
|
3189
|
+
estimated_packet_tokens: number;
|
|
3190
|
+
omitted_for_budget: number;
|
|
3191
|
+
mandatory_paths: string[];
|
|
3192
|
+
};
|
|
3193
|
+
} | undefined;
|
|
2859
3194
|
permission_denial?: {
|
|
2860
3195
|
permission: string;
|
|
2861
3196
|
source: string;
|
|
@@ -2890,6 +3225,7 @@ export declare const HarnessEvent: z.ZodObject<{
|
|
|
2890
3225
|
constraint_id?: string | undefined;
|
|
2891
3226
|
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
2892
3227
|
applies_to_models?: string[] | null | undefined;
|
|
3228
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
2893
3229
|
resets_at?: string | null | undefined;
|
|
2894
3230
|
retry_delay_ms?: number | null | undefined;
|
|
2895
3231
|
} | undefined;
|