@agentic15.com/agentic15-claude-zen 2.0.9 โ†’ 3.0.3

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 CHANGED
@@ -7,6 +7,192 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  Copyright 2024-2025 agentic15.com
9
9
 
10
+ ## [3.0.3] - 2025-12-25
11
+
12
+ ### Summary
13
+ Critical bug fix for interactive requirements mode.
14
+
15
+ ### Fixed
16
+ - Fixed interactive mode not detecting Ctrl+D/Ctrl+Z - removed `terminal: false` from readline configuration to properly detect EOF signals in terminal environments
17
+
18
+ ## [3.0.2] - 2025-12-25
19
+
20
+ ### Summary
21
+ Publishing update - no code changes from v3.0.1.
22
+
23
+ This release publishes the interactive requirements mode to npm registry.
24
+
25
+ ## [3.0.1] - 2025-12-25
26
+
27
+ ### Summary
28
+ Patch release to publish the interactive requirements mode feature to npm.
29
+
30
+ This release makes v3.0.0 officially available on npm with the interactive mode feature fully documented and tested.
31
+
32
+ ## [3.0.0] - 2025-12-25
33
+
34
+ ### ๐ŸŽ‰ MAJOR RELEASE - Complete CLI Architecture Transformation
35
+
36
+ This is a **major breaking release** that fundamentally transforms the framework from npm script-based workflows to a pure CLI-driven architecture. The package has been completely rewritten, tested, and optimized for production use.
37
+
38
+ ### ๐Ÿ†• Interactive Requirements Mode
39
+
40
+ Running `npx agentic15 plan` without arguments now enters **interactive mode**:
41
+ - Type or paste requirements of any length
42
+ - Include URLs, detailed specs, multiple paragraphs
43
+ - Press Ctrl+D (Mac/Linux) or Ctrl+Z+Enter (Windows) to save
44
+ - No shell escaping or quote issues
45
+ - Perfect for complex corporate websites, detailed project specs
46
+
47
+ **Example**:
48
+ ```bash
49
+ npx agentic15 plan
50
+ # Paste your requirements...
51
+ # Press Ctrl+D when done
52
+ ```
53
+
54
+ ### ๐Ÿ’ฅ Breaking Changes
55
+
56
+ **CRITICAL**: This release is **NOT backward compatible** with v1.x or v2.x workflows.
57
+
58
+ 1. **All npm scripts removed** - Use `npx agentic15 <command>` instead
59
+ - โŒ `npm run plan:generate` โ†’ โœ… `npx agentic15 plan "description"`
60
+ - โŒ `npm run plan:init` โ†’ โœ… `npx agentic15 plan` (auto-locks)
61
+ - โŒ `npm run task:start` โ†’ โœ… `npx agentic15 task next`
62
+ - โŒ No task:done - Status auto-detected by CLI
63
+
64
+ 2. **No obfuscated/minified code** - Ships pure ESM source code
65
+ - Removed 248KB of minified v1.x code
66
+ - Transparent, auditable codebase
67
+ - Easier debugging and contributions
68
+
69
+ 3. **Built-in plan logic** - No external script dependencies
70
+ - Plan generation/locking logic moved into PlanCommand class
71
+ - No npm script wrapper required
72
+ - Single command for entire workflow
73
+
74
+ 4. **v2.0 schema support** - Updated PROJECT-PLAN.json structure
75
+ - Root level uses `project` (singular) instead of `projects` (plural)
76
+ - Compatible with PROJECT-PLAN-TEMPLATE.json format
77
+ - Recursive task extraction from nested structures
78
+
79
+ ### โœจ What's New
80
+
81
+ #### CLI Commands (All New)
82
+ ```bash
83
+ npx agentic15 auth # One-time GitHub setup
84
+ npx agentic15 plan "desc" # Generate plan requirements
85
+ npx agentic15 plan # Lock plan (if PROJECT-PLAN.json exists)
86
+ npx agentic15 task next # Auto-start next pending task
87
+ npx agentic15 task start ID # Start specific task
88
+ npx agentic15 commit # Test, commit, push, create PR
89
+ npx agentic15 status # Show current progress
90
+ ```
91
+
92
+ #### GitHub Integration
93
+ - โœ… Issue templates (.github/ISSUE_TEMPLATE/task.md)
94
+ - โœ… PR templates (.github/PULL_REQUEST_TEMPLATE.md)
95
+ - โœ… CLI uses templates for consistent formatting
96
+ - โœ… Auto-generated issues follow standard structure
97
+ - โœ… Auto-generated PRs follow standard structure
98
+
99
+ #### Quality Improvements
100
+ - ๐Ÿ“ฆ Package size: 46.0 kB compressed (down from 294KB)
101
+ - ๐Ÿ“ Total files: 52 (down from 67)
102
+ - ๐Ÿงช Black box tested - 5 critical bugs found and fixed
103
+ - โœ… All core workflows verified end-to-end
104
+ - ๐Ÿ“š Complete documentation with workflow diagrams
105
+
106
+ ### ๐Ÿ› Critical Bug Fixes (Found During Testing)
107
+
108
+ All bugs discovered and fixed during comprehensive black box testing:
109
+
110
+ 1. **Import Path Error** (bin/create-agentic15-claude-zen.js:179)
111
+ - Fixed: dist/index.js โ†’ src/index.js
112
+
113
+ 2. **Template Path Error** (src/core/TemplateManager.js:32)
114
+ - Fixed: Added '../..' to reach package root from src/core/
115
+
116
+ 3. **Obsolete Method Call** (src/core/ProjectInitializer.js)
117
+ - Removed: extractBundledFiles() call (tried to copy non-existent scripts)
118
+
119
+ 4. **Schema Compatibility** (src/cli/PlanCommand.js:207-210)
120
+ - Added: Support for v2.0 schema with singular 'project' at root
121
+
122
+ 5. **Wrong Method Reference** (src/cli/TaskCommand.js:155-158)
123
+ - Fixed: Now calls correct TaskIssueMapper.taskToIssueTitle/Body/Labels methods
124
+
125
+ ### ๐Ÿ“Š Testing & Verification
126
+
127
+ - โœ… **Test Repository**: https://github.com/agentic15/agentic15-test-v2
128
+ - โœ… **Project Creation**: Templates, dependencies, git, hooks
129
+ - โœ… **Plan Generation**: Requirements file, plan ID, ACTIVE-PLAN
130
+ - โœ… **Plan Locking**: Task extraction (3/3 tasks verified)
131
+ - โœ… **Task Management**: Auto-start next task, feature branch creation
132
+ - โœ… **Git Workflow**: Feature branches, status tracking
133
+
134
+ ### ๐ŸŽฏ Migration Guide (v1.x/v2.x โ†’ v3.0.0)
135
+
136
+ **Before (v1.x/v2.x)**:
137
+ ```bash
138
+ npm run plan:generate "Build calculator"
139
+ # Claude creates plan
140
+ echo "plan-001-generated" > .claude/ACTIVE-PLAN
141
+ npm run plan:init
142
+ npm run task:start TASK-001
143
+ # Write code
144
+ npm run task:done
145
+ ```
146
+
147
+ **After (v3.0.0)**:
148
+ ```bash
149
+ npx agentic15 plan "Build calculator"
150
+ # Claude creates plan
151
+ npx agentic15 plan
152
+ npx agentic15 task next
153
+ # Write code
154
+ npx agentic15 commit
155
+ ```
156
+
157
+ ### ๐Ÿ“ฆ Package Details
158
+
159
+ - **Size**: 46.0 kB compressed, 177.7 kB unpacked
160
+ - **Files**: 52
161
+ - **Architecture**: Pure ESM modules
162
+ - **Node**: >=18.0.0
163
+ - **Dependencies**: @octokit/rest@20.0.2, commander@12.1.0
164
+
165
+ ### ๐Ÿš€ Upgrade Instructions
166
+
167
+ **New Projects** (Recommended):
168
+ ```bash
169
+ npx @agentic15.com/agentic15-claude-zen@3.0.0 my-project
170
+ cd my-project
171
+ npx agentic15 auth
172
+ npx agentic15 plan "Your project description"
173
+ ```
174
+
175
+ **Existing Projects** (Requires Manual Migration):
176
+ 1. Update package: `npm install @agentic15.com/agentic15-claude-zen@3.0.0`
177
+ 2. Run auth setup: `npx agentic15 auth`
178
+ 3. Replace all npm run task:* with npx agentic15 commands
179
+ 4. Update any automation scripts
180
+
181
+ ### ๐ŸŽ“ Documentation
182
+
183
+ - README.md: Quick start guide
184
+ - WORKFLOWS.md: Complete workflow documentation with mermaid diagrams
185
+ - CHANGELOG.md: Detailed version history (this file)
186
+ - .claude/POST-INSTALL.md: Instructions for Claude
187
+
188
+ ### โš ๏ธ Known Limitations
189
+
190
+ - GitHub integration requires valid Personal Access Token
191
+ - PR creation requires GitHub CLI (gh) installed
192
+ - Windows users: Use quotes around package name in PowerShell
193
+
194
+ ---
195
+
10
196
  ## [2.0.9] - 2025-12-25
