@yemi33/minions 0.1.543 → 0.1.544

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,6 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.543 (2026-04-07)
3
+ ## 0.1.544 (2026-04-07)
4
+
5
+ ### Features
6
+ - remove inline require('fs') calls from engine/shared.js (#463)
4
7
 
5
8
  ### Fixes
6
9
  - await checkLiveReviewStatus in pre-dispatch vote check (closes #462) (#469)
package/engine/shared.js CHANGED
@@ -600,7 +600,7 @@ function projectRoot(project) {
600
600
  function projectStateDir(project) {
601
601
  const name = project.name || path.basename(project.localPath);
602
602
  const dir = path.join(MINIONS_DIR, 'projects', name);
603
- if (!require('fs').existsSync(dir)) require('fs').mkdirSync(dir, { recursive: true });
603
+ if (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true });
604
604
  return dir;
605
605
  }
606
606
 
@@ -705,7 +705,6 @@ function getPrLinks() {
705
705
  // Primary source: derive from all projects/*/pull-requests.json prdItems
706
706
  const projectsDir = path.join(MINIONS_DIR, 'projects');
707
707
  try {
708
- const fs = require('fs');
709
708
  for (const d of fs.readdirSync(projectsDir, { withFileTypes: true })) {
710
709
  if (!d.isDirectory()) continue;
711
710
  try {
@@ -721,7 +720,7 @@ function getPrLinks() {
721
720
  } catch { /* projects dir missing */ }
722
721
  // Fallback: static pr-links.json for entries not covered above
723
722
  try {
724
- const static_ = JSON.parse(require('fs').readFileSync(PR_LINKS_PATH, 'utf8'));
723
+ const static_ = JSON.parse(fs.readFileSync(PR_LINKS_PATH, 'utf8'));
725
724
  for (const [k, v] of Object.entries(static_)) {
726
725
  if (!links[k]) links[k] = v;
727
726
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.543",
3
+ "version": "0.1.544",
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"