@linxin666/dsh-client-ui-plugin-manager 0.4.8 → 0.4.9

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/index.js CHANGED
@@ -1761,6 +1761,24 @@ function nativeManagerRefusalCode(outcome) {
1761
1761
  const code = verdict.error?.code;
1762
1762
  return typeof code === "string" && code !== "" ? code : void 0;
1763
1763
  }
1764
+ /**
1765
+ * Whether the official manager's verdict says the run landed but this process
1766
+ * does not hold it yet. The manager answers `application: 'restart-required'`
1767
+ * when the profile moved while the running host still carries the old state;
1768
+ * on a two-phase replacement the removal alone can produce it, because the
1769
+ * replaced bundle's rows are already gone from the running fiber tree by the
1770
+ * time the guard reports the removal applied (issue #1905).
1771
+ *
1772
+ * Read as a success that carries a fact, never as a failure: the version did
1773
+ * land on disk, so turning it into an error would send the caller into a
1774
+ * rollback the profile does not need and stop a batch update on its first item.
1775
+ * @param outcome - the resolved value of `installBundle` / `removeBundle`.
1776
+ * @returns true when the run landed and a restart is what loads it.
1777
+ */
1778
+ function nativeManagerRestartRequired(outcome) {
1779
+ if (typeof outcome !== "object" || outcome === null) return false;
1780
+ return outcome.application === "restart-required";
1781
+ }
1764
1782
  /** The gateway: serializes CLI operations through one job table and one mutation queue. */
1765
1783
  var CliGateway = class {
1766
1784
  facts;
@@ -2181,7 +2199,12 @@ var CliGateway = class {
2181
2199
  requestId: job.id
2182
2200
  });
2183
2201
  let refusal = nativeManagerFailure(first);
2184
- if (refusal !== void 0 && nativeManagerRefusalCode(first) === "already-installed") refusal = await this.replaceInstalled(job, native, targetId, carried.dependencies[targetId]);
2202
+ let restartRequired = nativeManagerRestartRequired(first);
2203
+ if (refusal !== void 0 && nativeManagerRefusalCode(first) === "already-installed") {
2204
+ const replacement = await this.replaceInstalled(job, native, targetId, carried.dependencies[targetId]);
2205
+ refusal = replacement.failure;
2206
+ restartRequired = replacement.restartRequired;
2207
+ }
2185
2208
  if (refusal !== void 0) {
2186
2209
  job.phase = "error";
2187
2210
  job.error = `plugin-manager: 官方插件管理器更新失败:${refusal}`;
@@ -2208,6 +2231,7 @@ var CliGateway = class {
2208
2231
  from: change.from,
2209
2232
  to: change.to
2210
2233
  }));
2234
+ if (restartRequired) job.restartRequired = [targetId];
2211
2235
  job.phase = "done";
2212
2236
  }
2213
2237
  /**
@@ -2230,41 +2254,60 @@ var CliGateway = class {
2230
2254
  * ({@link restoreBundleIndex} puts it back).
2231
2255
  * - **A `bundle-in-use` refusal is answered once, not repeated.** The
2232
2256
  * official guard deselects the bundle and reloads before it checks whether
2233
- * the bundle's rows still run, so a refusal means the session still holds
2234
- * them: the update is retried exactly once against that settled state, and a
2235
- * second refusal restores the selection and names the restart the person has
2236
- * to do ({@link removeForReplacement}).
2257
+ * the bundle's rows still run, so a real occupant cleared by that reload is
2258
+ * gone on the second call: the update is retried exactly once against that
2259
+ * settled state, and a second refusal restores the selection and names the
2260
+ * restart the person has to do ({@link removeForReplacement}).
2261
+ * - **A landed replacement can still need a restart.** The guard answers
2262
+ * `application: 'restart-required'` when the removal applied and the
2263
+ * replaced bundle's rows are already gone from the running process (issue
2264
+ * #1905). The version does land, so that is a fact to report, not a failure:
2265
+ * the update is `done` and names what only a restart loads.
2237
2266
  *
2238
2267
  * @param job - the update job whose spec is installed.
2239
2268
  * @param native - the official manager.
2240
2269
  * @param targetId - the installed bundle being replaced.
2241
2270
  * @param previousSpec - the dependency spec the profile carried before the run.
2242
- * @returns the failure to report, or undefined once the target spec landed.
2271
+ * @returns the failure to report, or the restart fact once the target landed.
2243
2272
  */
