@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 +5 -0
- package/engine.js +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
|
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-${
|
|
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-${
|
|
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.
|
|
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"
|