@michengai/dsh-codex-ui 1.1.40 → 1.1.42
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 +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/client.js +128 -89
- package/lib/index.mjs +1 -7
- package/lib/session-title-plugin.mjs +8 -4
- package/package.json +39 -39
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.42 (2026-10-18)
|
|
4
|
+
|
|
5
|
+
- **Support DSH 0.2.1-rc.2**: Adapt to the latest official DeepSeek Harness host, pinning dev dependencies to `0.2.1-rc.2` and Cordis to `4.0.5`.
|
|
6
|
+
- **Drop obsolete pre-0.2.0 & alpha hosts**: Align with in-house plugin standards, dropping 0.1.x and alpha versions, focusing on DSH `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, and `0.2.1-rc.2`.
|
|
7
|
+
- **Clean legacy compat shims**: Remove 0.1.5 onboarding settings schema fallbacks and `settingsScope` branches.
|
|
8
|
+
- **Plugin Manager navigation in sidebar**: Clicking the plugin entry in the sidebar now opens the official Plugin Management section in Settings directly instead of taking over the main workspace.
|
|
9
|
+
- **Sidebar SegmentedTabs unification**: Unify both primary (Tasks/Channels/Schedule) and secondary (Runs/Overview) tabs to official `SegmentedTabs` with transparent containers and subtle pill indicators; resolve tablist suppression bugs.
|
|
10
|
+
- **About page alignment**: Adopt standard trio actions (GitHub, Feedback, Check Updates) and aligned typography.
|
|
11
|
+
|
|
3
12
|
[简体中文](CHANGELOG.zh-CN.md)
|
|
4
13
|
|
|
5
14
|
This changelog records recent releases of DSH Codex UI. Earlier changes remain available in the [Git history](https://github.com/MichengAI/dsh-codex-ui/commits/main).
|
|
6
15
|
|
|
16
|
+
## 1.1.41 - 2026-10-17
|
|
17
|
+
|
|
18
|
+
- Support DSH `0.2.1-rc.1` and `0.2.1-rc.2` while retaining all existing supported versions. Development dependencies are pinned to host `0.2.1-rc.2`.
|
|
19
|
+
- The sidebar Extensions plugin entry is now Plugin manager and opens the official plugin manager instead of the plugin market.
|
|
20
|
+
- The settings entry formerly called Plugin configuration is now Plugin manager. Built-in plugins remains the read-only list.
|
|
21
|
+
|
|
7
22
|
## 1.1.40 - 2026-10-15
|
|
8
23
|
|
|
9
24
|
- The Tasks tab shows workspace projects again. Channel conversations stay on the Channels tab.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 1.1.42 (2026-10-18)
|
|
4
|
+
|
|
5
|
+
- **支持 DSH 0.2.1-rc.2**:适配最新 DeepSeek Harness 官方版本,开发依赖钉至 `0.2.1-rc.2`,Cordis 钉至 `4.0.5`。
|
|
6
|
+
- **收紧宿主支持范围**:对齐技能管理等自研插件规范,彻底移除 0.2.0 以前(0.1.x)的历史版本及所有 alpha 版本,支持范围锁定为 DSH `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1` 和 `0.2.1-rc.2`。
|
|
7
|
+
- **清理历史兼容代码**:清除针对 0.1.5 旧版设置命名空间与 settingsScope 等历史降级垫片。
|
|
8
|
+
- **侧边栏扩展「插件管理」交互优化**:点击扩展项里的插件管理改为直接唤出系统设置中的「插件管理」分区,不再在右侧工作区强行切出面板。
|
|
9
|
+
- **侧栏选项卡视觉重构**:侧栏一级(任务/频道/定时)与二级(执行记录/任务总览)统一换用官方原生 `SegmentedTabs`,采用全透明底色与精致紧凑的微透药丸滑块,并修复了宿主全局 tablist 抑制规则导致的二级切换栏遮挡问题。
|
|
10
|
+
- **关于页规范对齐**:顶部升级为「GitHub / 问题反馈 / 检查更新」三联按钮,排版规范与字体对齐自研标准。
|
|
11
|
+
|
|
3
12
|
[English](CHANGELOG.md)
|
|
4
13
|
|
|
5
14
|
本日志记录 DSH Codex UI 的最近发布;更早的变更可查看 [Git 提交历史](https://github.com/MichengAI/dsh-codex-ui/commits/main)。
|
|
6
15
|
|
|
16
|
+
## 1.1.41 - 2026-10-17
|
|
17
|
+
|
|
18
|
+
- 支持 DSH `0.2.1-rc.1` 和 `0.2.1-rc.2`,继续兼容既有已支持版本。开发依赖钉到宿主 `0.2.1-rc.2`。
|
|
19
|
+
- 侧栏「扩展管理」里的插件入口改叫「插件管理」,打开官方插件管理页,不再进入插件市场。
|
|
20
|
+
- 设置里的「插件配置」改叫「插件管理」。「内置插件」仍是只读列表。
|
|
21
|
+
|
|
7
22
|
## 1.1.40 - 2026-10-15
|
|
8
23
|
|
|
9
24
|
- 「任务」页签重新显示工作区项目。频道会话仍留在「频道」页签。
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Working across several projects and conversations in DSH Web? DSH Codex UI helps
|
|
|
24
24
|
|
|
25
25
|
## Host compatibility
|
|
26
26
|
|
|
27
|
-
Version `1.1.
|
|
27
|
+
Version `1.1.42` explicitly declares support for DSH `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, and `0.2.1-rc.2` (dropping obsolete pre-0.2.0 hosts to align with in-house plugin standards). Development dependencies are pinned to `0.2.1-rc.2`. Compatibility declarations do not imply that every supported host received a fresh live test in this release.
|
|
28
28
|
|
|
29
29
|
**Do not enable Codex UI and `ds-bot` together.** Both redesign the sidebar and conversation interface, so their slot ownership and layout styles overlap. Disable or uninstall one before using the other.
|
|
30
30
|
|
package/README.zh-CN.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
## 宿主兼容性
|
|
26
26
|
|
|
27
|
-
`1.1.
|
|
27
|
+
`1.1.42` 已对齐自研插件规范,彻底移除 `0.2.0` 以前的历史宿主支持,显式声明支持 DSH `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1` 和 `0.2.1-rc.2`。开发依赖钉在 `0.2.1-rc.2`。兼容范围声明不代表本次发布重新完成了所有宿主版本的实机测试。
|
|
28
28
|
|
|
29
29
|
**不要同时启用 Codex UI 与 `ds-bot`。** 两者都重绘侧栏与会话界面,插槽归属和布局样式高度重叠。使用其中一个前,请先停用或卸载另一个。
|
|
30
30
|
|
package/lib/client.js
CHANGED
|
@@ -703,6 +703,7 @@ window.__ModuleLoader__.load({
|
|
|
703
703
|
const IconPanelLeftOutlineMedium = hostIcon("IconPanelLeftOutlineMedium", "IconPanelLeftOutline16");
|
|
704
704
|
const IconPersonalizationOutlineMedium = hostIcon("IconPersonalizationOutlineMedium", "IconPersonalizationOutline16");
|
|
705
705
|
const IconProjectAddOutlineMedium = hostIcon("IconProjectAddOutlineMedium", "IconProjectAddOutline16");
|
|
706
|
+
const IconRefreshOutlineMedium = hostIcon("IconRefreshOutlineMedium", "IconRefreshOutline16");
|
|
706
707
|
const IconSearchOutlineMedium = hostIcon("IconSearchOutlineMedium", "IconSearchOutline16");
|
|
707
708
|
const IconSettingsOutlineMedium = hostIcon("IconSettingsOutlineMedium", "IconSettingsOutline16");
|
|
708
709
|
const IconSkillOutlineMedium = hostIcon("IconSkillOutlineMedium", "IconSkillOutline16");
|
|
@@ -6377,10 +6378,20 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
6377
6378
|
})]
|
|
6378
6379
|
});
|
|
6379
6380
|
}
|
|
6380
|
-
/** 定时树:数据来自会话快照,行/菜单/悬停与任务树共用。 */
|
|
6381
6381
|
function ScheduleBrowser(props) {
|
|
6382
6382
|
const [menu, setMenu] = (0, react.useState)();
|
|
6383
6383
|
const [view, setView] = (0, react.useState)("runs");
|
|
6384
|
+
const viewTabs = (0, react.useMemo)(() => [{
|
|
6385
|
+
value: "runs",
|
|
6386
|
+
id: "dcu-schedule-tab-runs",
|
|
6387
|
+
panelId: "dcu-schedule-panel-runs",
|
|
6388
|
+
label: props.t("sidebar.runsTab")
|
|
6389
|
+
}, {
|
|
6390
|
+
value: "overview",
|
|
6391
|
+
id: "dcu-schedule-tab-overview",
|
|
6392
|
+
panelId: "dcu-schedule-panel-overview",
|
|
6393
|
+
label: props.t("sidebar.overviewTab")
|
|
6394
|
+
}], [props.t]);
|
|
6384
6395
|
if (props.overviewContent === void 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(HoverShell, {
|
|
6385
6396
|
blocked: menu !== void 0,
|
|
6386
6397
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ScheduleBrowserTree, {
|
|
@@ -6391,29 +6402,18 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
6391
6402
|
});
|
|
6392
6403
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6393
6404
|
className: "dcu-schedule-browser",
|
|
6394
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.
|
|
6405
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6395
6406
|
className: "dcu-schedule-views",
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
"aria-selected": view === "runs",
|
|
6402
|
-
onClick: () => {
|
|
6403
|
-
setMenu(void 0);
|
|
6404
|
-
setView("runs");
|
|
6405
|
-
},
|
|
6406
|
-
children: props.t("sidebar.runsTab")
|
|
6407
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
6408
|
-
type: "button",
|
|
6409
|
-
role: "tab",
|
|
6410
|
-
"aria-selected": view === "overview",
|
|
6411
|
-
onClick: () => {
|
|
6407
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SegmentedTabs, {
|
|
6408
|
+
className: "dcu-schedule-segmented-tabs",
|
|
6409
|
+
label: props.t("sidebar.scheduleTab"),
|
|
6410
|
+
value: view,
|
|
6411
|
+
onChange: (next) => {
|
|
6412
6412
|
setMenu(void 0);
|
|
6413
|
-
setView(
|
|
6413
|
+
setView(next);
|
|
6414
6414
|
},
|
|
6415
|
-
|
|
6416
|
-
})
|
|
6415
|
+
items: viewTabs
|
|
6416
|
+
})
|
|
6417
6417
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6418
6418
|
className: "dcu-schedule-pane",
|
|
6419
6419
|
children: view === "runs" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(HoverShell, {
|
|
@@ -7489,7 +7489,7 @@ body[data-we-sidebar-glass] .dcu-expanded-shell,body[data-we-sidebar-glass] .dcu
|
|
|
7489
7489
|
.dcu-menu{padding:0 6px 8px;display:grid;gap:2px}.dcu-menu button,.dcu-footer-link{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:8px;align-items:center;width:100%;min-height:36px;padding:0 4px;border-radius:8px;color:var(--dcu-sidebar-navigation);font-size:14px;line-height:20px;text-align:left;font-weight:400}
|
|
7490
7490
|
.dcu-menu-icon{display:grid;place-items:center start;width:20px;height:20px}.dcu-menu-icon svg,.dcu-footer-link svg{display:block;width:16px;height:16px;color:var(--dcu-sidebar-icon)}.dcu-menu button:disabled{color:var(--dcu-sidebar-secondary);cursor:default;opacity:1}.dcu-menu button:disabled svg{color:var(--dcu-sidebar-secondary)}
|
|
7491
7491
|
.dcu-extensions-group{display:grid}.dcu-extension-leading{position:relative;display:block;width:16px;height:16px}.dcu-extension-leading svg{position:absolute;inset:0;transition:opacity 140ms ease-out,transform 220ms cubic-bezier(.16,1,.3,1)}.dcu-extension-default-icon{opacity:1}.dcu-extension-state-arrow{opacity:0;transform:rotate(0)}.dcu-extensions-group:hover .dcu-extension-default-icon,.dcu-extensions-toggle:focus-visible .dcu-extension-default-icon{opacity:0}.dcu-extensions-group:hover .dcu-extension-state-arrow,.dcu-extensions-toggle:focus-visible .dcu-extension-state-arrow{opacity:1}.dcu-extensions-toggle[aria-expanded=true] .dcu-extension-state-arrow{transform:rotate(90deg)}.dcu-extension-panel{display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows 220ms cubic-bezier(.16,1,.3,1),opacity 160ms ease-out}.dcu-extension-panel[data-open=false]{grid-template-rows:0fr;opacity:0;pointer-events:none}.dcu-extension-panel-inner{position:relative;min-height:0;overflow:hidden}.dcu-extension-items{position:relative;display:grid;gap:1px;margin:1px 0 4px 28px}.dcu-extension-items::before{content:"";position:absolute;left:-16px;top:0;bottom:4px;width:1px;background:var(--dcu-sidebar-border)}.dcu-extension-items button{grid-template-columns:20px minmax(0,1fr);min-height:32px;color:var(--dcu-sidebar-secondary);font-size:13px;font-weight:400}
|
|
7492
|
-
.dcu-workspaces{display:flex;min-height:0;flex:1;flex-direction:column;margin-top:2px;padding-top:8px;border-top:1px solid var(--dcu-sidebar-border)}.dcu-workspaces.dcu-workspaces-tabs{padding-top:0;border-top:0}.dcu-im-tabs{display:flex;
|
|
7492
|
+
.dcu-workspaces{display:flex;min-height:0;flex:1;flex-direction:column;margin-top:2px;padding-top:8px;border-top:1px solid var(--dcu-sidebar-border)}.dcu-workspaces.dcu-workspaces-tabs{padding-top:0;border-top:0}.dcu-im-tabs{display:flex;margin:2px 8px 8px;padding:0}.dcu-im-tabs .dcu-im-segmented-tabs{width:100%;background:transparent!important;padding:2px!important}.dcu-im-tabs .dcu-im-segmented-tabs>span{inset:2px auto 2px 2px!important;border-radius:6px!important;border:0.5px solid var(--dcu-sidebar-border)!important;background:color-mix(in srgb,var(--dcu-sidebar-primary) 8%,transparent)!important;border-color:color-mix(in srgb,var(--dcu-sidebar-primary) 12%,transparent)!important;box-shadow:none!important}.dcu-im-tabs .dcu-im-segmented-tabs [role=tab]{height:26px!important;padding:0 6px!important;font-size:13px!important;line-height:18px!important;border-radius:6px!important;color:var(--dcu-sidebar-secondary)}.dcu-im-tabs .dcu-im-segmented-tabs [role=tab]:hover{color:var(--dcu-sidebar-primary)}.dcu-im-tabs .dcu-im-segmented-tabs [role=tab][aria-selected=true]{color:var(--dcu-sidebar-primary)!important;font-weight:600}.dcu-native-workspaces{display:flex;min-height:0;flex:1}.dcu-native-workspaces>*{min-width:0;flex:1}.dcu-native-workspaces .ima-tabs,.dcu-native-workspaces [role=tablist]:not(.dcu-schedule-segmented-tabs){display:none!important}.dcu-schedule-browser{display:flex;min-height:0;flex:1;flex-direction:column}.dcu-native-workspaces .dcu-schedule-views{display:flex!important;flex:none;margin:0 8px 8px;padding:0}.dcu-native-workspaces .dcu-schedule-views [role=tablist],.dcu-schedule-views .dcu-schedule-segmented-tabs{display:grid!important;width:100%;background:transparent!important;padding:2px!important}.dcu-schedule-views .dcu-schedule-segmented-tabs>span{inset:2px auto 2px 2px!important;border-radius:6px!important;border:0.5px solid color-mix(in srgb,var(--dcu-sidebar-primary) 12%,transparent)!important;background:color-mix(in srgb,var(--dcu-sidebar-primary) 8%,transparent)!important;box-shadow:none!important}.dcu-schedule-views .dcu-schedule-segmented-tabs>span{inset:2px auto 2px 2px!important;border-radius:6px!important;border:0.5px solid var(--dcu-sidebar-border)!important;background:color-mix(in srgb,var(--dcu-sidebar-primary) 8%,transparent)!important;border-color:color-mix(in srgb,var(--dcu-sidebar-primary) 12%,transparent)!important;box-shadow:none!important}.dcu-schedule-views .dcu-schedule-segmented-tabs [role=tab]{height:24px!important;padding:0 6px!important;font-size:12px!important;line-height:18px!important;border-radius:6px!important;color:var(--dcu-sidebar-secondary);font-weight:500}.dcu-schedule-views .dcu-schedule-segmented-tabs [role=tab]:hover{color:var(--dcu-sidebar-primary)}.dcu-schedule-views .dcu-schedule-segmented-tabs [role=tab][aria-selected=true]{color:var(--dcu-sidebar-primary)!important;font-weight:600}.dcu-schedule-pane{display:flex;min-height:0;flex:1}.dcu-schedule-pane>*{min-width:0;flex:1}.dcu-schedule-pane>[data-slot="sidebar.schedule"]{display:flex!important;width:100%;min-width:0;flex:1}.dcu-schedule-pane .dsh-st-rail{width:100%;min-width:0;padding:0;scrollbar-gutter:auto}.dcu-schedule-pane .dsh-st-overview{padding:2px 8px 14px;scrollbar-gutter:auto}.dcu-foot{display:grid;width:100%;gap:4px;padding:8px 6px 12px;border-top:1px solid var(--dcu-sidebar-border);transition:opacity 500ms cubic-bezier(.16,1,.3,1),transform 500ms cubic-bezier(.16,1,.3,1)}.dcu-root.dcu-collapsing>.dcu-foot{opacity:0;transform:translateX(-4px);pointer-events:none}.dcu-footer-actions:empty,.dcu-settings-seat:empty{display:none}.dcu-settings-seat>[data-dcu-settings-trigger]{width:100%;min-height:36px;padding-left:4px!important;color:var(--dcu-sidebar-navigation);font:14px/20px var(--dsw-font-family);font-weight:400}.dcu-compact{width:100%;align-items:flex-start;overflow:hidden;padding:calc((var(--dcu-header-height,34px) - 28px)/2) 0 8px}.dcu-compact-nav{display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;gap:2px;overflow:auto;padding:6px 0}.dcu-compact .dcu-icon{width:36px;height:36px;flex:none}.dcu-compact .dcu-foot{width:36px;margin-top:auto;margin-left:10px;padding:8px 0;border-top:0}.dcu-compact .dcu-settings-seat{width:36px;overflow:hidden}.dcu-compact .dcu-settings-seat>[data-dcu-settings-trigger]{display:grid;place-items:center;width:36px;min-height:36px;padding:0!important;font-size:0!important;line-height:0}.dcu-compact .dcu-settings-seat>[data-dcu-settings-trigger] svg{width:16px;height:16px}.dcu-compact .dcu-footer-link{display:flex;justify-content:center;width:36px;padding:0;font-size:0}.dcu-compact .dcu-footer-link svg{width:16px;height:16px}
|
|
7493
7493
|
.dcu-settings-seat [data-slot="settings.trigger"]{color:var(--dcu-sidebar-navigation)}
|
|
7494
7494
|
.dcu-settings-seat [data-slot="settings.trigger"]>svg{color:var(--dcu-sidebar-icon)}
|
|
7495
7495
|
/* 宿主列负责缩放,宽态内容保持展开宽度,避免中文竖排与工作区逐帧重排。 */
|
|
@@ -7885,11 +7885,40 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
7885
7885
|
const showChannels = companionTabs.channels;
|
|
7886
7886
|
const showSchedule = companionTabs.schedule;
|
|
7887
7887
|
const showCompanionTabs = showChannels || showSchedule;
|
|
7888
|
+
const imTabItems = (0, react.useMemo)(() => {
|
|
7889
|
+
const items = [{
|
|
7890
|
+
value: "tasks",
|
|
7891
|
+
id: "dcu-tab-tasks",
|
|
7892
|
+
panelId: "dcu-panel-tasks",
|
|
7893
|
+
label: t("sidebar.tasksTab")
|
|
7894
|
+
}];
|
|
7895
|
+
if (showChannels) items.push({
|
|
7896
|
+
value: "channels",
|
|
7897
|
+
id: "dcu-tab-channels",
|
|
7898
|
+
panelId: "dcu-panel-channels",
|
|
7899
|
+
label: t("sidebar.channelsTab")
|
|
7900
|
+
});
|
|
7901
|
+
if (showSchedule) items.push({
|
|
7902
|
+
value: "schedule",
|
|
7903
|
+
id: "dcu-tab-schedule",
|
|
7904
|
+
panelId: "dcu-panel-schedule",
|
|
7905
|
+
label: t("sidebar.scheduleTab")
|
|
7906
|
+
});
|
|
7907
|
+
return items;
|
|
7908
|
+
}, [
|
|
7909
|
+
showChannels,
|
|
7910
|
+
showSchedule,
|
|
7911
|
+
t
|
|
7912
|
+
]);
|
|
7888
7913
|
const selectSection = (label) => {
|
|
7889
7914
|
openSettingsSection(settingsSeat.current, label);
|
|
7890
7915
|
};
|
|
7891
7916
|
const openPlugins = () => {
|
|
7892
|
-
|
|
7917
|
+
selectExternalSection([
|
|
7918
|
+
t("settings.pluginConfig"),
|
|
7919
|
+
t("sidebar.marketplace"),
|
|
7920
|
+
t("sidebar.builtinPlugins")
|
|
7921
|
+
]);
|
|
7893
7922
|
};
|
|
7894
7923
|
const selectExternalSection = (label) => {
|
|
7895
7924
|
openSettingsSection(settingsSeat.current, label, () => {
|
|
@@ -8199,37 +8228,17 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
8199
8228
|
}),
|
|
8200
8229
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8201
8230
|
className: showCompanionTabs ? "dcu-workspaces dcu-workspaces-tabs" : "dcu-workspaces",
|
|
8202
|
-
children: [showCompanionTabs && /* @__PURE__ */ (0, react_jsx_runtime.
|
|
8231
|
+
children: [showCompanionTabs && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
8203
8232
|
className: "dcu-im-tabs",
|
|
8204
|
-
children:
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
}),
|
|
8214
|
-
showChannels && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8215
|
-
type: "button",
|
|
8216
|
-
className: "dcu-im-tab",
|
|
8217
|
-
"data-on": imTab === "channels",
|
|
8218
|
-
onClick: () => {
|
|
8219
|
-
setImTab("channels");
|
|
8220
|
-
},
|
|
8221
|
-
children: t("sidebar.channelsTab")
|
|
8222
|
-
}),
|
|
8223
|
-
showSchedule && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8224
|
-
type: "button",
|
|
8225
|
-
className: "dcu-im-tab",
|
|
8226
|
-
"data-on": imTab === "schedule",
|
|
8227
|
-
onClick: () => {
|
|
8228
|
-
setImTab("schedule");
|
|
8229
|
-
},
|
|
8230
|
-
children: t("sidebar.scheduleTab")
|
|
8231
|
-
})
|
|
8232
|
-
]
|
|
8233
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SegmentedTabs, {
|
|
8234
|
+
className: "dcu-im-segmented-tabs",
|
|
8235
|
+
label: t("sidebar.tasksTab"),
|
|
8236
|
+
value: imTab,
|
|
8237
|
+
onChange: (next) => {
|
|
8238
|
+
setImTab(next);
|
|
8239
|
+
},
|
|
8240
|
+
items: imTabItems
|
|
8241
|
+
})
|
|
8233
8242
|
}), imTab === "channels" && showChannels ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
8234
8243
|
className: "dcu-native-workspaces",
|
|
8235
8244
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChannelBrowser, {
|
|
@@ -8466,6 +8475,9 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
8466
8475
|
//#endregion
|
|
8467
8476
|
//#region src/client/AboutSection.tsx
|
|
8468
8477
|
const PROJECT_HOMEPAGES = Object.fromEntries(MANAGED_DEPENDENCIES.map(({ id, packageName }) => [id, id === "market" ? "https://dshmarket.com" : `https://github.com/MichengAI/${packageName.split("/")[1]}`]));
|
|
8478
|
+
const openExternal = (url) => {
|
|
8479
|
+
window.open(url, "_blank", "noreferrer");
|
|
8480
|
+
};
|
|
8469
8481
|
const PROGRESS_PHASES = /* @__PURE__ */ new Set([
|
|
8470
8482
|
"resolving",
|
|
8471
8483
|
"downloading",
|
|
@@ -8474,8 +8486,8 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
8474
8486
|
]);
|
|
8475
8487
|
const endpoint = CODEX_UI_API_ENDPOINTS.dependencies;
|
|
8476
8488
|
const stylesheet$2 = `
|
|
8477
|
-
.dcu-about{color:var(--dsw-alias-label-primary)}.dcu-about h2{margin:0;font-size:
|
|
8478
|
-
.dcu-about-title-row{display:flex;align-items:center;gap:8px;min-width:0}.dcu-about-links{display:flex;align-items:center;gap:
|
|
8489
|
+
.dcu-about{color:var(--dsw-alias-label-primary);font-family:var(--dsw-font-family)}.dcu-about-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:12px}.dcu-about-title-block{min-width:0}.dcu-about h2,.dcu-about-title{margin:0;font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.4px;color:var(--dsw-alias-label-primary)}.dcu-about-intro,.dcu-about-desc{margin:12px 0 0;color:var(--dsw-alias-label-tertiary,#a0a0a0);font-size:14px;line-height:22px}.dcu-about h3{margin:24px 0 12px;font-size:16px;font-weight:600;line-height:24px;color:var(--dsw-alias-label-primary)}.dcu-about-features{margin:0;padding-left:20px;color:var(--dsw-alias-label-secondary);font-size:13px;line-height:24px}.dcu-about-dependencies-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.dcu-about-dependencies-heading h3{margin:0}.dcu-about-dependencies-heading+.dcu-about-intro,.dcu-about-dependencies-heading+.dcu-about-desc{margin-top:8px;margin-bottom:14px}.dcu-about-dependencies{overflow:hidden;border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md,10px)}.dcu-about-dependency{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px;border-bottom:1px solid var(--dsw-alias-border-l2)}.dcu-about-dependency:last-child{border-bottom:0}.dcu-about-copy{min-width:0;flex:1}.dcu-about-name{font-size:13px;line-height:20px;font-weight:600}.dcu-about-package{overflow:hidden;margin-top:2px;color:var(--dsw-alias-label-tertiary);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.dcu-about-status{display:flex;align-items:center;gap:5px;font-size:12px}.dcu-about-status[data-installed=true]{color:var(--dsw-alias-state-success-primary)}.dcu-about-status[data-installed=false]{color:var(--dsw-alias-state-error-primary)}.dcu-about-status[data-update=true]{color:var(--dsw-alias-state-warning-primary)}.dcu-about-install{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;border:1px solid var(--dsw-alias-border-l2);border-radius:7px;padding:6px 9px;background:transparent;color:var(--dsw-alias-label-primary);font:inherit;font-size:12px;cursor:pointer}.dcu-about-install:hover:not(:disabled){background:var(--dsw-specific-menu-item-hover)}.dcu-about-install:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}.dcu-about-install:disabled{cursor:default;opacity:.4}.dcu-about-install[aria-busy=true]{pointer-events:none}.dcu-about-update-all{min-height:30px;padding:4px 10px;font-weight:500;border-color:var(--dsw-alias-border-l3)}.dcu-about-progress{position:relative;margin-top:16px;border:1px solid var(--dsw-alias-border-l2);border-radius:8px;padding:10px 14px 12px;background:var(--dsw-alias-bg-layer-2);display:flex;align-items:center;gap:10px;font-size:12px;overflow:hidden}.dcu-about-progress code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--dsw-alias-label-secondary)}.dcu-about-progress-pct{flex:none;color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums;font-weight:500}.dcu-about-progress-bar{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--dsw-alias-border-l2);overflow:hidden}.dcu-about-progress-fill{height:100%;background:var(--dsw-alias-state-business-primary);transition:width 200ms ease}.dcu-about-progress-fill[data-wave=true]{width:40%;animation:dcu-progress-wave 1.4s ease-in-out infinite}@keyframes dcu-progress-wave{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}.dcu-about-message{margin-top:16px;border-radius:8px;padding:10px 14px;background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);font-size:13px;line-height:20px;border:1px solid var(--dsw-alias-border-l2)}.dcu-about-message[data-error=true]{background:color-mix(in srgb,var(--dsw-alias-state-error-primary) 12%,transparent);border-color:color-mix(in srgb,var(--dsw-alias-state-error-primary) 30%,transparent)}
|
|
8490
|
+
.dcu-about-title-row{display:flex;align-items:center;gap:8px 12px;min-width:0;flex-wrap:wrap}.dcu-about-feedback-links,.dcu-about-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dcu-about-external-link{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 8px;color:var(--dsw-alias-label-secondary);background:transparent;border:1px solid var(--dsw-alias-border-l2);border-radius:7px;font-size:12px;font-weight:500;line-height:18px;text-decoration:none;white-space:nowrap}.dcu-about-external-link:hover{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}.dcu-about-external-link:focus-visible{outline:2px solid var(--dsw-alias-state-success-primary);outline-offset:2px}.dcu-about-external-link svg{flex:none}@media(max-width:720px){.dcu-about-title-row{flex-wrap:wrap}}
|
|
8479
8491
|
.dcu-about-version{margin-left:8px;color:var(--dsw-alias-label-tertiary);font-family:inherit;font-size:12px;font-weight:500;line-height:18px;letter-spacing:0;white-space:nowrap;vertical-align:baseline}
|
|
8480
8492
|
.dcu-about-project-link{color:inherit;text-decoration:none}.dcu-about-project-link:hover{text-decoration:underline;text-underline-offset:3px}.dcu-about-project-link:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px;border-radius:2px}
|
|
8481
8493
|
.dcu-about-name-row{display:flex;align-items:center;gap:10px;min-width:0}.dcu-about-name-row .dcu-about-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dcu-about-downloads{display:inline-flex;align-items:center;gap:4px;flex:none;color:var(--dsw-alias-label-secondary);font-size:11px;line-height:20px;font-weight:400;font-variant-numeric:tabular-nums;text-decoration:none;white-space:nowrap}.dcu-about-downloads svg{flex:none;opacity:.75}.dcu-about-downloads:hover{color:var(--dsw-alias-label-primary)}.dcu-about-downloads:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:3px;border-radius:2px}@media(max-width:480px){.dcu-about-dependency{flex-wrap:wrap;gap:8px}.dcu-about-copy{flex-basis:100%}}
|
|
@@ -8689,33 +8701,59 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
8689
8701
|
"aria-label": t("about.nav"),
|
|
8690
8702
|
children: [
|
|
8691
8703
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("style", { children: stylesheet$2 }),
|
|
8692
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
8693
|
-
className: "dcu-about-
|
|
8694
|
-
children:
|
|
8695
|
-
className: "dcu-about-
|
|
8696
|
-
children: ["
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8704
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
8705
|
+
className: "dcu-about-head",
|
|
8706
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8707
|
+
className: "dcu-about-title-block",
|
|
8708
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8709
|
+
className: "dcu-about-title-row",
|
|
8710
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("h2", {
|
|
8711
|
+
className: "dcu-about-title",
|
|
8712
|
+
children: [t("about.title"), selfVersion === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
8713
|
+
className: "dcu-about-version",
|
|
8714
|
+
children: ["v", selfVersion]
|
|
8715
|
+
})]
|
|
8716
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8717
|
+
className: "dcu-about-feedback-links dcu-about-links",
|
|
8718
|
+
children: [
|
|
8719
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
8720
|
+
variant: "outline",
|
|
8721
|
+
size: "sm",
|
|
8722
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GithubMark16, {}),
|
|
8723
|
+
"aria-label": t("about.viewProject"),
|
|
8724
|
+
onClick: () => {
|
|
8725
|
+
openExternal("https://github.com/MichengAI/dsh-codex-ui");
|
|
8726
|
+
},
|
|
8727
|
+
children: t("about.viewProject")
|
|
8728
|
+
}),
|
|
8729
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
8730
|
+
variant: "outline",
|
|
8731
|
+
size: "sm",
|
|
8732
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconListPenOutlineMedium, { size: 14 }),
|
|
8733
|
+
"aria-label": t("about.feedback"),
|
|
8734
|
+
onClick: () => {
|
|
8735
|
+
openExternal("https://github.com/MichengAI/dsh-codex-ui/issues");
|
|
8736
|
+
},
|
|
8737
|
+
children: t("about.feedback")
|
|
8738
|
+
}),
|
|
8739
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
8740
|
+
variant: "outline",
|
|
8741
|
+
size: "sm",
|
|
8742
|
+
icon: state === "loading" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutlineMedium, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconRefreshOutlineMedium, { size: 14 }),
|
|
8743
|
+
"aria-label": t("about.checkUpdate"),
|
|
8744
|
+
disabled: state === "loading" || installing !== void 0,
|
|
8745
|
+
onClick: () => {
|
|
8746
|
+
load();
|
|
8747
|
+
},
|
|
8748
|
+
children: state === "loading" ? t("about.checking") : t("about.checkUpdate")
|
|
8749
|
+
})
|
|
8750
|
+
]
|
|
8751
|
+
})]
|
|
8752
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
8753
|
+
className: "dcu-about-desc dcu-about-intro",
|
|
8754
|
+
children: t("about.description")
|
|
8713
8755
|
})]
|
|
8714
|
-
})
|
|
8715
|
-
}),
|
|
8716
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
8717
|
-
className: "dcu-about-intro",
|
|
8718
|
-
children: t("about.description")
|
|
8756
|
+
})
|
|
8719
8757
|
}),
|
|
8720
8758
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", { children: t("about.features") }),
|
|
8721
8759
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("ul", {
|
|
@@ -9096,7 +9134,7 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
9096
9134
|
"settings.search": "搜索设置…",
|
|
9097
9135
|
"settings.personal": "个人",
|
|
9098
9136
|
"settings.integrations": "集成",
|
|
9099
|
-
"settings.pluginConfig": "
|
|
9137
|
+
"settings.pluginConfig": "插件管理",
|
|
9100
9138
|
"settings.records": "记录与应用",
|
|
9101
9139
|
"settings.general": "常规",
|
|
9102
9140
|
"settings.permissions": "权限",
|
|
@@ -9117,7 +9155,7 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
9117
9155
|
"sidebar.extensions": "扩展管理",
|
|
9118
9156
|
"sidebar.experts": "专家",
|
|
9119
9157
|
"sidebar.skills": "技能",
|
|
9120
|
-
"sidebar.plugins": "
|
|
9158
|
+
"sidebar.plugins": "插件管理",
|
|
9121
9159
|
"sidebar.marketplace": "插件市场",
|
|
9122
9160
|
"sidebar.builtinPlugins": "内置插件",
|
|
9123
9161
|
"sidebar.connectors": "连接器",
|
|
@@ -9250,6 +9288,8 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
9250
9288
|
"about.title": "Codex UI",
|
|
9251
9289
|
"about.viewProject": "GitHub",
|
|
9252
9290
|
"about.feedback": "问题反馈",
|
|
9291
|
+
"about.checkUpdate": "检查更新",
|
|
9292
|
+
"about.checking": "正在检查更新…",
|
|
9253
9293
|
"about.description": "为 DSH 提供 Codex 风格的侧栏、工作区会话管理、搜索与会话轮次导航。",
|
|
9254
9294
|
"about.features": "基本功能",
|
|
9255
9295
|
"about.feature.sidebar": "Codex 风格侧栏、全局会话搜索与设置入口",
|
|
@@ -9389,7 +9429,7 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
9389
9429
|
"settings.search": "Search settings…",
|
|
9390
9430
|
"settings.personal": "Personal",
|
|
9391
9431
|
"settings.integrations": "Integrations",
|
|
9392
|
-
"settings.pluginConfig": "Plugin
|
|
9432
|
+
"settings.pluginConfig": "Plugin manager",
|
|
9393
9433
|
"settings.records": "Records and app",
|
|
9394
9434
|
"settings.general": "General",
|
|
9395
9435
|
"settings.permissions": "Permissions",
|
|
@@ -9410,7 +9450,7 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
9410
9450
|
"sidebar.extensions": "Extensions",
|
|
9411
9451
|
"sidebar.experts": "Experts",
|
|
9412
9452
|
"sidebar.skills": "Skills",
|
|
9413
|
-
"sidebar.plugins": "
|
|
9453
|
+
"sidebar.plugins": "Plugin manager",
|
|
9414
9454
|
"sidebar.marketplace": "Plugin Market",
|
|
9415
9455
|
"sidebar.builtinPlugins": "Built-in plugins",
|
|
9416
9456
|
"sidebar.connectors": "Connectors",
|
|
@@ -9543,6 +9583,8 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
9543
9583
|
"about.title": "Codex UI",
|
|
9544
9584
|
"about.viewProject": "GitHub",
|
|
9545
9585
|
"about.feedback": "Issues",
|
|
9586
|
+
"about.checkUpdate": "Check for updates",
|
|
9587
|
+
"about.checking": "Checking…",
|
|
9546
9588
|
"about.description": "Adds a Codex-style sidebar, workspace conversation management, search, and turn navigation to DSH.",
|
|
9547
9589
|
"about.features": "Core features",
|
|
9548
9590
|
"about.feature.sidebar": "Codex-style sidebar, global conversation search, and settings entry points",
|
|
@@ -9850,7 +9892,7 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
9850
9892
|
const LABEL_ALIASES = [
|
|
9851
9893
|
[["插件市场", "Plugin Market"], "plugins"],
|
|
9852
9894
|
[["内置插件", "Built-in plugins"], "plugins"],
|
|
9853
|
-
[["
|
|
9895
|
+
[["插件管理", "Plugin manager"], "plugins"],
|
|
9854
9896
|
[["专家", "Experts"], "experts"],
|
|
9855
9897
|
[["技能", "Skills"], "skills"],
|
|
9856
9898
|
[["插件", "Plugins"], "plugins"],
|
|
@@ -10994,9 +11036,6 @@ html[data-dsh-native-backdrop=mica] .dcu-settings-page,html[data-dsh-native-back
|
|
|
10994
11036
|
ctx.inject(["configForms", "remote.settings"], (settingsCtx) => {
|
|
10995
11037
|
return bindSettingsDocument(settingsCtx, settingsCtx.configForms);
|
|
10996
11038
|
});
|
|
10997
|
-
ctx.inject(["settingsScope", "remote.settings"], (settingsCtx) => {
|
|
10998
|
-
return bindSettingsDocument(settingsCtx, settingsCtx.settingsScope);
|
|
10999
|
-
});
|
|
11000
11039
|
ctx.inject(["configForms"], (configFormsCtx) => {
|
|
11001
11040
|
const configForms = configFormsCtx.configForms;
|
|
11002
11041
|
if (!configForms?.developerTools) return;
|
package/lib/index.mjs
CHANGED
|
@@ -1896,8 +1896,6 @@ async function moveSessionToWorkspace(services, sessionId, targetWorkspaceId, op
|
|
|
1896
1896
|
}
|
|
1897
1897
|
//#endregion
|
|
1898
1898
|
//#region src/onboarding-settings.ts
|
|
1899
|
-
/** 0.1.5 及更早的设置服务用这个命名空间保存欢迎提示版本。 */
|
|
1900
|
-
const ONBOARDING_SETTINGS_NAMESPACE = "ui-onboarding";
|
|
1901
1899
|
/**
|
|
1902
1900
|
* 停用官方设置壳后,仍登记引导设置。
|
|
1903
1901
|
* 不能 import `@deepseek-ai/dsh-client-ui-settings-general`:裸模块名会向上解析到
|
|
@@ -1913,11 +1911,7 @@ function registerOnboardingSettings(ctx) {
|
|
|
1913
1911
|
const dispose = settings.configure({ auto: false }, ctx.fiber);
|
|
1914
1912
|
return typeof dispose === "function" ? dispose : () => {};
|
|
1915
1913
|
});
|
|
1916
|
-
|
|
1917
|
-
settings.register(ONBOARDING_SETTINGS_NAMESPACE, { welcomeNoticeVersion: { type: "string" } });
|
|
1918
|
-
return;
|
|
1919
|
-
}
|
|
1920
|
-
ctx.logger.warn("[michengai-codex-ui] 当前宿主没有设置 schema 接口,跳过引导设置注册。");
|
|
1914
|
+
ctx.logger.warn("[michengai-codex-ui] 当前宿主缺少 settings.configure 接口,跳过引导设置注册。");
|
|
1921
1915
|
} catch (error) {
|
|
1922
1916
|
ctx.logger.warn("[michengai-codex-ui] 引导设置注册已跳过:%s", error);
|
|
1923
1917
|
}
|
|
@@ -48,7 +48,7 @@ const zh = {
|
|
|
48
48
|
"settings.search": "搜索设置…",
|
|
49
49
|
"settings.personal": "个人",
|
|
50
50
|
"settings.integrations": "集成",
|
|
51
|
-
"settings.pluginConfig": "
|
|
51
|
+
"settings.pluginConfig": "插件管理",
|
|
52
52
|
"settings.records": "记录与应用",
|
|
53
53
|
"settings.general": "常规",
|
|
54
54
|
"settings.permissions": "权限",
|
|
@@ -69,7 +69,7 @@ const zh = {
|
|
|
69
69
|
"sidebar.extensions": "扩展管理",
|
|
70
70
|
"sidebar.experts": "专家",
|
|
71
71
|
"sidebar.skills": "技能",
|
|
72
|
-
"sidebar.plugins": "
|
|
72
|
+
"sidebar.plugins": "插件管理",
|
|
73
73
|
"sidebar.marketplace": "插件市场",
|
|
74
74
|
"sidebar.builtinPlugins": "内置插件",
|
|
75
75
|
"sidebar.connectors": "连接器",
|
|
@@ -202,6 +202,8 @@ const zh = {
|
|
|
202
202
|
"about.title": "Codex UI",
|
|
203
203
|
"about.viewProject": "GitHub",
|
|
204
204
|
"about.feedback": "问题反馈",
|
|
205
|
+
"about.checkUpdate": "检查更新",
|
|
206
|
+
"about.checking": "正在检查更新…",
|
|
205
207
|
"about.description": "为 DSH 提供 Codex 风格的侧栏、工作区会话管理、搜索与会话轮次导航。",
|
|
206
208
|
"about.features": "基本功能",
|
|
207
209
|
"about.feature.sidebar": "Codex 风格侧栏、全局会话搜索与设置入口",
|
|
@@ -341,7 +343,7 @@ const en = {
|
|
|
341
343
|
"settings.search": "Search settings…",
|
|
342
344
|
"settings.personal": "Personal",
|
|
343
345
|
"settings.integrations": "Integrations",
|
|
344
|
-
"settings.pluginConfig": "Plugin
|
|
346
|
+
"settings.pluginConfig": "Plugin manager",
|
|
345
347
|
"settings.records": "Records and app",
|
|
346
348
|
"settings.general": "General",
|
|
347
349
|
"settings.permissions": "Permissions",
|
|
@@ -362,7 +364,7 @@ const en = {
|
|
|
362
364
|
"sidebar.extensions": "Extensions",
|
|
363
365
|
"sidebar.experts": "Experts",
|
|
364
366
|
"sidebar.skills": "Skills",
|
|
365
|
-
"sidebar.plugins": "
|
|
367
|
+
"sidebar.plugins": "Plugin manager",
|
|
366
368
|
"sidebar.marketplace": "Plugin Market",
|
|
367
369
|
"sidebar.builtinPlugins": "Built-in plugins",
|
|
368
370
|
"sidebar.connectors": "Connectors",
|
|
@@ -495,6 +497,8 @@ const en = {
|
|
|
495
497
|
"about.title": "Codex UI",
|
|
496
498
|
"about.viewProject": "GitHub",
|
|
497
499
|
"about.feedback": "Issues",
|
|
500
|
+
"about.checkUpdate": "Check for updates",
|
|
501
|
+
"about.checking": "Checking…",
|
|
498
502
|
"about.description": "Adds a Codex-style sidebar, workspace conversation management, search, and turn navigation to DSH.",
|
|
499
503
|
"about.features": "Core features",
|
|
500
504
|
"about.feature.sidebar": "Codex-style sidebar, global conversation search, and settings entry points",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-codex-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.42",
|
|
4
4
|
"description": "DSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH Web",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -77,48 +77,48 @@
|
|
|
77
77
|
"test:fallback-host": "node scripts/verify-plugin-fallback-host.mjs"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@deepseek-ai/cordis": ">=4.0.2 <5.0.0
|
|
81
|
-
"@deepseek-ai/dsh-client-connection": "0.
|
|
82
|
-
"@deepseek-ai/dsh-client-locale": "0.
|
|
83
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.
|
|
84
|
-
"@deepseek-ai/dsh-client-ui-input-trigger": "0.
|
|
85
|
-
"@deepseek-ai/dsh-client-ui-layout": "0.
|
|
86
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.
|
|
87
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.
|
|
88
|
-
"@deepseek-ai/dsh-client-ui-settings-general": "0.
|
|
89
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "0.
|
|
90
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.
|
|
91
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.
|
|
80
|
+
"@deepseek-ai/cordis": ">=4.0.2 <5.0.0",
|
|
81
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
83
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
84
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
86
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
87
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
88
|
+
"@deepseek-ai/dsh-client-ui-settings-general": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
89
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
90
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
91
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2",
|
|
92
92
|
"react": "^18.2.0",
|
|
93
93
|
"react-dom": "^18.2.0"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@deepseek-ai/cordis": "4.0.5
|
|
97
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.1-
|
|
98
|
-
"@deepseek-ai/dsh-api-workspace-controller": "0.2.1-
|
|
99
|
-
"@deepseek-ai/dsh-attachment": "0.2.1-
|
|
100
|
-
"@deepseek-ai/dsh-client-connection": "0.2.1-
|
|
101
|
-
"@deepseek-ai/dsh-client-locale": "0.2.1-
|
|
102
|
-
"@deepseek-ai/dsh-client-store": "0.2.1-
|
|
103
|
-
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-
|
|
104
|
-
"@deepseek-ai/dsh-client-ui-chat": "0.2.1-
|
|
105
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-
|
|
106
|
-
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.1-
|
|
107
|
-
"@deepseek-ai/dsh-client-ui-layout": "0.2.1-
|
|
108
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-
|
|
109
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-
|
|
110
|
-
"@deepseek-ai/dsh-client-ui-session": "0.2.1-
|
|
111
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.1-
|
|
112
|
-
"@deepseek-ai/dsh-client-ui-settings-general": "0.2.1-
|
|
113
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.1-
|
|
114
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-
|
|
115
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.2.1-
|
|
116
|
-
"@deepseek-ai/dsh-scope": "0.2.1-
|
|
117
|
-
"@deepseek-ai/dsh-session": "0.2.1-
|
|
118
|
-
"@deepseek-ai/dsh-subagent": "0.2.1-
|
|
119
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.1-
|
|
120
|
-
"@deepseek-ai/dsh-util-workspace-path": "0.2.1-
|
|
121
|
-
"@deepseek-ai/dsh-workspace": "0.2.1-
|
|
96
|
+
"@deepseek-ai/cordis": "4.0.5",
|
|
97
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.2",
|
|
98
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.2.1-rc.2",
|
|
99
|
+
"@deepseek-ai/dsh-attachment": "0.2.1-rc.2",
|
|
100
|
+
"@deepseek-ai/dsh-client-connection": "0.2.1-rc.2",
|
|
101
|
+
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.2",
|
|
102
|
+
"@deepseek-ai/dsh-client-store": "0.2.1-rc.2",
|
|
103
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-rc.2",
|
|
104
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.2.1-rc.2",
|
|
105
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.2",
|
|
106
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.1-rc.2",
|
|
107
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.1-rc.2",
|
|
108
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.2",
|
|
109
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.2",
|
|
110
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.2",
|
|
111
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.2",
|
|
112
|
+
"@deepseek-ai/dsh-client-ui-settings-general": "0.2.1-rc.2",
|
|
113
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.1-rc.2",
|
|
114
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.2",
|
|
115
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.1-rc.2",
|
|
116
|
+
"@deepseek-ai/dsh-scope": "0.2.1-rc.2",
|
|
117
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.2",
|
|
118
|
+
"@deepseek-ai/dsh-subagent": "0.2.1-rc.2",
|
|
119
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2",
|
|
120
|
+
"@deepseek-ai/dsh-util-workspace-path": "0.2.1-rc.2",
|
|
121
|
+
"@deepseek-ai/dsh-workspace": "0.2.1-rc.2",
|
|
122
122
|
"@types/jsdom": "^30.0.0",
|
|
123
123
|
"@types/node": "^26.0.0",
|
|
124
124
|
"@types/react": "~18.3.1",
|