@claudexor/schema 3.5.0 → 3.8.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/accounts-migration.d.ts +112 -0
- package/dist/accounts-migration.d.ts.map +1 -0
- package/dist/accounts-migration.js +74 -0
- package/dist/accounts-migration.js.map +1 -0
- package/dist/agent-capabilities.d.ts +32 -0
- 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 +48 -30
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +32 -11
- package/dist/config.js.map +1 -1
- package/dist/control-harness-list.d.ts +197 -1
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-operation-responses.d.ts +7 -7
- package/dist/control-run-detail.d.ts +19 -19
- 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 +7 -1
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control.d.ts +23 -23
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +8 -8
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +644 -30
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +365 -38
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +140 -28
- package/dist/credential-profile.js.map +1 -1
- package/dist/credential-store.d.ts +19 -6
- package/dist/credential-store.d.ts.map +1 -1
- package/dist/credential-store.js +21 -6
- package/dist/credential-store.js.map +1 -1
- package/dist/events.d.ts +44 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +34 -0
- package/dist/events.js.map +1 -1
- package/dist/harness.d.ts +252 -59
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +2 -32
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.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/quota.d.ts +42 -21
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +35 -0
- package/dist/quota.js.map +1 -1
- package/dist/rate-limit.d.ts +9 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +21 -0
- package/dist/rate-limit.js.map +1 -1
- package/dist/readiness.d.ts +178 -1
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +12 -0
- package/dist/readiness.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/generated/AccountsUnifiedMigrationFile.schema.json +61 -0
- package/generated/AgentCapabilityCatalog.schema.json +26 -0
- package/generated/ControlAccountPoolsResponse.schema.json +93 -0
- package/generated/ControlAccountsMigrationRollbackRequest.schema.json +18 -0
- package/generated/ControlAccountsMigrationRollbackResponse.schema.json +63 -0
- package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
- package/generated/ControlCredentialProfileCreateResponse.schema.json +4 -4
- package/generated/ControlCredentialProfileDeleteResponse.schema.json +28 -4
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +4 -4
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +212 -7
- package/generated/ControlCredentialProfilesResponse.schema.json +81 -5
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +209 -7
- package/generated/ControlHarnessAccountPool.schema.json +79 -0
- package/generated/ControlHarnessListResponse.schema.json +124 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +2 -1
- package/generated/ControlPoolNextUp.schema.json +63 -0
- package/generated/ControlQuotaResponse.schema.json +4 -2
- package/generated/ControlRunDetail.schema.json +2 -1
- package/generated/ControlRunListResponse.schema.json +2 -1
- package/generated/ControlRunSummary.schema.json +2 -1
- package/generated/ControlSettingsSnapshot.schema.json +3 -2
- package/generated/ControlSettingsUpdateRequest.schema.json +2 -1
- 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/CredentialProfile.schema.json +3 -3
- package/generated/CredentialProfileStatus.schema.json +1 -1
- package/generated/GlobalConfig.schema.json +7 -6
- package/generated/HarnessEvent.schema.json +2 -1
- package/generated/HarnessManifest.schema.json +98 -0
- package/generated/HarnessStatusDto.schema.json +124 -0
- package/generated/McpRunHandleResult.schema.json +2 -1
- package/generated/McpRunToolResult.schema.json +2 -1
- package/generated/RunEvent.schema.json +4 -0
- package/generated/RunFailure.schema.json +2 -1
- package/package.json +2 -2
|
@@ -342,12 +342,13 @@
|
|
|
342
342
|
"profileLimitAction": {
|
|
343
343
|
"type": "string",
|
|
344
344
|
"enum": [
|
|
345
|
+
"auto",
|
|
345
346
|
"fail",
|
|
346
347
|
"ask",
|
|
347
348
|
"rotate"
|
|
348
349
|
],
|
|
349
|
-
"default": "
|
|
350
|
-
"description": "Profile-selection limit action: fail (stop), ask (record), rotate (auto-switch to the next eligible account)."
|
|
350
|
+
"default": "auto",
|
|
351
|
+
"description": "Profile-selection limit action: auto (kind-aware default — rotate for subscription subjects, fail for metered), fail (stop), ask (record), rotate (auto-switch to the next eligible account)."
|
|
351
352
|
}
|
|
352
353
|
},
|
|
353
354
|
"additionalProperties": false,
|
|
@@ -266,11 +266,12 @@
|
|
|
266
266
|
"profileLimitAction": {
|
|
267
267
|
"type": "string",
|
|
268
268
|
"enum": [
|
|
269
|
+
"auto",
|
|
269
270
|
"fail",
|
|
270
271
|
"ask",
|
|
271
272
|
"rotate"
|
|
272
273
|
],
|
|
273
|
-
"description": "New profile-selection limit action (fail | ask | rotate)."
|
|
274
|
+
"description": "New profile-selection limit action (auto | fail | ask | rotate)."
|
|
274
275
|
}
|
|
275
276
|
},
|
|
276
277
|
"additionalProperties": false,
|
|
@@ -811,7 +811,11 @@
|
|
|
811
811
|
"enum": [
|
|
812
812
|
"permit_timeout",
|
|
813
813
|
"spawn_failed",
|
|
814
|
-
"device_auth_unsupported"
|
|
814
|
+
"device_auth_unsupported",
|
|
815
|
+
"terminal_transport_unavailable",
|
|
816
|
+
"terminal_transport_unsupported",
|
|
817
|
+
"terminal_transport_probe_failed",
|
|
818
|
+
"terminal_transport_failed"
|
|
815
819
|
]
|
|
816
820
|
},
|
|
817
821
|
"finishedAt": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"profileId": {
|
|
27
27
|
"type": "string",
|
|
28
28
|
"minLength": 1,
|
|
29
|
-
"description": "Registered config_dir_login
|
|
29
|
+
"description": "Registered config_dir_login binding to log in under its exact scoped environment; absent = the default session."
|
|
30
30
|
},
|
|
31
31
|
"loginFlow": {
|
|
32
32
|
"type": "string",
|
|
@@ -866,7 +866,11 @@
|
|
|
866
866
|
"enum": [
|
|
867
867
|
"permit_timeout",
|
|
868
868
|
"spawn_failed",
|
|
869
|
-
"device_auth_unsupported"
|
|
869
|
+
"device_auth_unsupported",
|
|
870
|
+
"terminal_transport_unavailable",
|
|
871
|
+
"terminal_transport_unsupported",
|
|
872
|
+
"terminal_transport_probe_failed",
|
|
873
|
+
"terminal_transport_failed"
|
|
870
874
|
]
|
|
871
875
|
},
|
|
872
876
|
"finishedAt": {
|
|
@@ -816,7 +816,11 @@
|
|
|
816
816
|
"enum": [
|
|
817
817
|
"permit_timeout",
|
|
818
818
|
"spawn_failed",
|
|
819
|
-
"device_auth_unsupported"
|
|
819
|
+
"device_auth_unsupported",
|
|
820
|
+
"terminal_transport_unavailable",
|
|
821
|
+
"terminal_transport_unsupported",
|
|
822
|
+
"terminal_transport_probe_failed",
|
|
823
|
+
"terminal_transport_failed"
|
|
820
824
|
]
|
|
821
825
|
},
|
|
822
826
|
"finishedAt": {
|
|
@@ -816,7 +816,11 @@
|
|
|
816
816
|
"enum": [
|
|
817
817
|
"permit_timeout",
|
|
818
818
|
"spawn_failed",
|
|
819
|
-
"device_auth_unsupported"
|
|
819
|
+
"device_auth_unsupported",
|
|
820
|
+
"terminal_transport_unavailable",
|
|
821
|
+
"terminal_transport_unsupported",
|
|
822
|
+
"terminal_transport_probe_failed",
|
|
823
|
+
"terminal_transport_failed"
|
|
820
824
|
]
|
|
821
825
|
},
|
|
822
826
|
"finishedAt": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"oauth_token",
|
|
27
27
|
"api_key"
|
|
28
28
|
],
|
|
29
|
-
"description": "
|
|
29
|
+
"description": "Binding kind for a profile: Claudexor-owned scoped vendor state, a managed OAuth secret, or a managed API-key secret; a vendor OS-user credential may remain outside that state."
|
|
30
30
|
},
|
|
31
31
|
"isolation_locator": {
|
|
32
32
|
"type": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"null"
|
|
35
35
|
],
|
|
36
36
|
"default": null,
|
|
37
|
-
"description": "Canonical absolute
|
|
37
|
+
"description": "Canonical absolute path to Claudexor-owned scoped vendor state for config_dir_login bindings; null for secret-ref kinds."
|
|
38
38
|
},
|
|
39
39
|
"secret_ref": {
|
|
40
40
|
"type": [
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"credential_kind"
|
|
72
72
|
],
|
|
73
73
|
"additionalProperties": false,
|
|
74
|
-
"description": "Durable non-secret
|
|
74
|
+
"description": "Durable non-secret named binding for one harness; credential material may live in Claudexor-owned scoped state, a managed secret store, or a platform-declared vendor/OS-user store, never in this row."
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"vendor"
|
|
36
36
|
],
|
|
37
37
|
"default": "local_store",
|
|
38
|
-
"description": "How the verification verdict was reached: local_store = the
|
|
38
|
+
"description": "How the verification verdict was reached: local_store = the binding's required local state or managed secret is present (says nothing about a token being live); vendor = the vendor answered under the exact binding environment and effective platform credential policy."
|
|
39
39
|
},
|
|
40
40
|
"detail": {
|
|
41
41
|
"type": "string",
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
"oauth_token",
|
|
297
297
|
"api_key"
|
|
298
298
|
],
|
|
299
|
-
"description": "
|
|
299
|
+
"description": "Binding kind for a profile: Claudexor-owned scoped vendor state, a managed OAuth secret, or a managed API-key secret; a vendor OS-user credential may remain outside that state."
|
|
300
300
|
},
|
|
301
301
|
"isolation_locator": {
|
|
302
302
|
"type": [
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
"null"
|
|
305
305
|
],
|
|
306
306
|
"default": null,
|
|
307
|
-
"description": "Canonical absolute
|
|
307
|
+
"description": "Canonical absolute path to Claudexor-owned scoped vendor state for config_dir_login bindings; null for secret-ref kinds."
|
|
308
308
|
},
|
|
309
309
|
"secret_ref": {
|
|
310
310
|
"type": [
|
|
@@ -341,10 +341,10 @@
|
|
|
341
341
|
"credential_kind"
|
|
342
342
|
],
|
|
343
343
|
"additionalProperties": false,
|
|
344
|
-
"description": "Durable non-secret
|
|
344
|
+
"description": "Durable non-secret named binding for one harness; credential material may live in Claudexor-owned scoped state, a managed secret store, or a platform-declared vendor/OS-user store, never in this row."
|
|
345
345
|
},
|
|
346
346
|
"default": [],
|
|
347
|
-
"description": "Durable non-secret
|
|
347
|
+
"description": "Durable non-secret named-binding registry; credential material may live in Claudexor-owned scoped state, a managed secret store, or a platform-declared vendor/OS-user store, never in config."
|
|
348
348
|
},
|
|
349
349
|
"harnesses": {
|
|
350
350
|
"type": "object",
|
|
@@ -413,12 +413,13 @@
|
|
|
413
413
|
"limit_action": {
|
|
414
414
|
"type": "string",
|
|
415
415
|
"enum": [
|
|
416
|
+
"auto",
|
|
416
417
|
"fail",
|
|
417
418
|
"ask",
|
|
418
419
|
"rotate"
|
|
419
420
|
],
|
|
420
|
-
"default": "
|
|
421
|
-
"description": "On a typed vendor limit: fail the attempt, surface a typed ask, or rotate to the next eligible profile."
|
|
421
|
+
"default": "auto",
|
|
422
|
+
"description": "On a typed vendor limit: auto (kind-aware default — rotate for subscription subjects, fail for metered), fail the attempt, surface a typed ask, or rotate to the next eligible profile."
|
|
422
423
|
},
|
|
423
424
|
"rotation_eligible": {
|
|
424
425
|
"type": "array",
|
|
@@ -348,7 +348,8 @@
|
|
|
348
348
|
"claude_statusline",
|
|
349
349
|
"claude_api_retry",
|
|
350
350
|
"claude_oauth_usage",
|
|
351
|
-
"agy_command_usage"
|
|
351
|
+
"agy_command_usage",
|
|
352
|
+
"cursor_rate_limit"
|
|
352
353
|
],
|
|
353
354
|
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
354
355
|
},
|
|
@@ -114,6 +114,20 @@
|
|
|
114
114
|
},
|
|
115
115
|
"default": [],
|
|
116
116
|
"description": "Relocation levers that can move this transport into a scoped environment."
|
|
117
|
+
},
|
|
118
|
+
"platforms": {
|
|
119
|
+
"type": "array",
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": [
|
|
123
|
+
"darwin",
|
|
124
|
+
"linux",
|
|
125
|
+
"win32"
|
|
126
|
+
],
|
|
127
|
+
"description": "Host platform used to resolve credential and managed-login policy."
|
|
128
|
+
},
|
|
129
|
+
"minItems": 1,
|
|
130
|
+
"description": "Host platforms on which this physical credential transport applies; absent means every supported platform for backward compatibility."
|
|
117
131
|
}
|
|
118
132
|
},
|
|
119
133
|
"required": [
|
|
@@ -125,6 +139,90 @@
|
|
|
125
139
|
},
|
|
126
140
|
"default": [],
|
|
127
141
|
"description": "Declared credential transports per auth source."
|
|
142
|
+
},
|
|
143
|
+
"credential_profile_policies": {
|
|
144
|
+
"type": "array",
|
|
145
|
+
"items": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"properties": {
|
|
148
|
+
"source": {
|
|
149
|
+
"$ref": "#/definitions/HarnessManifest/properties/capability_profile/properties/auth/properties/supported_sources/items"
|
|
150
|
+
},
|
|
151
|
+
"platforms": {
|
|
152
|
+
"type": "array",
|
|
153
|
+
"items": {
|
|
154
|
+
"$ref": "#/definitions/HarnessManifest/properties/capability_profile/properties/auth/properties/credential_transports/items/properties/platforms/items"
|
|
155
|
+
},
|
|
156
|
+
"minItems": 1,
|
|
157
|
+
"description": "Nonempty host-platform set governed by this policy row."
|
|
158
|
+
},
|
|
159
|
+
"identity_scope": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"enum": [
|
|
162
|
+
"profile",
|
|
163
|
+
"os_user"
|
|
164
|
+
],
|
|
165
|
+
"description": "Identity boundary selected by a credential profile: the named profile itself or the host OS user/login vault."
|
|
166
|
+
},
|
|
167
|
+
"max_enabled_profiles": {
|
|
168
|
+
"anyOf": [
|
|
169
|
+
{
|
|
170
|
+
"type": "integer",
|
|
171
|
+
"exclusiveMinimum": 0
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "null"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"description": "Maximum enabled profile bindings on these platforms; null means unbounded."
|
|
178
|
+
},
|
|
179
|
+
"cleanup_owner": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"enum": [
|
|
182
|
+
"claudexor",
|
|
183
|
+
"vendor"
|
|
184
|
+
],
|
|
185
|
+
"description": "Who owns cleanup of the credential when its Claudexor profile binding is removed."
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"required": [
|
|
189
|
+
"source",
|
|
190
|
+
"platforms",
|
|
191
|
+
"identity_scope",
|
|
192
|
+
"max_enabled_profiles",
|
|
193
|
+
"cleanup_owner"
|
|
194
|
+
],
|
|
195
|
+
"additionalProperties": false,
|
|
196
|
+
"description": "Platform-specific identity scope, enabled-profile cardinality, and credential cleanup ownership for one auth source."
|
|
197
|
+
},
|
|
198
|
+
"description": "Platform-specific profile identity/cardinality/cleanup policy; absent uses the backward-compatible profile-scoped, unbounded, Claudexor-owned defaults."
|
|
199
|
+
},
|
|
200
|
+
"managed_login": {
|
|
201
|
+
"anyOf": [
|
|
202
|
+
{
|
|
203
|
+
"type": "object",
|
|
204
|
+
"properties": {
|
|
205
|
+
"stdin": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"enum": [
|
|
208
|
+
"none",
|
|
209
|
+
"pipe",
|
|
210
|
+
"terminal"
|
|
211
|
+
],
|
|
212
|
+
"description": "Input transport the vendor login command requires."
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"required": [
|
|
216
|
+
"stdin"
|
|
217
|
+
],
|
|
218
|
+
"additionalProperties": false,
|
|
219
|
+
"description": "Managed-login input requirement; command, argv, flow, and time window remain owned by the native-login registry."
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "null"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"description": "Managed subscription-login input requirement; null means this harness defines no managed login, absent is a legacy manifest."
|
|
128
226
|
}
|
|
129
227
|
},
|
|
130
228
|
"additionalProperties": false,
|
|
@@ -132,6 +132,20 @@
|
|
|
132
132
|
},
|
|
133
133
|
"default": [],
|
|
134
134
|
"description": "Relocation levers that can move this transport into a scoped environment."
|
|
135
|
+
},
|
|
136
|
+
"platforms": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"items": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"enum": [
|
|
141
|
+
"darwin",
|
|
142
|
+
"linux",
|
|
143
|
+
"win32"
|
|
144
|
+
],
|
|
145
|
+
"description": "Host platform used to resolve credential and managed-login policy."
|
|
146
|
+
},
|
|
147
|
+
"minItems": 1,
|
|
148
|
+
"description": "Host platforms on which this physical credential transport applies; absent means every supported platform for backward compatibility."
|
|
135
149
|
}
|
|
136
150
|
},
|
|
137
151
|
"required": [
|
|
@@ -143,6 +157,90 @@
|
|
|
143
157
|
},
|
|
144
158
|
"default": [],
|
|
145
159
|
"description": "Declared credential transports per auth source."
|
|
160
|
+
},
|
|
161
|
+
"credential_profile_policies": {
|
|
162
|
+
"type": "array",
|
|
163
|
+
"items": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"source": {
|
|
167
|
+
"$ref": "#/definitions/HarnessStatusDto/properties/manifest/anyOf/0/properties/capability_profile/properties/auth/properties/supported_sources/items"
|
|
168
|
+
},
|
|
169
|
+
"platforms": {
|
|
170
|
+
"type": "array",
|
|
171
|
+
"items": {
|
|
172
|
+
"$ref": "#/definitions/HarnessStatusDto/properties/manifest/anyOf/0/properties/capability_profile/properties/auth/properties/credential_transports/items/properties/platforms/items"
|
|
173
|
+
},
|
|
174
|
+
"minItems": 1,
|
|
175
|
+
"description": "Nonempty host-platform set governed by this policy row."
|
|
176
|
+
},
|
|
177
|
+
"identity_scope": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"enum": [
|
|
180
|
+
"profile",
|
|
181
|
+
"os_user"
|
|
182
|
+
],
|
|
183
|
+
"description": "Identity boundary selected by a credential profile: the named profile itself or the host OS user/login vault."
|
|
184
|
+
},
|
|
185
|
+
"max_enabled_profiles": {
|
|
186
|
+
"anyOf": [
|
|
187
|
+
{
|
|
188
|
+
"type": "integer",
|
|
189
|
+
"exclusiveMinimum": 0
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "null"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"description": "Maximum enabled profile bindings on these platforms; null means unbounded."
|
|
196
|
+
},
|
|
197
|
+
"cleanup_owner": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"enum": [
|
|
200
|
+
"claudexor",
|
|
201
|
+
"vendor"
|
|
202
|
+
],
|
|
203
|
+
"description": "Who owns cleanup of the credential when its Claudexor profile binding is removed."
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"required": [
|
|
207
|
+
"source",
|
|
208
|
+
"platforms",
|
|
209
|
+
"identity_scope",
|
|
210
|
+
"max_enabled_profiles",
|
|
211
|
+
"cleanup_owner"
|
|
212
|
+
],
|
|
213
|
+
"additionalProperties": false,
|
|
214
|
+
"description": "Platform-specific identity scope, enabled-profile cardinality, and credential cleanup ownership for one auth source."
|
|
215
|
+
},
|
|
216
|
+
"description": "Platform-specific profile identity/cardinality/cleanup policy; absent uses the backward-compatible profile-scoped, unbounded, Claudexor-owned defaults."
|
|
217
|
+
},
|
|
218
|
+
"managed_login": {
|
|
219
|
+
"anyOf": [
|
|
220
|
+
{
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"stdin": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"enum": [
|
|
226
|
+
"none",
|
|
227
|
+
"pipe",
|
|
228
|
+
"terminal"
|
|
229
|
+
],
|
|
230
|
+
"description": "Input transport the vendor login command requires."
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"required": [
|
|
234
|
+
"stdin"
|
|
235
|
+
],
|
|
236
|
+
"additionalProperties": false,
|
|
237
|
+
"description": "Managed-login input requirement; command, argv, flow, and time window remain owned by the native-login registry."
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "null"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"description": "Managed subscription-login input requirement; null means this harness defines no managed login, absent is a legacy manifest."
|
|
146
244
|
}
|
|
147
245
|
},
|
|
148
246
|
"additionalProperties": false,
|
|
@@ -762,6 +860,32 @@
|
|
|
762
860
|
],
|
|
763
861
|
"description": "Engine-owned Delegate capability for this harness and installed runtime; null on legacy status rows.",
|
|
764
862
|
"default": null
|
|
863
|
+
},
|
|
864
|
+
"setupLogin": {
|
|
865
|
+
"anyOf": [
|
|
866
|
+
{
|
|
867
|
+
"type": "object",
|
|
868
|
+
"properties": {
|
|
869
|
+
"mode": {
|
|
870
|
+
"type": "string",
|
|
871
|
+
"enum": [
|
|
872
|
+
"in_app",
|
|
873
|
+
"external_terminal"
|
|
874
|
+
],
|
|
875
|
+
"description": "in_app requests the daemon-hosted login flow; external_terminal requests the existing client PTY flow."
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"required": [
|
|
879
|
+
"mode"
|
|
880
|
+
],
|
|
881
|
+
"additionalProperties": false,
|
|
882
|
+
"description": "Effective setup-login flow for this harness on the current host."
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"type": "null"
|
|
886
|
+
}
|
|
887
|
+
],
|
|
888
|
+
"description": "Effective setup-login flow for this harness on the current host; current producers emit null or an object, while omission identifies a legacy row."
|
|
765
889
|
}
|
|
766
890
|
},
|
|
767
891
|
"required": [
|
|
@@ -678,11 +678,12 @@
|
|
|
678
678
|
"cost_unverifiable",
|
|
679
679
|
"delegation_child_drain_timeout",
|
|
680
680
|
"subscription_window_exhausted",
|
|
681
|
+
"credential_pool_exhausted",
|
|
681
682
|
"delegated_home_unavailable",
|
|
682
683
|
"delegated_confinement_unavailable",
|
|
683
684
|
"delegated_evidence_incomplete"
|
|
684
685
|
],
|
|
685
|
-
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons, Delegate child-drain timeout, a spent subscription quota window whose reopen time is RunFailure.resetsAt, and the delegated-run confinement refusals: missing scoped home, no OS-enforced boundary on this host, incomplete applied evidence)."
|
|
686
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons, Delegate child-drain timeout, a spent subscription quota window whose reopen time is RunFailure.resetsAt, an exhausted credential rotation pool whose EARLIEST known member reset is RunFailure.resetsAt, and the delegated-run confinement refusals: missing scoped home, no OS-enforced boundary on this host, incomplete applied evidence)."
|
|
686
687
|
},
|
|
687
688
|
{
|
|
688
689
|
"type": "null"
|
|
@@ -654,11 +654,12 @@
|
|
|
654
654
|
"cost_unverifiable",
|
|
655
655
|
"delegation_child_drain_timeout",
|
|
656
656
|
"subscription_window_exhausted",
|
|
657
|
+
"credential_pool_exhausted",
|
|
657
658
|
"delegated_home_unavailable",
|
|
658
659
|
"delegated_confinement_unavailable",
|
|
659
660
|
"delegated_evidence_incomplete"
|
|
660
661
|
],
|
|
661
|
-
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons, Delegate child-drain timeout, a spent subscription quota window whose reopen time is RunFailure.resetsAt, and the delegated-run confinement refusals: missing scoped home, no OS-enforced boundary on this host, incomplete applied evidence)."
|
|
662
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons, Delegate child-drain timeout, a spent subscription quota window whose reopen time is RunFailure.resetsAt, an exhausted credential rotation pool whose EARLIEST known member reset is RunFailure.resetsAt, and the delegated-run confinement refusals: missing scoped home, no OS-enforced boundary on this host, incomplete applied evidence)."
|
|
662
663
|
},
|
|
663
664
|
{
|
|
664
665
|
"type": "null"
|
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
"route.profile.headroom_exceeded",
|
|
52
52
|
"route.profile.rotated",
|
|
53
53
|
"route.profile.rotation_exhausted",
|
|
54
|
+
"route.profile.credential_unusable",
|
|
55
|
+
"route.account.pool_selected",
|
|
56
|
+
"route.account.lane_switch",
|
|
57
|
+
"route.account.pool_exhausted",
|
|
54
58
|
"route.transient.exhausted",
|
|
55
59
|
"route.fallback.auth_switched",
|
|
56
60
|
"route.primary.diverged",
|
|
@@ -40,11 +40,12 @@
|
|
|
40
40
|
"cost_unverifiable",
|
|
41
41
|
"delegation_child_drain_timeout",
|
|
42
42
|
"subscription_window_exhausted",
|
|
43
|
+
"credential_pool_exhausted",
|
|
43
44
|
"delegated_home_unavailable",
|
|
44
45
|
"delegated_confinement_unavailable",
|
|
45
46
|
"delegated_evidence_incomplete"
|
|
46
47
|
],
|
|
47
|
-
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons, Delegate child-drain timeout, a spent subscription quota window whose reopen time is RunFailure.resetsAt, and the delegated-run confinement refusals: missing scoped home, no OS-enforced boundary on this host, incomplete applied evidence)."
|
|
48
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons, Delegate child-drain timeout, a spent subscription quota window whose reopen time is RunFailure.resetsAt, an exhausted credential rotation pool whose EARLIEST known member reset is RunFailure.resetsAt, and the delegated-run confinement refusals: missing scoped home, no OS-enforced boundary on this host, incomplete applied evidence)."
|
|
48
49
|
},
|
|
49
50
|
{
|
|
50
51
|
"type": "null"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Single source of truth for all Claudexor data shapes (Zod + generated JSON Schema).",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "^4.4.3",
|
|
22
22
|
"zod-to-json-schema": "^3.24.1",
|
|
23
|
-
"@claudexor/util": "3.
|
|
23
|
+
"@claudexor/util": "3.8.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|