@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.
Files changed (106) hide show
  1. package/dist/accounts-migration.d.ts +112 -0
  2. package/dist/accounts-migration.d.ts.map +1 -0
  3. package/dist/accounts-migration.js +74 -0
  4. package/dist/accounts-migration.js.map +1 -0
  5. package/dist/agent-capabilities.d.ts +32 -0
  6. package/dist/agent-capabilities.d.ts.map +1 -1
  7. package/dist/agent-capabilities.js +4 -0
  8. package/dist/agent-capabilities.js.map +1 -1
  9. package/dist/config.d.ts +48 -30
  10. package/dist/config.d.ts.map +1 -1
  11. package/dist/config.js +32 -11
  12. package/dist/config.js.map +1 -1
  13. package/dist/control-harness-list.d.ts +197 -1
  14. package/dist/control-harness-list.d.ts.map +1 -1
  15. package/dist/control-operation-responses.d.ts +7 -7
  16. package/dist/control-run-detail.d.ts +19 -19
  17. package/dist/control-run-failure.d.ts +4 -4
  18. package/dist/control-run-failure.d.ts.map +1 -1
  19. package/dist/control-run-failure.js +7 -1
  20. package/dist/control-run-failure.js.map +1 -1
  21. package/dist/control.d.ts +23 -23
  22. package/dist/control.d.ts.map +1 -1
  23. package/dist/control.js +8 -8
  24. package/dist/control.js.map +1 -1
  25. package/dist/credential-profile-snapshot.d.ts +644 -30
  26. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  27. package/dist/credential-profile.d.ts +365 -38
  28. package/dist/credential-profile.d.ts.map +1 -1
  29. package/dist/credential-profile.js +140 -28
  30. package/dist/credential-profile.js.map +1 -1
  31. package/dist/credential-store.d.ts +19 -6
  32. package/dist/credential-store.d.ts.map +1 -1
  33. package/dist/credential-store.js +21 -6
  34. package/dist/credential-store.js.map +1 -1
  35. package/dist/events.d.ts +44 -4
  36. package/dist/events.d.ts.map +1 -1
  37. package/dist/events.js +34 -0
  38. package/dist/events.js.map +1 -1
  39. package/dist/harness.d.ts +252 -59
  40. package/dist/harness.d.ts.map +1 -1
  41. package/dist/harness.js +2 -32
  42. package/dist/harness.js.map +1 -1
  43. package/dist/index.d.ts +1 -0
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js +1 -0
  46. package/dist/index.js.map +1 -1
  47. package/dist/mcp-run-result.d.ts +10 -10
  48. package/dist/platform-auth.d.ts +196 -0
  49. package/dist/platform-auth.d.ts.map +1 -0
  50. package/dist/platform-auth.js +142 -0
  51. package/dist/platform-auth.js.map +1 -0
  52. package/dist/quota.d.ts +42 -21
  53. package/dist/quota.d.ts.map +1 -1
  54. package/dist/quota.js +35 -0
  55. package/dist/quota.js.map +1 -1
  56. package/dist/rate-limit.d.ts +9 -0
  57. package/dist/rate-limit.d.ts.map +1 -1
  58. package/dist/rate-limit.js +21 -0
  59. package/dist/rate-limit.js.map +1 -1
  60. package/dist/readiness.d.ts +178 -1
  61. package/dist/readiness.d.ts.map +1 -1
  62. package/dist/readiness.js +12 -0
  63. package/dist/readiness.js.map +1 -1
  64. package/dist/setup-login.d.ts +5 -5
  65. package/dist/setup.d.ts +102 -95
  66. package/dist/setup.d.ts.map +1 -1
  67. package/dist/setup.js +29 -5
  68. package/dist/setup.js.map +1 -1
  69. package/generated/AccountsUnifiedMigrationFile.schema.json +61 -0
  70. package/generated/AgentCapabilityCatalog.schema.json +26 -0
  71. package/generated/ControlAccountPoolsResponse.schema.json +93 -0
  72. package/generated/ControlAccountsMigrationRollbackRequest.schema.json +18 -0
  73. package/generated/ControlAccountsMigrationRollbackResponse.schema.json +63 -0
  74. package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
  75. package/generated/ControlCredentialProfileCreateResponse.schema.json +4 -4
  76. package/generated/ControlCredentialProfileDeleteResponse.schema.json +28 -4
  77. package/generated/ControlCredentialProfileUpdateResponse.schema.json +4 -4
  78. package/generated/ControlCredentialProfilesQueryResponse.schema.json +212 -7
  79. package/generated/ControlCredentialProfilesResponse.schema.json +81 -5
  80. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +209 -7
  81. package/generated/ControlHarnessAccountPool.schema.json +79 -0
  82. package/generated/ControlHarnessListResponse.schema.json +124 -0
  83. package/generated/ControlHarnessSettingsPatch.schema.json +2 -1
  84. package/generated/ControlPoolNextUp.schema.json +63 -0
  85. package/generated/ControlQuotaResponse.schema.json +4 -2
  86. package/generated/ControlRunDetail.schema.json +2 -1
  87. package/generated/ControlRunListResponse.schema.json +2 -1
  88. package/generated/ControlRunSummary.schema.json +2 -1
  89. package/generated/ControlSettingsSnapshot.schema.json +3 -2
  90. package/generated/ControlSettingsUpdateRequest.schema.json +2 -1
  91. package/generated/ControlSetupJob.schema.json +5 -1
  92. package/generated/ControlSetupJobCreateRequest.schema.json +1 -1
  93. package/generated/ControlSetupJobEvent.schema.json +5 -1
  94. package/generated/ControlSetupJobListResponse.schema.json +5 -1
  95. package/generated/ControlSetupJobSnapshot.schema.json +5 -1
  96. package/generated/CredentialProfile.schema.json +3 -3
  97. package/generated/CredentialProfileStatus.schema.json +1 -1
  98. package/generated/GlobalConfig.schema.json +7 -6
  99. package/generated/HarnessEvent.schema.json +2 -1
  100. package/generated/HarnessManifest.schema.json +98 -0
  101. package/generated/HarnessStatusDto.schema.json +124 -0
  102. package/generated/McpRunHandleResult.schema.json +2 -1
  103. package/generated/McpRunToolResult.schema.json +2 -1
  104. package/generated/RunEvent.schema.json +4 -0
  105. package/generated/RunFailure.schema.json +2 -1
  106. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"credential-profile-snapshot.d.ts","sourceRoot":"","sources":["../src/credential-profile-snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B;+EAC+E;AAC/E,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEqC,CAAC;AACzF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAC"}
