Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6986101ad |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "dsh-worktable",
|
||||
"description": "工作台:DSH 侧边栏的 agent 级项目容器,收纳如 TravelAtlas 等自装项目",
|
||||
"version": "0.5.3-local.15",
|
||||
"version": "0.5.3-local.16",
|
||||
"entry": {
|
||||
"name": "dsh-worktable",
|
||||
"inject": []
|
||||
|
||||
@@ -9233,7 +9233,7 @@ var CHANGELOG_V030 = `\u66F4\u65B0\u516C\u544A \xB7 v0.5.1
|
||||
\u30103.1 \u6587\u5B57\u4E0E\u7EC6\u8282\u6253\u78E8\u3011\u5168\u5C40\u5B57\u4F53\u4E0E\u5B57\u53F7\u7EDF\u4E00\u4F18\u5316\u3001\u4E0B\u62C9\u9762\u677F\u73BB\u7483\u5316\u4E0E\u5BF9\u9F50\u3001\u83DC\u5355\u70B9\u9009\u540E\u4FDD\u6301\u6253\u5F00\u4FBF\u4E8E\u8FDE\u7EED\u9884\u89C8\u3001\u6309\u94AE\u63CF\u8FB9\u4E0E\u60AC\u505C\u53CD\u9988\u7B49\u4EA4\u4E92\u7EC6\u8282\uFF1B\u540C\u65F6\u4FEE\u590D\u4E86\u591A\u9879\u4F53\u9A8C\u95EE\u9898\uFF08\u7167\u7247\u4E0A\u4F20\u6E05\u6670\u5EA6\u3001\u80CC\u666F\u7F51\u683C\u7EBF\u5728\u7167\u7247\u6A21\u5F0F\u4E0B\u4E0D\u751F\u6548\u3001\u6D45\u8272\u4E3B\u9898\u4E0B\u5DE5\u4F5C\u72B6\u6001\u5149\u6548\u4E0D\u53EF\u89C1\u7B49\uFF09\u3002`;
|
||||
|
||||
// src/client/updateCheck.ts
|
||||
var LOCAL_VERSION = false ? "dev" : "0.5.3-local.15";
|
||||
var LOCAL_VERSION = false ? "dev" : "0.5.3-local.16";
|
||||
var UPDATE_API = "/api/worktable/update-check";
|
||||
var K_UPDATE_CHECK = "dsh.worktable.updateCheck.v1";
|
||||
var K_LAST_CHECK = "dsh.worktable.lastUpdateCheck.v1";
|
||||
@@ -24414,6 +24414,24 @@ function apply(ctx) {
|
||||
overlayHost: !!document.querySelector("[data-shell-overlay]"),
|
||||
bodyKids: document.body ? document.body.children.length : -1,
|
||||
wide: window.innerWidth,
|
||||
overlayZ: (() => {
|
||||
try {
|
||||
const l = document.querySelector("[data-shell-overlay]");
|
||||
return l ? getComputedStyle(l).zIndex : "none";
|
||||
} catch {
|
||||
return "err";
|
||||
}
|
||||
})(),
|
||||
stripRect: (() => {
|
||||
try {
|
||||
const el = document.querySelector(".dsh-wt_edgeStrip");
|
||||
if (!el) return null;
|
||||
const r = el.getBoundingClientRect();
|
||||
return { left: Math.round(r.left), top: Math.round(r.top), w: Math.round(r.width), h: Math.round(r.height), z: getComputedStyle(el).zIndex };
|
||||
} catch {
|
||||
return "err";
|
||||
}
|
||||
})(),
|
||||
errors: diagErrors.slice(-5)
|
||||
})
|
||||
});
|
||||
@@ -24429,6 +24447,17 @@ function apply(ctx) {
|
||||
});
|
||||
window.setTimeout(() => sendDiag("t1500"), 1500);
|
||||
window.setTimeout(() => sendDiag("t5000"), 5e3);
|
||||
const raiseOverlayLayer = () => {
|
||||
try {
|
||||
const layer = document.querySelector("[data-shell-overlay]");
|
||||
if (layer && layer.style.zIndex !== "2147483000") layer.style.zIndex = "2147483000";
|
||||
} catch {
|
||||
}
|
||||
};
|
||||
raiseOverlayLayer();
|
||||
window.setTimeout(raiseOverlayLayer, 300);
|
||||
window.setTimeout(raiseOverlayLayer, 1500);
|
||||
window.setInterval(raiseOverlayLayer, 3e3);
|
||||
} catch {
|
||||
}
|
||||
sessionBridge = { sessions: ctx.sessions ?? null, conversation: ctx.conversation ?? null, list: ctx.sessions?.list ?? null, workspaces: ctx.workspaces ?? null };
|
||||
|
||||
@@ -382,7 +382,7 @@ function resolveDshHomeSafe() {
|
||||
cachedDshHome = baseDshHome();
|
||||
return cachedDshHome;
|
||||
}
|
||||
var PLUGIN_VERSION = false ? "dev" : "0.5.3-local.15";
|
||||
var PLUGIN_VERSION = false ? "dev" : "0.5.3-local.16";
|
||||
var name = "dsh-worktable";
|
||||
var inject = ["webServer", "sessions"];
|
||||
var HEALTH_PATH = "/api/worktable/health";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "dsh-worktable",
|
||||
"description": "工作台 Worktable:DeepSeek Harness 侧边栏的 agent 级项目容器(应用抽屉)",
|
||||
"version": "0.5.3-local.15",
|
||||
"version": "0.5.3-local.16",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Aisland-SJL/dsh-worktable.git",
|
||||
|
||||
@@ -3591,6 +3591,8 @@ export function apply(ctx: any) {
|
||||
overlayHost: !!document.querySelector('[data-shell-overlay]'),
|
||||
bodyKids: document.body ? document.body.children.length : -1,
|
||||
wide: (window as any).innerWidth,
|
||||
overlayZ: (() => { try { const l = document.querySelector('[data-shell-overlay]') as HTMLElement | null; return l ? getComputedStyle(l).zIndex : 'none' } catch { return 'err' } })(),
|
||||
stripRect: (() => { try { const el = document.querySelector('.dsh-wt_edgeStrip') as HTMLElement | null; if (!el) return null; const r = el.getBoundingClientRect(); return { left: Math.round(r.left), top: Math.round(r.top), w: Math.round(r.width), h: Math.round(r.height), z: getComputedStyle(el).zIndex } } catch { return 'err' } })(),
|
||||
errors: diagErrors.slice(-5),
|
||||
}),
|
||||
})
|
||||
@@ -3602,6 +3604,21 @@ export function apply(ctx: any) {
|
||||
})
|
||||
window.setTimeout(() => sendDiag('t1500'), 1500)
|
||||
window.setTimeout(() => sendDiag('t5000'), 5000)
|
||||
|
||||
// 宿主 overlay 层的默认样式是 z-index:20 + pointer-events:none(见 ui-layout 的 overlayLayer)。
|
||||
// 我们的细条/面板挂在这层里,即使自身 z-index 再高,也会被 z-index 更高的侧栏(DS Bot 左栏)
|
||||
// 整体盖住。把该层抬到顶层,overlay 内其它浮层(配额提示等)一并受益。
|
||||
const raiseOverlayLayer = () => {
|
||||
try {
|
||||
const layer = document.querySelector<HTMLElement>('[data-shell-overlay]')
|
||||
if (layer && layer.style.zIndex !== '2147483000') layer.style.zIndex = '2147483000'
|
||||
} catch { /* ignore */ }
|
||||
}
|
||||
raiseOverlayLayer()
|
||||
window.setTimeout(raiseOverlayLayer, 300)
|
||||
window.setTimeout(raiseOverlayLayer, 1500)
|
||||
// 宿主重渲染可能重建该节点,低频兜底保持
|
||||
window.setInterval(raiseOverlayLayer, 3000)
|
||||
} catch { /* ignore */ }
|
||||
|
||||
// 自定义窗口 → 宿主会话桥:保存 sessions/conversation/list 服务引用(模块级)
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
> 每条标注日期、动机、落点与验证方式。改动在 `01_content/src/`,经 `npm run build`
|
||||
> 产出 `lib/`;发布物由 `npm run pack`(`01_content/release-prep.mjs`)生成。
|
||||
|
||||
当前版本:**0.5.3-local.15**(2026-12-04)
|
||||
产物:`01_content/dist/v0.5.3-local.15/dsh-worktable.tgz`,488948 字节,
|
||||
sha256 `aafb7ab2fa6fc94028c0d28c04409668defdd061522aeaaa8b49a2dad0a1f0f5`
|
||||
当前版本:**0.5.3-local.16**(2026-12-04)
|
||||
产物:`01_content/dist/v0.5.3-local.16/dsh-worktable.tgz`,489153 字节,
|
||||
sha256 `fd6af73a7e6c4620b86b021c480c63cca0e0dc4b397b7ee482d20a8dde07c9e8`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> ## 📦 本仓库是内部补丁分发仓,不是上游源码仓
|
||||
>
|
||||
> 上游:<https://github.com/Aisland-SJL/dsh-worktable> | 本仓 = 上游 **v0.5.1** + 桌面端状态持久化补丁 + 本项目自用的若干增强(`0.5.3-local.15`)。
|
||||
> 上游:<https://github.com/Aisland-SJL/dsh-worktable> | 本仓 = 上游 **v0.5.1** + 桌面端状态持久化补丁 + 本项目自用的若干增强(`0.5.3-local.16`)。
|
||||
> 下面从「Screenshots」开始的全部内容是上游 README 原文;本地改动逐条记录见 [LOCAL-CHANGES.md](02_process/LOCAL-CHANGES.md)。
|
||||
|
||||
### 要不要装
|
||||
@@ -16,16 +16,16 @@
|
||||
|
||||
### 安装
|
||||
|
||||
当前版本 **v0.5.3-local.15**:
|
||||
当前版本 **v0.5.3-local.16**:
|
||||
|
||||
```bash
|
||||
dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/releases/download/v0.5.3-local.15/dsh-worktable.tgz"
|
||||
dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/releases/download/v0.5.3-local.16/dsh-worktable.tgz"
|
||||
```
|
||||
|
||||
- **桌面端:先完全退出 Slark,再执行命令**,装完手动重开;不要在宿主运行时安装。
|
||||
- `--profile web` 按你自己的 profile 名字改。
|
||||
- 资产 `dsh-worktable.tgz`,488948 字节,sha256:
|
||||
`aafb7ab2fa6fc94028c0d28c04409668defdd061522aeaaa8b49a2dad0a1f0f5`
|
||||
- 资产 `dsh-worktable.tgz`,489153 字节,sha256:
|
||||
`fd6af73a7e6c4620b86b021c480c63cca0e0dc4b397b7ee482d20a8dde07c9e8`
|
||||
(下载后可 `Get-FileHash dsh-worktable.tgz -Algorithm SHA256` 核对)
|
||||
- 声明兼容的 DSH 版本:`0.2.0-rc.2` / `0.2.1-rc.3` / `0.2.1-rc.5` / `0.2.2-alpha.2`。
|
||||
宿主不在这个列表里时,安装会被兼容性检查直接拒绝并回滚。
|
||||
|
||||
Reference in New Issue
Block a user