dsh-long-plugins 2.4.5 → 2.4.6
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/client/client.js +0 -4
- package/dsh.plugin.json +1 -1
- package/package.json +1 -1
package/client/client.js
CHANGED
|
@@ -3445,7 +3445,6 @@ window.__ModuleLoader__.load({
|
|
|
3445
3445
|
// 「dsh-long」设置区:各模块开关(独立、移动端干净),避免把开关塞进 RA-Span
|
|
3446
3446
|
const DSH_LONG_MODULES = [
|
|
3447
3447
|
['glass', 'RA-Span'],
|
|
3448
|
-
['turnRuler', '会话导航(轮次刻尺)'],
|
|
3449
3448
|
['uploadAttach', '附件上传(回形针)'],
|
|
3450
3449
|
['uploadDragDrop', '附件拖放上传'],
|
|
3451
3450
|
['uploadPaste', '附件粘贴上传'],
|
|
@@ -3935,7 +3934,6 @@ window.__ModuleLoader__.load({
|
|
|
3935
3934
|
try {
|
|
3936
3935
|
const tk = dshDark() ? 'dark' : 'light'
|
|
3937
3936
|
root.setAttribute('data-dsh-theme', tk)
|
|
3938
|
-
root.setAttribute('data-dsh-turnruler', ((c.modules && c.modules.turnRuler) !== false) ? 'on' : 'off')
|
|
3939
3937
|
window.__dshLongModules = c.modules || {}
|
|
3940
3938
|
try { localStorage.setItem('dsh-long:modules', JSON.stringify(window.__dshLongModules)) } catch (e) {}
|
|
3941
3939
|
const bt = bgTint(tk)
|
|
@@ -4036,7 +4034,6 @@ window.__ModuleLoader__.load({
|
|
|
4036
4034
|
...tokenUsagePlugin.inject,
|
|
4037
4035
|
...mobilePlugin.inject,
|
|
4038
4036
|
...workspaceFilesPlugin.inject,
|
|
4039
|
-
...turnRulerPlugin.inject,
|
|
4040
4037
|
...glassPlugin.inject,
|
|
4041
4038
|
]))
|
|
4042
4039
|
|
|
@@ -4074,7 +4071,6 @@ window.__ModuleLoader__.load({
|
|
|
4074
4071
|
safeApply('token-usage', (c) => tokenUsagePlugin.apply(c)) // 余额 chip 开关在其内部; MOBILE_CSS 始终注入
|
|
4075
4072
|
if (modEnabled('mobile')) safeApply('mobile-hamburger', (c) => mobilePlugin.apply(c))
|
|
4076
4073
|
if (modEnabled('workspace')) safeApply('workspace-files', (c) => workspaceFilesPlugin.apply(c))
|
|
4077
|
-
if (modEnabled('turnRuler')) safeApply('turn-ruler', (c) => turnRulerPlugin.apply(c))
|
|
4078
4074
|
if (modEnabled('glass')) safeApply('glass', (c) => glassPlugin.apply(c))
|
|
4079
4075
|
}
|
|
4080
4076
|
|
package/dsh.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-long-plugins",
|
|
3
3
|
"description": "Merged DSH web plugins: upload manager (drag-and-drop attach any file to the message), workspace output files, skill docs, account balance, Markdown-to-Word (md2docx), and polished file preview (Word & PowerPoint real preview with zoom/pan, rendered Markdown), plus an auto-repair install for DSH core patches (reverse-proxy WebSocket heartbeat, upgrade relink). | 一个插件整合 DSH Web 的常用增强:上传管理(拖放上传:拖任意文件到会话框直接附加)、工作区「输出文件」面板、技能文档浏览、账户余额显示、Markdown 转 Word(md2docx)、Word/PowerPoint 真实预览(可缩放、翻页);并自带修复安装,自动重连 DSH 核心补丁(反代 WebSocket 心跳、升级重连)。",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.6",
|
|
5
5
|
"entry": {
|
|
6
6
|
"name": "dsh-long-plugins",
|
|
7
7
|
"inject": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-long-plugins",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"description": "Merged DSH web plugins: upload manager (drag-and-drop attach any file to the message), workspace output files, skill docs, account balance, Markdown-to-Word (md2docx), and polished file preview (Word & PowerPoint real preview with zoom/pan, rendered Markdown), plus an auto-repair install for DSH core patches (reverse-proxy WebSocket heartbeat, upgrade relink). | 一个插件整合 DSH Web 的常用增强:上传管理(拖放上传:拖任意文件到会话框直接附加)、工作区「输出文件」面板、技能文档浏览、账户余额显示、Markdown 转 Word(md2docx)、Word/PowerPoint 真实预览(可缩放、翻页);并自带修复安装,自动重连 DSH 核心补丁(反代 WebSocket 心跳、升级重连)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|