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

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