cc-api-statusline 0.2.0 → 0.2.1

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
@@ -513,7 +513,7 @@ bun run start
513
513
  bun run example
514
514
 
515
515
  # Run tests
516
- bun test
516
+ bun run test
517
517
 
518
518
  # Lint
519
519
  bun run lint
@@ -577,7 +577,7 @@ bun run check
577
577
 
578
578
  ## Testing
579
579
 
580
- - **550 tests** across **34 test files**
580
+ - **578 tests** across **34 test files**
581
581
  - Unit tests for all services, renderers, and shared utilities
582
582
  - Core execution path tests (A/B/C/D)
583
583
  - E2E smoke tests with isolated environments
@@ -4,7 +4,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "cc-api-statusline",
7
- version: "0.2.0",
7
+ version: "0.2.1",
8
8
  description: "Claude Code statusline tool that polls API usage from third-party proxy backends",
9
9
  type: "module",
10
10
  bin: {
@@ -1500,11 +1500,11 @@ var ANSI_COLORS = {
1500
1500
  grey: "\x1B[90m"
1501
1501
  };
1502
1502
  var THEME_COLORS = {
1503
- cool: "#00D9FF",
1504
- comfortable: "#4ADE80",
1505
- warm: "#FDE047",
1506
- hot: "#FB923C",
1507
- critical: "#F87171"
1503
+ cool: "#56B6C2",
1504
+ comfortable: "#6BAF8D",
1505
+ warm: "#C9A84C",
1506
+ hot: "#CB7E55",
1507
+ critical: "#C96B6B"
1508
1508
  };
1509
1509
  var ANSI_RESET = "\x1B[0m";
1510
1510
  var ANSI_DIM = "\x1B[2m";
@@ -2310,7 +2310,7 @@ function renderDivider(divider) {
2310
2310
  const padding = divider.padding ?? 1;
2311
2311
  const pad = " ".repeat(padding);
2312
2312
  const padded = `${pad}${text}${pad}`;
2313
- return divider.color ? ansiColor(padded, divider.color) : padded;
2313
+ return ansiColor(padded, divider.color ?? "#555753");
2314
2314
  }
2315
2315
 
2316
2316
  // src/services/capabilities.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-api-statusline",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Claude Code statusline tool that polls API usage from third-party proxy backends",
5
5
  "type": "module",
6
6
  "bin": {