11
197
 
12
198
  ### Changed
package/README.md CHANGED
@@ -9,19 +9,32 @@ AI-Assisted Development Framework with Automated Workflows
9
9
 
10
10
  ## Quick Start
11
11
 
12
+ **Step 1: Create Project**
12
13
  ```bash
13
14
  # Bash/Mac/Linux
14
15
  npx @agentic15.com/agentic15-claude-zen my-project
15
16
 
16
17
  # PowerShell (Windows)
17
18
  npx "@agentic15.com/agentic15-claude-zen" my-project
19
+ ```
18
20
 
19
- # Then
21
+ **Step 2: Use CLI Inside Project**
22
+ ```bash
20
23
  cd my-project
21
- npx agentic15 auth
22
- npx agentic15 plan "Build a todo app"
24
+ npx agentic15 auth # One-time GitHub setup
25
+ npx agentic15 plan # Enter interactive mode
26
+ # Type/paste your requirements, press Ctrl+D when done
27
+ npx agentic15 task next # Start first task
28
+ npx agentic15 commit # Test, commit, push, PR
23
29
  ```
24
30
 
31
+ > **Note**: Project creation uses the full package name `@agentic15.com/agentic15-claude-zen`.
32
+ > Once inside your project, use the short command `agentic15` for all workflows.
33
+ >
34
+ > **Tip**: `npx agentic15 plan` without arguments enters interactive mode where you can
35
+ > paste long requirements, URLs, and detailed specs. Press Ctrl+D (Mac/Linux) or
36
+ > Ctrl+Z+Enter (Windows) to save.
37
+
25
38
  **See [WORKFLOWS.md](WORKFLOWS.md) for complete workflows.**
