@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.
Files changed (2) hide show
  1. package/lib/client.js +3 -5
  2. 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 without letting a stalled carrier wedge startup forever. */
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
- finish({ error: /* @__PURE__ */ new Error(`connection generation was not ready within ${String(timeoutMs)}ms`) });
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.2",
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/schemastery": "^3.18.2",
43
- "@deepseek-ai/dsh-credentials": "^0.1.2-alpha.2"
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.2",
57
- "@deepseek-ai/dsh-brand": "^0.1.2-alpha.2",
58
- "@deepseek-ai/dsh-commands": "^0.1.2-alpha.2",
59
- "@deepseek-ai/dsh-host-directory-picker": "^0.1.2-alpha.2",
60
- "@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.2",
61
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.2",
62
- "@deepseek-ai/dsh-settings": "^0.1.2-alpha.2",
63
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.2",
64
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.2",
65
- "@deepseek-ai/dsh-tool-todo": "^0.1.2-alpha.2",
66
- "@deepseek-ai/dsh-util-values": "^0.1.2-alpha.2"
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
  }