@@ -1,19 +1,29 @@
1
1
  import { z } from "zod/v3";
2
+ /** Exact profile-policy problem vocabulary shared by mutation and admission
3
+ * surfaces. ControlProblem remains open for unrelated domain errors. */
4
+ export declare const CredentialProfileProblemCode: z.ZodEnum<["credential_profile_required", "credential_profile_exists", "credential_profile_limit_exceeded", "credential_profile_ambiguous"]>;
5
+ export type CredentialProfileProblemCode = z.infer<typeof CredentialProfileProblemCode>;
2
6
  /**
3
- * The credential transport a profile isolates (INV-135). `config_dir_login` is
4
- * a vendor-owned login living in a Claudexor-scoped config dir or HOME
5
- * (Claude CLAUDE_CONFIG_DIR / Codex CODEX_HOME / Cursor file-store HOME);
6
- * `oauth_token` and `api_key` are secret-store references. Default vendor
7
- * stores are NEVER a profile's isolation locator — profiles are additive.
7
+ * The binding kind a profile uses (INV-135, unified account model).
8
+ * `config_dir_login` owns Claudexor-scoped vendor state in a config dir or HOME
9
+ * (Claude CLAUDE_CONFIG_DIR / Codex
10
+ * CODEX_HOME / Cursor file-store HOME). The Claudexor-owned LEGACY native
11
+ * dirs are legal locators — the startup migration registers them as the
12
+ * `claude-default`/`codex-default` rows without moving bytes; the vendor's
13
+ * ordinary host stores (~/.claude, ~/.codex) stay outside the owned root and
14
+ * are never a locator. A vendor OS-user credential may live outside that
15
+ * state and remain unchanged when the binding is removed. `oauth_token` and
16
+ * `api_key` are managed secret-store references.
8
17
  */
