cc-cream 0.1.11 → 0.1.13

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/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ All notable changes to cc-cream are documented here. Format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.13] — 2026-05-29
8
+
9
+ ### Fixed
10
+ - **Setup/uninstall commands showed no visible feedback** (regression from 0.1.12). Trimming the command `.md` bodies to just the bang line removed the only part Claude Code surfaces prominently — a slash command's bang (`` !`…` ``) output is folded into the model prompt, not shown to the user — so running `/cc-cream:setup` appeared to do nothing. Restored a brief one-line note to each command body (visible confirmation of what's happening), while keeping the expensive statusLine-JSON echo out of `install.js` (the real token win from 0.1.12). Net: still far cheaper than ≤0.1.11, but the command no longer looks silent.
11
+
12
+ ## [0.1.12] — 2026-05-29
13
+
14
+ ### Changed
15
+ - **`/cc-cream:setup` and `/cc-cream:uninstall` are much cheaper to run** (CREAM-qhgyiodh). These are slash commands, so their `.md` body and the installer's stdout both enter the model context (~1k tokens for an uninstall). Trimmed the command bodies to just the bang line — the only essential human hint (“run `/plugin uninstall cc-cream` afterwards”) now lives in the frontmatter `description`, which is menu metadata rather than model-facing body. And `install.js` no longer echoes the full statusLine command JSON: it prints terse confirmations (`Removed cc-cream's statusLine.`, `Setting the cc-cream statusLine.`). The terse summary also survives Claude Code's command-output fold, so the “what was removed / kept” feedback is actually visible. (The bar itself remains zero-token — it's never in the model context; this only concerns the occasional setup/uninstall commands.)
16
+
7
17
  ## [0.1.11] — 2026-05-29
8
18
 
9
19
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-cream",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Claude Code cache/context/cost status-line tool",
5
5
  "directories": {
6
6
  "doc": "docs"
package/src/install.js CHANGED
@@ -68,16 +68,14 @@ export function planUninstall(settings) {
68
68
 
69
69
  if (!isCcCreamStatusLine(existing)) {
70
70
  if (existing && typeof existing === 'object') {
71
- messages.push(
72
- `Your statusLine is not cc-cream's — leaving it untouched:\n ${JSON.stringify(existing)}`,
73
- );
71
+ messages.push("Your statusLine is not cc-cream's — leaving it untouched.");
74
72
  } else {
75
73
  messages.push('No cc-cream statusLine found in settings.json — nothing to remove.');
76
74
  }
77
75
  return { settings: s, changed: false, messages };
78
76
  }
79
77
 
80
- messages.push(`Removing cc-cream statusLine:\n ${JSON.stringify(existing)}`);
78
+ messages.push("Removed cc-cream's statusLine.");
81
79
  const next = { ...s };
82
80
  delete next.statusLine;
83
81
  return { settings: next, changed: true, messages };
@@ -113,7 +111,7 @@ export function plan(settings, { entrypoint, consent, plugin = false, nodePath }
113
111
  // An existing (different) statusLine must be confirmed before replacing.
114
112
  const hasExisting = existing && typeof existing === 'object';
115
113
  if (hasExisting) {
116
- messages.push(`An existing statusLine is configured:\n ${JSON.stringify(existing)}`);
114
+ messages.push('An existing statusLine is configured.');
117
115
  messages.push('Replace it with cc-cream?');
118
116
  if (consent !== true) {
119
117
  messages.push('Declined — your existing statusLine is unchanged.');
@@ -121,7 +119,7 @@ export function plan(settings, { entrypoint, consent, plugin = false, nodePath }
121
119
  }
122
120
  }
123
121
 
124
- messages.push(`Will set statusLine to:\n ${JSON.stringify(desired)}`);
122
+ messages.push('Setting the cc-cream statusLine.');
125
123
  messages.push(TRUST_NOTE);
126
124
  return { settings: { ...s, statusLine: desired }, changed: true, messages, needsConsent: hasExisting };
127
125
  }