big-spender 0.7.0 → 0.8.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.
package/README.md CHANGED
@@ -327,16 +327,17 @@ about 15 to 20 percent less.
327
327
 
328
328
  ## How it counts
329
329
 
330
- | Source | Files | Notes |
331
- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
332
- | Claude Code | `~/.claude/projects/**/*.jsonl`, `~/.config/claude/projects`, `$CLAUDE_CONFIG_DIR/projects` | `assistant` lines; de-duplicated by `message.id` + `requestId` (one API response is logged once per content block, and resumed sessions copy history). `<synthetic>` skipped; subagent logs included. Some Claude Code versions (2.1.293 to 2.1.310) log a partial output count on a message's first line and the final count on a later line; a later line that reports more output adds the difference. |
333
- | Codex | `~/.codex/sessions/**/rollout-*.jsonl`, `$CODEX_HOME/sessions` | `event_msg` / `token_count` with `info.last_token_usage`; skipped when `total_token_usage` did not change. Model from the latest `turn_context`. `cached_input_tokens` is part of `input_tokens`; reasoning is part of `output_tokens`. |
334
- | Cursor | Cursor's API, `DashboardService/GetFilteredUsageEvents`, with `BIG_SPENDER_CURSOR_API_KEY` | Events with token counts only. Cost is Cursor's `totalCents`. Events have no unique id and pages can overlap, so a time window with more than 1,000 events is split in half instead of paged. `cacheWriteTokens` count as 5-minute cache writes. Sessions are hashed `conversationId`s. Model names are lowercased, and anything outside `a-z 0-9 . _ : @ -` becomes `-`. |
335
- | pi | `~/.pi/agent/sessions/**/*.jsonl`, `$PI_CODING_AGENT_DIR/sessions`, `$PI_CODING_AGENT_SESSION_DIR`, `$PI_AGENT_DIR` (comma-separated, as in ccusage) | Assistant `message` entries with `usage`; `input` excludes cached tokens, reasoning is part of `output`, and `cacheWrite` counts as 5-minute writes except its `cacheWrite1h` part. Calls with no tokens (aborted, failed before a retry) are skipped, and a call with only `totalTokens` counts it as output. A fork's file starts with a copy of its parent's calls up to the fork; those leading calls are skipped when the parent file has them. ccusage looks only at the parent's current branch, so it counts the copy again once the parent moves to another branch. A model id that is a file path (absolute, a `file://` or `host:/` URL, or ending in `.gguf` and similar) is reduced to its file name. `subagent-artifacts/` transcripts are skipped. Cost is LiteLLM's, not the cost pi stores. |
336
- | Grok Build (experimental) | `~/.grok/sessions/**/updates.jsonl`, `$GROK_HOME/sessions` | **Experimental:** checked against ccusage on test fixtures built from its Grok parser tests, not yet against real Grok Build logs. `turn_completed` lines, one row per model in `usage.modelUsage` (the top-level usage under `summary.json`'s `current_model_id` when that map is missing). De-duplicated by `eventId` + model, also across sessions, since one event can be exported into several; a row without `eventId` by its full content within its file. `cachedReadTokens` and `cacheCreationTokens` are part of `inputTokens`; reasoning is part of `outputTokens`. Always the base rate: a turn sums several API requests, so its total cannot pick the long-context tier; a request of its own above 200K tokens is under-priced. A model id that is a file path is reduced to its file name. A turn cut off before it completes is never logged, so it is not counted. |
337
-
338
- **Pricing.** Claude Code, Codex, pi and Grok Build use LiteLLM `model_prices_and_context_window.json`, cached
339
- for 24 hours in `~/.cache/big-spender/`. Each source lists the LiteLLM keys to try for a model. Claude
330
+ | Source | Files | Notes |
331
+ | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
332
+ | Claude Code | `~/.claude/projects/**/*.jsonl`, `~/.config/claude/projects`, `$CLAUDE_CONFIG_DIR/projects` | `assistant` lines; de-duplicated by `message.id` + `requestId` (one API response is logged once per content block, and resumed sessions copy history). `<synthetic>` skipped; subagent logs included. Some Claude Code versions (2.1.293 to 2.1.310) log a partial output count on a message's first line and the final count on a later line; a later line that reports more output adds the difference. |
333
+ | Codex | `~/.codex/sessions/**/rollout-*.jsonl`, `$CODEX_HOME/sessions` | `event_msg` / `token_count` with `info.last_token_usage`; skipped when `total_token_usage` did not change. Model from the latest `turn_context`. `cached_input_tokens` is part of `input_tokens`; reasoning is part of `output_tokens`. |
334
+ | Cursor | Cursor's API, `DashboardService/GetFilteredUsageEvents`, with `BIG_SPENDER_CURSOR_API_KEY` | Events with token counts only. Cost is Cursor's `totalCents`. Events have no unique id and pages can overlap, so a time window with more than 1,000 events is split in half instead of paged. `cacheWriteTokens` count as 5-minute cache writes. Sessions are hashed `conversationId`s. Model names are lowercased, and anything outside `a-z 0-9 . _ : @ -` becomes `-`. |
335
+ | pi | `~/.pi/agent/sessions/**/*.jsonl`, `$PI_CODING_AGENT_DIR/sessions`, `$PI_CODING_AGENT_SESSION_DIR`, `$PI_AGENT_DIR` (comma-separated, as in ccusage) | Assistant `message` entries with `usage`; `input` excludes cached tokens, reasoning is part of `output`, and `cacheWrite` counts as 5-minute writes except its `cacheWrite1h` part. Calls with no tokens (aborted, failed before a retry) are skipped, and a call with only `totalTokens` counts it as output. A fork's file starts with a copy of its parent's calls up to the fork; those leading calls are skipped when the parent file has them. ccusage looks only at the parent's current branch, so it counts the copy again once the parent moves to another branch. A model id that is a file path (absolute, a `file://` or `host:/` URL, or ending in `.gguf` and similar) is reduced to its file name. `subagent-artifacts/` transcripts are skipped. Cost is LiteLLM's, not the cost pi stores. |
336
+ | Grok Build (experimental) | `~/.grok/sessions/**/updates.jsonl`, `$GROK_HOME/sessions` | **Experimental:** checked against ccusage on test fixtures built from its Grok parser tests, not yet against real Grok Build logs. `turn_completed` lines, one row per model in `usage.modelUsage` (the top-level usage under `summary.json`'s `current_model_id` when that map is missing). De-duplicated by `eventId` + model, also across sessions, since one event can be exported into several; a row without `eventId` by its full content within its file. `cachedReadTokens` and `cacheCreationTokens` are part of `inputTokens`; reasoning is part of `outputTokens`. Always the base rate: a turn sums several API requests, so its total cannot pick the long-context tier; a request of its own above 200K tokens is under-priced. A model id that is a file path is reduced to its file name. A turn cut off before it completes is never logged, so it is not counted. |
337
+ | GitHub Copilot CLI (experimental) | `~/.copilot/session-state/*/events.jsonl`, `$COPILOT_HOME/session-state` | Experimental: so far compared with ccusage only on a few sessions from one machine and on ccusage's test fixtures, not on regular use. `session.usage_record` events (one per model call). Older versions log only `session.shutdown`; its cumulative `modelMetrics` count as the growth since the previous shutdown, and only when no per-call record came in that interval. `inputTokens` includes cache reads and writes, so input counts uncached tokens only. Reasoning is part of `outputTokens`. A `-1m` or `-1m-internal` model suffix is dropped. Only the top-level `events.jsonl` of each session is read, not the OpenTelemetry export or `session-store.db`. |
338
+
339
+ **Pricing.** Claude Code, Codex, pi, Grok Build and GitHub Copilot CLI use LiteLLM
340
+ `model_prices_and_context_window.json`, cached for 24 hours in `~/.cache/big-spender/`. Each source lists the LiteLLM keys to try for a model. Claude
340
341
  Code and Codex try the exact model, then the `anthropic/` or `openai/` prefix, then without a date
341
342
  suffix. pi tries the LiteLLM prefixes of the providers pi supports too (`openrouter/`, `fireworks_ai/`,
342
343
  `groq/` and others). For an OpenRouter id such as `anthropic/claude-sonnet-4.5` it then tries
@@ -345,7 +346,8 @@ both without a trailing `-build`. Unknown models count with cost 0 and log a war
345
346
  Long-context tiers
346
347
  (`*_above_<N>k_tokens`) are applied per request; 1-hour cache writes use
347
348
  `cache_creation_input_token_cost_above_1hr`. Cache savings are cache-read tokens times (input price
348
- minus cache-read price).
349
+ minus cache-read price). Copilot also tries `github_copilot/<model>`, and swaps a dot between digits
350
+ for a dash in Claude model names (`claude-opus-4.6` is priced as `claude-opus-4-6`).
349
351
 
350
352
  **Adding a provider.** Add an entry to `SOURCES` in `src/collector.mjs`, the provider id to
351
353
  `PROVIDERS` in `src/schema.ts`, a row to the table above, and a test with a fixture log. The entry
@@ -120,8 +120,8 @@ async function acquireLock() {
120
120
  /**
121
121
  * @typedef {{ input: number, cacheRead: number, cacheWrite: number, output: number, savings: number }} Cost
122
122
  * @typedef {{ input: number, cacheRead: number, cacheWrite5m: number, cacheWrite1h: number, output: number, sessions: string[], cost?: Cost }} Bucket
123
- * A JSONL file's read position. Readers may keep their own fields on it (Codex: model, sessionId, lastTotal; pi: forkCalls).
124
- * @typedef {{ size: number, mtimeMs: number, offset: number, model?: string, sessionId?: string, lastTotal?: number, forkCalls?: string[] }} FileState
123
+ * A JSONL file's read position. Readers may keep their own fields on it (Codex: model, sessionId, lastTotal; pi: forkCalls; Copilot: models, callsSinceShutdown).
124
+ * @typedef {{ size: number, mtimeMs: number, offset: number, model?: string, sessionId?: string, lastTotal?: number, forkCalls?: string[], models?: Record<string, { input: number, cacheRead: number, cacheWrite: number, output: number, requests?: number }>, callsSinceShutdown?: boolean }} FileState
125
125
  * A seen entry is the first timestamp, or for Claude [first timestamp, output tokens counted].
126
126
  * A bare number on a Claude key means the counted output is unknown (state from an older version).
127
127
  * @typedef {number | [number, number]} Seen
@@ -819,20 +819,113 @@ function grokLineHandler(state, cutoffMs, path) {
819
819
  };
820
820
  }
821
821
 
822
- const isJsonl = (name) => name.endsWith('.jsonl');
822
+ // Copilot CLI versions without session.usage_record log usage only in session.shutdown. Like
823
+ // ccusage, a shutdown counts as cumulative per model since the session began, which older
824
+ // versions may not hold to (issue #11). inputTokens includes cache reads and writes.
825
+ // reasoningTokens is part of outputTokens.
826
+ // A bring-your-own-key model can be a cloud resource id or gateway URL, which may carry an
827
+ // account id, so only its last path segment leaves the machine.
828
+ const copilotModelName = (raw) => {
829
+ const name = String(raw ?? '')
830
+ .trim()
831
+ .split(/[?#]/)[0]
832
+ .split('/')
833
+ .pop();
834
+ return (/^arn:/i.test(name) ? name.split(':').pop() : name)
835
+ .replace(/-1m(-internal)?$/, '')
836
+ .replace(/[^A-Za-z0-9._:@-]/g, '-')
837
+ .slice(0, 100);
838
+ };
839
+
840
+ function copilotLineHandler(state, file, resolvePrice, cutoffMs, sessionDir) {
841
+ const session = shortHash(`copilot:${sessionDir}`);
842
+ const count = (u, requests) => ({
843
+ input: num(u?.inputTokens),
844
+ cacheRead: num(u?.cacheReadTokens),
845
+ cacheWrite: num(u?.cacheWriteTokens),
846
+ output: num(u?.outputTokens),
847
+ requests: num(requests)
848
+ });
849
+ const add = (ts, model, t, tier) =>
850
+ addRecord(state, {
851
+ ts,
852
+ provider: 'copilot',
853
+ model,
854
+ tier,
855
+ session,
856
+ input: Math.max(0, t.input - t.cacheRead - t.cacheWrite),
857
+ cacheRead: t.cacheRead,
858
+ cacheWrite5m: t.cacheWrite,
859
+ cacheWrite1h: 0,
860
+ output: t.output
861
+ });
862
+ return (line) => {
863
+ const isCall = line.includes('"session.usage_record"');
864
+ if (!isCall && !line.includes('"session.shutdown"')) return;
865
+ const o = parseJson(line);
866
+ if (!o || o.type !== (isCall ? 'session.usage_record' : 'session.shutdown')) return;
867
+ const ts = Date.parse(o.timestamp);
868
+ if (!Number.isFinite(ts)) return;
869
+ const id = o.id ?? o.timestamp;
870
+ if (isCall) {
871
+ file.callsSinceShutdown = true;
872
+ const model = copilotModelName(o.data?.usage?.model);
873
+ const key = `p:${shortHash(`${sessionDir}:${id}`)}`;
874
+ if (!model || ts < cutoffMs || state.seen[key] !== undefined) return;
875
+ state.seen[key] = ts;
876
+ const t = count(o.data.usage);
877
+ add(ts, model, t, tierFor(resolvePrice('copilot', model), t.input));
878
+ return;
879
+ }
880
+ // Names that normalise to one model (`gpt-5.2` and `gpt-5.2-1m`) are added up before the
881
+ // previous shutdown is subtracted.
882
+ /** @type {Record<string, ReturnType<typeof count>>} */
883
+ const totals = {};
884
+ for (const [rawModel, metrics] of Object.entries(o.data?.modelMetrics ?? {})) {
885
+ const model = copilotModelName(rawModel);
886
+ if (!metrics?.usage || !model) continue;
887
+ const t = count(metrics.usage, metrics.requests?.count);
888
+ const sum = (totals[model] ??= count());
889
+ for (const k of Object.keys(t)) sum[k] += t[k];
890
+ }
891
+ file.models ??= {};
892
+ for (const [model, now] of Object.entries(totals)) {
893
+ const was = file.models[model] ?? {};
894
+ file.models[model] = now;
895
+ const delta = count();
896
+ for (const k of Object.keys(delta)) delta[k] = Math.max(0, now[k] - num(was[k]));
897
+ const key = `p:${shortHash(`${sessionDir}:${id}:${model}`)}`;
898
+ if (
899
+ file.callsSinceShutdown ||
900
+ ts < cutoffMs ||
901
+ !(delta.input || delta.cacheRead || delta.cacheWrite || delta.output) ||
902
+ state.seen[key] !== undefined
903
+ ) {
904
+ continue;
905
+ }
906
+ state.seen[key] = ts;
907
+ // An interval of one request is one prompt, so only then can it reach a long-context tier.
908
+ const tier = delta.requests === 1 ? tierFor(resolvePrice('copilot', model), delta.input) : 0;
909
+ add(ts, model, delta, tier);
910
+ }
911
+ file.callsSinceShutdown = false;
912
+ };
913
+ }
914
+
915
+ const allJsonl = (dir) => walk(dir, (name) => name.endsWith('.jsonl'));
823
916
 
