@yemi33/minions 0.1.252 → 0.1.253

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,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.253 (2026-04-03)
4
+
5
+ ### Fixes
6
+ - sanitize dispatch ID in temp filenames for Windows compatibility
7
+
3
8
  ## 0.1.252 (2026-04-03)
4
9
 
5
10
  ### Features
package/engine.js CHANGED
@@ -431,10 +431,11 @@ function spawnAgent(dispatchItem, config) {
431
431
  // Write prompt and system prompt to temp files (avoids shell escaping issues)
432
432
  const tmpDir = path.join(ENGINE_DIR, 'tmp');
433
433
  if (!fs.existsSync(tmpDir)) fs.mkdirSync(tmpDir, { recursive: true });
434
- const promptPath = path.join(tmpDir, `prompt-${id}.md`);
434
+ const safeId = id.replace(/[:\\/*?"<>|]/g, '-');
435
+ const promptPath = path.join(tmpDir, `prompt-${safeId}.md`);
435
436
  safeWrite(promptPath, fullTaskPrompt);
436
437
 
437
- const sysPromptPath = path.join(tmpDir, `sysprompt-${id}.md`);
438
+ const sysPromptPath = path.join(tmpDir, `sysprompt-${safeId}.md`);
438
439
  safeWrite(sysPromptPath, systemPrompt);
439
440
 
440
441
  // Build claude CLI args
@@ -555,7 +556,7 @@ function spawnAgent(dispatchItem, config) {
555
556
 
556
557
  // Write new prompt with steering message
557
558
  const steerPrompt = `Message from your human teammate:\n\n${steerMsg}\n\nRespond to this, then continue working on your current task.`;
558
- const steerPromptPath = path.join(ENGINE_DIR, 'tmp', `prompt-steer-${id}.md`);
559
+ const steerPromptPath = path.join(ENGINE_DIR, 'tmp', `prompt-steer-${safeId}.md`);
559
560
  safeWrite(steerPromptPath, steerPrompt);
560
561
 
561
562
  // Build resume args
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.252",
3
+ "version": "0.1.253",
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"