dsh-dock 0.25.1 → 0.26.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 +13 -5
- package/client.js +1524 -126
- package/features/git/host.js +551 -16
- package/features/git/rpc.js +13 -1
- package/features/git/view.jsx +1729 -49
- package/package.json +1 -1
- package/src/client.jsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-dock",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "DeepSeek Harness 功能坞插件(dsh-dock):模块化功能中枢——每个功能一个 features/ 模块(可单独提取成包发布,又可经 dockBridge 装回面板)。含用量记录(LLM 调用记账/费用统计,支持各模型自定义单价、多段分时价与周末/节假日谷价)、模型能力、图片理解代理、模型余额、任务动画(19 种运行动画 + 桌面伙伴 3D 场景)、任务通知(完成/异常/需确认通知、提示音、语音播报可选音色、系统通知、钉钉/飞书推送)、运行状态(进行中任务与最近完成一览)、语音朗读(浏览器 TTS 读回复:回合下方喇叭按钮 + 自动朗读)、DSH功能(给 DSH 自带界面补能力:文件右键大文件流式下载、右侧抽屉 Git 仓库操作面板)、Git 管理(提交历史表格与逐行差异、子仓库多选、时间段与提交人筛选、暂存/提交/推送);侧栏入口 + 可拖拽弹窗(最大化/最小化/缩放)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
package/src/client.jsx
CHANGED
|
@@ -33,7 +33,7 @@ import { feature as fDshTools, installClient as installDshTools } from "../featu
|
|
|
33
33
|
import { installClient as installGit, css as GIT_CSS, DirBrowser as GitDirBrowser, GitView as GitPanelView } from "../features/git/view.jsx";
|
|
34
34
|
|
|
35
35
|
const name = "dsh-dock";
|
|
36
|
-
const DOCK_VERSION = "0.
|
|
36
|
+
const DOCK_VERSION = "0.26.0";
|
|
37
37
|
|
|
38
38
|
// ---- 内置功能注册表:新功能 = features/<id>/ 加模块 + 这里 import 一行 ----
|
|
39
39
|
const BUILTIN_FEATURES = [fTokenlog, fModelconfig, fProviderConfig, fMcpConfig, fBalance, fAnimation, fNotify, fRunState, fTts, fGames, fMobileRelay, fDshTools];
|
|
@@ -806,6 +806,6 @@ export { currentSessionDir as readSessionDir } from "../features/git/rpc.js";
|
|
|
806
806
|
// 测试探针:时间格式化(验证列表里的绝对时间精确到秒)
|
|
807
807
|
export { fmtDateTime } from "../features/git/rpc.js";
|
|
808
808
|
// 测试探针:提交表格的列定义与列宽计算(验证「列可勾选」)
|
|
809
|
-
export { COMMIT_COLUMNS, DEFAULT_VISIBLE_COLUMNS, columnsTemplate, toggleRepoSelection } from "../features/git/view.jsx";
|
|
809
|
+
export { COMMIT_COLUMNS, DEFAULT_VISIBLE_COLUMNS, columnsTemplate, toggleRepoSelection, pairHunkLines, readModalSize, writeModalSize, clampModalSize, readModalPos, writeModalPos, clampModalPos, snapToPanel, dockToPanel, readModalDock, writeModalDock, changedLinesOf } from "../features/git/view.jsx";
|
|
810
810
|
// 测试探针:拖动分隔条(验证上下拖动确实改变高度比例)
|
|
811
811
|
export { DragSplitter as GitDragSplitter, clampPercent, splitterStep, dragToPercent } from "../features/git/view.jsx";
|