azclaude-copilot 0.1.0 → 0.1.1
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 +20 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -437,7 +437,7 @@ azclaude-copilot/
|
|
|
437
437
|
├── DOCS.md <- full user guide
|
|
438
438
|
├── SECURITY.md <- security policy + architecture
|
|
439
439
|
├── tests/
|
|
440
|
-
│ └── test-features.sh ←
|
|
440
|
+
│ └── test-features.sh ← 1037 tests
|
|
441
441
|
```
|
|
442
442
|
|
|
443
443
|
---
|
|
@@ -463,11 +463,11 @@ The runner is stateless. These files ARE the state.
|
|
|
463
463
|
|
|
464
464
|
## Verified
|
|
465
465
|
|
|
466
|
-
|
|
466
|
+
1037 tests. Every template, command, capability, agent, and CLI feature verified.
|
|
467
467
|
|
|
468
468
|
```bash
|
|
469
469
|
bash tests/test-features.sh
|
|
470
|
-
# Results:
|
|
470
|
+
# Results: 1037 passed, 0 failed, 1037 total
|
|
471
471
|
```
|
|
472
472
|
|
|
473
473
|
---
|
package/bin/copilot.js
CHANGED
|
@@ -82,6 +82,26 @@ if (intentArg) {
|
|
|
82
82
|
process.exit(1);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
// ── Auto-install AZCLAUDE if not present ─────────────────────────────────────
|
|
86
|
+
|
|
87
|
+
const commandsDir = path.join(claudeDir, 'commands');
|
|
88
|
+
const needsInstall = !fs.existsSync(commandsDir) || !fs.readdirSync(commandsDir).some(f => f.endsWith('.md'));
|
|
89
|
+
|
|
90
|
+
if (needsInstall) {
|
|
91
|
+
console.log('\n Installing AZCLAUDE infrastructure...');
|
|
92
|
+
const cliPath = path.join(__dirname, 'cli.js');
|
|
93
|
+
const installResult = spawnSync('node', [cliPath, projectDir], {
|
|
94
|
+
cwd: projectDir,
|
|
95
|
+
stdio: 'inherit',
|
|
96
|
+
timeout: 60000,
|
|
97
|
+
});
|
|
98
|
+
if (installResult.status !== 0) {
|
|
99
|
+
console.error(' Error: AZCLAUDE install failed. Cannot proceed.');
|
|
100
|
+
process.exit(1);
|
|
101
|
+
}
|
|
102
|
+
console.log(' AZCLAUDE installed. Commands, skills, agents, hooks ready.\n');
|
|
103
|
+
}
|
|
104
|
+
|
|
85
105
|
// ── Banner ───────────────────────────────────────────────────────────────────
|
|
86
106
|
|
|
87
107
|
const intent = fs.existsSync(intentPath) ? fs.readFileSync(intentPath, 'utf8').trim() : '(resuming)';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "azclaude-copilot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
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",
|