dsh-advisor 0.3.0 → 0.3.1

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.
@@ -29,6 +29,15 @@ export { refreshIfLoaded } from './advisor-store.ts';
29
29
  * Required services (cordis fiber inject). The target slot is declared by
30
30
  * ui-plugin-config's apply, whose activation order relative to this one is
31
31
  * NOT constrained; registration depends on the slot through `slots.inject()`.
32
+ *
33
+ * rc.1 dotted-namespace contract: each client Remote namespace is a
34
+ * child-fiber service named `remote.<ns>` (upstream `remoteServiceKey`), and
35
+ * the traceable proxy forwards `ctx.remote.llm` / `.settings` / `.session`
36
+ * to those context properties — consumers MUST declare the dotted names
37
+ * here or the fiber walk throws `cannot get property "remote.llm" without
38
+ * inject`. `remote` stays for the `$on` invalidation face; `connection` for
39
+ * the `connection.rpc` gateway channel. Reference shape:
40
+ * ../deepseek-harness/packages/client/ui-settings-models/src/client/index.ts.
32
41
  */
33
42
  export declare const inject: string[];
34
43
  /**
package/lib/client.js CHANGED
@@ -806,7 +806,7 @@ var zh = {
806
806
 
807
807
  // src/client/index.ts
808
808
  var NS = "settings.advisor";
809
- var inject = ["slots", "locale", "connection", "settingsSchema", "remote"];
809
+ var inject = ["slots", "locale", "connection", "settingsSchema", "remote", "remote.llm", "remote.settings", "remote.session"];
810
810
  function apply(ctx) {
811
811
  ctx.effect(() => ctx.locale.register(NS, { zh, en }), "advisor: copy dictionaries");
812
812
  const connection = ctx.get("connection");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-advisor",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "dsh plugin bundle porting the omp advisor subsystem: a per-session reviewer model that observes the primary transcript and injects severity-ranked advice (nit/concern/blocker).",
6
6
  "repository": {