@claudexor/schema 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-capabilities.d.ts +88 -16
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +49 -18
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +22 -6
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +113 -48
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +60 -45
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +1423 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +317 -0
- package/dist/auth.js.map +1 -0
- package/dist/budget.d.ts +133 -16
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +65 -22
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +449 -115
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +114 -41
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +6 -6
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +31 -7
- package/dist/context.js.map +1 -1
- package/dist/control-operation-responses.d.ts +1172 -0
- package/dist/control-operation-responses.d.ts.map +1 -0
- package/dist/control-operation-responses.js +35 -0
- package/dist/control-operation-responses.js.map +1 -0
- package/dist/control-run-detail.d.ts +443 -242
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +72 -17
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +88 -0
- package/dist/control-run-retry.d.ts.map +1 -0
- package/dist/control-run-retry.js +40 -0
- package/dist/control-run-retry.js.map +1 -0
- package/dist/control-run-scope.d.ts +25 -0
- package/dist/control-run-scope.d.ts.map +1 -0
- package/dist/control-run-scope.js +22 -0
- package/dist/control-run-scope.js.map +1 -0
- package/dist/control-secret.d.ts +90 -0
- package/dist/control-secret.d.ts.map +1 -0
- package/dist/control-secret.js +35 -0
- package/dist/control-secret.js.map +1 -0
- package/dist/control-spec.d.ts +592 -0
- package/dist/control-spec.d.ts.map +1 -0
- package/dist/control-spec.js +85 -0
- package/dist/control-spec.js.map +1 -0
- package/dist/control-thread-apply.d.ts +175 -0
- package/dist/control-thread-apply.d.ts.map +1 -0
- package/dist/control-thread-apply.js +31 -0
- package/dist/control-thread-apply.js.map +1 -0
- package/dist/control-trust.d.ts +74 -10
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +31 -11
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1391 -878
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +468 -310
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +10 -10
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +62 -15
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +99 -0
- package/dist/delivery.d.ts.map +1 -0
- package/dist/delivery.js +19 -0
- package/dist/delivery.js.map +1 -0
- package/dist/events.d.ts +25 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +25 -4
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +2 -2
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +25 -5
- package/dist/gate.js.map +1 -1
- package/dist/harness.d.ts +558 -175
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +207 -82
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +185 -0
- package/dist/operation.d.ts.map +1 -0
- package/dist/operation.js +50 -0
- package/dist/operation.js.map +1 -0
- package/dist/orchestrate.d.ts +127 -22
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +61 -7
- package/dist/orchestrate.js.map +1 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +4 -1
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +29 -0
- package/dist/problem.d.ts.map +1 -0
- package/dist/problem.js +17 -0
- package/dist/problem.js.map +1 -0
- package/dist/project.d.ts +97 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +27 -0
- package/dist/project.js.map +1 -0
- package/dist/quota.d.ts +251 -0
- package/dist/quota.d.ts.map +1 -0
- package/dist/quota.js +46 -0
- package/dist/quota.js.map +1 -0
- package/dist/raw.d.ts +195 -0
- package/dist/raw.d.ts.map +1 -0
- package/dist/raw.js +58 -0
- package/dist/raw.js.map +1 -0
- package/dist/recovery.d.ts +515 -0
- package/dist/recovery.d.ts.map +1 -0
- package/dist/recovery.js +93 -0
- package/dist/recovery.js.map +1 -0
- package/dist/request-requirements.d.ts +36 -0
- package/dist/request-requirements.d.ts.map +1 -0
- package/dist/request-requirements.js +26 -0
- package/dist/request-requirements.js.map +1 -0
- package/dist/review.d.ts +26 -26
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +50 -10
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +10 -10
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +19 -4
- package/dist/route.js.map +1 -1
- package/dist/setup.d.ts +9766 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +450 -0
- package/dist/setup.js.map +1 -0
- package/dist/spec.d.ts +174 -57
- package/dist/spec.d.ts.map +1 -1
- package/dist/spec.js +69 -16
- package/dist/spec.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +25 -21
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +1560 -58
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +97 -18
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +233 -60
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +97 -15
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +68 -41
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +45 -11
- package/dist/thread.js.map +1 -1
- package/dist/workproduct.d.ts +3 -3
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +12 -3
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +53 -11
- package/generated/BudgetLease.schema.json +55 -6
- package/generated/BudgetObservation.schema.json +28 -7
- package/generated/ConformanceReport.schema.json +49 -0
- package/generated/ControlApplyCheckResponse.schema.json +34 -0
- package/generated/ControlArtifactListResponse.schema.json +57 -0
- package/generated/ControlAuthReadinessRefreshRequest.schema.json +38 -0
- package/generated/ControlAuthReadinessRefreshResponse.schema.json +85 -0
- package/generated/ControlDeliveryResponse.schema.json +136 -0
- package/generated/ControlHandshakeRequest.schema.json +26 -0
- package/generated/ControlHandshakeResponse.schema.json +30 -0
- package/generated/ControlHarnessListResponse.schema.json +103 -12
- package/generated/ControlHarnessSettingsPatch.schema.json +0 -12
- package/generated/ControlJournalEvent.schema.json +42 -0
- package/generated/ControlJournalExportReceipt.schema.json +49 -0
- package/generated/ControlJournalInspection.schema.json +149 -0
- package/generated/ControlJournalQuarantineReceipt.schema.json +55 -0
- package/generated/ControlJournalQuarantineRequest.schema.json +24 -0
- package/generated/ControlJournalValidation.schema.json +181 -0
- package/generated/ControlOperationCatalog.schema.json +128 -0
- package/generated/ControlOperationDescriptor.schema.json +110 -0
- package/generated/ControlProblem.schema.json +59 -0
- package/generated/ControlProject.schema.json +42 -0
- package/generated/ControlProjectListResponse.schema.json +54 -0
- package/generated/ControlProjectRegisterRequest.schema.json +19 -0
- package/generated/ControlProjectRelinkRequest.schema.json +19 -0
- package/generated/ControlQueuedRunInfo.schema.json +4 -2
- package/generated/ControlQuotaResponse.schema.json +176 -0
- package/generated/ControlResource.schema.json +59 -0
- package/generated/ControlRunAgainDraft.schema.json +499 -0
- package/generated/ControlRunDetail.schema.json +197 -30
- package/generated/ControlRunListResponse.schema.json +797 -0
- package/generated/ControlRunRetryResponse.schema.json +54 -0
- package/generated/ControlRunStartRequest.schema.json +83 -55
- package/generated/ControlRunStartResponse.schema.json +78 -0
- package/generated/ControlRunSummary.schema.json +140 -20
- package/generated/ControlSecretListResponse.schema.json +8 -14
- package/generated/ControlSecretMutationResponse.schema.json +32 -0
- package/generated/ControlSecretSetRequest.schema.json +27 -0
- package/generated/ControlSettingsSnapshot.schema.json +118 -44
- package/generated/ControlSettingsUpdateRequest.schema.json +110 -40
- package/generated/ControlSetupJob.schema.json +763 -65
- package/generated/ControlSetupJobCreateRequest.schema.json +11 -13
- package/generated/ControlSetupJobEvent.schema.json +861 -5
- package/generated/ControlSetupJobListFilter.schema.json +35 -0
- package/generated/ControlSetupJobListResponse.schema.json +763 -65
- package/generated/ControlSetupJobSnapshot.schema.json +870 -0
- package/generated/ControlSpecAnswersRequest.schema.json +74 -0
- package/generated/ControlSpecQuestionsRequest.schema.json +128 -2
- package/generated/ControlSpecSession.schema.json +249 -0
- package/generated/ControlSpecSessionListResponse.schema.json +261 -0
- package/generated/ControlThread.schema.json +20 -2
- package/generated/ControlThreadApplyResponse.schema.json +139 -0
- package/generated/ControlThreadDetail.schema.json +32 -4
- package/generated/ControlThreadListResponse.schema.json +20 -2
- package/generated/ControlThreadTurnRequest.schema.json +373 -0
- package/generated/ControlThreadTurnResponse.schema.json +73 -0
- package/generated/ControlThreadUpdateRequest.schema.json +1 -1
- package/generated/ControlTrustListResponse.schema.json +6 -0
- package/generated/ControlTrustState.schema.json +6 -0
- package/generated/ControlTrustUpdateRequest.schema.json +65 -3
- package/generated/ControlUploadCreateRequest.schema.json +37 -0
- package/generated/ControlUploadFinalizeRequest.schema.json +17 -0
- package/generated/ControlUploadStatus.schema.json +40 -0
- package/generated/DecisionRecord.schema.json +6 -3
- package/generated/GlobalConfig.schema.json +105 -58
- package/generated/HarnessEvent.schema.json +201 -10
- package/generated/HarnessManifest.schema.json +63 -12
- package/generated/HarnessStatusDto.schema.json +103 -12
- package/generated/OrchestrateContract.schema.json +32 -6
- package/generated/OrchestratePlan.schema.json +20 -0
- package/generated/OrchestratePlanProgress.schema.json +61 -0
- package/generated/PaidBudget.schema.json +42 -0
- package/generated/Project.schema.json +45 -0
- package/generated/ProjectConfig.schema.json +45 -18
- package/generated/RawContextPacket.schema.json +184 -0
- package/generated/RawGitPatchEnvelope.schema.json +70 -0
- package/generated/RunTelemetry.schema.json +80 -0
- package/generated/SecretMetadata.schema.json +4 -7
- package/generated/SpecPack.schema.json +118 -7
- package/generated/TaskContract.schema.json +159 -26
- package/generated/TestCommandInvocation.schema.json +45 -0
- package/generated/Thread.schema.json +62 -6
- package/generated/ThreadTurn.schema.json +24 -11
- package/generated/TrustConfig.schema.json +77 -0
- package/package.json +1 -1
- package/generated/ControlSetupJobConfirmRequest.schema.json +0 -18
- package/generated/ControlSpecFreezeRequest.schema.json +0 -83
package/dist/telemetry.d.ts
CHANGED
|
@@ -22,24 +22,24 @@ export declare const WebEvidenceRecord: z.ZodObject<{
|
|
|
22
22
|
target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
error_summary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
status: "
|
|
25
|
+
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
26
26
|
target: string | null;
|
|
27
27
|
error_summary: string | null;
|
|
28
28
|
tool: string | null;
|
|
29
29
|
required: boolean;
|
|
30
|
-
attempted: boolean;
|
|
31
30
|
policy: "off" | "auto" | "cached" | "live";
|
|
32
31
|
effective_mode: "off" | "auto" | "cached" | "live";
|
|
32
|
+
attempted: boolean;
|
|
33
33
|
satisfied: boolean;
|
|
34
34
|
}, {
|
|
35
|
-
status?: "
|
|
35
|
+
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
36
36
|
target?: string | null | undefined;
|
|
37
37
|
error_summary?: string | null | undefined;
|
|
38
38
|
tool?: string | null | undefined;
|
|
39
39
|
required?: boolean | undefined;
|
|
40
|
-
attempted?: boolean | undefined;
|
|
41
40
|
policy?: "off" | "auto" | "cached" | "live" | undefined;
|
|
42
41
|
effective_mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
42
|
+
attempted?: boolean | undefined;
|
|
43
43
|
satisfied?: boolean | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
export type WebEvidenceRecord = z.infer<typeof WebEvidenceRecord>;
|
|
@@ -53,14 +53,14 @@ export declare const ToolErrorRecord: z.ZodObject<{
|
|
|
53
53
|
tool_use_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
kind: "file" | "web" | "command" | "mcp" | "search" | "other";
|
|
56
|
+
summary: string;
|
|
56
57
|
target: string | null;
|
|
57
58
|
tool: string;
|
|
58
|
-
summary: string;
|
|
59
59
|
recovered: boolean;
|
|
60
60
|
tool_use_id: string | null;
|
|
61
61
|
}, {
|
|
62
|
-
tool: string;
|
|
63
62
|
summary: string;
|
|
63
|
+
tool: string;
|
|
64
64
|
kind?: "file" | "web" | "command" | "mcp" | "search" | "other" | undefined;
|
|
65
65
|
target?: string | null | undefined;
|
|
66
66
|
recovered?: boolean | undefined;
|
|
@@ -92,14 +92,14 @@ export declare const AttemptOutcome: z.ZodObject<{
|
|
|
92
92
|
tool_warnings_count: z.ZodDefault<z.ZodNumber>;
|
|
93
93
|
status: z.ZodDefault<z.ZodEnum<["success", "success_with_warnings", "blocked", "failed"]>>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
status: "
|
|
95
|
+
status: "failed" | "success" | "blocked" | "success_with_warnings";
|
|
96
96
|
gates_passed: boolean | null;
|
|
97
97
|
deliverable_present: boolean;
|
|
98
98
|
harness_errored: boolean;
|
|
99
99
|
web_required_unsatisfied: boolean;
|
|
100
100
|
tool_warnings_count: number;
|
|
101
101
|
}, {
|
|
102
|
-
status?: "
|
|
102
|
+
status?: "failed" | "success" | "blocked" | "success_with_warnings" | undefined;
|
|
103
103
|
gates_passed?: boolean | null | undefined;
|
|
104
104
|
deliverable_present?: boolean | undefined;
|
|
105
105
|
harness_errored?: boolean | undefined;
|
|
@@ -116,6 +116,41 @@ export declare const AttemptTelemetryRecord: z.ZodObject<{
|
|
|
116
116
|
* unverified, never as a guess.
|
|
117
117
|
*/
|
|
118
118
|
observed_model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
119
|
+
/**
|
|
120
|
+
* Auth route the attempt ACTUALLY ran under (route evidence, like
|
|
121
|
+
* observed_model): adapters disclose their chosen route as a typed
|
|
122
|
+
* `auth_route` payload on the started event, sourced from the credential
|
|
123
|
+
* material itself (codex: the seeded auth.json's own auth_mode; claude:
|
|
124
|
+
* the selected credentials/OAuth/api-key route). Null when never
|
|
125
|
+
* disclosed — subscription-vs-API quota attribution must treat that as
|
|
126
|
+
* unknown, never guess from manifests.
|
|
127
|
+
*/
|
|
128
|
+
auth_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<["local_session", "api_key", "unknown"]>>>;
|
|
129
|
+
request_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
130
|
+
capability: z.ZodLiteral<"browser">;
|
|
131
|
+
harness_id: z.ZodString;
|
|
132
|
+
eligible: z.ZodBoolean;
|
|
133
|
+
requested: z.ZodBoolean;
|
|
134
|
+
effective: z.ZodBoolean;
|
|
135
|
+
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible"]>;
|
|
136
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
requested: boolean;
|
|
139
|
+
effective: boolean;
|
|
140
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
141
|
+
evidence_refs: string[];
|
|
142
|
+
harness_id: string;
|
|
143
|
+
eligible: boolean;
|
|
144
|
+
capability: "browser";
|
|
145
|
+
}, {
|
|
146
|
+
requested: boolean;
|
|
147
|
+
effective: boolean;
|
|
148
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
149
|
+
harness_id: string;
|
|
150
|
+
eligible: boolean;
|
|
151
|
+
capability: "browser";
|
|
152
|
+
evidence_refs?: string[] | undefined;
|
|
153
|
+
}>, "many">>;
|
|
119
154
|
web: z.ZodObject<{
|
|
120
155
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
121
156
|
/** Requested policy for the run. */
|
|
@@ -129,24 +164,24 @@ export declare const AttemptTelemetryRecord: z.ZodObject<{
|
|
|
129
164
|
target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
130
165
|
error_summary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
131
166
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
status: "
|
|
167
|
+
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
133
168
|
target: string | null;
|
|
134
169
|
error_summary: string | null;
|
|
135
170
|
tool: string | null;
|
|
136
171
|
required: boolean;
|
|
137
|
-
attempted: boolean;
|
|
138
172
|
policy: "off" | "auto" | "cached" | "live";
|
|
139
173
|
effective_mode: "off" | "auto" | "cached" | "live";
|
|
174
|
+
attempted: boolean;
|
|
140
175
|
satisfied: boolean;
|
|
141
176
|
}, {
|
|
142
|
-
status?: "
|
|
177
|
+
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
143
178
|
target?: string | null | undefined;
|
|
144
179
|
error_summary?: string | null | undefined;
|
|
145
180
|
tool?: string | null | undefined;
|
|
146
181
|
required?: boolean | undefined;
|
|
147
|
-
attempted?: boolean | undefined;
|
|
148
182
|
policy?: "off" | "auto" | "cached" | "live" | undefined;
|
|
149
183
|
effective_mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
184
|
+
attempted?: boolean | undefined;
|
|
150
185
|
satisfied?: boolean | undefined;
|
|
151
186
|
}>;
|
|
152
187
|
/** Bounded by the writer (most recent first when truncated; `tool_errors_total` keeps the true count). */
|
|
@@ -160,14 +195,14 @@ export declare const AttemptTelemetryRecord: z.ZodObject<{
|
|
|
160
195
|
tool_use_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
161
196
|
}, "strip", z.ZodTypeAny, {
|
|
162
197
|
kind: "file" | "web" | "command" | "mcp" | "search" | "other";
|
|
198
|
+
summary: string;
|
|
163
199
|
target: string | null;
|
|
164
200
|
tool: string;
|
|
165
|
-
summary: string;
|
|
166
201
|
recovered: boolean;
|
|
167
202
|
tool_use_id: string | null;
|
|
168
203
|
}, {
|
|
169
|
-
tool: string;
|
|
170
204
|
summary: string;
|
|
205
|
+
tool: string;
|
|
171
206
|
kind?: "file" | "web" | "command" | "mcp" | "search" | "other" | undefined;
|
|
172
207
|
target?: string | null | undefined;
|
|
173
208
|
recovered?: boolean | undefined;
|
|
@@ -199,14 +234,14 @@ export declare const AttemptTelemetryRecord: z.ZodObject<{
|
|
|
199
234
|
tool_warnings_count: z.ZodDefault<z.ZodNumber>;
|
|
200
235
|
status: z.ZodDefault<z.ZodEnum<["success", "success_with_warnings", "blocked", "failed"]>>;
|
|
201
236
|
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
status: "
|
|
237
|
+
status: "failed" | "success" | "blocked" | "success_with_warnings";
|
|
203
238
|
gates_passed: boolean | null;
|
|
204
239
|
deliverable_present: boolean;
|
|
205
240
|
harness_errored: boolean;
|
|
206
241
|
web_required_unsatisfied: boolean;
|
|
207
242
|
tool_warnings_count: number;
|
|
208
243
|
}, {
|
|
209
|
-
status?: "
|
|
244
|
+
status?: "failed" | "success" | "blocked" | "success_with_warnings" | undefined;
|
|
210
245
|
gates_passed?: boolean | null | undefined;
|
|
211
246
|
deliverable_present?: boolean | undefined;
|
|
212
247
|
harness_errored?: boolean | undefined;
|
|
@@ -216,31 +251,41 @@ export declare const AttemptTelemetryRecord: z.ZodObject<{
|
|
|
216
251
|
}, "strip", z.ZodTypeAny, {
|
|
217
252
|
harness_id: string;
|
|
218
253
|
web: {
|
|
219
|
-
status: "
|
|
254
|
+
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
220
255
|
target: string | null;
|
|
221
256
|
error_summary: string | null;
|
|
222
257
|
tool: string | null;
|
|
223
258
|
required: boolean;
|
|
224
|
-
attempted: boolean;
|
|
225
259
|
policy: "off" | "auto" | "cached" | "live";
|
|
226
260
|
effective_mode: "off" | "auto" | "cached" | "live";
|
|
261
|
+
attempted: boolean;
|
|
227
262
|
satisfied: boolean;
|
|
228
263
|
};
|
|
229
264
|
observed_model: string | null;
|
|
230
265
|
attempt_id: string;
|
|
231
266
|
outcome: {
|
|
232
|
-
status: "
|
|
267
|
+
status: "failed" | "success" | "blocked" | "success_with_warnings";
|
|
233
268
|
gates_passed: boolean | null;
|
|
234
269
|
deliverable_present: boolean;
|
|
235
270
|
harness_errored: boolean;
|
|
236
271
|
web_required_unsatisfied: boolean;
|
|
237
272
|
tool_warnings_count: number;
|
|
238
273
|
};
|
|
274
|
+
auth_mode: "unknown" | "api_key" | "local_session" | null;
|
|
275
|
+
request_requirements: {
|
|
276
|
+
requested: boolean;
|
|
277
|
+
effective: boolean;
|
|
278
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
279
|
+
evidence_refs: string[];
|
|
280
|
+
harness_id: string;
|
|
281
|
+
eligible: boolean;
|
|
282
|
+
capability: "browser";
|
|
283
|
+
}[];
|
|
239
284
|
tool_errors: {
|
|
240
285
|
kind: "file" | "web" | "command" | "mcp" | "search" | "other";
|
|
286
|
+
summary: string;
|
|
241
287
|
target: string | null;
|
|
242
288
|
tool: string;
|
|
243
|
-
summary: string;
|
|
244
289
|
recovered: boolean;
|
|
245
290
|
tool_use_id: string | null;
|
|
246
291
|
}[];
|
|
@@ -255,29 +300,39 @@ export declare const AttemptTelemetryRecord: z.ZodObject<{
|
|
|
255
300
|
}, {
|
|
256
301
|
harness_id: string;
|
|
257
302
|
web: {
|
|
258
|
-
status?: "
|
|
303
|
+
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
259
304
|
target?: string | null | undefined;
|
|
260
305
|
error_summary?: string | null | undefined;
|
|
261
306
|
tool?: string | null | undefined;
|
|
262
307
|
required?: boolean | undefined;
|
|
263
|
-
attempted?: boolean | undefined;
|
|
264
308
|
policy?: "off" | "auto" | "cached" | "live" | undefined;
|
|
265
309
|
effective_mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
310
|
+
attempted?: boolean | undefined;
|
|
266
311
|
satisfied?: boolean | undefined;
|
|
267
312
|
};
|
|
268
313
|
attempt_id: string;
|
|
269
314
|
observed_model?: string | null | undefined;
|
|
270
315
|
outcome?: {
|
|
271
|
-
status?: "
|
|
316
|
+
status?: "failed" | "success" | "blocked" | "success_with_warnings" | undefined;
|
|
272
317
|
gates_passed?: boolean | null | undefined;
|
|
273
318
|
deliverable_present?: boolean | undefined;
|
|
274
319
|
harness_errored?: boolean | undefined;
|
|
275
320
|
web_required_unsatisfied?: boolean | undefined;
|
|
276
321
|
tool_warnings_count?: number | undefined;
|
|
277
322
|
} | undefined;
|
|
323
|
+
auth_mode?: "unknown" | "api_key" | "local_session" | null | undefined;
|
|
324
|
+
request_requirements?: {
|
|
325
|
+
requested: boolean;
|
|
326
|
+
effective: boolean;
|
|
327
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
328
|
+
harness_id: string;
|
|
329
|
+
eligible: boolean;
|
|
330
|
+
capability: "browser";
|
|
331
|
+
evidence_refs?: string[] | undefined;
|
|
332
|
+
}[] | undefined;
|
|
278
333
|
tool_errors?: {
|
|
279
|
-
tool: string;
|
|
280
334
|
summary: string;
|
|
335
|
+
tool: string;
|
|
281
336
|
kind?: "file" | "web" | "command" | "mcp" | "search" | "other" | undefined;
|
|
282
337
|
target?: string | null | undefined;
|
|
283
338
|
recovered?: boolean | undefined;
|
|
@@ -319,24 +374,24 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
319
374
|
target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
320
375
|
error_summary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
321
376
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
status: "
|
|
377
|
+
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
323
378
|
target: string | null;
|
|
324
379
|
error_summary: string | null;
|
|
325
380
|
tool: string | null;
|
|
326
381
|
required: boolean;
|
|
327
|
-
attempted: boolean;
|
|
328
382
|
policy: "off" | "auto" | "cached" | "live";
|
|
329
383
|
effective_mode: "off" | "auto" | "cached" | "live";
|
|
384
|
+
attempted: boolean;
|
|
330
385
|
satisfied: boolean;
|
|
331
386
|
}, {
|
|
332
|
-
status?: "
|
|
387
|
+
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
333
388
|
target?: string | null | undefined;
|
|
334
389
|
error_summary?: string | null | undefined;
|
|
335
390
|
tool?: string | null | undefined;
|
|
336
391
|
required?: boolean | undefined;
|
|
337
|
-
attempted?: boolean | undefined;
|
|
338
392
|
policy?: "off" | "auto" | "cached" | "live" | undefined;
|
|
339
393
|
effective_mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
394
|
+
attempted?: boolean | undefined;
|
|
340
395
|
satisfied?: boolean | undefined;
|
|
341
396
|
}>;
|
|
342
397
|
attempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -348,6 +403,41 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
348
403
|
* unverified, never as a guess.
|
|
349
404
|
*/
|
|
350
405
|
observed_model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
406
|
+
/**
|
|
407
|
+
* Auth route the attempt ACTUALLY ran under (route evidence, like
|
|
408
|
+
* observed_model): adapters disclose their chosen route as a typed
|
|
409
|
+
* `auth_route` payload on the started event, sourced from the credential
|
|
410
|
+
* material itself (codex: the seeded auth.json's own auth_mode; claude:
|
|
411
|
+
* the selected credentials/OAuth/api-key route). Null when never
|
|
412
|
+
* disclosed — subscription-vs-API quota attribution must treat that as
|
|
413
|
+
* unknown, never guess from manifests.
|
|
414
|
+
*/
|
|
415
|
+
auth_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<["local_session", "api_key", "unknown"]>>>;
|
|
416
|
+
request_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
417
|
+
capability: z.ZodLiteral<"browser">;
|
|
418
|
+
harness_id: z.ZodString;
|
|
419
|
+
eligible: z.ZodBoolean;
|
|
420
|
+
requested: z.ZodBoolean;
|
|
421
|
+
effective: z.ZodBoolean;
|
|
422
|
+
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible"]>;
|
|
423
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
424
|
+
}, "strip", z.ZodTypeAny, {
|
|
425
|
+
requested: boolean;
|
|
426
|
+
effective: boolean;
|
|
427
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
428
|
+
evidence_refs: string[];
|
|
429
|
+
harness_id: string;
|
|
430
|
+
eligible: boolean;
|
|
431
|
+
capability: "browser";
|
|
432
|
+
}, {
|
|
433
|
+
requested: boolean;
|
|
434
|
+
effective: boolean;
|
|
435
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
436
|
+
harness_id: string;
|
|
437
|
+
eligible: boolean;
|
|
438
|
+
capability: "browser";
|
|
439
|
+
evidence_refs?: string[] | undefined;
|
|
440
|
+
}>, "many">>;
|
|
351
441
|
web: z.ZodObject<{
|
|
352
442
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
353
443
|
/** Requested policy for the run. */
|
|
@@ -361,24 +451,24 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
361
451
|
target: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
362
452
|
error_summary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
363
453
|
}, "strip", z.ZodTypeAny, {
|
|
364
|
-
status: "
|
|
454
|
+
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
365
455
|
target: string | null;
|
|
366
456
|
error_summary: string | null;
|
|
367
457
|
tool: string | null;
|
|
368
458
|
required: boolean;
|
|
369
|
-
attempted: boolean;
|
|
370
459
|
policy: "off" | "auto" | "cached" | "live";
|
|
371
460
|
effective_mode: "off" | "auto" | "cached" | "live";
|
|
461
|
+
attempted: boolean;
|
|
372
462
|
satisfied: boolean;
|
|
373
463
|
}, {
|
|
374
|
-
status?: "
|
|
464
|
+
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
375
465
|
target?: string | null | undefined;
|
|
376
466
|
error_summary?: string | null | undefined;
|
|
377
467
|
tool?: string | null | undefined;
|
|
378
468
|
required?: boolean | undefined;
|
|
379
|
-
attempted?: boolean | undefined;
|
|
380
469
|
policy?: "off" | "auto" | "cached" | "live" | undefined;
|
|
381
470
|
effective_mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
471
|
+
attempted?: boolean | undefined;
|
|
382
472
|
satisfied?: boolean | undefined;
|
|
383
473
|
}>;
|
|
384
474
|
/** Bounded by the writer (most recent first when truncated; `tool_errors_total` keeps the true count). */
|
|
@@ -392,14 +482,14 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
392
482
|
tool_use_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
393
483
|
}, "strip", z.ZodTypeAny, {
|
|
394
484
|
kind: "file" | "web" | "command" | "mcp" | "search" | "other";
|
|
485
|
+
summary: string;
|
|
395
486
|
target: string | null;
|
|
396
487
|
tool: string;
|
|
397
|
-
summary: string;
|
|
398
488
|
recovered: boolean;
|
|
399
489
|
tool_use_id: string | null;
|
|
400
490
|
}, {
|
|
401
|
-
tool: string;
|
|
402
491
|
summary: string;
|
|
492
|
+
tool: string;
|
|
403
493
|
kind?: "file" | "web" | "command" | "mcp" | "search" | "other" | undefined;
|
|
404
494
|
target?: string | null | undefined;
|
|
405
495
|
recovered?: boolean | undefined;
|
|
@@ -431,14 +521,14 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
431
521
|
tool_warnings_count: z.ZodDefault<z.ZodNumber>;
|
|
432
522
|
status: z.ZodDefault<z.ZodEnum<["success", "success_with_warnings", "blocked", "failed"]>>;
|
|
433
523
|
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
status: "
|
|
524
|
+
status: "failed" | "success" | "blocked" | "success_with_warnings";
|
|
435
525
|
gates_passed: boolean | null;
|
|
436
526
|
deliverable_present: boolean;
|
|
437
527
|
harness_errored: boolean;
|
|
438
528
|
web_required_unsatisfied: boolean;
|
|
439
529
|
tool_warnings_count: number;
|
|
440
530
|
}, {
|
|
441
|
-
status?: "
|
|
531
|
+
status?: "failed" | "success" | "blocked" | "success_with_warnings" | undefined;
|
|
442
532
|
gates_passed?: boolean | null | undefined;
|
|
443
533
|
deliverable_present?: boolean | undefined;
|
|
444
534
|
harness_errored?: boolean | undefined;
|
|
@@ -448,31 +538,41 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
448
538
|
}, "strip", z.ZodTypeAny, {
|
|
449
539
|
harness_id: string;
|
|
450
540
|
web: {
|
|
451
|
-
status: "
|
|
541
|
+
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
452
542
|
target: string | null;
|
|
453
543
|
error_summary: string | null;
|
|
454
544
|
tool: string | null;
|
|
455
545
|
required: boolean;
|
|
456
|
-
attempted: boolean;
|
|
457
546
|
policy: "off" | "auto" | "cached" | "live";
|
|
458
547
|
effective_mode: "off" | "auto" | "cached" | "live";
|
|
548
|
+
attempted: boolean;
|
|
459
549
|
satisfied: boolean;
|
|
460
550
|
};
|
|
461
551
|
observed_model: string | null;
|
|
462
552
|
attempt_id: string;
|
|
463
553
|
outcome: {
|
|
464
|
-
status: "
|
|
554
|
+
status: "failed" | "success" | "blocked" | "success_with_warnings";
|
|
465
555
|
gates_passed: boolean | null;
|
|
466
556
|
deliverable_present: boolean;
|
|
467
557
|
harness_errored: boolean;
|
|
468
558
|
web_required_unsatisfied: boolean;
|
|
469
559
|
tool_warnings_count: number;
|
|
470
560
|
};
|
|
561
|
+
auth_mode: "unknown" | "api_key" | "local_session" | null;
|
|
562
|
+
request_requirements: {
|
|
563
|
+
requested: boolean;
|
|
564
|
+
effective: boolean;
|
|
565
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
566
|
+
evidence_refs: string[];
|
|
567
|
+
harness_id: string;
|
|
568
|
+
eligible: boolean;
|
|
569
|
+
capability: "browser";
|
|
570
|
+
}[];
|
|
471
571
|
tool_errors: {
|
|
472
572
|
kind: "file" | "web" | "command" | "mcp" | "search" | "other";
|
|
573
|
+
summary: string;
|
|
473
574
|
target: string | null;
|
|
474
575
|
tool: string;
|
|
475
|
-
summary: string;
|
|
476
576
|
recovered: boolean;
|
|
477
577
|
tool_use_id: string | null;
|
|
478
578
|
}[];
|
|
@@ -487,29 +587,39 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
487
587
|
}, {
|
|
488
588
|
harness_id: string;
|
|
489
589
|
web: {
|
|
490
|
-
status?: "
|
|
590
|
+
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
491
591
|
target?: string | null | undefined;
|
|
492
592
|
error_summary?: string | null | undefined;
|
|
493
593
|
tool?: string | null | undefined;
|
|
494
594
|
required?: boolean | undefined;
|
|
495
|
-
attempted?: boolean | undefined;
|
|
496
595
|
policy?: "off" | "auto" | "cached" | "live" | undefined;
|
|
497
596
|
effective_mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
597
|
+
attempted?: boolean | undefined;
|
|
498
598
|
satisfied?: boolean | undefined;
|
|
499
599
|
};
|
|
500
600
|
attempt_id: string;
|
|
501
601
|
observed_model?: string | null | undefined;
|
|
502
602
|
outcome?: {
|
|
503
|
-
status?: "
|
|
603
|
+
status?: "failed" | "success" | "blocked" | "success_with_warnings" | undefined;
|
|
504
604
|
gates_passed?: boolean | null | undefined;
|
|
505
605
|
deliverable_present?: boolean | undefined;
|
|
506
606
|
harness_errored?: boolean | undefined;
|
|
507
607
|
web_required_unsatisfied?: boolean | undefined;
|
|
508
608
|
tool_warnings_count?: number | undefined;
|
|
509
609
|
} | undefined;
|
|
610
|
+
auth_mode?: "unknown" | "api_key" | "local_session" | null | undefined;
|
|
611
|
+
request_requirements?: {
|
|
612
|
+
requested: boolean;
|
|
613
|
+
effective: boolean;
|
|
614
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
615
|
+
harness_id: string;
|
|
616
|
+
eligible: boolean;
|
|
617
|
+
capability: "browser";
|
|
618
|
+
evidence_refs?: string[] | undefined;
|
|
619
|
+
}[] | undefined;
|
|
510
620
|
tool_errors?: {
|
|
511
|
-
tool: string;
|
|
512
621
|
summary: string;
|
|
622
|
+
tool: string;
|
|
513
623
|
kind?: "file" | "web" | "command" | "mcp" | "search" | "other" | undefined;
|
|
514
624
|
target?: string | null | undefined;
|
|
515
625
|
recovered?: boolean | undefined;
|
|
@@ -524,55 +634,90 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
524
634
|
retry_delay_ms?: number | null | undefined;
|
|
525
635
|
}[] | undefined;
|
|
526
636
|
}>, "many">>;
|
|
637
|
+
request_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
638
|
+
capability: z.ZodLiteral<"browser">;
|
|
639
|
+
harness_id: z.ZodString;
|
|
640
|
+
eligible: z.ZodBoolean;
|
|
641
|
+
requested: z.ZodBoolean;
|
|
642
|
+
effective: z.ZodBoolean;
|
|
643
|
+
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible"]>;
|
|
644
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
645
|
+
}, "strip", z.ZodTypeAny, {
|
|
646
|
+
requested: boolean;
|
|
647
|
+
effective: boolean;
|
|
648
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
649
|
+
evidence_refs: string[];
|
|
650
|
+
harness_id: string;
|
|
651
|
+
eligible: boolean;
|
|
652
|
+
capability: "browser";
|
|
653
|
+
}, {
|
|
654
|
+
requested: boolean;
|
|
655
|
+
effective: boolean;
|
|
656
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
657
|
+
harness_id: string;
|
|
658
|
+
eligible: boolean;
|
|
659
|
+
capability: "browser";
|
|
660
|
+
evidence_refs?: string[] | undefined;
|
|
661
|
+
}>, "many">>;
|
|
527
662
|
/** Sum of attempt outcome warnings; surfaces render this separately from terminal state. */
|
|
528
663
|
tool_warnings_total: z.ZodDefault<z.ZodNumber>;
|
|
529
664
|
generated_at: z.ZodString;
|
|
530
665
|
}, "strip", z.ZodTypeAny, {
|
|
666
|
+
mode: "ask" | "plan" | "audit" | "agent" | "orchestrate";
|
|
667
|
+
schema_version: 2;
|
|
531
668
|
external_context_policy: "off" | "auto" | "cached" | "live";
|
|
532
669
|
web: {
|
|
533
|
-
status: "
|
|
670
|
+
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
534
671
|
target: string | null;
|
|
535
672
|
error_summary: string | null;
|
|
536
673
|
tool: string | null;
|
|
537
674
|
required: boolean;
|
|
538
|
-
attempted: boolean;
|
|
539
675
|
policy: "off" | "auto" | "cached" | "live";
|
|
540
676
|
effective_mode: "off" | "auto" | "cached" | "live";
|
|
677
|
+
attempted: boolean;
|
|
541
678
|
satisfied: boolean;
|
|
542
679
|
};
|
|
543
|
-
mode: "ask" | "plan" | "audit" | "agent" | "orchestrate";
|
|
544
|
-
schema_version: 2;
|
|
545
680
|
run_id: string;
|
|
546
681
|
task_id: string;
|
|
547
682
|
web_required: boolean;
|
|
548
683
|
attempts: {
|
|
549
684
|
harness_id: string;
|
|
550
685
|
web: {
|
|
551
|
-
status: "
|
|
686
|
+
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
552
687
|
target: string | null;
|
|
553
688
|
error_summary: string | null;
|
|
554
689
|
tool: string | null;
|
|
555
690
|
required: boolean;
|
|
556
|
-
attempted: boolean;
|
|
557
691
|
policy: "off" | "auto" | "cached" | "live";
|
|
558
692
|
effective_mode: "off" | "auto" | "cached" | "live";
|
|
693
|
+
attempted: boolean;
|
|
559
694
|
satisfied: boolean;
|
|
560
695
|
};
|
|
561
696
|
observed_model: string | null;
|
|
562
697
|
attempt_id: string;
|
|
563
698
|
outcome: {
|
|
564
|
-
status: "
|
|
699
|
+
status: "failed" | "success" | "blocked" | "success_with_warnings";
|
|
565
700
|
gates_passed: boolean | null;
|
|
566
701
|
deliverable_present: boolean;
|
|
567
702
|
harness_errored: boolean;
|
|
568
703
|
web_required_unsatisfied: boolean;
|
|
569
704
|
tool_warnings_count: number;
|
|
570
705
|
};
|
|
706
|
+
auth_mode: "unknown" | "api_key" | "local_session" | null;
|
|
707
|
+
request_requirements: {
|
|
708
|
+
requested: boolean;
|
|
709
|
+
effective: boolean;
|
|
710
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
711
|
+
evidence_refs: string[];
|
|
712
|
+
harness_id: string;
|
|
713
|
+
eligible: boolean;
|
|
714
|
+
capability: "browser";
|
|
715
|
+
}[];
|
|
571
716
|
tool_errors: {
|
|
572
717
|
kind: "file" | "web" | "command" | "mcp" | "search" | "other";
|
|
718
|
+
summary: string;
|
|
573
719
|
target: string | null;
|
|
574
720
|
tool: string;
|
|
575
|
-
summary: string;
|
|
576
721
|
recovered: boolean;
|
|
577
722
|
tool_use_id: string | null;
|
|
578
723
|
}[];
|
|
@@ -585,6 +730,15 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
585
730
|
retry_delay_ms: number | null;
|
|
586
731
|
}[];
|
|
587
732
|
}[];
|
|
733
|
+
request_requirements: {
|
|
734
|
+
requested: boolean;
|
|
735
|
+
effective: boolean;
|
|
736
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
737
|
+
evidence_refs: string[];
|
|
738
|
+
harness_id: string;
|
|
739
|
+
eligible: boolean;
|
|
740
|
+
capability: "browser";
|
|
741
|
+
}[];
|
|
588
742
|
requested_access: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
589
743
|
effective_access: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
590
744
|
effective_web_mode: "off" | "auto" | "cached" | "live";
|
|
@@ -592,20 +746,20 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
592
746
|
tool_warnings_total: number;
|
|
593
747
|
generated_at: string;
|
|
594
748
|
}, {
|
|
749
|
+
mode: "ask" | "plan" | "audit" | "agent" | "orchestrate";
|
|
750
|
+
schema_version: 2;
|
|
595
751
|
external_context_policy: "off" | "auto" | "cached" | "live";
|
|
596
752
|
web: {
|
|
597
|
-
status?: "
|
|
753
|
+
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
598
754
|
target?: string | null | undefined;
|
|
599
755
|
error_summary?: string | null | undefined;
|
|
600
756
|
tool?: string | null | undefined;
|
|
601
757
|
required?: boolean | undefined;
|
|
602
|
-
attempted?: boolean | undefined;
|
|
603
758
|
policy?: "off" | "auto" | "cached" | "live" | undefined;
|
|
604
759
|
effective_mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
760
|
+
attempted?: boolean | undefined;
|
|
605
761
|
satisfied?: boolean | undefined;
|
|
606
762
|
};
|
|
607
|
-
mode: "ask" | "plan" | "audit" | "agent" | "orchestrate";
|
|
608
|
-
schema_version: 2;
|
|
609
763
|
run_id: string;
|
|
610
764
|
task_id: string;
|
|
611
765
|
requested_access: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native";
|
|
@@ -616,29 +770,39 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
616
770
|
attempts?: {
|
|
617
771
|
harness_id: string;
|
|
618
772
|
web: {
|
|
619
|
-
status?: "
|
|
773
|
+
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
620
774
|
target?: string | null | undefined;
|
|
621
775
|
error_summary?: string | null | undefined;
|
|
622
776
|
tool?: string | null | undefined;
|
|
623
777
|
required?: boolean | undefined;
|
|
624
|
-
attempted?: boolean | undefined;
|
|
625
778
|
policy?: "off" | "auto" | "cached" | "live" | undefined;
|
|
626
779
|
effective_mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
780
|
+
attempted?: boolean | undefined;
|
|
627
781
|
satisfied?: boolean | undefined;
|
|
628
782
|
};
|
|
629
783
|
attempt_id: string;
|
|
630
784
|
observed_model?: string | null | undefined;
|
|
631
785
|
outcome?: {
|
|
632
|
-
status?: "
|
|
786
|
+
status?: "failed" | "success" | "blocked" | "success_with_warnings" | undefined;
|
|
633
787
|
gates_passed?: boolean | null | undefined;
|
|
634
788
|
deliverable_present?: boolean | undefined;
|
|
635
789
|
harness_errored?: boolean | undefined;
|
|
636
790
|
web_required_unsatisfied?: boolean | undefined;
|
|
637
791
|
tool_warnings_count?: number | undefined;
|
|
638
792
|
} | undefined;
|
|
793
|
+
auth_mode?: "unknown" | "api_key" | "local_session" | null | undefined;
|
|
794
|
+
request_requirements?: {
|
|
795
|
+
requested: boolean;
|
|
796
|
+
effective: boolean;
|
|
797
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
798
|
+
harness_id: string;
|
|
799
|
+
eligible: boolean;
|
|
800
|
+
capability: "browser";
|
|
801
|
+
evidence_refs?: string[] | undefined;
|
|
802
|
+
}[] | undefined;
|
|
639
803
|
tool_errors?: {
|
|
640
|
-
tool: string;
|
|
641
804
|
summary: string;
|
|
805
|
+
tool: string;
|
|
642
806
|
kind?: "file" | "web" | "command" | "mcp" | "search" | "other" | undefined;
|
|
643
807
|
target?: string | null | undefined;
|
|
644
808
|
recovered?: boolean | undefined;
|
|
@@ -653,6 +817,15 @@ export declare const RunTelemetry: z.ZodObject<{
|
|
|
653
817
|
retry_delay_ms?: number | null | undefined;
|
|
654
818
|
}[] | undefined;
|
|
655
819
|
}[] | undefined;
|
|
820
|
+
request_requirements?: {
|
|
821
|
+
requested: boolean;
|
|
822
|
+
effective: boolean;
|
|
823
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
824
|
+
harness_id: string;
|
|
825
|
+
eligible: boolean;
|
|
826
|
+
capability: "browser";
|
|
827
|
+
evidence_refs?: string[] | undefined;
|
|
828
|
+
}[] | undefined;
|
|
656
829
|
final_attempt_id?: string | null | undefined;
|
|
657
830
|
tool_warnings_total?: number | undefined;
|
|
658
831
|
}>;
|