@yemi33/minions 0.1.648 → 0.1.650
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 +3 -1
- package/engine/cli.js +2 -2
- package/engine/shared.js +2 -2
- package/engine.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.650 (2026-04-09)
|
|
4
4
|
|
|
5
5
|
### Fixes
|
|
6
|
+
- handle CRLF in note frontmatter parsing and injection
|
|
7
|
+
- stop dispatch.json file watcher feedback loop, increase debounce
|
|
6
8
|
- use full slug for plan matching to prevent false-positive collisions
|
|
7
9
|
|
|
8
10
|
## 0.1.647 (2026-04-09)
|
package/engine/cli.js
CHANGED
|
@@ -367,7 +367,7 @@ const commands = {
|
|
|
367
367
|
function watchForWorkChanges() {
|
|
368
368
|
const filesToWatch = [
|
|
369
369
|
path.join(MINIONS_DIR, 'work-items.json'),
|
|
370
|
-
|
|
370
|
+
// dispatch.json excluded — it changes every tick, causing a feedback loop
|
|
371
371
|
];
|
|
372
372
|
// Watch project-specific work-items.json
|
|
373
373
|
const { getProjects } = require('./shared');
|
|
@@ -393,7 +393,7 @@ const commands = {
|
|
|
393
393
|
_globalDebounce = null;
|
|
394
394
|
e.log('info', `File change detected — triggering tick`);
|
|
395
395
|
e.tick();
|
|
396
|
-
},
|
|
396
|
+
}, 5000);
|
|
397
397
|
});
|
|
398
398
|
} catch { /* optional */ }
|
|
399
399
|
}
|
package/engine/shared.js
CHANGED
|
@@ -291,7 +291,7 @@ function uniquePath(filePath) {
|
|
|
291
291
|
*/
|
|
292
292
|
function parseNoteId(content) {
|
|
293
293
|
if (!content) return null;
|
|
294
|
-
const m = content.match(
|
|
294
|
+
const m = content.match(/^---[\r\n]+[\s\S]*?id:\s*(NOTE-\w+)[\s\S]*?---/);
|
|
295
295
|
return m ? m[1] : null;
|
|
296
296
|
}
|
|
297
297
|
|
|
@@ -305,7 +305,7 @@ function writeToInbox(agentId, slug, content, _inboxDir) {
|
|
|
305
305
|
// Inject structured ID as YAML frontmatter if content doesn't already have it
|
|
306
306
|
const hasFrontmatter = content.trimStart().startsWith('---');
|
|
307
307
|
const tagged = hasFrontmatter
|
|
308
|
-
? content.replace(
|
|
308
|
+
? content.replace(/^---[\r\n]+/, `---\nid: ${noteId}\n`)
|
|
309
309
|
: `---\nid: ${noteId}\nagent: ${agentId}\ndate: ${dateStamp()}\n---\n\n${content}`;
|
|
310
310
|
const filePath = path.join(inboxDir, `${prefix}.md`);
|
|
311
311
|
safeWrite(filePath, tagged);
|
package/engine.js
CHANGED
|
@@ -813,7 +813,7 @@ async function spawnAgent(dispatchItem, config) {
|
|
|
813
813
|
if (dispatchItem.meta.branch) arts.branch = dispatchItem.meta.branch;
|
|
814
814
|
if (wi._pr) arts.pr = wi._pr;
|
|
815
815
|
if (wi._prUrl) arts.prUrl = wi._prUrl;
|
|
816
|
-
if (_artNotes.length > 0) arts.notes = _artNotes
|
|
816
|
+
if (_artNotes.length > 0) arts.notes = _artNotes;
|
|
817
817
|
// Track plan/PRD artifacts from dispatch metadata
|
|
818
818
|
if (dispatchItem.meta.item?.planFile) arts.plan = dispatchItem.meta.item.planFile;
|
|
819
819
|
if (dispatchItem.meta.item?._prdFilename) arts.prd = dispatchItem.meta.item._prdFilename;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.650",
|
|
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"
|