@yemi33/minions 0.1.1543 → 0.1.1544

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.1544 (2026-04-21)
4
+
5
+ ### Other
6
+ - test(meeting): add unit tests for meeting lifecycle functions (#1736)
7
+
3
8
  ## 0.1.1543 (2026-04-20)
4
9
 
5
10
  ### Other
package/engine/meeting.js CHANGED
@@ -16,7 +16,9 @@ const EMPTY_OUTPUT_PATTERNS = ['(no output)', '(no findings)', '(no response)'];
16
16
 
17
17
  // No lazy require needed — log comes from shared.js, no engine-specific APIs used
18
18
 
19
- const MEETINGS_DIR = path.join(__dirname, '..', 'meetings');
19
+ // Derive from shared.MINIONS_DIR so createTestMinionsDir()/MINIONS_TEST_DIR
20
+ // tests can redirect the meetings directory without patching module internals.
21
+ const MEETINGS_DIR = path.join(shared.MINIONS_DIR, 'meetings');
20
22
 
21
23
  function truncateMeetingContext(text, maxBytes, label) {
22
24
  return shared.truncateTextBytes(text, maxBytes, `\n\n_...${label} truncated — review the meeting transcript if needed._`);
@@ -403,7 +405,7 @@ function addMeetingNote(meetingId, note) {
403
405
 
404
406
  function _killMeetingDispatches(meetingId) {
405
407
  try {
406
- const DISPATCH_PATH = path.join(__dirname, '..', 'engine', 'dispatch.json');
408
+ const DISPATCH_PATH = path.join(shared.MINIONS_DIR, 'engine', 'dispatch.json');
407
409
  const dispatch = safeJson(DISPATCH_PATH) || {};
408
410
  const toKill = (dispatch.active || []).filter(d => d.meta?.meetingId === meetingId);
409
411
  if (toKill.length === 0) return 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1543",
3
+ "version": "0.1.1544",
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"