@promptctl/cc-candybar 1.106.0 → 1.108.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 (3) hide show
  1. package/README.md +4 -0
  2. package/dist/index.mjs +74 -74
  3. package/package.json +18 -10
package/README.md CHANGED
@@ -12,6 +12,8 @@
12
12
 
13
13
  </div>
14
14
 
15
+ **[Try the live bar in your browser →](https://promptctl.github.io/cc-candybar/)** The real daemon, compiled for the page, replays a few turns of a Claude Code session; every click in the bar is real.
16
+
15
17
  ## What it is
16
18
 
17
19
  CCCandybar is a statusline renderer for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). It shows session cost, context usage, git status, model info, rate-limit utilization, and more, configured through a JSON5 DSL with hot-reloading.
@@ -146,6 +148,8 @@ Run the install once to stage the runtime, then point `~/.claude/settings.json`
146
148
 
147
149
  `just deploy` builds `dist/index.mjs` and stages the native binary at `bin/cc-candybar-native` — point your statusline command at that path. On a machine without cargo, `pnpm install && pnpm build` builds only the bundle — point your statusline at the committed `bin/cc-candybar` node entry instead. Either way the bar renders HEAD; the daemon watches the built bundle and respawns itself on rebuild.
148
150
 
151
+ `pnpm bar:web` serves the bar at http://127.0.0.1:7317/ in a browser terminal you can click: an isolated daemon (`--config my.json5` starts it from a copy of your config, `--ssh` shows the host segment). `pnpm site:build` builds the GitHub Pages version into `site/dist`, the same page with the daemon running inside it against a simulated machine (`site/`).
152
+
149
153
  ### Config file
150
154
 
151
155
  Customization lives in `.cc-candybar.json5`. See the [Customization](#customization) section above for the resolution order. Saved edits hot-reload — no restart needed.