@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.
- package/CHANGELOG.md +14 -0
- package/CHANGELOG.zh-CN.md +14 -0
- package/README.md +8 -5
- package/README.zh-CN.md +8 -5
- package/cordis.patch.yml +2 -0
- package/lib/client.js +1342 -11
- package/lib/composer-plugin.d.mts +2 -6
- package/lib/composer-plugin.mjs +745 -12
- package/lib/desktop-menu-plugin.d.mts +21 -0
- package/lib/desktop-menu-plugin.mjs +582 -0
- package/lib/index.mjs +1 -1
- package/lib/{profile-resolver-D81fBy52.mjs → profile-resolver-BkTv7lmZ.mjs} +7 -2
- package/lib/session-title-plugin.mjs +42 -2
- package/lib/settings-skin-plugin.mjs +1 -1
- package/lib/sidebar-plugin.mjs +1 -1
- package/lib/theme-plugin.mjs +1 -1
- package/locale/composer/en.json +1 -1
- package/locale/composer/zh.json +1 -1
- package/locale/desktop-menu/en.json +6 -0
- package/locale/desktop-menu/zh.json +6 -0
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +8 -3
- package/lib/business-api-CSNUY-u5.mjs +0 -11
- package/lib/profile-resolver-9ws-Evm5.mjs +0 -73
|
@@ -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
|
-
*
|
|
13
|
-
*
|
|
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
|