@claudexor/schema 3.4.2 → 3.6.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/budget.d.ts +3 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +4 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +38 -22
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +26 -6
- package/dist/config.js.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 +254 -14
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +307 -7
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +104 -9
- package/dist/credential-profile.js.map +1 -1
- package/dist/credential-store.d.ts +26 -0
- package/dist/credential-store.d.ts.map +1 -0
- package/dist/credential-store.js +30 -0
- package/dist/credential-store.js.map +1 -0
- 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 +12 -5
- package/dist/harness.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +10 -10
- package/dist/quota.d.ts +96 -14
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +60 -2
- 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/setup-login-input.js +1 -1
- package/dist/setup-login-input.js.map +1 -1
- package/dist/setup-login.d.ts +446 -0
- package/dist/setup-login.d.ts.map +1 -0
- package/dist/setup-login.js +161 -0
- package/dist/setup-login.js.map +1 -0
- package/dist/setup.d.ts +130 -491
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +8 -138
- package/dist/setup.js.map +1 -1
- package/generated/AccountsUnifiedMigrationFile.schema.json +61 -0
- package/generated/BudgetObservation.schema.json +4 -0
- package/generated/ControlAccountPoolsResponse.schema.json +93 -0
- package/generated/ControlAccountsMigrationRollbackRequest.schema.json +18 -0
- package/generated/ControlAccountsMigrationRollbackResponse.schema.json +63 -0
- package/generated/ControlCredentialProfileDeleteResponse.schema.json +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +87 -3
- package/generated/ControlCredentialProfilesResponse.schema.json +77 -1
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +84 -3
- package/generated/ControlHarnessAccountPool.schema.json +79 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +2 -1
- package/generated/ControlPoolNextUp.schema.json +63 -0
- package/generated/ControlQuotaResponse.schema.json +7 -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 +6 -1
- package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
- package/generated/ControlSetupJobEvent.schema.json +6 -1
- package/generated/ControlSetupJobListFilter.schema.json +2 -1
- package/generated/ControlSetupJobListResponse.schema.json +6 -1
- package/generated/ControlSetupJobSnapshot.schema.json +6 -1
- package/generated/GlobalConfig.schema.json +3 -2
- package/generated/HarnessEvent.schema.json +6 -1
- 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
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"enum": [
|
|
20
20
|
"codex",
|
|
21
21
|
"claude",
|
|
22
|
-
"cursor"
|
|
22
|
+
"cursor",
|
|
23
|
+
"agy"
|
|
23
24
|
],
|
|
24
25
|
"description": "Harness ids with a managed native-login flow."
|
|
25
26
|
},
|
|
@@ -77,6 +78,10 @@
|
|
|
77
78
|
"format": "date-time",
|
|
78
79
|
"description": "Current native-login deadline when the job has one."
|
|
79
80
|
},
|
|
81
|
+
"deadlineFixed": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"description": "Whether the deadline is the VENDOR's own window and cannot be extended (agy waits exactly 60s for its pasted code); absent = the engine owns the window and extending it is honest."
|
|
84
|
+
},
|
|
80
85
|
"outcome": {
|
|
81
86
|
"type": "object",
|
|
82
87
|
"properties": {
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"enum": [
|
|
20
20
|
"codex",
|
|
21
21
|
"claude",
|
|
22
|
-
"cursor"
|
|
22
|
+
"cursor",
|
|
23
|
+
"agy"
|
|
23
24
|
],
|
|
24
25
|
"description": "Harness ids with a managed native-login flow."
|
|
25
26
|
},
|
|
@@ -77,6 +78,10 @@
|
|
|
77
78
|
"format": "date-time",
|
|
78
79
|
"description": "Current native-login deadline when the job has one."
|
|
79
80
|
},
|
|
81
|
+
"deadlineFixed": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"description": "Whether the deadline is the VENDOR's own window and cannot be extended (agy waits exactly 60s for its pasted code); absent = the engine owns the window and extending it is honest."
|
|
84
|
+
},
|
|
80
85
|
"outcome": {
|
|
81
86
|
"type": "object",
|
|
82
87
|
"properties": {
|
|
@@ -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",
|
|
@@ -347,7 +347,9 @@
|
|
|
347
347
|
"codex_rollout",
|
|
348
348
|
"claude_statusline",
|
|
349
349
|
"claude_api_retry",
|
|
350
|
-
"claude_oauth_usage"
|
|
350
|
+
"claude_oauth_usage",
|
|
351
|
+
"agy_command_usage",
|
|
352
|
+
"cursor_rate_limit"
|
|
351
353
|
],
|
|
352
354
|
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
353
355
|
},
|
|
@@ -390,6 +392,9 @@
|
|
|
390
392
|
}
|
|
391
393
|
]
|
|
392
394
|
},
|
|
395
|
+
"applies_to_unspecified_model": {
|
|
396
|
+
"type": "boolean"
|
|
397
|
+
},
|
|
393
398
|
"used_ratio": {
|
|
394
399
|
"anyOf": [
|
|
395
400
|
{
|
|
@@ -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.6.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.6.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|