dsh-any-deepseek 0.0.24 → 0.0.25

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 +13 -2
  2. package/package.json +3 -2
package/lib/client.js CHANGED
@@ -1382,8 +1382,19 @@ window.__ModuleLoader__.load({
1382
1382
  * official plugins follow the same rule (`configForms.get('ui-settings')`, `get('ui-chat')`).
1383
1383
  */
1384
1384
  const SETTINGS_NS = "dsh-any-deepseek";
1385
- /** Services this half waits for. */
1386
- const inject = ["slots", "configForms"];
1385
+ /**
1386
+ * Services this half waits for.
1387
+ *
1388
+ * 🔴 `configForms` is deliberately NOT here, and that is a correction measured in a real browser
1389
+ * (2026-11-01). It used to be, which meant the module waited for BOTH services before `apply` ran
1390
+ * at all — so a settings service that was late or absent would take the header badge down with it,
1391
+ * silently. That is exactly the coupling the badge's own doc comment says must not exist, made one
1392
+ * level up where the comment could not see it.
1393
+ *
1394
+ * `configForms` is now awaited inside the panel branch only (`ctx.inject(['slots', 'configForms'])`
1395
+ * below), so the two surfaces wait for their own dependencies and neither can strand the other.
1396
+ */
1397
+ const inject = ["slots"];
1387
1398
  function apply(ctx) {
1388
1399
  ctx.inject(["slots"], (scope) => {
1389
1400
  scope.effect(() => scope.slots.register({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-any-deepseek",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "One DeepSeek V4.1 Flash provider for DeepSeek Harness: paste a key per channel, switch channels manually, token usage booked per real upstream.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,7 +43,8 @@
43
43
  "@deepseek-ai/dsh-api-remotes",
44
44
  "@deepseek-ai/dsh-client-connection",
45
45
  "@deepseek-ai/dsh-client-ui-settings",
46
- "@deepseek-ai/dsh-client-ui-slots"
46
+ "@deepseek-ai/dsh-client-ui-slots",
47
+ "@deepseek-ai/dsh-client-ui-conversation"
47
48
  ],
48
49
  "platform": "web"
49
50
  }