@claudexor/schema 3.3.13 → 3.3.15
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/credential-profile-snapshot.js +1 -1
- package/dist/credential-profile-snapshot.js.map +1 -1
- package/dist/credential-profile.d.ts +7 -7
- package/dist/credential-profile.js +11 -11
- package/dist/credential-profile.js.map +1 -1
- package/dist/quota.d.ts +46 -2
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +44 -4
- package/dist/quota.js.map +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +7 -7
- package/generated/ControlCredentialProfilesResponse.schema.json +4 -4
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +7 -7
- package/generated/ControlQuotaResponse.schema.json +2 -2
- package/generated/HarnessEvent.schema.json +1 -1
- package/package.json +2 -2
|
@@ -10,7 +10,7 @@ export const ControlCredentialProfilesSnapshotResponse = ControlCredentialProfil
|
|
|
10
10
|
.array(HarnessStatusDto)
|
|
11
11
|
.describe("Fresh harness readiness used for the account next-up projection."),
|
|
12
12
|
git: GitCapability.describe("Git readiness from the same Accounts refresh cycle."),
|
|
13
|
-
quota: ControlQuotaResponse.describe("Fresh quota response used to compute next-up in this exact Accounts snapshot epoch."),
|
|
13
|
+
quota: ControlQuotaResponse.describe("Fresh quota response used to compute next-up in this exact Accounts snapshot epoch, decorated with the same server-owned availability projection as /v2/quota."),
|
|
14
14
|
quotaEventCursor: z
|
|
15
15
|
.string()
|
|
16
16
|
.min(1)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-profile-snapshot.js","sourceRoot":"","sources":["../src/credential-profile-snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,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AC,MAAM,sCAAsC,GAAG,CAAC;KACpD,KAAK,CAAC,CAAC,iCAAiC,EAAE,yCAAyC,CAAC,CAAC;KACrF,QAAQ,CAAC,2EAA2E,CAAC,CAAC"}
|
|
@@ -101,13 +101,13 @@ export declare const CredentialProfileStatus: z.ZodObject<{
|
|
|
101
101
|
export type CredentialProfileStatus = z.infer<typeof CredentialProfileStatus>;
|
|
102
102
|
/**
|
|
103
103
|
* NON-SECRET account identity projection (INV-067/INV-135): the email and plan
|
|
104
|
-
* label derived DAEMON-SIDE from
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
* allowlisted, non-token fields ever cross the wire;
|
|
108
|
-
* the daemon. A macOS surface MUST render this
|
|
109
|
-
*
|
|
110
|
-
*
|
|
104
|
+
* label derived DAEMON-SIDE from a sanctioned per-account source. Codex and
|
|
105
|
+
* Claude may use their scoped credential stores; Cursor may expose an
|
|
106
|
+
* allowlisted email from the harness CLI's anchored status observation. Only
|
|
107
|
+
* these two allowlisted, non-token fields ever cross the wire; raw status text
|
|
108
|
+
* and token material stay inside the daemon. A macOS surface MUST render this
|
|
109
|
+
* projection, never re-read a store or invoke a harness. Both fields are
|
|
110
|
+
* optional so a source that discloses only one still projects.
|
|
111
111
|
*/
|
|
112
112
|
export declare const AccountIdentity: z.ZodObject<{
|
|
113
113
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -106,13 +106,13 @@ export const CredentialProfileStatus = z
|
|
|
106
106
|
.describe("Doctor-owned readiness projection for one credential profile; never durable config.");
|
|
107
107
|
/**
|
|
108
108
|
* NON-SECRET account identity projection (INV-067/INV-135): the email and plan
|
|
109
|
-
* label derived DAEMON-SIDE from
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* allowlisted, non-token fields ever cross the wire;
|
|
113
|
-
* the daemon. A macOS surface MUST render this
|
|
114
|
-
*
|
|
115
|
-
*
|
|
109
|
+
* label derived DAEMON-SIDE from a sanctioned per-account source. Codex and
|
|
110
|
+
* Claude may use their scoped credential stores; Cursor may expose an
|
|
111
|
+
* allowlisted email from the harness CLI's anchored status observation. Only
|
|
112
|
+
* these two allowlisted, non-token fields ever cross the wire; raw status text
|
|
113
|
+
* and token material stay inside the daemon. A macOS surface MUST render this
|
|
114
|
+
* projection, never re-read a store or invoke a harness. Both fields are
|
|
115
|
+
* optional so a source that discloses only one still projects.
|
|
116
116
|
*/
|
|
117
117
|
export const AccountIdentity = z
|
|
118
118
|
.object({
|
|
@@ -120,7 +120,7 @@ export const AccountIdentity = z
|
|
|
120
120
|
.string()
|
|
121
121
|
.min(1)
|
|
122
122
|
.optional()
|
|
123
|
-
.describe("Login email of the account (codex id_token `email
|
|
123
|
+
.describe("Login email of the account (codex id_token `email`, claude oauthAccount `emailAddress`, or an allowlisted harness CLI status observation)."),
|
|
124
124
|
plan: z
|
|
125
125
|
.string()
|
|
126
126
|
.min(1)
|
|
@@ -128,7 +128,7 @@ export const AccountIdentity = z
|
|
|
128
128
|
.describe("Subscription/plan label (codex `chatgpt_plan_type` / claude oauthAccount `organizationType`)."),
|
|
129
129
|
})
|
|
130
130
|
.strict()
|
|
131
|
-
.describe("Non-secret {email, plan} identity of one account, derived daemon-side from
|
|
131
|
+
.describe("Non-secret {email, plan} identity of one account, derived daemon-side from a sanctioned scoped credential source or an allowlisted harness CLI status observation; never carries raw status or token material.");
|
|
132
132
|
/**
|
|
133
133
|
* The identity routing WOULD pick next for a harness's UNPINNED run (INV-135) —
|
|
134
134
|
* purely informational, never user-set. Server-computed by the routing owner
|
|
@@ -180,7 +180,7 @@ export const ControlHarnessAccounts = z
|
|
|
180
180
|
.describe("Whether a native/default vendor login is currently detected available (the CLI login pseudo-row state)."),
|
|
181
181
|
identity: AccountIdentity.nullable()
|
|
182
182
|
.default(null)
|
|
183
|
-
.describe("Non-secret {email, plan} of the native/CLI login, derived daemon-side from
|
|
183
|
+
.describe("Non-secret {email, plan} of the native/CLI login, derived daemon-side from a sanctioned credential source or allowlisted harness CLI status observation; null when absent/undisclosed."),
|
|
184
184
|
next_up: ControlNextUpIdentity,
|
|
185
185
|
})
|
|
186
186
|
.strict()
|
|
@@ -196,7 +196,7 @@ export const ControlCredentialProfilesResponse = z
|
|
|
196
196
|
status: CredentialProfileStatus,
|
|
197
197
|
identity: AccountIdentity.nullable()
|
|
198
198
|
.default(null)
|
|
199
|
-
.describe("Non-secret {email, plan} of this profile, derived daemon-side from its
|
|
199
|
+
.describe("Non-secret {email, plan} of this profile, derived daemon-side from its scoped credential source or allowlisted harness CLI status observation; null when absent/undisclosed."),
|
|
200
200
|
})
|
|
201
201
|
.strict())
|
|
202
202
|
.describe("Every registered credential profile paired with its doctor readiness projection and non-secret identity."),
|
|
@@ -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;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,IAAI,CAAC,CAAC,kBAAkB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC;KACpD,QAAQ,CACP,uHAAuH,CACxH,CAAC;AAGJ;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACN,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,6DAA6D,CAAC;IACtF,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IAClE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,iDAAiD,CAAC;IAC3F,eA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E;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+EAA+E,CAAC;CAC7F,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"}
|
package/dist/quota.d.ts
CHANGED
|
@@ -1,6 +1,50 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
export declare const QuotaSource: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage"]>;
|
|
3
3
|
export type QuotaSource = z.infer<typeof QuotaSource>;
|
|
4
|
+
/** Orthogonal capabilities of every quota evidence source. Keep this
|
|
5
|
+
* exhaustive registry beside the QuotaSource vocabulary so consumers cannot
|
|
6
|
+
* silently invent their own source classifications. */
|
|
7
|
+
export interface QuotaSourceTraits {
|
|
8
|
+
/** The source is a vendor response authenticated with this subject's own
|
|
9
|
+
* credential, and therefore evidence of credential liveness. */
|
|
10
|
+
readonly vendorAuthenticated: boolean;
|
|
11
|
+
/** A missing/stale primary observation from this harness creates daemon
|
|
12
|
+
* refresh demand. Reactive and spool sources deliberately use null. */
|
|
13
|
+
readonly refreshDemandHarness: "claude" | "codex" | null;
|
|
14
|
+
/** At least one registered top-level quota refresher can produce this
|
|
15
|
+
* source. This is independent of whether it satisfies refresh demand. */
|
|
16
|
+
readonly producedByRefresher: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const QUOTA_SOURCE_TRAITS: {
|
|
19
|
+
readonly codex_app_server: {
|
|
20
|
+
readonly vendorAuthenticated: true;
|
|
21
|
+
readonly refreshDemandHarness: "codex";
|
|
22
|
+
readonly producedByRefresher: true;
|
|
23
|
+
};
|
|
24
|
+
readonly codex_rollout: {
|
|
25
|
+
readonly vendorAuthenticated: false;
|
|
26
|
+
readonly refreshDemandHarness: null;
|
|
27
|
+
readonly producedByRefresher: false;
|
|
28
|
+
};
|
|
29
|
+
readonly claude_statusline: {
|
|
30
|
+
readonly vendorAuthenticated: false;
|
|
31
|
+
readonly refreshDemandHarness: null;
|
|
32
|
+
readonly producedByRefresher: true;
|
|
33
|
+
};
|
|
34
|
+
readonly claude_api_retry: {
|
|
35
|
+
readonly vendorAuthenticated: false;
|
|
36
|
+
readonly refreshDemandHarness: null;
|
|
37
|
+
readonly producedByRefresher: false;
|
|
38
|
+
};
|
|
39
|
+
readonly claude_oauth_usage: {
|
|
40
|
+
readonly vendorAuthenticated: true;
|
|
41
|
+
readonly refreshDemandHarness: "claude";
|
|
42
|
+
readonly producedByRefresher: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export declare function quotaSourceTraits(source: QuotaSource): QuotaSourceTraits;
|
|
46
|
+
export declare function quotaRefreshDemandHarnesses(): Array<"claude" | "codex">;
|
|
47
|
+
export declare function quotaSourcesProducedByRefreshers(): QuotaSource[];
|
|
4
48
|
export declare const QuotaFreshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
|
|
5
49
|
export type QuotaFreshness = z.infer<typeof QuotaFreshness>;
|
|
6
50
|
export declare const QuotaSubject: z.ZodObject<{
|
|
@@ -717,8 +761,8 @@ export declare function quotaSnapshotAvailability(snapshot: Pick<QuotaSnapshot,
|
|
|
717
761
|
model?: string | null;
|
|
718
762
|
}): QuotaAvailability;
|
|
719
763
|
/** Decorate a quota response with per-snapshot availability projections —
|
|
720
|
-
* applied at the /v2/quota
|
|
721
|
-
*
|
|
764
|
+
* applied at the /v2/quota and atomic Accounts response boundaries so
|
|
765
|
+
* journals and raw projection signatures stay byte-identical. */
|
|
722
766
|
export declare function withQuotaAvailability(response: ControlQuotaResponse, opts?: {
|
|
723
767
|
now?: Date;
|
|
724
768
|
model?: string | null;
|
package/dist/quota.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quota.d.ts","sourceRoot":"","sources":["../src/quota.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"quota.d.ts","sourceRoot":"","sources":["../src/quota.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,eAAO,MAAM,WAAW,iHAQoE,CAAC;AAC7F,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD;;uDAEuD;AACvD,MAAM,WAAW,iBAAiB;IAChC;oEACgE;IAChE,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACtC;2EACuE;IACvE,QAAQ,CAAC,oBAAoB,EAAE,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAC;IACzD;6EACyE;IACzE,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,mBAAmB;;iBAE5B,mBAAmB;iBACnB,oBAAoB,EAAE,OAAO;iBAC7B,mBAAmB;;;iBAGnB,mBAAmB;iBACnB,oBAAoB;iBACpB,mBAAmB;;;iBAGnB,mBAAmB;iBACnB,oBAAoB;iBACpB,mBAAmB;;;iBAGnB,mBAAmB;iBACnB,oBAAoB;iBACpB,mBAAmB;;;iBAGnB,mBAAmB;iBACnB,oBAAoB,EAAE,QAAQ;iBAC9B,mBAAmB;;CAEoC,CAAC;AAE5D,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,iBAAiB,CAExE;AAED,wBAAgB,2BAA2B,IAAI,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,CAQvE;AAED,wBAAgB,gCAAgC,IAAI,WAAW,EAAE,CAIhE;AAED,eAAO,MAAM,cAAc,0CAE+B,CAAC;AAC3D,MAAM,MAAM,cAAc,GAA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,EAAE,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAO,GAC/C,iBAAiB,CAyDnB;AAED;;iEAEiE;AACjE,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,oBAAoB,EAC9B,IAAI,GAAE;IAAE,GAAG,CAAC,EAAE,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAO,GAC/C,oBAAoB,CAQtB"}
|
package/dist/quota.js
CHANGED
|
@@ -8,7 +8,47 @@ export const QuotaSource = z
|
|
|
8
8
|
"claude_api_retry",
|
|
9
9
|
"claude_oauth_usage",
|
|
10
10
|
])
|
|
11
|
-
.describe("
|
|
11
|
+
.describe("Machine-readable source of quota evidence, classified by schema-owned traits.");
|
|
12
|
+
export const QUOTA_SOURCE_TRAITS = {
|
|
13
|
+
codex_app_server: {
|
|
14
|
+
vendorAuthenticated: true,
|
|
15
|
+
refreshDemandHarness: "codex",
|
|
16
|
+
producedByRefresher: true,
|
|
17
|
+
},
|
|
18
|
+
codex_rollout: {
|
|
19
|
+
vendorAuthenticated: false,
|
|
20
|
+
refreshDemandHarness: null,
|
|
21
|
+
producedByRefresher: false,
|
|
22
|
+
},
|
|
23
|
+
claude_statusline: {
|
|
24
|
+
vendorAuthenticated: false,
|
|
25
|
+
refreshDemandHarness: null,
|
|
26
|
+
producedByRefresher: true,
|
|
27
|
+
},
|
|
28
|
+
claude_api_retry: {
|
|
29
|
+
vendorAuthenticated: false,
|
|
30
|
+
refreshDemandHarness: null,
|
|
31
|
+
producedByRefresher: false,
|
|
32
|
+
},
|
|
33
|
+
claude_oauth_usage: {
|
|
34
|
+
vendorAuthenticated: true,
|
|
35
|
+
refreshDemandHarness: "claude",
|
|
36
|
+
producedByRefresher: true,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
export function quotaSourceTraits(source) {
|
|
40
|
+
return QUOTA_SOURCE_TRAITS[source];
|
|
41
|
+
}
|
|
42
|
+
export function quotaRefreshDemandHarnesses() {
|
|
43
|
+
return [
|
|
44
|
+
...new Set(Object.values(QUOTA_SOURCE_TRAITS)
|
|
45
|
+
.map((traits) => traits.refreshDemandHarness)
|
|
46
|
+
.filter((harness) => harness !== null)),
|
|
47
|
+
].sort();
|
|
48
|
+
}
|
|
49
|
+
export function quotaSourcesProducedByRefreshers() {
|
|
50
|
+
return Object.keys(QUOTA_SOURCE_TRAITS).filter((source) => QUOTA_SOURCE_TRAITS[source].producedByRefresher);
|
|
51
|
+
}
|
|
12
52
|
export const QuotaFreshness = z
|
|
13
53
|
.enum(["fresh", "stale", "unknown"])
|
|
14
54
|
.describe("Freshness of a quota snapshot at read time.");
|
|
@@ -104,7 +144,7 @@ export const QuotaAvailability = z
|
|
|
104
144
|
.strict()
|
|
105
145
|
.describe("Derived model-aware availability projection for one quota snapshot. Without a requested model, only windows applying to EVERY model can set exhausted/cooldown — a model-scoped spent window keeps state available and is disclosed in model_scoped_exhaustions.");
|
|
106
146
|
export const ControlQuotaSnapshot = QuotaSnapshot.extend({
|
|
107
|
-
availability: QuotaAvailability.optional().describe("Typed availability projection derived
|
|
147
|
+
availability: QuotaAvailability.optional().describe("Typed server-owned availability projection derived at the /v2/quota and atomic Accounts response boundaries; absent from raw journal/projection storage."),
|
|
108
148
|
}).describe("One vendor-owned quota snapshot plus its derived availability projection.");
|
|
109
149
|
export const ControlQuotaRefreshRequest = z
|
|
110
150
|
.object({
|
|
@@ -225,8 +265,8 @@ export function quotaSnapshotAvailability(snapshot, opts = {}) {
|
|
|
225
265
|
});
|
|
226
266
|
}
|
|
227
267
|
/** Decorate a quota response with per-snapshot availability projections —
|
|
228
|
-
* applied at the /v2/quota
|
|
229
|
-
*
|
|
268
|
+
* applied at the /v2/quota and atomic Accounts response boundaries so
|
|
269
|
+
* journals and raw projection signatures stay byte-identical. */
|
|
230
270
|
export function withQuotaAvailability(response, opts = {}) {
|
|
231
271
|
return {
|
|
232
272
|
...response,
|
package/dist/quota.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quota.js","sourceRoot":"","sources":["../src/quota.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC;KACzB,IAAI,CAAC;IACJ,kBAAkB;IAClB,eAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,oBAAoB;CACrB,CAAC;KACD,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"quota.js","sourceRoot":"","sources":["../src/quota.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC;KACzB,IAAI,CAAC;IACJ,kBAAkB;IAClB,eAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,oBAAoB;CACrB,CAAC;KACD,QAAQ,CAAC,+EAA+E,CAAC,CAAC;AAkB7F,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,gBAAgB,EAAE;QAChB,mBAAmB,EAAE,IAAI;QACzB,oBAAoB,EAAE,OAAO;QAC7B,mBAAmB,EAAE,IAAI;KAC1B;IACD,aAAa,EAAE;QACb,mBAAmB,EAAE,KAAK;QAC1B,oBAAoB,EAAE,IAAI;QAC1B,mBAAmB,EAAE,KAAK;KAC3B;IACD,iBAAiB,EAAE;QACjB,mBAAmB,EAAE,KAAK;QAC1B,oBAAoB,EAAE,IAAI;QAC1B,mBAAmB,EAAE,IAAI;KAC1B;IACD,gBAAgB,EAAE;QAChB,mBAAmB,EAAE,KAAK;QAC1B,oBAAoB,EAAE,IAAI;QAC1B,mBAAmB,EAAE,KAAK;KAC3B;IACD,kBAAkB,EAAE;QAClB,mBAAmB,EAAE,IAAI;QACz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;QACX,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;YAC/C,GAAG,QAAQ;YACX,YAAY,EAAE,yBAAyB,CAAC,QAAQ,EAAE,IAAI,CAAC;SACxD,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC"}
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"email": {
|
|
154
154
|
"type": "string",
|
|
155
155
|
"minLength": 1,
|
|
156
|
-
"description": "Login email of the account (codex id_token `email
|
|
156
|
+
"description": "Login email of the account (codex id_token `email`, claude oauthAccount `emailAddress`, or an allowlisted harness CLI status observation)."
|
|
157
157
|
},
|
|
158
158
|
"plan": {
|
|
159
159
|
"type": "string",
|
|
@@ -162,13 +162,13 @@
|
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
164
|
"additionalProperties": false,
|
|
165
|
-
"description": "Non-secret {email, plan} identity of one account, derived daemon-side from
|
|
165
|
+
"description": "Non-secret {email, plan} identity of one account, derived daemon-side from a sanctioned scoped credential source or an allowlisted harness CLI status observation; never carries raw status or token material."
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
"type": "null"
|
|
169
169
|
}
|
|
170
170
|
],
|
|
171
|
-
"description": "Non-secret {email, plan} of this profile, derived daemon-side from its
|
|
171
|
+
"description": "Non-secret {email, plan} of this profile, derived daemon-side from its scoped credential source or allowlisted harness CLI status observation; null when absent/undisclosed.",
|
|
172
172
|
"default": null
|
|
173
173
|
}
|
|
174
174
|
},
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"type": "null"
|
|
208
208
|
}
|
|
209
209
|
],
|
|
210
|
-
"description": "Non-secret {email, plan} of the native/CLI login, derived daemon-side from
|
|
210
|
+
"description": "Non-secret {email, plan} of the native/CLI login, derived daemon-side from a sanctioned credential source or allowlisted harness CLI status observation; null when absent/undisclosed.",
|
|
211
211
|
"default": null
|
|
212
212
|
},
|
|
213
213
|
"next_up": {
|
|
@@ -1242,7 +1242,7 @@
|
|
|
1242
1242
|
"claude_api_retry",
|
|
1243
1243
|
"claude_oauth_usage"
|
|
1244
1244
|
],
|
|
1245
|
-
"description": "
|
|
1245
|
+
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
1246
1246
|
},
|
|
1247
1247
|
"observed_at": {
|
|
1248
1248
|
"type": "string",
|
|
@@ -1333,7 +1333,7 @@
|
|
|
1333
1333
|
"model_scoped_exhaustions"
|
|
1334
1334
|
],
|
|
1335
1335
|
"additionalProperties": false,
|
|
1336
|
-
"description": "Typed availability projection derived
|
|
1336
|
+
"description": "Typed server-owned availability projection derived at the /v2/quota and atomic Accounts response boundaries; absent from raw journal/projection storage."
|
|
1337
1337
|
}
|
|
1338
1338
|
},
|
|
1339
1339
|
"required": [
|
|
@@ -1407,7 +1407,7 @@
|
|
|
1407
1407
|
"refreshed_at"
|
|
1408
1408
|
],
|
|
1409
1409
|
"additionalProperties": false,
|
|
1410
|
-
"description": "Fresh quota response used to compute next-up in this exact Accounts snapshot epoch."
|
|
1410
|
+
"description": "Fresh quota response used to compute next-up in this exact Accounts snapshot epoch, decorated with the same server-owned availability projection as /v2/quota."
|
|
1411
1411
|
},
|
|
1412
1412
|
"quotaEventCursor": {
|
|
1413
1413
|
"type": "string",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"email": {
|
|
152
152
|
"type": "string",
|
|
153
153
|
"minLength": 1,
|
|
154
|
-
"description": "Login email of the account (codex id_token `email
|
|
154
|
+
"description": "Login email of the account (codex id_token `email`, claude oauthAccount `emailAddress`, or an allowlisted harness CLI status observation)."
|
|
155
155
|
},
|
|
156
156
|
"plan": {
|
|
157
157
|
"type": "string",
|
|
@@ -160,13 +160,13 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
"additionalProperties": false,
|
|
163
|
-
"description": "Non-secret {email, plan} identity of one account, derived daemon-side from
|
|
163
|
+
"description": "Non-secret {email, plan} identity of one account, derived daemon-side from a sanctioned scoped credential source or an allowlisted harness CLI status observation; never carries raw status or token material."
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"type": "null"
|
|
167
167
|
}
|
|
168
168
|
],
|
|
169
|
-
"description": "Non-secret {email, plan} of this profile, derived daemon-side from its
|
|
169
|
+
"description": "Non-secret {email, plan} of this profile, derived daemon-side from its scoped credential source or allowlisted harness CLI status observation; null when absent/undisclosed.",
|
|
170
170
|
"default": null
|
|
171
171
|
}
|
|
172
172
|
},
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"type": "null"
|
|
206
206
|
}
|
|
207
207
|
],
|
|
208
|
-
"description": "Non-secret {email, plan} of the native/CLI login, derived daemon-side from
|
|
208
|
+
"description": "Non-secret {email, plan} of the native/CLI login, derived daemon-side from a sanctioned credential source or allowlisted harness CLI status observation; null when absent/undisclosed.",
|
|
209
209
|
"default": null
|
|
210
210
|
},
|
|
211
211
|
"next_up": {
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"email": {
|
|
152
152
|
"type": "string",
|
|
153
153
|
"minLength": 1,
|
|
154
|
-
"description": "Login email of the account (codex id_token `email
|
|
154
|
+
"description": "Login email of the account (codex id_token `email`, claude oauthAccount `emailAddress`, or an allowlisted harness CLI status observation)."
|
|
155
155
|
},
|
|
156
156
|
"plan": {
|
|
157
157
|
"type": "string",
|
|
@@ -160,13 +160,13 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
"additionalProperties": false,
|
|
163
|
-
"description": "Non-secret {email, plan} identity of one account, derived daemon-side from
|
|
163
|
+
"description": "Non-secret {email, plan} identity of one account, derived daemon-side from a sanctioned scoped credential source or an allowlisted harness CLI status observation; never carries raw status or token material."
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"type": "null"
|
|
167
167
|
}
|
|
168
168
|
],
|
|
169
|
-
"description": "Non-secret {email, plan} of this profile, derived daemon-side from its
|
|
169
|
+
"description": "Non-secret {email, plan} of this profile, derived daemon-side from its scoped credential source or allowlisted harness CLI status observation; null when absent/undisclosed.",
|
|
170
170
|
"default": null
|
|
171
171
|
}
|
|
172
172
|
},
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"type": "null"
|
|
206
206
|
}
|
|
207
207
|
],
|
|
208
|
-
"description": "Non-secret {email, plan} of the native/CLI login, derived daemon-side from
|
|
208
|
+
"description": "Non-secret {email, plan} of the native/CLI login, derived daemon-side from a sanctioned credential source or allowlisted harness CLI status observation; null when absent/undisclosed.",
|
|
209
209
|
"default": null
|
|
210
210
|
},
|
|
211
211
|
"next_up": {
|
|
@@ -1224,7 +1224,7 @@
|
|
|
1224
1224
|
"claude_api_retry",
|
|
1225
1225
|
"claude_oauth_usage"
|
|
1226
1226
|
],
|
|
1227
|
-
"description": "
|
|
1227
|
+
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
1228
1228
|
},
|
|
1229
1229
|
"observed_at": {
|
|
1230
1230
|
"type": "string",
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
"model_scoped_exhaustions"
|
|
1316
1316
|
],
|
|
1317
1317
|
"additionalProperties": false,
|
|
1318
|
-
"description": "Typed availability projection derived
|
|
1318
|
+
"description": "Typed server-owned availability projection derived at the /v2/quota and atomic Accounts response boundaries; absent from raw journal/projection storage."
|
|
1319
1319
|
}
|
|
1320
1320
|
},
|
|
1321
1321
|
"required": [
|
|
@@ -1389,7 +1389,7 @@
|
|
|
1389
1389
|
"refreshed_at"
|
|
1390
1390
|
],
|
|
1391
1391
|
"additionalProperties": false,
|
|
1392
|
-
"description": "Fresh quota response used to compute next-up in this exact Accounts snapshot epoch."
|
|
1392
|
+
"description": "Fresh quota response used to compute next-up in this exact Accounts snapshot epoch, decorated with the same server-owned availability projection as /v2/quota."
|
|
1393
1393
|
},
|
|
1394
1394
|
"quotaEventCursor": {
|
|
1395
1395
|
"type": "string",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"claude_api_retry",
|
|
140
140
|
"claude_oauth_usage"
|
|
141
141
|
],
|
|
142
|
-
"description": "
|
|
142
|
+
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
143
143
|
},
|
|
144
144
|
"observed_at": {
|
|
145
145
|
"type": "string",
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
"model_scoped_exhaustions"
|
|
231
231
|
],
|
|
232
232
|
"additionalProperties": false,
|
|
233
|
-
"description": "Typed availability projection derived
|
|
233
|
+
"description": "Typed server-owned availability projection derived at the /v2/quota and atomic Accounts response boundaries; absent from raw journal/projection storage."
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
236
|
"required": [
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
"claude_api_retry",
|
|
350
350
|
"claude_oauth_usage"
|
|
351
351
|
],
|
|
352
|
-
"description": "
|
|
352
|
+
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
353
353
|
},
|
|
354
354
|
"plan_label": {
|
|
355
355
|
"type": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.15",
|
|
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.3.
|
|
23
|
+
"@claudexor/util": "3.3.15"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|