prjct-cli 3.87.0 → 3.88.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 +5 -0
- package/bin/prjct +9 -2
- package/dist/bin/prjct-core.mjs +489 -489
- package/dist/bin/prjct-hooks.mjs +261 -261
- package/dist/daemon/entry.mjs +445 -445
- package/dist/mcp/server.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/bin/prjct
CHANGED
|
@@ -194,8 +194,15 @@ run_with_node() {
|
|
|
194
194
|
|
|
195
195
|
# Main execution
|
|
196
196
|
main() {
|
|
197
|
-
#
|
|
198
|
-
ensure_setup
|
|
197
|
+
# Hooks fire per prompt / tool call / turn inside Claude Code — the hot
|
|
198
|
+
# path must not pay ensure_setup's stats/cp/sed on every event. The .cjs
|
|
199
|
+
# bin already skips setup for `hook` (bin/prjct.cjs setupSkipCommands);
|
|
200
|
+
# this keeps the POSIX shim consistent. Self-heal still runs on every
|
|
201
|
+
# non-hook invocation, so a stale statusline/skill gets repaired at most
|
|
202
|
+
# one manual command later.
|
|
203
|
+
if [ "$1" != "hook" ]; then
|
|
204
|
+
ensure_setup
|
|
205
|
+
fi
|
|
199
206
|
|
|
200
207
|
# Prefer bun if available (faster, native TS support); otherwise fall back to
|
|
201
208
|
# node. We deliberately do NOT auto-install bun: fetching an unpinned
|