@michengai/dsh-codex-ui 2.0.12 → 2.0.14
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 +15 -0
- package/CHANGELOG.zh-CN.md +15 -0
- package/README.md +4 -3
- package/README.zh-CN.md +4 -3
- package/lib/client.js +1077 -241
- package/lib/composer-plugin.d.mts +2 -6
- package/lib/composer-plugin.mjs +745 -12
- package/lib/desktop-menu-plugin.mjs +1 -1
- package/lib/index.mjs +1 -1
- package/lib/{profile-resolver-B1VNepo_.mjs → profile-resolver-BkTv7lmZ.mjs} +2 -0
- package/lib/session-title-plugin.mjs +6 -0
- 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/package.json +31 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as CODEX_UI_API_ENDPOINTS, t as isSubPluginDisabledOnDisk$1 } from "./profile-resolver-
|
|
1
|
+
import { r as CODEX_UI_API_ENDPOINTS, t as isSubPluginDisabledOnDisk$1 } from "./profile-resolver-BkTv7lmZ.mjs";
|
|
2
2
|
import { spawn } from "node:child_process";
|
|
3
3
|
import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { tmpdir } from "node:os";
|
package/lib/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as resolveCurrentProfile, r as CODEX_UI_API_ENDPOINTS } from "./profile-resolver-
|
|
1
|
+
import { n as resolveCurrentProfile, r as CODEX_UI_API_ENDPOINTS } from "./profile-resolver-BkTv7lmZ.mjs";
|
|
2
2
|
import { spawn } from "node:child_process";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { readFile, rm, unlink, writeFile } from "node:fs/promises";
|
|
@@ -9,6 +9,8 @@ const CODEX_UI_API_ENDPOINTS = Object.freeze({
|
|
|
9
9
|
dependencies: `${CODEX_UI_API_BASE}/dependencies`,
|
|
10
10
|
settingsSkin: `${CODEX_UI_API_BASE}/settings-skin`,
|
|
11
11
|
composer: `${CODEX_UI_API_BASE}/composer`,
|
|
12
|
+
composerPrediction: `${CODEX_UI_API_BASE}/composer/prediction`,
|
|
13
|
+
composerPredictionStream: `${CODEX_UI_API_BASE}/composer/prediction/stream`,
|
|
12
14
|
sidebar: `${CODEX_UI_API_BASE}/sidebar`,
|
|
13
15
|
sections: `${CODEX_UI_API_BASE}/sections`,
|
|
14
16
|
theme: `${CODEX_UI_API_BASE}/theme`,
|
|
@@ -33,6 +33,9 @@ const zh = {
|
|
|
33
33
|
"settings.records": "记录与应用",
|
|
34
34
|
"settings.noResults": "没有匹配的设置分类",
|
|
35
35
|
"input.historyHint": "↑↓ 翻历史",
|
|
36
|
+
"input.prediction.tab": "Tab 采纳",
|
|
37
|
+
"input.prediction.more": "Alt+↓ 切换",
|
|
38
|
+
"input.prediction.dismiss": "Esc 忽略",
|
|
36
39
|
"about.nav": "Codex UI",
|
|
37
40
|
"sections.pinned": "置顶",
|
|
38
41
|
"sections.default": "项目",
|
|
@@ -219,6 +222,9 @@ const en = {
|
|
|
219
222
|
"settings.records": "Records and app",
|
|
220
223
|
"settings.noResults": "No matching settings categories",
|
|
221
224
|
"input.historyHint": "↑↓ History",
|
|
225
|
+
"input.prediction.tab": "Tab accept",
|
|
226
|
+
"input.prediction.more": "Alt+↓ cycle",
|
|
227
|
+
"input.prediction.dismiss": "Esc dismiss",
|
|
222
228
|
"about.nav": "Codex UI",
|
|
223
229
|
"sections.pinned": "Pinned",
|
|
224
230
|
"sections.default": "Projects",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as CODEX_UI_API_ENDPOINTS, t as isSubPluginDisabledOnDisk } from "./profile-resolver-
|
|
1
|
+
import { r as CODEX_UI_API_ENDPOINTS, t as isSubPluginDisabledOnDisk } from "./profile-resolver-BkTv7lmZ.mjs";
|
|
2
2
|
//#region src/settings-skin-plugin.ts
|
|
3
3
|
const name = "codex-ui-settings-skin";
|
|
4
4
|
const inject = ["webServer"];
|
package/lib/sidebar-plugin.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as CODEX_UI_API_ENDPOINTS, t as isSubPluginDisabledOnDisk$1 } from "./profile-resolver-
|
|
1
|
+
import { r as CODEX_UI_API_ENDPOINTS, t as isSubPluginDisabledOnDisk$1 } from "./profile-resolver-BkTv7lmZ.mjs";
|
|
2
2
|
//#region src/sidebar-plugin.ts
|
|
3
3
|
const name = "codex-ui-sidebar";
|
|
4
4
|
const inject = ["webServer"];
|
package/lib/theme-plugin.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as CODEX_UI_API_ENDPOINTS, t as isSubPluginDisabledOnDisk$1 } from "./profile-resolver-
|
|
1
|
+
import { r as CODEX_UI_API_ENDPOINTS, t as isSubPluginDisabledOnDisk$1 } from "./profile-resolver-BkTv7lmZ.mjs";
|
|
2
2
|
//#region src/theme-plugin.ts
|
|
3
3
|
const name = "codex-ui-theme";
|
|
4
4
|
const inject = ["webServer"];
|
package/locale/composer/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Codex Composer enhancements",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Smart input predictions, terminal-style input history (↑/↓), composer width handles, and suggestion cards."
|
|
5
5
|
}
|
|
6
6
|
}
|
package/locale/composer/zh.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-codex-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"description": "DSH Codex UI — 为 DeepSeek Harness 提供极速历史召回、全屏设置皮肤、原生物理毛玻璃换肤、模块化侧栏与桌面原生窗口菜单 · Input enhancement, settings skin, native glass theme, modular sidebar, and desktop titlebar menu for DSH",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -96,11 +96,13 @@
|
|
|
96
96
|
"scripts": {
|
|
97
97
|
"build": "tsc --noEmit && tsdown",
|
|
98
98
|
"typecheck": "tsc --noEmit",
|
|
99
|
-
"test": "pnpm run typecheck && vitest run && tsdown && node tests/run-assertions.mjs && pnpm run test:layout",
|
|
99
|
+
"test": "pnpm run typecheck && vitest run && tsdown && node tests/run-assertions.mjs && pnpm run test:layout && pnpm run test:glass && pnpm run test:settings",
|
|
100
100
|
"test:host": "node scripts/verify-native-settings.mjs",
|
|
101
101
|
"test:layout": "node scripts/verify-new-conversation.mjs && node scripts/verify-hero-width.mjs",
|
|
102
102
|
"test:compat": "node scripts/run-compat-host.mjs",
|
|
103
|
-
"test:fallback-host": "node scripts/verify-plugin-fallback-host.mjs"
|
|
103
|
+
"test:fallback-host": "node scripts/verify-plugin-fallback-host.mjs",
|
|
104
|
+
"test:glass": "node scripts/verify-glass-material.mjs",
|
|
105
|
+
"test:settings": "node scripts/verify-settings-geometry.mjs"
|
|
104
106
|
},
|
|
105
107
|
"peerDependencies": {
|
|
106
108
|
"@deepseek-ai/cordis": ">=4.0.2 <5.0.0",
|
|
@@ -121,32 +123,32 @@
|
|
|
121
123
|
},
|
|
122
124
|
"devDependencies": {
|
|
123
125
|
"@deepseek-ai/cordis": "4.0.5",
|
|
124
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.
|
|
125
|
-
"@deepseek-ai/dsh-api-workspace-controller": "0.2.1-rc.
|
|
126
|
-
"@deepseek-ai/dsh-attachment": "0.2.1-rc.
|
|
127
|
-
"@deepseek-ai/dsh-client-connection": "0.2.1-rc.
|
|
128
|
-
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.
|
|
129
|
-
"@deepseek-ai/dsh-client-store": "0.2.1-rc.
|
|
130
|
-
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-rc.
|
|
131
|
-
"@deepseek-ai/dsh-client-ui-chat": "0.2.1-rc.
|
|
132
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.
|
|
133
|
-
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.1-rc.
|
|
134
|
-
"@deepseek-ai/dsh-client-ui-layout": "0.2.1-rc.
|
|
135
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.
|
|
136
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.
|
|
137
|
-
"@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.
|
|
138
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.
|
|
139
|
-
"@deepseek-ai/dsh-client-ui-settings-general": "0.2.1-rc.
|
|
140
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.1-rc.
|
|
141
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.
|
|
142
|
-
"@deepseek-ai/dsh-client-ui-theme": "0.2.1-rc.
|
|
143
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.2.1-rc.
|
|
144
|
-
"@deepseek-ai/dsh-scope": "0.2.1-rc.
|
|
145
|
-
"@deepseek-ai/dsh-session": "0.2.1-rc.
|
|
146
|
-
"@deepseek-ai/dsh-subagent": "0.2.1-rc.
|
|
147
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.
|
|
148
|
-
"@deepseek-ai/dsh-util-workspace-path": "0.2.1-rc.
|
|
149
|
-
"@deepseek-ai/dsh-workspace": "0.2.1-rc.
|
|
126
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.5",
|
|
127
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.2.1-rc.5",
|
|
128
|
+
"@deepseek-ai/dsh-attachment": "0.2.1-rc.5",
|
|
129
|
+
"@deepseek-ai/dsh-client-connection": "0.2.1-rc.5",
|
|
130
|
+
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.5",
|
|
131
|
+
"@deepseek-ai/dsh-client-store": "0.2.1-rc.5",
|
|
132
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-rc.5",
|
|
133
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.2.1-rc.5",
|
|
134
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.5",
|
|
135
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.1-rc.5",
|
|
136
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.1-rc.5",
|
|
137
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.5",
|
|
138
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.5",
|
|
139
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.5",
|
|
140
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.5",
|
|
141
|
+
"@deepseek-ai/dsh-client-ui-settings-general": "0.2.1-rc.5",
|
|
142
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.1-rc.5",
|
|
143
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.5",
|
|
144
|
+
"@deepseek-ai/dsh-client-ui-theme": "0.2.1-rc.5",
|
|
145
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.1-rc.5",
|
|
146
|
+
"@deepseek-ai/dsh-scope": "0.2.1-rc.5",
|
|
147
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.5",
|
|
148
|
+
"@deepseek-ai/dsh-subagent": "0.2.1-rc.5",
|
|
149
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.5",
|
|
150
|
+
"@deepseek-ai/dsh-util-workspace-path": "0.2.1-rc.5",
|
|
151
|
+
"@deepseek-ai/dsh-workspace": "0.2.1-rc.5",
|
|
150
152
|
"@types/jsdom": "^30.0.0",
|
|
151
153
|
"@types/node": "^26.0.0",
|
|
152
154
|
"@types/react": "~18.3.1",
|