@askalf/dario 6.10.5 → 6.10.6

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/pool.js CHANGED
@@ -319,7 +319,15 @@ export function familyParkedOnBuckets(rl, family, now = Date.now()) {
319
319
  }
320
320
  /** `next` with the parked buckets `prev` still holds carried forward (see `RateLimitSnapshot.parkedBuckets`). */
321
321
  export function withParkedBuckets(prev, next, now = Date.now()) {
322
- const parked = activeParkedBuckets(prev, now);
322
+ // A reading that MEASURED a parked bucket below the threshold is that bucket's
323
+ // own answer: it has room again before its stated reset (a limit reset on the
324
+ // account, a plan upgrade), so its park lifts. A reading without the bucket's
325
+ // header (an Opus 200 carries no 7d_oi) says nothing about it and keeps it.
326
+ // Fleet box, 2026-09-22: pro1's oi was reset by the operator; a pinned Fable
327
+ // 200 read 7d_oi 0.0 allowed, and the park still held Fable off pro1 until the
328
+ // 429's reset three days out.
329
+ const parked = activeParkedBuckets(prev, now)
330
+ .filter((b) => !(b in next.perModel7d && next.perModel7d[b] < 0.99));
323
331
  if (parked.length === 0)
324
332
  return next;
325
333
  return { ...next, parkedBuckets: parked, parkedBucketsUntil: prev.parkedBucketsUntil };
@@ -24,8 +24,8 @@ services:
24
24
  expose: ["3456"]
25
25
 
26
26
  cordon:
27
- # multi-arch, Sigstore-attested: gh attestation verify oci://ghcr.io/askalf/cordon:v0.2.0 --repo askalf/cordon
28
- image: ghcr.io/askalf/cordon:v0.2.0
27
+ # multi-arch, Sigstore-attested: gh attestation verify oci://ghcr.io/askalf/cordon:v0.3.0 --repo askalf/cordon
28
+ image: ghcr.io/askalf/cordon:v0.3.0
29
29
  environment:
30
30
  ANTHROPIC_BASE: http://dario:3456
31
31
  OPENAI_BASE: http://dario:3456
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askalf/dario",
3
- "version": "6.10.5",
3
+ "version": "6.10.6",
4
4
  "description": "Use your Claude and ChatGPT subscriptions in Cursor, Cline, Aider, Claude Code and the Agent SDK — at subscription pricing, not per-token API bills. One local Anthropic + OpenAI-compatible endpoint: either plan answers either wire shape, with automatic failover when one hits its limit.",
5
5
  "type": "module",
6
6
  "bin": {