@tunnelbox/dsh-tunnelbox 0.1.16 → 0.1.18
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/index.mjs +4 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2114,7 +2114,7 @@ function findDir(dir, name2) {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
|
|
2116
2116
|
// src/bridge.ts
|
|
2117
|
-
var VERSION = true ? "0.1.
|
|
2117
|
+
var VERSION = true ? "0.1.18" : "0.0.0-dev";
|
|
2118
2118
|
var AGENT_TYPE = "dsh";
|
|
2119
2119
|
var APPROVAL_TIMEOUT_MS = 12e4;
|
|
2120
2120
|
var ADAPTER_COMMANDS = [
|
|
@@ -2526,7 +2526,9 @@ ${err.stack ?? ""}`);
|
|
|
2526
2526
|
void this.drainRemoteEvents(gen, ac);
|
|
2527
2527
|
} catch (e) {
|
|
2528
2528
|
ac.abort();
|
|
2529
|
-
|
|
2529
|
+
const err = e;
|
|
2530
|
+
const expected = err.code === "gateway/service-unavailable" || /service-unavailable|unavailable/i.test(err.message);
|
|
2531
|
+
if (!expected) this.log(`typert \u8FDC\u7A0B\u4E8B\u4EF6\u6E90\u63A2\u6D4B\u5931\u8D25\uFF0C\u56DE\u9000\u672C\u5730\u5E94\u7B54\u6A21\u5F0F: ${err.message}`);
|
|
2530
2532
|
this.activateLocalAnswerers();
|
|
2531
2533
|
}
|
|
2532
2534
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tunnelbox/dsh-tunnelbox",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "tunnelbox 的 dsh 原生 Cordis 插件:手机远程驱动 DeepSeek Harness(agent/session/tools/审批/中止)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@tunnelbox/core": "0.1.
|
|
39
|
+
"@tunnelbox/core": "0.1.18",
|
|
40
40
|
"@types/node": "^22.0.0",
|
|
41
41
|
"esbuild": "^0.24.0",
|
|
42
42
|
"typescript": "^5.4.5"
|