@claudexor/schema 3.4.1 → 3.5.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 (42) hide show
  1. package/dist/budget.d.ts +3 -0
  2. package/dist/budget.d.ts.map +1 -1
  3. package/dist/budget.js +4 -0
  4. package/dist/budget.js.map +1 -1
  5. package/dist/credential-profile-snapshot.d.ts +32 -14
  6. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  7. package/dist/credential-store.d.ts +13 -0
  8. package/dist/credential-store.d.ts.map +1 -0
  9. package/dist/credential-store.js +15 -0
  10. package/dist/credential-store.js.map +1 -0
  11. package/dist/harness.d.ts +12 -5
  12. package/dist/harness.d.ts.map +1 -1
  13. package/dist/index.d.ts +2 -0
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +2 -0
  16. package/dist/index.js.map +1 -1
  17. package/dist/quota.d.ts +75 -14
  18. package/dist/quota.d.ts.map +1 -1
  19. package/dist/quota.js +28 -2
  20. package/dist/quota.js.map +1 -1
  21. package/dist/setup-login-input.js +1 -1
  22. package/dist/setup-login-input.js.map +1 -1
  23. package/dist/setup-login.d.ts +446 -0
  24. package/dist/setup-login.d.ts.map +1 -0
  25. package/dist/setup-login.js +161 -0
  26. package/dist/setup-login.js.map +1 -0
  27. package/dist/setup.d.ts +130 -491
  28. package/dist/setup.d.ts.map +1 -1
  29. package/dist/setup.js +8 -138
  30. package/dist/setup.js.map +1 -1
  31. package/generated/BudgetObservation.schema.json +4 -0
  32. package/generated/ControlCredentialProfilesQueryResponse.schema.json +6 -2
  33. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +6 -2
  34. package/generated/ControlQuotaResponse.schema.json +6 -2
  35. package/generated/ControlSetupJob.schema.json +6 -1
  36. package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
  37. package/generated/ControlSetupJobEvent.schema.json +6 -1
  38. package/generated/ControlSetupJobListFilter.schema.json +2 -1
  39. package/generated/ControlSetupJobListResponse.schema.json +6 -1
  40. package/generated/ControlSetupJobSnapshot.schema.json +6 -1
  41. package/generated/HarnessEvent.schema.json +5 -1
  42. package/package.json +2 -2
package/dist/quota.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod/v3";
2
- export declare const QuotaSource: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage"]>;
2
+ export declare const QuotaSource: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage", "agy_command_usage"]>;
3
3
  export type QuotaSource = z.infer<typeof QuotaSource>;
4
4
  /** Orthogonal capabilities of every quota evidence source. Keep this
5
5
  * exhaustive registry beside the QuotaSource vocabulary so consumers cannot
@@ -10,7 +10,7 @@ export interface QuotaSourceTraits {
10
10
  readonly vendorAuthenticated: boolean;
11
11
  /** A missing/stale primary observation from this harness creates daemon
12
12
  * refresh demand. Reactive and spool sources deliberately use null. */
13
- readonly refreshDemandHarness: "claude" | "codex" | null;
13
+ readonly refreshDemandHarness: "claude" | "codex" | "agy" | null;
14
14
  /** At least one registered top-level quota refresher can produce this
15
15
  * source. This is independent of whether it satisfies refresh demand. */
16
16
  readonly producedByRefresher: boolean;
@@ -41,9 +41,14 @@ export declare const QUOTA_SOURCE_TRAITS: {
41
41
  readonly refreshDemandHarness: "claude";
42
42
  readonly producedByRefresher: true;
43
43
  };
44
+ readonly agy_command_usage: {
45
+ readonly vendorAuthenticated: true;
46
+ readonly refreshDemandHarness: "agy";
47
+ readonly producedByRefresher: true;
48
+ };
44
49
  };
45
50
  export declare function quotaSourceTraits(source: QuotaSource): QuotaSourceTraits;
46
- export declare function quotaRefreshDemandHarnesses(): Array<"claude" | "codex">;
51
+ export declare function quotaRefreshDemandHarnesses(): Array<"claude" | "codex" | "agy">;
47
52
  export declare function quotaSourcesProducedByRefreshers(): QuotaSource[];
48
53
  export declare const QuotaFreshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
49
54
  export type QuotaFreshness = z.infer<typeof QuotaFreshness>;
