prjct-cli 1.47.1 → 1.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/bin/prjct +8 -27
  3. package/dist/bin/prjct-core.mjs +537 -754
  4. package/dist/cli/jira.mjs +13 -13
  5. package/dist/cli/linear.mjs +12 -12
  6. package/dist/daemon/entry.mjs +505 -722
  7. package/dist/templates.json +1 -1
  8. package/package.json +1 -1
  9. package/templates/antigravity/SKILL.md +12 -31
  10. package/templates/codex/SKILL.md +7 -23
  11. package/templates/cursor/commands/bug.md +2 -4
  12. package/templates/cursor/commands/done.md +2 -2
  13. package/templates/cursor/commands/pause.md +2 -2
  14. package/templates/cursor/commands/resume.md +2 -2
  15. package/templates/cursor/commands/ship.md +3 -5
  16. package/templates/cursor/commands/sync.md +2 -2
  17. package/templates/cursor/commands/task.md +2 -4
  18. package/templates/cursor/p.md +2 -25
  19. package/templates/cursor/router.mdc +2 -21
  20. package/templates/global/ANTIGRAVITY.md +7 -8
  21. package/templates/global/CURSOR.mdc +7 -6
  22. package/templates/global/GEMINI.md +7 -8
  23. package/templates/global/WINDSURF.md +7 -8
  24. package/templates/windsurf/router.md +2 -21
  25. package/templates/windsurf/workflows/bug.md +2 -4
  26. package/templates/windsurf/workflows/done.md +2 -2
  27. package/templates/windsurf/workflows/pause.md +4 -2
  28. package/templates/windsurf/workflows/resume.md +2 -2
  29. package/templates/windsurf/workflows/ship.md +2 -4
  30. package/templates/windsurf/workflows/sync.md +2 -2
  31. package/templates/windsurf/workflows/task.md +2 -4
  32. package/templates/agentic/agent-routing.md +0 -45
  33. package/templates/agentic/agents/uxui.md +0 -63
  34. package/templates/baseline/anti-patterns/nextjs.json +0 -18
  35. package/templates/baseline/anti-patterns/react.json +0 -18
  36. package/templates/baseline/anti-patterns/typescript.json +0 -18
  37. package/templates/baseline/patterns/nextjs.json +0 -18
  38. package/templates/baseline/patterns/react.json +0 -18
  39. package/templates/baseline/patterns/typescript.json +0 -18
  40. package/templates/commands/analyze.md +0 -11
  41. package/templates/commands/auth.md +0 -15
  42. package/templates/commands/bug.md +0 -28
  43. package/templates/commands/cleanup.md +0 -11
  44. package/templates/commands/dash.md +0 -16
  45. package/templates/commands/design.md +0 -11
  46. package/templates/commands/done.md +0 -46
  47. package/templates/commands/enrich.md +0 -20
  48. package/templates/commands/git.md +0 -17
  49. package/templates/commands/history.md +0 -13
  50. package/templates/commands/idea.md +0 -13
  51. package/templates/commands/impact.md +0 -13
  52. package/templates/commands/init.md +0 -11
  53. package/templates/commands/jira.md +0 -94
  54. package/templates/commands/learnings.md +0 -11
  55. package/templates/commands/linear.md +0 -88
  56. package/templates/commands/merge.md +0 -25
  57. package/templates/commands/next.md +0 -12
  58. package/templates/commands/p.md +0 -62
  59. package/templates/commands/p.toml +0 -37
  60. package/templates/commands/pause.md +0 -16
  61. package/templates/commands/plan.md +0 -13
  62. package/templates/commands/prd.md +0 -21
  63. package/templates/commands/resume.md +0 -12
  64. package/templates/commands/review.md +0 -20
  65. package/templates/commands/serve.md +0 -11
  66. package/templates/commands/sessions.md +0 -13
  67. package/templates/commands/setup.md +0 -11
  68. package/templates/commands/ship.md +0 -46
  69. package/templates/commands/skill.md +0 -13
  70. package/templates/commands/spec.md +0 -20
  71. package/templates/commands/status.md +0 -11
  72. package/templates/commands/sync.md +0 -23
  73. package/templates/commands/task.md +0 -69
  74. package/templates/commands/test.md +0 -22
  75. package/templates/commands/update.md +0 -11
  76. package/templates/commands/verify.md +0 -11
  77. package/templates/commands/workflow.md +0 -69
  78. package/templates/global/CLAUDE.md +0 -20
  79. package/templates/global/modules/CLAUDE-commands.md +0 -1
  80. package/templates/global/modules/CLAUDE-core.md +0 -16
  81. package/templates/global/modules/CLAUDE-git.md +0 -1
  82. package/templates/global/modules/CLAUDE-intelligence.md +0 -1
  83. package/templates/global/modules/CLAUDE-storage.md +0 -1
  84. package/templates/global/modules/module-config.json +0 -12
  85. package/templates/subagents/agent-base.md +0 -21
  86. package/templates/subagents/domain/backend.md +0 -109
  87. package/templates/subagents/domain/database.md +0 -121
  88. package/templates/subagents/domain/devops.md +0 -152
  89. package/templates/subagents/domain/frontend.md +0 -103
  90. package/templates/subagents/domain/testing.md +0 -169
  91. package/templates/subagents/pm-expert.md +0 -366
  92. package/templates/subagents/workflow/chief-architect.md +0 -653
  93. package/templates/subagents/workflow/prjct-planner.md +0 -120
  94. package/templates/subagents/workflow/prjct-shipper.md +0 -175
  95. package/templates/subagents/workflow/prjct-workflow.md +0 -82
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.48.0] - 2026-02-27
4
+
5
+ ### Features
6
+
7
+ - CLI↔Web bidirectional sync (#226)
8
+
9
+
10
+ ## [1.47.4] - 2026-02-26
11
+
12
+ ### Refactoring
13
+
14
+ - remove static context generation system (#225)
15
+
16
+
17
+ ## [1.47.3] - 2026-02-26
18
+
19
+ ### Added
20
+ - current work
21
+
22
+ ## [1.47.2] - 2026-02-23
23
+
24
+ ### Added
25
+ - kill static context generation
26
+
3
27
  ## [1.47.1] - 2026-02-21
4
28
 
5
29
  ### Refactoring
package/bin/prjct CHANGED
@@ -43,36 +43,17 @@ SCRIPT_PATH="$(resolve_symlink "$0")"
43
43
  SCRIPT_DIR="$(dirname "$SCRIPT_PATH")"
44
44
  ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
45
45
 
46
- # CRITICAL: Ensure p.md is installed (self-healing)
47
- # This runs EVERY time prjct is called, ensuring setup even if postinstall failed
46
+ # Ensure statusline and basic config (self-healing)
47
+ # Router (p.md) is deprecated skills handle workflows natively
48
48
  ensure_setup() {
49
- CLAUDE_COMMANDS="$HOME/.claude/commands"
50
- PMD_DEST="$CLAUDE_COMMANDS/p.md"
51
-
52
- # Create dir if needed
53
- if [ ! -d "$CLAUDE_COMMANDS" ]; then
54
- mkdir -p "$CLAUDE_COMMANDS" 2>/dev/null
55
- fi
56
-
57
- # Try source template first (dev mode), then extract from bundle (production)
58
- PMD_SRC="$ROOT_DIR/templates/commands/p.md"
59
- BUNDLE="$ROOT_DIR/dist/templates.json"
60
-
61
- if [ -f "$PMD_SRC" ]; then
62
- # Dev mode: copy from source templates
63
- if [ ! -f "$PMD_DEST" ] || [ "$PMD_SRC" -nt "$PMD_DEST" ]; then
64
- cp "$PMD_SRC" "$PMD_DEST" 2>/dev/null
49
+ # Clean up legacy routers if they exist (deprecated — skills are native)
50
+ for LEGACY_ROUTER in "$HOME/.claude/commands/p.md" "$HOME/.gemini/commands/p.toml"; do
51
+ if [ -f "$LEGACY_ROUTER" ]; then
52
+ rm -f "$LEGACY_ROUTER" 2>/dev/null
65
53
  fi
66
- elif [ -f "$BUNDLE" ] && [ ! -f "$PMD_DEST" ]; then
67
- # Production: extract from bundle using node
68
- node -e "
69
- const b=JSON.parse(require('fs').readFileSync('$BUNDLE','utf8'));
70
- const c=b['commands/p.md'];
71
- if(c)require('fs').writeFileSync('$PMD_DEST',c);
72
- " 2>/dev/null
73
- fi
54
+ done
74
55
 
75
- # Also ensure statusline (best effort)
56
+ # Ensure statusline (best effort)
76
57
  STATUSLINE_SRC="$ROOT_DIR/assets/statusline/statusline.sh"
77
58
  STATUSLINE_DIR="$HOME/.prjct-cli/statusline"
78
59
  STATUSLINE_DEST="$STATUSLINE_DIR/statusline.sh"