2244
2273
  async replaceInstalled(job, native, targetId, previousSpec) {
2245
- if (previousSpec === void 0) return `${targetId} 不在 profile 依赖中,无法替换已安装版本`;
2274
+ if (previousSpec === void 0) return {
2275
+ failure: `${targetId} 不在 profile 依赖中,无法替换已安装版本`,
2276
+ restartRequired: false
2277
+ };
2246
2278
  const index = await this.bundleIndexOf(targetId);
2247
2279
  const removal = await this.removeForReplacement(native, targetId);
2248
2280
  if (removal.failure !== void 0) {
2249
2281
  if (removal.deselected) await this.restoreBundleSelection(native, targetId);
2250
- return `已安装版本无法移除(${removal.failure}),本次更新未做改动${removal.remedy}`;
2282
+ return {
2283
+ failure: `已安装版本无法移除(${removal.failure}),本次更新未做改动${removal.remedy}`,
2284
+ restartRequired: false
2285
+ };
2251
2286
  }
2252
- const refusal = nativeManagerFailure(await native.installBundle(job.spec, {
2287
+ const installVerdict = await native.installBundle(job.spec, {
2253
2288
  enabled: true,
2254
2289
  requestId: job.id
2255
- }));
2290
+ });
2291
+ const refusal = nativeManagerFailure(installVerdict);
2292
+ const restartRequired = removal.restartRequired || nativeManagerRestartRequired(installVerdict);
2256
2293
  if (refusal === void 0) {
2257
2294
  await this.restoreBundleIndex(targetId, previousSpec, index);
2258
- return;
2295
+ return { restartRequired };
2259
2296
  }
2260
2297
  const restoreSpec = `${targetId}@${previousSpec}`;
2261
2298
  const restoreFailure = nativeManagerFailure(await native.installBundle(restoreSpec, {
2262
2299
  enabled: true,
2263
2300
  requestId: job.id
2264
2301
  }));
2265
- if (restoreFailure !== void 0) return `${refusal};装回 ${restoreSpec} 也失败:${restoreFailure},请手动重新安装`;
2302
+ if (restoreFailure !== void 0) return {
2303
+ failure: `${refusal};装回 ${restoreSpec} 也失败:${restoreFailure},请手动重新安装`,
2304
+ restartRequired: false
2305
+ };
2266
2306
  await this.restoreBundleIndex(targetId, previousSpec, index);
2267
- return `${refusal};已装回 ${restoreSpec}`;
2307
+ return {
2308
+ failure: `${refusal};已装回 ${restoreSpec}`,
2309
+ restartRequired: false
2310
+ };
2268
2311
  }
