@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
|
@@ -2,22 +2,36 @@ import { z } from "zod/v3";
|
|
|
2
2
|
import { namespacedSecretRefBase } from "@claudexor/util";
|
|
3
3
|
import { Id, IsoTimestamp } from "./primitives.js";
|
|
4
4
|
import { AuthAvailability, AuthVerification } from "./auth.js";
|
|
5
|
+
/** Exact profile-policy problem vocabulary shared by mutation and admission
|
|
6
|
+
* surfaces. ControlProblem remains open for unrelated domain errors. */
|
|
7
|
+
export const CredentialProfileProblemCode = z.enum([
|
|
8
|
+
"credential_profile_required",
|
|
9
|
+
"credential_profile_exists",
|
|
10
|
+
"credential_profile_limit_exceeded",
|
|
11
|
+
"credential_profile_ambiguous",
|
|
12
|
+
]);
|
|
5
13
|
/**
|
|
6
|
-
* The
|
|
7
|
-
*
|
|
8
|
-
* (Claude CLAUDE_CONFIG_DIR / Codex
|
|
9
|
-
*
|
|
10
|
-
*
|
|
14
|
+
* The binding kind a profile uses (INV-135, unified account model).
|
|
15
|
+
* `config_dir_login` owns Claudexor-scoped vendor state in a config dir or HOME
|
|
16
|
+
* (Claude CLAUDE_CONFIG_DIR / Codex
|
|
17
|
+
* CODEX_HOME / Cursor file-store HOME). The Claudexor-owned LEGACY native
|
|
18
|
+
* dirs are legal locators — the startup migration registers them as the
|
|
19
|
+
* `claude-default`/`codex-default` rows without moving bytes; the vendor's
|
|
20
|
+
* ordinary host stores (~/.claude, ~/.codex) stay outside the owned root and
|
|
21
|
+
* are never a locator. A vendor OS-user credential may live outside that
|
|
22
|
+
* state and remain unchanged when the binding is removed. `oauth_token` and
|
|
23
|
+
* `api_key` are managed secret-store references.
|
|
11
24
|
*/
|
|
12
25
|
export const CredentialKind = z
|
|
13
26
|
.enum(["config_dir_login", "oauth_token", "api_key"])
|
|
14
|
-
.describe("
|
|
27
|
+
.describe("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.");
|
|
15
28
|
/**
|
|
16
|
-
* Durable, NON-SECRET
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* doctor's
|
|
29
|
+
* Durable, NON-SECRET named binding for one harness (INV-135). Secret material
|
|
30
|
+
* never lives here: `config_dir_login` points at Claudexor-owned scoped vendor
|
|
31
|
+
* state while effective platform policy may keep the credential at OS-user
|
|
32
|
+
* scope; token/key kinds point at a namespaced managed-secret name. Readiness
|
|
33
|
+
* is intentionally NOT durable — it is the doctor's
|
|
34
|
+
* `CredentialProfileStatus` projection.
|
|
21
35
|
*/
|
|
22
36
|
export const CredentialProfile = z
|
|
23
37
|
.object({
|
|
@@ -29,7 +43,7 @@ export const CredentialProfile = z
|
|
|
29
43
|
.string()
|
|
30
44
|
.nullable()
|
|
31
45
|
.default(null)
|
|
32
|
-
.describe("Canonical absolute
|
|
46
|
+
.describe("Canonical absolute path to Claudexor-owned scoped vendor state for config_dir_login bindings; null for secret-ref kinds."),
|
|
33
47
|
secret_ref: z
|
|
34
48
|
.string()
|
|
35
49
|
.nullable()
|
|
@@ -75,7 +89,7 @@ export const CredentialProfile = z
|
|
|
75
89
|
});
|
|
76
90
|
}
|
|
77
91
|
})
|
|
78
|
-
.describe("Durable non-secret
|
|
92
|
+
.describe("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.");
|
|
79
93
|
/**
|
|
80
94
|
* Doctor-owned readiness projection for one profile — deliberately separate
|
|
81
95
|
* from the durable registry entry so stored config never asserts liveness.
|
|
@@ -87,16 +101,16 @@ export const CredentialProfileStatus = z
|
|
|
87
101
|
availability: AuthAvailability,
|
|
88
102
|
verification: AuthVerification,
|
|
89
103
|
/** WHAT the `verification` verdict is worth. `local_store` means only that
|
|
90
|
-
* this
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* read this alongside `verification`; `passed` +
|
|
95
|
-
* strictly less than it sounds. */
|
|
104
|
+
* this binding's required local state or managed secret is present and
|
|
105
|
+
* well-formed — it cannot tell a live token from a revoked one. `vendor`
|
|
106
|
+
* means the vendor answered under THIS binding's exact environment and
|
|
107
|
+
* effective platform credential policy. A router that needs "configured
|
|
108
|
+
* AND healthy" must read this alongside `verification`; `passed` +
|
|
109
|
+
* `local_store` promises strictly less than it sounds. */
|
|
96
110
|
verification_source: z
|
|
97
111
|
.enum(["local_store", "vendor"])
|
|
98
112
|
.default("local_store")
|
|
99
|
-
.describe("How the verification verdict was reached: local_store = the
|
|
113
|
+
.describe("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."),
|
|
100
114
|
detail: z.string().optional().describe("Redacted human-readable probe evidence."),
|
|
101
115
|
last_verified_at: IsoTimestamp.nullable()
|
|
102
116
|
.default(null)
|
|
@@ -104,6 +118,46 @@ export const CredentialProfileStatus = z
|
|
|
104
118
|
})
|
|
105
119
|
.strict()
|
|
106
120
|
.describe("Doctor-owned readiness projection for one credential profile; never durable config.");
|
|
121
|
+
/** Why an observed credential is unusable, in the OBSERVER's typed vocabulary:
|
|
122
|
+
* `auth_revoked` = the vendor rejected the credential itself (401/403);
|
|
123
|
+
* `capability_refused` = a typed non-retryable entitlement refusal was observed
|
|
124
|
+
* on the attempt stream (org-disabled, model-not-entitled — model-scoped when
|
|
125
|
+
* the attempt carried a model hint); `verification_failed` = the profile's own
|
|
126
|
+
* doctor probe failed verification. */
|
|
127
|
+
export const CredentialUnusableCode = z
|
|
128
|
+
.enum(["auth_revoked", "capability_refused", "verification_failed"])
|
|
129
|
+
.describe("Typed reason an observed credential is unusable: vendor rejection, entitlement refusal, or a failed profile verification probe.");
|
|
130
|
+
/**
|
|
131
|
+
* ONE typed observation that a credential subject is UNUSABLE — dead as a
|
|
132
|
+
* credential, not merely quota-spent (A7 differential probe). Deliberately a
|
|
133
|
+
* bounded, self-expiring OBSERVATION, never durable config: profile readiness
|
|
134
|
+
* stays the doctor's projection (`CredentialProfileStatus`), and quota-spent
|
|
135
|
+
* evidence stays the quota registry's cooldown snapshots. The clearing
|
|
136
|
+
* contract is threefold: `expires_at` self-expiry (bounded TTL), a successful
|
|
137
|
+
* model response for the same subject, and any credential-generation change
|
|
138
|
+
* (re-login / profile mutation).
|
|
139
|
+
*/
|
|
140
|
+
export const CredentialUnusableObservation = z
|
|
141
|
+
.object({
|
|
142
|
+
harness_id: Id.describe("Harness family the observed subject belongs to."),
|
|
143
|
+
profile_id: Id.nullable().describe("Observed credential profile, or null for the harness's default subject."),
|
|
144
|
+
/** Model the refusal was observed under, when the evidence cannot prove it
|
|
145
|
+
* is credential-wide (an entitlement refusal may be model-scoped). Null =
|
|
146
|
+
* the evidence condemns the credential for every model. */
|
|
147
|
+
model: z
|
|
148
|
+
.string()
|
|
149
|
+
.nullable()
|
|
150
|
+
.describe("Model hint the refusal was observed under (entitlement refusals may be model-scoped); null = credential-wide."),
|
|
151
|
+
code: CredentialUnusableCode,
|
|
152
|
+
source: z
|
|
153
|
+
.enum(["vendor_poller", "attempt_stream", "local_probe"])
|
|
154
|
+
.describe("Where the evidence came from: the quota poller's typed absence, a typed refusal on the attempt stream, or the profile's own doctor probe."),
|
|
155
|
+
detail: z.string().nullable().describe("Redacted human-readable evidence."),
|
|
156
|
+
observed_at: IsoTimestamp.describe("When the unusable verdict was observed."),
|
|
157
|
+
expires_at: IsoTimestamp.describe("Self-expiry instant (bounded TTL); after this the observation is ignored."),
|
|
158
|
+
})
|
|
159
|
+
.strict()
|
|
160
|
+
.describe("A bounded, self-expiring typed observation that a credential subject is unusable (dead credential, not spent quota); never durable config.");
|
|
107
161
|
/**
|
|
108
162
|
* NON-SECRET account identity projection (INV-067/INV-135): the email and plan
|
|
109
163
|
* label derived DAEMON-SIDE from a sanctioned per-account source. Codex and
|
|
@@ -161,6 +215,49 @@ export const ControlNextUpIdentity = z
|
|
|
161
215
|
.describe("An unpinned run has nothing routable (the default credential is disabled and no account is pinned)."),
|
|
162
216
|
])
|
|
163
217
|
.describe("Server-computed identity an unpinned run of this harness would route to next.");
|
|
218
|
+
/**
|
|
219
|
+
* The account an UNPINNED run of a harness would route to next under the
|
|
220
|
+
* UNIFIED account model (INV-135): every account is a named registry row, so
|
|
221
|
+
* the pool verdict is either an enabled row, the policy-governed API-key
|
|
222
|
+
* ROUTE (INV-061 — a route, never a row), or nothing routable. This union is
|
|
223
|
+
* carried ONLY by `accountPools` — the legacy `ControlNextUpIdentity` stays
|
|
224
|
+
* untouched because old strict decoders throw on unknown kinds.
|
|
225
|
+
*/
|
|
226
|
+
export const ControlPoolNextUp = z
|
|
227
|
+
.discriminatedUnion("kind", [
|
|
228
|
+
z
|
|
229
|
+
.object({ kind: z.literal("profile"), profileId: Id })
|
|
230
|
+
.strict()
|
|
231
|
+
.describe("An enabled account row is who an unpinned run routes to next."),
|
|
232
|
+
z
|
|
233
|
+
.object({ kind: z.literal("api_key_route") })
|
|
234
|
+
.strict()
|
|
235
|
+
.describe("The account pool is empty or exhausted; the unpinned route is the policy-governed API key (INV-061) — a route, never an account row."),
|
|
236
|
+
z
|
|
237
|
+
.object({ kind: z.literal("none"), reason: z.string() })
|
|
238
|
+
.strict()
|
|
239
|
+
.describe("An unpinned run has nothing routable, with a human reason."),
|
|
240
|
+
])
|
|
241
|
+
.describe("Server-computed pool routing verdict for one harness's unpinned runs (unified account model).");
|
|
242
|
+
/** Per-harness POOL AUTHORITY of the unified account model: routing facts live
|
|
243
|
+
* here; account facts live on the profile rows. */
|
|
244
|
+
export const ControlHarnessAccountPool = z
|
|
245
|
+
.object({
|
|
246
|
+
harness_id: Id.describe("Harness family this pool verdict belongs to."),
|
|
247
|
+
next_up: ControlPoolNextUp,
|
|
248
|
+
})
|
|
249
|
+
.strict()
|
|
250
|
+
.describe("Per-harness pool authority (unified account model): who an unpinned run routes to next.");
|
|
251
|
+
/** GET /account-pools — the pool-authority read AND the unified-accounts
|
|
252
|
+
* feature marker (its catalog presence is absent from 3.5.0 engines). */
|
|
253
|
+
export const ControlAccountPoolsResponse = z
|
|
254
|
+
.object({
|
|
255
|
+
accountPools: z
|
|
256
|
+
.array(ControlHarnessAccountPool)
|
|
257
|
+
.describe("Pool routing verdict per harness, computed by the routing owner."),
|
|
258
|
+
})
|
|
259
|
+
.strict()
|
|
260
|
+
.describe("Per-harness account-pool authority under the unified account model.");
|
|
164
261
|
/**
|
|
165
262
|
* Per-harness ACCOUNTS AUTHORITY projection (INV-135, the accounts symmetry):
|
|
166
263
|
* the native "CLI login" pseudo-row state and the informational `next_up`
|
|
@@ -203,7 +300,11 @@ export const ControlCredentialProfilesResponse = z
|
|
|
203
300
|
harnessAccounts: z
|
|
204
301
|
.array(ControlHarnessAccounts)
|
|
205
302
|
.default([])
|
|
206
|
-
.describe("Per-harness accounts authority (INV-135): the native CLI-login pseudo-row state and the server-computed Active identity, so no surface re-derives the accounts symmetry."),
|
|
303
|
+
.describe("Per-harness accounts authority (INV-135): the native CLI-login pseudo-row state and the server-computed Active identity, so no surface re-derives the accounts symmetry. A unified-model engine emits [] here (the key must stay present for legacy strict clients) and carries routing facts in accountPools instead."),
|
|
304
|
+
accountPools: z
|
|
305
|
+
.array(ControlHarnessAccountPool)
|
|
306
|
+
.default([])
|
|
307
|
+
.describe("Additive per-harness pool authority of the unified account model: routing facts (next_up incl. the api_key_route kind) live here so legacy strict next_up decoders never see unknown kinds. Old clients ignore this key."),
|
|
207
308
|
})
|
|
208
309
|
.strict()
|
|
209
310
|
.describe("Credential-profile registry listing with per-profile doctor readiness and per-harness accounts authority.");
|
|
@@ -224,11 +325,11 @@ export const ControlCredentialProfileUpdateResponse = z
|
|
|
224
325
|
.object({ profile: CredentialProfile, status: CredentialProfileStatus })
|
|
225
326
|
.strict()
|
|
226
327
|
.describe("The updated credential profile with its doctor readiness projection.");
|
|
227
|
-
/** Register a config-dir login profile (claude/codex/cursor) from a UI surface —
|
|
328
|
+
/** Register a config-dir login profile (agy/claude/codex/cursor) from a UI surface —
|
|
228
329
|
* the same ONE locked registration owner `claudexor profiles add` uses. */
|
|
229
330
|
export const ControlCredentialProfileCreateRequest = z
|
|
230
331
|
.object({
|
|
231
|
-
harnessId: Id.describe("Harness family (claude | codex | cursor) for the config-dir login profile."),
|
|
332
|
+
harnessId: Id.describe("Harness family (agy | claude | codex | cursor) for the config-dir login profile."),
|
|
232
333
|
profileId: Id.describe("New profile id (bounded slug, unique per harness)."),
|
|
233
334
|
displayName: z
|
|
234
335
|
.string()
|
|
@@ -238,20 +339,31 @@ export const ControlCredentialProfileCreateRequest = z
|
|
|
238
339
|
})
|
|
239
340
|
.strict()
|
|
240
341
|
.describe("Request body for POST /credential-profiles.");
|
|
241
|
-
/** DELETE /credential-profiles/:harness/:id — removes the
|
|
242
|
-
*
|
|
243
|
-
*
|
|
342
|
+
/** DELETE /credential-profiles/:harness/:id — removes the binding and any state
|
|
343
|
+
* Claudexor owns (a scoped state dir, migrated owned locator, or namespaced
|
|
344
|
+
* secret). Success proves that owned cleanup; a partial failure is retryable
|
|
345
|
+
* and keeps the row registered. A typed disposition says when a vendor-owned
|
|
346
|
+
* OS-user credential was deliberately left unchanged. */
|
|
244
347
|
export const ControlCredentialProfileDeleteResponse = z
|
|
245
348
|
.object({
|
|
246
349
|
profile: CredentialProfile.describe("The removed registry entry."),
|
|
247
350
|
removed: z.literal(true),
|
|
248
351
|
credentialCleanup: z
|
|
249
352
|
.enum(["config_dir_removed", "secret_deleted", "none"])
|
|
250
|
-
.describe("What
|
|
353
|
+
.describe("What Claudexor-owned state or managed secret was removed with the binding; this does not assert that a vendor OS-user credential changed."),
|
|
251
354
|
cleanupWarning: z
|
|
252
355
|
.string()
|
|
253
356
|
.optional()
|
|
254
|
-
.describe("
|
|
357
|
+
.describe("DEPRECATED (wire-compat only): a unified-model engine never emits it — partial cleanup is a typed retryable error instead of a removed-with-warning receipt."),
|
|
358
|
+
vendorCredentialDisposition: z
|
|
359
|
+
.object({
|
|
360
|
+
owner: z.literal("vendor"),
|
|
361
|
+
state: z.literal("left_unchanged"),
|
|
362
|
+
scope: z.literal("os_user"),
|
|
363
|
+
})
|
|
364
|
+
.strict()
|
|
365
|
+
.optional()
|
|
366
|
+
.describe("Exact disclosure that profile binding removal left a vendor-owned OS-user credential unchanged; absence preserves legacy receipts."),
|
|
255
367
|
})
|
|
256
368
|
.strict()
|
|
257
369
|
.describe("Receipt for a credential-profile removal.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-profile.js","sourceRoot":"","sources":["../src/credential-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE/D
|
|
1
|
+
{"version":3,"file":"credential-profile.js","sourceRoot":"","sources":["../src/credential-profile.ts"],"names":[],"mappings":"AAAA,OAAO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B,MAAM,CAAC;QACN,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC1B,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;QAClC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;KAC5B,CAAC;SACD,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oIAAoI,CACrI;CACJ,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,2CAA2C,CAAC,CAAC;AAKzD,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC;KACpD,MAAM,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC;KACvE,MAAM,EAAE;KACR,QAAQ,CAAC,sEAAsE,CAAC,CAAC"}
|
|
@@ -2,12 +2,25 @@
|
|
|
2
2
|
* Which harnesses have a DEFAULT credential store — a place a vendor login
|
|
3
3
|
* lands when no named account is selected.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* default
|
|
5
|
+
* Under the unified account model this set is the LEGACY-migration surface,
|
|
6
|
+
* not a routing privilege: claude and codex keep their Claudexor-owned native
|
|
7
|
+
* dirs (the startup migration registers a detected login there as an ordinary
|
|
8
|
+
* `<harness>-default` row; bytes never move). Cursor answers FALSE (owner
|
|
9
|
+
* decision D-U3): the host Keychain login is never read again, so cursor has
|
|
10
|
+
* no default store — every cursor login lands in an isolated file-store row.
|
|
11
|
+
* agy answers false too: the Antigravity CLI takes its whole config root from
|
|
12
|
+
* `$HOME` and exposes no config-dir variable, so adopting a default store
|
|
13
|
+
* would mean adopting the operator's real home directory as a credential
|
|
14
|
+
* store (owner decision Л-4). A harness that answers false can only sign in
|
|
15
|
+
* INTO a named account row.
|
|
11
16
|
*/
|
|
12
17
|
export declare function harnessHasDefaultCredentialStore(harness: string): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Which harnesses support the `claudexor auth login <harness>` BOOTSTRAP
|
|
20
|
+
* sugar (unified account model): the login lands in an auto-created
|
|
21
|
+
* `<harness>-default` row — claude/codex on their Claudexor-owned native dir,
|
|
22
|
+
* cursor on an isolated file-store dir. The bootstrap row has no routing
|
|
23
|
+
* privilege; it is an ordinary pool row. agy stays named-only (Л-4).
|
|
24
|
+
*/
|
|
25
|
+
export declare function harnessSupportsBootstrapLogin(harness: string): boolean;
|
|
13
26
|
//# sourceMappingURL=credential-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-store.d.ts","sourceRoot":"","sources":["../src/credential-store.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"credential-store.d.ts","sourceRoot":"","sources":["../src/credential-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEzE;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEtE"}
|
package/dist/credential-store.js
CHANGED
|
@@ -2,14 +2,29 @@
|
|
|
2
2
|
* Which harnesses have a DEFAULT credential store — a place a vendor login
|
|
3
3
|
* lands when no named account is selected.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* default
|
|
5
|
+
* Under the unified account model this set is the LEGACY-migration surface,
|
|
6
|
+
* not a routing privilege: claude and codex keep their Claudexor-owned native
|
|
7
|
+
* dirs (the startup migration registers a detected login there as an ordinary
|
|
8
|
+
* `<harness>-default` row; bytes never move). Cursor answers FALSE (owner
|
|
9
|
+
* decision D-U3): the host Keychain login is never read again, so cursor has
|
|
10
|
+
* no default store — every cursor login lands in an isolated file-store row.
|
|
11
|
+
* agy answers false too: the Antigravity CLI takes its whole config root from
|
|
12
|
+
* `$HOME` and exposes no config-dir variable, so adopting a default store
|
|
13
|
+
* would mean adopting the operator's real home directory as a credential
|
|
14
|
+
* store (owner decision Л-4). A harness that answers false can only sign in
|
|
15
|
+
* INTO a named account row.
|
|
11
16
|
*/
|
|
12
17
|
export function harnessHasDefaultCredentialStore(harness) {
|
|
18
|
+
return harness !== "agy" && harness !== "cursor";
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Which harnesses support the `claudexor auth login <harness>` BOOTSTRAP
|
|
22
|
+
* sugar (unified account model): the login lands in an auto-created
|
|
23
|
+
* `<harness>-default` row — claude/codex on their Claudexor-owned native dir,
|
|
24
|
+
* cursor on an isolated file-store dir. The bootstrap row has no routing
|
|
25
|
+
* privilege; it is an ordinary pool row. agy stays named-only (Л-4).
|
|
26
|
+
*/
|
|
27
|
+
export function harnessSupportsBootstrapLogin(harness) {
|
|
13
28
|
return harness !== "agy";
|
|
14
29
|
}
|
|
15
30
|
//# sourceMappingURL=credential-store.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-store.js","sourceRoot":"","sources":["../src/credential-store.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"credential-store.js","sourceRoot":"","sources":["../src/credential-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,gCAAgC,CAAC,OAAe;IAC9D,OAAO,OAAO,KAAK,KAAK,IAAI,OAAO,KAAK,QAAQ,CAAC;AACnD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,6BAA6B,CAAC,OAAe;IAC3D,OAAO,OAAO,KAAK,KAAK,CAAC;AAC3B,CAAC"}
|
package/dist/events.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const ThreadHeadPing: z.ZodObject<{
|
|
|
36
36
|
revision: number;
|
|
37
37
|
}>;
|
|
38
38
|
export type ThreadHeadPing = z.infer<typeof ThreadHeadPing>;
|
|
39
|
-
export declare const RunEventType: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "delegation.belt.degraded", "output.ready", "gate.started", "gate.completed", "review.preflight", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied"]>;
|
|
39
|
+
export declare const RunEventType: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.profile.credential_unusable", "route.account.pool_selected", "route.account.lane_switch", "route.account.pool_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "delegation.belt.degraded", "output.ready", "gate.started", "gate.completed", "review.preflight", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied"]>;
|
|
40
40
|
export type RunEventType = z.infer<typeof RunEventType>;
|
|
41
41
|
/**
|
|
42
42
|
* Typed receipt emitted only after a user-facing run artifact has materialized.
|
|
@@ -58,6 +58,46 @@ export declare const OutputReadyPayload: z.ZodObject<{
|
|
|
58
58
|
state?: "diagnostic" | "ready" | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export type OutputReadyPayload = z.infer<typeof OutputReadyPayload>;
|
|
61
|
+
/**
|
|
62
|
+
* Typed payload for `route.profile.credential_unusable` (A7): the differential
|
|
63
|
+
* probe's observation plus the attempt it fired in. The rotation module
|
|
64
|
+
* validates this before stamping it onto the RunEvent payload, so the
|
|
65
|
+
* unusable verdict is always evidence-backed — code, source, and expiry come
|
|
66
|
+
* from the observation itself, never invented at emit time.
|
|
67
|
+
*/
|
|
68
|
+
export declare const RouteCredentialUnusablePayload: z.ZodObject<{
|
|
69
|
+
harness_id: z.ZodString;
|
|
70
|
+
profile_id: z.ZodNullable<z.ZodString>;
|
|
71
|
+
model: z.ZodNullable<z.ZodString>;
|
|
72
|
+
code: z.ZodEnum<["auth_revoked", "capability_refused", "verification_failed"]>;
|
|
73
|
+
source: z.ZodEnum<["vendor_poller", "attempt_stream", "local_probe"]>;
|
|
74
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
75
|
+
observed_at: z.ZodString;
|
|
76
|
+
expires_at: z.ZodString;
|
|
77
|
+
} & {
|
|
78
|
+
attempt_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
79
|
+
}, "strict", z.ZodTypeAny, {
|
|
80
|
+
harness_id: string;
|
|
81
|
+
profile_id: string | null;
|
|
82
|
+
model: string | null;
|
|
83
|
+
code: "auth_revoked" | "capability_refused" | "verification_failed";
|
|
84
|
+
source: "attempt_stream" | "local_probe" | "vendor_poller";
|
|
85
|
+
detail: string | null;
|
|
86
|
+
observed_at: string;
|
|
87
|
+
expires_at: string;
|
|
88
|
+
attempt_id: string | null;
|
|
89
|
+
}, {
|
|
90
|
+
harness_id: string;
|
|
91
|
+
profile_id: string | null;
|
|
92
|
+
model: string | null;
|
|
93
|
+
code: "auth_revoked" | "capability_refused" | "verification_failed";
|
|
94
|
+
source: "attempt_stream" | "local_probe" | "vendor_poller";
|
|
95
|
+
detail: string | null;
|
|
96
|
+
observed_at: string;
|
|
97
|
+
expires_at: string;
|
|
98
|
+
attempt_id?: string | null | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
export type RouteCredentialUnusablePayload = z.infer<typeof RouteCredentialUnusablePayload>;
|
|
61
101
|
/**
|
|
62
102
|
* Typed payload for `route.fallback.*` events. The orchestrator validates this
|
|
63
103
|
* before stamping it onto the (otherwise free-form) RunEvent.payload, so a
|
|
@@ -185,7 +225,7 @@ export declare const RunEvent: z.ZodObject<{
|
|
|
185
225
|
/** Thread this run is a turn of, when any. Lets the global event multiplex
|
|
186
226
|
* route live progress to a chat surface without a reverse job lookup. */
|
|
187
227
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
188
|
-
type: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "delegation.belt.degraded", "output.ready", "gate.started", "gate.completed", "review.preflight", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied"]>;
|
|
228
|
+
type: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.profile.credential_unusable", "route.account.pool_selected", "route.account.lane_switch", "route.account.pool_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "delegation.belt.degraded", "output.ready", "gate.started", "gate.completed", "review.preflight", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied"]>;
|
|
189
229
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
190
230
|
}, "strip", z.ZodTypeAny, {
|
|
191
231
|
seq?: number | undefined;
|
|
@@ -193,7 +233,7 @@ export declare const RunEvent: z.ZodObject<{
|
|
|
193
233
|
run_id: string;
|
|
194
234
|
task_id: string;
|
|
195
235
|
thread_id?: string | undefined;
|
|
196
|
-
type: "arbitration.completed" | "budget.cash" | "budget.lease.created" | "budget.observation" | "budget.quota_pressure" | "context.pack.created" | "control.applied" | "control.rejected" | "control.requested" | "council.draft" | "council.member.failed" | "council.merged" | "council.started" | "delegation.belt.degraded" | "delegation.belt.unavailable" | "finding.revalidated" | "gate.completed" | "gate.started" | "harness.completed" | "harness.event" | "harness.started" | "interaction.answer_discarded" | "interaction.answered" | "interaction.requested" | "interaction.timeout" | "output.ready" | "plan.brief.materialized" | "plan.progress" | "plan.questions" | "policy.web.upgraded" | "project.claude_bridge.created" | "project.git.initialized" | "review.preflight" | "review.skipped" | "review.started" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.failed" | "reviewer.first_event" | "reviewer.started" | "reviewer.timed_out" | "route.fallback.auth_switched" | "route.fallback.completed" | "route.fallback.exhausted" | "route.fallback.started" | "route.pool.degraded" | "route.primary.diverged" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.detected" | "route.transient.exhausted" | "route.transient.retry_scheduled" | "run.blocked" | "run.completed" | "run.continuation" | "run.continuation.denied" | "run.created" | "run.failed" | "session.continuity" | "synthesis.started" | "task.contract.created" | "work_product.adopted" | "work_product.emitted";
|
|
236
|
+
type: "arbitration.completed" | "budget.cash" | "budget.lease.created" | "budget.observation" | "budget.quota_pressure" | "context.pack.created" | "control.applied" | "control.rejected" | "control.requested" | "council.draft" | "council.member.failed" | "council.merged" | "council.started" | "delegation.belt.degraded" | "delegation.belt.unavailable" | "finding.revalidated" | "gate.completed" | "gate.started" | "harness.completed" | "harness.event" | "harness.started" | "interaction.answer_discarded" | "interaction.answered" | "interaction.requested" | "interaction.timeout" | "output.ready" | "plan.brief.materialized" | "plan.progress" | "plan.questions" | "policy.web.upgraded" | "project.claude_bridge.created" | "project.git.initialized" | "review.preflight" | "review.skipped" | "review.started" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.failed" | "reviewer.first_event" | "reviewer.started" | "reviewer.timed_out" | "route.account.lane_switch" | "route.account.pool_exhausted" | "route.account.pool_selected" | "route.fallback.auth_switched" | "route.fallback.completed" | "route.fallback.exhausted" | "route.fallback.started" | "route.pool.degraded" | "route.primary.diverged" | "route.profile.credential_unusable" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.detected" | "route.transient.exhausted" | "route.transient.retry_scheduled" | "run.blocked" | "run.completed" | "run.continuation" | "run.continuation.denied" | "run.created" | "run.failed" | "session.continuity" | "synthesis.started" | "task.contract.created" | "work_product.adopted" | "work_product.emitted";
|
|
197
237
|
payload: Record<string, unknown>;
|
|
198
238
|
}, {
|
|
199
239
|
seq?: number | undefined;
|
|
@@ -201,7 +241,7 @@ export declare const RunEvent: z.ZodObject<{
|
|
|
201
241
|
run_id: string;
|
|
202
242
|
task_id: string;
|
|
203
243
|
thread_id?: string | undefined;
|
|
204
|
-
type: "arbitration.completed" | "budget.cash" | "budget.lease.created" | "budget.observation" | "budget.quota_pressure" | "context.pack.created" | "control.applied" | "control.rejected" | "control.requested" | "council.draft" | "council.member.failed" | "council.merged" | "council.started" | "delegation.belt.degraded" | "delegation.belt.unavailable" | "finding.revalidated" | "gate.completed" | "gate.started" | "harness.completed" | "harness.event" | "harness.started" | "interaction.answer_discarded" | "interaction.answered" | "interaction.requested" | "interaction.timeout" | "output.ready" | "plan.brief.materialized" | "plan.progress" | "plan.questions" | "policy.web.upgraded" | "project.claude_bridge.created" | "project.git.initialized" | "review.preflight" | "review.skipped" | "review.started" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.failed" | "reviewer.first_event" | "reviewer.started" | "reviewer.timed_out" | "route.fallback.auth_switched" | "route.fallback.completed" | "route.fallback.exhausted" | "route.fallback.started" | "route.pool.degraded" | "route.primary.diverged" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.detected" | "route.transient.exhausted" | "route.transient.retry_scheduled" | "run.blocked" | "run.completed" | "run.continuation" | "run.continuation.denied" | "run.created" | "run.failed" | "session.continuity" | "synthesis.started" | "task.contract.created" | "work_product.adopted" | "work_product.emitted";
|
|
244
|
+
type: "arbitration.completed" | "budget.cash" | "budget.lease.created" | "budget.observation" | "budget.quota_pressure" | "context.pack.created" | "control.applied" | "control.rejected" | "control.requested" | "council.draft" | "council.member.failed" | "council.merged" | "council.started" | "delegation.belt.degraded" | "delegation.belt.unavailable" | "finding.revalidated" | "gate.completed" | "gate.started" | "harness.completed" | "harness.event" | "harness.started" | "interaction.answer_discarded" | "interaction.answered" | "interaction.requested" | "interaction.timeout" | "output.ready" | "plan.brief.materialized" | "plan.progress" | "plan.questions" | "policy.web.upgraded" | "project.claude_bridge.created" | "project.git.initialized" | "review.preflight" | "review.skipped" | "review.started" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.failed" | "reviewer.first_event" | "reviewer.started" | "reviewer.timed_out" | "route.account.lane_switch" | "route.account.pool_exhausted" | "route.account.pool_selected" | "route.fallback.auth_switched" | "route.fallback.completed" | "route.fallback.exhausted" | "route.fallback.started" | "route.pool.degraded" | "route.primary.diverged" | "route.profile.credential_unusable" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.detected" | "route.transient.exhausted" | "route.transient.retry_scheduled" | "run.blocked" | "run.completed" | "run.continuation" | "run.continuation.denied" | "run.created" | "run.failed" | "session.continuity" | "synthesis.started" | "task.contract.created" | "work_product.adopted" | "work_product.emitted";
|
|
205
245
|
payload?: Record<string, unknown> | undefined;
|
|
206
246
|
}>;
|
|
207
247
|
export type RunEvent = z.infer<typeof RunEvent>;
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QA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,2GAW6C,CAAC;AACzE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,iDAAiD;AACjD,eAAO,MAAM,QAAQ;IAEjB;;;;OAIG;;;;;IAYH;6EACyE;;;;;;;;;;;;;;;;;;;;EAKO,CAAC;AACrF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
package/dist/events.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
import { FallbackReason, Id } from "./primitives.js";
|
|
3
3
|
import { AuthMode } from "./budget.js";
|
|
4
|
+
import { CredentialUnusableObservation } from "./credential-profile.js";
|
|
4
5
|
export const ControlJournalEvent = z
|
|
5
6
|
.object({
|
|
6
7
|
schemaVersion: z.literal(1),
|
|
@@ -59,6 +60,25 @@ export const RunEventType = z
|
|
|
59
60
|
"route.profile.headroom_exceeded",
|
|
60
61
|
"route.profile.rotated",
|
|
61
62
|
"route.profile.rotation_exhausted",
|
|
63
|
+
/** A7 differential probe: on a rotation-eligible failure the CURRENT
|
|
64
|
+
* credential subject was probed (existing poller/doctor evidence only —
|
|
65
|
+
* never a quota-spending mini-run) and found UNUSABLE (dead credential,
|
|
66
|
+
* not spent quota). Payload: RouteCredentialUnusablePayload. */
|
|
67
|
+
"route.profile.credential_unusable",
|
|
68
|
+
/** Unified account model (D-U1): an unpinned run's pool selection — the
|
|
69
|
+
* quota-aware pool of enabled+ready rows picked this account. */
|
|
70
|
+
"route.account.pool_selected",
|
|
71
|
+
/** Q1=A disclosed lane switch: the thread's bound account became
|
|
72
|
+
* disabled/deleted/revoked/exhausted and the run moved to a pool sibling
|
|
73
|
+
* (the vendor session starts fresh; continuity hydration is disclosed on
|
|
74
|
+
* the turn). Never silent. */
|
|
75
|
+
"route.account.lane_switch",
|
|
76
|
+
/** Q3=A: the pool is empty or every ready row is exhausted. A null
|
|
77
|
+
* fallback precedes the typed `credential_pool_exhausted` terminal
|
|
78
|
+
* (waiting for the earliest reset is the default);
|
|
79
|
+
* `fallback: "api_key_route"` means the EXPLICIT api_key preference opted
|
|
80
|
+
* the run onto the typed PAID route (INV-061) — never silently under auto. */
|
|
81
|
+
"route.account.pool_exhausted",
|
|
62
82
|
"route.transient.exhausted",
|
|
63
83
|
/** A subscription->API (or harness->harness) auth switch driven by a typed
|
|
64
84
|
* quota/money signal. Distinct from a plain harness rotation; never silent. */
|
|
@@ -172,6 +192,20 @@ export const OutputReadyPayload = z
|
|
|
172
192
|
})
|
|
173
193
|
.strict()
|
|
174
194
|
.describe("Validated payload of an output.ready run event.");
|
|
195
|
+
/**
|
|
196
|
+
* Typed payload for `route.profile.credential_unusable` (A7): the differential
|
|
197
|
+
* probe's observation plus the attempt it fired in. The rotation module
|
|
198
|
+
* validates this before stamping it onto the RunEvent payload, so the
|
|
199
|
+
* unusable verdict is always evidence-backed — code, source, and expiry come
|
|
200
|
+
* from the observation itself, never invented at emit time.
|
|
201
|
+
*/
|
|
202
|
+
export const RouteCredentialUnusablePayload = CredentialUnusableObservation.extend({
|
|
203
|
+
attempt_id: z
|
|
204
|
+
.string()
|
|
205
|
+
.nullable()
|
|
206
|
+
.default(null)
|
|
207
|
+
.describe("Attempt whose rotation-eligible failure triggered the probe, when known."),
|
|
208
|
+
}).describe("Typed payload for route.profile.credential_unusable: the differential probe's typed observation of a dead credential, validated before being stamped onto the RunEvent payload.");
|
|
175
209
|
/**
|
|
176
210
|
* Typed payload for `route.fallback.*` events. The orchestrator validates this
|
|
177
211
|
* before stamping it onto the (otherwise free-form) RunEvent.payload, so a
|
package/dist/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAExE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,+DAA+D,CAAC,CAAC;AAG7E,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,CAAC;IACN,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,CAAC;SACV,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