@deepseek-ai/dsh-client-connection 0.1.2-alpha.2 → 0.1.2-alpha.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.
- package/lib/client.js +3 -5
- package/package.json +14 -14
package/lib/client.js
CHANGED
|
@@ -205,9 +205,7 @@ window.__ModuleLoader__.load({
|
|
|
205
205
|
if (this.isGenerationActive(ac)) this.callSink(() => {
|
|
206
206
|
this.sinks.onConnected?.(host);
|
|
207
207
|
});
|
|
208
|
-
} catch {
|
|
209
|
-
if (!ac.signal.aborted) ac.abort();
|
|
210
|
-
}
|
|
208
|
+
} catch {}
|
|
211
209
|
await failed;
|
|
212
210
|
if (!this.isRunning()) return;
|
|
213
211
|
if (manualAttempt) this.attempt = 0;
|
|
@@ -229,12 +227,12 @@ window.__ModuleLoader__.load({
|
|
|
229
227
|
}
|
|
230
228
|
}
|
|
231
229
|
};
|
|
232
|
-
/** Await source readiness
|
|
230
|
+
/** Await source readiness while reporting, but not cancelling, a slow Host. */
|
|
233
231
|
function waitForReady(ready, timeoutMs, signal) {
|
|
234
232
|
return new Promise((resolve, reject) => {
|
|
235
233
|
let settled = false;
|
|
236
234
|
const timeout = setTimeout(() => {
|
|
237
|
-
|
|
235
|
+
console.warn(`[connection] generation is still not ready after ${String(timeoutMs)}ms`);
|
|
238
236
|
}, timeoutMs);
|
|
239
237
|
const aborted = () => {
|
|
240
238
|
finish({ error: new Error("connection generation aborted", { cause: signal.reason }) });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-connection",
|
|
3
3
|
"description": "Authenticated RPC transport, generation lifecycle, and browser fixture",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"zod": "^4.4.3",
|
|
42
|
-
"@deepseek-ai/
|
|
43
|
-
"@deepseek-ai/
|
|
42
|
+
"@deepseek-ai/dsh-credentials": "^0.1.2-alpha.3",
|
|
43
|
+
"@deepseek-ai/schemastery": "^3.18.2"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
46
|
"lib/index.js",
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
56
|
-
"@deepseek-ai/dsh-attachment": "^0.1.2-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-brand": "^0.1.2-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-commands": "^0.1.2-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-host-directory-picker": "^0.1.2-alpha.
|
|
60
|
-
"@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.
|
|
61
|
-
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-tool-todo": "^0.1.2-alpha.
|
|
66
|
-
"@deepseek-ai/dsh-util-values": "^0.1.2-alpha.
|
|
56
|
+
"@deepseek-ai/dsh-attachment": "^0.1.2-alpha.3",
|
|
57
|
+
"@deepseek-ai/dsh-brand": "^0.1.2-alpha.3",
|
|
58
|
+
"@deepseek-ai/dsh-commands": "^0.1.2-alpha.3",
|
|
59
|
+
"@deepseek-ai/dsh-host-directory-picker": "^0.1.2-alpha.3",
|
|
60
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.3",
|
|
61
|
+
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
|
|
62
|
+
"@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
|
|
63
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.3",
|
|
64
|
+
"@deepseek-ai/dsh-session": "^0.1.2-alpha.3",
|
|
65
|
+
"@deepseek-ai/dsh-tool-todo": "^0.1.2-alpha.3",
|
|
66
|
+
"@deepseek-ai/dsh-util-values": "^0.1.2-alpha.3"
|
|
67
67
|
}
|
|
68
68
|
}
|