@yemi33/minions 0.1.596 → 0.1.598

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,10 +1,18 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.596 (2026-04-08)
3
+ ## 0.1.598 (2026-04-08)
4
+
5
+ ### Fixes
6
+ - worktree count always 0 — used nonexistent queries.getProjects
7
+
8
+ ## 0.1.597 (2026-04-08)
4
9
 
5
10
  ### Features
6
11
  - per-type max-turns configurable from settings page
7
12
 
13
+ ### Fixes
14
+ - filter test categories from LLM Call Performance tile
15
+
8
16
  ## 0.1.595 (2026-04-08)
9
17
 
10
18
  ### Features
@@ -102,7 +102,7 @@ function renderLlmPerf(metrics) {
102
102
  return;
103
103
  }
104
104
  let html = '<table class="pr-table"><thead><tr><th>Call Type</th><th>Calls</th><th>Total Time</th><th>Avg Time</th><th>Cost</th></tr></thead><tbody>';
105
- const entries = Object.entries(engine).sort((a, b) => (b[1].calls || 0) - (a[1].calls || 0));
105
+ const entries = Object.entries(engine).filter(([k]) => !k.startsWith('test')).sort((a, b) => (b[1].calls || 0) - (a[1].calls || 0));
106
106
  for (const [type, m] of entries) {
107
107
  const calls = m.calls || 0;
108
108
  const totalMs = m.totalDurationMs || 0;
package/dashboard.js CHANGED
@@ -170,7 +170,7 @@ function getEngineState() { return queries.getControl(); }
170
170
  function _countWorktrees() {
171
171
  try {
172
172
  const config = queries.getConfig();
173
- const projects = queries.getProjects(config);
173
+ const projects = shared.getProjects(config);
174
174
  let count = 0;
175
175
  for (const p of projects) {
176
176
  const root = p.localPath ? path.resolve(p.localPath) : null;
@@ -1696,7 +1696,7 @@ Respond with ONLY valid JSON: { "duplicates": [{ "keep": N, "remove": [N], "reas
1696
1696
  If nothing to do: { "duplicates": [], "reclassify": [], "remove": [] }`;
1697
1697
 
1698
1698
  const result = await callLLM(prompt, 'Output only JSON.', {
1699
- timeout: 120000, label: 'kb-sweep', model: 'haiku', maxTurns: 1
1699
+ timeout: 120000, label: 'kb-sweep', model: 'haiku', maxTurns: 1, direct: true
1700
1700
  });
1701
1701
  trackEngineUsage('kb-sweep', result.usage);
1702
1702
 
@@ -3400,7 +3400,7 @@ What would you like to discuss or change? When you're happy, say "approve" and I
3400
3400
 
3401
3401
  const prompt = `Convert this schedule description to a 3-field cron expression (minute hour dayOfWeek, where dayOfWeek is 0=Sun..6=Sat or ranges like 1-5). Return JSON only: {"cron": "...", "description": "..."}. Input: ${text.trim()}`;
3402
3402
  try {
3403
- const result = await llm.callLLM(prompt, '', { model: 'haiku', maxTurns: 1, timeout: 30000, label: 'schedule-parse' });
3403
+ const result = await llm.callLLM(prompt, '', { model: 'haiku', maxTurns: 1, timeout: 30000, label: 'schedule-parse', direct: true });
3404
3404
  const parsed = JSON.parse(result.text.trim());
3405
3405
  if (!parsed.cron) return jsonReply(res, 422, { error: 'Could not parse schedule' });
3406
3406
  return jsonReply(res, 200, { cron: parsed.cron, description: parsed.description || '' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.596",
3
+ "version": "0.1.598",
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"