@ponbac/token-ledger 0.11.1 → 0.11.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
@@ -962,7 +962,7 @@ For manual publication:
962
962
  1. Log in with `npm login` using an account with publish access to `@ponbac/token-ledger`.
963
963
  2. Run `bun run check`. The CLI test packs the package, installs it offline outside
964
964
  the repository with lifecycle scripts disabled, and exercises the installed CLI.
965
- 3. Run `bun run pack` to create `dist/ponbac-token-ledger-0.11.1.tgz` (filename follows version).
965
+ 3. Run `bun run pack` to create `dist/ponbac-token-ledger-0.11.2.tgz` (filename follows version).
966
966
  4. Inspect `npm publish ./dist/npm --dry-run`.
967
967
  5. Publish with `npm publish ./dist/npm --access public`; complete npm's authentication
968
968
  prompt if requested.
package/dist/main.js CHANGED
@@ -34313,9 +34313,49 @@ var fetch = /* @__PURE__ */ make48((request3, url, signal, fiber3) => {
34313
34313
  var layer14 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch));
34314
34314
  // packages/core/src/copilot-rates.json
34315
34315
  var copilot_rates_default = {
34316
- version: "2026-10-24",
34316
+ version: "2026-11-17",
34317
34317
  description: "GitHub Copilot's AI credit rates in USD per million tokens (1 credit = $0.01). effectiveFrom is the UTC day a rate took effect: the day GitHub's usage report starts billing it where that is known, otherwise the day of the GitHub docs change that listed it; 2026-08-21 is the oldest version read, and a model's first entry also prices its earlier usage. long applies to the whole request when input + cacheRead + cacheWrite exceeds its above. uncachedInput cacheWrite bills all but three uncached input tokens at the cache-write rate when a record reports no cache writes. confirmed entries match GitHub's bills or usage report; provisional ones have not been matched yet.",
34318
34318
  entries: [
34319
+ {
34320
+ model: "gpt-6.2-astra",
34321
+ effectiveFrom: "2026-11-17",
34322
+ status: "provisional",
34323
+ source: "https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing",
34324
+ uncachedInput: "cacheWrite",
34325
+ base: {
34326
+ input: 8,
34327
+ cacheRead: 0.4,
34328
+ cacheWrite: 10,
34329
+ output: 40
34330
+ },
34331
+ long: {
34332
+ above: 272000,
34333
+ input: 16,
34334
+ cacheRead: 0.8,
34335
+ cacheWrite: 20,
34336
+ output: 60
34337
+ }
34338
+ },
34339
+ {
34340
+ model: "gpt-6.2-sol",
34341
+ effectiveFrom: "2026-11-17",
34342
+ status: "provisional",
34343
+ source: "https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing",
34344
+ uncachedInput: "cacheWrite",
34345
+ base: {
34346
+ input: 2,
34347
+ cacheRead: 0.1,
34348
+ cacheWrite: 2.5,
34349
+ output: 10
34350
+ },
34351
+ long: {
34352
+ above: 272000,
34353
+ input: 4,
34354
+ cacheRead: 0.2,
34355
+ cacheWrite: 5,
34356
+ output: 15
34357
+ }
34358
+ },
34319
34359
  {
34320
34360
  model: "gpt-6.1-sol",
34321
34361
  effectiveFrom: "2026-09-29",
@@ -44020,7 +44060,7 @@ var runWith2 = (command, config) => {
44020
44060
  // packages/cli/package.json
44021
44061
  var package_default = {
44022
44062
  name: "@ponbac/token-ledger",
44023
- version: "0.11.1",
44063
+ version: "0.11.2",
44024
44064
  private: true,
44025
44065
  type: "module",
44026
44066
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ponbac/token-ledger",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Local AI token usage and API-equivalent cost reports by project",
5
5
  "license": "MIT",
6
6
  "engines": {