ai-spend-agent 0.2.2 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -68,7 +68,9 @@ export async function runCli(argv = process.argv.slice(2)) {
68
68
  async function quickstartCommand(args) {
69
69
  const { records, mode, warnings } = await loadInstantReadData(args);
70
70
  const summary = analyzeSpend(records);
71
- const groupBy = args.groupBy ?? "model";
71
+ // For real local-log users the by-project view is the flagship table
72
+ // ("which project burns my plan"); demo/connected keep by-model.
73
+ const groupBy = args.groupBy ?? (mode === "local-logs" ? "project" : "model");
72
74
  const color = args.noColor ? false : undefined;
73
75
  // Persona: --plan override wins; otherwise read the plans the coding agents
74
76
  // themselves persisted locally (read-only, whitelisted fields, no network).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-spend-agent",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Your AI spend in one view, in 90 seconds — local-first CLI for OpenAI, Anthropic, Cursor, Copilot + Claude Code/Codex session logs, with a ranked savings cut list, and flags the tools your agent loads but never uses (dead context).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -49,8 +49,8 @@
49
49
  "prepack": "npm run build"
50
50
  },
51
51
  "dependencies": {
52
- "@agent-finops/core": "0.2.2",
53
- "@agent-finops/report": "0.2.2",
52
+ "@agent-finops/core": "0.3.0",
53
+ "@agent-finops/report": "0.3.0",
54
54
  "yocto-spinner": "^1.2.0"
55
55
  }
56
56
  }