@claudexor/schema 2.0.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-capabilities.d.ts +24 -24
- package/dist/attachment.d.ts +13 -13
- package/dist/auth.d.ts +21 -0
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +54 -0
- package/dist/auth.js.map +1 -1
- package/dist/budget.d.ts +17 -5
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +15 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +380 -20
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +81 -0
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +185 -0
- package/dist/control-gc.d.ts.map +1 -0
- package/dist/control-gc.js +81 -0
- package/dist/control-gc.js.map +1 -0
- package/dist/control-operation-responses.d.ts +155 -29
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +140 -32
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-spec.d.ts +6 -6
- package/dist/control-thread-apply.d.ts +2 -2
- package/dist/control.d.ts +427 -586
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +155 -54
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +454 -0
- package/dist/credential-profile.d.ts.map +1 -0
- package/dist/credential-profile.js +140 -0
- package/dist/credential-profile.js.map +1 -0
- package/dist/events.d.ts +20 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +22 -0
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +3 -3
- package/dist/harness.d.ts +243 -88
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +124 -46
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/orchestrate.d.ts +23 -0
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +56 -0
- package/dist/orchestrate.js.map +1 -1
- package/dist/project.d.ts +2 -2
- package/dist/quota.d.ts +27 -9
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +14 -2
- package/dist/quota.js.map +1 -1
- package/dist/readiness.d.ts +596 -0
- package/dist/readiness.d.ts.map +1 -0
- package/dist/readiness.js +87 -0
- package/dist/readiness.js.map +1 -0
- package/dist/request-requirements.d.ts +8 -8
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +4 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/route.d.ts +4 -4
- package/dist/setup.d.ts +69 -24
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +25 -0
- package/dist/setup.js.map +1 -1
- package/dist/spec.d.ts +4 -4
- package/dist/task.d.ts +99 -4
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +48 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +309 -67
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +97 -1
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +26 -15
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +11 -0
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +45 -0
- package/dist/tool-ref.d.ts.map +1 -0
- package/dist/tool-ref.js +45 -0
- package/dist/tool-ref.js.map +1 -0
- package/dist/workspace.d.ts +2 -2
- package/generated/BudgetObservation.schema.json +16 -0
- package/generated/ControlCredentialProfileCreateRequest.schema.json +32 -0
- package/generated/ControlCredentialProfileCreateResponse.schema.json +142 -0
- package/generated/ControlCredentialProfileDeleteResponse.schema.json +107 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +155 -0
- package/generated/ControlGcReceipt.schema.json +170 -0
- package/generated/ControlGcRequest.schema.json +18 -0
- package/generated/ControlHarnessListResponse.schema.json +95 -2
- package/generated/ControlHarnessModelsResponse.schema.json +19 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +9 -0
- package/generated/ControlQuotaResponse.schema.json +3 -2
- package/generated/ControlRunAgainDraft.schema.json +40 -0
- package/generated/ControlRunDetail.schema.json +178 -6
- package/generated/ControlRunListResponse.schema.json +174 -3
- package/generated/ControlRunStartRequest.schema.json +40 -0
- package/generated/ControlRunSummary.schema.json +174 -3
- package/generated/ControlSettingsSnapshot.schema.json +10 -0
- package/generated/ControlSettingsUpdateRequest.schema.json +9 -0
- package/generated/ControlSetupJob.schema.json +8 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +5 -0
- package/generated/ControlSetupJobEvent.schema.json +8 -0
- package/generated/ControlSetupJobListResponse.schema.json +8 -0
- package/generated/ControlSetupJobSnapshot.schema.json +8 -0
- package/generated/ControlThread.schema.json +16 -4
- package/generated/ControlThreadCreateRequest.schema.json +6 -2
- package/generated/ControlThreadDetail.schema.json +32 -8
- package/generated/ControlThreadListResponse.schema.json +16 -4
- package/generated/ControlThreadTurnRequest.schema.json +40 -0
- package/generated/ControlThreadUpdateRequest.schema.json +11 -0
- package/generated/CredentialProfile.schema.json +78 -0
- package/generated/CredentialProfileStatus.schema.json +61 -0
- package/generated/GlobalConfig.schema.json +136 -0
- package/generated/HarnessEvent.schema.json +62 -5
- package/generated/HarnessManifest.schema.json +33 -2
- package/generated/HarnessModel.schema.json +19 -0
- package/generated/HarnessStatusDto.schema.json +95 -2
- package/generated/RunEvent.schema.json +3 -0
- package/generated/RunTelemetry.schema.json +202 -2
- package/generated/Session.schema.json +14 -0
- package/generated/TaskContract.schema.json +65 -4
- package/generated/Thread.schema.json +17 -5
- package/generated/ThreadHeadPing.schema.json +40 -0
- package/package.json +3 -2
|
@@ -135,6 +135,50 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
135
135
|
}>]>>;
|
|
136
136
|
spendUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
137
137
|
spendEstimated: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
inputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
139
|
+
outputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
140
|
+
cachedInputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
141
|
+
outputConformance: z.ZodOptional<z.ZodNullable<z.ZodEnum<["passed", "failed"]>>>;
|
|
142
|
+
authRoute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
143
|
+
requested: z.ZodEnum<["subscription", "api_key", "auto"]>;
|
|
144
|
+
effective: z.ZodDefault<z.ZodNullable<z.ZodEnum<["local_session", "api_key", "unknown"]>>>;
|
|
145
|
+
source: z.ZodDefault<z.ZodNullable<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>>>;
|
|
146
|
+
reason: z.ZodEnum<["as_requested", "native_first", "no_native_session_fallback", "requested_route_unavailable", "undisclosed"]>;
|
|
147
|
+
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
148
|
+
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
149
|
+
modelMismatch: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
150
|
+
requested: z.ZodString;
|
|
151
|
+
observed: z.ZodString;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
requested: string;
|
|
154
|
+
observed: string;
|
|
155
|
+
}, {
|
|
156
|
+
requested: string;
|
|
157
|
+
observed: string;
|
|
158
|
+
}>>>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null;
|
|
161
|
+
harnessId: string | null;
|
|
162
|
+
requested: "auto" | "subscription" | "api_key";
|
|
163
|
+
attemptId: string | null;
|
|
164
|
+
effective: "unknown" | "api_key" | "local_session" | null;
|
|
165
|
+
reason: "as_requested" | "native_first" | "no_native_session_fallback" | "requested_route_unavailable" | "undisclosed";
|
|
166
|
+
modelMismatch: {
|
|
167
|
+
requested: string;
|
|
168
|
+
observed: string;
|
|
169
|
+
} | null;
|
|
170
|
+
}, {
|
|
171
|
+
requested: "auto" | "subscription" | "api_key";
|
|
172
|
+
reason: "as_requested" | "native_first" | "no_native_session_fallback" | "requested_route_unavailable" | "undisclosed";
|
|
173
|
+
source?: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null | undefined;
|
|
174
|
+
harnessId?: string | null | undefined;
|
|
175
|
+
attemptId?: string | null | undefined;
|
|
176
|
+
effective?: "unknown" | "api_key" | "local_session" | null | undefined;
|
|
177
|
+
modelMismatch?: {
|
|
178
|
+
requested: string;
|
|
179
|
+
observed: string;
|
|
180
|
+
} | null | undefined;
|
|
181
|
+
}>>>;
|
|
138
182
|
access: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>>;
|
|
139
183
|
requestedAccess: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>>;
|
|
140
184
|
effectiveAccess: z.ZodOptional<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>>;
|
|
@@ -156,8 +200,8 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
156
200
|
}, "strip", z.ZodTypeAny, {
|
|
157
201
|
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
158
202
|
available: boolean;
|
|
159
|
-
mode: "off" | "auto" | "cached" | "live";
|
|
160
203
|
target: string | null;
|
|
204
|
+
mode: "off" | "auto" | "cached" | "live";
|
|
161
205
|
tool: string | null;
|
|
162
206
|
required: boolean;
|
|
163
207
|
attempted: boolean;
|
|
@@ -168,8 +212,8 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
168
212
|
}, {
|
|
169
213
|
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
170
214
|
available?: boolean | undefined;
|
|
171
|
-
mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
172
215
|
target?: string | null | undefined;
|
|
216
|
+
mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
173
217
|
tool?: string | null | undefined;
|
|
174
218
|
required?: boolean | undefined;
|
|
175
219
|
attempted?: boolean | undefined;
|
|
@@ -179,28 +223,28 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
179
223
|
errorSummary?: string | null | undefined;
|
|
180
224
|
}>>;
|
|
181
225
|
requestRequirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
182
|
-
capability: z.
|
|
226
|
+
capability: z.ZodEnum<["browser", "path_deny"]>;
|
|
183
227
|
harness_id: z.ZodString;
|
|
184
228
|
eligible: z.ZodBoolean;
|
|
185
229
|
requested: z.ZodBoolean;
|
|
186
230
|
effective: z.ZodBoolean;
|
|
187
|
-
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible"]>;
|
|
231
|
+
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible", "postdiff_only"]>;
|
|
188
232
|
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
189
233
|
}, "strip", z.ZodTypeAny, {
|
|
190
234
|
requested: boolean;
|
|
191
235
|
effective: boolean;
|
|
192
|
-
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
193
|
-
evidence_refs: string[];
|
|
194
236
|
harness_id: string;
|
|
237
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible" | "postdiff_only";
|
|
238
|
+
evidence_refs: string[];
|
|
195
239
|
eligible: boolean;
|
|
196
|
-
capability: "browser";
|
|
240
|
+
capability: "browser" | "path_deny";
|
|
197
241
|
}, {
|
|
198
242
|
requested: boolean;
|
|
199
243
|
effective: boolean;
|
|
200
|
-
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
201
244
|
harness_id: string;
|
|
245
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible" | "postdiff_only";
|
|
202
246
|
eligible: boolean;
|
|
203
|
-
capability: "browser";
|
|
247
|
+
capability: "browser" | "path_deny";
|
|
204
248
|
evidence_refs?: string[] | undefined;
|
|
205
249
|
}>, "many">>;
|
|
206
250
|
toolPermissionPolicy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -320,8 +364,8 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
320
364
|
webEvidence: {
|
|
321
365
|
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
322
366
|
available: boolean;
|
|
323
|
-
mode: "off" | "auto" | "cached" | "live";
|
|
324
367
|
target: string | null;
|
|
368
|
+
mode: "off" | "auto" | "cached" | "live";
|
|
325
369
|
tool: string | null;
|
|
326
370
|
required: boolean;
|
|
327
371
|
attempted: boolean;
|
|
@@ -333,11 +377,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
333
377
|
requestRequirements: {
|
|
334
378
|
requested: boolean;
|
|
335
379
|
effective: boolean;
|
|
336
|
-
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
337
|
-
evidence_refs: string[];
|
|
338
380
|
harness_id: string;
|
|
381
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible" | "postdiff_only";
|
|
382
|
+
evidence_refs: string[];
|
|
339
383
|
eligible: boolean;
|
|
340
|
-
capability: "browser";
|
|
384
|
+
capability: "browser" | "path_deny";
|
|
341
385
|
}[];
|
|
342
386
|
outputReadyState: "pending" | "finalizing" | "ready" | "diagnostic";
|
|
343
387
|
toolWarningsTotal: number;
|
|
@@ -364,11 +408,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
364
408
|
verified: boolean;
|
|
365
409
|
} | null;
|
|
366
410
|
startedAt?: string | undefined;
|
|
411
|
+
error?: string | undefined;
|
|
367
412
|
createdAt?: string | undefined;
|
|
368
413
|
mode?: "ask" | "plan" | "audit" | "agent" | "orchestrate" | undefined;
|
|
369
414
|
prompt?: string | undefined;
|
|
370
415
|
access?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
371
|
-
error?: string | undefined;
|
|
372
416
|
harnesses?: string[] | undefined;
|
|
373
417
|
runDir?: string | undefined;
|
|
374
418
|
model?: string | undefined;
|
|
@@ -403,6 +447,22 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
403
447
|
strategy?: "race" | "attempts" | "swarm" | "create" | "until_clean" | null | undefined;
|
|
404
448
|
spendUsd?: number | null | undefined;
|
|
405
449
|
spendEstimated?: boolean | undefined;
|
|
450
|
+
inputTokens?: number | null | undefined;
|
|
451
|
+
outputTokens?: number | null | undefined;
|
|
452
|
+
cachedInputTokens?: number | null | undefined;
|
|
453
|
+
outputConformance?: "passed" | "failed" | null | undefined;
|
|
454
|
+
authRoute?: {
|
|
455
|
+
source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null;
|
|
456
|
+
harnessId: string | null;
|
|
457
|
+
requested: "auto" | "subscription" | "api_key";
|
|
458
|
+
attemptId: string | null;
|
|
459
|
+
effective: "unknown" | "api_key" | "local_session" | null;
|
|
460
|
+
reason: "as_requested" | "native_first" | "no_native_session_fallback" | "requested_route_unavailable" | "undisclosed";
|
|
461
|
+
modelMismatch: {
|
|
462
|
+
requested: string;
|
|
463
|
+
observed: string;
|
|
464
|
+
} | null;
|
|
465
|
+
} | null | undefined;
|
|
406
466
|
requestedAccess?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
407
467
|
effectiveAccess?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
408
468
|
webRequired?: boolean | undefined;
|
|
@@ -414,11 +474,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
414
474
|
runId: string;
|
|
415
475
|
jobId: string;
|
|
416
476
|
startedAt?: string | undefined;
|
|
477
|
+
error?: string | undefined;
|
|
417
478
|
createdAt?: string | undefined;
|
|
418
479
|
mode?: "ask" | "plan" | "audit" | "agent" | "orchestrate" | undefined;
|
|
419
480
|
prompt?: string | undefined;
|
|
420
481
|
access?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
421
|
-
error?: string | undefined;
|
|
422
482
|
harnesses?: string[] | undefined;
|
|
423
483
|
runDir?: string | undefined;
|
|
424
484
|
model?: string | undefined;
|
|
@@ -471,6 +531,22 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
471
531
|
strategy?: "race" | "attempts" | "swarm" | "create" | "until_clean" | null | undefined;
|
|
472
532
|
spendUsd?: number | null | undefined;
|
|
473
533
|
spendEstimated?: boolean | undefined;
|
|
534
|
+
inputTokens?: number | null | undefined;
|
|
535
|
+
outputTokens?: number | null | undefined;
|
|
536
|
+
cachedInputTokens?: number | null | undefined;
|
|
537
|
+
outputConformance?: "passed" | "failed" | null | undefined;
|
|
538
|
+
authRoute?: {
|
|
539
|
+
requested: "auto" | "subscription" | "api_key";
|
|
540
|
+
reason: "as_requested" | "native_first" | "no_native_session_fallback" | "requested_route_unavailable" | "undisclosed";
|
|
541
|
+
source?: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null | undefined;
|
|
542
|
+
harnessId?: string | null | undefined;
|
|
543
|
+
attemptId?: string | null | undefined;
|
|
544
|
+
effective?: "unknown" | "api_key" | "local_session" | null | undefined;
|
|
545
|
+
modelMismatch?: {
|
|
546
|
+
requested: string;
|
|
547
|
+
observed: string;
|
|
548
|
+
} | null | undefined;
|
|
549
|
+
} | null | undefined;
|
|
474
550
|
requestedAccess?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
475
551
|
effectiveAccess?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
476
552
|
webRequired?: boolean | undefined;
|
|
@@ -478,8 +554,8 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
478
554
|
webEvidence?: {
|
|
479
555
|
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
480
556
|
available?: boolean | undefined;
|
|
481
|
-
mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
482
557
|
target?: string | null | undefined;
|
|
558
|
+
mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
483
559
|
tool?: string | null | undefined;
|
|
484
560
|
required?: boolean | undefined;
|
|
485
561
|
attempted?: boolean | undefined;
|
|
@@ -491,10 +567,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
491
567
|
requestRequirements?: {
|
|
492
568
|
requested: boolean;
|
|
493
569
|
effective: boolean;
|
|
494
|
-
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
495
570
|
harness_id: string;
|
|
571
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible" | "postdiff_only";
|
|
496
572
|
eligible: boolean;
|
|
497
|
-
capability: "browser";
|
|
573
|
+
capability: "browser" | "path_deny";
|
|
498
574
|
evidence_refs?: string[] | undefined;
|
|
499
575
|
}[] | undefined;
|
|
500
576
|
toolPermissionPolicy?: Record<string, unknown> | undefined;
|
|
@@ -550,8 +626,8 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
550
626
|
webEvidence: {
|
|
551
627
|
status: "failed" | "none" | "attempted" | "satisfied" | "unverified";
|
|
552
628
|
available: boolean;
|
|
553
|
-
mode: "off" | "auto" | "cached" | "live";
|
|
554
629
|
target: string | null;
|
|
630
|
+
mode: "off" | "auto" | "cached" | "live";
|
|
555
631
|
tool: string | null;
|
|
556
632
|
required: boolean;
|
|
557
633
|
attempted: boolean;
|
|
@@ -563,11 +639,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
563
639
|
requestRequirements: {
|
|
564
640
|
requested: boolean;
|
|
565
641
|
effective: boolean;
|
|
566
|
-
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
567
|
-
evidence_refs: string[];
|
|
568
642
|
harness_id: string;
|
|
643
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible" | "postdiff_only";
|
|
644
|
+
evidence_refs: string[];
|
|
569
645
|
eligible: boolean;
|
|
570
|
-
capability: "browser";
|
|
646
|
+
capability: "browser" | "path_deny";
|
|
571
647
|
}[];
|
|
572
648
|
outputReadyState: "pending" | "finalizing" | "ready" | "diagnostic";
|
|
573
649
|
toolWarningsTotal: number;
|
|
@@ -594,11 +670,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
594
670
|
verified: boolean;
|
|
595
671
|
} | null;
|
|
596
672
|
startedAt?: string | undefined;
|
|
673
|
+
error?: string | undefined;
|
|
597
674
|
createdAt?: string | undefined;
|
|
598
675
|
mode?: "ask" | "plan" | "audit" | "agent" | "orchestrate" | undefined;
|
|
599
676
|
prompt?: string | undefined;
|
|
600
677
|
access?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
601
|
-
error?: string | undefined;
|
|
602
678
|
harnesses?: string[] | undefined;
|
|
603
679
|
runDir?: string | undefined;
|
|
604
680
|
model?: string | undefined;
|
|
@@ -633,6 +709,22 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
633
709
|
strategy?: "race" | "attempts" | "swarm" | "create" | "until_clean" | null | undefined;
|
|
634
710
|
spendUsd?: number | null | undefined;
|
|
635
711
|
spendEstimated?: boolean | undefined;
|
|
712
|
+
inputTokens?: number | null | undefined;
|
|
713
|
+
outputTokens?: number | null | undefined;
|
|
714
|
+
cachedInputTokens?: number | null | undefined;
|
|
715
|
+
outputConformance?: "passed" | "failed" | null | undefined;
|
|
716
|
+
authRoute?: {
|
|
717
|
+
source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null;
|
|
718
|
+
harnessId: string | null;
|
|
719
|
+
requested: "auto" | "subscription" | "api_key";
|
|
720
|
+
attemptId: string | null;
|
|
721
|
+
effective: "unknown" | "api_key" | "local_session" | null;
|
|
722
|
+
reason: "as_requested" | "native_first" | "no_native_session_fallback" | "requested_route_unavailable" | "undisclosed";
|
|
723
|
+
modelMismatch: {
|
|
724
|
+
requested: string;
|
|
725
|
+
observed: string;
|
|
726
|
+
} | null;
|
|
727
|
+
} | null | undefined;
|
|
636
728
|
requestedAccess?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
637
729
|
effectiveAccess?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
638
730
|
webRequired?: boolean | undefined;
|
|
@@ -646,11 +738,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
646
738
|
runId: string;
|
|
647
739
|
jobId: string;
|
|
648
740
|
startedAt?: string | undefined;
|
|
741
|
+
error?: string | undefined;
|
|
649
742
|
createdAt?: string | undefined;
|
|
650
743
|
mode?: "ask" | "plan" | "audit" | "agent" | "orchestrate" | undefined;
|
|
651
744
|
prompt?: string | undefined;
|
|
652
745
|
access?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
653
|
-
error?: string | undefined;
|
|
654
746
|
harnesses?: string[] | undefined;
|
|
655
747
|
runDir?: string | undefined;
|
|
656
748
|
model?: string | undefined;
|
|
@@ -703,6 +795,22 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
703
795
|
strategy?: "race" | "attempts" | "swarm" | "create" | "until_clean" | null | undefined;
|
|
704
796
|
spendUsd?: number | null | undefined;
|
|
705
797
|
spendEstimated?: boolean | undefined;
|
|
798
|
+
inputTokens?: number | null | undefined;
|
|
799
|
+
outputTokens?: number | null | undefined;
|
|
800
|
+
cachedInputTokens?: number | null | undefined;
|
|
801
|
+
outputConformance?: "passed" | "failed" | null | undefined;
|
|
802
|
+
authRoute?: {
|
|
803
|
+
requested: "auto" | "subscription" | "api_key";
|
|
804
|
+
reason: "as_requested" | "native_first" | "no_native_session_fallback" | "requested_route_unavailable" | "undisclosed";
|
|
805
|
+
source?: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null | undefined;
|
|
806
|
+
harnessId?: string | null | undefined;
|
|
807
|
+
attemptId?: string | null | undefined;
|
|
808
|
+
effective?: "unknown" | "api_key" | "local_session" | null | undefined;
|
|
809
|
+
modelMismatch?: {
|
|
810
|
+
requested: string;
|
|
811
|
+
observed: string;
|
|
812
|
+
} | null | undefined;
|
|
813
|
+
} | null | undefined;
|
|
706
814
|
requestedAccess?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
707
815
|
effectiveAccess?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
708
816
|
webRequired?: boolean | undefined;
|
|
@@ -710,8 +818,8 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
710
818
|
webEvidence?: {
|
|
711
819
|
status?: "failed" | "none" | "attempted" | "satisfied" | "unverified" | undefined;
|
|
712
820
|
available?: boolean | undefined;
|
|
713
|
-
mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
714
821
|
target?: string | null | undefined;
|
|
822
|
+
mode?: "off" | "auto" | "cached" | "live" | undefined;
|
|
715
823
|
tool?: string | null | undefined;
|
|
716
824
|
required?: boolean | undefined;
|
|
717
825
|
attempted?: boolean | undefined;
|
|
@@ -723,10 +831,10 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
723
831
|
requestRequirements?: {
|
|
724
832
|
requested: boolean;
|
|
725
833
|
effective: boolean;
|
|
726
|
-
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
727
834
|
harness_id: string;
|
|
835
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible" | "postdiff_only";
|
|
728
836
|
eligible: boolean;
|
|
729
|
-
capability: "browser";
|
|
837
|
+
capability: "browser" | "path_deny";
|
|
730
838
|
evidence_refs?: string[] | undefined;
|
|
731
839
|
}[] | undefined;
|
|
732
840
|
toolPermissionPolicy?: Record<string, unknown> | undefined;
|
|
@@ -906,6 +1014,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
906
1014
|
export type ControlDeliveryResponse = z.infer<typeof ControlDeliveryResponse>;
|
|
907
1015
|
export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
908
1016
|
prompt: z.ZodDefault<z.ZodString>;
|
|
1017
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
909
1018
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
910
1019
|
resourceId: z.ZodString;
|
|
911
1020
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1022,13 +1131,19 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1022
1131
|
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1023
1132
|
}>, "many">>;
|
|
1024
1133
|
authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
1134
|
+
credentialProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1025
1135
|
autonomy: z.ZodOptional<z.ZodEnum<["suggest", "auto_safe", "auto_full"]>>;
|
|
1026
1136
|
maxToolCalls: z.ZodOptional<z.ZodNumber>;
|
|
1137
|
+
maxSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1138
|
+
denyPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1139
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1140
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1027
1141
|
}, "turnId" | "retryOf" | "scope" | "execution" | "threadId" | "parentRunId">, "strict", z.ZodTypeAny, {
|
|
1028
1142
|
mode: "ask" | "plan" | "audit" | "agent" | "orchestrate";
|
|
1029
1143
|
prompt: string;
|
|
1030
|
-
access?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
1031
1144
|
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
1145
|
+
instructions?: string | undefined;
|
|
1146
|
+
access?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
1032
1147
|
attachments?: {
|
|
1033
1148
|
resourceId: string;
|
|
1034
1149
|
}[] | undefined;
|
|
@@ -1075,12 +1190,18 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1075
1190
|
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1076
1191
|
}[] | undefined;
|
|
1077
1192
|
authPreference?: "auto" | "subscription" | "api_key" | undefined;
|
|
1193
|
+
credentialProfileId?: string | null | undefined;
|
|
1078
1194
|
maxToolCalls?: number | undefined;
|
|
1195
|
+
maxSeconds?: number | undefined;
|
|
1196
|
+
denyPaths?: string[] | undefined;
|
|
1197
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
1198
|
+
maxTurns?: number | undefined;
|
|
1079
1199
|
}, {
|
|
1200
|
+
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
1201
|
+
instructions?: string | undefined;
|
|
1080
1202
|
mode?: "ask" | "plan" | "audit" | "agent" | "orchestrate" | undefined;
|
|
1081
1203
|
prompt?: string | undefined;
|
|
1082
1204
|
access?: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | undefined;
|
|
1083
|
-
web?: "off" | "auto" | "cached" | "live" | undefined;
|
|
1084
1205
|
attachments?: {
|
|
1085
1206
|
resourceId: string;
|
|
1086
1207
|
}[] | undefined;
|
|
@@ -1127,7 +1248,12 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1127
1248
|
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1128
1249
|
}[] | undefined;
|
|
1129
1250
|
authPreference?: "auto" | "subscription" | "api_key" | undefined;
|
|
1251
|
+
credentialProfileId?: string | null | undefined;
|
|
1130
1252
|
maxToolCalls?: number | undefined;
|
|
1253
|
+
maxSeconds?: number | undefined;
|
|
1254
|
+
denyPaths?: string[] | undefined;
|
|
1255
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
1256
|
+
maxTurns?: number | undefined;
|
|
1131
1257
|
}>;
|
|
1132
1258
|
export type ControlThreadTurnRequest = z.infer<typeof ControlThreadTurnRequest>;
|
|
1133
1259
|
export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-operation-responses.d.ts","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEqC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"control-operation-responses.d.ts","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"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"}
|