dsh-plugin-core-demo 0.1.3 → 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 +591 -615
  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-*`**(宿主里别的插件在用);
42
- 展示代码里的 `--tdt-*` 由 `src/client/token-alias.ts` 那层别名接过去。
41
+ - 变量前缀统一用 `dshpc`,**不碰 `--dsw-*` / `--dsh-*`**(宿主在用);
42
+ 展示代码直接用 `--dshpc-*`。
43
43
  - 零运行时依赖:不引内部 `@deepseek-ai/*`,故不声明 schemastery Config。