claude-scope 0.8.30 → 0.8.31

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.
@@ -3414,6 +3414,7 @@ var init_cost_widget = __esm({
3414
3414
  }
3415
3415
  renderWithData(data, _context) {
3416
3416
  if (!data.cost || data.cost.total_cost_usd === void 0) return null;
3417
+ if (data.cost.total_cost_usd === 0) return null;
3417
3418
  const renderData = {
3418
3419
  costUsd: data.cost.total_cost_usd
3419
3420
  };
@@ -4026,6 +4027,7 @@ var init_duration_widget = __esm({
4026
4027
  }
4027
4028
  renderWithData(data, _context) {
4028
4029
  if (!data.cost || data.cost.total_duration_ms === void 0) return null;
4030
+ if (data.cost.total_duration_ms === 0) return null;
4029
4031
  const renderData = {
4030
4032
  durationMs: data.cost.total_duration_ms
4031
4033
  };
@@ -4509,6 +4511,7 @@ var init_lines_widget = __esm({
4509
4511
  renderWithData(data, _context) {
4510
4512
  const added = data.cost?.total_lines_added ?? 0;
4511
4513
  const removed = data.cost?.total_lines_removed ?? 0;
4514
+ if (added === 0 && removed === 0) return null;
4512
4515
  const renderData = { added, removed };
4513
4516
  return this.styleFn(renderData, this.colors.lines);
4514
4517
  }
@@ -7096,7 +7099,7 @@ var init_mjs = __esm({
7096
7099
  "node_modules/signal-exit/dist/mjs/index.js"() {
7097
7100
  init_signals();
7098
7101
  processOk = (process4) => !!process4 && typeof process4 === "object" && typeof process4.removeListener === "function" && typeof process4.emit === "function" && typeof process4.reallyExit === "function" && typeof process4.listeners === "function" && typeof process4.kill === "function" && typeof process4.pid === "number" && typeof process4.on === "function";
7099
- kExitEmitter = Symbol.for("signal-exit emitter");
7102
+ kExitEmitter = /* @__PURE__ */ Symbol.for("signal-exit emitter");
7100
7103
  global = globalThis;
7101
7104
  ObjectDefineProperty = Object.defineProperty.bind(Object);
7102
7105
  Emitter = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-scope",
3
- "version": "0.8.30",
3
+ "version": "0.8.31",
4
4
  "description": "Claude Code plugin for session status and analytics",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,7 +35,7 @@
35
35
  "@types/node": "^22.10.2",
36
36
  "c8": "^10.1.3",
37
37
  "chai": "^6.2.2",
38
- "esbuild": "^0.24.2",
38
+ "esbuild": "^0.27.2",
39
39
  "husky": "^9.1.7",
40
40
  "lint-staged": "^16.2.7",
41
41
  "rimraf": "^6.1.2",