@moxt-ai/mobius 0.0.308 → 0.0.309
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/dist/cli.js +6 -4
- package/dist/cli.js.map +2 -2
- package/dist/runtime.js +5 -3
- package/dist/runtime.js.map +2 -2
- package/dist/util/filesystem/private-path.js +4 -2
- package/dist/util/filesystem/private-path.js.map +2 -2
- package/dist/util/platform/windows.d.ts.map +1 -1
- package/dist/util/platform/windows.js +6 -2
- package/dist/util/platform/windows.js.map +1 -1
- package/dist/util/process/executable.js +4 -2
- package/dist/util/process/executable.js.map +2 -2
- package/package.json +1 -1
package/dist/runtime.js
CHANGED
|
@@ -499,6 +499,7 @@ function terminateProcess2(child, signal) {
|
|
|
499
499
|
}
|
|
500
500
|
var windowsPermissions = `
|
|
501
501
|
$ErrorActionPreference = 'Stop'
|
|
502
|
+
$ProgressPreference = 'SilentlyContinue'
|
|
502
503
|
Import-Module (Join-Path $PSHOME 'Modules/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1')
|
|
503
504
|
$item = Get-Item -LiteralPath $env:MOBIUS_PERMISSION_PATH -Force
|
|
504
505
|
if (($item.Attributes -band [IO.FileAttributes]::ReparsePoint) -ne 0) { throw 'Unsafe path' }
|
|
@@ -520,6 +521,7 @@ if ($env:MOBIUS_PERMISSION_PRIVATE -eq '1') {
|
|
|
520
521
|
Set-Acl -LiteralPath $item.FullName -AclObject $private
|
|
521
522
|
}
|
|
522
523
|
`;
|
|
524
|
+
var windowsPermissionsTimeoutMs = 3e4;
|
|
523
525
|
async function validatePathPermissions(path7, _directory, privateAccess, signal) {
|
|
524
526
|
signal.throwIfAborted();
|
|
525
527
|
const systemRoot = environmentValue(process.env, "SystemRoot");
|
|
@@ -543,8 +545,8 @@ async function validatePathPermissions(path7, _directory, privateAccess, signal)
|
|
|
543
545
|
MOBIUS_PERMISSION_PRIVATE: privateAccess ? "1" : "0"
|
|
544
546
|
},
|
|
545
547
|
windowsHide: true,
|
|
546
|
-
signal: AbortSignal.any([signal, AbortSignal.timeout(
|
|
547
|
-
timeout:
|
|
548
|
+
signal: AbortSignal.any([signal, AbortSignal.timeout(windowsPermissionsTimeoutMs)]),
|
|
549
|
+
timeout: windowsPermissionsTimeoutMs,
|
|
548
550
|
maxBuffer: 16384
|
|
549
551
|
}
|
|
550
552
|
);
|
|
@@ -22691,7 +22693,7 @@ import { fetch as fetch3 } from "undici";
|
|
|
22691
22693
|
// package.json
|
|
22692
22694
|
var package_default = {
|
|
22693
22695
|
name: "@moxt-ai/mobius",
|
|
22694
|
-
version: "0.0.
|
|
22696
|
+
version: "0.0.309",
|
|
22695
22697
|
description: "Mobius CLI for pairing and running local AI agent services.",
|
|
22696
22698
|
type: "module",
|
|
22697
22699
|
bin: {
|