dsh-plugin-core-demo 0.1.4 → 0.2.0

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 (3) hide show
  1. package/README.md +2 -2
  2. package/dist/client.js +551 -567
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -38,6 +38,6 @@ dsh plugin --profile web add dsh-plugin-core-demo
38
38
  - client 侧只导出 `apply`;依赖一律 `ctx.inject([...], cb)` 内等待(顶层导出 `inject` 会卡死宿主启动)。
39
39
  - 三块注册(`sidebar.panellist` / `main` / `settings.plugin.item`)各自 `ctx.inject`、自成一块;
40
40
  `settings.plugin.item` 与 `main` 的 key 必须 = 包名(宿主机制)。
41
- - 变量前缀统一用 `dshpc`,**完全不碰 `--tdt-*` / `--dsw-*` / `--dsh-*`**(兄弟插件与宿主在用);
42
- 展示代码直接用 `--dshpc-*`。已删除旧的 `token-alias` 别名层——那层会往 `body` 写 `--tdt-*`,把兄弟插件的 token 抢过来。
41
+ - 变量前缀统一用 `dshpc`,**不碰 `--dsw-*` / `--dsh-*`**(宿主在用);
42
+ 展示代码直接用 `--dshpc-*`。
43
43
  - 零运行时依赖:不引内部 `@deepseek-ai/*`,故不声明 schemastery Config。