dsh-session-relocate 0.3.1 → 0.3.5
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/lib/client.js +7 -6
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -107,10 +107,11 @@ window.__ModuleLoader__.load({
|
|
|
107
107
|
'.dshsm-light .dshsm-picker-btn:hover:not(:disabled){background:rgba(0,0,0,.06)}',
|
|
108
108
|
'.dshsm-picker-btn:disabled{opacity:.45;cursor:default}',
|
|
109
109
|
// 插件设置页:连同子对话开关
|
|
110
|
-
'.dshsm-setting{display:flex;align-items:flex-start;gap:16px;padding:12px 0;width:100%}',
|
|
110
|
+
'.dshsm-setting{position:relative;display:flex;align-items:flex-start;gap:16px;padding:12px 0;width:100%}',
|
|
111
111
|
'.dshsm-setting-text{flex:1;min-width:0}',
|
|
112
112
|
'.dshsm-setting-title{font-size:13px;font-weight:600;line-height:20px}',
|
|
113
|
-
'.dshsm-setting-desc{font-size:12px;line-height:18px;opacity
|
|
113
|
+
'.dshsm-setting-desc{position:absolute;left:0;top:100%;z-index:6;max-width:min(560px,100%);margin-top:6px;padding:8px 10px;border-radius:8px;border:1px solid rgba(0,0,0,.08);background:var(--dsw-alias-bg-layer-2,#fff);box-shadow:0 6px 20px rgba(0,0,0,.10);font-size:12px;line-height:18px;color:var(--dsw-alias-label-primary,#111);opacity:0;pointer-events:none;transition:opacity .12s}',
|
|
114
|
+
'.dshsm-setting:hover .dshsm-setting-desc{opacity:1}',
|
|
114
115
|
'.dshsm-seg{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--dsw-alias-interactive-bg-hover,rgba(127,127,127,.12));flex:none}',
|
|
115
116
|
'.dshsm-segBtn{border:0;background:0 0;color:var(--dsw-alias-label-secondary,inherit);font:inherit;font-size:12px;line-height:18px;padding:3px 8px;border-radius:6px;cursor:pointer;white-space:nowrap}',
|
|
116
117
|
'.dshsm-segBtn[data-on="true"]{background:var(--dsw-alias-bg-layer-2,#fff);color:var(--dsw-alias-label-primary,inherit)}',
|
|
@@ -279,9 +280,9 @@ window.__ModuleLoader__.load({
|
|
|
279
280
|
noteReleaseRetries: '(释放重试 {n} 次)',
|
|
280
281
|
noteSampled: '(大会话:抽样校验)',
|
|
281
282
|
childrenSettingTitle: '连同子对话一起移动',
|
|
282
|
-
childrenSettingDesc: '
|
|
283
|
+
childrenSettingDesc: '默认开。移动父对话时,它的子会话一起搬到目标工作区;关掉后只搬父对话。',
|
|
283
284
|
chipModeTitle: '工作区 chip 什么时候出现',
|
|
284
|
-
chipModeDesc: '
|
|
285
|
+
chipModeDesc: '「一直出现」常驻在输入框上方;「悬浮在那一行才出现」鼠标移到整行才显示;「只悬浮胶囊才出现」鼠标要正好落在胶囊那一小块;两者都保留占位,不会跳。「不出现」完全不渲染。',
|
|
285
286
|
chipModeAlways: '一直出现',
|
|
286
287
|
chipModeHover: '悬浮在那一行才出现',
|
|
287
288
|
chipModeHoverSelf: '只悬浮胶囊才出现',
|
|
@@ -335,9 +336,9 @@ window.__ModuleLoader__.load({
|
|
|
335
336
|
noteReleaseRetries: ' (release retried {n}×)',
|
|
336
337
|
noteSampled: ' (large session: sampled verify)',
|
|
337
338
|
childrenSettingTitle: 'Move child conversations too',
|
|
338
|
-
childrenSettingDesc: 'On by default. Moving a conversation also moves its
|
|
339
|
+
childrenSettingDesc: 'On by default. Moving a conversation also moves its child sessions to the target workspace; turn it off to move only the parent conversation.',
|
|
339
340
|
chipModeTitle: 'When to show the workspace chip',
|
|
340
|
-
chipModeDesc: '"Always" keeps it above the composer; "On row hover" reveals it when the pointer enters that row; "Only when hovering the chip" needs the pointer on the chip itself. Both keep their space, so nothing jumps. "Never" hides it
|
|
341
|
+
chipModeDesc: '"Always" keeps it above the composer; "On row hover" reveals it when the pointer enters that row; "Only when hovering the chip" needs the pointer on the chip itself. Both keep their space, so nothing jumps. "Never" hides it.',
|
|
341
342
|
chipModeAlways: 'Always',
|
|
342
343
|
chipModeHover: 'On row hover',
|
|
343
344
|
chipModeHoverSelf: 'Only when hovering the chip',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-session-relocate",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "跨工作区移动 DSH 对话:把某个 Session 的日志文件与工作区归属整体搬到另一个工作区(可自动注册新工作区)。带日志级崩溃恢复的安全事务,并且会先安全释放「已打开但空闲」的会话 —— 所以正在打开的对话也能直接搬,不需要重启 DSH。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/plugin.js",
|