@yemi33/minions 0.1.481 → 0.1.482

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.481 (2026-04-07)
3
+ ## 0.1.482 (2026-04-07)
4
4
 
5
5
  ### Features
6
6
  - file bugs as GitHub issues from CC or doc-chat
@@ -13,6 +13,7 @@
13
13
  - Limit SSE initial live-stream payload to last 64KB
14
14
 
15
15
  ### Fixes
16
+ - bug filing targets minions repo, not user's project
16
17
  - stamp dispatched_to on already-dispatched early-exit path
17
18
  - add optional chaining for config.agents in updatePrAfterReview
18
19
  - pass config to updatePrAfterReview to fix test failure
package/dashboard.js CHANGED
@@ -576,7 +576,7 @@ Available action types:
576
576
  - **link-pr**: Link an external PR for tracking. Fields: url (PR URL), title (optional), project (optional), autoObserve (bool, default true)
577
577
  - **archive-meeting**: Archive a completed meeting. Fields: id (meeting ID)
578
578
  - **update-routing**: Update the routing table. Fields: content (full routing.md content)
579
- - **file-bug**: File a bug as a GitHub issue on the project repo. Fields: title (short bug title), description (markdown body with repro steps, expected vs actual behavior), project (optional, defaults to first project), labels (optional array, defaults to ["bug"]). Use when the user says "file a bug", "create an issue", "report this", etc.
579
+ - **file-bug**: File a bug on the Minions repo (yemi33/minions). Fields: title (short bug title), description (markdown body with repro steps, expected vs actual behavior), labels (optional array, defaults to ["bug"]). Use when the user says "file a bug", "create an issue", "report this", etc. This is for bugs in Minions itself, not the user's project.
580
580
 
581
581
  ## Rules
582
582
 
@@ -3189,15 +3189,12 @@ What would you like to discuss or change? When you're happy, say "approve" and I
3189
3189
  try {
3190
3190
  const body = await readBody(req);
3191
3191
  if (!body.title) return jsonReply(res, 400, { error: 'title required' });
3192
- const project = shared.getProjects(CONFIG).find(p => body.project ? p.name === body.project : true);
3193
- if (!project) return jsonReply(res, 400, { error: 'no project found' });
3194
3192
 
3193
+ const repo = 'yemi33/minions';
3195
3194
  const labels = (body.labels || ['bug']).join(',');
3196
3195
  const bugBody = (body.description || '') + '\n\n---\n_Filed via Minions dashboard_';
3197
- const slug = project.repoHost === 'github' ? `${project.adoOrg}/${project.repoName}` : null;
3198
- if (!slug) return jsonReply(res, 400, { error: 'Bug filing currently supports GitHub repos only' });
3199
3196
 
3200
- const cmd = `gh issue create --repo "${slug}" --title "${body.title.replace(/"/g, '\\"')}" --body "${bugBody.replace(/"/g, '\\"')}" --label "${labels}" 2>&1`;
3197
+ const cmd = `gh issue create --repo "${repo}" --title "${body.title.replace(/"/g, '\\"')}" --body "${bugBody.replace(/"/g, '\\"')}" --label "${labels}" 2>&1`;
3201
3198
  const result = shared.exec(cmd, { encoding: 'utf-8', timeout: 30000, windowsHide: true });
3202
3199
  const urlMatch = result.match(/https:\/\/github\.com\/\S+/);
3203
3200
  return jsonReply(res, 200, { ok: true, url: urlMatch ? urlMatch[0] : null, output: result.trim() });
@@ -3898,7 +3895,7 @@ What would you like to discuss or change? When you're happy, say "approve" and I
3898
3895
  { method: 'POST', path: '/api/projects/add', desc: 'Auto-discover and add a project to config', params: 'path, name?', handler: handleProjectsAdd },
3899
3896
 
3900
3897
  // Bug Filing
3901
- { method: 'POST', path: '/api/issues/create', desc: 'File a bug as a GitHub issue', params: 'title, description?, project?, labels?', handler: handleFileBug },
3898
+ { method: 'POST', path: '/api/issues/create', desc: 'File a bug on the Minions repo (yemi33/minions)', params: 'title, description?, labels?', handler: handleFileBug },
3902
3899
 
3903
3900
  // Command Center
3904
3901
  { method: 'POST', path: '/api/command-center/new-session', desc: 'Clear active CC session', handler: handleCommandCenterNewSession },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.481",
3
+ "version": "0.1.482",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"