prjct-cli 0.5.1 → 0.7.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 +220 -7
- package/CLAUDE.md +476 -55
- package/README.md +48 -55
- package/bin/prjct +170 -225
- package/core/agentic/command-executor.js +113 -0
- package/core/agentic/context-builder.js +85 -0
- package/core/agentic/prompt-builder.js +86 -0
- package/core/agentic/template-loader.js +104 -0
- package/core/agentic/tool-registry.js +117 -0
- package/core/command-registry.js +597 -0
- package/core/commands.js +2046 -2028
- package/core/domain/agent-generator.js +118 -0
- package/core/domain/analyzer.js +211 -0
- package/core/domain/architect-session.js +300 -0
- package/core/{agents → infrastructure/agents}/claude-agent.js +16 -13
- package/core/{author-detector.js → infrastructure/author-detector.js} +3 -1
- package/core/{capability-installer.js → infrastructure/capability-installer.js} +3 -6
- package/core/{command-installer.js → infrastructure/command-installer.js} +4 -2
- package/core/{config-manager.js → infrastructure/config-manager.js} +4 -4
- package/core/{editors-config.js → infrastructure/editors-config.js} +2 -10
- package/core/{migrator.js → infrastructure/migrator.js} +34 -19
- package/core/{path-manager.js → infrastructure/path-manager.js} +20 -44
- package/core/{session-manager.js → infrastructure/session-manager.js} +45 -105
- package/core/{update-checker.js → infrastructure/update-checker.js} +67 -67
- package/core/{animations-simple.js → utils/animations.js} +3 -23
- package/core/utils/date-helper.js +238 -0
- package/core/utils/file-helper.js +327 -0
- package/core/utils/jsonl-helper.js +206 -0
- package/core/{project-capabilities.js → utils/project-capabilities.js} +21 -22
- package/core/utils/session-helper.js +277 -0
- package/core/{version.js → utils/version.js} +1 -1
- package/package.json +5 -12
- package/templates/agents/AGENTS.md +151 -99
- package/templates/analysis/analyze.md +84 -0
- package/templates/commands/analyze.md +37 -233
- package/templates/commands/bug.md +79 -0
- package/templates/commands/build.md +44 -0
- package/templates/commands/cleanup.md +24 -84
- package/templates/commands/design.md +20 -95
- package/templates/commands/done.md +17 -180
- package/templates/commands/feature.md +113 -0
- package/templates/commands/fix.md +58 -66
- package/templates/commands/git.md +35 -57
- package/templates/commands/help.md +18 -52
- package/templates/commands/idea.md +18 -34
- package/templates/commands/init.md +65 -257
- package/templates/commands/next.md +20 -60
- package/templates/commands/now.md +21 -23
- package/templates/commands/progress.md +40 -73
- package/templates/commands/recap.md +52 -75
- package/templates/commands/roadmap.md +30 -85
- package/templates/commands/ship.md +93 -126
- package/templates/commands/status.md +42 -0
- package/templates/commands/sync.md +19 -205
- package/templates/commands/task.md +19 -79
- package/templates/commands/test.md +25 -71
- package/templates/commands/workflow.md +20 -210
- package/core/agent-generator.js +0 -516
- package/core/analyzer.js +0 -600
- package/core/animations.js +0 -277
- package/core/git-integration.js +0 -401
- package/core/workflow-engine.js +0 -213
- package/core/workflow-prompts.js +0 -192
- package/core/workflow-rules.js +0 -147
- package/scripts/post-install.js +0 -121
- package/scripts/preuninstall.js +0 -94
- package/scripts/verify-installation.sh +0 -158
- package/templates/agents/be.template.md +0 -42
- package/templates/agents/data.template.md +0 -41
- package/templates/agents/devops.template.md +0 -41
- package/templates/agents/fe.template.md +0 -42
- package/templates/agents/mobile.template.md +0 -41
- package/templates/agents/pm.template.md +0 -84
- package/templates/agents/qa.template.md +0 -54
- package/templates/agents/scribe.template.md +0 -95
- package/templates/agents/security.template.md +0 -41
- package/templates/agents/ux.template.md +0 -49
- package/templates/commands/context.md +0 -105
- package/templates/commands/stuck.md +0 -48
- package/templates/examples/natural-language-examples.md +0 -532
- /package/core/{agent-detector.js → infrastructure/agent-detector.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,9 +7,165 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.0] - 2025-10-03
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Philosophy Transformation** - Complete rebrand from PM tool to developer momentum tool
|
|
15
|
+
- **Problem**: "Project management" messaging didn't match target audience (indie hackers, solo builders, small teams)
|
|
16
|
+
- **Solution**: Eliminated ALL "project management" language across entire codebase
|
|
17
|
+
- **Messaging**: "Just Ship. No BS" for creators, not managers
|
|
18
|
+
- **Files Modified**:
|
|
19
|
+
- `CLAUDE.md` - Changed project description from "AI-integrated project management framework" to "developer momentum tool for solo builders, indie hackers, and small teams (2-5 people). Just ship. No BS."
|
|
20
|
+
- `README.md` - Removed "project management overhead" → "meetings or BS overhead"
|
|
21
|
+
- `templates/agents/AGENTS.md` - Complete rewrite (165→143 lines) with anti-PM messaging: "NOT project management. NO sprints, story points, ceremonies, or meetings."
|
|
22
|
+
- `CHANGELOG.md` - Updated historical references
|
|
23
|
+
- **Website** - Transformed all copy to creator-focused messaging:
|
|
24
|
+
- `Hero.tsx`, `Features.tsx` - "PM, Frontend..." → "Coordinator, Frontend..."
|
|
25
|
+
- `ClaudeSuperpowers.tsx` - "PM Agent - Task breakdown & planning" → "Coordinator - Progress tracking & shipping"
|
|
26
|
+
- `Privacy.tsx` - "project management tool" → "developer momentum tool"
|
|
27
|
+
- **Result**: Zero "PM" or "project management" references (except as critique of traditional tools)
|
|
28
|
+
|
|
29
|
+
- **Agent System Redesign** - Renamed PM agent to Coordinator
|
|
30
|
+
- **Problem**: "Project Manager" agent didn't align with "no BS" philosophy
|
|
31
|
+
- **Solution**: Complete agent transformation
|
|
32
|
+
- **Changes**:
|
|
33
|
+
- Renamed `pm.template.md` → `coordinator.template.md` (85→35 lines, 58% reduction)
|
|
34
|
+
- Role: "Project Manager" → "Progress Coordinator"
|
|
35
|
+
- Focus: Task breakdown/planning → Progress tracking & shipping features
|
|
36
|
+
- Updated `core/agent-generator.js` baseAgents: `'pm'` → `'coordinator'`
|
|
37
|
+
- Agent color: Blue → Cyan
|
|
38
|
+
- **Breaking Change**: Existing projects need `/p:sync` to regenerate agents
|
|
39
|
+
- **Philosophy**: "Keep builders aligned on what matters: shipping features, tracking wins, staying focused" + "SHIP features and track progress, not manage people or run meetings"
|
|
40
|
+
|
|
41
|
+
- **Template Optimization** - 46.5% reduction in agent template verbosity
|
|
42
|
+
- **Problem**: Templates filled context window with verbose pre-written content
|
|
43
|
+
- **Solution**: Use instructions + placeholders instead of examples
|
|
44
|
+
- **Results**:
|
|
45
|
+
- Total reduction: 540 → 289 lines (46.5% overall)
|
|
46
|
+
- `fe.template.md`: 43→28 lines (35%)
|
|
47
|
+
- `be.template.md`: 43→28 lines (35%)
|
|
48
|
+
- `ux.template.md`: 50→28 lines (44%)
|
|
49
|
+
- `qa.template.md`: 55→28 lines (49%)
|
|
50
|
+
- `scribe.template.md`: 96→30 lines (69% - biggest reduction!)
|
|
51
|
+
- `coordinator.template.md`: 85→35 lines (58%)
|
|
52
|
+
- `devops.template.md`, `mobile.template.md`, `data.template.md`, `security.template.md`: All reduced to 28 lines
|
|
53
|
+
- **Strategy**: Compressed expertise lists (5→3 items), simplified principles, used placeholders like `[PROJECT_NAME]`, `[DETECTED_STACK]`
|
|
54
|
+
- **Benefit**: Agents load faster, consume fewer tokens, maintain clarity
|
|
55
|
+
|
|
56
|
+
## [0.5.3] - 2025-10-02
|
|
57
|
+
|
|
58
|
+
### Fixed
|
|
59
|
+
|
|
60
|
+
- **Website Build Issues** - Fixed ES module compatibility for browser
|
|
61
|
+
- **Problem**: Command registry using CommonJS `require()` caused runtime errors in browser
|
|
62
|
+
- **Solution**:
|
|
63
|
+
- Created ES module version at `website/src/data/command-registry.ts`
|
|
64
|
+
- Converted `module.exports` to `export default`
|
|
65
|
+
- Replaced `require()` with ES6 `import` in Components.tsx
|
|
66
|
+
- Added proper TypeScript type annotations
|
|
67
|
+
- **Files Modified**:
|
|
68
|
+
- `website/src/data/command-registry.ts` (NEW) - ES module version with TypeScript types
|
|
69
|
+
- `website/src/pages/Commands.tsx` - ES6 import, removed TypeScript `any` types
|
|
70
|
+
- **Result**: Website now loads correctly with dynamic command generation from registry
|
|
71
|
+
|
|
72
|
+
- **Documentation Accuracy** - Updated Getting Started guide with correct installation flow
|
|
73
|
+
- **Problem**: Documentation showed incorrect setup steps (missing npm install and prjct start)
|
|
74
|
+
- **Solution**: Updated to reflect actual installation process:
|
|
75
|
+
1. `npm install -g prjct-cli` - Global installation
|
|
76
|
+
2. `prjct start` - Setup Claude Code integration
|
|
77
|
+
3. `/p:init` - Initialize project
|
|
78
|
+
4. `/p:now` - Start working
|
|
79
|
+
- **Files Modified**:
|
|
80
|
+
- `website/src/pages/Documentation.tsx` - Corrected Getting Started section
|
|
81
|
+
|
|
82
|
+
## [0.5.2] - 2025-10-02
|
|
83
|
+
|
|
84
|
+
### Added
|
|
85
|
+
|
|
86
|
+
- **Command Registry System** - Single source of truth for all prjct commands (`core/command-registry.js`)
|
|
87
|
+
- **Problem**: Commands were dispersed across 4 locations with inconsistencies:
|
|
88
|
+
- `bin/prjct` (15 commands in help)
|
|
89
|
+
- `website/Commands.tsx` (18 commands displayed)
|
|
90
|
+
- `CLAUDE.md` (18 commands documented)
|
|
91
|
+
- `templates/commands/` (21 template files)
|
|
92
|
+
- **Solution**: Created `core/command-registry.js` as centralized registry
|
|
93
|
+
- **Features**:
|
|
94
|
+
- All 25 commands defined in single location with metadata
|
|
95
|
+
- Category system (work, planning, design, quality, progress, help, git, testing, setup)
|
|
96
|
+
- Implementation status tracking (19 implemented, 6 planned)
|
|
97
|
+
- Platform availability (Claude Code vs Terminal)
|
|
98
|
+
- Template file mapping
|
|
99
|
+
- Helper functions for filtering, querying, and statistics
|
|
100
|
+
- **Files Modified**:
|
|
101
|
+
- `core/command-registry.js` (NEW) - 430 lines, complete command metadata
|
|
102
|
+
- `bin/prjct` - Dynamic help generation from registry
|
|
103
|
+
- `website/Commands.tsx` - Auto-generated command categories
|
|
104
|
+
- `CLAUDE.md` - Command list synced with registry
|
|
105
|
+
- `scripts/validate-commands.js` (NEW) - Automated validation tool
|
|
106
|
+
- **Validation**:
|
|
107
|
+
- Registry structure validation (duplicates, invalid categories)
|
|
108
|
+
- Template file consistency check
|
|
109
|
+
- Implementation verification (camelCase method detection)
|
|
110
|
+
- CLI switch case validation
|
|
111
|
+
- Automated validation script with colored output
|
|
112
|
+
- **Benefits**:
|
|
113
|
+
- ✅ Zero inconsistencies - single source of truth
|
|
114
|
+
- ✅ Easy to add new commands - update one file
|
|
115
|
+
- ✅ Automated validation prevents drift
|
|
116
|
+
- ✅ Statistics tracking (25 total, 19 implemented)
|
|
117
|
+
- ✅ Clear roadmap (6 planned features visible)
|
|
118
|
+
- **Usage**: `node scripts/validate-commands.js` to verify consistency
|
|
119
|
+
|
|
120
|
+
- **Complete Workflow System Integration** - Automated task orchestration with AI workflow agents
|
|
121
|
+
- **Features**:
|
|
122
|
+
- **Auto-initialization**: Workflows activate automatically when using `/p:idea "implement [feature]"`
|
|
123
|
+
- **Task Classification**: Automatic detection of workflow type (ui, api, bug, refactor, feature)
|
|
124
|
+
- **Capability Detection**: Detects design system, test framework, docs system
|
|
125
|
+
- **Interactive Prompts**: Asks user to choose tools when capabilities are missing
|
|
126
|
+
- **Step Progression**: Each `/p:done` advances to next workflow step
|
|
127
|
+
- **Agent Assignment**: Each step assigned to appropriate specialist agent
|
|
128
|
+
- **Workflow Status**: New `/p:workflow` command shows progress and remaining steps
|
|
129
|
+
- **Files Modified**:
|
|
130
|
+
- `core/commands.js` - Integrated workflow engine into `idea()`, added `workflow()` command
|
|
131
|
+
- `core/agent-generator.js` - Corrected to use project-specific agents directory
|
|
132
|
+
- **Architecture**:
|
|
133
|
+
- Workflows stored in `~/.prjct-cli/projects/{id}/workflow/state.json`
|
|
134
|
+
- Agents stored in `~/.prjct-cli/projects/{id}/agents/`
|
|
135
|
+
- 5 workflow types with specialized step sequences
|
|
136
|
+
- 10 agent types: pm, ux, fe, be, qa, scribe, security, devops, mobile, data
|
|
137
|
+
- **Usage**:
|
|
138
|
+
1. `p. implement auth system` → Auto-creates workflow
|
|
139
|
+
2. `p. now` → Start first step
|
|
140
|
+
3. `p. done` → Complete step, advance to next
|
|
141
|
+
4. `p. workflow` → Check progress
|
|
142
|
+
- **Result**: Fully automated task orchestration with smart step-by-step guidance
|
|
143
|
+
|
|
144
|
+
- **`/p:sync` Command Implementation** - Sync project state and update workflow agents
|
|
145
|
+
- **Root Cause**: Template existed but method was not implemented in `core/commands.js`
|
|
146
|
+
- **Files Modified**:
|
|
147
|
+
- `core/commands.js` (added `sync()` method with proper global path)
|
|
148
|
+
- `core/agent-generator.js` (corrected to use project-specific agents directory)
|
|
149
|
+
- **Architecture Fix**:
|
|
150
|
+
- Agents are **NOT** for Claude's `~/.claude/agents/` (that was wrong)
|
|
151
|
+
- Agents are **workflow specialists** stored in `~/.prjct-cli/projects/{id}/agents/`
|
|
152
|
+
- Used for task assignment in workflow system
|
|
153
|
+
- Each agent (pm, ux, fe, be, qa, scribe, security, devops, mobile, data) handles specific workflow steps
|
|
154
|
+
- **Features**:
|
|
155
|
+
- Re-analyzes project with `/p:analyze` (silent mode)
|
|
156
|
+
- Generates/updates workflow agents in global project directory
|
|
157
|
+
- Creates base agents: pm, ux, fe, be, qa, scribe
|
|
158
|
+
- Creates conditional agents: security, devops, mobile, data (based on stack)
|
|
159
|
+
- Logs sync action to `memory/context.jsonl`
|
|
160
|
+
- Shows summary and agents path
|
|
161
|
+
- **Usage**: `p. sync` or `/p:sync`
|
|
162
|
+
- **When to Use**: After dependency changes, framework updates, before using workflows
|
|
163
|
+
- **Result**: Workflow agents ready for task assignment in `~/.prjct-cli/projects/{id}/agents/`
|
|
164
|
+
|
|
10
165
|
## [0.5.1] - 2025-10-02
|
|
11
166
|
|
|
12
167
|
### Fixed
|
|
168
|
+
|
|
13
169
|
- **Critical: `prjct start` Command Error** - Fixed "commandInstaller.detectEditors is not a function" error
|
|
14
170
|
- **Root Cause**: v0.5.0 refactored `command-installer.js` to Claude-only architecture but didn't update calling code
|
|
15
171
|
- **Files Modified**: `core/commands.js` (lines 2227-2374)
|
|
@@ -21,9 +177,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
21
177
|
- Simplified `setup()` function with installation status checking
|
|
22
178
|
- Added `--force` flag support for reinstallation
|
|
23
179
|
- **Result**: Both `prjct start` and `prjct setup` now work correctly
|
|
24
|
-
- **Commands Installed**: Successfully installs all 21 /p
|
|
180
|
+
- **Commands Installed**: Successfully installs all 21 /p:\* commands to `~/.claude/commands/p/`
|
|
25
181
|
|
|
26
182
|
### Fixed
|
|
183
|
+
|
|
27
184
|
- **Corrected Claude Subscription Messaging** - Clarified honest pricing throughout
|
|
28
185
|
- Updated `website/src/pages/Changelog.tsx`:
|
|
29
186
|
- Changed "Claude Code is 100% free" → "Works with whatever Claude subscription you have (free tier or Pro)"
|
|
@@ -52,6 +209,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
52
209
|
- Website now compiles without TypeScript errors
|
|
53
210
|
|
|
54
211
|
### Changed
|
|
212
|
+
|
|
55
213
|
- **Website Alignment with p. Trigger** - ALL website components now show p. trigger correctly
|
|
56
214
|
- Updated `website/src/components/Features.tsx`:
|
|
57
215
|
- Changed "p. Trigger" description to show multiple examples
|
|
@@ -86,6 +244,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
86
244
|
- Real-world examples for creators
|
|
87
245
|
|
|
88
246
|
### Added
|
|
247
|
+
|
|
89
248
|
- **p. Trigger System** - Zero memorization interface for prjct context
|
|
90
249
|
- Simple prefix `p.` signals prjct context (e.g., "p. analiza esto")
|
|
91
250
|
- Works in any language: English, Spanish, German, etc.
|
|
@@ -102,6 +261,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
102
261
|
- Works natively in Claude Code and Claude Desktop
|
|
103
262
|
|
|
104
263
|
### Changed
|
|
264
|
+
|
|
105
265
|
- **Natural Language System** - Enhanced with p. trigger and context validation
|
|
106
266
|
- Updated `CLAUDE.md` with complete p. trigger detection logic
|
|
107
267
|
- Added context validation examples and patterns
|
|
@@ -119,7 +279,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
119
279
|
- **Website Alignment** - Updated all components to show p. trigger as primary interface
|
|
120
280
|
- `website/src/components/Hero.tsx`:
|
|
121
281
|
- Updated p. Trigger feature description
|
|
122
|
-
- Changed badge to "Built for Claude Code
|
|
282
|
+
- Changed badge to "Built for Claude Code"
|
|
123
283
|
- Restored Windsurf Extension CTA with scroll-to-section functionality
|
|
124
284
|
- Added Sparkles and ArrowRight animated icons
|
|
125
285
|
- `website/src/components/Features.tsx`:
|
|
@@ -151,6 +311,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
151
311
|
- Maintains page flow and user journey
|
|
152
312
|
|
|
153
313
|
### Fixed
|
|
314
|
+
|
|
154
315
|
- **🐛 Natural Language Context Bug** - Fixed error messages when context is missing
|
|
155
316
|
- Before: "⏺ No hay tarea activa en este momento..." (technical error)
|
|
156
317
|
- After: "✨ You're not working on anything right now! Want to start something?" (conversational)
|
|
@@ -158,6 +319,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
158
319
|
- Claude automatically validates and provides friendly guidance
|
|
159
320
|
|
|
160
321
|
### Technical Implementation
|
|
322
|
+
|
|
161
323
|
- **Zero External Dependencies** - All functionality via CLAUDE.md
|
|
162
324
|
- No SDK required (initially considered but removed)
|
|
163
325
|
- Uses Claude Code's native session (zero API keys)
|
|
@@ -166,6 +328,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
166
328
|
- No additional costs for users
|
|
167
329
|
|
|
168
330
|
### Coming Soon
|
|
331
|
+
|
|
169
332
|
- **Windows Compatibility** - Native Windows support
|
|
170
333
|
- PowerShell and CMD command execution
|
|
171
334
|
- Windows path handling (`%USERPROFILE%\.prjct-cli\`)
|
|
@@ -205,6 +368,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
205
368
|
**prjct-cli is now a developer momentum tool, NOT a project management tool.**
|
|
206
369
|
|
|
207
370
|
**The Philosophy:**
|
|
371
|
+
|
|
208
372
|
- Ship fast, stay focused, no BS
|
|
209
373
|
- For indie hackers and small teams (2-5 devs)
|
|
210
374
|
- No Jira, no ceremonies, no bureaucracy
|
|
@@ -242,6 +406,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
242
406
|
- Honest compatibility (only claim what works)
|
|
243
407
|
|
|
244
408
|
**Migration Path:**
|
|
409
|
+
|
|
245
410
|
- **Using Claude?** → `npm update -g prjct-cli` (you're all set!)
|
|
246
411
|
- **Using Cursor/Windsurf/Codex?** → Switch to Claude Code (free) or stay on v0.4.10
|
|
247
412
|
- **See [MIGRATION.md](MIGRATION.md) for complete upgrade guide**
|
|
@@ -249,6 +414,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
249
414
|
**This isn't a limitation - it's a strategic decision that makes prjct-cli better for developers who ship fast.**
|
|
250
415
|
|
|
251
416
|
### Added
|
|
417
|
+
|
|
252
418
|
- **Dynamic AI Agent System** - Automatic generation of specialized AI agents based on project stack
|
|
253
419
|
- **GitIntegration Module** (`core/git-integration.js`)
|
|
254
420
|
- Repository validation and state tracking
|
|
@@ -310,6 +476,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
310
476
|
- Comprehensive sync reporting and logging
|
|
311
477
|
|
|
312
478
|
### Changed
|
|
479
|
+
|
|
313
480
|
- **Agent Architecture** - 100% Claude-focused (Claude Code + Claude Desktop)
|
|
314
481
|
- Agents stored in `~/.claude/agents/` directory
|
|
315
482
|
- Markdown format with YAML frontmatter (Claude native)
|
|
@@ -318,6 +485,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
318
485
|
- Limited expertise per agent (focused specialization)
|
|
319
486
|
|
|
320
487
|
### Technical Details
|
|
488
|
+
|
|
321
489
|
- **10 Agent Templates** in `templates/agents/`
|
|
322
490
|
- 6 base templates (always generated)
|
|
323
491
|
- 4 conditional templates (stack-dependent)
|
|
@@ -335,6 +503,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
335
503
|
## [0.4.10] - 2025-10-02
|
|
336
504
|
|
|
337
505
|
### Changed
|
|
506
|
+
|
|
338
507
|
- **Agent Workflow Initialization** - `prjct init` now properly initializes AI agent workflows
|
|
339
508
|
- When existing codebase detected, prompts user to run `/p:analyze`
|
|
340
509
|
- Enables AI agents to follow complete analysis workflow
|
|
@@ -342,6 +511,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
342
511
|
- Replaced silent programmatic analysis with workflow-driven approach
|
|
343
512
|
|
|
344
513
|
### Fixed
|
|
514
|
+
|
|
345
515
|
- **Analysis Workflow** - AI agents now receive proper instructions during project initialization
|
|
346
516
|
- Removed silent `analyze()` call that bypassed agent workflows
|
|
347
517
|
- Agent workflows now activate when user runs `/p:analyze` command
|
|
@@ -350,6 +520,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
350
520
|
## [0.4.9] - 2025-10-02
|
|
351
521
|
|
|
352
522
|
### Added
|
|
523
|
+
|
|
353
524
|
- **Editor Uninstallation** - `prjct start` now allows removing editors
|
|
354
525
|
- Interactive checkbox selection shows currently installed editors
|
|
355
526
|
- Uncheck an editor to remove all prjct commands from it
|
|
@@ -357,12 +528,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
357
528
|
- User has full control over which editors have prjct commands
|
|
358
529
|
|
|
359
530
|
### Changed
|
|
531
|
+
|
|
360
532
|
- **`prjct start` Never Blocks** - Removed "already set up" error
|
|
361
533
|
- Can run `prjct start` anytime to reconfigure editors
|
|
362
534
|
- Shows beautiful ASCII art every time
|
|
363
535
|
- User decides which editors to keep/remove
|
|
364
536
|
|
|
365
537
|
### Fixed
|
|
538
|
+
|
|
366
539
|
- **Interactive Prompts** - Better UX for editor selection
|
|
367
540
|
- Pre-selects currently installed editors
|
|
368
541
|
- Clear message: "Select AI editors (uncheck to remove)"
|
|
@@ -371,6 +544,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
371
544
|
## [0.4.8] - 2025-10-02
|
|
372
545
|
|
|
373
546
|
### Added
|
|
547
|
+
|
|
374
548
|
- **Intelligent Project Initialization** - `prjct init` now works seamlessly in all scenarios
|
|
375
549
|
- Preserves existing project IDs when re-initializing
|
|
376
550
|
- Automatically merges local data with global structure
|
|
@@ -380,6 +554,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
380
554
|
- Multiple developers can initialize the same project without conflicts
|
|
381
555
|
|
|
382
556
|
### Fixed
|
|
557
|
+
|
|
383
558
|
- **Auto-Migration Removed** - Disabled intrusive automatic migration
|
|
384
559
|
- Migration no longer runs automatically during `prjct init` or any command
|
|
385
560
|
- Users can run `prjct migrate-all` manually if needed
|
|
@@ -387,6 +562,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
387
562
|
- Cleaner, non-intrusive installation and update experience
|
|
388
563
|
|
|
389
564
|
### Changed
|
|
565
|
+
|
|
390
566
|
- **`prjct init` Never Blocks** - Removed "already initialized" error
|
|
391
567
|
- Always allows re-initialization with intelligent data fusion
|
|
392
568
|
- Global architecture enables multi-developer workflows
|
|
@@ -394,8 +570,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
394
570
|
## [0.4.7] - 2025-10-02
|
|
395
571
|
|
|
396
572
|
### Fixed
|
|
573
|
+
|
|
397
574
|
- **`prjct start` ASCII Art** - Restored beautiful Catppuccin-inspired colors
|
|
398
|
-
- Original design from install.sh with (ノ◕ヮ◕)
|
|
575
|
+
- Original design from install.sh with (ノ◕ヮ◕)ノ\*:・゚✧
|
|
399
576
|
- Vibrant magenta, cyan, and blue gradient for logo
|
|
400
577
|
- Clean, professional look with value propositions
|
|
401
578
|
- Better visual hierarchy and branding
|
|
@@ -406,6 +583,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
406
583
|
## [0.4.6] - 2025-10-02
|
|
407
584
|
|
|
408
585
|
### Added
|
|
586
|
+
|
|
409
587
|
- **`prjct start` Command** - First-time setup with interactive editor selection
|
|
410
588
|
- Beautiful ASCII art welcome message
|
|
411
589
|
- Auto-detects installed AI editors (Claude Code, Cursor, Windsurf)
|
|
@@ -420,6 +598,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
420
598
|
- Seamless workflow: `cd project/ && prjct now "task"` just works
|
|
421
599
|
|
|
422
600
|
### Changed
|
|
601
|
+
|
|
423
602
|
- **Simplified Installation Flow**
|
|
424
603
|
- `npm install -g prjct-cli` → Shows welcome message, tells user to run `prjct start`
|
|
425
604
|
- `prjct start` → Interactive setup (first-time only)
|
|
@@ -434,6 +613,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
434
613
|
- Cleaner, more predictable behavior
|
|
435
614
|
|
|
436
615
|
### Fixed
|
|
616
|
+
|
|
437
617
|
- **Critical Bug Fixes** - All commands now enforce global architecture correctly
|
|
438
618
|
- `/p:design` now creates designs in global `analysis/designs/` instead of local `.prjct/designs/`
|
|
439
619
|
- `/p:cleanup` now operates on global project data instead of local `.prjct/`
|
|
@@ -444,6 +624,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
444
624
|
- **Added 'Apps' directory** to migration scanner for better project detection
|
|
445
625
|
|
|
446
626
|
### Technical Details
|
|
627
|
+
|
|
447
628
|
- **New Commands**:
|
|
448
629
|
- `start()` - First-time setup with ASCII art and interactive editor selection
|
|
449
630
|
- `setup()` - Renamed from `install()` for clarity
|
|
@@ -459,6 +640,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
459
640
|
## [0.4.4] - 2025-10-02
|
|
460
641
|
|
|
461
642
|
### Added
|
|
643
|
+
|
|
462
644
|
- **Automatic Editor Command Updates** - Commands auto-update when npm package is updated
|
|
463
645
|
- New `core/editors-config.js` tracks which editors user has installed commands to
|
|
464
646
|
- Stores editor selections in `~/.prjct-cli/config/installed-editors.json`
|
|
@@ -487,12 +669,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
487
669
|
- Uses existing battle-tested `core/migrator.js` system
|
|
488
670
|
|
|
489
671
|
### Changed
|
|
672
|
+
|
|
490
673
|
- **Improved Command Tracking** - Always track editor installations for better update management
|
|
491
674
|
- Modified `installToSelected()` to always save editor config (removed `!forceUpdate` restriction)
|
|
492
675
|
- Ensures tracking happens even during force updates
|
|
493
676
|
- Enables reliable auto-updates across all configured editors
|
|
494
677
|
|
|
495
678
|
### Fixed
|
|
679
|
+
|
|
496
680
|
- **Global Architecture Enforcement** - All commands now enforce global architecture correctly
|
|
497
681
|
- `/p:design` now creates designs in global `analysis/designs/` instead of local `.prjct/designs/`
|
|
498
682
|
- `/p:cleanup` now operates on global project data instead of local `.prjct/`
|
|
@@ -503,6 +687,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
503
687
|
- **Added 'Apps' directory** to migration scanner for better project detection
|
|
504
688
|
|
|
505
689
|
### Technical Details
|
|
690
|
+
|
|
506
691
|
- **Post-Install Hook**: Runs after `npm install -g prjct-cli` or `npm update -g prjct-cli`
|
|
507
692
|
- First install: Auto-detects editors and installs commands
|
|
508
693
|
- Updates: Checks version change and auto-updates commands in tracked editors
|
|
@@ -529,6 +714,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
529
714
|
## [0.4.3] - 2025-10-02
|
|
530
715
|
|
|
531
716
|
### Added
|
|
717
|
+
|
|
532
718
|
- **Automatic Editor Command Updates** - Commands auto-update when npm package is updated
|
|
533
719
|
- New `core/editors-config.js` tracks which editors user has installed commands to
|
|
534
720
|
- Stores editor selections in `~/.prjct-cli/config/installed-editors.json`
|
|
@@ -556,6 +742,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
556
742
|
- Free hosting for public repositories with automatic authentication
|
|
557
743
|
|
|
558
744
|
### Changed
|
|
745
|
+
|
|
559
746
|
- **Installation Documentation** - Updated README with dual installation options
|
|
560
747
|
- Primary: npm registry (recommended for most users)
|
|
561
748
|
- Alternative: GitHub Packages (for advanced users or npm fallback)
|
|
@@ -567,6 +754,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
567
754
|
- Improved error handling and reporting
|
|
568
755
|
|
|
569
756
|
### Technical Details
|
|
757
|
+
|
|
570
758
|
- **Editor Tracking**: Configuration saved after all successful command installations
|
|
571
759
|
- **Post-Install Hook**:
|
|
572
760
|
- Runs only for global installations, skips for local/dev installs
|
|
@@ -584,6 +772,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
584
772
|
## [0.4.2] - 2025-10-02
|
|
585
773
|
|
|
586
774
|
### Fixed
|
|
775
|
+
|
|
587
776
|
- **Analyzer Compatibility** - Fixed ENOENT error when running `/p:init` in non-prjct projects
|
|
588
777
|
- Added validation to check if `bin/prjct` exists before reading
|
|
589
778
|
- Analyzer now works correctly in any project type (React, Vue, etc.)
|
|
@@ -598,6 +787,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
598
787
|
## [0.4.1] - 2025-10-01
|
|
599
788
|
|
|
600
789
|
### Added
|
|
790
|
+
|
|
601
791
|
- **Automatic Update Detection** - Built-in update checker that notifies users of new versions
|
|
602
792
|
- Checks npm registry every 24 hours for new versions
|
|
603
793
|
- Non-blocking background check during command execution
|
|
@@ -606,13 +796,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
606
796
|
- Respects 24-hour cache to minimize npm registry requests
|
|
607
797
|
|
|
608
798
|
- **Automated npm Publication** - GitHub Actions workflow for automatic npm publishing
|
|
609
|
-
- Triggered on version tags (v
|
|
799
|
+
- Triggered on version tags (v\*)
|
|
610
800
|
- Automatic version verification against package.json
|
|
611
801
|
- Provenance publishing with npm attestation
|
|
612
802
|
- Post-publication verification
|
|
613
803
|
- Publication summary in GitHub Actions
|
|
614
804
|
|
|
615
805
|
### Changed
|
|
806
|
+
|
|
616
807
|
- **Installation Method** - npm is now the primary and recommended installation method
|
|
617
808
|
- Simplified to single installation method: `npm install -g prjct-cli`
|
|
618
809
|
- Removed Homebrew and Bun installation scripts
|
|
@@ -620,6 +811,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
620
811
|
- Reduced package size: 104.6 KB (71 files)
|
|
621
812
|
|
|
622
813
|
### Fixed
|
|
814
|
+
|
|
623
815
|
- **Package Structure** - Improved npm package configuration
|
|
624
816
|
- Added `files` field to control package contents
|
|
625
817
|
- Created `.npmignore` for development file exclusion
|
|
@@ -627,6 +819,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
627
819
|
- Fixed CI/CD tests to verify CLI functionality instead of individual modules
|
|
628
820
|
|
|
629
821
|
### Technical Details
|
|
822
|
+
|
|
630
823
|
- **Update Checker**: `core/update-checker.js` with semantic version comparison
|
|
631
824
|
- **Cache Management**: Update checks cached for 24 hours in `~/.prjct-cli/config/update-cache.json`
|
|
632
825
|
- **Architecture**: Clean separation between npm installation (`/opt/homebrew/lib/node_modules/prjct-cli/`) and user data (`~/.prjct-cli/`)
|
|
@@ -635,6 +828,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
635
828
|
## [0.4.0] - 2025-10-01
|
|
636
829
|
|
|
637
830
|
### Added
|
|
831
|
+
|
|
638
832
|
- **Interactive Workflow System** - Intelligent agent workflows with user-guided capability installation
|
|
639
833
|
- **Adaptive Workflows**: Workflows detect missing capabilities and prompt user for decisions
|
|
640
834
|
- **Smart Recommendations**: Stack-aware tool suggestions (React → Vitest, Vue → Vitest, Angular → Jest)
|
|
@@ -657,6 +851,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
657
851
|
- Enhanced `idea()`: Auto-initializes workflows for actionable tasks
|
|
658
852
|
|
|
659
853
|
### Changed
|
|
854
|
+
|
|
660
855
|
- **Workflow Behavior**: Transformed from auto-skip to interactive prompting
|
|
661
856
|
- Before: Missing capability → auto-skip step
|
|
662
857
|
- After: Missing capability → prompt user → track installation → continue
|
|
@@ -664,6 +859,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
664
859
|
- **Installation Visibility**: Tool installations appear as first-class workflow tasks
|
|
665
860
|
|
|
666
861
|
### Technical Details
|
|
862
|
+
|
|
667
863
|
- **Stack Detection**: Identifies React/Vue/Angular, TypeScript, bundler (Vite/Webpack/esbuild)
|
|
668
864
|
- **Tool Recommendations**:
|
|
669
865
|
- React + TS → Vitest + Testing Library
|
|
@@ -678,6 +874,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
678
874
|
## [0.3.2] - 2025-10-01
|
|
679
875
|
|
|
680
876
|
### Fixed
|
|
877
|
+
|
|
681
878
|
- **Interactive Installation Compatibility** - Fixed interactive editor selection failing due to inquirer ESM compatibility issues
|
|
682
879
|
- Replaced inquirer v12 with prompts v2.4.2 for better CommonJS compatibility
|
|
683
880
|
- inquirer v12 required complex ESM dynamic imports causing "prompt is not a function" errors
|
|
@@ -690,6 +887,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
690
887
|
## [0.3.1] - 2025-10-01
|
|
691
888
|
|
|
692
889
|
### Fixed
|
|
890
|
+
|
|
693
891
|
- **Installation Path Resolution Error** - Fixed "setup.sh: No such file or directory" error during installation (#11)
|
|
694
892
|
- Corrected path resolution in installation scripts (docs/install.sh, scripts/install.sh, scripts/setup.sh)
|
|
695
893
|
- Added verification tests in `tests/verify-install-paths.sh`
|
|
@@ -699,6 +897,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
699
897
|
## [0.3.0] - 2025-09-30
|
|
700
898
|
|
|
701
899
|
### Added
|
|
900
|
+
|
|
702
901
|
- **Intelligent Codebase Analysis & Sync** - Auto-detect implemented features and sync project state
|
|
703
902
|
- `/p:analyze` command to analyze codebase and detect implemented commands/features
|
|
704
903
|
- `/p:analyze --sync` to automatically update `.prjct/` files with real implementation state
|
|
@@ -724,7 +923,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
724
923
|
- Optimizes installation by avoiding unnecessary editor installations
|
|
725
924
|
|
|
726
925
|
### Changed
|
|
727
|
-
|
|
926
|
+
|
|
927
|
+
- **Updated branding** - New header design with kaomoji (ノ◕ヮ◕)ノ\*:・゚✧
|
|
728
928
|
- Refreshed README.md header with fun, friendly design
|
|
729
929
|
- Updated installer (scripts/install.sh) to match new branding
|
|
730
930
|
- Consistent visual identity across documentation and installation experience
|
|
@@ -732,6 +932,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
732
932
|
## [0.2.1] - 2025-09-30
|
|
733
933
|
|
|
734
934
|
### Added
|
|
935
|
+
|
|
735
936
|
- **Multi-Editor Command Installation** - Automatic slash command deployment across AI editors
|
|
736
937
|
- `prjct install` command to install/update commands in all detected editors
|
|
737
938
|
- Automatic detection of Claude Code, Cursor AI, and Codeium installations
|
|
@@ -764,6 +965,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
764
965
|
- Preserves 100% of data during migration (files and directories)
|
|
765
966
|
|
|
766
967
|
### Changed
|
|
968
|
+
|
|
767
969
|
- **Multi-Editor Support**
|
|
768
970
|
- Updated command templates to use global architecture paths
|
|
769
971
|
- Modified `prjct init` to automatically detect and install commands
|
|
@@ -796,6 +998,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
796
998
|
- Enhanced init command with automatic editor installation
|
|
797
999
|
|
|
798
1000
|
### Fixed
|
|
1001
|
+
|
|
799
1002
|
- Added missing `getGlobalBasePath()` method to path-manager.js
|
|
800
1003
|
- Improved error handling in migration system
|
|
801
1004
|
- Fixed paths in GitHub Actions workflow after reorganization
|
|
@@ -829,6 +1032,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
829
1032
|
- Automatic detection via GitHub CLI or git config
|
|
830
1033
|
|
|
831
1034
|
### Added
|
|
1035
|
+
|
|
832
1036
|
- **Global Data Storage System**
|
|
833
1037
|
- Project data stored in `~/.prjct-cli/projects/[hash-id]/`
|
|
834
1038
|
- Prevents bundle size inflation and accidental commits to git
|
|
@@ -877,6 +1081,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
877
1081
|
- Auto-accept mode when running through pipe (curl)
|
|
878
1082
|
|
|
879
1083
|
### Changed
|
|
1084
|
+
|
|
880
1085
|
- **Data Location**: Moved from `.prjct/` to `~/.prjct-cli/projects/[id]/`
|
|
881
1086
|
- **Memory Logs**: Now include `author` field in all entries
|
|
882
1087
|
- **File Structure**: Organized into layers (core, progress, planning, analysis, memory)
|
|
@@ -884,13 +1089,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
884
1089
|
- **All Commands**: Updated to use global paths and track authorship
|
|
885
1090
|
|
|
886
1091
|
### Removed
|
|
1092
|
+
|
|
887
1093
|
- Local `.prjct/` directory usage (replaced with global storage)
|
|
888
1094
|
- Legacy flat file structure (replaced with layered architecture)
|
|
889
1095
|
|
|
890
1096
|
### Migration Guide
|
|
1097
|
+
|
|
891
1098
|
See [MIGRATION.md](MIGRATION.md) for detailed migration instructions.
|
|
892
1099
|
|
|
893
1100
|
**Quick Migration**:
|
|
1101
|
+
|
|
894
1102
|
```bash
|
|
895
1103
|
# Projects will auto-detect migration need
|
|
896
1104
|
# Run init to trigger migration
|
|
@@ -903,12 +1111,14 @@ See [MIGRATION.md](MIGRATION.md) for detailed migration instructions.
|
|
|
903
1111
|
### Breaking Change Impact
|
|
904
1112
|
|
|
905
1113
|
**For Individuals**:
|
|
1114
|
+
|
|
906
1115
|
- ✅ One-time migration required (automatic, zero data loss)
|
|
907
1116
|
- ✅ Cleaner repositories (no `.prjct/` bloat)
|
|
908
1117
|
- ✅ No accidental commits of personal work logs
|
|
909
1118
|
- ✅ Better privacy for your productivity tracking
|
|
910
1119
|
|
|
911
1120
|
**For Teams**:
|
|
1121
|
+
|
|
912
1122
|
- ✅ Share `.prjct/prjct.config.json` for coordination
|
|
913
1123
|
- ✅ Each member tracks privately with author info
|
|
914
1124
|
- ✅ No exposure of individual work patterns
|
|
@@ -916,22 +1126,25 @@ See [MIGRATION.md](MIGRATION.md) for detailed migration instructions.
|
|
|
916
1126
|
- ✅ Perfect for open source, remote teams, consulting
|
|
917
1127
|
|
|
918
1128
|
**For Projects**:
|
|
1129
|
+
|
|
919
1130
|
- ✅ Git Repositories: `.prjct/` safely removed after migration
|
|
920
1131
|
- ✅ CI/CD Pipelines: No changes needed - data fully external
|
|
921
1132
|
- ✅ Bundle Size: Zero impact from prjct tracking
|
|
922
1133
|
- ✅ Collaboration: Non-intrusive team workflow ready
|
|
923
1134
|
|
|
924
1135
|
### Fixed
|
|
1136
|
+
|
|
925
1137
|
- Arithmetic operation syntax error in command counting (from previous unreleased)
|
|
926
1138
|
- Version detection for existing installations (from previous unreleased)
|
|
927
1139
|
|
|
928
1140
|
## [0.1.0] - 2024-01-XX
|
|
929
1141
|
|
|
930
1142
|
### Added
|
|
1143
|
+
|
|
931
1144
|
- Initial release of prjct-cli
|
|
932
|
-
- AI-integrated
|
|
1145
|
+
- AI-integrated developer momentum tool
|
|
933
1146
|
- Support for Claude Code, OpenAI Codex, and Terminal
|
|
934
1147
|
- Core commands: init, now, done, ship, recap, etc.
|
|
935
1148
|
- MCP integration for AI assistants
|
|
936
1149
|
- Automatic environment detection
|
|
937
|
-
- Project structure in `.prjct/` directory
|
|
1150
|
+
- Project structure in `.prjct/` directory
|