cozempic 1.2.4 → 1.2.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/install.js +6 -0
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -31,6 +31,12 @@ if (!alreadyInstalled) {
|
|
|
31
31
|
console.log("\ncozempic could not be auto-installed. Run manually:\n pip install cozempic\n");
|
|
32
32
|
process.exit(0);
|
|
33
33
|
}
|
|
34
|
+
|
|
35
|
+
// Ping install counter on first install
|
|
36
|
+
try {
|
|
37
|
+
const https = require("https");
|
|
38
|
+
https.get("https://api.counterapi.dev/v1/cozempic/installs/up", { headers: { "User-Agent": "cozempic-npm" } }, () => {}).on("error", () => {});
|
|
39
|
+
} catch {}
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
// ── 2. Wire global SessionStart hook in ~/.claude/settings.json ──────────────
|