uncompact 0.44.0 → 0.45.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/npm/install.js CHANGED
@@ -175,6 +175,24 @@ async function main() {
175
175
  }
176
176
 
177
177
  console.log(`[uncompact] Installed to ${destPath}`);
178
+ console.log();
179
+
180
+ // Automatically install Claude Code hooks
181
+ console.log("[uncompact] Configuring Claude Code hooks...");
182
+ try {
183
+ execFileSync(destPath, ["install", "--yes"], { stdio: "inherit" });
184
+ } catch (err) {
185
+ console.error("[uncompact] Failed to automatically configure hooks. You can run it manually:");
186
+ console.error(" uncompact install");
187
+ }
188
+ console.log();
189
+
190
+ // Show help output after install
191
+ try {
192
+ execFileSync(destPath, [], { stdio: "inherit" });
193
+ } catch (err) {
194
+ // Ignore errors from running the binary itself
195
+ }
178
196
  }
179
197
 
180
198
  main().catch((err) => {
package/npm/run.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uncompact",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "description": "Stop Claude Code compaction from making your AI stupid. Re-inject project context after compaction via the Supermodel API.",
5
5
  "author": "Supermodel <abe@supermodel.software>",
6
6
  "license": "MIT",