2269
2312
  /**
2270
2313
  * Where a bundle sits in the layer order, read before the removal drops it.
@@ -2310,38 +2353,48 @@ var CliGateway = class {
2310
2353
  *
2311
2354
  * Read the official `removeBundle` guard in order: it deselects the bundle,
2312
2355
  * reloads the profile, and only then checks whether the bundle's own rows
2313
- * still hold a running fiber, which it reports as `bundle-in-use`. The
2314
- * deselection is therefore already on disk when the refusal arrives — the
2315
- * guard re-reads the selection on entry, so asking once more after that
2316
- * settled state is idempotent and is the only way an update can continue
2317
- * without a restart. A second refusal means the rows really are still
2318
- * loaded, and the report then names the restart instead of a bare code.
2356
+ * still hold a running fiber, which it reports as `bundle-in-use`. A refusal
2357
+ * is therefore answered exactly once, against the state that reload left on
2358
+ * disk: that covers a real occupant whose fiber the reload did clear.
2359
+ *
2360
+ * It does not cover a reload that rebuilds the very rows it just unloaded —
2361
+ * the fresh fiber matches the guard again — so the retry is worth exactly one
2362
+ * call and never a loop, and the second refusal names the restart instead of
2363
+ * a bare code. A removal the guard does apply while the rows are already gone
2364
+ * resolves as `application: 'restart-required'`; that is a success carrying a
2365
+ * restart fact, which is reported as such rather than as a refusal.
2319
2366
  * @param native - the official manager.
2320
2367
  * @param name - the bundle to remove.
2321
2368
  * @returns the refusal to report, whether the profile lost the selection on the
2322
- * way, and the remedy text for that refusal.
2369
+ * way, the remedy text for that refusal, and whether the applied removal still
2370
+ * needs a restart to load.
2323
2371
  */
2324
2372
  async removeForReplacement(native, name) {
2325
2373
  const first = await native.removeBundle(name);
2326
2374
  const failure = nativeManagerFailure(first);
2327
2375
  if (failure === void 0) return {
2328
2376
  deselected: false,
2329
- remedy: ""
2377
+ remedy: "",
2378
+ restartRequired: nativeManagerRestartRequired(first)
2330
2379
  };
2331
2380
  if (nativeManagerRefusalCode(first) !== "bundle-in-use") return {
2332
2381
  failure,
2333
2382
  deselected: await this.bundleSelectionLost(name),
2334
- remedy: ""
2383
+ remedy: "",
2384
+ restartRequired: false
2335
2385
  };
2336
- const retryFailure = nativeManagerFailure(await native.removeBundle(name));
2386
+ const second = await native.removeBundle(name);
2387
+ const retryFailure = nativeManagerFailure(second);
2337
2388
  if (retryFailure === void 0) return {
2338
2389
  deselected: false,
2339
- remedy: ""
2390
+ remedy: "",
2391
+ restartRequired: nativeManagerRestartRequired(second)
2340
2392
  };
2341
2393
  return {
2342
2394
  failure: retryFailure,
2343
2395
  deselected: await this.bundleSelectionLost(name),
2344
- remedy: ";该插件仍由当前 DSH 进程加载,重启 DSH 后再执行本次更新即可"
2396
+ remedy: ";该插件仍由当前 DSH 进程加载,重启 DSH 后再执行本次更新即可",
2397
+ restartRequired: false
2345
2398
  };
2346
2399
  }
2347
2400
  /** Whether a bundle is still an installed dependency but no longer selected. */
@@ -2485,7 +2538,8 @@ var CliGateway = class {
2485
2538
  return {
2486
2539
  ...job,
2487
2540
  conflicts: job.conflicts === void 0 ? void 0 : [...job.conflicts],
2488
- notices: job.notices === void 0 ? void 0 : [...job.notices]
2541
+ notices: job.notices === void 0 ? void 0 : [...job.notices],
2542
+ restartRequired: job.restartRequired === void 0 ? void 0 : [...job.restartRequired]
2489
2543
  };
2490
2544
  }
2491
2545
  /** Capture the layer snapshot and the dependency names (tolerant parse). */
@@ -16,15 +16,19 @@
16
16
  * @module @linxin666/dsh-client-ui-plugin-manager/client
17
17
  */
18
18
  import type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots';
19
- import type { PluginUpdateItem, RestartMode } from '../core/protocol.ts';
19
+ import type { PluginUpdateItem, PluginUpdateResult, RestartMode } from '../core/protocol.ts';
20
20
  /** The operations the toolbar drives (the package's dual-channel face). */