@@ -77,6 +82,16 @@ export declare const QuotaConstraint: z.ZodObject<{
77
82
  * list is the producer's canonical model-id/alias scope, so a
78
83
  * model-specific cap never cools a different model on the same subject. */
79
84
  applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
85
+ /**
86
+ * Whether this MODEL-SCOPED window also governs a run that names no model.
87
+ * Default (absent) is the conservative answer: a scoped window cannot
88
+ * refuse a route whose concrete model is unknowable before spawn. A source
89
+ * sets it when the vendor's unspecified-model route provably consumes THIS
90
+ * window — the case where every window is scoped, so the conservative
91
+ * default would leave an exhausted subscription unrefusable and its
92
+ * profile rotation unreachable.
93
+ */
94
+ applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
80
95
  used_ratio: z.ZodNullable<z.ZodNumber>;
81
96
  window_seconds: z.ZodNullable<z.ZodNumber>;
82
97
  resets_at: z.ZodNullable<z.ZodString>;
@@ -85,6 +100,7 @@ export declare const QuotaConstraint: z.ZodObject<{
85
100
  id: string;
86
101
  label: string;
87
102
  applies_to_models?: string[] | null | undefined;
103
+ applies_to_unspecified_model?: boolean | undefined;
88
104
  used_ratio: number | null;
89
105
  window_seconds: number | null;
90
106
  resets_at: string | null;
@@ -93,6 +109,7 @@ export declare const QuotaConstraint: z.ZodObject<{
93
109
  id: string;
94
110
  label: string;
95
111
  applies_to_models?: string[] | null | undefined;
112
+ applies_to_unspecified_model?: boolean | undefined;
96
113
  used_ratio: number | null;
97
114
  window_seconds: number | null;
98
115
  resets_at: string | null;
@@ -129,6 +146,16 @@ export declare const QuotaSnapshot: z.ZodObject<{
129
146
  * list is the producer's canonical model-id/alias scope, so a
130
147
  * model-specific cap never cools a different model on the same subject. */
131
148
  applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
149
+ /**
150
+ * Whether this MODEL-SCOPED window also governs a run that names no model.
151
+ * Default (absent) is the conservative answer: a scoped window cannot
152
+ * refuse a route whose concrete model is unknowable before spawn. A source
153
+ * sets it when the vendor's unspecified-model route provably consumes THIS
154
+ * window — the case where every window is scoped, so the conservative
155
+ * default would leave an exhausted subscription unrefusable and its
156
+ * profile rotation unreachable.
157
+ */
158
+ applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
132
159
  used_ratio: z.ZodNullable<z.ZodNumber>;
133
160
  window_seconds: z.ZodNullable<z.ZodNumber>;
134
161
  resets_at: z.ZodNullable<z.ZodString>;
@@ -137,6 +164,7 @@ export declare const QuotaSnapshot: z.ZodObject<{
137
164
  id: string;
138
165
  label: string;
139
166
  applies_to_models?: string[] | null | undefined;
167
+ applies_to_unspecified_model?: boolean | undefined;
140
168
  used_ratio: number | null;
141
169
  window_seconds: number | null;
142
170
  resets_at: string | null;
@@ -145,12 +173,13 @@ export declare const QuotaSnapshot: z.ZodObject<{
145
173
  id: string;
146
174
  label: string;
147
175
  applies_to_models?: string[] | null | undefined;
176
+ applies_to_unspecified_model?: boolean | undefined;
148
177
  used_ratio: number | null;
149
178
  window_seconds: number | null;
150
179
  resets_at: string | null;
151
180
  cooldown_until?: string | null | undefined;
152
181
  }>, "many">;
153
- source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage"]>;
182
+ source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage", "agy_command_usage"]>;
154
183
  observed_at: z.ZodString;
155
184
  freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
156
185
  }, "strict", z.ZodTypeAny, {
@@ -164,12 +193,13 @@ export declare const QuotaSnapshot: z.ZodObject<{
164
193
  id: string;
165
194
  label: string;
166
195
  applies_to_models?: string[] | null | undefined;
196
+ applies_to_unspecified_model?: boolean | undefined;
167
197
  used_ratio: number | null;
168
198
  window_seconds: number | null;
169
199
  resets_at: string | null;
170
200
  cooldown_until: string | null;
171
201
  }[];
172
- source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
202
+ source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
173
203
  observed_at: string;
174
204
  freshness: "fresh" | "stale" | "unknown";
175
205
  }, {
@@ -183,12 +213,13 @@ export declare const QuotaSnapshot: z.ZodObject<{
183
213
  id: string;
184
214
  label: string;
185
215
  applies_to_models?: string[] | null | undefined;
216
+ applies_to_unspecified_model?: boolean | undefined;
186
217
  used_ratio: number | null;
187
218
  window_seconds: number | null;
188
219
  resets_at: string | null;
189
220
  cooldown_until?: string | null | undefined;
190
221
  }[];
191
- source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
222
+ source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
192
223
  observed_at: string;
193
224
  freshness: "fresh" | "stale" | "unknown";
194
225
  }>;
@@ -326,6 +357,16 @@ export declare const ControlQuotaSnapshot: z.ZodObject<{
326
357
  * list is the producer's canonical model-id/alias scope, so a
327
358
  * model-specific cap never cools a different model on the same subject. */
328
359
  applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
360
+ /**
361
+ * Whether this MODEL-SCOPED window also governs a run that names no model.
362
+ * Default (absent) is the conservative answer: a scoped window cannot
363
+ * refuse a route whose concrete model is unknowable before spawn. A source
364
+ * sets it when the vendor's unspecified-model route provably consumes THIS
365
+ * window — the case where every window is scoped, so the conservative
366
+ * default would leave an exhausted subscription unrefusable and its
367
+ * profile rotation unreachable.
368
+ */
369
+ applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
329
370
  used_ratio: z.ZodNullable<z.ZodNumber>;
330
371
  window_seconds: z.ZodNullable<z.ZodNumber>;
331
372
  resets_at: z.ZodNullable<z.ZodString>;
@@ -334,6 +375,7 @@ export declare const ControlQuotaSnapshot: z.ZodObject<{
334
375
  id: string;
335
376
  label: string;
336
377
  applies_to_models?: string[] | null | undefined;
378
+ applies_to_unspecified_model?: boolean | undefined;
337
379
  used_ratio: number | null;
338
380
  window_seconds: number | null;
339
381
  resets_at: string | null;
@@ -342,12 +384,13 @@ export declare const ControlQuotaSnapshot: z.ZodObject<{
342
384
  id: string;
343
385
  label: string;
344
386
  applies_to_models?: string[] | null | undefined;
387
+ applies_to_unspecified_model?: boolean | undefined;
345
388
  used_ratio: number | null;
346
389
  window_seconds: number | null;
347
390
  resets_at: string | null;
348
391
  cooldown_until?: string | null | undefined;
349
392
  }>, "many">;
350
- source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage"]>;
393
+ source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage", "agy_command_usage"]>;
351
394
  observed_at: z.ZodString;
352
395
  freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
353
396
  } & {
@@ -398,12 +441,13 @@ export declare const ControlQuotaSnapshot: z.ZodObject<{
398
441
  id: string;
399
442
  label: string;
400
443
  applies_to_models?: string[] | null | undefined;
444
+ applies_to_unspecified_model?: boolean | undefined;
401
445
  used_ratio: number | null;
402
446
  window_seconds: number | null;
403
447
  resets_at: string | null;
404
448
  cooldown_until: string | null;
405
449
  }[];
406
- source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
450
+ source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
407
451
  observed_at: string;
408
452
  freshness: "fresh" | "stale" | "unknown";
409
453
  availability?: {
@@ -427,12 +471,13 @@ export declare const ControlQuotaSnapshot: z.ZodObject<{
427
471
  id: string;
428
472
  label: string;
429
473
  applies_to_models?: string[] | null | undefined;
474
+ applies_to_unspecified_model?: boolean | undefined;
430
475
  used_ratio: number | null;
431
476
  window_seconds: number | null;
432
477
  resets_at: string | null;
433
478
  cooldown_until?: string | null | undefined;
434
479
  }[];
435
- source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
480
+ source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
436
481
  observed_at: string;
437
482
  freshness: "fresh" | "stale" | "unknown";
438
483
  availability?: {
@@ -486,6 +531,16 @@ export declare const ControlQuotaResponse: z.ZodObject<{
486
531
  * list is the producer's canonical model-id/alias scope, so a
487
532
  * model-specific cap never cools a different model on the same subject. */
488
533
  applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
534
+ /**
535
+ * Whether this MODEL-SCOPED window also governs a run that names no model.
536
+ * Default (absent) is the conservative answer: a scoped window cannot
537
+ * refuse a route whose concrete model is unknowable before spawn. A source
538
+ * sets it when the vendor's unspecified-model route provably consumes THIS
539
+ * window — the case where every window is scoped, so the conservative
540
+ * default would leave an exhausted subscription unrefusable and its
541
+ * profile rotation unreachable.
542
+ */
543
+ applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
489
544
  used_ratio: z.ZodNullable<z.ZodNumber>;
490
545
  window_seconds: z.ZodNullable<z.ZodNumber>;
491
546
  resets_at: z.ZodNullable<z.ZodString>;
@@ -494,6 +549,7 @@ export declare const ControlQuotaResponse: z.ZodObject<{
494
549
  id: string;
495
550
  label: string;
496
551
  applies_to_models?: string[] | null | undefined;
552
+ applies_to_unspecified_model?: boolean | undefined;
497
553
  used_ratio: number | null;
498
554
  window_seconds: number | null;
499
555
  resets_at: string | null;
@@ -502,12 +558,13 @@ export declare const ControlQuotaResponse: z.ZodObject<{
502
558
  id: string;
503
559
  label: string;
504
560
  applies_to_models?: string[] | null | undefined;
561
+ applies_to_unspecified_model?: boolean | undefined;
505
562
  used_ratio: number | null;
506
563
  window_seconds: number | null;
507
564
  resets_at: string | null;
508
565
  cooldown_until?: string | null | undefined;
509
566
  }>, "many">;
510
- source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage"]>;
567
+ source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage", "agy_command_usage"]>;
511
568
  observed_at: z.ZodString;
512
569
  freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
513
570
  } & {
@@ -558,12 +615,13 @@ export declare const ControlQuotaResponse: z.ZodObject<{
558
615
  id: string;
559
616
  label: string;
560
617
  applies_to_models?: string[] | null | undefined;
618
+ applies_to_unspecified_model?: boolean | undefined;
561
619
  used_ratio: number | null;
562
620
  window_seconds: number | null;
563
621
  resets_at: string | null;
564
622
  cooldown_until: string | null;
565
623
  }[];
566
- source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
624
+ source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
567
625
  observed_at: string;
568
626
  freshness: "fresh" | "stale" | "unknown";
569
627
  availability?: {
@@ -587,12 +645,13 @@ export declare const ControlQuotaResponse: z.ZodObject<{
587
645
  id: string;
588
646
  label: string;
589
647
  applies_to_models?: string[] | null | undefined;
648
+ applies_to_unspecified_model?: boolean | undefined;
590
649
  used_ratio: number | null;
591
650
  window_seconds: number | null;
592
651
  resets_at: string | null;
593
652
  cooldown_until?: string | null | undefined;
594
653
  }[];
595
- source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
654
+ source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
596
655
  observed_at: string;
597
656
  freshness: "fresh" | "stale" | "unknown";
598
657
  availability?: {
@@ -666,12 +725,13 @@ export declare const ControlQuotaResponse: z.ZodObject<{
666
725
  id: string;
667
726
  label: string;
668
727
  applies_to_models?: string[] | null | undefined;
728
+ applies_to_unspecified_model?: boolean | undefined;
669
729
  used_ratio: number | null;
670
730
  window_seconds: number | null;
671
731
  resets_at: string | null;
672
732
  cooldown_until: string | null;
673
733
  }[];
674
- source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
734
+ source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
675
735
  observed_at: string;
676
736
  freshness: "fresh" | "stale" | "unknown";
677
737
  availability?: {
@@ -709,12 +769,13 @@ export declare const ControlQuotaResponse: z.ZodObject<{
709
769
  id: string;
710
770
  label: string;
711
771
  applies_to_models?: string[] | null | undefined;
772
+ applies_to_unspecified_model?: boolean | undefined;
712
773
  used_ratio: number | null;
713
774
  window_seconds: number | null;
714
775
  resets_at: string | null;
715
776
  cooldown_until?: string | null | undefined;
716
777
  }[];
717
- source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
778
+ source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
718
779
  observed_at: string;
719
780
  freshness: "fresh" | "stale" | "unknown";
720
781
  availability?: {
@@ -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,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;i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retry",
9
9
  "claude_oauth_usage",
10
+ "agy_command_usage",
10
11
  ])
11
12
  .describe("Machine-readable source of quota evidence, classified by schema-owned traits.");
12
13
  export const QUOTA_SOURCE_TRAITS = {
@@ -35,6 +36,14 @@ export const QUOTA_SOURCE_TRAITS = {
35
36
  refreshDemandHarness: "claude",
36
37
  producedByRefresher: true,
37
38
  },
39
+ agy_command_usage: {
40
+ // agy's `/quota` print-mode command is authenticated with the profile's
41
+ // own token, produced by a top-level refresher, and creates refresh demand
42
+ // for agy (its profiles only — agy has no default subject, PLAN Л-4).
43
+ vendorAuthenticated: true,
44
+ refreshDemandHarness: "agy",
45
+ producedByRefresher: true,
46
+ },
38
47
  };
39
48
  export function quotaSourceTraits(source) {
40
49
  return QUOTA_SOURCE_TRAITS[source];
@@ -75,6 +84,16 @@ export const QuotaConstraint = z
75
84
  * list is the producer's canonical model-id/alias scope, so a
76
85
  * model-specific cap never cools a different model on the same subject. */
77
86
  applies_to_models: z.array(Id).nullable().optional(),
87
+ /**
88
+ * Whether this MODEL-SCOPED window also governs a run that names no model.
89
+ * Default (absent) is the conservative answer: a scoped window cannot
90
+ * refuse a route whose concrete model is unknowable before spawn. A source
91
+ * sets it when the vendor's unspecified-model route provably consumes THIS
92
+ * window — the case where every window is scoped, so the conservative
93
+ * default would leave an exhausted subscription unrefusable and its
94
+ * profile rotation unreachable.
95
+ */
96
+ applies_to_unspecified_model: z.boolean().optional(),
78
97
  used_ratio: z.number().min(0).max(1).nullable(),
79
98
  window_seconds: z.number().positive().nullable(),
80
99
  resets_at: z.string().datetime({ offset: true }).nullable(),
@@ -125,7 +144,7 @@ export const QuotaModelScopedExhaustion = z
125
144
  resets_at: z.string().datetime({ offset: true }).nullable(),
126
145
  })
127
146
  .strict()
128
- .describe("A spent or cooling window that applies only to the named models. Without a requested model it never sets the whole subject exhausted; when the request names a model it covers, it blocks that request too (and is then also listed in blocking_constraints). resets_at is its earliest known release instant (null = unknown).");
147
+ .describe("A spent or cooling window that applies only to the named models. Without a requested model only a window that DECLARES it governs the unspecified-model route can exhaust the subject; when the request names a model it covers, it blocks that request too (and is then also listed in blocking_constraints). resets_at is its earliest known release instant (null = unknown).");
129
148
  export const QuotaAvailability = z
130
149
  .object({
131
150
  state: QuotaAvailabilityState,
@@ -248,7 +267,14 @@ export function quotaSnapshotAvailability(snapshot, opts = {}) {
248
267
  }
249
268
  if (release === null)
250
269
  continue;
251
- if (scoped && (model === null || !modelScopeMatches(scope, model)))
270
+ // The projection and the router must answer the SAME question: a scoped
271
+ // window that declares it governs the unspecified-model route blocks a
272
+ // bare run, or the Accounts card would read "available" for an account the
273
+ // router is already refusing.
274
+ if (scoped &&
275
+ (model === null
276
+ ? constraint.applies_to_unspecified_model !== true
277
+ : !modelScopeMatches(scope, model)))
252
278
  continue;
253
279
  blocking.push(constraint.id);
254
280
  if (exhausted)
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,+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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C,KAAK,CAAC;QAC7B,KAAK,EAAE,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU;QACpF,oBAAoB,EAAE,QAAQ;QAC9B,SAAS,EAAE,eAAe,EAAE,GAAG,IAAI,IAAI;QACvC,wBAAwB,EAAE,iBAAiB;KAC5C,CAAC,CAAC;AACL,CAAC;AAED;;iEAEiE;AACjE,MAAM,UAAU,qBAAqB,CACnC,QAA8B,EAC9B,IAAI,GAA0C,EAAE;IAEhD,OAAO;QACL,GAAG,QAAQ;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"}
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v3";
2
2
  import * as SetupLoginProtocol from "./setup-login-protocol.js";
3
- import { SetupLoginProtocolVersion } from "./setup.js";
3
+ import { SetupLoginProtocolVersion } from "./setup-login.js";
4
4
  const SetupTimestamp = z.string().datetime({ offset: true });
5
5
  /** One-shot sign-in input for a url_disclosure_with_input login job (claude's
6
6
  * manual paste-code completion). TRANSIENT: the value rides the runner's
@@ -1 +1 @@
1
- {"version":3,"file":"setup-login-input.js","sourceRoot":"","sources":["../src/setup-login-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAEvD,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CA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