azclaude-copilot 0.1.3 → 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 +3 -3
- package/bin/copilot.js +8 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -424,7 +424,7 @@ azclaude-copilot/
|
|
|
424
424
|
├── DOCS.md <- full user guide
|
|
425
425
|
├── SECURITY.md <- security policy + architecture
|
|
426
426
|
├── tests/
|
|
427
|
-
│ └── test-features.sh ←
|
|
427
|
+
│ └── test-features.sh ← 1041 tests
|
|
428
428
|
```
|
|
429
429
|
|
|
430
430
|
---
|
|
@@ -450,11 +450,11 @@ The runner is stateless. These files ARE the state.
|
|
|
450
450
|
|
|
451
451
|
## Verified
|
|
452
452
|
|
|
453
|
-
|
|
453
|
+
1041 tests. Every template, command, capability, agent, and CLI feature verified.
|
|
454
454
|
|
|
455
455
|
```bash
|
|
456
456
|
bash tests/test-features.sh
|
|
457
|
-
# Results:
|
|
457
|
+
# Results: 1041 passed, 0 failed, 1041 total
|
|
458
458
|
```
|
|
459
459
|
|
|
460
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
|
-
|
|
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 —
|
|
188
|
-
if (pending === 0 && blocked === 0) prompt += ' All milestones done —
|
|
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.
|
|
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.
|
|
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",
|