cctally 1.4.0 → 1.6.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/CHANGELOG.md +29 -30
- package/bin/cctally +4870 -39
- package/bin/cctally-npm-postinstall.js +26 -0
- package/bin/cctally-update +5 -0
- package/dashboard/static/assets/index-Z6V0XgqK.js +18 -0
- package/dashboard/static/assets/index-ZPC0pk-h.css +1 -0
- package/dashboard/static/dashboard.html +2 -2
- package/package.json +6 -1
- package/dashboard/static/assets/index-BQfozCcN.js +0 -12
- package/dashboard/static/assets/index-ee87BMyX.css +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
// Print a "next step: run cctally setup" hint after `npm install -g cctally`.
|
|
5
|
+
// Mirrors what brew shows via Formula#caveats. Never auto-executes setup —
|
|
6
|
+
// `cctally setup` is interactive (legacy-hook migration prompt) and writes
|
|
7
|
+
// outside this package's surface (~/.claude/settings.json).
|
|
8
|
+
|
|
9
|
+
if (process.env.npm_config_global !== 'true') {
|
|
10
|
+
// Local install (project node_modules) — stay silent.
|
|
11
|
+
process.exit(0);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
if (process.env.CCTALLY_NPM_POSTINSTALL_QUIET === '1') {
|
|
15
|
+
// Escape hatch for CI / fixtures.
|
|
16
|
+
process.exit(0);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
process.stdout.write(
|
|
20
|
+
'\ncctally installed.\n' +
|
|
21
|
+
'\nTo finish setup, run:\n' +
|
|
22
|
+
' cctally setup\n' +
|
|
23
|
+
'\nThis installs additive Claude Code hooks (~/.claude/settings.json)\n' +
|
|
24
|
+
'and bootstraps the local SQLite cache (~/.local/share/cctally/).\n' +
|
|
25
|
+
'\nDetails: https://github.com/omrikais/cctally#installation\n\n'
|
|
26
|
+
);
|