@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 +186 -8
- package/README.md +16 -3
- package/package.json +1 -1
- package/src/cli/PlanCommand.js +34 -3
- package/src/core/ProjectInitializer.js +1 -1
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
|
-
|
|
21
|
+
**Step 2: Use CLI Inside Project**
|
|
22
|
+
```bash
|
|
20
23
|
cd my-project
|
|
21
|
-
npx agentic15 auth
|
|
22
|
-
npx agentic15 plan
|
|
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
package/src/cli/PlanCommand.js
CHANGED
|
@@ -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
|
-
|
|
40
|
-
console.log('
|
|
41
|
-
|
|
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
|
|
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');
|