9
18
  export declare const CredentialKind: z.ZodEnum<["config_dir_login", "oauth_token", "api_key"]>;
10
19
  export type CredentialKind = z.infer<typeof CredentialKind>;
11
20
  /**
12
- * Durable, NON-SECRET registry entry for one credential identity of one
13
- * harness (INV-135). Secret material never lives here: `config_dir_login`
14
- * points at a vendor-owned directory, token/key kinds point at a namespaced
15
- * secret-store name. Readiness is intentionally NOT durable — it is the
16
- * doctor's `CredentialProfileStatus` projection.
21
+ * Durable, NON-SECRET named binding for one harness (INV-135). Secret material
22
+ * never lives here: `config_dir_login` points at Claudexor-owned scoped vendor
23
+ * state while effective platform policy may keep the credential at OS-user
24
+ * scope; token/key kinds point at a namespaced managed-secret name. Readiness
25
+ * is intentionally NOT durable — it is the doctor's
26
+ * `CredentialProfileStatus` projection.
17
27
  */
18
28
  export declare const CredentialProfile: z.ZodEffects<z.ZodObject<{
19
29
  profile_id: z.ZodString;
@@ -72,12 +82,12 @@ export declare const CredentialProfileStatus: z.ZodObject<{
72
82
  availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
73
83
  verification: z.ZodEnum<["passed", "failed", "not_run"]>;
74
84
  /** WHAT the `verification` verdict is worth. `local_store` means only that
75
- * this profile's own credential material is present and well-formed where
76
- * it should be — it cannot tell a live token from a revoked one.
77
- * `vendor` means the vendor itself answered a request made with THIS
78
- * profile's credential. A router that needs "configured AND healthy" must
79
- * read this alongside `verification`; `passed` + `local_store` promises
80
- * strictly less than it sounds. */
85
+ * this binding's required local state or managed secret is present and
86
+ * well-formed — it cannot tell a live token from a revoked one. `vendor`
87
+ * means the vendor answered under THIS binding's exact environment and
88
+ * effective platform credential policy. A router that needs "configured
89
+ * AND healthy" must read this alongside `verification`; `passed` +
90
+ * `local_store` promises strictly less than it sounds. */
81
91
  verification_source: z.ZodDefault<z.ZodEnum<["local_store", "vendor"]>>;
82
92
  detail: z.ZodOptional<z.ZodString>;
83
93
  last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -99,6 +109,56 @@ export declare const CredentialProfileStatus: z.ZodObject<{
99
109
  last_verified_at?: string | null | undefined;
100
110
  }>;
101
111
  export type CredentialProfileStatus = z.infer<typeof CredentialProfileStatus>;
112
+ /** Why an observed credential is unusable, in the OBSERVER's typed vocabulary:
113
+ * `auth_revoked` = the vendor rejected the credential itself (401/403);
114
+ * `capability_refused` = a typed non-retryable entitlement refusal was observed
115
+ * on the attempt stream (org-disabled, model-not-entitled — model-scoped when
116
+ * the attempt carried a model hint); `verification_failed` = the profile's own
117
+ * doctor probe failed verification. */
118
+ export declare const CredentialUnusableCode: z.ZodEnum<["auth_revoked", "capability_refused", "verification_failed"]>;
119
+ export type CredentialUnusableCode = z.infer<typeof CredentialUnusableCode>;
120
+ /**
121
+ * ONE typed observation that a credential subject is UNUSABLE — dead as a
122
+ * credential, not merely quota-spent (A7 differential probe). Deliberately a
123
+ * bounded, self-expiring OBSERVATION, never durable config: profile readiness
124
+ * stays the doctor's projection (`CredentialProfileStatus`), and quota-spent
125
+ * evidence stays the quota registry's cooldown snapshots. The clearing
126
+ * contract is threefold: `expires_at` self-expiry (bounded TTL), a successful
127
+ * model response for the same subject, and any credential-generation change
128
+ * (re-login / profile mutation).
129
+ */
130
+ export declare const CredentialUnusableObservation: z.ZodObject<{
131
+ harness_id: z.ZodString;
132
+ profile_id: z.ZodNullable<z.ZodString>;
133
+ /** Model the refusal was observed under, when the evidence cannot prove it
134
+ * is credential-wide (an entitlement refusal may be model-scoped). Null =
135
+ * the evidence condemns the credential for every model. */
136
+ model: z.ZodNullable<z.ZodString>;
137
+ code: z.ZodEnum<["auth_revoked", "capability_refused", "verification_failed"]>;
138
+ source: z.ZodEnum<["vendor_poller", "attempt_stream", "local_probe"]>;
139
+ detail: z.ZodNullable<z.ZodString>;
140
+ observed_at: z.ZodString;
141
+ expires_at: z.ZodString;
142
+ }, "strict", z.ZodTypeAny, {
143
+ harness_id: string;
144
+ profile_id: string | null;
145
+ model: string | null;
146
+ code: "auth_revoked" | "capability_refused" | "verification_failed";
147
+ source: "attempt_stream" | "local_probe" | "vendor_poller";
148
+ detail: string | null;
149
+ observed_at: string;
150
+ expires_at: string;
151
+ }, {
152
+ harness_id: string;
153
+ profile_id: string | null;
154
+ model: string | null;
155
+ code: "auth_revoked" | "capability_refused" | "verification_failed";
156
+ source: "attempt_stream" | "local_probe" | "vendor_poller";
157
+ detail: string | null;
158
+ observed_at: string;
159
+ expires_at: string;
160
+ }>;
161
+ export type CredentialUnusableObservation = z.infer<typeof CredentialUnusableObservation>;
102
162
  /**
103
163
  * NON-SECRET account identity projection (INV-067/INV-135): the email and plan
104
164
  * label derived DAEMON-SIDE from a sanctioned per-account source. Codex and
@@ -159,6 +219,174 @@ export declare const ControlNextUpIdentity: z.ZodDiscriminatedUnion<"kind", [z.Z
159
219
  reason: string;
160
220
  }>]>;
161
221
  export type ControlNextUpIdentity = z.infer<typeof ControlNextUpIdentity>;
222
+ /**
223
+ * The account an UNPINNED run of a harness would route to next under the
224
+ * UNIFIED account model (INV-135): every account is a named registry row, so
225
+ * the pool verdict is either an enabled row, the policy-governed API-key
226
+ * ROUTE (INV-061 — a route, never a row), or nothing routable. This union is
227
+ * carried ONLY by `accountPools` — the legacy `ControlNextUpIdentity` stays
228
+ * untouched because old strict decoders throw on unknown kinds.
229
+ */
230
+ export declare const ControlPoolNextUp: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
231
+ kind: z.ZodLiteral<"profile">;
232
+ profileId: z.ZodString;
233
+ }, "strict", z.ZodTypeAny, {
234
+ kind: "profile";
235
+ profileId: string;
236
+ }, {
237
+ kind: "profile";
238
+ profileId: string;
239
+ }>, z.ZodObject<{
240
+ kind: z.ZodLiteral<"api_key_route">;
241
+ }, "strict", z.ZodTypeAny, {
242
+ kind: "api_key_route";
243
+ }, {
244
+ kind: "api_key_route";
245
+ }>, z.ZodObject<{
246
+ kind: z.ZodLiteral<"none">;
247
+ reason: z.ZodString;
248
+ }, "strict", z.ZodTypeAny, {
249
+ kind: "none";
250
+ reason: string;
251
+ }, {
252
+ kind: "none";
253
+ reason: string;
254
+ }>]>;
255
+ export type ControlPoolNextUp = z.infer<typeof ControlPoolNextUp>;
256
+ /** Per-harness POOL AUTHORITY of the unified account model: routing facts live
257
+ * here; account facts live on the profile rows. */
258
+ export declare const ControlHarnessAccountPool: z.ZodObject<{
259
+ harness_id: z.ZodString;
260
+ next_up: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
261
+ kind: z.ZodLiteral<"profile">;
262
+ profileId: z.ZodString;
263
+ }, "strict", z.ZodTypeAny, {
264
+ kind: "profile";
265
+ profileId: string;
266
+ }, {
267
+ kind: "profile";
268
+ profileId: string;
269
+ }>, z.ZodObject<{
270
+ kind: z.ZodLiteral<"api_key_route">;
271
+ }, "strict", z.ZodTypeAny, {
272
+ kind: "api_key_route";
273
+ }, {
274
+ kind: "api_key_route";
275
+ }>, z.ZodObject<{
276
+ kind: z.ZodLiteral<"none">;
277
+ reason: z.ZodString;
278
+ }, "strict", z.ZodTypeAny, {
279
+ kind: "none";
280
+ reason: string;
281
+ }, {
282
+ kind: "none";
283
+ reason: string;
284
+ }>]>;
285
+ }, "strict", z.ZodTypeAny, {
286
+ harness_id: string;
287
+ next_up: {
288
+ kind: "profile";
289
+ profileId: string;
290
+ } | {
291
+ kind: "api_key_route";
292
+ } | {
293
+ kind: "none";
294
+ reason: string;
295
+ };
296
+ }, {
297
+ harness_id: string;
298
+ next_up: {
299
+ kind: "profile";
300
+ profileId: string;
301
+ } | {
302
+ kind: "api_key_route";
303
+ } | {
304
+ kind: "none";
305
+ reason: string;
306
+ };
307
+ }>;
308
+ export type ControlHarnessAccountPool = z.infer<typeof ControlHarnessAccountPool>;
309
+ /** GET /account-pools — the pool-authority read AND the unified-accounts
310
+ * feature marker (its catalog presence is absent from 3.5.0 engines). */
311
+ export declare const ControlAccountPoolsResponse: z.ZodObject<{
312
+ accountPools: z.ZodArray<z.ZodObject<{
313
+ harness_id: z.ZodString;
314
+ next_up: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
315
+ kind: z.ZodLiteral<"profile">;
316
+ profileId: z.ZodString;
317
+ }, "strict", z.ZodTypeAny, {
318
+ kind: "profile";
319
+ profileId: string;
320
+ }, {
321
+ kind: "profile";
322
+ profileId: string;
323
+ }>, z.ZodObject<{
324
+ kind: z.ZodLiteral<"api_key_route">;
325
+ }, "strict", z.ZodTypeAny, {
326
+ kind: "api_key_route";
327
+ }, {
328
+ kind: "api_key_route";
329
+ }>, z.ZodObject<{
330
+ kind: z.ZodLiteral<"none">;
331
+ reason: z.ZodString;
332
+ }, "strict", z.ZodTypeAny, {
333
+ kind: "none";
334
+ reason: string;
335
+ }, {
336
+ kind: "none";
337
+ reason: string;
338
+ }>]>;
339
+ }, "strict", z.ZodTypeAny, {
340
+ harness_id: string;
341
+ next_up: {
342
+ kind: "profile";
343
+ profileId: string;
344
+ } | {
345
+ kind: "api_key_route";
346
+ } | {
347
+ kind: "none";
348
+ reason: string;
349
+ };
350
+ }, {
351
+ harness_id: string;
352
+ next_up: {
353
+ kind: "profile";
354
+ profileId: string;
355
+ } | {
356
+ kind: "api_key_route";
357
+ } | {
358
+ kind: "none";
359
+ reason: string;
360
+ };
361
+ }>, "many">;
362
+ }, "strict", z.ZodTypeAny, {
363
+ accountPools: {
364
+ harness_id: string;
365
+ next_up: {
366
+ kind: "profile";
367
+ profileId: string;
368
+ } | {
369
+ kind: "api_key_route";
370
+ } | {
371
+ kind: "none";
372
+ reason: string;
373
+ };
374
+ }[];
375
+ }, {
376
+ accountPools: {
377
+ harness_id: string;
378
+ next_up: {
379
+ kind: "profile";
380
+ profileId: string;
381
+ } | {
382
+ kind: "api_key_route";
383
+ } | {
384
+ kind: "none";
385
+ reason: string;
386
+ };
387
+ }[];
388
+ }>;
389
+ export type ControlAccountPoolsResponse = z.infer<typeof ControlAccountPoolsResponse>;
162
390
  /**
163
391
  * Per-harness ACCOUNTS AUTHORITY projection (INV-135, the accounts symmetry):
164
392
  * the native "CLI login" pseudo-row state and the informational `next_up`
@@ -303,12 +531,12 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
303
531
  availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
304
532
  verification: z.ZodEnum<["passed", "failed", "not_run"]>;
305
533
  /** WHAT the `verification` verdict is worth. `local_store` means only that
306
- * this profile's own credential material is present and well-formed where
307
- * it should be — it cannot tell a live token from a revoked one.
308
- * `vendor` means the vendor itself answered a request made with THIS
309
- * profile's credential. A router that needs "configured AND healthy" must
310
- * read this alongside `verification`; `passed` + `local_store` promises
311
- * strictly less than it sounds. */
534
+ * this binding's required local state or managed secret is present and
535
+ * well-formed — it cannot tell a live token from a revoked one. `vendor`
536
+ * means the vendor answered under THIS binding's exact environment and
537
+ * effective platform credential policy. A router that needs "configured
538
+ * AND healthy" must read this alongside `verification`; `passed` +
539
+ * `local_store` promises strictly less than it sounds. */
312
540
  verification_source: z.ZodDefault<z.ZodEnum<["local_store", "vendor"]>>;