21
21
  export interface PluginListToolbarInjected {
22
22
  /** Whether this browser has loopback authority to use the host routes. */
23
23
  isLoopback: boolean;
24
24
  /** Compare every installed plugin against the version its source serves. */
25
25
  checkUpdates: () => Promise<PluginUpdateItem[]>;
26
- /** Re-install one plugin from its recorded source. */
27
- update: (id: string) => Promise<unknown>;
26
+ /**
27
+ * Re-install one plugin from its recorded source. Resolves with what landed:
28
+ * the row at the new version, plus the bundles only a restart loads. A landed
29
+ * update that needs a restart keeps the batch running instead of failing it.
30
+ */
31
+ update: (id: string) => Promise<PluginUpdateResult>;
28
32
  /**
29
33
  * Read how a restart would be carried out, without carrying it out: the
30
34
  * confirmation must name the same consequence the host will produce (an
@@ -1,5 +1,5 @@
1
1
  import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
2
- import type { InstallProgressItem, PluginUpdateItem } from '../core/protocol.ts';
2
+ import type { InstallProgressItem, PluginUpdateItem, PluginUpdateResult } from '../core/protocol.ts';
3
3
  /** One loader row of a bundle, as the official page's subject carries it. */
4
4
  export interface PluginPageRowRef {
5
5
  rowId: string;
@@ -54,8 +54,12 @@ export interface PluginUpdatePatchInjected {
54
54
  isLoopback: boolean;
55
55
  /** Compare every installed plugin against the version its source serves. */
56
56
  checkUpdates: () => Promise<PluginUpdateItem[]>;
57
- /** Re-install one plugin from its recorded source. */
58
- update: (id: string) => Promise<unknown>;
57
+ /**
58
+ * Re-install one plugin from its recorded source. Resolves with what landed:
59
+ * the row at the new version, plus the bundles only a restart loads. A landed
60
+ * update that needs a restart is not a failure and must not be reported as one.
61
+ */
62
+ update: (id: string) => Promise<PluginUpdateResult>;
59
63
  /** Read the current install/update progress. */
60
64
  status: () => Promise<InstallProgressItem>;
61
65
  }
@@ -27,6 +27,7 @@ declare const STATIC_ZH: {
27
27
  updateAll: string;
28
28
  updatingAll: string;
29
29
  updateAllDone: string;
30
+ updateRestartRequired: string;
30
31
  updatesPanelTitle: string;
31
32
  thirdPartyOnly: string;
32
33
  restartNow: string;
@@ -66,6 +67,7 @@ export declare const zh: {
66
67
  updateAll: string;
67
68
  updatingAll: string;
68
69
  updateAllDone: string;
70
+ updateRestartRequired: string;
69
71
  updatesPanelTitle: string;
70
72
  thirdPartyOnly: string;
71
73
  restartNow: string;
@@ -105,6 +107,7 @@ export declare const en: {
105
107
  updateAll: string;
106
108
  updatingAll: string;
107
109
  updateAllDone: string;
110
+ updateRestartRequired: string;
108
111
  updatesPanelTitle: string;
109
112
  thirdPartyOnly: string;
110
113
  restartNow: string;
@@ -50,6 +50,28 @@ export interface InstalledPluginItem {
50
50
  * neither is safe here, the user restarts DSH themselves.
51
51
  */
52
52
  export type RestartMode = 'relaunch' | 'shell' | 'manual';
53
+ /**
54
+ * The result of one applied update: the installed row, plus the host's verdict
55
+ * on whether this process can serve it without a restart.
56
+ *
57
+ * The two facts are separate because they answer different questions and must
58
+ * not be folded into one: the version landed (the row carries it), and the
59
+ * running host may still not have loaded it. Reporting the second as an error
60
+ * would be wrong twice over — the update did apply, and a batch update stops on
61
+ * the first error it sees — so it travels as an accompanying fact instead.
62
+ */
63
+ export interface PluginUpdateResult {
64
+ /** The installed row, at the version the update landed on. */
65
+ plugin: InstalledPluginItem;
66
+ /**
67
+ * Bundles whose new version is on disk but which the running host has not
68
+ * loaded, empty when the update took effect in place. The official manager
69
+ * reports this as `application: 'restart-required'` (issue #1905); the
70
+ * official installer channel carries no such fact, so it answers an empty
71
+ * list.
72
+ */
73
+ restartRequired: string[];
74
+ }
53
75
  /** Point-in-time install/update progress reported by the host. */
54
76
  export interface InstallProgressItem {
55
77
  kind: 'idle' | 'install' | 'update';
@@ -112,6 +134,18 @@ export declare function parsePluginList(value: unknown): InstalledPluginItem[];
112
134
  * @returns the typed installed-plugin row.
113
135
  */
114
136
  export declare function parseInstalledPlugin(value: unknown): InstalledPluginItem;
137
+ /**
138
+ * Read the restart-required list off one gateway job (or off anything else
139
+ * carrying it).
140
+ *
141
+ * Deliberately tolerant where the other parsers in this module throw: this list
142
+ * is a hint attached to an update that already landed, so an unreadable value
143
+ * must cost the user the hint only. Throwing would reject an applied update and
144
+ * stop a batch run — the exact outcome the fact exists to avoid.
145
+ * @param value - decoded but untrusted job value.
146
+ * @returns the bundle names, empty when the value is absent or unusable.
147
+ */
148
+ export declare function parseRestartRequired(value: unknown): string[];
115
149
  /**
116
150
  * Validate and normalize a `status` response value.
117
151
  * @param value - decoded but untrusted response value.
@@ -51,6 +51,16 @@ export interface GatewayJob {
51
51
  * the package itself stays installed and row-mounted.
52
52
  */
53
53
  notices?: ControlChange[];
54
+ /**
55
+ * Bundles whose new version is on disk but not loaded in this process: the
56
+ * official manager answered `application: 'restart-required'` for the run
57
+ * that applied it, so the plugin is installed and its rows are gone until the
58
+ * host restarts (issue #1905). Absent on an update that took effect in place.
59
+ * The job is still `done` either way — the version landed — and this fact
60
+ * rides the same job wire as `plugin`, so the caller can say so instead of
61
+ * reporting a clean in-place update.
62
+ */
63
+ restartRequired?: string[];
54
64
  error?: string;
55
65
  }
56
66
  /** The binary search roots for the dsh CLI. */
@@ -310,6 +320,21 @@ export declare function nativeManagerFailure(outcome: unknown): string | undefin
310
320
  * @returns the manager's failure code, or undefined for a run that did not fail.
311
321
  */
312
322
  export declare function nativeManagerRefusalCode(outcome: unknown): string | undefined;
323
+ /**
324
+ * Whether the official manager's verdict says the run landed but this process
325
+ * does not hold it yet. The manager answers `application: 'restart-required'`
326
+ * when the profile moved while the running host still carries the old state;
327
+ * on a two-phase replacement the removal alone can produce it, because the
328
+ * replaced bundle's rows are already gone from the running fiber tree by the
329
+ * time the guard reports the removal applied (issue #1905).
330
+ *
331
+ * Read as a success that carries a fact, never as a failure: the version did
332
+ * land on disk, so turning it into an error would send the caller into a
333
+ * rollback the profile does not need and stop a batch update on its first item.
334
+ * @param outcome - the resolved value of `installBundle` / `removeBundle`.
335
+ * @returns true when the run landed and a restart is what loads it.
336
+ */
337
+ export declare function nativeManagerRestartRequired(outcome: unknown): boolean;
313
338
  /** The gateway: serializes CLI operations through one job table and one mutation queue. */
314
339
  export declare class CliGateway {
315
340
  private readonly facts;
@@ -455,16 +480,21 @@ export declare class CliGateway {
455
480
  * ({@link restoreBundleIndex} puts it back).
456
481
  * - **A `bundle-in-use` refusal is answered once, not repeated.** The
457
482
  * official guard deselects the bundle and reloads before it checks whether
458
- * the bundle's rows still run, so a refusal means the session still holds
459
- * them: the update is retried exactly once against that settled state, and a
460
- * second refusal restores the selection and names the restart the person has
461
- * to do ({@link removeForReplacement}).
483
+ * the bundle's rows still run, so a real occupant cleared by that reload is
484
+ * gone on the second call: the update is retried exactly once against that
485
+ * settled state, and a second refusal restores the selection and names the
486
+ * restart the person has to do ({@link removeForReplacement}).
487
+ * - **A landed replacement can still need a restart.** The guard answers
488
+ * `application: 'restart-required'` when the removal applied and the
489
+ * replaced bundle's rows are already gone from the running process (issue
490
+ * #1905). The version does land, so that is a fact to report, not a failure:
491
+ * the update is `done` and names what only a restart loads.
462
492
  *
463
493
  * @param job - the update job whose spec is installed.
464
494
  * @param native - the official manager.
465
495
  * @param targetId - the installed bundle being replaced.
466
496
  * @param previousSpec - the dependency spec the profile carried before the run.
467
- * @returns the failure to report, or undefined once the target spec landed.
497
+ * @returns the failure to report, or the restart fact once the target landed.
468
498
  */
469
499
  private replaceInstalled;
470
500
  /**
@@ -494,16 +524,21 @@ export declare class CliGateway {
494
524
  *
495
525
  * Read the official `removeBundle` guard in order: it deselects the bundle,
496
526
  * reloads the profile, and only then checks whether the bundle's own rows
497
- * still hold a running fiber, which it reports as `bundle-in-use`. The
498
- * deselection is therefore already on disk when the refusal arrives — the
499
- * guard re-reads the selection on entry, so asking once more after that
500
- * settled state is idempotent and is the only way an update can continue
501
- * without a restart. A second refusal means the rows really are still
502
- * loaded, and the report then names the restart instead of a bare code.
527
+ * still hold a running fiber, which it reports as `bundle-in-use`. A refusal
528
+ * is therefore answered exactly once, against the state that reload left on
529
+ * disk: that covers a real occupant whose fiber the reload did clear.
530
+ *
531
+ * It does not cover a reload that rebuilds the very rows it just unloaded —
532
+ * the fresh fiber matches the guard again — so the retry is worth exactly one
533
+ * call and never a loop, and the second refusal names the restart instead of
534
+ * a bare code. A removal the guard does apply while the rows are already gone
535
+ * resolves as `application: 'restart-required'`; that is a success carrying a
536
+ * restart fact, which is reported as such rather than as a refusal.
503
537
  * @param native - the official manager.
504
538
  * @param name - the bundle to remove.
505
539
  * @returns the refusal to report, whether the profile lost the selection on the
506
- * way, and the remedy text for that refusal.
540
+ * way, the remedy text for that refusal, and whether the applied removal still
541
+ * needs a restart to load.
507
542
  */
508
543
  private removeForReplacement;
509
544
  /** Whether a bundle is still an installed dependency but no longer selected. */
@@ -15,6 +15,11 @@
15
15
  * request. Forwarding headers are the signal that a hop stands in between: a
16
16
  * request that carries CF-Connecting-IP or X-Forwarded-For is answered through
17
17
  * a proxy and is never treated as a local one (issue #1906).
18
+ *
19
+ * An operator who runs that proxy or tunnel themselves can opt into the
20
+ * narrower case: isForwardedLoopbackRequest describes a forwarded request that
21
+ * still landed on this machine's loopback upstream, and a route family admits
22
+ * it only behind its own default-off switch (issue #1918).
18
23
  * @module dsh-web-shared/host/loopback
19
24
  */
20
25
  import type { IncomingMessage } from 'node:http';
@@ -41,3 +46,19 @@ export declare function isProxiedRequest(request: IncomingMessage): boolean;
41
46
  * client. X-Forwarded-For is therefore never evidence *for* loopback.
42
47
  */
43
48
  export declare function isLoopbackRequest(request: IncomingMessage): boolean;
49
+ /**
50
+ * Whether a forwarded request landed on this machine's loopback upstream: a
51
+ * forwarding header (the proxy's own stamp), a loopback socket address (the
52
+ * proxy dials 127.0.0.1:<port>), and a loopback Host header (the proxy rewrote
53
+ * the authority to its upstream literal).
54
+ *
55
+ * This is a fact about the route, not a trust decision. A public request to a
56
+ * tunnel satisfies all three by construction, because the proxy is the client
57
+ * of this process: only a caller that operates the proxy can decide it stands
58
+ * for the browser, which is why every consumer keeps this behind an explicit
59
+ * default-off switch and its own browser markers. isLoopbackRequest is
60
+ * unchanged and still refuses a forwarded request (issue #1906).
61
+ * @param request - node HTTP request.
62
+ * @returns true when a forwarding header, a loopback socket, and a loopback Host all hold.
63
+ */
64
+ export declare function isForwardedLoopbackRequest(request: IncomingMessage): boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@linxin666/dsh-client-ui-plugin-manager",
3
3
  "description": "Update checking for the dsh web GUI's official Plugins page: compares installed plugins against the version their registry source serves, gates the update on the DSH runtime minimum the release declares, and drives the update through the official installer channel or this package's loopback CLI gateway.",
4
- "version": "0.4.8",
4
+ "version": "0.4.9",
5
5
  "icon": "icon.svg",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dsh": {
22
22
  "engines": {
23
- "dsh": ">=0.2.1-rc.2"
23
+ "dsh": ">=0.2.1-rc.3"
24
24
  },
25
25
  "bundle": {
26
26
  "patch": "./cordis.patch.yml"
@@ -34,21 +34,21 @@
34
34
  }
35
35
  },
36
36
  "peerDependencies": {
37
- "@deepseek-ai/dsh": ">=0.2.1-rc.2",
37
+ "@deepseek-ai/dsh": ">=0.2.1-rc.3",
38
38
  "react": "^18.2.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@deepseek-ai/cordis": "^4.0.5",
42
- "@deepseek-ai/dsh-api-session-controller": "^0.2.1-rc.2",
43
- "@deepseek-ai/dsh-api-workspace-controller": "^0.2.1-rc.2",
44
- "@deepseek-ai/dsh-client-connection": "^0.2.1-rc.2",
45
- "@deepseek-ai/dsh-client-locale": "^0.2.1-rc.2",
46
- "@deepseek-ai/dsh-client-ui-primitives": "^0.2.1-rc.2",
47
- "@deepseek-ai/dsh-client-ui-renderer": "^0.2.1-rc.2",
48
- "@deepseek-ai/dsh-client-ui-settings": "^0.2.1-rc.2",
49
- "@deepseek-ai/dsh-client-ui-slots": "^0.2.1-rc.2",
50
- "@deepseek-ai/dsh-client-ui-workspace": "^0.2.1-rc.2",
51
- "@deepseek-ai/dsh-host-webserver": "^0.2.1-rc.2",
42
+ "@deepseek-ai/dsh-api-session-controller": "^0.2.1-rc.3",
43
+ "@deepseek-ai/dsh-api-workspace-controller": "^0.2.1-rc.3",
44
+ "@deepseek-ai/dsh-client-connection": "^0.2.1-rc.3",
45
+ "@deepseek-ai/dsh-client-locale": "^0.2.1-rc.3",
46
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.2.1-rc.3",
47
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.2.1-rc.3",
48
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.1-rc.3",
49
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.1-rc.3",
50
+ "@deepseek-ai/dsh-client-ui-workspace": "^0.2.1-rc.3",
51
+ "@deepseek-ai/dsh-host-webserver": "^0.2.1-rc.3",
52
52
  "@testing-library/react": "^16.1.0",
53
53
  "@types/node": "^22.20.0",
54
54
  "@types/react": "~18.3.1",