@claudexor/schema 3.6.0 → 3.8.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/agent-capabilities.d.ts +48 -16
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +4 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/config.d.ts +30 -28
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +7 -6
- package/dist/config.js.map +1 -1
- package/dist/control-harness-list.d.ts +215 -19
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-operation-responses.d.ts +16 -13
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +33 -46
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +10 -19
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-execution.d.ts +16 -0
- package/dist/control-run-execution.d.ts.map +1 -0
- package/dist/control-run-execution.js +19 -0
- package/dist/control-run-execution.js.map +1 -0
- package/dist/control-run-failure.d.ts +4 -4
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +6 -4
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-retry.d.ts +21 -0
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +6 -0
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control-trust.d.ts +13 -13
- package/dist/control.d.ts +365 -36
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +12 -18
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +486 -52
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +113 -42
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +58 -30
- package/dist/credential-profile.js.map +1 -1
- package/dist/harness-confinement.d.ts +37 -30
- package/dist/harness-confinement.d.ts.map +1 -1
- package/dist/harness-confinement.js +18 -26
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness.d.ts +265 -102
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +3 -38
- package/dist/harness.js.map +1 -1
- package/dist/mcp-run-result.d.ts +10 -10
- package/dist/platform-auth.d.ts +196 -0
- package/dist/platform-auth.d.ts.map +1 -0
- package/dist/platform-auth.js +142 -0
- package/dist/platform-auth.js.map +1 -0
- package/dist/primitives.d.ts +6 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +8 -2
- package/dist/primitives.js.map +1 -1
- package/dist/quota.d.ts +9 -9
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +3 -0
- package/dist/quota.js.map +1 -1
- package/dist/readiness.d.ts +192 -15
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +12 -0
- package/dist/readiness.js.map +1 -1
- package/dist/run-strategy.d.ts +51 -3
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +58 -2
- package/dist/run-strategy.js.map +1 -1
- package/dist/setup-login.d.ts +5 -5
- package/dist/setup.d.ts +102 -95
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +29 -5
- package/dist/setup.js.map +1 -1
- package/dist/task.d.ts +641 -19
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +40 -5
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +2 -2
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +1 -1
- package/dist/thread.js +2 -2
- package/dist/thread.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +27 -2
- package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
- package/generated/ControlCredentialProfileCreateResponse.schema.json +13 -4
- package/generated/ControlCredentialProfileDeleteResponse.schema.json +27 -3
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +13 -4
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +142 -8
- package/generated/ControlCredentialProfilesResponse.schema.json +13 -4
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +142 -8
- package/generated/ControlHarnessListResponse.schema.json +127 -3
- package/generated/ControlQuotaResponse.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +20 -3
- package/generated/ControlRunDetail.schema.json +10 -8
- package/generated/ControlRunListResponse.schema.json +6 -4
- package/generated/ControlRunStartRequest.schema.json +5 -2
- package/generated/ControlRunSummary.schema.json +6 -4
- package/generated/ControlSetupJob.schema.json +5 -1
- package/generated/ControlSetupJobCreateRequest.schema.json +1 -1
- package/generated/ControlSetupJobEvent.schema.json +5 -1
- package/generated/ControlSetupJobListResponse.schema.json +5 -1
- package/generated/ControlSetupJobSnapshot.schema.json +5 -1
- package/generated/ControlThread.schema.json +3 -3
- package/generated/ControlThreadCreateRequest.schema.json +0 -1
- package/generated/ControlThreadDetail.schema.json +3 -3
- package/generated/ControlThreadListResponse.schema.json +3 -3
- package/generated/ControlThreadTurnRequest.schema.json +0 -1
- package/generated/ControlThreadUpdateRequest.schema.json +1 -2
- package/generated/ControlTrustListResponse.schema.json +0 -1
- package/generated/ControlTrustState.schema.json +0 -1
- package/generated/ControlTrustUpdateRequest.schema.json +0 -1
- package/generated/CredentialProfile.schema.json +3 -3
- package/generated/CredentialProfileStatus.schema.json +10 -1
- package/generated/GlobalConfig.schema.json +4 -4
- package/generated/HarnessManifest.schema.json +101 -3
- package/generated/HarnessStatusDto.schema.json +127 -3
- package/generated/McpRunHandleResult.schema.json +4 -2
- package/generated/McpRunToolResult.schema.json +4 -2
- package/generated/RunFailure.schema.json +4 -2
- package/generated/RunTelemetry.schema.json +5 -5
- package/generated/TaskContract.schema.json +8 -8
- package/generated/Thread.schema.json +3 -3
- package/generated/TrustConfig.schema.json +0 -2
- package/package.json +2 -2
package/dist/harness.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
|
+
export * from "./platform-auth.js";
|
|
2
3
|
export { EffortHint } from "./effort.js";
|
|
3
4
|
/** Quality of a usage/quota signal a harness can emit. */
|
|
4
5
|
export declare const SignalQuality: z.ZodEnum<["exact", "native", "observed", "manual", "unknown"]>;
|
|
@@ -206,58 +207,6 @@ export type KnownModelEntry = HarnessCapabilities["known_models"][number];
|
|
|
206
207
|
* `route: null` (undecidable pre-spawn) returns only the route-UNRESTRICTED
|
|
207
208
|
* ids — fail-closed, a route-scoped model never leaks past an unknown route. */
|
|
208
209
|
export declare function knownModelIdsForRoute(entries: readonly KnownModelEntry[], route: "local_session" | "api_key" | null): string[];
|
|
209
|
-
export declare const CredentialTransportKind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
|
|
210
|
-
export type CredentialTransportKind = z.infer<typeof CredentialTransportKind>;
|
|
211
|
-
export declare const CredentialRelocation: z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>;
|
|
212
|
-
export type CredentialRelocation = z.infer<typeof CredentialRelocation>;
|
|
213
|
-
export declare const CredentialTransport: z.ZodObject<{
|
|
214
|
-
source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
215
|
-
kind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
|
|
216
|
-
relocatable_by: z.ZodDefault<z.ZodArray<z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>, "many">>;
|
|
217
|
-
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
219
|
-
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
220
|
-
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
221
|
-
}, {
|
|
222
|
-
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
223
|
-
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
224
|
-
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
225
|
-
}>;
|
|
226
|
-
export type CredentialTransport = z.infer<typeof CredentialTransport>;
|
|
227
|
-
export declare const AuthCapabilities: z.ZodDefault<z.ZodObject<{
|
|
228
|
-
supported_sources: z.ZodDefault<z.ZodArray<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>, "many">>;
|
|
229
|
-
preferred_source: z.ZodDefault<z.ZodNullable<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>>>;
|
|
230
|
-
credential_transports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
231
|
-
source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
232
|
-
kind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
|
|
233
|
-
relocatable_by: z.ZodDefault<z.ZodArray<z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>, "many">>;
|
|
234
|
-
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
236
|
-
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
237
|
-
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
238
|
-
}, {
|
|
239
|
-
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
240
|
-
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
241
|
-
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
242
|
-
}>, "many">>;
|
|
243
|
-
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
|
|
245
|
-
preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
246
|
-
credential_transports: {
|
|
247
|
-
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
248
|
-
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
249
|
-
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
250
|
-
}[];
|
|
251
|
-
}, {
|
|
252
|
-
supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
|
|
253
|
-
preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
|
|
254
|
-
credential_transports?: {
|
|
255
|
-
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
256
|
-
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
257
|
-
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
258
|
-
}[] | undefined;
|
|
259
|
-
}>>;
|
|
260
|
-
export type AuthCapabilities = z.infer<typeof AuthCapabilities>;
|
|
261
210
|
export declare const ReadonlyMechanism: z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "none"]>;
|
|
262
211
|
export type ReadonlyMechanism = z.infer<typeof ReadonlyMechanism>;
|
|
263
212
|
export declare const AccessControlCapabilities: z.ZodDefault<z.ZodObject<{
|
|
@@ -277,22 +226,51 @@ export type AccessControlCapabilities = z.infer<typeof AccessControlCapabilities
|
|
|
277
226
|
* only WITH its consumer in the same change.
|
|
278
227
|
*/
|
|
279
228
|
export declare const HarnessCapabilityProfile: z.ZodDefault<z.ZodObject<{
|
|
280
|
-
auth: z.ZodDefault<z.ZodObject<{
|
|
229
|
+
auth: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
281
230
|
supported_sources: z.ZodDefault<z.ZodArray<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>, "many">>;
|
|
282
231
|
preferred_source: z.ZodDefault<z.ZodNullable<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>>>;
|
|
283
232
|
credential_transports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
284
233
|
source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
285
234
|
kind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
|
|
286
235
|
relocatable_by: z.ZodDefault<z.ZodArray<z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>, "many">>;
|
|
236
|
+
platforms: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "linux", "win32"]>, "many">>, ("darwin" | "linux" | "win32")[] | undefined, ("darwin" | "linux" | "win32")[] | undefined>;
|
|
287
237
|
}, "strip", z.ZodTypeAny, {
|
|
288
238
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
289
239
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
290
240
|
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
241
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
291
242
|
}, {
|
|
292
243
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
293
244
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
294
245
|
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
246
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
247
|
+
}>, "many">>;
|
|
248
|
+
credential_profile_policies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
249
|
+
source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
250
|
+
platforms: z.ZodEffects<z.ZodArray<z.ZodEnum<["darwin", "linux", "win32"]>, "many">, ("darwin" | "linux" | "win32")[], ("darwin" | "linux" | "win32")[]>;
|
|
251
|
+
identity_scope: z.ZodEnum<["profile", "os_user"]>;
|
|
252
|
+
max_enabled_profiles: z.ZodNullable<z.ZodNumber>;
|
|
253
|
+
cleanup_owner: z.ZodEnum<["claudexor", "vendor"]>;
|
|
254
|
+
}, "strict", z.ZodTypeAny, {
|
|
255
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
256
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
257
|
+
identity_scope: "os_user" | "profile";
|
|
258
|
+
max_enabled_profiles: number | null;
|
|
259
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
260
|
+
}, {
|
|
261
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
262
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
263
|
+
identity_scope: "os_user" | "profile";
|
|
264
|
+
max_enabled_profiles: number | null;
|
|
265
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
295
266
|
}>, "many">>;
|
|
267
|
+
managed_login: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
268
|
+
stdin: z.ZodEnum<["none", "pipe", "terminal"]>;
|
|
269
|
+
}, "strict", z.ZodTypeAny, {
|
|
270
|
+
stdin: "none" | "pipe" | "terminal";
|
|
271
|
+
}, {
|
|
272
|
+
stdin: "none" | "pipe" | "terminal";
|
|
273
|
+
}>>>;
|
|
296
274
|
}, "strip", z.ZodTypeAny, {
|
|
297
275
|
supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
|
|
298
276
|
preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
@@ -300,7 +278,56 @@ export declare const HarnessCapabilityProfile: z.ZodDefault<z.ZodObject<{
|
|
|
300
278
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
301
279
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
302
280
|
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
281
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
282
|
+
}[];
|
|
283
|
+
credential_profile_policies?: {
|
|
284
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
285
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
286
|
+
identity_scope: "os_user" | "profile";
|
|
287
|
+
max_enabled_profiles: number | null;
|
|
288
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
289
|
+
}[] | undefined;
|
|
290
|
+
managed_login?: {
|
|
291
|
+
stdin: "none" | "pipe" | "terminal";
|
|
292
|
+
} | null | undefined;
|
|
293
|
+
}, {
|
|
294
|
+
supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
|
|
295
|
+
preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
|
|
296
|
+
credential_transports?: {
|
|
297
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
298
|
+
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
299
|
+
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
300
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
301
|
+
}[] | undefined;
|
|
302
|
+
credential_profile_policies?: {
|
|
303
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
304
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
305
|
+
identity_scope: "os_user" | "profile";
|
|
306
|
+
max_enabled_profiles: number | null;
|
|
307
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
308
|
+
}[] | undefined;
|
|
309
|
+
managed_login?: {
|
|
310
|
+
stdin: "none" | "pipe" | "terminal";
|
|
311
|
+
} | null | undefined;
|
|
312
|
+
}>, {
|
|
313
|
+
supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
|
|
314
|
+
preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
315
|
+
credential_transports: {
|
|
316
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
317
|
+
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
318
|
+
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
319
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
303
320
|
}[];
|
|
321
|
+
credential_profile_policies?: {
|
|
322
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
323
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
324
|
+
identity_scope: "os_user" | "profile";
|
|
325
|
+
max_enabled_profiles: number | null;
|
|
326
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
327
|
+
}[] | undefined;
|
|
328
|
+
managed_login?: {
|
|
329
|
+
stdin: "none" | "pipe" | "terminal";
|
|
330
|
+
} | null | undefined;
|
|
304
331
|
}, {
|
|
305
332
|
supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
|
|
306
333
|
preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
|
|
@@ -308,7 +335,18 @@ export declare const HarnessCapabilityProfile: z.ZodDefault<z.ZodObject<{
|
|
|
308
335
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
309
336
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
310
337
|
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
338
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
311
339
|
}[] | undefined;
|
|
340
|
+
credential_profile_policies?: {
|
|
341
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
342
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
343
|
+
identity_scope: "os_user" | "profile";
|
|
344
|
+
max_enabled_profiles: number | null;
|
|
345
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
346
|
+
}[] | undefined;
|
|
347
|
+
managed_login?: {
|
|
348
|
+
stdin: "none" | "pipe" | "terminal";
|
|
349
|
+
} | null | undefined;
|
|
312
350
|
}>>;
|
|
313
351
|
access_control: z.ZodDefault<z.ZodObject<{
|
|
314
352
|
readonly_mechanism: z.ZodDefault<z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "none"]>>;
|
|
@@ -318,11 +356,11 @@ export declare const HarnessCapabilityProfile: z.ZodDefault<z.ZodObject<{
|
|
|
318
356
|
readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
|
|
319
357
|
}>>;
|
|
320
358
|
isolation: z.ZodDefault<z.ZodObject<{
|
|
321
|
-
supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "host_user_context", "process_sandbox", "container"]>, "many">>;
|
|
359
|
+
supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "private_per_profile_keychain", "host_user_context", "process_sandbox", "container"]>, "many">>;
|
|
322
360
|
}, "strip", z.ZodTypeAny, {
|
|
323
|
-
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
361
|
+
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
324
362
|
}, {
|
|
325
|
-
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
363
|
+
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
326
364
|
}>>;
|
|
327
365
|
/** Every accepted media class has a finite MIME/size/count/transport declaration. */
|
|
328
366
|
attachment_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -370,13 +408,24 @@ export declare const HarnessCapabilityProfile: z.ZodDefault<z.ZodObject<{
|
|
|
370
408
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
371
409
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
372
410
|
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
411
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
373
412
|
}[];
|
|
413
|
+
credential_profile_policies?: {
|
|
414
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
415
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
416
|
+
identity_scope: "os_user" | "profile";
|
|
417
|
+
max_enabled_profiles: number | null;
|
|
418
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
419
|
+
}[] | undefined;
|
|
420
|
+
managed_login?: {
|
|
421
|
+
stdin: "none" | "pipe" | "terminal";
|
|
422
|
+
} | null | undefined;
|
|
374
423
|
};
|
|
375
424
|
access_control: {
|
|
376
425
|
readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
|
|
377
426
|
};
|
|
378
427
|
isolation: {
|
|
379
|
-
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
428
|
+
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
380
429
|
};
|
|
381
430
|
attachment_inputs: {
|
|
382
431
|
kind: "file" | "image";
|
|
@@ -395,13 +444,24 @@ export declare const HarnessCapabilityProfile: z.ZodDefault<z.ZodObject<{
|
|
|
395
444
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
396
445
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
397
446
|
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
447
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
398
448
|
}[] | undefined;
|
|
449
|
+
credential_profile_policies?: {
|
|
450
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
451
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
452
|
+
identity_scope: "os_user" | "profile";
|
|
453
|
+
max_enabled_profiles: number | null;
|
|
454
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
455
|
+
}[] | undefined;
|
|
456
|
+
managed_login?: {
|
|
457
|
+
stdin: "none" | "pipe" | "terminal";
|
|
458
|
+
} | null | undefined;
|
|
399
459
|
} | undefined;
|
|
400
460
|
access_control?: {
|
|
401
461
|
readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
|
|
402
462
|
} | undefined;
|
|
403
463
|
isolation?: {
|
|
404
|
-
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
464
|
+
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
405
465
|
} | undefined;
|
|
406
466
|
attachment_inputs?: {
|
|
407
467
|
kind: "file" | "image";
|
|
@@ -447,22 +507,51 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
447
507
|
adapter_version: z.ZodOptional<z.ZodString>;
|
|
448
508
|
provider_family: z.ZodDefault<z.ZodEnum<["openai", "anthropic", "google", "cursor", "opencode", "xai", "local", "unknown"]>>;
|
|
449
509
|
capability_profile: z.ZodDefault<z.ZodObject<{
|
|
450
|
-
auth: z.ZodDefault<z.ZodObject<{
|
|
510
|
+
auth: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
451
511
|
supported_sources: z.ZodDefault<z.ZodArray<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>, "many">>;
|
|
452
512
|
preferred_source: z.ZodDefault<z.ZodNullable<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>>>;
|
|
453
513
|
credential_transports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
454
514
|
source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
455
515
|
kind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
|
|
456
516
|
relocatable_by: z.ZodDefault<z.ZodArray<z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>, "many">>;
|
|
517
|
+
platforms: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "linux", "win32"]>, "many">>, ("darwin" | "linux" | "win32")[] | undefined, ("darwin" | "linux" | "win32")[] | undefined>;
|
|
457
518
|
}, "strip", z.ZodTypeAny, {
|
|
458
519
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
459
520
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
460
521
|
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
522
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
461
523
|
}, {
|
|
462
524
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
463
525
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
464
526
|
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
527
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
528
|
+
}>, "many">>;
|
|
529
|
+
credential_profile_policies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
530
|
+
source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
531
|
+
platforms: z.ZodEffects<z.ZodArray<z.ZodEnum<["darwin", "linux", "win32"]>, "many">, ("darwin" | "linux" | "win32")[], ("darwin" | "linux" | "win32")[]>;
|
|
532
|
+
identity_scope: z.ZodEnum<["profile", "os_user"]>;
|
|
533
|
+
max_enabled_profiles: z.ZodNullable<z.ZodNumber>;
|
|
534
|
+
cleanup_owner: z.ZodEnum<["claudexor", "vendor"]>;
|
|
535
|
+
}, "strict", z.ZodTypeAny, {
|
|
536
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
537
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
538
|
+
identity_scope: "os_user" | "profile";
|
|
539
|
+
max_enabled_profiles: number | null;
|
|
540
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
541
|
+
}, {
|
|
542
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
543
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
544
|
+
identity_scope: "os_user" | "profile";
|
|
545
|
+
max_enabled_profiles: number | null;
|
|
546
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
465
547
|
}>, "many">>;
|
|
548
|
+
managed_login: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
549
|
+
stdin: z.ZodEnum<["none", "pipe", "terminal"]>;
|
|
550
|
+
}, "strict", z.ZodTypeAny, {
|
|
551
|
+
stdin: "none" | "pipe" | "terminal";
|
|
552
|
+
}, {
|
|
553
|
+
stdin: "none" | "pipe" | "terminal";
|
|
554
|
+
}>>>;
|
|
466
555
|
}, "strip", z.ZodTypeAny, {
|
|
467
556
|
supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
|
|
468
557
|
preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
@@ -470,7 +559,18 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
470
559
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
471
560
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
472
561
|
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
562
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
473
563
|
}[];
|
|
564
|
+
credential_profile_policies?: {
|
|
565
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
566
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
567
|
+
identity_scope: "os_user" | "profile";
|
|
568
|
+
max_enabled_profiles: number | null;
|
|
569
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
570
|
+
}[] | undefined;
|
|
571
|
+
managed_login?: {
|
|
572
|
+
stdin: "none" | "pipe" | "terminal";
|
|
573
|
+
} | null | undefined;
|
|
474
574
|
}, {
|
|
475
575
|
supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
|
|
476
576
|
preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
|
|
@@ -478,7 +578,56 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
478
578
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
479
579
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
480
580
|
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
581
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
582
|
+
}[] | undefined;
|
|
583
|
+
credential_profile_policies?: {
|
|
584
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
585
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
586
|
+
identity_scope: "os_user" | "profile";
|
|
587
|
+
max_enabled_profiles: number | null;
|
|
588
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
589
|
+
}[] | undefined;
|
|
590
|
+
managed_login?: {
|
|
591
|
+
stdin: "none" | "pipe" | "terminal";
|
|
592
|
+
} | null | undefined;
|
|
593
|
+
}>, {
|
|
594
|
+
supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
|
|
595
|
+
preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
596
|
+
credential_transports: {
|
|
597
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
598
|
+
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
599
|
+
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
600
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
601
|
+
}[];
|
|
602
|
+
credential_profile_policies?: {
|
|
603
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
604
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
605
|
+
identity_scope: "os_user" | "profile";
|
|
606
|
+
max_enabled_profiles: number | null;
|
|
607
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
481
608
|
}[] | undefined;
|
|
609
|
+
managed_login?: {
|
|
610
|
+
stdin: "none" | "pipe" | "terminal";
|
|
611
|
+
} | null | undefined;
|
|
612
|
+
}, {
|
|
613
|
+
supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
|
|
614
|
+
preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
|
|
615
|
+
credential_transports?: {
|
|
616
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
617
|
+
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
618
|
+
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
619
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
620
|
+
}[] | undefined;
|
|
621
|
+
credential_profile_policies?: {
|
|
622
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
623
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
624
|
+
identity_scope: "os_user" | "profile";
|
|
625
|
+
max_enabled_profiles: number | null;
|
|
626
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
627
|
+
}[] | undefined;
|
|
628
|
+
managed_login?: {
|
|
629
|
+
stdin: "none" | "pipe" | "terminal";
|
|
630
|
+
} | null | undefined;
|
|
482
631
|
}>>;
|
|
483
632
|
access_control: z.ZodDefault<z.ZodObject<{
|
|
484
633
|
readonly_mechanism: z.ZodDefault<z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "none"]>>;
|
|
@@ -488,11 +637,11 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
488
637
|
readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
|
|
489
638
|
}>>;
|
|
490
639
|
isolation: z.ZodDefault<z.ZodObject<{
|
|
491
|
-
supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "host_user_context", "process_sandbox", "container"]>, "many">>;
|
|
640
|
+
supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "private_per_profile_keychain", "host_user_context", "process_sandbox", "container"]>, "many">>;
|
|
492
641
|
}, "strip", z.ZodTypeAny, {
|
|
493
|
-
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
642
|
+
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
494
643
|
}, {
|
|
495
|
-
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
644
|
+
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
496
645
|
}>>;
|
|
497
646
|
/** Every accepted media class has a finite MIME/size/count/transport declaration. */
|
|
498
647
|
attachment_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -540,13 +689,24 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
540
689
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
541
690
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
542
691
|
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
692
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
543
693
|
}[];
|
|
694
|
+
credential_profile_policies?: {
|
|
695
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
696
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
697
|
+
identity_scope: "os_user" | "profile";
|
|
698
|
+
max_enabled_profiles: number | null;
|
|
699
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
700
|
+
}[] | undefined;
|
|
701
|
+
managed_login?: {
|
|
702
|
+
stdin: "none" | "pipe" | "terminal";
|
|
703
|
+
} | null | undefined;
|
|
544
704
|
};
|
|
545
705
|
access_control: {
|
|
546
706
|
readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
|
|
547
707
|
};
|
|
548
708
|
isolation: {
|
|
549
|
-
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
709
|
+
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
550
710
|
};
|
|
551
711
|
attachment_inputs: {
|
|
552
712
|
kind: "file" | "image";
|
|
@@ -565,13 +725,24 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
565
725
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
566
726
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
567
727
|
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
728
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
568
729
|
}[] | undefined;
|
|
730
|
+
credential_profile_policies?: {
|
|
731
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
732
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
733
|
+
identity_scope: "os_user" | "profile";
|
|
734
|
+
max_enabled_profiles: number | null;
|
|
735
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
736
|
+
}[] | undefined;
|
|
737
|
+
managed_login?: {
|
|
738
|
+
stdin: "none" | "pipe" | "terminal";
|
|
739
|
+
} | null | undefined;
|
|
569
740
|
} | undefined;
|
|
570
741
|
access_control?: {
|
|
571
742
|
readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
|
|
572
743
|
} | undefined;
|
|
573
744
|
isolation?: {
|
|
574
|
-
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
745
|
+
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
575
746
|
} | undefined;
|
|
576
747
|
attachment_inputs?: {
|
|
577
748
|
kind: "file" | "image";
|
|
@@ -758,7 +929,7 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
758
929
|
known_models_verified_against?: string | null | undefined;
|
|
759
930
|
}>;
|
|
760
931
|
auth_modes: z.ZodDefault<z.ZodArray<z.ZodEnum<["local_session", "api_key", "none"]>, "many">>;
|
|
761
|
-
access_profiles_supported: z.ZodDefault<z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
932
|
+
access_profiles_supported: z.ZodDefault<z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>, "many">>;
|
|
762
933
|
}, "strip", z.ZodTypeAny, {
|
|
763
934
|
id: string;
|
|
764
935
|
display_name: string;
|
|
@@ -774,13 +945,24 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
774
945
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
775
946
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
776
947
|
relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
|
|
948
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
777
949
|
}[];
|
|
950
|
+
credential_profile_policies?: {
|
|
951
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
952
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
953
|
+
identity_scope: "os_user" | "profile";
|
|
954
|
+
max_enabled_profiles: number | null;
|
|
955
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
956
|
+
}[] | undefined;
|
|
957
|
+
managed_login?: {
|
|
958
|
+
stdin: "none" | "pipe" | "terminal";
|
|
959
|
+
} | null | undefined;
|
|
778
960
|
};
|
|
779
961
|
access_control: {
|
|
780
962
|
readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
|
|
781
963
|
};
|
|
782
964
|
isolation: {
|
|
783
|
-
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
965
|
+
supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
|
|
784
966
|
};
|
|
785
967
|
attachment_inputs: {
|
|
786
968
|
kind: "file" | "image";
|
|
@@ -822,7 +1004,7 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
822
1004
|
known_models_verified_against: string | null;
|
|
823
1005
|
};
|
|
824
1006
|
auth_modes: ("api_key" | "local_session" | "none")[];
|
|
825
|
-
access_profiles_supported: ("
|
|
1007
|
+
access_profiles_supported: ("full" | "inherit_native" | "readonly" | "workspace_write")[];
|
|
826
1008
|
}, {
|
|
827
1009
|
id: string;
|
|
828
1010
|
display_name: string;
|
|
@@ -838,13 +1020,24 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
838
1020
|
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
839
1021
|
kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
|
|
840
1022
|
relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
|
|
1023
|
+
platforms?: ("darwin" | "linux" | "win32")[] | undefined;
|
|
1024
|
+
}[] | undefined;
|
|
1025
|
+
credential_profile_policies?: {
|
|
1026
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1027
|
+
platforms: ("darwin" | "linux" | "win32")[];
|
|
1028
|
+
identity_scope: "os_user" | "profile";
|
|
1029
|
+
max_enabled_profiles: number | null;
|
|
1030
|
+
cleanup_owner: "claudexor" | "vendor";
|
|
841
1031
|
}[] | undefined;
|
|
1032
|
+
managed_login?: {
|
|
1033
|
+
stdin: "none" | "pipe" | "terminal";
|
|
1034
|
+
} | null | undefined;
|
|
842
1035
|
} | undefined;
|
|
843
1036
|
access_control?: {
|
|
844
1037
|
readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
|
|
845
1038
|
} | undefined;
|
|
846
1039
|
isolation?: {
|
|
847
|
-
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
1040
|
+
supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
|
|
848
1041
|
} | undefined;
|
|
849
1042
|
attachment_inputs?: {
|
|
850
1043
|
kind: "file" | "image";
|
|
@@ -886,7 +1079,7 @@ export declare const HarnessManifest: z.ZodObject<{
|
|
|
886
1079
|
known_models_verified_against?: string | null | undefined;
|
|
887
1080
|
};
|
|
888
1081
|
auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
|
|
889
|
-
access_profiles_supported?: ("
|
|
1082
|
+
access_profiles_supported?: ("full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
|
|
890
1083
|
}>;
|
|
891
1084
|
export type HarnessManifest = z.infer<typeof HarnessManifest>;
|
|
892
1085
|
/** Result of a conformance probe for one capability check. */
|
|
@@ -1031,7 +1224,7 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1031
1224
|
*/
|
|
1032
1225
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1033
1226
|
cwd: z.ZodString;
|
|
1034
|
-
access: z.ZodDefault<z.ZodEnum<["readonly", "workspace_write", "full", "
|
|
1227
|
+
access: z.ZodDefault<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>>;
|
|
1035
1228
|
external_context_policy: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
1036
1229
|
tool_permission_policy: z.ZodDefault<z.ZodObject<{
|
|
1037
1230
|
web: z.ZodDefault<z.ZodEnum<["off", "auto", "cached", "live"]>>;
|
|
@@ -1324,24 +1517,6 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1324
1517
|
}[];
|
|
1325
1518
|
evidence_refs: string[];
|
|
1326
1519
|
}>>>;
|
|
1327
|
-
/** The APPLIED OS boundary this process starts inside; null = none (every
|
|
1328
|
-
* ordinary run). Consumed by the shared CLI run loop, never by adapters. */
|
|
1329
|
-
confinement: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1330
|
-
mechanism: z.ZodString;
|
|
1331
|
-
profile: z.ZodString;
|
|
1332
|
-
profile_digest: z.ZodString;
|
|
1333
|
-
verified_denied_path: z.ZodString;
|
|
1334
|
-
}, "strip", z.ZodTypeAny, {
|
|
1335
|
-
mechanism: string;
|
|
1336
|
-
profile: string;
|
|
1337
|
-
profile_digest: string;
|
|
1338
|
-
verified_denied_path: string;
|
|
1339
|
-
}, {
|
|
1340
|
-
mechanism: string;
|
|
1341
|
-
profile: string;
|
|
1342
|
-
profile_digest: string;
|
|
1343
|
-
verified_denied_path: string;
|
|
1344
|
-
}>>>;
|
|
1345
1520
|
extra: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1346
1521
|
}, "strip", z.ZodTypeAny, {
|
|
1347
1522
|
session_id: string;
|
|
@@ -1349,7 +1524,7 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1349
1524
|
prompt: string;
|
|
1350
1525
|
instructions?: string | undefined;
|
|
1351
1526
|
cwd: string;
|
|
1352
|
-
access: "
|
|
1527
|
+
access: "full" | "inherit_native" | "readonly" | "workspace_write";
|
|
1353
1528
|
external_context_policy: "auto" | "cached" | "live" | "off";
|
|
1354
1529
|
tool_permission_policy: {
|
|
1355
1530
|
web: "auto" | "cached" | "live" | "off";
|
|
@@ -1425,12 +1600,6 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1425
1600
|
}[];
|
|
1426
1601
|
evidence_refs: string[];
|
|
1427
1602
|
} | null | undefined;
|
|
1428
|
-
confinement: {
|
|
1429
|
-
mechanism: string;
|
|
1430
|
-
profile: string;
|
|
1431
|
-
profile_digest: string;
|
|
1432
|
-
verified_denied_path: string;
|
|
1433
|
-
} | null;
|
|
1434
1603
|
extra: Record<string, unknown>;
|
|
1435
1604
|
}, {
|
|
1436
1605
|
session_id: string;
|
|
@@ -1438,7 +1607,7 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1438
1607
|
prompt: string;
|
|
1439
1608
|
instructions?: string | undefined;
|
|
1440
1609
|
cwd: string;
|
|
1441
|
-
access?: "
|
|
1610
|
+
access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
|
|
1442
1611
|
external_context_policy?: "auto" | "cached" | "live" | "off" | undefined;
|
|
1443
1612
|
tool_permission_policy?: {
|
|
1444
1613
|
web?: "auto" | "cached" | "live" | "off" | undefined;
|
|
@@ -1514,12 +1683,6 @@ export declare const HarnessRunSpec: z.ZodObject<{
|
|
|
1514
1683
|
}[];
|
|
1515
1684
|
evidence_refs: string[];
|
|
1516
1685
|
} | null | undefined;
|
|
1517
|
-
confinement?: {
|
|
1518
|
-
mechanism: string;
|
|
1519
|
-
profile: string;
|
|
1520
|
-
profile_digest: string;
|
|
1521
|
-
verified_denied_path: string;
|
|
1522
|
-
} | null | undefined;
|
|
1523
1686
|
extra?: Record<string, unknown> | undefined;
|
|
1524
1687
|
}>;
|
|
1525
1688
|
export type HarnessRunSpec = z.infer<typeof HarnessRunSpec>;
|