dsh-long-plugins 1.3.1
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/LICENSE +21 -0
- package/README.md +129 -0
- package/client/client.js +2821 -0
- package/client/vendor/chart.umd.min.js +20 -0
- package/client/vendor/docx-preview.min.js +8 -0
- package/client/vendor/jszip.min.js +13 -0
- package/client/vendor/pptxviewjs.min.js +1 -0
- package/cordis.patch.yml +12 -0
- package/dsh.plugin.json +14 -0
- package/lib/index.js +2027 -0
- package/lib/md2docx.py +210 -0
- package/package.json +58 -0
- package/patches/dsh-client-connection-heartbeat.sh +107 -0
- package/skill/dsh-common-plugins-install/SKILL.md +128 -0
- package/skill/dsh-long-plugins-install/SKILL.md +200 -0
- package/skill/dsh-upgrade/SKILL.md +89 -0
- package/skill/dsh-web-start-panel-install/SKILL.md +349 -0
- package/skill/dsh-web-win-service-install/SKILL.md +243 -0
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# dsh bundle patch: inserts the merged plugin into a profile's layer stack.
|
|
2
|
+
- insert:
|
|
3
|
+
- id: dsh-long-plugins
|
|
4
|
+
name: dsh-long-plugins
|
|
5
|
+
inject: [webRuntime]
|
|
6
|
+
config:
|
|
7
|
+
# Reuse the same trusted Host/Origin authorities as the built-in Web API.
|
|
8
|
+
trustedHosts: !!js ctx.webRuntime.trustedHosts
|
|
9
|
+
# Skills root browsed by the "技能文档" settings section.
|
|
10
|
+
# Default: <DSH_HOME>/skills. Override in the profile's cordis.patch.yml,
|
|
11
|
+
# e.g. `skillsRoot: /path/to/your/skills`.
|
|
12
|
+
skillsRoot: !!js dshHomePath('skills')
|
package/dsh.plugin.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-long-plugins",
|
|
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), polished file preview, and an auto-repair install for DSH core patches (reverse-proxy WebSocket heartbeat, upgrade relink). | 一个插件整合 DSH Web 的常用增强:上传管理(拖放上传:拖任意文件到会话框直接附加)、工作区「输出文件」面板、技能文档浏览、账户余额显示、Markdown 转 Word(md2docx);并自带修复安装,自动重连 DSH 核心补丁(反代 WebSocket 心跳、升级重连)。",
|
|
4
|
+
"version": "1.3.1",
|
|
5
|
+
"entry": {
|
|
6
|
+
"name": "dsh-long-plugins",
|
|
7
|
+
"inject": [
|
|
8
|
+
"webRuntime"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"client": {
|
|
12
|
+
"platform": "web"
|
|
13
|
+
}
|
|
14
|
+
}
|