atris 3.82.19 → 3.82.20
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/lib/runs-on.js +4 -1
- package/package.json +1 -1
package/lib/runs-on.js
CHANGED
|
@@ -44,7 +44,10 @@ function machineName() {
|
|
|
44
44
|
if (process.env.ATRIS_MACHINE_NAME) name = process.env.ATRIS_MACHINE_NAME;
|
|
45
45
|
if (!name && process.platform === 'darwin') {
|
|
46
46
|
try {
|
|
47
|
-
|
|
47
|
+
// scheduled jobs often run without /usr/sbin on PATH, so call it by its
|
|
48
|
+
// full path; otherwise a job would see the network name instead
|
|
49
|
+
const scutil = require('fs').existsSync('/usr/sbin/scutil') ? '/usr/sbin/scutil' : 'scutil';
|
|
50
|
+
name = execFileSync(scutil, ['--get', 'ComputerName'], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'], timeout: 2000 }).trim();
|
|
48
51
|
} catch { name = ''; }
|
|
49
52
|
}
|
|
50
53
|
if (!name) name = String(os.hostname() || '').replace(/\.local$/i, '');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "atris",
|
|
3
|
-
"version": "3.82.
|
|
3
|
+
"version": "3.82.20",
|
|
4
4
|
"description": "you say what you want in plain words. atris builds it, checks it, and shows you proof. project memory your coding agents share across sessions.",
|
|
5
5
|
"mcpName": "io.github.atrislabs/atris",
|
|
6
6
|
"main": "bin/atris.js",
|