@leiyi-works/dsh-feature-tweaks 0.5.0 → 0.6.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/README.md +11 -6
- package/client.js +151 -11
- package/index.js +1 -1
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @leiyi-works/dsh-feature-tweaks · 功能微调
|
|
2
2
|
|
|
3
|
-
> DeepSeek Harness(DSH
|
|
3
|
+
> DeepSeek Harness(DSH)插件:**功能微调**与**菜单文件夹**合并后的单包。左侧菜单只留一个「功能微调」入口,点开后在**右侧原生边栏**打开(不遮挡会话,和 AI视频 / 临时目录 / 自动重启一致),面板内分「功能微调 / 菜单文件夹」两个标签页,各自是独立的设置页;功能微调的各项功能从此都能在页面里开关。右侧边栏不可用时退回全页面板。不改任何核心包。
|
|
4
4
|
|
|
5
|
-
## 这个版本管什么(0.
|
|
5
|
+
## 这个版本管什么(0.6.0)
|
|
6
6
|
|
|
7
|
-
0.5.0
|
|
7
|
+
0.5.0 把原来的两个插件合并成一个;0.6.0 把入口的打开方式改成右侧边栏面板:
|
|
8
8
|
|
|
9
9
|
| 原来 | 现在 |
|
|
10
10
|
|---|---|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
| `@leiyi-works/dsh-menu-folders` 0.16.0(菜单文件夹) | 本包的「菜单文件夹」标签页 |
|
|
13
13
|
|
|
14
14
|
- **入口只放在左侧菜单**:原来的「设置 → 菜单文件夹」设置页不再注册,统一从这个入口进入。
|
|
15
|
+
- **在右侧边栏打开(0.6.0)**:点左侧「功能微调」会先回到当前会话,再在右侧原生边栏打开面板,会话保持可见;再次点入口会聚焦该标签页。右侧边栏不可用(例如某些精简宿主)时自动退回原来的全页面板。
|
|
15
16
|
- **功能微调首次有设置页**:六项功能各带一个开关,保存后立即生效,写入本机 profile 的 `cordis.patch.yml`,换机随云端同步带走。
|
|
16
17
|
- **文件夹数据沿用**:仍保存在 `<DSH_HOME>/data/menu-folders.json`,旧配置无需迁移。
|
|
17
18
|
- **不再覆盖官方 `agent-team` 行**:新会话默认开团队协作改由本包自己实现,所以能随时开关。
|
|
@@ -49,14 +50,16 @@
|
|
|
49
50
|
## 安装
|
|
50
51
|
|
|
51
52
|
```powershell
|
|
52
|
-
dsh plugin --profile <profile> add @leiyi-works/dsh-feature-tweaks@0.
|
|
53
|
+
dsh plugin --profile <profile> add @leiyi-works/dsh-feature-tweaks@0.6.0
|
|
53
54
|
```
|
|
54
55
|
|
|
55
56
|
装完后确认 profile 的 `dsh.profile.bundles` 含 `@leiyi-works/dsh-feature-tweaks`,并且**不再**含 `@leiyi-works/dsh-menu-folders`(合并后旧的菜单文件夹包应卸载)。**重启 DSH** 生效。
|
|
56
57
|
|
|
58
|
+
从 0.5.0 升级:本包升到 0.6.0、重启即可,开关和文件夹配置都不用迁移(左侧入口点开后改为右侧边栏面板)。
|
|
59
|
+
|
|
57
60
|
从 0.4.x + dsh-menu-folders 升级:
|
|
58
61
|
|
|
59
|
-
1. 本包升到 0.
|
|
62
|
+
1. 本包升到 0.6.0;
|
|
60
63
|
2. 从 profile 依赖与 `dsh.profile.bundles` 里移除 `@leiyi-works/dsh-menu-folders`;
|
|
61
64
|
3. 重启;文件夹、开关默认值都保持原状,不需要迁移配置。
|
|
62
65
|
|
|
@@ -77,7 +80,7 @@ dsh plugin --profile <profile> add @leiyi-works/dsh-feature-tweaks@0.5.0
|
|
|
77
80
|
|
|
78
81
|
- `cordis.patch.yml` —— bundle patch:只插入本包 Host 行(不再覆盖 `agent-team` 行)。
|
|
79
82
|
- `index.js` —— Host 行 `feature-tweaks`:功能开关读写(settings 服务)+ SSE/配置/诊断路由 + 刷新安全探针 + 退出确认包装 + 新会话默认团队 + 菜单文件夹状态与幽灵会话路由。
|
|
80
|
-
- `client.js` —— Web
|
|
83
|
+
- `client.js` —— Web 侧半边:左侧「功能微调」入口(点开在右侧原生边栏打开,带全页面板兜底)、双标签页、功能开关页、菜单文件夹全部界面、界面类隐藏规则、会话列表自动展开、刷新快捷键、SSE 订阅 + 兜底轮询。
|
|
81
84
|
- `locale/{zh,en}.json` —— 插件页显示名与介绍。
|
|
82
85
|
|
|
83
86
|
## 撤回
|
|
@@ -95,6 +98,8 @@ dsh plugin --profile <profile> add @leiyi-works/dsh-feature-tweaks@0.5.0
|
|
|
95
98
|
- 会话列表是「自动点开」而不是改核心状态:工作区会话特别多(>60 条折叠)时可能需要多轮补点。
|
|
96
99
|
- 刷新快捷键的安全探针依赖 Client bundle 重建记录;正常使用(没装/更新插件)不会触发提示。
|
|
97
100
|
- 新会话默认团队只作用于 `startup` 来源的根会话;`resume`/`clear`/`compact` 与子智能体会话不套用。
|
|
101
|
+
- 右侧边栏面板依赖宿主提供 `sidebarRightTabs` / `sidebarRight` 两个客户端服务;没有它们的精简宿主会自动退回全页面板(功能不变,只是占满主区域)。
|
|
102
|
+
- 面板变窄时(右侧边栏)文件夹管理页的操作按钮会换行,属窄栏适配,不是布局错误。
|
|
98
103
|
|
|
99
104
|
## License
|
|
100
105
|
|
package/client.js
CHANGED
|
@@ -41,7 +41,7 @@ window.__ModuleLoader__.load({
|
|
|
41
41
|
try { ReactDOM = require('react-dom') } catch { ReactDOM = null }
|
|
42
42
|
|
|
43
43
|
/** Bundle version reported in diagnostics (kept in step with package.json). */
|
|
44
|
-
const VERSION = '0.
|
|
44
|
+
const VERSION = '0.6.0'
|
|
45
45
|
/** Locale namespace of the feature half. */
|
|
46
46
|
const NS = 'featureTweaks'
|
|
47
47
|
/** Locale namespace of the folder half. */
|
|
@@ -50,6 +50,8 @@ window.__ModuleLoader__.load({
|
|
|
50
50
|
const API_PREFIX = '__dsh-feature-tweaks/'
|
|
51
51
|
/** Id of the single left-menu entry and the main page it opens. */
|
|
52
52
|
const HUB_PANEL_ID = 'feature-tweaks'
|
|
53
|
+
/** Right-sidebar tab type id (the entry opens as a native sidebar tab when available). */
|
|
54
|
+
const TAB_ID = 'feature-tweaks-tab'
|
|
53
55
|
/** Id prefix of one top-menu folder row and of its main-page key. */
|
|
54
56
|
const FOLDER_PANEL_PREFIX = 'menu-folder-'
|
|
55
57
|
/** localStorage mirror of the folder state used until the Host route is reachable. */
|
|
@@ -174,6 +176,33 @@ window.__ModuleLoader__.load({
|
|
|
174
176
|
'.twhSwitch:disabled{cursor:default;opacity:.55}',
|
|
175
177
|
'.twhSwitch:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#3f7fd4);outline-offset:2px}',
|
|
176
178
|
'.twhFootnote{margin:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary)}',
|
|
179
|
+
// Right-sidebar pane variant: same page, compact spacing for the narrow column.
|
|
180
|
+
'.twhPaneRoot{height:100%;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:10px 12px 20px;color:var(--dsw-alias-label-primary);font-size:13px;line-height:1.55}',
|
|
181
|
+
'.twhNarrow{max-width:none;margin:0;display:flex;flex-direction:column;gap:12px}',
|
|
182
|
+
'.twhNarrow .sfbTitle{font-size:15px}',
|
|
183
|
+
'.twhNarrow .sfbHint{font-size:12px}',
|
|
184
|
+
'.twhNarrow .twhTabs{padding:0;gap:4px}',
|
|
185
|
+
'.twhNarrow .twhTab{padding:6px 12px;font-size:12px}',
|
|
186
|
+
'.twhNarrow .twhPane{gap:14px;padding-top:2px}',
|
|
187
|
+
'.twhNarrow .sfbSection{gap:8px}',
|
|
188
|
+
'.twhNarrow .sfbSectionTitle{font-size:13px}',
|
|
189
|
+
'.twhNarrow .twhFeatureRow{padding:9px 11px;gap:10px}',
|
|
190
|
+
'.twhNarrow .twhFeatureTitle{font-size:12.5px;line-height:18px}',
|
|
191
|
+
'.twhNarrow .twhFeatureDesc{font-size:11.5px;line-height:17px}',
|
|
192
|
+
'.twhNarrow .twhSwitch{width:34px;height:20px}',
|
|
193
|
+
'.twhNarrow .twhSwitch::after{width:14px;height:14px}',
|
|
194
|
+
'.twhNarrow .twhSwitch[data-on=true]::after{transform:translateX(14px)}',
|
|
195
|
+
'.twhNarrow .twhFootnote{display:none}',
|
|
196
|
+
'.twhNarrow .sfbFolderHead{flex-wrap:wrap}',
|
|
197
|
+
'.twhNarrow .sfbFolderHead .sfbSpacer{display:none}',
|
|
198
|
+
'.twhNarrow .sfbFolderName{white-space:normal}',
|
|
199
|
+
'.twhNarrow .sfbActions{flex-wrap:wrap}',
|
|
200
|
+
'.twhNarrow .sfbFolderBody{padding:4px 4px 6px}',
|
|
201
|
+
'.twhNarrow .sfbEntryRow{flex-wrap:wrap;padding:5px 6px}',
|
|
202
|
+
'.twhNarrow .sfbEntryName{white-space:normal;flex:1 1 100%}',
|
|
203
|
+
'.twhNarrow .sfbSelect{max-width:none;flex:1 1 100%;box-sizing:border-box}',
|
|
204
|
+
'.twhNarrow .sfbNewRow{flex-wrap:wrap}',
|
|
205
|
+
'.twhNarrow .sfbInput{flex:1 1 100%}',
|
|
177
206
|
].join('')
|
|
178
207
|
|
|
179
208
|
try {
|
|
@@ -997,11 +1026,14 @@ window.__ModuleLoader__.load({
|
|
|
997
1026
|
|
|
998
1027
|
/**
|
|
999
1028
|
* The hub page: one left-menu entry, two tabs.
|
|
1000
|
-
*
|
|
1029
|
+
* Rendered either as the fallback full page (`variant: 'page'`) or as the
|
|
1030
|
+
* native right-sidebar tab body (`variant: 'pane'`).
|
|
1031
|
+
* @param props - owner props, injected `runtime`/`menuT`, locale `t`, `variant`.
|
|
1001
1032
|
*/
|
|
1002
1033
|
function HubPage(props) {
|
|
1003
1034
|
const runtime = props.runtime
|
|
1004
1035
|
const menuT = props.menuT
|
|
1036
|
+
const pane = props.variant === 'pane'
|
|
1005
1037
|
const [tab, setTab] = React.useState(() => {
|
|
1006
1038
|
try {
|
|
1007
1039
|
const stored = localStorage.getItem(TAB_KEY)
|
|
@@ -1049,11 +1081,15 @@ window.__ModuleLoader__.load({
|
|
|
1049
1081
|
{ id: 'features', label: props.t('tab.features') },
|
|
1050
1082
|
{ id: 'folders', label: props.t('tab.folders') },
|
|
1051
1083
|
]
|
|
1052
|
-
return h('div', { className: 'sfbRoot' },
|
|
1053
|
-
h('div', { className: 'twhInner' },
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1084
|
+
return h('div', { className: cx(pane ? 'twhPaneRoot' : 'sfbRoot') },
|
|
1085
|
+
h('div', { className: cx('twhInner', pane ? 'twhNarrow' : '') },
|
|
1086
|
+
// The right-sidebar tab strip already shows the plugin title, so the pane
|
|
1087
|
+
// variant keeps only the tab bar; the full-page fallback owns a header.
|
|
1088
|
+
pane
|
|
1089
|
+
? null
|
|
1090
|
+
: h('div', { className: 'sfbHeader' },
|
|
1091
|
+
h('h1', { className: 'sfbTitle' }, props.t('page.title')),
|
|
1092
|
+
h('p', { className: 'sfbHint' }, props.t('page.hint'))),
|
|
1057
1093
|
h('div', { className: 'twhTabs', role: 'tablist' },
|
|
1058
1094
|
tabs.map((item) => h('button', {
|
|
1059
1095
|
key: item.id,
|
|
@@ -2383,8 +2419,9 @@ window.__ModuleLoader__.load({
|
|
|
2383
2419
|
}
|
|
2384
2420
|
}
|
|
2385
2421
|
|
|
2386
|
-
// The single left-menu entry: its icon row
|
|
2387
|
-
//
|
|
2422
|
+
// The single left-menu entry: its icon row, the native right-sidebar tab it
|
|
2423
|
+
// opens (like AI视频 / 临时目录 / 自动重启), and the full-page main panel kept
|
|
2424
|
+
// only as the fallback when the right sidebar is unavailable.
|
|
2388
2425
|
contribute('sidebar.panellist', 'sidebar entry', () => ctx.slots.register({
|
|
2389
2426
|
name: 'sidebar.panellist',
|
|
2390
2427
|
id: HUB_PANEL_ID,
|
|
@@ -2393,13 +2430,116 @@ window.__ModuleLoader__.load({
|
|
|
2393
2430
|
locale: NS,
|
|
2394
2431
|
}, HubEntryIcon))
|
|
2395
2432
|
|
|
2396
|
-
contribute('main', 'hub page', () => ctx.slots.register({
|
|
2433
|
+
contribute('main', 'hub page fallback', () => ctx.slots.register({
|
|
2397
2434
|
name: 'main',
|
|
2398
2435
|
key: HUB_PANEL_ID,
|
|
2399
2436
|
locale: NS,
|
|
2400
|
-
inject: () => ({ runtime, menuT }),
|
|
2437
|
+
inject: () => ({ runtime, menuT, variant: 'page' }),
|
|
2401
2438
|
}, HubPage))
|
|
2402
2439
|
|
|
2440
|
+
// Native right-sidebar tab: register the tab type + its body, and remember
|
|
2441
|
+
// how to open it. The pane keeps the conversation visible beside it.
|
|
2442
|
+
let nativeOpen = null
|
|
2443
|
+
let redirecting = false
|
|
2444
|
+
const openHubTab = () => {
|
|
2445
|
+
if (nativeOpen === null) return false
|
|
2446
|
+
try {
|
|
2447
|
+
nativeOpen()
|
|
2448
|
+
return true
|
|
2449
|
+
} catch (error) {
|
|
2450
|
+
reportDiag('right-sidebar-open-failed: ' + errorText(error))
|
|
2451
|
+
return false
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
const mountHubTab = (inner) => {
|
|
2455
|
+
let registry
|
|
2456
|
+
let sidebarRight
|
|
2457
|
+
try {
|
|
2458
|
+
registry = inner.sidebarRightTabs ?? inner.get?.('sidebarRightTabs')
|
|
2459
|
+
sidebarRight = inner.sidebarRight ?? inner.get?.('sidebarRight')
|
|
2460
|
+
} catch {
|
|
2461
|
+
return undefined
|
|
2462
|
+
}
|
|
2463
|
+
if (registry === undefined || typeof registry.register !== 'function') return undefined
|
|
2464
|
+
const disposers = []
|
|
2465
|
+
try {
|
|
2466
|
+
const disposeType = registry.register({
|
|
2467
|
+
id: TAB_ID,
|
|
2468
|
+
kind: TAB_ID,
|
|
2469
|
+
title: () => t('page.title'),
|
|
2470
|
+
})
|
|
2471
|
+
if (typeof disposeType === 'function') disposers.push(disposeType)
|
|
2472
|
+
const disposeBody = ctx.slots.inject('sidebar.right.pane.tab', () => ctx.slots.register({
|
|
2473
|
+
name: 'sidebar.right.pane.tab',
|
|
2474
|
+
key: TAB_ID,
|
|
2475
|
+
locale: NS,
|
|
2476
|
+
}, (props) => h(HubPage, { runtime, menuT, t: props.t, variant: 'pane' })))
|
|
2477
|
+
if (typeof disposeBody === 'function') disposers.push(disposeBody)
|
|
2478
|
+
if (sidebarRight !== undefined && typeof sidebarRight.openTab === 'function') {
|
|
2479
|
+
nativeOpen = () => sidebarRight.openTab(TAB_ID)
|
|
2480
|
+
}
|
|
2481
|
+
} catch (error) {
|
|
2482
|
+
for (const dispose of disposers.reverse()) {
|
|
2483
|
+
try { dispose() } catch { /* best-effort teardown */ }
|
|
2484
|
+
}
|
|
2485
|
+
reportDiag('right-sidebar-tab-failed: ' + errorText(error))
|
|
2486
|
+
return undefined
|
|
2487
|
+
}
|
|
2488
|
+
return () => {
|
|
2489
|
+
nativeOpen = null
|
|
2490
|
+
for (const dispose of disposers.reverse()) {
|
|
2491
|
+
try { dispose() } catch { /* already gone */ }
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
}
|
|
2495
|
+
ctx.effect(() => {
|
|
2496
|
+
try {
|
|
2497
|
+
return ctx.inject(['sidebarRightTabs', 'sidebarRight', 'slots'], mountHubTab)
|
|
2498
|
+
} catch {
|
|
2499
|
+
return mountHubTab(ctx)
|
|
2500
|
+
}
|
|
2501
|
+
}, 'feature-tweaks: right-sidebar tab')
|
|
2502
|
+
|
|
2503
|
+
// Clicking the left entry keeps the conversation: return to it first, then
|
|
2504
|
+
// open/focus the native right-sidebar tab; only fall back to the full page
|
|
2505
|
+
// when the tab cannot be opened.
|
|
2506
|
+
ctx.effect(() => {
|
|
2507
|
+
const layout = ctx.layout
|
|
2508
|
+
if (layout === undefined || layout.panelInfo === undefined) return undefined
|
|
2509
|
+
const openAfterReturn = () => {
|
|
2510
|
+
if (!openHubTab()) {
|
|
2511
|
+
try {
|
|
2512
|
+
layout.selectPanel(HUB_PANEL_ID)
|
|
2513
|
+
} catch (error) {
|
|
2514
|
+
reportDiag('full-page-fallback-failed: ' + errorText(error))
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
redirecting = false
|
|
2518
|
+
}
|
|
2519
|
+
const check = () => {
|
|
2520
|
+
if (redirecting) return
|
|
2521
|
+
let active
|
|
2522
|
+
try {
|
|
2523
|
+
active = layout.panelInfo.getSnapshot().activePanelId
|
|
2524
|
+
} catch {
|
|
2525
|
+
return
|
|
2526
|
+
}
|
|
2527
|
+
if (active !== HUB_PANEL_ID) return
|
|
2528
|
+
redirecting = true
|
|
2529
|
+
try {
|
|
2530
|
+
layout.selectPanel(null)
|
|
2531
|
+
} catch (error) {
|
|
2532
|
+
redirecting = false
|
|
2533
|
+
reportDiag('return-to-conversation-failed: ' + errorText(error))
|
|
2534
|
+
return
|
|
2535
|
+
}
|
|
2536
|
+
if (typeof queueMicrotask === 'function') queueMicrotask(openAfterReturn)
|
|
2537
|
+
else setTimeout(openAfterReturn, 0)
|
|
2538
|
+
}
|
|
2539
|
+
check()
|
|
2540
|
+
return layout.panelInfo.subscribe(check)
|
|
2541
|
+
}, 'feature-tweaks: entry opens the right-sidebar tab')
|
|
2542
|
+
|
|
2403
2543
|
contribute('sidebar.panellist.actions', 'more menu', () => ctx.slots.register({
|
|
2404
2544
|
name: 'sidebar.panellist.actions',
|
|
2405
2545
|
id: 'menu-folders-menu',
|
package/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import z from '@deepseek-ai/schemastery'
|
|
|
32
32
|
export const name = 'feature-tweaks'
|
|
33
33
|
|
|
34
34
|
/** Reported by /status; keep in sync with package.json. */
|
|
35
|
-
const VERSION = '0.
|
|
35
|
+
const VERSION = '0.6.0'
|
|
36
36
|
/** Package name; used to locate this row's profile entry id for settings writes. */
|
|
37
37
|
const PACKAGE_NAME = '@leiyi-works/dsh-feature-tweaks'
|
|
38
38
|
const LOG_TAG = 'dsh-feature-tweaks'
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Feature tweaks",
|
|
4
|
-
"description": "Cross-version fixes for DSH behaviour, defaults and UI in one bundle, without touching any core package. Since 0.5.0 it also contains Menu Folders: the left menu has a single Feature tweaks entry whose page has two tabs, Feature tweaks and Menu folders, each with its own settings page. The Feature tweaks tab adds switches for six tweaks: hide the conversation header's right-sidebar expand button, hide the header's more-actions export menu, expand every workspace's session list by default, the Reload page shortcut (F5 on desktop, Ctrl+Shift+R on the web), quitting the desktop app without a confirmation caused only by armed scheduled tasks, and starting new root sessions with Agent Teams enabled. Changes apply immediately, persist in this machine's profile, and travel with cloud sync. The Menu folders tab manages the folders in the left menu, whose collected entries leave the More menu."
|
|
4
|
+
"description": "Cross-version fixes for DSH behaviour, defaults and UI in one bundle, without touching any core package. Since 0.5.0 it also contains Menu Folders: the left menu has a single Feature tweaks entry whose page has two tabs, Feature tweaks and Menu folders, each with its own settings page. Since 0.6.0 that entry opens as a native right-sidebar tab beside the conversation, falling back to a full page when the right sidebar is unavailable. The Feature tweaks tab adds switches for six tweaks: hide the conversation header's right-sidebar expand button, hide the header's more-actions export menu, expand every workspace's session list by default, the Reload page shortcut (F5 on desktop, Ctrl+Shift+R on the web), quitting the desktop app without a confirmation caused only by armed scheduled tasks, and starting new root sessions with Agent Teams enabled. Changes apply immediately, persist in this machine's profile, and travel with cloud sync. The Menu folders tab manages the folders in the left menu, whose collected entries leave the More menu."
|
|
5
5
|
}
|
|
6
6
|
}
|
package/locale/zh.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "功能微调",
|
|
4
|
-
"description": "DSH 跨版本的功能/默认值与界面微调合集,一个包管两类最小侵入调整,不改任何核心包。0.5.0 起并入「菜单文件夹」:左侧菜单只保留一个「功能微调」入口,页面内分「功能微调 /
|
|
4
|
+
"description": "DSH 跨版本的功能/默认值与界面微调合集,一个包管两类最小侵入调整,不改任何核心包。0.5.0 起并入「菜单文件夹」:左侧菜单只保留一个「功能微调」入口,页面内分「功能微调 / 菜单文件夹」两个标签页,各自是独立的设置页。0.6.0 起入口点开后在右侧原生边栏打开,不遮挡会话(右侧边栏不可用时退回全页面板)。功能微调标签页提供六项开关:隐藏会话右上角的右侧栏展开按钮、隐藏会话标题栏「⋯」导出菜单、左侧会话列表默认展开全部会话、刷新页面快捷键(桌面端 F5 / 网页端 Ctrl+Shift+R)、桌面端退出不再因定时任务弹确认、新会话默认开启「智能体团队协作」。开关保存后立即生效并写入本机 profile,随云端同步换机。菜单文件夹标签页管理左侧菜单文件夹与收纳项,已收纳入口从「更多」菜单移走,文件夹显示在「更多」上方。"
|
|
5
5
|
}
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leiyi-works/dsh-feature-tweaks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"title": "功能微调",
|
|
6
|
-
"description": "功能微调:DSH 跨版本的功能/默认值与界面微调合集,一个包管两类最小侵入调整,不改任何核心包。0.5.0 起并入「菜单文件夹」:左侧菜单只留一个入口,页面内分「功能微调 / 菜单文件夹」两个标签页;功能微调首次提供设置页,六项功能各带开关(隐藏右栏展开按钮、隐藏「⋯」导出菜单、会话列表默认展开、刷新页面快捷键、桌面端退出忽略定时任务确认、新会话默认开启团队协作),设置即时生效并保存在本机 profile。",
|
|
6
|
+
"description": "功能微调:DSH 跨版本的功能/默认值与界面微调合集,一个包管两类最小侵入调整,不改任何核心包。0.5.0 起并入「菜单文件夹」:左侧菜单只留一个入口,页面内分「功能微调 / 菜单文件夹」两个标签页;功能微调首次提供设置页,六项功能各带开关(隐藏右栏展开按钮、隐藏「⋯」导出菜单、会话列表默认展开、刷新页面快捷键、桌面端退出忽略定时任务确认、新会话默认开启团队协作),设置即时生效并保存在本机 profile。0.6.0 起入口点开后在右侧原生边栏打开、不遮挡会话,右侧边栏不可用时退回全页面板。",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./index.js",
|
|
9
9
|
"./client": "./client.js",
|