@exchanet/enet 1.0.2 → 1.0.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 +7 -7
- package/package.json +1 -1
- package/registry.json +31 -23
- package/src/commands/install.js +3 -3
- package/src/utils/agent-detector.js +14 -0
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Think of it as `brew` or `npm`, but for AI coding architecture methods.
|
|
|
24
24
|
|
|
25
25
|
| Method | What it does |
|
|
26
26
|
|---|---|
|
|
27
|
-
| `
|
|
27
|
+
| `modular-design` | Universal modular architecture. Auto-generated Admin Panel, zero hardcoded config. |
|
|
28
28
|
| `pdca-t` | ≥99% test coverage, zero vulnerabilities, systematic quality validation. |
|
|
29
29
|
| `iris` | Continuous improvement of existing systems without breaking architecture. |
|
|
30
30
|
| `enterprise-builder` | Large-scale planning for complex projects before writing code. |
|
|
@@ -38,7 +38,7 @@ The registry is live — new methods appear automatically without updating enet.
|
|
|
38
38
|
### Install a method
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
enet install
|
|
41
|
+
enet install modular-design
|
|
42
42
|
enet install pdca-t
|
|
43
43
|
enet install iris
|
|
44
44
|
enet install enterprise-builder
|
|
@@ -48,10 +48,10 @@ enet detects your AI agent automatically and places the adapter in the right loc
|
|
|
48
48
|
|
|
49
49
|
| Agent detected | Installs to |
|
|
50
50
|
|---|---|
|
|
51
|
-
| Cursor | `.cursor/rules/enet-
|
|
51
|
+
| Cursor | `.cursor/rules/enet-modular-design.md` |
|
|
52
52
|
| Windsurf | Appended to `.windsurfrules` |
|
|
53
53
|
| GitHub Copilot | `.github/copilot-instructions.md` |
|
|
54
|
-
| None detected | `.enet/
|
|
54
|
+
| None detected | `.enet/modular-design.md` |
|
|
55
55
|
|
|
56
56
|
Override with `--agent cursor\|windsurf\|copilot\|generic`.
|
|
57
57
|
|
|
@@ -99,15 +99,15 @@ enet validate --strict # warnings become errors
|
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
101
|
enet update # update all installed methods
|
|
102
|
-
enet update
|
|
102
|
+
enet update modular-design # update a specific method
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
---
|
|
106
106
|
|
|
107
107
|
## How it works
|
|
108
108
|
|
|
109
|
-
1. `enet install
|
|
110
|
-
2. Finds the repo for `
|
|
109
|
+
1. `enet install modular-design` fetches `registry.json` from this repo
|
|
110
|
+
2. Finds the repo for `modular-design` (`exchanet/method_modular_design`)
|
|
111
111
|
3. Detects your agent (Cursor, Windsurf, Copilot...)
|
|
112
112
|
4. Downloads the right adapter from GitHub in real time
|
|
113
113
|
5. Writes it to the correct location in your project
|
package/package.json
CHANGED
package/registry.json
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"updated": "
|
|
3
|
+
"updated": "2026-03-01",
|
|
4
4
|
"methods": {
|
|
5
|
-
"
|
|
6
|
-
"id": "
|
|
7
|
-
"name": "Method
|
|
5
|
+
"modular-design": {
|
|
6
|
+
"id": "modular-design",
|
|
7
|
+
"name": "Method Modular Design",
|
|
8
8
|
"description": "Universal modular architecture. Auto-generated Admin Panel, zero hardcoded config, self-describing modules via manifest.json.",
|
|
9
|
-
"repo": "exchanet/
|
|
10
|
-
"version": "
|
|
9
|
+
"repo": "exchanet/method_modular_design",
|
|
10
|
+
"version": "2.0.0",
|
|
11
11
|
"tags": ["architecture", "modular", "admin-panel", "manifest", "core"],
|
|
12
12
|
"adapters": {
|
|
13
|
-
"cursor":
|
|
14
|
-
"windsurf":
|
|
15
|
-
"copilot":
|
|
16
|
-
"
|
|
13
|
+
"cursor": "adapters/cursor.md",
|
|
14
|
+
"windsurf": "adapters/windsurf.md",
|
|
15
|
+
"copilot": "adapters/copilot.md",
|
|
16
|
+
"antigravity": "adapters/antigravity.md",
|
|
17
|
+
"claudecode": "adapters/claudecode.md",
|
|
18
|
+
"generic": "adapters/generic.md"
|
|
17
19
|
},
|
|
18
20
|
"extras": {
|
|
19
21
|
"schema": "schemas/manifest.schema.json"
|
|
@@ -22,15 +24,17 @@
|
|
|
22
24
|
"pdca-t": {
|
|
23
25
|
"id": "pdca-t",
|
|
24
26
|
"name": "Method PDCA-T",
|
|
25
|
-
"description": "≥99% test coverage, zero vulnerabilities, systematic quality validation cycles. Use alongside
|
|
27
|
+
"description": "≥99% test coverage, zero vulnerabilities, systematic quality validation cycles. Use alongside Modular Design for pro-grade results.",
|
|
26
28
|
"repo": "exchanet/method_pdca-t_coding_Cursor",
|
|
27
29
|
"version": "1.0.0",
|
|
28
30
|
"tags": ["quality", "testing", "security", "coverage", "validation"],
|
|
29
31
|
"adapters": {
|
|
30
|
-
"cursor":
|
|
31
|
-
"windsurf":
|
|
32
|
-
"copilot":
|
|
33
|
-
"
|
|
32
|
+
"cursor": ".cursor/rules/METHOD-PDCA-T.md",
|
|
33
|
+
"windsurf": ".cursor/rules/METHOD-PDCA-T.md",
|
|
34
|
+
"copilot": ".cursor/rules/METHOD-PDCA-T.md",
|
|
35
|
+
"antigravity": ".cursor/rules/METHOD-PDCA-T.md",
|
|
36
|
+
"claudecode": ".cursor/rules/METHOD-PDCA-T.md",
|
|
37
|
+
"generic": ".cursor/rules/METHOD-PDCA-T.md"
|
|
34
38
|
}
|
|
35
39
|
},
|
|
36
40
|
"iris": {
|
|
@@ -41,10 +45,12 @@
|
|
|
41
45
|
"version": "1.0.0",
|
|
42
46
|
"tags": ["refactoring", "improvement", "evolution", "maintenance"],
|
|
43
47
|
"adapters": {
|
|
44
|
-
"cursor":
|
|
45
|
-
"windsurf":
|
|
46
|
-
"copilot":
|
|
47
|
-
"
|
|
48
|
+
"cursor": "adapters/cursor.md",
|
|
49
|
+
"windsurf": "adapters/windsurf.md",
|
|
50
|
+
"copilot": "adapters/copilot.md",
|
|
51
|
+
"antigravity": "adapters/antigravity.md",
|
|
52
|
+
"claudecode": "adapters/claudecode.md",
|
|
53
|
+
"generic": "adapters/generic.md"
|
|
48
54
|
}
|
|
49
55
|
},
|
|
50
56
|
"enterprise-builder": {
|
|
@@ -55,10 +61,12 @@
|
|
|
55
61
|
"version": "1.0.0",
|
|
56
62
|
"tags": ["planning", "enterprise", "architecture", "scale"],
|
|
57
63
|
"adapters": {
|
|
58
|
-
"cursor":
|
|
59
|
-
"windsurf":
|
|
60
|
-
"copilot":
|
|
61
|
-
"
|
|
64
|
+
"cursor": "adapters/cursor.md",
|
|
65
|
+
"windsurf": "adapters/windsurf.md",
|
|
66
|
+
"copilot": "adapters/copilot.md",
|
|
67
|
+
"antigravity": "adapters/antigravity.md",
|
|
68
|
+
"claudecode": "adapters/claudecode.md",
|
|
69
|
+
"generic": "adapters/generic.md"
|
|
62
70
|
}
|
|
63
71
|
}
|
|
64
72
|
}
|
package/src/commands/install.js
CHANGED
|
@@ -62,7 +62,7 @@ export async function installCommand(methodId, options) {
|
|
|
62
62
|
console.log(chalk.dim(` → ${path.relative(process.cwd(), installPath)}`))
|
|
63
63
|
console.log(chalk.dim(` ${agent.configNote}\n`))
|
|
64
64
|
|
|
65
|
-
// Download extras (e.g. manifest.schema.json for
|
|
65
|
+
// Download extras (e.g. manifest.schema.json for modular-design)
|
|
66
66
|
if (method.extras) {
|
|
67
67
|
for (const [key, filePath] of Object.entries(method.extras)) {
|
|
68
68
|
const extraSpinner = ora(`Fetching ${key}...`).start()
|
|
@@ -88,7 +88,7 @@ export async function installCommand(methodId, options) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
function printHints(methodId) {
|
|
91
|
-
if (methodId === '
|
|
91
|
+
if (methodId === 'modular-design') {
|
|
92
92
|
console.log(chalk.dim(' Next:'))
|
|
93
93
|
console.log(chalk.dim(` 1. Give your agent a spectech (stack + modules needed)`))
|
|
94
94
|
console.log(chalk.dim(` 2. Agent declares architecture — confirm it`))
|
|
@@ -99,6 +99,6 @@ function printHints(methodId) {
|
|
|
99
99
|
}
|
|
100
100
|
if (methodId === 'pdca-t') {
|
|
101
101
|
console.log(chalk.dim(` PDCA-T adds quality validation to your workflow.`))
|
|
102
|
-
console.log(chalk.dim(` Works best alongside ${chalk.white('enet install
|
|
102
|
+
console.log(chalk.dim(` Works best alongside ${chalk.white('enet install modular-design')}.\n`))
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -23,6 +23,20 @@ export const AGENTS = {
|
|
|
23
23
|
filename: 'copilot-instructions.md',
|
|
24
24
|
configNote: 'Written to .github/copilot-instructions.md'
|
|
25
25
|
},
|
|
26
|
+
antigravity: {
|
|
27
|
+
name: 'Antigravity (Google)',
|
|
28
|
+
signals: ['.agent/rules', '.agent'],
|
|
29
|
+
installDir: '.agent/rules',
|
|
30
|
+
filename: 'enet-{id}.md',
|
|
31
|
+
configNote: 'Rule saved to .agent/rules/ — set activation to Always On in Antigravity'
|
|
32
|
+
},
|
|
33
|
+
claudecode: {
|
|
34
|
+
name: 'Claude Code',
|
|
35
|
+
signals: ['CLAUDE.md', '.claude'],
|
|
36
|
+
installDir: '.',
|
|
37
|
+
filename: 'CLAUDE.md',
|
|
38
|
+
configNote: 'Written to CLAUDE.md — Claude Code reads this file automatically'
|
|
39
|
+
},
|
|
26
40
|
generic: {
|
|
27
41
|
name: 'Generic Agent',
|
|
28
42
|
signals: [],
|