@yemi33/minions 0.1.649 → 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 +2 -1
- package/engine/shared.js +2 -2
- package/engine.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
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
|
|
6
7
|
- stop dispatch.json file watcher feedback loop, increase debounce
|
|
7
8
|
- use full slug for plan matching to prevent false-positive collisions
|
|
8
9
|
|
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"
|