@yemi33/minions 0.1.411 → 0.1.412
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/dashboard.js +5 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard.js
CHANGED
|
@@ -179,12 +179,13 @@ async function checkNpmVersion() {
|
|
|
179
179
|
const now = Date.now();
|
|
180
180
|
if (_npmVersionCache && (now - _npmVersionCacheTs) < NPM_CHECK_INTERVAL) return _npmVersionCache;
|
|
181
181
|
try {
|
|
182
|
-
// Use npm view — respects user's .npmrc proxy/registry config
|
|
182
|
+
// Use npm view — respects user's .npmrc proxy/registry config
|
|
183
|
+
// Resolve npm path from Node binary location — detached processes may not have PATH
|
|
183
184
|
const { execFile } = require('child_process');
|
|
184
|
-
|
|
185
|
-
const
|
|
185
|
+
const nodeDir = require('path').dirname(process.execPath);
|
|
186
|
+
const npmPath = require('path').join(nodeDir, process.platform === 'win32' ? 'npm.cmd' : 'npm');
|
|
186
187
|
const version = await new Promise((resolve, reject) => {
|
|
187
|
-
execFile(
|
|
188
|
+
execFile(npmPath, ['view', PKG_NAME, 'version'], { timeout: 15000, windowsHide: true }, (err, stdout) => {
|
|
188
189
|
if (err) reject(err); else resolve((stdout || '').trim());
|
|
189
190
|
});
|
|
190
191
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.412",
|
|
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"
|