@superbased/observer 1.4.11 → 1.4.13

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 (2) hide show
  1. package/README.md +10 -3
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -235,9 +235,16 @@ High-level snapshot of the selected window:
235
235
 
236
236
  Per-model breakdown over the selected window. Tokens split into the
237
237
  four billing buckets, with computed dollar cost and a reliability
238
- flag (`high` = upstream-reported, `medium` = computed, `low` =
239
- estimated, `unreliable` = no pricing entry). Daily stacked-bar chart
240
- of token volume per day.
238
+ flag. Cost is always computed locally as `tokens × pricing_table[model]`
239
+ neither Anthropic nor OpenAI returns cost in their API responses, so
240
+ the proxy can't capture upstream-billed cost. Reliability values:
241
+ `accurate` (proxy-captured tokens, exact rate), `approximate` (JSONL-
242
+ sourced tokens, rate may be a family-prefix fallback), `unreliable`
243
+ (Claude Code JSONL streaming placeholders, ~10% off output), `unknown`
244
+ (no pricing entry for the model). Two adapters — OpenCode and Pi —
245
+ write their own per-turn cost into `estimated_cost_usd`; the engine
246
+ uses those as-is when present. See
247
+ `docs/anthropic-pricing-reference.md` for the rate sheet.
241
248
 
242
249
  Hover any column header for tooltip; click for the full definition
243
250
  in the help drawer.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superbased/observer",
3
- "version": "1.4.11",
3
+ "version": "1.4.13",
4
4
  "description": "SuperBased Observer — capture, normalize, compress, and analyze AI coding tool activity across Claude Code, Codex, Cursor, Cline/Roo, and Copilot.",
5
5
  "keywords": [
6
6
  "ai",
@@ -36,11 +36,11 @@
36
36
  "LICENSE"
37
37
  ],
38
38
  "optionalDependencies": {
39
- "@superbased/observer-linux-x64": "1.4.11",
40
- "@superbased/observer-linux-arm64": "1.4.11",
41
- "@superbased/observer-darwin-x64": "1.4.11",
42
- "@superbased/observer-darwin-arm64": "1.4.11",
43
- "@superbased/observer-win32-x64": "1.4.11"
39
+ "@superbased/observer-linux-x64": "1.4.13",
40
+ "@superbased/observer-linux-arm64": "1.4.13",
41
+ "@superbased/observer-darwin-x64": "1.4.13",
42
+ "@superbased/observer-darwin-arm64": "1.4.13",
43
+ "@superbased/observer-win32-x64": "1.4.13"
44
44
  },
45
45
  "scripts": {
46
46
  "test": "node bin/observer.js --version"