prjct-cli 2.65.0 → 2.67.1

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +2 -5
  3. package/assets/statusline/components/limits.sh +66 -0
  4. package/assets/statusline/default-config.json +5 -1
  5. package/assets/statusline/lib/cache.sh +48 -2
  6. package/assets/statusline/lib/config.sh +10 -4
  7. package/assets/statusline/statusline.sh +1 -1
  8. package/dist/bin/prjct-core.mjs +394 -388
  9. package/dist/bin/prjct.mjs +1 -1
  10. package/dist/daemon/entry.mjs +314 -308
  11. package/dist/mcp/server.mjs +185 -179
  12. package/dist/templates.json +1 -1
  13. package/package.json +1 -1
  14. package/scripts/install.sh +3 -3
  15. package/templates/antigravity/SKILL.md +2 -2
  16. package/templates/crew/agents/implementer.md +1 -1
  17. package/templates/cursor/router.mdc +1 -1
  18. package/templates/global/ANTIGRAVITY.md +1 -1
  19. package/templates/global/CURSOR.mdc +1 -1
  20. package/templates/global/GEMINI.md +1 -1
  21. package/templates/global/STORAGE-SPEC.md +4 -5
  22. package/templates/global/WINDSURF.md +1 -1
  23. package/templates/mcp-config.json +2 -2
  24. package/templates/windsurf/router.md +1 -1
  25. package/templates/agentic/checklist-routing.md +0 -98
  26. package/templates/agentic/orchestrator.md +0 -68
  27. package/templates/agentic/task-fragmentation.md +0 -89
  28. package/templates/agents/AGENTS.md +0 -67
  29. package/templates/checklists/architecture.md +0 -28
  30. package/templates/checklists/code-quality.md +0 -28
  31. package/templates/checklists/data.md +0 -33
  32. package/templates/checklists/documentation.md +0 -33
  33. package/templates/checklists/infrastructure.md +0 -33
  34. package/templates/checklists/performance.md +0 -33
  35. package/templates/checklists/security.md +0 -33
  36. package/templates/checklists/testing.md +0 -33
  37. package/templates/checklists/ux-ui.md +0 -37
  38. package/templates/config/skill-mappings.json +0 -82
  39. package/templates/context/dashboard.md +0 -251
  40. package/templates/context/roadmap.md +0 -221
  41. package/templates/cursor/commands/ship.md +0 -6
  42. package/templates/cursor/commands/task.md +0 -6
  43. package/templates/cursor/p.md +0 -6
  44. package/templates/permissions/default.jsonc +0 -60
  45. package/templates/permissions/permissive.jsonc +0 -49
  46. package/templates/permissions/strict.jsonc +0 -58
  47. package/templates/skills/code-review.md +0 -47
  48. package/templates/skills/debug.md +0 -61
  49. package/templates/skills/refactor.md +0 -47
  50. package/templates/tools/bash.txt +0 -22
  51. package/templates/tools/edit.txt +0 -18
  52. package/templates/tools/glob.txt +0 -19
  53. package/templates/tools/grep.txt +0 -21
  54. package/templates/tools/read.txt +0 -14
  55. package/templates/tools/task.txt +0 -20
  56. package/templates/tools/webfetch.txt +0 -16
  57. package/templates/tools/websearch.txt +0 -18
  58. package/templates/tools/write.txt +0 -17
  59. package/templates/windsurf/workflows/ship.md +0 -6
  60. package/templates/windsurf/workflows/task.md +0 -6
@@ -8,7 +8,7 @@ const args=process.argv.slice(2);
8
8
  const cmd=args.find(a=>!a.startsWith("-"));
9
9
  const skip=new Set(["seed","mcp","install","help","start","setup","context","update","uninstall","daemon","stop","restart","upgrade","hook","hooks","claude","crew","doctor","watch","version","prefs","retro","health","skill-adherence","review-risk","context-save","context-restore","-h","--help","-v","--version","spec","audit-spec","dev","web","serve","__internal-auto-update","__post-upgrade"]);
10
10
  function refuse(m){console.error("prjct: daemon dropped the request ("+m+"). Retry: prjct "+args.join(" "));process.exit(1)}
11
- function isSafeRetry(e){const c=e&&e.code||"",m=e&&e.message||"";return c==="ECONNREFUSED"||c==="ENOENT"||m.includes("ECONNREFUSED")||m.includes("ENOENT")}
11
+ function isSafeRetry(e){const c=e&&e.code||"",m=e&&e.message||"";return c==="ECONNREFUSED"||c==="ENOENT"||c==="EACCES"||c==="EPERM"||m.includes("ECONNREFUSED")||m.includes("ENOENT")||m.includes("EACCES")||m.includes("EPERM")}
12
12
  // Hook fast path: forward the event (stdin) to the warm daemon and write its
13
13
  // response raw. Hooks must never disturb the host session, so ANY failure
14
14
  // (connect error, timeout, closed socket) degrades to the empty no-op {} and