uncompact 0.46.3 → 0.46.5
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/npm/install.js +8 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ go install github.com/supermodeltools/uncompact@latest
|
|
|
113
113
|
uncompact auth login
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
This opens [dashboard.supermodeltools.com](https://dashboard.supermodeltools.com) where you can subscribe and generate an API key.
|
|
116
|
+
This opens [dashboard.supermodeltools.com/api-keys/](https://dashboard.supermodeltools.com/api-keys/) where you can subscribe and generate an API key.
|
|
117
117
|
|
|
118
118
|
### 3. Install Claude Code Hooks
|
|
119
119
|
|
package/npm/install.js
CHANGED
|
@@ -209,10 +209,15 @@ async function main() {
|
|
|
209
209
|
try {
|
|
210
210
|
const authStatus = execSync(checkAuthCmd).toString();
|
|
211
211
|
if (authStatus.includes("Status: not authenticated") || authStatus.includes("✗")) {
|
|
212
|
-
|
|
212
|
+
log("\n[uncompact] Authentication required. Starting login flow...\n");
|
|
213
213
|
try {
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
// Use 'auth login' which opens browser AND prompts for key
|
|
215
|
+
execFileSync(destPath, ["auth", "login"], { stdio: "inherit" });
|
|
216
|
+
log("\n[uncompact] Login successful.\n");
|
|
217
|
+
} catch (err) {
|
|
218
|
+
log(`\n[uncompact] Login process exited: ${err.message}\n`);
|
|
219
|
+
log("[uncompact] You can run it manually later: uncompact auth login\n");
|
|
220
|
+
}
|
|
216
221
|
}
|
|
217
222
|
} catch (e) {}
|
|
218
223
|
} catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uncompact",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.5",
|
|
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",
|