cc-cream 0.1.11 → 0.1.12
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 +5 -0
- package/package.json +1 -1
- package/src/install.js +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ 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.12] — 2026-05-29
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- **`/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.)
|
|
11
|
+
|
|
7
12
|
## [0.1.11] — 2026-05-29
|
|
8
13
|
|
|
9
14
|
### Fixed
|
package/package.json
CHANGED
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(
|
|
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(
|
|
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(
|
|
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
|
}
|