@remoteshell/device 0.1.0-beta.7 → 0.1.0-beta.8
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/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/src/main.mjs +3 -1
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.8",
|
|
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.8",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
12
12
|
"@wonderwhy-er/desktop-commander": "0.3.1"
|
package/package.json
CHANGED
package/src/main.mjs
CHANGED
|
@@ -194,7 +194,9 @@ async function refreshDcCatalog({force=false}={}){
|
|
|
194
194
|
dcCatalogCheckedAt=Date.now();
|
|
195
195
|
const checkedAt=Date.now();
|
|
196
196
|
try{
|
|
197
|
-
|
|
197
|
+
// Windows DC startup and concurrent access inspection can delay first tools/list.
|
|
198
|
+
// Bound the wait without replacing or modifying original DC behavior.
|
|
199
|
+
const next=await discoverDcCatalog(client,{requestTimeoutMs:process.platform==='win32'?45000:12000});
|
|
198
200
|
console.info('RS_DC_DISCOVERY_TIMING',JSON.stringify({result:'ok',duration_ms:Date.now()-checkedAt,device_ref:deviceId.slice(0,8)}));
|
|
199
201
|
const diff=diffDcCatalog(dcCatalog||[],next);
|
|
200
202
|
const fingerprint=dcCatalogFingerprint(next);
|