824
917
  /**
825
- * A reader for JSONL logs that only grow: walks the files under each path whose name `keep`
826
- * accepts (any `*.jsonl` by default) and parses only the bytes added since the last run. `lines`
918
+ * A reader for JSONL logs that only grow: reads the files `files` lists under each path (every
919
+ * `*.jsonl` below it by default) and parses only the bytes added since the last run. `lines`
827
920
  * builds the line handler for one file.
828
921
  * @param {(ctx: ReadContext, file: FileState, path: string) => (line: string) => void} lines
829
- * @param {(name: string) => boolean} [keep]
922
+ * @param {(dir: string) => AsyncIterable<string>} [files]
830
923
  */
831
- const jsonlReader = (lines, keep) => async (paths, ctx, provider) => {
924
+ const jsonlReader = (lines, files) => async (paths, ctx, provider) => {
832
925
  const { state } = ctx;
833
926
  for (const dir of paths) {
834
927
  if (!existsSync(dir)) continue;
835
- for await (const path of walk(dir, keep ?? isJsonl)) {
928
+ for await (const path of (files ?? allJsonl)(dir)) {
836
929
  if (ctx.seenPaths.has(path)) continue;
837
930
  ctx.seenPaths.add(path);
838
931
  let st;
@@ -884,6 +977,20 @@ async function openSqlite(path) {
884
977
  return mod && new mod.DatabaseSync(path, { readOnly: true });
885
978
  }
886
979
 
980
+ /** Copilot keeps user files in other session subfolders, so only `<session>/events.jsonl` counts. */
981
+ async function* sessionEvents(dir) {
982
+ let entries;
983
+ try {
984
+ entries = await readdir(dir, { withFileTypes: true });
985
+ } catch {
986
+ return;
987
+ }
988
+ for (const e of entries) {
989
+ const p = join(dir, e.name, 'events.jsonl');
990
+ if (e.isDirectory() && existsSync(p)) yield p;
991
+ }
992
+ }
993
+
887
994
  const fromEnv = (name, ...rest) => (process.env[name] ? [join(process.env[name], ...rest)] : []);
888
995
 
889
996
  /**
@@ -957,11 +1064,32 @@ const SOURCES = {
957
1064
  envPaths: () => fromEnv('GROK_HOME', 'sessions'),
958
1065
  read: jsonlReader(
959
1066
  (ctx, _file, path) => grokLineHandler(ctx.state, ctx.cutoffMs, path),
960
- (name) => name === 'updates.jsonl'
1067
+ (dir) => walk(dir, (name) => name === 'updates.jsonl')
961
1068
  ),
962
1069
  // Grok Build logs `grok-4.5-build`; LiteLLM prices it as `xai/grok-4.5`.
963
1070
  priceKeys: (model) =>
964
1071
  [model, model.replace(/-build$/, '')].flatMap((base) => [base, `xai/${base}`])
1072
+ },
1073
+ copilot: {
1074
+ paths: [join(HOME, '.copilot', 'session-state')],
1075
+ envPaths: () => fromEnv('COPILOT_HOME', 'session-state'),
1076
+ read: jsonlReader(
1077
+ (ctx, file, path) =>
1078
+ copilotLineHandler(
1079
+ ctx.state,
1080
+ file,
1081
+ ctx.resolvePrice,
1082
+ ctx.cutoffMs,
1083
+ basename(dirname(path))
1084
+ ),
1085
+ sessionEvents
1086
+ ),
1087
+ priceKeys: (model) => {
1088
+ const claude = model.startsWith('claude-');
1089
+ const name = claude ? model.replace(/(\d)\.(\d)/g, '$1-$2') : model;
1090
+ const prefix = claude ? 'anthropic' : model.startsWith('gemini-') ? 'gemini' : 'openai';
1091
+ return [...new Set([...litellmKeys(prefix)(name), `github_copilot/${model}`])];
1092
+ }
965
1093
  }
966
1094
  };
967
1095
 
package/dist/schema.d.ts CHANGED
@@ -3,7 +3,7 @@ export declare const EARLIEST_DATE = "2020-01-01T00:00:00Z";
3
3
  export declare const MAX_ROWS = 50000;
4
4
  export declare const DEVICE_ID: RegExp;
5
5
  export declare const CURSOR_DEVICE_ID = "cursor";
6
- export declare const PROVIDERS: readonly ['claude', 'codex', 'cursor', 'pi', 'grok'];
6
+ export declare const PROVIDERS: readonly ['claude', 'codex', 'cursor', 'pi', 'grok', 'copilot'];
7
7
  export declare const RANGES: readonly ['7d', '30d', '90d', 'all'];
8
8
  export declare const usageRowSchema: z.ZodObject<{
9
9
  hour: z.ZodISODateTime;
@@ -14,6 +14,7 @@ export declare const usageRowSchema: z.ZodObject<{
14
14
  provider: z.ZodEnum<{
15
15
  claude: "claude";
16
16
  codex: "codex";
17
+ copilot: "copilot";
17
18
  cursor: "cursor";
18
19
  grok: "grok";
19
20
  pi: "pi";
@@ -38,6 +39,7 @@ export declare const limitWindowSchema: z.ZodObject<{
38
39
  provider: z.ZodEnum<{
39
40
  claude: "claude";
40
41
  codex: "codex";
42
+ copilot: "copilot";
41
43
  cursor: "cursor";
42
44
  grok: "grok";
43
45
  pi: "pi";
@@ -62,6 +64,7 @@ export declare const usageSnapshotSchema: z.ZodObject<{
62
64
  provider: z.ZodEnum<{
63
65
  claude: "claude";
64
66
  codex: "codex";
67
+ copilot: "copilot";
65
68
  cursor: "cursor";
66
69
  grok: "grok";
67
70
  pi: "pi";
@@ -87,6 +90,7 @@ export declare const usageSnapshotSchema: z.ZodObject<{
87
90
  claude: z.ZodNumber;
88
91
  codex: z.ZodNumber;
89
92
  all: z.ZodNumber;
93
+ copilot: z.ZodOptional<z.ZodNumber>;
90
94
  cursor: z.ZodOptional<z.ZodNumber>;
91
95
  grok: z.ZodOptional<z.ZodNumber>;
92
96
  pi: z.ZodOptional<z.ZodNumber>;
@@ -95,6 +99,7 @@ export declare const usageSnapshotSchema: z.ZodObject<{
95
99
  claude: z.ZodNumber;
96
100
  codex: z.ZodNumber;
97
101
  all: z.ZodNumber;
102
+ copilot: z.ZodOptional<z.ZodNumber>;
98
103
  cursor: z.ZodOptional<z.ZodNumber>;
99
104
  grok: z.ZodOptional<z.ZodNumber>;
100
105
  pi: z.ZodOptional<z.ZodNumber>;
@@ -103,6 +108,7 @@ export declare const usageSnapshotSchema: z.ZodObject<{
103
108
  claude: z.ZodNumber;
104
109
  codex: z.ZodNumber;
105
110
  all: z.ZodNumber;
111
+ copilot: z.ZodOptional<z.ZodNumber>;
106
112
  cursor: z.ZodOptional<z.ZodNumber>;
107
113
  grok: z.ZodOptional<z.ZodNumber>;
108
114
  pi: z.ZodOptional<z.ZodNumber>;
@@ -111,6 +117,7 @@ export declare const usageSnapshotSchema: z.ZodObject<{
111
117
  claude: z.ZodNumber;
112
118
  codex: z.ZodNumber;
113
119
  all: z.ZodNumber;
120
+ copilot: z.ZodOptional<z.ZodNumber>;
114
121
  cursor: z.ZodOptional<z.ZodNumber>;
115
122
  grok: z.ZodOptional<z.ZodNumber>;
116
123
  pi: z.ZodOptional<z.ZodNumber>;
@@ -120,6 +127,7 @@ export declare const usageSnapshotSchema: z.ZodObject<{
120
127
  provider: z.ZodEnum<{
121
128
  claude: "claude";
122
129
  codex: "codex";
130
+ copilot: "copilot";
123
131
  cursor: "cursor";
124
132
  grok: "grok";
125
133
  pi: "pi";
package/dist/schema.js CHANGED
@@ -14,7 +14,7 @@ export const MAX_ROWS = 50_000;
14
14
  export const DEVICE_ID = /^[a-z0-9][a-z0-9-]{0,31}$/;
15
15
  // Collectors send the Cursor account's usage under this id, so no machine may use it.
16
16
  export const CURSOR_DEVICE_ID = 'cursor';
17
- export const PROVIDERS = ['claude', 'codex', 'cursor', 'pi', 'grok'];
17
+ export const PROVIDERS = ['claude', 'codex', 'cursor', 'pi', 'grok', 'copilot'];
18
18
  // Public ranges. 7d, 30d and 90d are bucketed by UTC day, `all` by ISO week. Nothing is finer
19
19
  // than a day: an hourly view would show when each machine is in use.
20
20
  export const RANGES = ['7d', '30d', '90d', 'all'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "big-spender",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Track what your AI coding agents would cost at API prices, across all your machines.",
5
5
  "keywords": [
6
6
  "ai",