313
541
  detail: z.ZodOptional<z.ZodString>;
314
542
  last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -467,6 +695,56 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
467
695
  reason: string;
468
696
  };
469
697
  }>, "many">>;
698
+ accountPools: z.ZodDefault<z.ZodArray<z.ZodObject<{
699
+ harness_id: z.ZodString;
700
+ next_up: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
701
+ kind: z.ZodLiteral<"profile">;
702
+ profileId: z.ZodString;
703
+ }, "strict", z.ZodTypeAny, {
704
+ kind: "profile";
705
+ profileId: string;
706
+ }, {
707
+ kind: "profile";
708
+ profileId: string;
709
+ }>, z.ZodObject<{
710
+ kind: z.ZodLiteral<"api_key_route">;
711
+ }, "strict", z.ZodTypeAny, {
712
+ kind: "api_key_route";
713
+ }, {
714
+ kind: "api_key_route";
715
+ }>, z.ZodObject<{
716
+ kind: z.ZodLiteral<"none">;
717
+ reason: z.ZodString;
718
+ }, "strict", z.ZodTypeAny, {
719
+ kind: "none";
720
+ reason: string;
721
+ }, {
722
+ kind: "none";
723
+ reason: string;
724
+ }>]>;
725
+ }, "strict", z.ZodTypeAny, {
726
+ harness_id: string;
727
+ next_up: {
728
+ kind: "profile";
729
+ profileId: string;
730
+ } | {
731
+ kind: "api_key_route";
732
+ } | {
733
+ kind: "none";
734
+ reason: string;
735
+ };
736
+ }, {
737
+ harness_id: string;
738
+ next_up: {
739
+ kind: "profile";
740
+ profileId: string;
741
+ } | {
742
+ kind: "api_key_route";
743
+ } | {
744
+ kind: "none";
745
+ reason: string;
746
+ };
747
+ }>, "many">>;
470
748
  }, "strict", z.ZodTypeAny, {
471
749
  profiles: {
472
750
  profile: {
@@ -512,6 +790,18 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
512
790
  reason: string;
513
791
  };
514
792
  }[];
793
+ accountPools: {
794
+ harness_id: string;
795
+ next_up: {
796
+ kind: "profile";
797
+ profileId: string;
798
+ } | {
799
+ kind: "api_key_route";
800
+ } | {
801
+ kind: "none";
802
+ reason: string;
803
+ };
804
+ }[];
515
805
  }, {
516
806
  profiles: {
517
807
  profile: {
@@ -557,6 +847,18 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
557
847
  reason: string;
558
848
  };
559
849
  }[] | undefined;
850
+ accountPools?: {
851
+ harness_id: string;
852
+ next_up: {
853
+ kind: "profile";
854
+ profileId: string;
855
+ } | {
856
+ kind: "api_key_route";
857
+ } | {
858
+ kind: "none";
859
+ reason: string;
860
+ };
861
+ }[] | undefined;
560
862
  }>;
