openspec-adversarial-multi-agent 1.0.0 → 1.1.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/README.md +22 -17
- package/index.js +7 -6
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -24,38 +24,43 @@ Each critic independently analyzes the change artifacts and provides targeted fe
|
|
|
24
24
|
|
|
25
25
|
### Quick Install (Recommended)
|
|
26
26
|
|
|
27
|
-
Run the NPX installer
|
|
27
|
+
Run the NPX installer from your project root to install locally:
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
+
cd /path/to/your/project
|
|
30
31
|
npx openspec-adversarial-multi-agent
|
|
31
32
|
```
|
|
32
33
|
|
|
33
|
-
This will install:
|
|
34
|
-
- 5 critic agent files to
|
|
35
|
-
- 1 skill file to
|
|
34
|
+
This will install to your project's `.claude/` directory:
|
|
35
|
+
- 5 critic agent files to `./.claude/agents/`
|
|
36
|
+
- 1 skill file to `./.claude/skills/openspec-review-change/`
|
|
37
|
+
|
|
38
|
+
**Note:** This is a local installation per project, not global. Each project gets its own copy.
|
|
36
39
|
|
|
37
40
|
### Manual Installation
|
|
38
41
|
|
|
39
42
|
If you prefer manual installation or the NPX method doesn't work:
|
|
40
43
|
|
|
41
44
|
1. Clone this repository
|
|
42
|
-
2. Copy the `agents/` folder contents to your `.claude/agents/` directory:
|
|
45
|
+
2. Copy the `agents/` folder contents to your project's `.claude/agents/` directory:
|
|
43
46
|
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
your-project/
|
|
48
|
+
└── .claude/
|
|
49
|
+
├── agents/
|
|
50
|
+
│ ├── opsx-critic-proposal.md
|
|
51
|
+
│ ├── opsx-critic-design.md
|
|
52
|
+
│ ├── opsx-critic-specs.md
|
|
53
|
+
│ ├── opsx-critic-tasks.md
|
|
54
|
+
│ └── opsx-critic-consistency.md
|
|
51
55
|
```
|
|
52
56
|
|
|
53
|
-
3. Copy the `skills/` folder contents to your `.claude/skills/` directory:
|
|
57
|
+
3. Copy the `skills/` folder contents to your project's `.claude/skills/` directory:
|
|
54
58
|
```
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
your-project/
|
|
60
|
+
└── .claude/
|
|
61
|
+
├── skills/
|
|
62
|
+
│ └── openspec-review-change/
|
|
63
|
+
│ └── SKILL.md
|
|
59
64
|
```
|
|
60
65
|
|
|
61
66
|
## Expected Directory Structure
|
package/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const fs = require('fs');
|
|
4
4
|
const path = require('path');
|
|
5
|
-
const os = require('os');
|
|
6
5
|
|
|
7
|
-
//
|
|
8
|
-
const claudeDir = path.join(
|
|
6
|
+
// Install to project's .claude directory (local installation)
|
|
7
|
+
const claudeDir = path.join(process.cwd(), '.claude');
|
|
9
8
|
|
|
10
9
|
try {
|
|
11
10
|
// Create directories if needed
|
|
@@ -47,7 +46,8 @@ try {
|
|
|
47
46
|
fs.copyFileSync(skillFile, skillTarget);
|
|
48
47
|
console.log('✓ Copied skill: openspec-review-change/SKILL.md');
|
|
49
48
|
|
|
50
|
-
console.log('\n✓ OpenSpec plugin installed to
|
|
49
|
+
console.log('\n✓ OpenSpec plugin installed to ./.claude/');
|
|
50
|
+
console.log(' (Local installation in current project)');
|
|
51
51
|
console.log('\nUsage in Claude Code:');
|
|
52
52
|
console.log(' /openspec-review-change <path>');
|
|
53
53
|
console.log('\nExample:');
|
|
@@ -56,7 +56,8 @@ try {
|
|
|
56
56
|
} catch (error) {
|
|
57
57
|
console.error('\n✗ Installation failed:', error.message);
|
|
58
58
|
console.error('\nTroubleshooting:');
|
|
59
|
-
console.error(' - Ensure you have write permissions
|
|
59
|
+
console.error(' - Ensure you have write permissions in the current directory');
|
|
60
|
+
console.error(' - Run this command from your project root directory');
|
|
60
61
|
console.error(' - Check that the source files exist in the package');
|
|
61
62
|
process.exit(1);
|
|
62
63
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openspec-adversarial-multi-agent",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Claude Code plugin for adversarial OpenSpec review",
|
|
5
5
|
"bin": {
|
|
6
|
-
"openspec-adversarial-multi-agent": "
|
|
6
|
+
"openspec-adversarial-multi-agent": "index.js"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
9
|
"index.js",
|
|
10
10
|
"agents",
|
|
11
|
-
"skills"
|
|
11
|
+
"skills",
|
|
12
|
+
"README.md"
|
|
12
13
|
],
|
|
13
14
|
"keywords": [
|
|
14
15
|
"claude-code",
|
|
@@ -20,6 +21,6 @@
|
|
|
20
21
|
"license": "MIT",
|
|
21
22
|
"repository": {
|
|
22
23
|
"type": "git",
|
|
23
|
-
"url": "https://github.com/VirtualMaestro/openspec-adversarial-multi-agent.git"
|
|
24
|
+
"url": "git+https://github.com/VirtualMaestro/openspec-adversarial-multi-agent.git"
|
|
24
25
|
}
|
|
25
26
|
}
|