dsh-web-icon-indicator 0.5.0 → 0.5.2

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.
@@ -1,14 +1,20 @@
1
1
  /**
2
2
  * Browser half of dsh-web-icon-indicator (dsh.client bundle).
3
3
  *
4
- * Registers one card into the shared plugin-configuration surface
5
- * (`settings.plugin.item` slot, keyed by the `web-icon-indicator` settings
6
- * namespace). The card is inert unless the host serves the namespace, which
7
- * the dispatching tab (`dsh-client-ui-settings-plugins`) checks for us.
4
+ * Registers one configuration page and serves both host generations from one
5
+ * bundle: `plugins.row.config` (keyed `dsh-web-icon-indicator#dsh-web-icon-indicator`)
6
+ * bound through the modern `configForms` service on DSH ≥ 0.1.7, and
7
+ * `settings.plugin.item` (keyed by the legacy `web-icon-indicator` namespace)
8
+ * bound through the legacy `settingsScope` service on DSH ≤ 0.1.6-alpha.1.
9
+ * Neither settings provider appears in `inject`: both are read weakly at render
10
+ * time, so the fiber activates on either line.
8
11
  */
9
12
 
10
- /** Cordis services this browser plugin injects. */
11
- export declare const inject: readonly ["slots", "settingsScope", "locale"];
13
+ /**
14
+ * Cordis services this browser plugin injects. Only the two services every
15
+ * host generation provides; the settings providers are optional weak reads.
16
+ */
17
+ export declare const inject: readonly ["slots", "locale"];
12
18
 
13
- /** Mount the settings card for the `web-icon-indicator` namespace. */
19
+ /** Mount the settings page on whichever host generation is running. */
14
20
  export declare function apply(ctx: unknown): void;
@@ -163,17 +163,26 @@ export interface DshWebIconColorWarning {
163
163
  }
164
164
 
165
165
  /**
166
- * Cordis plugin entry: `{ name, inject, config, apply, SETTINGS_NAMESPACE,
167
- * CONFIG_SCHEMA }`. Mount once per profile through the bundle patch
168
- * (`cordis.patch.yml`), never as a session-scoped agent preset.
166
+ * Cordis plugin entry: `{ name, inject, Config, apply, SETTINGS_NAMESPACE,
167
+ * LEGACY_SETTINGS_NAMESPACE, CONFIG_SCHEMA }`. Mount once per profile through
168
+ * the bundle patch (`cordis.patch.yml`), never as a session-scoped agent
169
+ * preset.
170
+ *
171
+ * `Config` is the schemastery schema the loader validates the profile row
172
+ * against and the host settings service projects into its live form
173
+ * (`.volatile()` fields only); this entry has no `config` object. The same
174
+ * bundle serves the legacy host line through a feature-detected
175
+ * `settings.installSection` registration.
169
176
  */
170
177
  declare const plugin: {
171
178
  name: "dsh-web-icon-indicator";
172
179
  inject: readonly ["webServer", "timer", "agents", "fs"];
173
- config: DshWebIconIndicatorConfig;
180
+ Config: unknown;
174
181
  apply(ctx: unknown, config?: unknown): void;
175
- /** Settings namespace carrying the config (`web-icon-indicator`). */
182
+ /** Settings namespace on DSH ≥ 0.1.7 (= the profile entry id). */
176
183
  SETTINGS_NAMESPACE: string;
184
+ /** Settings namespace on the legacy settings service (DSH ≤ 0.1.6-alpha.1). */
185
+ LEGACY_SETTINGS_NAMESPACE: string;
177
186
  /** Schemastery schema validating the config surface. */
178
187
  CONFIG_SCHEMA: unknown;
179
188
  };
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "dsh-web-icon-indicator",
3
3
  "description": "Browser tab favicon reflects the DSH session state: idle / running / asking / done, recolored and animated from one base SVG in the browser (fully configurable colors + effects). · 浏览器标签页 favicon 实时反映 DSH 会话状态:待机 / 运行中 / 提问 / 完成,由单个 base.svg 在浏览器中动态上色与动画(颜色与特效完全可配置)。",
4
- "version": "0.5.0",
4
+ "icon": "icons/plugin.svg",
5
+ "version": "0.5.2",
5
6
  "type": "module",
6
7
  "engines": {
7
8
  "dsh": ">=0.1.2-rc.1"
@@ -27,7 +28,8 @@
27
28
  "@deepseek-ai/dsh-client-locale",
28
29
  "@deepseek-ai/dsh-client-ui-renderer",
29
30
  "@deepseek-ai/dsh-client-ui-settings",
30
- "@deepseek-ai/dsh-client-ui-settings-plugins"
31
+ "@deepseek-ai/dsh-client-ui-settings-plugins",
32
+ "@deepseek-ai/dsh-client-ui-plugin-manager"
31
33
  ]
32
34
  }
33
35
  },