@promptctl/cc-candybar 1.128.0 → 1.129.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 +3 -2
- package/dist/index.mjs +56 -56
- package/package.json +5 -5
- package/schema/cc-candybar.schema.json +0 -3
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ That single command (re-run it any time to update to the latest release):
|
|
|
36
36
|
2. On macOS, builds `~/Applications/CCCandybarURLHandler.app` and registers the `cc-candybar://` URL scheme with Launch Services.
|
|
37
37
|
3. Writes the staged `bin/cc-candybar` path as the statusline command into `~/.claude/settings.json` (skipped with a notice if you've customized the command; `--force` overwrites).
|
|
38
38
|
|
|
39
|
-
Restart Claude Code. The statusline appears with the bundled default layout — an identity row (directory, gitaculous
|
|
39
|
+
Restart Claude Code. The statusline appears with the bundled default layout — an identity row (host, directory, gitaculous) over a status row (model, context, ceiling, autocompact, cacheTimer, block, weekly, activity). On macOS, Cmd-clicking clickable cells fires `cc-candybar://` URL verbs that the daemon dispatches (via the URL handler registered in step 2).
|
|
40
40
|
|
|
41
41
|
## Customization
|
|
42
42
|
|
|
@@ -121,9 +121,10 @@ These are the segment names `DEFAULT_DSL_CONFIG` declares, each available to a u
|
|
|
121
121
|
| `ceiling` | `⌈` the [memento](https://github.com/promptctl/memento) context ceiling this session hands off at; `−`/`+` move it by 100K, `∞` lifts it, `↺` drops the session's own setting (memento's `ceiling set/clear session`). Placed beside `context` | when memento is installed |
|
|
122
122
|
| `autocompact` | `⇲` Claude Code's auto-compact window — `auto`, or the tokens `/autocompact` last set; `−`/`+` move it by 100K up to the model's context window, `↺` returns it to `auto`. Each click types `/autocompact` into the session, so the controls show only inside tmux. Placed beside `ceiling` | always |
|
|
123
123
|
| `metrics` | `Δ` last response time, `⧖` response time, `⧗` session duration, `◆` message count, lines changed | when any of those exist |
|
|
124
|
-
| `ticket` | `🎫` the lit ticket this session started with `lit start` (click copies the id); the `▸` expands it to the workflow phase (`prep`, `impl`, `review`, `groom`, `handoff`) and the epic's `done/total` once lit has printed it | after a `lit start` in this session |
|
|
125
124
|
| `activity` | `⌘` the slash command that opened the turn, `☐` the in-progress todo with its position, `⟳` tools in flight and `✓` tools finished this turn | while the session is doing something |
|
|
126
125
|
|
|
126
|
+
The lit ticket a checkout is working on is not bundled: it is a plugin lit ships (`examples/plugins/lit`), placed as `plugins.lit.ticket` and `plugins.lit.next`. It reads the `.lit/statusline.json` lit keeps in each checkout, so no lit process runs for the bar.
|
|
127
|
+
|
|
127
128
|
Each segment is a DSL declaration with a `template` (text + interpolation + style functions), a `bg`/`fg` palette spec, and optional `when` predicate. Templates compose freely — every formatter in the bundled function library (`formatCost`, `formatTokens`, `formatLongTimeRemaining`, `budgetStatus`, `link`, `urlEncode`, the sprig string/list/dict library, …) is available in every segment.
|
|
128
129
|
|
|
129
130
|
## Themes
|