@michengai/dsh-codex-ui 1.1.48 → 2.0.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.
- package/CHANGELOG.md +13 -0
- package/CHANGELOG.zh-CN.md +13 -0
- package/README.md +117 -112
- package/README.zh-CN.md +117 -112
- package/assets/icon.svg +25 -0
- package/assets/screenshots/conversation-light.png +0 -0
- package/assets/screenshots/conversation.png +0 -0
- package/assets/screenshots/session-menu.png +0 -0
- package/assets/screenshots/settings-about.png +0 -0
- package/assets/screenshots/sidebar-collapsed.png +0 -0
- package/assets/screenshots/sidebar.png +0 -0
- package/cordis.patch.yml +9 -1
- package/lib/business-api-CSNUY-u5.mjs +11 -0
- package/lib/client.js +6050 -12010
- package/lib/composer-plugin.d.mts +17 -0
- package/lib/composer-plugin.mjs +41 -0
- package/lib/index.mjs +6 -1300
- package/lib/profile-resolver-BlLPRcE8.mjs +66 -0
- package/lib/session-title-plugin.d.mts +1 -1
- package/lib/session-title-plugin.mjs +111 -389
- package/lib/settings-skin-plugin.d.mts +12 -0
- package/lib/settings-skin-plugin.mjs +34 -0
- package/lib/sidebar-plugin.d.mts +17 -0
- package/lib/sidebar-plugin.mjs +43 -0
- package/lib/theme-plugin.d.mts +17 -0
- package/lib/theme-plugin.mjs +43 -0
- package/locale/composer/en.json +6 -0
- package/locale/composer/zh.json +6 -0
- package/locale/en.json +1 -1
- package/locale/settings-skin/en.json +6 -0
- package/locale/settings-skin/zh.json +6 -0
- package/locale/sidebar/en.json +6 -0
- package/locale/sidebar/zh.json +6 -0
- package/locale/theme/en.json +6 -0
- package/locale/theme/zh.json +6 -0
- package/locale/zh.json +1 -1
- package/package.json +71 -47
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
//#region src/client/locales.ts
|
|
2
2
|
const zh = {
|
|
3
|
-
"workspace.addFailed": "无法添加工作区",
|
|
4
|
-
"workspace.add": "添加工作区",
|
|
5
|
-
"workspace.retry": "重试",
|
|
6
|
-
"workspace.chooseAgain": "重新选择",
|
|
7
|
-
"navigation.back": "后退",
|
|
8
|
-
"navigation.forward": "前进",
|
|
9
3
|
"home.resizeInput": "拖动调整输入区宽度",
|
|
10
|
-
"home.projectSearch": "搜索项目",
|
|
11
|
-
"home.projectEmpty": "没有匹配的项目",
|
|
12
4
|
"home.suggestions": "开始一项任务",
|
|
13
5
|
"home.workspace": "请先选择工作区,再选择任务。",
|
|
14
6
|
"home.draft": "已保留当前草稿和附件;清空输入后可填入任务建议。",
|
|
@@ -35,185 +27,34 @@ const zh = {
|
|
|
35
27
|
"home.fix.prompt2": "请运行当前项目适用的测试,定位失败根因并做最小修复,保留有效的回归覆盖。",
|
|
36
28
|
"settings.title": "设置",
|
|
37
29
|
"settings.back": "返回应用",
|
|
38
|
-
"settings.openDocument": "打开配置文件",
|
|
39
|
-
"settings.advanced": "高级",
|
|
40
|
-
"settings.documentTitle": "配置文件",
|
|
41
|
-
"settings.documentDescription": "在外部编辑器中查看和编辑配置",
|
|
42
|
-
"settings.documentOpen": "打开",
|
|
43
|
-
"settings.documentOpening": "打开中…",
|
|
44
|
-
"settings.developerTools.title": "显示代码工作视图",
|
|
45
|
-
"settings.developerTools.description": "开启后,显示轨迹、本轮代码差异,可选择完整的 Agent 预设切换",
|
|
46
|
-
"settings.developerTools.error": "保存失败,请重试",
|
|
47
|
-
"settings.openDocumentError": "无法打开配置文件",
|
|
48
30
|
"settings.search": "搜索设置…",
|
|
49
31
|
"settings.personal": "个人",
|
|
50
32
|
"settings.integrations": "集成",
|
|
51
|
-
"settings.pluginConfig": "插件管理",
|
|
52
33
|
"settings.records": "记录与应用",
|
|
53
|
-
"settings.general": "常规",
|
|
54
|
-
"settings.permissions": "权限",
|
|
55
|
-
"settings.editor": "编辑器",
|
|
56
34
|
"settings.noResults": "没有匹配的设置分类",
|
|
57
|
-
"settings.filterHint": "仅筛选导航,选择分类后切换当前页面。",
|
|
58
|
-
"settings.disconnected": "连接异常",
|
|
59
|
-
"settings.reconnect": "立即重连",
|
|
60
|
-
"settings.connecting": "连接中",
|
|
61
|
-
"settings.recovered": "连接成功",
|
|
62
35
|
"input.historyHint": "↑↓ 翻历史",
|
|
63
|
-
"sidebar.label": "DSH 导航",
|
|
64
|
-
"sidebar.expand": "展开侧边栏",
|
|
65
|
-
"sidebar.collapse": "收缩侧边栏",
|
|
66
|
-
"sidebar.newTask": "新建任务",
|
|
67
|
-
"sidebar.search": "搜索会话",
|
|
68
|
-
"sidebar.mainMenu": "主菜单",
|
|
69
|
-
"sidebar.extensions": "扩展管理",
|
|
70
|
-
"sidebar.experts": "专家",
|
|
71
|
-
"sidebar.skills": "技能",
|
|
72
|
-
"sidebar.plugins": "插件管理",
|
|
73
|
-
"sidebar.marketplace": "插件市场",
|
|
74
|
-
"sidebar.builtinPlugins": "内置插件",
|
|
75
|
-
"sidebar.connectors": "连接器",
|
|
76
|
-
"sidebar.schedule": "定时任务",
|
|
77
|
-
"sidebar.assistant": "IM助理",
|
|
78
|
-
"sidebar.imSettings": "IM助理",
|
|
79
|
-
"sidebar.tasksTab": "任务",
|
|
80
|
-
"sidebar.channelsTab": "频道",
|
|
81
|
-
"sidebar.scheduleTab": "定时",
|
|
82
|
-
"sidebar.runsTab": "记录",
|
|
83
|
-
"sidebar.overviewTab": "任务",
|
|
84
|
-
"channels.empty": "还没有频道会话。先在设置 → IM助理 里连接渠道。",
|
|
85
|
-
"channels.loadError": "无法读取频道会话。",
|
|
86
|
-
"channel.dingtalk": "钉钉",
|
|
87
|
-
"channel.feishu": "飞书",
|
|
88
|
-
"channel.lark": "Lark",
|
|
89
|
-
"channel.weixin": "微信",
|
|
90
|
-
"channel.wecom": "企业微信",
|
|
91
|
-
"channel.qq": "QQ",
|
|
92
|
-
"channel.telegram": "Telegram",
|
|
93
|
-
"channel.unknown": "频道",
|
|
94
|
-
"schedule.empty": "还没有定时任务运行记录。",
|
|
95
|
-
"schedule.groupActions": "{name} 的任务操作",
|
|
96
|
-
"schedule.taskSettings": "任务设置",
|
|
97
|
-
"schedule.archiveGroup": "归档整组会话",
|
|
98
|
-
"schedule.archiveGroupConfirm": "确认归档",
|
|
99
|
-
"schedule.archiveGroupDescription": "将归档“{name}”下的 {count} 个会话。归档后可以在“设置 → 已归档”中恢复。",
|
|
100
|
-
"schedule.archiveGroupPending": "正在归档整组会话…",
|
|
101
|
-
"schedule.archiveGroupPartial": "已归档 {archived} 个会话,另有 {failed} 个失败。可以重试剩余会话。",
|
|
102
|
-
"search.placeholder": "搜索会话、设置和操作",
|
|
103
|
-
"search.empty": "没有匹配的结果。",
|
|
104
|
-
"search.sessions": "会话",
|
|
105
|
-
"search.settings": "设置",
|
|
106
|
-
"search.actions": "快捷操作",
|
|
107
|
-
"workspace.label": "工作区会话",
|
|
108
|
-
"workspace.pinned": "置顶",
|
|
109
|
-
"workspace.pinnedEmpty": "拖动项目到此处置顶",
|
|
110
|
-
"workspace.projects": "项目",
|
|
111
|
-
"workspace.ungrouped": "未分组",
|
|
112
|
-
"workspace.createGroup": "新建分组",
|
|
113
|
-
"workspace.createGroupDescription": "输入分组名称,项目不会自动移动。",
|
|
114
|
-
"workspace.groupName": "分组名称",
|
|
115
|
-
"workspace.moveToGroup": "移动到分组",
|
|
116
|
-
"workspace.removeFromGroup": "移至未分组",
|
|
117
|
-
"workspace.deleteGroup": "删除分组“{name}”",
|
|
118
|
-
"workspace.deleteGroupAction": "删除分组",
|
|
119
|
-
"workspace.deleteGroupDescription": "删除分组只会将其中项目移至未分组,不会删除项目或会话。",
|
|
120
|
-
"workspace.groupActions": "分组“{name}”的操作",
|
|
121
|
-
"workspace.renameGroup": "重命名分组",
|
|
122
|
-
"workspace.recent": "最近",
|
|
123
|
-
"workspace.recentEmpty": "无聊天",
|
|
124
|
-
"workspace.noChat": "暂无聊天",
|
|
125
|
-
"workspace.showMore": "展开显示",
|
|
126
|
-
"workspace.empty": "暂无项目",
|
|
127
|
-
"workspace.newSession": "新建会话",
|
|
128
|
-
"workspace.rename": "重命名项目",
|
|
129
|
-
"workspace.pin": "置顶项目",
|
|
130
|
-
"workspace.unpin": "取消置顶",
|
|
131
|
-
"workspace.archive": "归档所有会话",
|
|
132
|
-
"workspace.archiveTitle": "归档 {count} 个会话?",
|
|
133
|
-
"workspace.archiveDescription": "这会归档“{name}”中的全部会话,项目和文件夹仍会保留。",
|
|
134
|
-
"workspace.archiveConfirm": "全部归档",
|
|
135
|
-
"workspace.archivePending": "正在归档会话…",
|
|
136
|
-
"workspace.openPath": "在资源管理器中打开",
|
|
137
|
-
"workspace.delete": "移除项目",
|
|
138
|
-
"workspace.deleteDescription": "将把“{name}”从项目列表中移除。文件夹和会话记录会保留。",
|
|
139
|
-
"workspace.deletePending": "正在移除项目…",
|
|
140
|
-
"workspace.actions": "{name} 的项目操作",
|
|
141
|
-
"workspace.taskCount": "{count} 个任务",
|
|
142
|
-
"workspace.taskSummary": "{count} 个任务 · {unreadCount} 条未读",
|
|
143
|
-
"workspace.edit": "重命名项目",
|
|
144
|
-
"sessions.close": "关闭",
|
|
145
|
-
"sessions.cancel": "取消",
|
|
146
|
-
"sessions.save": "保存",
|
|
147
|
-
"sessions.failed": "操作失败:{message}",
|
|
148
|
-
"sessions.unknown": "找不到该会话。",
|
|
149
|
-
"sessions.actions": "{name} 的会话操作",
|
|
150
|
-
"sessions.markUnread": "标记为未读",
|
|
151
|
-
"sessions.markRead": "标记为已读",
|
|
152
|
-
"sessions.unread": "未读",
|
|
153
|
-
"sessions.waitingAnswer": "等待回答",
|
|
154
|
-
"sessions.waitingApproval": "等待审批",
|
|
155
|
-
"sessions.planReview": "计划待审",
|
|
156
|
-
"sessions.rename": "重命名会话",
|
|
157
|
-
"sessions.renameDescription": "保持简短且易于识别",
|
|
158
|
-
"sessions.renameInvalid": "会话名称无效,请修改后重试。",
|
|
159
|
-
"sessions.renameFailed": "暂时无法重命名该会话,请稍后重试。",
|
|
160
|
-
"sessions.archive": "归档会话",
|
|
161
|
-
"sessions.archiveFailed": "暂时无法归档该会话,请稍后重试。",
|
|
162
|
-
"sessions.delete": "删除会话",
|
|
163
|
-
"sessions.deleteDescription": "将永久删除会话“{name}”及其全部记录,此操作不可恢复。",
|
|
164
|
-
"sessions.deletePending": "正在删除会话…",
|
|
165
|
-
"sessions.deleteUnavailable": "未安装或无法连接归档管理插件。",
|
|
166
|
-
"sessions.deleteFailed": "暂时无法删除该会话,请稍后重试。",
|
|
167
|
-
"sessions.fork": "在新会话中继续",
|
|
168
|
-
"sessions.forkUnavailable": "当前会话暂时无法在新会话中继续,请等待本轮结束后重试。",
|
|
169
|
-
"sessions.forkFailed": "暂时无法创建新会话,请稍后重试。",
|
|
170
|
-
"sessions.openPath": "在资源管理器中打开",
|
|
171
|
-
"sessions.moveWorkspace": "项目",
|
|
172
|
-
"sessions.moveUnavailable": "会话移动服务暂不可用,请重启 DSH 后重试。",
|
|
173
|
-
"sessions.moveUnauthorized": "登录状态已失效,请刷新页面并重新登录。",
|
|
174
|
-
"sessions.moveForbidden": "当前访问地址不受信任,或请求来源已被拒绝。",
|
|
175
|
-
"sessions.moveNotFound": "会话或目标项目已不存在,请刷新后重试。",
|
|
176
|
-
"sessions.moveSubagent": "子代理会话不能移动到其他项目。",
|
|
177
|
-
"sessions.moveBusy": "该会话正在移动,请稍后重试。",
|
|
178
|
-
"sessions.moveRollbackFailed": "会话移动失败,自动恢复未完整完成,请查看 DSH 服务端日志。",
|
|
179
|
-
"sessions.moveFailed": "暂时无法移动该会话,原会话已保留。",
|
|
180
|
-
"sessions.moveConfirmTitle": "将会话移至“{project}”?",
|
|
181
|
-
"sessions.moveConfirmDescription": "“{name}”将移动到此项目,工作目录也会随之更改。",
|
|
182
|
-
"sessions.moveConfirmAction": "移动",
|
|
183
|
-
"sessions.movePending": "正在移动会话…",
|
|
184
|
-
"sessions.copyPath": "复制工作目录",
|
|
185
|
-
"sessions.copyTitle": "复制会话标题",
|
|
186
|
-
"sessions.copyId": "复制会话 ID",
|
|
187
|
-
"connectors.title": "连接器",
|
|
188
|
-
"connectors.description": "显示当前会话可用的 MCP 连接器及其工具,不显示地址、命令或凭证。",
|
|
189
|
-
"connectors.openSession": "请先打开一个会话以读取连接器。",
|
|
190
|
-
"connectors.loading": "正在读取连接器…",
|
|
191
|
-
"connectors.failed": "连接器目录暂不可用,请稍后重试。",
|
|
192
|
-
"connectors.toolCount": "{count} 个工具",
|
|
193
|
-
"connectors.empty": "当前会话没有可用的 MCP 连接器。",
|
|
194
|
-
"connectors.promptReady": "已带入新会话",
|
|
195
|
-
"connectors.promptRequired": "Prompt 不能为空。",
|
|
196
|
-
"connectors.workspacesLoading": "DSH 工作区数据尚未就绪,请稍后重试。",
|
|
197
|
-
"connectors.workspaceRequired": "请先选择一个工作区,再使用示例 Prompt。",
|
|
198
|
-
"connectors.workspaceUnavailable": "DSH 工作区服务尚未就绪,请稍后重试。",
|
|
199
|
-
"connectors.conversationUnavailable": "DSH 对话服务尚未就绪,请稍后重试。",
|
|
200
|
-
"connectors.sessionPending": "新会话尚未就绪,请稍后重试。",
|
|
201
36
|
"about.nav": "Codex UI",
|
|
202
37
|
"about.title": "Codex UI",
|
|
203
38
|
"about.viewProject": "GitHub",
|
|
204
39
|
"about.feedback": "问题反馈",
|
|
205
40
|
"about.checkUpdate": "检查更新",
|
|
206
41
|
"about.checking": "正在检查更新…",
|
|
207
|
-
"about.description": "为 DSH
|
|
208
|
-
"about.features": "
|
|
209
|
-
"about.feature.
|
|
210
|
-
"about.feature.
|
|
211
|
-
"about.feature.
|
|
212
|
-
"about.feature.
|
|
213
|
-
"about.feature.
|
|
214
|
-
"about.feature.
|
|
42
|
+
"about.description": "为 DSH 提供输入框增强、全屏设置工作台美化与生态插件管理。",
|
|
43
|
+
"about.features": "包含子插件与功能",
|
|
44
|
+
"about.feature.composer.name": "输入框增强 (Composer)",
|
|
45
|
+
"about.feature.composer": "终端风格输入历史(↑/↓)快捷召回、自适应宽度调节与会话建议卡片",
|
|
46
|
+
"about.feature.settingsSkin.name": "原生设置皮肤 (Settings Skin)",
|
|
47
|
+
"about.feature.settingsSkin": "全屏设置工作台美化、分类导航与原生输入框搜索",
|
|
48
|
+
"about.feature.sessionTitle.name": "会话智能标题 (Session Title)",
|
|
49
|
+
"about.feature.sessionTitle": "基于首条消息语义智能提取并生成规范的会话标题",
|
|
50
|
+
"about.feature.sidebar.name": "侧边栏导航 (Sidebar)",
|
|
51
|
+
"about.feature.sidebar": "模块化侧边栏导航、折叠抽屉收纳与自由拖拽排序",
|
|
52
|
+
"about.feature.theme.name": "主题与界面换肤 (Theme)",
|
|
53
|
+
"about.feature.theme": "内置 Codex 经典黑白与 Catppuccin 色盘,支持悬浮云母磨砂质感",
|
|
54
|
+
"about.feature.dependencies.name": "配套生态管理 (Dependencies)",
|
|
55
|
+
"about.feature.dependencies": "深度集成 DSH 官方与第三方生态插件集中管理与一键批量更新",
|
|
215
56
|
"about.dependencies": "配套管理插件",
|
|
216
|
-
"about.dependenciesDescription": "
|
|
57
|
+
"about.dependenciesDescription": "每个配套插件均支持独立按需安装与一键批量同步升级。",
|
|
217
58
|
"about.loading": "正在读取依赖安装状态…",
|
|
218
59
|
"about.statusFailed": "暂时无法读取依赖安装状态。",
|
|
219
60
|
"about.refreshFailed": "依赖状态刷新失败,当前显示上次成功读取的结果。",
|
|
@@ -262,26 +103,10 @@ const zh = {
|
|
|
262
103
|
"about.totalDownloads": "npm 累计下载",
|
|
263
104
|
"about.downloadsUnavailable": "暂不可用",
|
|
264
105
|
"about.downloadsSource": "npm 官方统计:自包创建日至昨日的累计下载次数,点击查看 npm 包",
|
|
265
|
-
"turns.label": "当前会话轮次导航",
|
|
266
|
-
"turns.untitled": "未命名提问",
|
|
267
|
-
"turns.jump": "跳转到第 {index} 轮:{summary}",
|
|
268
|
-
"time.justNow": "刚刚",
|
|
269
|
-
"time.justNowShort": "刚刚",
|
|
270
|
-
"time.minutes": "{count}分",
|
|
271
|
-
"time.hours": "{count}小时",
|
|
272
|
-
"time.days": "{count}天",
|
|
273
|
-
"time.weeks": "{count}周",
|
|
274
|
-
"time.months": "{count}个月",
|
|
275
|
-
"time.years": "{count}年",
|
|
276
106
|
"errors.unauthorized": "请先登录 DSH,再重试。",
|
|
277
107
|
"errors.forbidden": "请求被安全检查拒绝,请从可信的 DSH 地址重试。",
|
|
278
108
|
"errors.serviceUnavailable": "服务暂不可用,请稍后重试。",
|
|
279
|
-
"workspace.preferencesLocalOnly": "项目偏好尚未同步,当前使用本地缓存。",
|
|
280
109
|
"errors.generic": "操作未完成,请重试。",
|
|
281
|
-
"errors.groupInvalid": "分组信息无效。",
|
|
282
|
-
"errors.workspaceInvalid": "项目标识无效。",
|
|
283
|
-
"errors.groupMissing": "目标分组不存在。",
|
|
284
|
-
"errors.orderAnchorMissing": "排序位置已失效,请重试。",
|
|
285
110
|
"sessionTitle.system": "为编程助手会话生成标题。\n只输出一行,恰好两段:类型|主题\n类型必须是其中一个:{types}\n主题必须是具体事项,不能重复类型,不要写类型名或空主题。不要写日期或表情,不要引号、前缀、解释或 Markdown。\n主题使用用户消息的语言。",
|
|
286
111
|
"sessionTitle.userFrame": "根据这条用户消息生成会话标题。只返回“类型|主题”一行,不要第三段,不要重复主题。",
|
|
287
112
|
"sessionTitle.type.feature": "功能",
|
|
@@ -292,18 +117,45 @@ const zh = {
|
|
|
292
117
|
"sessionTitle.type.explore": "探索",
|
|
293
118
|
"sessionTitle.type.docs": "文档",
|
|
294
119
|
"sessionTitle.type.research": "研究",
|
|
295
|
-
"
|
|
120
|
+
"sidebar.more": "更多",
|
|
121
|
+
"sidebar.newSession": "新会话",
|
|
122
|
+
"sidebar.dragToMore": "拖至此处收入更多",
|
|
123
|
+
"sidebar.fixed": "始终常驻",
|
|
124
|
+
"sidebar.browsePlugins": "浏览更多插件",
|
|
125
|
+
"sidebar.createPlugin": "创建你的插件",
|
|
126
|
+
"sidebar.createPrompt": "创建一个带左侧栏入口的 DSH 插件。",
|
|
127
|
+
"theme.title": "界面外观与换肤",
|
|
128
|
+
"theme.desc": "定制 DeepSeek Harness 视觉风格,支持 Codex 经典配色与悬浮云母质感。",
|
|
129
|
+
"theme.palette": "主题配色",
|
|
130
|
+
"theme.paletteHint": "选择内置官方或 Codex 风格配色方案",
|
|
131
|
+
"theme.paletteStock": "官方默认",
|
|
132
|
+
"theme.paletteCodexDark": "Codex 暗色",
|
|
133
|
+
"theme.paletteCodexLight": "Codex 亮色",
|
|
134
|
+
"theme.paletteMocha": "Mocha (摩卡)",
|
|
135
|
+
"theme.paletteMacchiato": "Macchiato (玛奇朵)",
|
|
136
|
+
"theme.paletteFrappe": "Frappé (冰吸)",
|
|
137
|
+
"theme.paletteLatte": "Latte (拿铁)",
|
|
138
|
+
"theme.subStock": "跟随系统 原生界面",
|
|
139
|
+
"theme.subCodexDark": "沉浸炭黑 极客质感",
|
|
140
|
+
"theme.subCodexLight": "极简纸白 纯净阅读",
|
|
141
|
+
"theme.subMocha": "摩卡暗色 舒适护眼",
|
|
142
|
+
"theme.subMacchiato": "玛奇朵暗色 典雅柔和",
|
|
143
|
+
"theme.subFrappe": "冰吸暗色 雾感通透",
|
|
144
|
+
"theme.subLatte": "拿铁暖白 温润明快",
|
|
145
|
+
"theme.mode": "排版模式",
|
|
146
|
+
"theme.modeHint": "云母效果重塑为悬浮磨砂卡片;原版排版保持官方布局换用玻璃材质",
|
|
147
|
+
"theme.modeMica": "云母效果 (悬浮卡片)",
|
|
148
|
+
"theme.modeCompat": "原版排版 (平铺玻璃)",
|
|
149
|
+
"theme.glassPreset": "材质预设",
|
|
150
|
+
"theme.glassPresetHint": "在云母与原版排版模式下均可自由切换通透与磨砂程度",
|
|
151
|
+
"theme.presetClear": "清透 (高透光)",
|
|
152
|
+
"theme.presetStandard": "标准 (适中)",
|
|
153
|
+
"theme.presetFrosted": "磨砂 (强虚化)",
|
|
154
|
+
"theme.glassGlow": "地面光斑",
|
|
155
|
+
"theme.glassGlowHint": "在渐变地面上叠加两枚柔光反射斑。开启后主页与背景会有漫反射光晕"
|
|
296
156
|
};
|
|
297
157
|
const en = {
|
|
298
|
-
"workspace.addFailed": "Could not add workspace",
|
|
299
|
-
"workspace.add": "Add workspace",
|
|
300
|
-
"workspace.retry": "Retry",
|
|
301
|
-
"workspace.chooseAgain": "Choose again",
|
|
302
|
-
"navigation.back": "Back",
|
|
303
|
-
"navigation.forward": "Forward",
|
|
304
158
|
"home.resizeInput": "Drag to resize the input area",
|
|
305
|
-
"home.projectSearch": "Search projects",
|
|
306
|
-
"home.projectEmpty": "No matching projects",
|
|
307
159
|
"home.suggestions": "Start a task",
|
|
308
160
|
"home.workspace": "Choose a workspace first, then select a task.",
|
|
309
161
|
"home.draft": "Your draft and attachments are preserved. Clear the input to use a suggestion.",
|
|
@@ -330,185 +182,34 @@ const en = {
|
|
|
330
182
|
"home.fix.prompt2": "Run the applicable project tests, identify failure causes, and make minimal fixes with meaningful regression coverage.",
|
|
331
183
|
"settings.title": "Settings",
|
|
332
184
|
"settings.back": "Back to app",
|
|
333
|
-
"settings.openDocument": "Open configuration file",
|
|
334
|
-
"settings.advanced": "Advanced",
|
|
335
|
-
"settings.documentTitle": "Configuration file",
|
|
336
|
-
"settings.documentDescription": "View and edit configuration in an external editor",
|
|
337
|
-
"settings.documentOpen": "Open",
|
|
338
|
-
"settings.documentOpening": "Opening…",
|
|
339
|
-
"settings.developerTools.title": "Show coding view",
|
|
340
|
-
"settings.developerTools.description": "Shows trajectory, code diffs, and all Agent presets",
|
|
341
|
-
"settings.developerTools.error": "Could not save. Please try again.",
|
|
342
|
-
"settings.openDocumentError": "Could not open configuration file",
|
|
343
185
|
"settings.search": "Search settings…",
|
|
344
186
|
"settings.personal": "Personal",
|
|
345
187
|
"settings.integrations": "Integrations",
|
|
346
|
-
"settings.pluginConfig": "Plugin manager",
|
|
347
188
|
"settings.records": "Records and app",
|
|
348
|
-
"settings.general": "General",
|
|
349
|
-
"settings.permissions": "Permissions",
|
|
350
|
-
"settings.editor": "Editor",
|
|
351
189
|
"settings.noResults": "No matching settings categories",
|
|
352
|
-
"settings.filterHint": "Navigation is filtered. Select a category to switch pages.",
|
|
353
|
-
"settings.disconnected": "Disconnected",
|
|
354
|
-
"settings.reconnect": "Reconnect now",
|
|
355
|
-
"settings.connecting": "Connecting",
|
|
356
|
-
"settings.recovered": "Connected",
|
|
357
190
|
"input.historyHint": "↑↓ History",
|
|
358
|
-
"sidebar.label": "DSH navigation",
|
|
359
|
-
"sidebar.expand": "Expand sidebar",
|
|
360
|
-
"sidebar.collapse": "Collapse sidebar",
|
|
361
|
-
"sidebar.newTask": "New task",
|
|
362
|
-
"sidebar.search": "Search conversations",
|
|
363
|
-
"sidebar.mainMenu": "Main menu",
|
|
364
|
-
"sidebar.extensions": "Extensions",
|
|
365
|
-
"sidebar.experts": "Experts",
|
|
366
|
-
"sidebar.skills": "Skills",
|
|
367
|
-
"sidebar.plugins": "Plugin manager",
|
|
368
|
-
"sidebar.marketplace": "Plugin Market",
|
|
369
|
-
"sidebar.builtinPlugins": "Built-in plugins",
|
|
370
|
-
"sidebar.connectors": "Connectors",
|
|
371
|
-
"sidebar.schedule": "Scheduled tasks",
|
|
372
|
-
"sidebar.assistant": "IM Assistant",
|
|
373
|
-
"sidebar.imSettings": "IM Assistant",
|
|
374
|
-
"sidebar.tasksTab": "Tasks",
|
|
375
|
-
"sidebar.channelsTab": "Channels",
|
|
376
|
-
"sidebar.scheduleTab": "Schedule",
|
|
377
|
-
"sidebar.runsTab": "Records",
|
|
378
|
-
"sidebar.overviewTab": "Tasks",
|
|
379
|
-
"channels.empty": "No channel conversations yet. Connect a channel in Settings → IM Assistant.",
|
|
380
|
-
"channels.loadError": "Could not load channel conversations.",
|
|
381
|
-
"channel.dingtalk": "DingTalk",
|
|
382
|
-
"channel.feishu": "Feishu",
|
|
383
|
-
"channel.lark": "Lark",
|
|
384
|
-
"channel.weixin": "WeChat",
|
|
385
|
-
"channel.wecom": "WeCom",
|
|
386
|
-
"channel.qq": "QQ",
|
|
387
|
-
"channel.telegram": "Telegram",
|
|
388
|
-
"channel.unknown": "Channel",
|
|
389
|
-
"schedule.empty": "No scheduled-task runs yet.",
|
|
390
|
-
"schedule.groupActions": "Task actions for {name}",
|
|
391
|
-
"schedule.taskSettings": "Task settings",
|
|
392
|
-
"schedule.archiveGroup": "Archive all conversations",
|
|
393
|
-
"schedule.archiveGroupConfirm": "Archive all",
|
|
394
|
-
"schedule.archiveGroupDescription": "Archive all {count} conversations for “{name}”. You can restore them later in Settings → Archived.",
|
|
395
|
-
"schedule.archiveGroupPending": "Archiving conversations…",
|
|
396
|
-
"schedule.archiveGroupPartial": "Archived {archived} conversations; {failed} failed. You can retry the remaining conversations.",
|
|
397
|
-
"search.placeholder": "Search conversations, settings, and actions",
|
|
398
|
-
"search.empty": "No matching results.",
|
|
399
|
-
"search.sessions": "Conversations",
|
|
400
|
-
"search.settings": "Settings",
|
|
401
|
-
"search.actions": "Quick actions",
|
|
402
|
-
"workspace.label": "Workspace conversations",
|
|
403
|
-
"workspace.projects": "Projects",
|
|
404
|
-
"workspace.ungrouped": "Ungrouped",
|
|
405
|
-
"workspace.createGroup": "Create group",
|
|
406
|
-
"workspace.createGroupDescription": "Enter a group name. Projects will not move automatically.",
|
|
407
|
-
"workspace.groupName": "Group name",
|
|
408
|
-
"workspace.moveToGroup": "Move to group",
|
|
409
|
-
"workspace.removeFromGroup": "Move to ungrouped",
|
|
410
|
-
"workspace.deleteGroup": "Delete group {name}",
|
|
411
|
-
"workspace.deleteGroupAction": "Delete group",
|
|
412
|
-
"workspace.deleteGroupDescription": "Deleting this group moves its projects to Ungrouped. It does not delete projects or conversations.",
|
|
413
|
-
"workspace.groupActions": "Actions for group {name}",
|
|
414
|
-
"workspace.renameGroup": "Rename group",
|
|
415
|
-
"workspace.recent": "Recents",
|
|
416
|
-
"workspace.recentEmpty": "No chats",
|
|
417
|
-
"workspace.noChat": "No chats",
|
|
418
|
-
"workspace.showMore": "Show more",
|
|
419
|
-
"workspace.empty": "No projects",
|
|
420
|
-
"workspace.newSession": "New conversation",
|
|
421
|
-
"workspace.rename": "Rename project",
|
|
422
|
-
"workspace.pin": "Pin project",
|
|
423
|
-
"workspace.unpin": "Unpin",
|
|
424
|
-
"workspace.archive": "Archive all conversations",
|
|
425
|
-
"workspace.archiveTitle": "Archive {count} conversations?",
|
|
426
|
-
"workspace.archiveDescription": "This archives every conversation in “{name}”. The project and folder remain available.",
|
|
427
|
-
"workspace.archiveConfirm": "Archive all",
|
|
428
|
-
"workspace.archivePending": "Archiving conversations…",
|
|
429
|
-
"workspace.pinned": "Pinned",
|
|
430
|
-
"workspace.pinnedEmpty": "Drag a project here to pin it",
|
|
431
|
-
"workspace.openPath": "Open in file explorer",
|
|
432
|
-
"workspace.delete": "Remove project",
|
|
433
|
-
"workspace.deleteDescription": "This removes “{name}” from the project list. The folder and conversation records remain.",
|
|
434
|
-
"workspace.deletePending": "Removing project…",
|
|
435
|
-
"workspace.actions": "Project actions for {name}",
|
|
436
|
-
"workspace.taskCount": "{count} tasks",
|
|
437
|
-
"workspace.taskSummary": "{count} tasks · {unreadCount} unread",
|
|
438
|
-
"workspace.edit": "Rename project",
|
|
439
|
-
"sessions.close": "Close",
|
|
440
|
-
"sessions.cancel": "Cancel",
|
|
441
|
-
"sessions.save": "Save",
|
|
442
|
-
"sessions.failed": "Action failed: {message}",
|
|
443
|
-
"sessions.unknown": "Conversation not found.",
|
|
444
|
-
"sessions.actions": "Conversation actions for {name}",
|
|
445
|
-
"sessions.markUnread": "Mark as unread",
|
|
446
|
-
"sessions.markRead": "Mark as read",
|
|
447
|
-
"sessions.unread": "Unread",
|
|
448
|
-
"sessions.waitingAnswer": "Waiting for answer",
|
|
449
|
-
"sessions.waitingApproval": "Waiting for approval",
|
|
450
|
-
"sessions.planReview": "Plan awaiting review",
|
|
451
|
-
"sessions.rename": "Rename conversation",
|
|
452
|
-
"sessions.renameDescription": "Keep it short and easy to recognize.",
|
|
453
|
-
"sessions.renameInvalid": "The conversation name is invalid. Change it and try again.",
|
|
454
|
-
"sessions.renameFailed": "The conversation could not be renamed. Try again later.",
|
|
455
|
-
"sessions.archive": "Archive conversation",
|
|
456
|
-
"sessions.archiveFailed": "The conversation could not be archived. Try again later.",
|
|
457
|
-
"sessions.delete": "Delete conversation",
|
|
458
|
-
"sessions.deleteDescription": "This permanently deletes “{name}” and all of its records. This cannot be undone.",
|
|
459
|
-
"sessions.deletePending": "Deleting conversation…",
|
|
460
|
-
"sessions.deleteUnavailable": "The archive manager plugin is not installed or unavailable.",
|
|
461
|
-
"sessions.deleteFailed": "The conversation could not be deleted. Try again later.",
|
|
462
|
-
"sessions.fork": "Continue in new conversation",
|
|
463
|
-
"sessions.forkUnavailable": "This conversation cannot be continued in a new conversation right now. Try again after the current turn finishes.",
|
|
464
|
-
"sessions.forkFailed": "A new conversation could not be created. Try again later.",
|
|
465
|
-
"sessions.openPath": "Open in file explorer",
|
|
466
|
-
"sessions.moveWorkspace": "Project",
|
|
467
|
-
"sessions.moveUnavailable": "Conversation moving is unavailable. Restart DSH and try again.",
|
|
468
|
-
"sessions.moveUnauthorized": "Your login session has expired. Refresh the page and sign in again.",
|
|
469
|
-
"sessions.moveForbidden": "The current address is not trusted, or the request origin was rejected.",
|
|
470
|
-
"sessions.moveNotFound": "The conversation or target project no longer exists. Refresh and try again.",
|
|
471
|
-
"sessions.moveSubagent": "Subagent conversations cannot be moved to another project.",
|
|
472
|
-
"sessions.moveBusy": "This conversation is already being moved. Try again shortly.",
|
|
473
|
-
"sessions.moveRollbackFailed": "The conversation could not be moved, and automatic recovery did not complete. Check the DSH server logs.",
|
|
474
|
-
"sessions.moveFailed": "The conversation could not be moved. The original conversation was preserved.",
|
|
475
|
-
"sessions.moveConfirmTitle": "Move conversation to “{project}”?",
|
|
476
|
-
"sessions.moveConfirmDescription": "“{name}” will move to this project, and its working directory will change with it.",
|
|
477
|
-
"sessions.moveConfirmAction": "Move",
|
|
478
|
-
"sessions.movePending": "Moving conversation…",
|
|
479
|
-
"sessions.copyPath": "Copy working directory",
|
|
480
|
-
"sessions.copyTitle": "Copy conversation title",
|
|
481
|
-
"sessions.copyId": "Copy conversation ID",
|
|
482
|
-
"connectors.title": "Connectors",
|
|
483
|
-
"connectors.description": "Shows MCP connectors and tools available to this session without exposing addresses, commands, or credentials.",
|
|
484
|
-
"connectors.openSession": "Open a conversation to load connectors.",
|
|
485
|
-
"connectors.loading": "Loading connectors…",
|
|
486
|
-
"connectors.failed": "Connectors are unavailable. Try again shortly.",
|
|
487
|
-
"connectors.toolCount": "{count} tools",
|
|
488
|
-
"connectors.empty": "This conversation has no available MCP connectors.",
|
|
489
|
-
"connectors.promptReady": "Added to a new conversation",
|
|
490
|
-
"connectors.promptRequired": "The prompt cannot be empty.",
|
|
491
|
-
"connectors.workspacesLoading": "DSH workspace data is still loading. Try again shortly.",
|
|
492
|
-
"connectors.workspaceRequired": "Select a workspace before using an example prompt.",
|
|
493
|
-
"connectors.workspaceUnavailable": "The DSH workspace service is not ready. Try again shortly.",
|
|
494
|
-
"connectors.conversationUnavailable": "The DSH conversation service is not ready. Try again shortly.",
|
|
495
|
-
"connectors.sessionPending": "The new conversation is not ready yet. Try again shortly.",
|
|
496
191
|
"about.nav": "Codex UI",
|
|
497
192
|
"about.title": "Codex UI",
|
|
498
193
|
"about.viewProject": "GitHub",
|
|
499
194
|
"about.feedback": "Issues",
|
|
500
195
|
"about.checkUpdate": "Check for updates",
|
|
501
196
|
"about.checking": "Checking…",
|
|
502
|
-
"about.description": "Adds
|
|
503
|
-
"about.features": "
|
|
504
|
-
"about.feature.
|
|
505
|
-
"about.feature.
|
|
506
|
-
"about.feature.
|
|
507
|
-
"about.feature.
|
|
508
|
-
"about.feature.
|
|
509
|
-
"about.feature.
|
|
197
|
+
"about.description": "Adds input enhancements, fullscreen settings workbench skin, and ecosystem plugin management to DSH.",
|
|
198
|
+
"about.features": "Built-in Sub-plugins & Capabilities",
|
|
199
|
+
"about.feature.composer.name": "Composer Enhancements",
|
|
200
|
+
"about.feature.composer": "Terminal-style input history (↑/↓), adaptive width resizing, and starter suggestions",
|
|
201
|
+
"about.feature.settingsSkin.name": "Settings Skin",
|
|
202
|
+
"about.feature.settingsSkin": "Fullscreen settings workbench skin, categorized navigation, and search",
|
|
203
|
+
"about.feature.sessionTitle.name": "Session Title Generator",
|
|
204
|
+
"about.feature.sessionTitle": "Smart semantic session title generation based on the first conversation prompt",
|
|
205
|
+
"about.feature.sidebar.name": "Sidebar Navigation",
|
|
206
|
+
"about.feature.sidebar": "Modular sidebar navigation, collapsible drawers, and drag reordering",
|
|
207
|
+
"about.feature.theme.name": "Theme & Appearance",
|
|
208
|
+
"about.feature.theme": "Built-in Codex dark/light & Catppuccin palettes with floating mica glassmorphism",
|
|
209
|
+
"about.feature.dependencies.name": "Companion Dependencies",
|
|
210
|
+
"about.feature.dependencies": "Integrated management, live healthcheck, and one-click updates for DSH plugins",
|
|
510
211
|
"about.dependencies": "Companion management plugins",
|
|
511
|
-
"about.dependenciesDescription": "Install or update each companion
|
|
212
|
+
"about.dependenciesDescription": "Install or update each companion plugin individually, or synchronize all versions in one click.",
|
|
512
213
|
"about.loading": "Loading dependency status…",
|
|
513
214
|
"about.statusFailed": "Dependency status is temporarily unavailable.",
|
|
514
215
|
"about.refreshFailed": "Dependency status refresh failed. Showing the last successful result.",
|
|
@@ -557,26 +258,10 @@ const en = {
|
|
|
557
258
|
"about.totalDownloads": "npm total downloads",
|
|
558
259
|
"about.downloadsUnavailable": "Unavailable",
|
|
559
260
|
"about.downloadsSource": "Cumulative npm downloads from package creation through yesterday. View package on npm.",
|
|
560
|
-
"turns.label": "Conversation turn navigation",
|
|
561
|
-
"turns.untitled": "Untitled prompt",
|
|
562
|
-
"turns.jump": "Jump to turn {index}: {summary}",
|
|
563
|
-
"time.justNow": "Just now",
|
|
564
|
-
"time.justNowShort": "now",
|
|
565
|
-
"time.minutes": "{count}m",
|
|
566
|
-
"time.hours": "{count}h",
|
|
567
|
-
"time.days": "{count}d",
|
|
568
|
-
"time.weeks": "{count}w",
|
|
569
|
-
"time.months": "{count}mo",
|
|
570
|
-
"time.years": "{count}y",
|
|
571
261
|
"errors.unauthorized": "Sign in to DSH, then try again.",
|
|
572
262
|
"errors.forbidden": "The security check rejected this request. Try again from a trusted DSH address.",
|
|
573
263
|
"errors.serviceUnavailable": "The service is unavailable. Try again later.",
|
|
574
|
-
"workspace.preferencesLocalOnly": "Workspace preferences are not synced. Using the local cache.",
|
|
575
264
|
"errors.generic": "The action could not be completed. Try again.",
|
|
576
|
-
"errors.groupInvalid": "The group information is invalid.",
|
|
577
|
-
"errors.workspaceInvalid": "The project identifier is invalid.",
|
|
578
|
-
"errors.groupMissing": "The target group no longer exists.",
|
|
579
|
-
"errors.orderAnchorMissing": "The target position is no longer available. Try again.",
|
|
580
265
|
"sessionTitle.system": "Generate a title for a coding-assistant conversation.\nOutput exactly one line with two parts: Type|Theme\nType must be one of: {types}\nThe theme must be a concrete subject and must not repeat the type. Do not write dates, emoji, quotes, prefixes, explanations, or Markdown.\nWrite the theme in the language of the user message.",
|
|
581
266
|
"sessionTitle.userFrame": "Generate a conversation title from this user message. Return only one Type|Theme line. Do not add a third part or repeat the theme.",
|
|
582
267
|
"sessionTitle.type.feature": "Feature",
|
|
@@ -587,10 +272,47 @@ const en = {
|
|
|
587
272
|
"sessionTitle.type.explore": "Explore",
|
|
588
273
|
"sessionTitle.type.docs": "Docs",
|
|
589
274
|
"sessionTitle.type.research": "Research",
|
|
590
|
-
"
|
|
275
|
+
"sidebar.more": "More",
|
|
276
|
+
"sidebar.newSession": "New chat",
|
|
277
|
+
"sidebar.dragToMore": "Drag here to collapse",
|
|
278
|
+
"sidebar.fixed": "Always pinned",
|
|
279
|
+
"sidebar.browsePlugins": "Browse other plugins",
|
|
280
|
+
"sidebar.createPlugin": "Create your plugin",
|
|
281
|
+
"sidebar.createPrompt": "Create a DSH plugin with a left sidebar entry.",
|
|
282
|
+
"theme.title": "Appearance & Themes",
|
|
283
|
+
"theme.desc": "Customize DeepSeek Harness visual styling with Codex themes and frosted mica glass.",
|
|
284
|
+
"theme.palette": "Theme Palette",
|
|
285
|
+
"theme.paletteHint": "Choose official default or classic Codex color schemes",
|
|
286
|
+
"theme.paletteStock": "Official Default",
|
|
287
|
+
"theme.paletteCodexDark": "Codex Dark",
|
|
288
|
+
"theme.paletteCodexLight": "Codex Light",
|
|
289
|
+
"theme.paletteMocha": "Mocha",
|
|
290
|
+
"theme.paletteMacchiato": "Macchiato",
|
|
291
|
+
"theme.paletteFrappe": "Frappé",
|
|
292
|
+
"theme.paletteLatte": "Latte",
|
|
293
|
+
"theme.subStock": "System default",
|
|
294
|
+
"theme.subCodexDark": "Immersive carbon dark",
|
|
295
|
+
"theme.subCodexLight": "Clean paper light",
|
|
296
|
+
"theme.subMocha": "Mocha dark & soothing",
|
|
297
|
+
"theme.subMacchiato": "Macchiato soft tone",
|
|
298
|
+
"theme.subFrappe": "Frappé cool mist",
|
|
299
|
+
"theme.subLatte": "Latte warm light",
|
|
300
|
+
"theme.mode": "Layout Mode",
|
|
301
|
+
"theme.modeHint": "Mica restyles the UI into floating frosted cards; Compatibility keeps the stock layout with glass material",
|
|
302
|
+
"theme.modeMica": "Mica Cards",
|
|
303
|
+
"theme.modeCompat": "Stock Compat",
|
|
304
|
+
"theme.glassPreset": "Material Preset",
|
|
305
|
+
"theme.glassPresetHint": "Toggle transparency and blur levels in both Mica and Stock layout modes",
|
|
306
|
+
"theme.presetClear": "Clear",
|
|
307
|
+
"theme.presetStandard": "Standard",
|
|
308
|
+
"theme.presetFrosted": "Frosted",
|
|
309
|
+
"theme.glassGlow": "Ground glows",
|
|
310
|
+
"theme.glassGlowHint": "Adds soft radial glows on top of the gradient ground. Turning it on brightens the top-left corner"
|
|
591
311
|
};
|
|
592
312
|
//#endregion
|
|
593
313
|
//#region src/session-title.ts
|
|
314
|
+
const AUTOMATION_SESSION_PREFIX = "dsh-automation-session-";
|
|
315
|
+
const CHANNEL_SESSION_PREFIX = "im:";
|
|
594
316
|
const SESSION_TITLE_KINDS = [
|
|
595
317
|
"feature",
|
|
596
318
|
"design",
|
|
@@ -782,13 +504,13 @@ function assembleSessionTitle(type, theme, locale) {
|
|
|
782
504
|
}
|
|
783
505
|
function shouldSkipAutoTitle(session) {
|
|
784
506
|
const origin = session.origin ?? session.header?.origin;
|
|
785
|
-
return session.id.startsWith(
|
|
507
|
+
return session.id.startsWith(AUTOMATION_SESSION_PREFIX) || session.id.startsWith(CHANNEL_SESSION_PREFIX) || origin === "subagent" || session.header?.parentSession !== void 0 && session.header.parentSession !== "";
|
|
786
508
|
}
|
|
787
509
|
//#endregion
|
|
788
510
|
//#region src/session-title-provider.ts
|
|
789
|
-
const SESSION_TITLE_PROVIDER_ID = "
|
|
511
|
+
const SESSION_TITLE_PROVIDER_ID = "codex-ui-session-title";
|
|
790
512
|
const MAX_INPUT_BYTES = 4096;
|
|
791
|
-
const MAX_OUTPUT_TOKENS =
|
|
513
|
+
const MAX_OUTPUT_TOKENS = 4096;
|
|
792
514
|
const TIMEOUT_MS = 6e4;
|
|
793
515
|
function isServiceValue(value) {
|
|
794
516
|
return value !== null && (typeof value === "object" || typeof value === "function");
|
|
@@ -970,7 +692,7 @@ function silenceOfficialProvider(host, shouldSilence) {
|
|
|
970
692
|
};
|
|
971
693
|
target.register = function(provider) {
|
|
972
694
|
const candidate = provider;
|
|
973
|
-
if (candidate && candidate.id !== "
|
|
695
|
+
if (candidate && candidate.id !== "codex-ui-session-title") {
|
|
974
696
|
if ([...state.activeGuards].some((g) => g.shouldSilence())) return () => {};
|
|
975
697
|
}
|
|
976
698
|
return state.original.apply(this, arguments);
|
|
@@ -1065,13 +787,13 @@ function startSessionTitleLifecycle(host) {
|
|
|
1065
787
|
cancelled = true;
|
|
1066
788
|
silencing = false;
|
|
1067
789
|
const sessionTitle = host.get?.("sessionTitle");
|
|
1068
|
-
if (sessionTitle?.registration?.provider?.id === "
|
|
790
|
+
if (sessionTitle?.registration?.provider?.id === "codex-ui-session-title") sessionTitle.registration.closing = true;
|
|
1069
791
|
return disposal ??= serialize(key, async () => {
|
|
1070
792
|
try {
|
|
1071
793
|
await ready.catch(() => {});
|
|
1072
794
|
await provider?.();
|
|
1073
795
|
provider = void 0;
|
|
1074
|
-
if (sessionTitle?.registration?.provider?.id === "
|
|
796
|
+
if (sessionTitle?.registration?.provider?.id === "codex-ui-session-title" && sessionTitle.registration?.closing) delete sessionTitle.registration;
|
|
1075
797
|
} finally {
|
|
1076
798
|
restoreGuard?.();
|
|
1077
799
|
try {
|
|
@@ -1086,7 +808,7 @@ function startSessionTitleLifecycle(host) {
|
|
|
1086
808
|
}
|
|
1087
809
|
//#endregion
|
|
1088
810
|
//#region src/session-title-plugin.ts
|
|
1089
|
-
const name = "
|
|
811
|
+
const name = "codex-ui-session-title";
|
|
1090
812
|
const inject = [
|
|
1091
813
|
"sessionTitle",
|
|
1092
814
|
"llm",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Context } from "@deepseek-ai/cordis";
|
|
2
|
+
//#region src/settings-skin-plugin.d.ts
|
|
3
|
+
declare const name = "codex-ui-settings-skin";
|
|
4
|
+
declare const inject: string[];
|
|
5
|
+
/**
|
|
6
|
+
* 原生设置皮肤子组件 (Host 侧)
|
|
7
|
+
* 挂载时通过 webServer 暴露 /api/michengai/dsh-codex-ui/settings-skin 端点;
|
|
8
|
+
* 当在 DSH 插件管理中停用此子组件时,此 fiber 被销毁或响应 enabled: false,客户端自动回退至 DSH 原生外观。
|
|
9
|
+
*/
|
|
10
|
+
declare function apply(ctx: Context): void;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { apply, inject, name };
|