azclaude-copilot 0.1.1 → 0.1.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/README.md +34 -47
- package/bin/copilot.js +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,12 +35,20 @@ Human input after first message: ZERO
|
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
|
38
|
-
##
|
|
38
|
+
## Quick Start
|
|
39
|
+
|
|
40
|
+
### 1. Install into your project
|
|
39
41
|
|
|
40
42
|
```bash
|
|
41
|
-
npx azclaude-copilot
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
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 ←
|
|
427
|
+
│ └── test-features.sh ← 1039 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
|
-
|
|
453
|
+
1039 tests. Every template, command, capability, agent, and CLI feature verified.
|
|
467
454
|
|
|
468
455
|
```bash
|
|
469
456
|
bash tests/test-features.sh
|
|
470
|
-
# Results:
|
|
457
|
+
# Results: 1039 passed, 0 failed, 1039 total
|
|
471
458
|
```
|
|
472
459
|
|
|
473
460
|
---
|
package/bin/copilot.js
CHANGED
|
@@ -21,6 +21,21 @@ const { spawnSync } = require('child_process');
|
|
|
21
21
|
// ── Args ─────────────────────────────────────────────────────────────────────
|
|
22
22
|
|
|
23
23
|
const args = process.argv.slice(2);
|
|
24
|
+
|
|
25
|
+
// ── Subcommand routing ──────────────────────────────────────────────────────
|
|
26
|
+
// Catch `npx azclaude-copilot setup` and similar — run the installer instead
|
|
27
|
+
const SUBCOMMANDS = ['setup', 'init', 'install', 'doctor'];
|
|
28
|
+
if (args[0] && SUBCOMMANDS.includes(args[0].toLowerCase())) {
|
|
29
|
+
const subDir = path.resolve(args[1] || '.');
|
|
30
|
+
console.log(`\n Running AZCLAUDE installer on ${subDir}...\n`);
|
|
31
|
+
const cliPath = path.join(__dirname, 'cli.js');
|
|
32
|
+
const subArgs = args[0].toLowerCase() === 'doctor'
|
|
33
|
+
? [cliPath, subDir, '--doctor']
|
|
34
|
+
: [cliPath, subDir];
|
|
35
|
+
const r = spawnSync('node', subArgs, { cwd: subDir, stdio: 'inherit' });
|
|
36
|
+
process.exit(r.status || 0);
|
|
37
|
+
}
|
|
38
|
+
|
|
24
39
|
const projectDir = path.resolve(args[0] || '.');
|
|
25
40
|
const intentArg = args[1] || '';
|
|
26
41
|
const maxSessions = parseInt(args[2] || '20', 10);
|
|
@@ -31,11 +46,14 @@ if (args.includes('--help') || args.includes('-h')) {
|
|
|
31
46
|
|
|
32
47
|
Usage:
|
|
33
48
|
npx azclaude-copilot <project-dir> <intent> [max-sessions]
|
|
49
|
+
npx azclaude-copilot setup [dir] # install AZCLAUDE into project
|
|
50
|
+
npx azclaude-copilot doctor [dir] # run health check
|
|
34
51
|
|
|
35
52
|
Examples:
|
|
36
53
|
npx azclaude-copilot . "Build a REST API with auth"
|
|
37
54
|
npx azclaude-copilot . intent.md 30
|
|
38
55
|
npx azclaude-copilot . # resume existing project
|
|
56
|
+
npx azclaude-copilot setup # install templates + commands
|
|
39
57
|
|
|
40
58
|
Options:
|
|
41
59
|
--help, -h Show this help
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "azclaude-copilot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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",
|