azclaude-copilot 0.1.2 → 0.1.4

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/README.md CHANGED
@@ -35,12 +35,20 @@ Human input after first message: ZERO
35
35
 
36
36
  ---
37
37
 
38
- ## One Command
38
+ ## Quick Start
39
+
40
+ ### 1. Install into your project
39
41
 
40
42
  ```bash
41
- npx azclaude-copilot . "EU AI Act compliance SaaS. Free deterministic
42
- classification terminal. Paid 30-question assessment with PDF report.
43
- FastAPI backend. Next.js frontend. Supabase. Trilingual EN/FR/NL. Stripe."
43
+ npx azclaude-copilot setup
44
+ ```
45
+
46
+ This installs CLAUDE.md, 26 commands, 8 skills, 7 agents, hooks, and capabilities into your project's `.claude/` directory. Works with Claude Code, Gemini CLI, Codex, OpenCode, and Cursor.
47
+
48
+ ### 2. Run autonomously (copilot mode)
49
+
50
+ ```bash
51
+ npx azclaude-copilot . "EU AI Act compliance SaaS with trilingual support"
44
52
  ```
45
53
 
46
54
  Walk away. Come back to:
@@ -49,7 +57,24 @@ Walk away. Come back to:
49
57
  - `copilot-report.md` with everything that was built
50
58
  - Evolved environment with project-specific agents and learned reflexes
51
59
 
52
- Resume anytime: `npx azclaude-copilot .`
60
+ ### 3. Or use commands manually
61
+
62
+ ```bash
63
+ /setup # analyze project, detect stack + domain
64
+ /dream # scaffold from idea
65
+ /add # add a feature
66
+ /fix # fix a bug
67
+ /audit # review code
68
+ /pulse # health check
69
+ ```
70
+
71
+ ### Other commands
72
+
73
+ ```bash
74
+ npx azclaude-copilot . intent.md 30 # intent from file, 30 session limit
75
+ npx azclaude-copilot . # resume existing project
76
+ npx azclaude-copilot doctor # run health check (32 checks)
77
+ ```
53
78
 
54
79
  ---
55
80
 
@@ -367,45 +392,7 @@ See [SECURITY.md](SECURITY.md) for full details including known limitations and
367
392
 
368
393
  ---
369
394
 
370
- ## Installation
371
-
372
- ### Install the AZCLAUDE environment
373
-
374
- ```bash
375
- npx azclaude
376
- ```
377
-
378
- Works with Claude Code, Gemini CLI, Codex, OpenCode, and Cursor. Auto-detects your CLI and installs to the correct paths.
379
-
380
- ### Run /setup inside your project
381
-
382
- ```bash
383
- /setup
384
- ```
385
-
386
- ### Verify
387
-
388
- ```bash
389
- npx azclaude doctor
390
- ```
391
-
392
- ### Run Copilot (autonomous mode)
393
-
394
- ```bash
395
- # New project -- describe and walk away
396
- npx azclaude-copilot . "Build a REST API with auth and Stripe"
397
-
398
- # From intent file
399
- npx azclaude-copilot . intent.md
400
-
401
- # With session limit
402
- npx azclaude-copilot . "my app" 30
403
-
404
- # Resume (reads existing plan.md)
405
- npx azclaude-copilot .
406
- ```
407
-
408
- ### Exit Conditions
395
+ ## Exit Conditions
409
396
 
410
397
  | Condition | Exit code |
411
398
  |-----------|-----------|
@@ -437,7 +424,7 @@ azclaude-copilot/
437
424
  ├── DOCS.md <- full user guide
438
425
  ├── SECURITY.md <- security policy + architecture
439
426
  ├── tests/
440
- │ └── test-features.sh ← 1039 tests
427
+ │ └── test-features.sh ← 1041 tests
441
428
  ```
442
429
 
443
430
  ---
@@ -463,11 +450,11 @@ The runner is stateless. These files ARE the state.
463
450
 
464
451
  ## Verified
465
452
 
466
- 1039 tests. Every template, command, capability, agent, and CLI feature verified.
453
+ 1041 tests. Every template, command, capability, agent, and CLI feature verified.
467
454
 
468
455
  ```bash
469
456
  bash tests/test-features.sh
470
- # Results: 1039 passed, 0 failed, 1039 total
457
+ # Results: 1041 passed, 0 failed, 1041 total
471
458
  ```
472
459
 
473
460
  ---
package/bin/copilot.js CHANGED
@@ -169,7 +169,11 @@ for (let session = 1; session <= maxSessions; session++) {
169
169
  console.log(`\n── Session ${session}/${maxSessions} ${elapsed > 0 ? `(${elapsed}min elapsed)` : ''} ──`);
170
170
 
171
171
  // Build state-aware prompt
172
- let prompt = 'You are in AZCLAUDE Copilot mode. Run /copilot to continue autonomous building.';
172
+ // IMPORTANT: In -p mode, slash commands (/setup, /copilot) don't work.
173
+ // Tell Claude to read and follow the command .md files directly.
174
+ let prompt = 'You are in AZCLAUDE Copilot mode. You are running in non-interactive mode (-p flag).';
175
+ prompt += '\n\nIMPORTANT: Slash commands like /setup do NOT work in -p mode. Instead, read the command file and follow its instructions. For example, to run /copilot: read .claude/commands/copilot.md and follow it. To run /setup: read .claude/commands/setup.md and follow it.';
176
+ prompt += '\n\nRead .claude/commands/copilot.md now and follow it to continue autonomous building.';
173
177
  prompt += `\n\nOriginal intent: ${intent}`;
174
178
  prompt += `\n\nSession ${session}/${maxSessions}.`;
175
179
 
@@ -184,13 +188,13 @@ for (let session = 1; session <= maxSessions; session++) {
184
188
  const total = statuses.length;
185
189
  prompt += `\n\nPlan progress: ${done}/${total} done, ${blocked} blocked, ${pending} remaining.`;
186
190
  if (blocked > 0) prompt += ' Check blockers.md — retry blocked milestones if new context helps.';
187
- if (done > 0 && done % 3 === 0) prompt += ' 3+ milestones since last /evolve — run /reflexes analyze + /evolve.';
188
- if (pending === 0 && blocked === 0) prompt += ' All milestones done — run /audit then /ship.';
191
+ if (done > 0 && done % 3 === 0) prompt += ' 3+ milestones since last /evolve — read .claude/commands/reflexes.md then .claude/commands/evolve.md.';
192
+ if (pending === 0 && blocked === 0) prompt += ' All milestones done — read .claude/commands/audit.md then .claude/commands/ship.md.';
189
193
  } else {
190
194
  prompt += '\n\nPlan exists but plan.md not found. Read .claude/plan.md for status.';
191
195
  }
192
196
  } else {
193
- prompt += '\n\nNo plan yet. Start with /setup then /blueprint to create milestones.';
197
+ prompt += '\n\nNo plan yet. Read .claude/commands/setup.md and follow it, then read .claude/commands/blueprint.md to create milestones.';
194
198
  }
195
199
 
196
200
  // Run Claude Code session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azclaude-copilot",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Autonomous product builder. Describe once, AZCLAUDE builds it across sessions — planning, implementing, testing, evolving, deploying. Zero human input.",
5
5
  "bin": {
6
6
  "azclaude": "./bin/cli.js",