26
39
 
27
40
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentic15.com/agentic15-claude-zen",
3
- "version": "2.0.9",
3
+ "version": "3.0.3",
4
4
  "description": "Structured AI-assisted development framework for Claude Code with enforced quality standards",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,5 +1,6 @@
1
1
  import { readFileSync, writeFileSync, existsSync, mkdirSync, readdirSync } from 'fs';
2
2
  import { join } from 'path';
3
+ import readline from 'readline';
3
4
 
4
5
  export class PlanCommand {
5
6
  static async handle(description) {
@@ -36,14 +37,43 @@ export class PlanCommand {
36
37
 
37
38
  // No plan exists - create new one
38
39
  if (!description) {
39
- console.log('\nโŒ Project description required');
40
- console.log(' Usage: agentic15 plan "Build a calculator app"\n');
41
- process.exit(1);
40
+ // No description provided - enter interactive mode
41
+ console.log('\n๐Ÿ“ Interactive Requirements Mode');
42
+ console.log('โ”'.repeat(70));
43
+ console.log('Enter your project requirements below.');
44
+ console.log('You can paste multiple lines, URLs, or write detailed specs.');
45
+ console.log('Press Ctrl+D (Mac/Linux) or Ctrl+Z then Enter (Windows) when done.\n');
46
+
47
+ description = await this.promptMultilineInput();
48
+
49
+ if (!description || description.trim().length === 0) {
50
+ console.log('\nโŒ No requirements provided\n');
51
+ process.exit(1);
52
+ }
42
53
  }
43
54
 
44
55
  return this.generatePlan(description);
45
56
  }
46
57
 
58
+ static async promptMultilineInput() {
59
+ return new Promise((resolve) => {
60
+ const rl = readline.createInterface({
61
+ input: process.stdin,
62
+ output: process.stdout
63
+ });
64
+
65
+ let lines = [];
66
+
67
+ rl.on('line', (line) => {
68
+ lines.push(line);
69
+ });
70
+
71
+ rl.on('close', () => {
72
+ resolve(lines.join('\n'));
73
+ });
74
+ });
75
+ }
76
+
47
77
  static generatePlan(description) {
48
78
  console.log('\n๐Ÿ“‹ Generating new plan...\n');
49
79
 
@@ -83,7 +83,7 @@ export class ProjectInitializer {
83
83
  console.log('\n Complete workflow documentation with examples.\n');
84
84
  console.log('๐Ÿš€ QUICK START:');
85
85
  console.log(' 1. npx agentic15 auth');
86
- console.log(' 2. npx agentic15 plan "Your project description"');
86
+ console.log(' 2. npx agentic15 plan (interactive - paste requirements, Ctrl+D)');
87
87
  console.log(' 3. Tell Claude: "Create the project plan"');
88
88
  console.log(' 4. npx agentic15 plan (locks the plan)');
89
89
  console.log(' 5. npx agentic15 task next');