561
863
  export type ControlCredentialProfilesResponse = z.infer<typeof ControlCredentialProfilesResponse>;
562
864
  /** PATCH /credential-profiles/:harness/:id — toggle a profile's `enabled`
@@ -625,12 +927,12 @@ export declare const ControlCredentialProfileUpdateResponse: z.ZodObject<{
625
927
  availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
626
928
  verification: z.ZodEnum<["passed", "failed", "not_run"]>;
627
929
  /** WHAT the `verification` verdict is worth. `local_store` means only that
628
- * this profile's own credential material is present and well-formed where
629
- * it should be — it cannot tell a live token from a revoked one.
630
- * `vendor` means the vendor itself answered a request made with THIS
631
- * profile's credential. A router that needs "configured AND healthy" must
632
- * read this alongside `verification`; `passed` + `local_store` promises
633
- * strictly less than it sounds. */
930
+ * this binding's required local state or managed secret is present and
931
+ * well-formed — it cannot tell a live token from a revoked one. `vendor`
932
+ * means the vendor answered under THIS binding's exact environment and
933
+ * effective platform credential policy. A router that needs "configured
934
+ * AND healthy" must read this alongside `verification`; `passed` +
935
+ * `local_store` promises strictly less than it sounds. */
634
936
  verification_source: z.ZodDefault<z.ZodEnum<["local_store", "vendor"]>>;
