@michengai/dsh-codex-ui 2.0.11 → 2.0.13

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.
@@ -2,15 +2,11 @@ import { Context } from "@deepseek-ai/cordis";
2
2
  //#region src/composer-plugin.d.ts
3
3
  declare const name = "codex-ui-composer";
4
4
  declare const inject: string[];
5
- /**
6
- * 检查 profile 的 cordis.patch.yml 中是否显式配置了 disabled: true
7
- * 避免在 DSH 桌面端未开启 HMR 或未重启时,内存 fiber 依然错误响应 enabled: true。
8
- */
9
5
  declare function isSubPluginDisabledOnDisk(id: string, homeDir?: string, ctx?: Context): boolean;
10
6
  /**
11
7
  * Composer 输入框增强子组件 (Host 侧)
12
- * 挂载时通过 webServer 暴露 /api/michengai/dsh-codex-ui/composer 端点;
13
- * 当在 DSH 插件管理中停用此子组件时,此 fiber 被销毁或在此端点响应 enabled: false,客户端自动回退至 DSH 原生输入区。
8
+ * 1. 暴露 /api/michengai/dsh-codex-ui/composer (启停状态)
9
+ * 2. 暴露 /composer-prediction 与 /composer-prediction/v2 (参考插件标准流式预测)
14
10
  */
15
11
  declare function apply(ctx: Context): void;
16
12
  //#endregion