llm-relay 0.56.0 → 0.58.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.
@@ -129,8 +129,8 @@ export interface Candidate {
129
129
  /**
130
130
  * What this deployment (or its provider, or its group) has STATED about itself — the learned
131
131
  * facts from `target-facts.ts`, each with the scope it applies at. The measurement kinds
132
- * (`context-limit`, `rate-limit-rpm|rpd|tpm|tpd`) also carry `value`: the ceiling itself, as
133
- * stated. Display-only — nothing here reorders or gates a candidate.
132
+ * (`context-limit`, `max-output`, `rate-limit-rpm|rpd|tpm|tpd`) also carry `value`: the ceiling
133
+ * itself, as stated. Display-only — nothing here reorders or gates a candidate.
134
134
  */
135
135
  facts: Array<{
136
136
  kind: string;
package/dist/cli.js CHANGED
@@ -2230,6 +2230,7 @@ const FACT_MEANING = {
2230
2230
  "credential-invalid": "the provider says this key is bad — every deployment behind it demoted",
2231
2231
  "rate-limited": "throughput throttled by the provider — demoted, never evicted",
2232
2232
  "context-limit": "a ceiling this deployment stated about itself — a measurement, never a demotion",
2233
+ "max-output": "a ceiling this deployment stated about itself — a measurement, never a demotion",
2233
2234
  "rate-limit-rpm": "a ceiling this deployment stated about itself — a measurement, never a demotion",
2234
2235
  "rate-limit-rpd": "a ceiling this deployment stated about itself — a measurement, never a demotion",
2235
2236
  "rate-limit-tpm": "a ceiling this deployment stated about itself — a measurement, never a demotion",
@@ -2431,10 +2432,11 @@ export function runEligibility(sub, arg) {
2431
2432
  if (sc.kind === "group") {
2432
2433
  process.stdout.write(` covers: ${sc.members.join(", ")}\n`);
2433
2434
  }
2434
- // ⚠ The full proposal travels — reset AND costClasses. This call once omitted `costClasses`,
2435
- // so the status listing printed an accept command WIDER than the proposal it echoed: the
2436
- // silent-widening hazard `eligibilityAcceptCommand`'s own comment warns about, surviving in
2437
- // the one call site the v0.55.2 fix did not reach.
2435
+ // ⚠ The full proposal travels — reset AND costClasses. This call omitted `costClasses` from
2436
+ // the day the flag was introduced (`7412435`, v0.52.0), so the status listing printed an
2437
+ // accept command WIDER than the proposal it echoed — the silent-widening hazard
2438
+ // `eligibilityAcceptCommand`'s own comment warns about. (v0.55.2 fixed the separate
2439
+ // store-persistence half in `acceptInterpretation`; it never touched this file.)
2438
2440
  process.stdout.write(` accept with: ${eligibilityAcceptCommand(i + 1, p.signature, p.proposed.class, sc, p.proposed.reset, p.proposed.costClasses)}\n`);
2439
2441
  }
2440
2442
  });