635
937
  detail: z.ZodOptional<z.ZodString>;
636
938
  last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -693,7 +995,7 @@ export declare const ControlCredentialProfileUpdateResponse: z.ZodObject<{
693
995
  };
694
996
  }>;
695
997
  export type ControlCredentialProfileUpdateResponse = z.infer<typeof ControlCredentialProfileUpdateResponse>;
696
- /** Register a config-dir login profile (claude/codex/cursor) from a UI surface —
998
+ /** Register a config-dir login profile (agy/claude/codex/cursor) from a UI surface —
697
999
  * the same ONE locked registration owner `claudexor profiles add` uses. */
698
1000
  export declare const ControlCredentialProfileCreateRequest: z.ZodObject<{
699
1001
  harnessId: z.ZodString;
@@ -709,9 +1011,11 @@ export declare const ControlCredentialProfileCreateRequest: z.ZodObject<{
709
1011
  displayName?: string | undefined;
710
1012
  }>;
711
1013
  export type ControlCredentialProfileCreateRequest = z.infer<typeof ControlCredentialProfileCreateRequest>;
712
- /** DELETE /credential-profiles/:harness/:id — removes the registry entry and
713
- * the profile's OWN credential material (its scoped login dir, or its
714
- * namespaced secret). The default vendor store is untouchable by design. */
1014
+ /** DELETE /credential-profiles/:harness/:id — removes the binding and any state
1015
+ * Claudexor owns (a scoped state dir, migrated owned locator, or namespaced
1016
+ * secret). Success proves that owned cleanup; a partial failure is retryable
1017
+ * and keeps the row registered. A typed disposition says when a vendor-owned
1018
+ * OS-user credential was deliberately left unchanged. */
715
1019
  export declare const ControlCredentialProfileDeleteResponse: z.ZodObject<{
716
1020
  profile: z.ZodEffects<z.ZodObject<{
717
1021
  profile_id: z.ZodString;
@@ -762,6 +1066,19 @@ export declare const ControlCredentialProfileDeleteResponse: z.ZodObject<{
762
1066
  removed: z.ZodLiteral<true>;
763
1067
  credentialCleanup: z.ZodEnum<["config_dir_removed", "secret_deleted", "none"]>;
764
1068
  cleanupWarning: z.ZodOptional<z.ZodString>;
1069
+ vendorCredentialDisposition: z.ZodOptional<z.ZodObject<{
1070
+ owner: z.ZodLiteral<"vendor">;
1071
+ state: z.ZodLiteral<"left_unchanged">;
1072
+ scope: z.ZodLiteral<"os_user">;
1073
+ }, "strict", z.ZodTypeAny, {
1074
+ owner: "vendor";
1075
+ state: "left_unchanged";
1076
+ scope: "os_user";
1077
+ }, {
1078
+ owner: "vendor";
1079
+ state: "left_unchanged";
1080
+ scope: "os_user";
1081
+ }>>;
765
1082
  }, "strict", z.ZodTypeAny, {
766
1083
  profile: {
767
1084
  profile_id: string;
@@ -776,6 +1093,11 @@ export declare const ControlCredentialProfileDeleteResponse: z.ZodObject<{
776
1093
  removed: true;
777
1094
  credentialCleanup: "config_dir_removed" | "none" | "secret_deleted";
778
1095
  cleanupWarning?: string | undefined;
1096
+ vendorCredentialDisposition?: {
1097
+ owner: "vendor";
1098
+ state: "left_unchanged";
1099
+ scope: "os_user";
1100
+ } | undefined;
779
1101
  }, {
780
1102
  profile: {
781
1103
  profile_id: string;
@@ -790,6 +1112,11 @@ export declare const ControlCredentialProfileDeleteResponse: z.ZodObject<{
790
1112
  removed: true;
791
1113
  credentialCleanup: "config_dir_removed" | "none" | "secret_deleted";
792
1114
  cleanupWarning?: string | undefined;
1115
+ vendorCredentialDisposition?: {
1116
+ owner: "vendor";
1117
+ state: "left_unchanged";
1118
+ scope: "os_user";
1119
+ } | undefined;
793
1120
  }>;
794
1121
  export type ControlCredentialProfileDeleteResponse = z.infer<typeof ControlCredentialProfileDeleteResponse>;
795
1122
  export declare const ControlCredentialProfileCreateResponse: z.ZodObject<{
@@ -845,12 +1172,12 @@ export declare const ControlCredentialProfileCreateResponse: z.ZodObject<{
845
1172
  availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
846
1173
  verification: z.ZodEnum<["passed", "failed", "not_run"]>;
847
1174
  /** WHAT the `verification` verdict is worth. `local_store` means only that
848
- * this profile's own credential material is present and well-formed where
849
- * it should be — it cannot tell a live token from a revoked one.
850
- * `vendor` means the vendor itself answered a request made with THIS
851
- * profile's credential. A router that needs "configured AND healthy" must
852
- * read this alongside `verification`; `passed` + `local_store` promises
853
- * strictly less than it sounds. */
1175
+ * this binding's required local state or managed secret is present and
1176
+ * well-formed — it cannot tell a live token from a revoked one. `vendor`
1177
+ * means the vendor answered under THIS binding's exact environment and
1178
+ * effective platform credential policy. A router that needs "configured
1179
+ * AND healthy" must read this alongside `verification`; `passed` +
1180
+ * `local_store` promises strictly less than it sounds. */
854
1181
  verification_source: z.ZodDefault<z.ZodEnum<["local_store", "vendor"]>>;
855
1182
  detail: z.ZodOptional<z.ZodString>;
856
1183
  last_verified_at: z.ZodDefault<z.ZodNullable<z.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