convoke-agents 2.0.1 โ 2.1.0
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
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Agent teams for complex systems
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
[](https://github.com/amalik/convoke-agents)
|
|
14
14
|
[](LICENSE)
|
|
15
15
|
|
|
16
16
|
</div>
|
|
@@ -155,7 +155,19 @@ Open `_bmad/bme/_vortex/config.yaml` and replace `{user}` with your name. Agents
|
|
|
155
155
|
|
|
156
156
|
#### Activate an Agent
|
|
157
157
|
|
|
158
|
-
**Claude Code
|
|
158
|
+
**Claude Code (slash commands)**
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
/bmad-agent-bme-contextualization-expert # Emma ๐ฏ
|
|
162
|
+
/bmad-agent-bme-discovery-empathy-expert # Isla ๐
|
|
163
|
+
/bmad-agent-bme-research-convergence-specialist # Mila ๐ฌ
|
|
164
|
+
/bmad-agent-bme-hypothesis-engineer # Liam ๐ก
|
|
165
|
+
/bmad-agent-bme-lean-experiments-specialist # Wade ๐งช
|
|
166
|
+
/bmad-agent-bme-production-intelligence-specialist # Noah ๐ก
|
|
167
|
+
/bmad-agent-bme-learning-decision-expert # Max ๐งญ
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
**Claude Code (terminal) / Other AI assistants**
|
|
159
171
|
|
|
160
172
|
```bash
|
|
161
173
|
cat _bmad/bme/_vortex/agents/contextualization-expert.md # Emma ๐ฏ
|
package/package.json
CHANGED
|
@@ -132,6 +132,7 @@ function verifyInstallation(projectRoot) {
|
|
|
132
132
|
|
|
133
133
|
const checks = [
|
|
134
134
|
...AGENTS.map(a => ({ path: `_bmad/bme/_vortex/agents/${a.id}.md`, name: `${a.name} agent file` })),
|
|
135
|
+
...AGENTS.map(a => ({ path: `.claude/commands/bmad-agent-bme-${a.id}.md`, name: `${a.name} slash command` })),
|
|
135
136
|
{ path: '_bmad/bme/_vortex/config.yaml', name: 'Configuration file' },
|
|
136
137
|
];
|
|
137
138
|
|
|
@@ -174,11 +175,14 @@ function printSuccess() {
|
|
|
174
175
|
console.log(` ${YELLOW}1.${RESET} Personalize your config:`);
|
|
175
176
|
console.log(` Edit ${CYAN}_bmad/bme/_vortex/config.yaml${RESET} and replace ${YELLOW}{user}${RESET} with your name`);
|
|
176
177
|
console.log('');
|
|
177
|
-
console.log(` ${YELLOW}2.${RESET} Activate an agent
|
|
178
|
+
console.log(` ${YELLOW}2.${RESET} Activate an agent with a slash command (Claude Code):`);
|
|
178
179
|
for (const agent of AGENTS) {
|
|
179
|
-
console.log(` ${CYAN}
|
|
180
|
+
console.log(` ${CYAN}/bmad-agent-bme-${agent.id}${RESET} (${agent.name})`);
|
|
180
181
|
}
|
|
181
182
|
console.log('');
|
|
183
|
+
console.log(` ${YELLOW}3.${RESET} Or read the agent file directly:`);
|
|
184
|
+
console.log(` ${CYAN}cat _bmad/bme/_vortex/agents/{agent-id}.md${RESET}`);
|
|
185
|
+
console.log('');
|
|
182
186
|
}
|
|
183
187
|
|
|
184
188
|
async function main() {
|
|
@@ -171,6 +171,44 @@ async function refreshInstallation(projectRoot, options = {}) {
|
|
|
171
171
|
if (verbose) console.log(' Skipped guide copy (dev environment)');
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
+
// 6. Generate .claude/commands/ slash command files for each agent
|
|
175
|
+
const commandsTarget = path.join(projectRoot, '.claude', 'commands');
|
|
176
|
+
await fs.ensureDir(commandsTarget);
|
|
177
|
+
|
|
178
|
+
// Remove deprecated command files (agents no longer in registry)
|
|
179
|
+
const currentCommandFiles = new Set(AGENTS.map(a => `bmad-agent-bme-${a.id}.md`));
|
|
180
|
+
const existingCommands = (await fs.readdir(commandsTarget)).filter(f => f.startsWith('bmad-agent-bme-'));
|
|
181
|
+
for (const file of existingCommands) {
|
|
182
|
+
if (!currentCommandFiles.has(file)) {
|
|
183
|
+
await fs.remove(path.join(commandsTarget, file));
|
|
184
|
+
changes.push(`Removed deprecated command: ${file}`);
|
|
185
|
+
if (verbose) console.log(` Removed deprecated command: ${file}`);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
for (const agent of AGENTS) {
|
|
190
|
+
const filename = `bmad-agent-bme-${agent.id}.md`;
|
|
191
|
+
const content = `---
|
|
192
|
+
name: '${agent.id}'
|
|
193
|
+
description: '${agent.id} agent'
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
|
197
|
+
|
|
198
|
+
<agent-activation CRITICAL="TRUE">
|
|
199
|
+
1. LOAD the FULL agent file from {project-root}/_bmad/bme/_vortex/agents/${agent.id}.md
|
|
200
|
+
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
|
201
|
+
3. FOLLOW every step in the <activation> section precisely
|
|
202
|
+
4. DISPLAY the welcome/greeting as instructed
|
|
203
|
+
5. PRESENT the numbered menu
|
|
204
|
+
6. WAIT for user input before proceeding
|
|
205
|
+
</agent-activation>
|
|
206
|
+
`;
|
|
207
|
+
await fs.writeFile(path.join(commandsTarget, filename), content, 'utf8');
|
|
208
|
+
changes.push(`Refreshed command: ${filename}`);
|
|
209
|
+
if (verbose) console.log(` Refreshed command: ${filename}`);
|
|
210
|
+
}
|
|
211
|
+
|
|
174
212
|
return changes;
|
|
175
213
|
}
|
|
176
214
|
|