@promptctl/cc-candybar 1.201.1 → 1.203.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 +1 -1
- package/dist/index.mjs +114 -114
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ A project or cwd file, and a repository's own plugins (`.cc-candybar/plugins/`),
|
|
|
53
53
|
|
|
54
54
|
JSON is a strict subset of JSON5, so the same parser handles both — `.json5` is the documented format (supports inline comments, trailing commas, unquoted keys), `.json` is the legacy/compat extension. When both exist at the same location, `.json5` wins and the bar shows a persistent warning so you can remove the shadowed duplicate.
|
|
55
55
|
|
|
56
|
-
The file **merges onto the bundled default**, so it declares only what differs. `globals` merge per field; the named sections (`variables`, `segments`, `actions`, `helpers`, …) merge by name, your entry winning; `root` merges per named row (`identity` and `status` in the bundled default; a whole tree at `root` replaces every row). The bundled default is `src/config/default-dsl-config.ts`, and fuller starting points live under `examples/`. Run `cc-candybar check <path>` to load a file exactly as the daemon will: exit 0 means it renders, exit 1 prints the error with the path and line to fix. Add `--render` and it prints the bar it rendered, so you can read a config's result without installing it. For a bug report, `cc-candybar record <session-id> <file> [--seconds N]` writes ten seconds (or N) of a live session out of the running daemon, the facts its bar drew from and the requests it was drawn by, and `pnpm demo --recording <file> <config>` in a checkout replays the file frame by frame through the config named, so send yours with the recording. The session's facts come from the file alone: no git, tmux or transcript is read
|
|
56
|
+
The file **merges onto the bundled default**, so it declares only what differs. `globals` merge per field; the named sections (`variables`, `segments`, `actions`, `helpers`, …) merge by name, your entry winning; `root` merges per named row (`identity` and `status` in the bundled default; a whole tree at `root` replaces every row). The bundled default is `src/config/default-dsl-config.ts`, and fuller starting points live under `examples/`. Run `cc-candybar check <path>` to load a file exactly as the daemon will: exit 0 means it renders, exit 1 prints the error with the path and line to fix. Add `--render` and it prints the bar it rendered, so you can read a config's result without installing it. For a bug report, `cc-candybar record <session-id> <file> [--seconds N]` writes ten seconds (or N) of a live session out of the running daemon, the facts its bar drew from and the requests it was drawn by, and `pnpm demo --recording <file> <config>` in a checkout replays the file frame by frame through the config named, so send yours with the recording. The session's facts come from the file alone, a config's own shell and file sources among them: no git, tmux or transcript is read and no command runs. So the file holds what every shell and file source of your config read (a command's output, a file's text): read it before you send it.
|
|
57
57
|
|
|
58
58
|
<!-- The check:pass fence below is loaded by test/doc-snippets.test.ts through
|
|
59
59
|
`cc-candybar check` — edit it and run that test, so the README example
|