bmad-plus 0.9.2 → 0.12.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/CHANGELOG.md +65 -0
- package/README.md +582 -577
- package/osint-agent-package/skills/bmad-osint-investigate/osint/SKILL.md +30 -0
- package/osint-agent-package/skills/bmad-osint-investigate/osint/assets/dossier-template.md +10 -0
- package/osint-agent-package/skills/bmad-osint-investigate/osint/assets/lawful-basis-record.md +48 -0
- package/osint-agent-package/skills/bmad-osint-investigate/osint/references/gdpr-osint.md +48 -0
- package/package.json +7 -5
- package/readme-international/README.de.md +9 -4
- package/readme-international/README.es.md +9 -4
- package/readme-international/README.fr.md +9 -4
- package/src/bmad-plus/packs/pack-memory/shared/memory-protocol.md +14 -0
- package/tools/build/README.md +78 -0
- package/tools/build/adapters.config.js +117 -0
- package/tools/build/generate-adapters.js +485 -0
- package/tools/build/generate.js +284 -0
- package/tools/build/generated-adapters/.codex/AGENTS.md +121 -0
- package/tools/build/generated-adapters/.cursor/rules/bmad-plus.mdc +126 -0
- package/tools/build/generated-adapters/.opencode/AGENTS.md +121 -0
- package/tools/build/generated-adapters/AGENTS.md +119 -0
- package/tools/build/generated-adapters/CLAUDE.md +122 -0
- package/tools/build/generated-adapters/CONVENTIONS.md +121 -0
- package/tools/build/generated-adapters/GEMINI.md +126 -0
- package/tools/build/generated-adapters/README.md +79 -0
- package/tools/cli/bmad-plus-cli.js +11 -0
- package/tools/cli/commands/autoconfig.js +1 -3
- package/tools/cli/commands/install.js +54 -2
- package/tools/cli/commands/memory-journal-cmd.js +311 -0
- package/tools/cli/commands/scan.js +2 -18
- package/tools/cli/lib/README-memory-journal.md +125 -0
- package/tools/cli/lib/memory-init.js +204 -113
- package/tools/cli/lib/memory-journal.js +0 -0
- package/tools/cli/lib/packs.js +209 -122
- package/tools/cli/lib/path-hash.js +39 -0
- package/tools/cli/lib/python-provision.js +508 -0
|
@@ -1,113 +1,204 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BMAD+ Memory Initialization Module
|
|
3
|
-
* Extracted from install.js — initializes brain with existing brain detection.
|
|
4
|
-
*
|
|
5
|
-
* Author: Laurent Rochetta
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
const path = require('node:path');
|
|
9
|
-
const fs = require('node:fs');
|
|
10
|
-
const os = require('node:os');
|
|
11
|
-
const fsExtra = require('fs-extra');
|
|
12
|
-
const clack = require('@clack/prompts');
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @param {string}
|
|
19
|
-
* @
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
path.join(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
path.join(
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
1
|
+
/**
|
|
2
|
+
* BMAD+ Memory Initialization Module
|
|
3
|
+
* Extracted from install.js — initializes brain with existing brain detection.
|
|
4
|
+
*
|
|
5
|
+
* Author: Laurent Rochetta
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const path = require('node:path');
|
|
9
|
+
const fs = require('node:fs');
|
|
10
|
+
const os = require('node:os');
|
|
11
|
+
const fsExtra = require('fs-extra');
|
|
12
|
+
const clack = require('@clack/prompts');
|
|
13
|
+
const { projectHash } = require('./path-hash');
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* True when `p` exists AND is a directory. A stray *file* named `_brain` (or a
|
|
17
|
+
* file-valued BMAD_PLUS_BRAIN) must never be linked as a brain.
|
|
18
|
+
* @param {string} p
|
|
19
|
+
* @returns {boolean}
|
|
20
|
+
*/
|
|
21
|
+
function isBrainCandidateDir(p) {
|
|
22
|
+
try {
|
|
23
|
+
return fs.statSync(p).isDirectory();
|
|
24
|
+
} catch {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Resolve the brain directory a project should link to.
|
|
31
|
+
*
|
|
32
|
+
* Priority order:
|
|
33
|
+
* 1. `BMAD_PLUS_BRAIN` env var — explicit override, wins everywhere
|
|
34
|
+
* 2. A `_brain/` directory in the project dir or any ancestor (portfolio brain
|
|
35
|
+
* shared by sibling projects under a common workspace root)
|
|
36
|
+
* 3. `<home>/.bmad-plus/brain` — BMAD+ global brain
|
|
37
|
+
* 4. `<home>/.claude/memory` — Claude Code persistent memory, only when it is
|
|
38
|
+
* a non-empty directory (an empty shell is not evidence of a real memory)
|
|
39
|
+
*
|
|
40
|
+
* @param {string} projectDir - Absolute path of the target project
|
|
41
|
+
* @param {string} [homeDir] - Home directory (injectable for tests; defaults to os.homedir())
|
|
42
|
+
* @returns {{dir: string, type: 'portfolio'|'bmad-global'|'claude-memory'}|null}
|
|
43
|
+
*/
|
|
44
|
+
function resolveBrain(projectDir, homeDir = os.homedir()) {
|
|
45
|
+
const envBrain = process.env.BMAD_PLUS_BRAIN;
|
|
46
|
+
if (envBrain) {
|
|
47
|
+
if (isBrainCandidateDir(envBrain)) return { dir: envBrain, type: 'portfolio' };
|
|
48
|
+
clack.log.warn(`BMAD_PLUS_BRAIN is set but is not a directory: ${envBrain} — falling back to auto-detection`);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
let dir = path.resolve(projectDir);
|
|
52
|
+
for (;;) {
|
|
53
|
+
const candidate = path.join(dir, '_brain');
|
|
54
|
+
if (isBrainCandidateDir(candidate)) return { dir: candidate, type: 'portfolio' };
|
|
55
|
+
const parent = path.dirname(dir);
|
|
56
|
+
if (parent === dir) break;
|
|
57
|
+
dir = parent;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const globalBrain = path.join(homeDir, '.bmad-plus', 'brain');
|
|
61
|
+
if (isBrainCandidateDir(globalBrain)) return { dir: globalBrain, type: 'bmad-global' };
|
|
62
|
+
|
|
63
|
+
const claudeMemory = path.join(homeDir, '.claude', 'memory');
|
|
64
|
+
if (isBrainCandidateDir(claudeMemory)) {
|
|
65
|
+
let entries;
|
|
66
|
+
try {
|
|
67
|
+
entries = fs.readdirSync(claudeMemory);
|
|
68
|
+
} catch {
|
|
69
|
+
entries = [];
|
|
70
|
+
}
|
|
71
|
+
if (entries.length > 0) return { dir: claudeMemory, type: 'claude-memory' };
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Idempotently ensure the global brain is COMPLETE: identity.yaml, the global
|
|
79
|
+
* memory files, and projects/. Creates only what is missing, never overwrites.
|
|
80
|
+
*
|
|
81
|
+
* This must run before ANY write into the global brain: older versions wrote
|
|
82
|
+
* the projects/ index unconditionally while identity creation lived in a
|
|
83
|
+
* branch that was skipped whenever any brain was detected — leaving a
|
|
84
|
+
* permanent "half brain" (projects/ but no identity.yaml) that resolveBrain
|
|
85
|
+
* then detected as a valid global brain forever.
|
|
86
|
+
*
|
|
87
|
+
* @param {string} brainRoot - Path to <home>/.bmad-plus/brain
|
|
88
|
+
* @param {string} templateDir - Path to pack-memory templates
|
|
89
|
+
* @param {string} userName - User display name (identity.yaml)
|
|
90
|
+
* @param {string} commLang - Communication language (identity.yaml)
|
|
91
|
+
* @returns {void}
|
|
92
|
+
*/
|
|
93
|
+
function ensureGlobalBrain(brainRoot, templateDir, userName, commLang) {
|
|
94
|
+
fsExtra.ensureDirSync(path.join(brainRoot, 'projects'));
|
|
95
|
+
|
|
96
|
+
const identitySrc = path.join(templateDir, 'identity.yaml');
|
|
97
|
+
const identityDest = path.join(brainRoot, 'identity.yaml');
|
|
98
|
+
if (fs.existsSync(identitySrc) && !fs.existsSync(identityDest)) {
|
|
99
|
+
let content = fs.readFileSync(identitySrc, 'utf8');
|
|
100
|
+
content = content.replace(/\{\{user_name\}\}/g, userName);
|
|
101
|
+
content = content.replace(/\{\{language\}\}/g, commLang);
|
|
102
|
+
content = content.replace(/\{\{date\}\}/g, new Date().toISOString().slice(0, 10));
|
|
103
|
+
fs.writeFileSync(identityDest, content, 'utf8');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
for (const gf of ['decisions.md', 'lessons.md', 'patterns.md']) {
|
|
107
|
+
const dest = path.join(brainRoot, gf);
|
|
108
|
+
if (!fs.existsSync(dest)) {
|
|
109
|
+
const src = path.join(templateDir, gf);
|
|
110
|
+
if (fs.existsSync(src)) {
|
|
111
|
+
let content = fs.readFileSync(src, 'utf8');
|
|
112
|
+
content = content.replace(/\{\{date\}\}/g, new Date().toISOString().slice(0, 10));
|
|
113
|
+
content = content.replace(/\{\{project_name\}\}/g, 'Global Brain');
|
|
114
|
+
fs.writeFileSync(dest, content, 'utf8');
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Initialize the memory pack: create project memory files, detect or create global brain.
|
|
122
|
+
*
|
|
123
|
+
* @param {object} opts
|
|
124
|
+
* @param {string} opts.projectDir - Target project directory
|
|
125
|
+
* @param {string} opts.bmadSrc - Path to src/bmad-plus/
|
|
126
|
+
* @param {string} opts.userName - User display name
|
|
127
|
+
* @param {string} opts.commLang - Communication language
|
|
128
|
+
* @param {string[]} opts.selectedPacks - Array of pack IDs being installed
|
|
129
|
+
* @param {string} [opts.homeDir] - Home directory (injectable for tests; defaults to os.homedir())
|
|
130
|
+
* @returns {void}
|
|
131
|
+
*/
|
|
132
|
+
function initMemory({ projectDir, bmadSrc, userName, commLang, selectedPacks, homeDir = os.homedir() }) {
|
|
133
|
+
const memoryDir = path.join(projectDir, '.agents', 'memory');
|
|
134
|
+
const sessionsDir = path.join(memoryDir, 'sessions');
|
|
135
|
+
const globalBrainRoot = path.join(homeDir, '.bmad-plus', 'brain');
|
|
136
|
+
const templateDir = path.join(bmadSrc, 'packs', 'pack-memory', 'templates');
|
|
137
|
+
|
|
138
|
+
// Create project memory (never overwrite existing)
|
|
139
|
+
fsExtra.ensureDirSync(sessionsDir);
|
|
140
|
+
const memoryFiles = ['decisions.md', 'lessons.md', 'patterns.md', 'context.md'];
|
|
141
|
+
for (const mf of memoryFiles) {
|
|
142
|
+
const dest = path.join(memoryDir, mf);
|
|
143
|
+
if (!fs.existsSync(dest)) {
|
|
144
|
+
const src = path.join(templateDir, mf);
|
|
145
|
+
if (fs.existsSync(src)) {
|
|
146
|
+
let content = fs.readFileSync(src, 'utf8');
|
|
147
|
+
content = content.replace(/\{\{date\}\}/g, new Date().toISOString().slice(0, 10));
|
|
148
|
+
content = content.replace(/\{\{project_name\}\}/g, path.basename(projectDir));
|
|
149
|
+
content = content.replace(/\{\{project_path\}\}/g, projectDir);
|
|
150
|
+
fs.writeFileSync(dest, content, 'utf8');
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// Detect existing brain (env var > portfolio _brain walk-up > global > claude)
|
|
156
|
+
const detected = resolveBrain(projectDir, homeDir);
|
|
157
|
+
|
|
158
|
+
let linkedBrain;
|
|
159
|
+
if (detected) {
|
|
160
|
+
clack.log.info(`🧠 Existing brain detected (${detected.type}): ${detected.dir}`);
|
|
161
|
+
linkedBrain = detected;
|
|
162
|
+
} else {
|
|
163
|
+
ensureGlobalBrain(globalBrainRoot, templateDir, userName, commLang);
|
|
164
|
+
clack.log.info(`🧠 Global brain created: ${globalBrainRoot}`);
|
|
165
|
+
linkedBrain = { dir: globalBrainRoot, type: 'bmad-global' };
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// Write the brain link pointer in EVERY case — including first-ever creation,
|
|
169
|
+
// so a fresh machine's first install is linked exactly like the second one.
|
|
170
|
+
fs.writeFileSync(
|
|
171
|
+
path.join(memoryDir, '.brain-link'),
|
|
172
|
+
JSON.stringify(
|
|
173
|
+
{ linked_brain: linkedBrain.dir, brain_type: linkedBrain.type, linked_at: new Date().toISOString() },
|
|
174
|
+
null,
|
|
175
|
+
2
|
|
176
|
+
),
|
|
177
|
+
'utf8'
|
|
178
|
+
);
|
|
179
|
+
|
|
180
|
+
// Index this project in the global brain — only when the global brain IS the
|
|
181
|
+
// linked brain. Portfolio and claude-memory brains keep their own registries
|
|
182
|
+
// (see pack-memory/shared/memory-protocol.md); writing into ~/.bmad-plus from
|
|
183
|
+
// those installs is what used to create orphaned "half brains".
|
|
184
|
+
if (linkedBrain.type === 'bmad-global') {
|
|
185
|
+
ensureGlobalBrain(globalBrainRoot, templateDir, userName, commLang);
|
|
186
|
+
const projHash = projectHash(projectDir);
|
|
187
|
+
const projMeta = {
|
|
188
|
+
path: projectDir,
|
|
189
|
+
name: path.basename(projectDir),
|
|
190
|
+
hash: projHash,
|
|
191
|
+
status: 'active',
|
|
192
|
+
bmad_installed: true,
|
|
193
|
+
packs_installed: selectedPacks,
|
|
194
|
+
last_scanned: new Date().toISOString().slice(0, 10),
|
|
195
|
+
};
|
|
196
|
+
fs.writeFileSync(
|
|
197
|
+
path.join(globalBrainRoot, 'projects', `${projHash}.yaml`),
|
|
198
|
+
Object.entries(projMeta).map(([k, v]) => `${k}: ${JSON.stringify(v)}`).join('\n'),
|
|
199
|
+
'utf8'
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
module.exports = { initMemory, resolveBrain, ensureGlobalBrain };
|
|
Binary file
|
package/tools/cli/lib/packs.js
CHANGED
|
@@ -1,122 +1,209 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BMAD+ Shared PACKS Module
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
skills: [],
|
|
63
|
-
packDir:
|
|
64
|
-
packSrcDir:
|
|
65
|
-
desc:
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
name:
|
|
69
|
-
icon:
|
|
70
|
-
agents: [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
1
|
+
/**
|
|
2
|
+
* BMAD+ Shared PACKS Module — AUTO-GENERATED, DO NOT EDIT.
|
|
3
|
+
* Source of truth: registry.yaml (repo root).
|
|
4
|
+
* Regenerate: node tools/build/generate.js --out tools/cli/lib/packs.js
|
|
5
|
+
*
|
|
6
|
+
* Author: Laurent Rochetta
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
const PACKS = {
|
|
10
|
+
"core": {
|
|
11
|
+
"name": "Core",
|
|
12
|
+
"icon": "b",
|
|
13
|
+
"agents": [
|
|
14
|
+
"agent-strategist",
|
|
15
|
+
"agent-architect-dev",
|
|
16
|
+
"agent-quality",
|
|
17
|
+
"agent-orchestrator"
|
|
18
|
+
],
|
|
19
|
+
"skills": [
|
|
20
|
+
"bmad-plus-autopilot",
|
|
21
|
+
"bmad-plus-parallel",
|
|
22
|
+
"bmad-plus-sync"
|
|
23
|
+
],
|
|
24
|
+
"data": [
|
|
25
|
+
"role-triggers.yaml"
|
|
26
|
+
],
|
|
27
|
+
"packDir": "pack-core",
|
|
28
|
+
"packSrcDir": "packs",
|
|
29
|
+
"required": true,
|
|
30
|
+
"desc": "Core agents & skills"
|
|
31
|
+
},
|
|
32
|
+
"osint": {
|
|
33
|
+
"name": "OSINT",
|
|
34
|
+
"icon": "j",
|
|
35
|
+
"agents": [
|
|
36
|
+
"agent-shadow"
|
|
37
|
+
],
|
|
38
|
+
"skills": [],
|
|
39
|
+
"externalPackage": "osint-agent-package",
|
|
40
|
+
"packDir": "pack-osint",
|
|
41
|
+
"packSrcDir": "packs",
|
|
42
|
+
"desc": "OSINT & investigation"
|
|
43
|
+
},
|
|
44
|
+
"maker": {
|
|
45
|
+
"name": "Maker",
|
|
46
|
+
"icon": "f",
|
|
47
|
+
"agents": [
|
|
48
|
+
"agent-maker"
|
|
49
|
+
],
|
|
50
|
+
"skills": [],
|
|
51
|
+
"data": [],
|
|
52
|
+
"packDir": "pack-maker",
|
|
53
|
+
"packSrcDir": "packs",
|
|
54
|
+
"desc": "Agent creation toolkit"
|
|
55
|
+
},
|
|
56
|
+
"shield": {
|
|
57
|
+
"name": "Shield",
|
|
58
|
+
"icon": "m",
|
|
59
|
+
"agents": [
|
|
60
|
+
"shield-orchestrator"
|
|
61
|
+
],
|
|
62
|
+
"skills": [],
|
|
63
|
+
"packDir": "pack-shield",
|
|
64
|
+
"packSrcDir": "packs",
|
|
65
|
+
"desc": "GRC compliance (25+ frameworks)"
|
|
66
|
+
},
|
|
67
|
+
"seo": {
|
|
68
|
+
"name": "SEO",
|
|
69
|
+
"icon": "k",
|
|
70
|
+
"agents": [
|
|
71
|
+
"seo-scout",
|
|
72
|
+
"seo-chief",
|
|
73
|
+
"seo-judge"
|
|
74
|
+
],
|
|
75
|
+
"skills": [],
|
|
76
|
+
"packDir": "pack-seo",
|
|
77
|
+
"packSrcDir": "packs",
|
|
78
|
+
"desc": "SEO audit & optimization"
|
|
79
|
+
},
|
|
80
|
+
"memory": {
|
|
81
|
+
"name": "Memory",
|
|
82
|
+
"icon": "x",
|
|
83
|
+
"agents": [
|
|
84
|
+
"zecher"
|
|
85
|
+
],
|
|
86
|
+
"skills": [],
|
|
87
|
+
"packDir": "pack-memory",
|
|
88
|
+
"packSrcDir": "packs",
|
|
89
|
+
"desc": "Persistent cross-session memory"
|
|
90
|
+
},
|
|
91
|
+
"dev-studio": {
|
|
92
|
+
"name": "Dev Studio",
|
|
93
|
+
"icon": "v",
|
|
94
|
+
"agents": [
|
|
95
|
+
"dev-studio-orchestrator"
|
|
96
|
+
],
|
|
97
|
+
"skills": [
|
|
98
|
+
"dev-studio"
|
|
99
|
+
],
|
|
100
|
+
"packDir": "pack-dev-studio",
|
|
101
|
+
"packSrcDir": "packs",
|
|
102
|
+
"desc": "SDLC automation (6 agents, 56+ skills)"
|
|
103
|
+
},
|
|
104
|
+
"backup": {
|
|
105
|
+
"name": "Backup",
|
|
106
|
+
"icon": "y",
|
|
107
|
+
"agents": [
|
|
108
|
+
"backup-agent"
|
|
109
|
+
],
|
|
110
|
+
"skills": [],
|
|
111
|
+
"packDir": "pack-backup",
|
|
112
|
+
"packSrcDir": "packs",
|
|
113
|
+
"desc": "Backup & restore"
|
|
114
|
+
},
|
|
115
|
+
"animated": {
|
|
116
|
+
"name": "Animated",
|
|
117
|
+
"icon": "z",
|
|
118
|
+
"agents": [
|
|
119
|
+
"animated-website-agent"
|
|
120
|
+
],
|
|
121
|
+
"skills": [],
|
|
122
|
+
"packDir": "pack-animated",
|
|
123
|
+
"packSrcDir": "packs",
|
|
124
|
+
"desc": "Animated website agents"
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
const PACK_ORDER = [
|
|
129
|
+
"core",
|
|
130
|
+
"osint",
|
|
131
|
+
"maker",
|
|
132
|
+
"shield",
|
|
133
|
+
"seo",
|
|
134
|
+
"memory",
|
|
135
|
+
"dev-studio",
|
|
136
|
+
"backup",
|
|
137
|
+
"animated"
|
|
138
|
+
];
|
|
139
|
+
|
|
140
|
+
const EXPECTED_AGENTS = {
|
|
141
|
+
"core": {
|
|
142
|
+
"agents": [
|
|
143
|
+
"agent-strategist",
|
|
144
|
+
"agent-architect-dev",
|
|
145
|
+
"agent-quality",
|
|
146
|
+
"agent-orchestrator"
|
|
147
|
+
],
|
|
148
|
+
"packDir": null
|
|
149
|
+
},
|
|
150
|
+
"osint": {
|
|
151
|
+
"agents": [
|
|
152
|
+
"agent-shadow"
|
|
153
|
+
],
|
|
154
|
+
"packDir": null
|
|
155
|
+
},
|
|
156
|
+
"maker": {
|
|
157
|
+
"agents": [
|
|
158
|
+
"agent-maker"
|
|
159
|
+
],
|
|
160
|
+
"packDir": null
|
|
161
|
+
},
|
|
162
|
+
"shield": {
|
|
163
|
+
"agents": [],
|
|
164
|
+
"packDir": "pack-shield",
|
|
165
|
+
"packAgents": [
|
|
166
|
+
"shield-orchestrator.md"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"seo": {
|
|
170
|
+
"agents": [],
|
|
171
|
+
"packDir": "pack-seo",
|
|
172
|
+
"packAgents": [
|
|
173
|
+
"seo-scout.md",
|
|
174
|
+
"seo-chief.md",
|
|
175
|
+
"seo-judge.md"
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"memory": {
|
|
179
|
+
"agents": [],
|
|
180
|
+
"packDir": "pack-memory",
|
|
181
|
+
"packAgents": [
|
|
182
|
+
"zecher-agent.md",
|
|
183
|
+
"memory-orchestrator.md"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"dev-studio": {
|
|
187
|
+
"agents": [],
|
|
188
|
+
"packDir": "pack-dev-studio",
|
|
189
|
+
"packAgents": [
|
|
190
|
+
"dev-studio-orchestrator.md"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"backup": {
|
|
194
|
+
"agents": [],
|
|
195
|
+
"packDir": "pack-backup",
|
|
196
|
+
"packAgents": [
|
|
197
|
+
"backup-agent.md"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"animated": {
|
|
201
|
+
"agents": [],
|
|
202
|
+
"packDir": "pack-animated",
|
|
203
|
+
"packAgents": [
|
|
204
|
+
"animated-website-agent.md"
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
module.exports = { PACKS, PACK_ORDER, EXPECTED_AGENTS };
|