@agentproto/catalog-sync 0.8.0 → 0.8.2

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/README.md CHANGED
@@ -135,6 +135,9 @@ Source: `https://openrouter.ai/api/v1/models` (pinned snapshot:
135
135
  file omits these; this generator emits them when the source carries them
136
136
  (P3 spec: "plus cache fields if the source has them") — additive and
137
137
  `LLMPricing`-compatible.
138
+ - `pricing.overrides` entries keyed solely on `min_prompt_tokens` → a `tiers`
139
+ array (`{ aboveInputTokens, inputPer1M, outputPer1M, … }`) on the row, so
140
+ long prompts bill at the higher rate. Time-of-day discounts are ignored.
138
141
  - Unpriced routes (`openrouter/auto`) are skipped.
139
142
  - `addedAt` (ISO date, first-seen, never mutated) is stamped per id via the
140
143
  `ledger/llm-openrouter.json` ledger — see "`addedAt` convention" above.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentproto/catalog-sync",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Build-time generator framework for @agentproto/model-catalog. Generates *.generated.ts from pinned provider sources (LLM, image, video, audio, voice).",
5
5
  "keywords": [
6
6
  "agentproto",
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "dependencies": {
81
81
  "zod": "^4.6.5",
82
- "@agentproto/model-catalog": "0.12.0"
82
+ "@agentproto/model-catalog": "0.12.2"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@types/node": "^25.9.5",