@remoteshell/device 0.1.0-beta.2 → 0.1.0-beta.3
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.
|
@@ -55,7 +55,10 @@ export function installWindowsNative({
|
|
|
55
55
|
const entry=Array.isArray(data)?data[0]:null;
|
|
56
56
|
if(entry?.filename!==`remoteshell-device-${version}.tgz`)fail('DEVICE_INSTALL_PACKAGE_FAILED');
|
|
57
57
|
const archive=win32.join(staging,entry.filename);
|
|
58
|
-
|
|
58
|
+
// A cold public npm install may need several minutes for the pinned DC dependency tree.
|
|
59
|
+
// Keep the quick local pack limit above, but do not abort a healthy dependency fetch at 120s.
|
|
60
|
+
const installed=run(nodeBin,[npmCli,'install','--prefix',staging,'--ignore-scripts','--no-audit','--no-fund','--no-package-lock','--no-save',archive],{...options,timeout:900000});
|
|
61
|
+
if(installed.error?.code==='ETIMEDOUT')fail('DEVICE_INSTALL_DEPENDENCY_TIMEOUT');
|
|
59
62
|
if(installed.error||installed.signal||installed.status!==0)fail('DEVICE_INSTALL_DEPENDENCY_FAILED');
|
|
60
63
|
rmSync(archive,{force:true});
|
|
61
64
|
writeFileSync(win32.join(staging,'receipt.json'),JSON.stringify({
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remoteshell/device",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@remoteshell/device",
|
|
9
|
-
"version": "0.1.0-beta.
|
|
9
|
+
"version": "0.1.0-beta.3",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
12
12
|
"@wonderwhy-er/desktop-commander": "0.3.1"
|