prjct-cli 3.47.0 → 3.48.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 +32 -0
- package/LICENSE +2 -2
- package/NOTICE +25 -0
- package/README.md +6 -2
- package/dist/bin/prjct-core.mjs +528 -527
- package/dist/bin/prjct-hooks.mjs +277 -276
- package/dist/bin/prjct.mjs +2 -2
- package/dist/daemon/entry.mjs +419 -418
- package/dist/mcp/server.mjs +225 -224
- package/dist/templates.json +1 -1
- package/package.json +18 -2
- package/templates/global/STORAGE-SPEC.md +0 -327
- package/templates/planning-methodology-deep.md +0 -195
- package/templates/sdd-canonical-sequence.md +0 -85
- package/templates/spec-reviewer-rubrics/architecture.md +0 -47
- package/templates/spec-reviewer-rubrics/design.md +0 -38
- package/templates/spec-reviewer-rubrics/strategic.md +0 -32
- package/templates/spec-template.md +0 -97
- /package/templates/crew/{CLAUDE-leader-mode.md → leader-mode.md} +0 -0
- /package/templates/crew/{agents → roles}/implementer.md +0 -0
- /package/templates/crew/{agents → roles}/leader.md +0 -0
- /package/templates/crew/{agents → roles}/reviewer.md +0 -0
package/dist/bin/prjct.mjs
CHANGED
|
@@ -31,8 +31,8 @@ if(cmd==="hook"){
|
|
|
31
31
|
if(process.stdin.isTTY){sendHook(sub,"")}else{let d="";process.stdin.on("data",c=>d+=c);process.stdin.on("end",()=>sendHook(sub,d));process.stdin.on("error",()=>sendHook(sub,d));setTimeout(()=>sendHook(sub,d),1000)}
|
|
32
32
|
}else{
|
|
33
33
|
// Cold path (daemon disabled/unreachable): run the hook from the dedicated
|
|
34
|
-
//
|
|
35
|
-
//
|
|
34
|
+
// hooks bundle, NOT the full core. cold-entry emits host JSON then detaches
|
|
35
|
+
// afterEmit into a worker (PRJCT_HOOK_AFTER_EMIT) so Stop does not block.
|
|
36
36
|
import("./prjct-hooks.mjs").catch(()=>{process.stdout.write("{}\n");process.exit(0)})
|
|
37
37
|
}
|
|
38
38
|
}else if(cmd&&!skip.has(cmd)&&process.env.PRJCT_NO_DAEMON!=="1"&&hasEndpoint()){
|