dsh-tender-workbench 0.5.5 → 0.5.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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to `dsh-tender-workbench` are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.5.6] - 2026-09-10
8
+
9
+ - 统一 Better Sidebar optional peer、基础/工作台安装预检和运行时降级文案;不自动安装侧栏、不重写工作台容器。
10
+ - 修复 DSH 0.1.2-rc.1 Host 工具的 Session.snapshotEvents() 与 turn/start 轮次绑定,补真实 Session 契约,避免错误拒绝直接用户请求。
11
+ - 补无侧栏/兼容侧栏/已知错误组合的最终 tarball 验收与实际 Host 工具业务 fixture。
12
+
7
13
  ## [0.5.5] - 2026-09-10
8
14
 
9
15
  - 迁移完整 DSH 0.1.2-rc.1 公共接口,移除旧客户端 runtime 与 conversationEvents 硬依赖;补事件定义卸载清理。
package/README.en.md CHANGED
@@ -10,9 +10,9 @@ Related agents: [数据清洗补全](https://github.com/duhu2000/dsh-data-cleani
10
10
 
11
11
  `dsh-tender-workbench` is an open-source DeepSeek Harness plugin for finding, screening, reviewing, and delivering tender opportunities. It combines authorized `qcc-tender` data, deterministic screening rules, bounded Agent analysis, explicit human decisions, and immutable Excel/PDF reports in one Session-scoped Better Sidebar workbench.
12
12
 
13
- Current stable version: **0.5.5** (stable release).
13
+ Current stable version: **0.5.6** (stable release).
14
14
 
15
- This release targets the full DSH 0.1.2-rc.1 distribution with Better Sidebar 0.18.1; legacy hosts are no longer supported. Back up the complete Profile and verify dependencies before upgrading; do not overwrite a working local hotfix or an unverified host combination.
15
+ Base mode targets the full DSH 0.1.2-rc.1 distribution; Better Sidebar 0.18.1 is optional and only provides the visual workbench. Legacy hosts remain unsupported. Back up the complete Profile and verify dependencies before upgrading.
16
16
 
17
17
  ## What it does
18
18
 
@@ -53,9 +53,9 @@ This release constrains core peers to `~0.1.2-rc.1`; future combinations require
53
53
 
54
54
  - DeepSeek Harness public packages: `0.1.2-rc.1`
55
55
  - `dsh-mcp-connector`: `0.2.31`
56
- - `dsh-better-sidebar`: `0.18.1`
56
+ - Optional visual workbench: `dsh-better-sidebar@0.18.1`; the peer range is not an acceptance claim for untested versions
57
57
 
58
- The active Profile must provide one coherent runtime with public Session Projection, JSONL Session Persistence, Tools, Skill, Sessions, and WebServer services. Better Sidebar must expose the public `targetedOpen` and `stateSubscription` features.
58
+ The active Profile must provide one coherent runtime with public Session Projection, JSONL Session Persistence, Tools, Skill, Sessions, and WebServer services. Only the visual workbench needs Better Sidebar and its `targetedOpen` / `stateSubscription` features; missing or incompatible capabilities do not block conversation activation.
59
59
 
60
60
  Before installing, run `node scripts/check-host-compatibility.mjs --host-root /actual/node_modules/@deepseek-ai/dsh --profile-root /actual/profiles/web`. It only reads package manifests: known incompatible hosts, mixed core packages and old Sidebar fail; unknown combinations are reported as unverified. The Windows mount script requires `-DshHostRoot` and executes this gate before mutation. Upgrade the complete host explicitly after backing up the Profile: `npm install -g @deepseek-ai/dsh@0.1.2-rc.1`.
61
61
 
@@ -66,34 +66,35 @@ An installed and authorized `qcc-tender` MCP connection must expose these exact
66
66
  - `mcp__qcc-tender__search_tenders`
67
67
  - `mcp__qcc-tender__search_proposed_projects`
68
68
 
69
- Without a compatible Better Sidebar provider, conversation entry points and supported Host tools remain available; shortcuts show actionable install/upgrade, enable-tab and restart guidance. No private sidebar is created. Other missing required services, unavailable MCP tools and non-JSONL persistence fail explicitly, with no Web-search or alternate-storage fallback.
69
+ The default preflight accepts Sidebar-free base mode. Add `--workbench` (Windows mount: `-Workbench`) only when explicitly enabling the visual workbench; the Windows flag also checks its enabled bundle before any Profile write. No script automatically installs Sidebar. An already-installed Sidebar 0.17.1 breaking the new host is still blocked, even in base mode. Runtime capability probes and Tab preferences remain separate from manifest inspection.
70
+
71
+ Without Sidebar, native Sessions, input drafts, the prompt builder, action Skills and Host tools remain available. Conversation-driven query, rule preview/confirmation, human review and report generation retain their contracts; actual model orchestration and paid MCP are separate acceptance layers. Existing authorized Excel/PDF artifact links can be downloaded, but visual table/detail/filter controls, batch-review controls, history view and download buttons require the workbench. All five shortcuts only explain this boundary, preserving state without starting tasks. No alternate drawer or native-workbench rewrite is implemented. Other missing required services, unavailable MCP tools and non-JSONL persistence fail explicitly.
70
72
 
71
73
  ## Install
72
74
 
73
- Install the current stable release and its required Provider plugins:
75
+ Install base mode. The connector is needed for authorized QCC queries; Sidebar is not required:
74
76
 
75
77
  ```sh
76
78
  dsh plugin --profile web add 'dsh-mcp-connector@>=0.2.31'
77
- dsh plugin --profile web add 'dsh-better-sidebar@0.18.1'
78
79
  dsh plugin --profile web add dsh-tender-workbench
79
80
  dsh web --no-open
80
81
  ```
81
82
 
82
- To install the exact 0.5.5 release:
83
+ Optionally enable the visual workbench with `dsh plugin --profile web add dsh-better-sidebar@0.18.1`, enable the tender Tab and fully restart the Profile.
84
+
85
+ To install the exact 0.5.6 release:
83
86
 
84
87
  ```sh
85
88
  dsh plugin --profile web add 'dsh-mcp-connector@>=0.2.31'
86
- dsh plugin --profile web add 'dsh-better-sidebar@0.18.1'
87
- dsh plugin --profile web add dsh-tender-workbench@0.5.5
89
+ dsh plugin --profile web add dsh-tender-workbench@0.5.6
88
90
  ```
89
91
 
90
- To install from an independent checkout, install the required Provider plugins first, then run from this repository:
92
+ To install base mode from an independent checkout:
91
93
 
92
94
  ```sh
93
95
  corepack pnpm@11.7.0 install --frozen-lockfile
94
96
  corepack pnpm@11.7.0 run build
95
97
  dsh plugin --profile web add 'dsh-mcp-connector@>=0.2.31'
96
- dsh plugin --profile web add 'dsh-better-sidebar@0.18.1'
97
98
  dsh plugin --profile web add .
98
99
  dsh web --no-open
99
100
  ```
@@ -102,8 +103,7 @@ To install a packed build:
102
103
 
103
104
  ```sh
104
105
  dsh plugin --profile web add 'dsh-mcp-connector@>=0.2.31'
105
- dsh plugin --profile web add 'dsh-better-sidebar@0.18.1'
106
- dsh plugin --profile web add ./dsh-tender-workbench-0.5.2.tgz
106
+ dsh plugin --profile web add ./dsh-tender-workbench-0.5.6.tgz
107
107
  dsh web --no-open
108
108
  ```
109
109
 
@@ -120,11 +120,11 @@ dsh plugin --profile web remove dsh-tender-workbench
120
120
  Upgrade an existing installation by installing the stable version and fully restarting the Web profile:
121
121
 
122
122
  ```sh
123
- dsh plugin --profile web add dsh-tender-workbench@0.5.5
123
+ dsh plugin --profile web add dsh-tender-workbench@0.5.6
124
124
  dsh web --no-open
125
125
  ```
126
126
 
127
- Version 0.5.5 retains the v1.5.0 singleton Tab, five navigation shortcuts and Client-lifetime draft recovery while migrating the client modules and services to the new host. Business schemas are unchanged; history remains Session-local and live MCP connectivity is not verified. Restore a backed-up, fully verified host/plugin combination for rollback, not the original 0.5.4 or an older package alone on the new host.
127
+ Version 0.5.6 aligns optional Sidebar metadata, installation checks and fallback guidance, and fixes Host Session event reads and current-turn binding. It retains the v1.5.0 singleton Tab, five navigation shortcuts and Client-lifetime draft recovery. Business schemas are unchanged; history remains Session-local and live MCP connectivity is not verified. Restore a backed-up, fully verified host/plugin combination for rollback, not the original 0.5.4 or an older package alone on the new host.
128
128
 
129
129
  ## Using the workbench
130
130
 
package/README.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  ## 安装与三分钟上手
4
4
 
5
- > 0.5.5 面向完整 DSH 0.1.2-rc.1 + Better Sidebar 0.18.1。升级前备份完整 Profile 并核对依赖;不要直接覆盖未经验证的宿主组合或仍可用的本地临时补丁。
5
+ > 基础智能体要求完整 DSH 0.1.2-rc.1Better Sidebar 0.18.1 仅用于可选可视化工作台;升级前备份完整 Profile
6
6
 
7
7
  招投标智能体:支持招投标搜索、招标查询、投标查询、标讯查询、拟建项目与项目筛选,辅助商机发现、人工复核及 Excel/PDF 导出,使用客户自备授权的企查查 MCP。
8
8
 
9
9
  ```sh
10
- dsh plugin --profile web add dsh-tender-workbench@0.5.5
10
+ dsh plugin --profile web add dsh-tender-workbench@0.5.6
11
11
  ```
12
12
 
13
13
  请先满足下文的 DSH、连接器及侧边栏依赖要求;安装后完整停止并重启对应 Profile。
@@ -18,7 +18,7 @@ dsh plugin --profile web add dsh-tender-workbench@0.5.5
18
18
 
19
19
  **能力边界:** 投标查询指已授权数据源内的公开标讯查询,不代办投标。无 Web 搜索兜底、订阅或自动 Bid/No-Bid 决策;不提供在线 PDF 预览。
20
20
 
21
- **升级与回滚:** 升级前停止 Profile 并备份任务目录,记录当前精确版本;使用上面的固定版本命令升级,再完整重启。回滚时将版本号替换为升级前记录的版本,并使用升级前任务目录副本;不以旧版直接读取已迁移任务目录。
21
+ **升级与回滚:** 升级前停止 Profile 并备份完整宿主/插件组合及任务目录,记录精确版本;升级后完整重启。回滚需恢复已验证的整套组合和目录副本,不能在新宿主上单独退回原始 0.5.4。
22
22
 
23
23
  相关智能体:[数据清洗补全](https://github.com/duhu2000/dsh-data-cleaning-agent) · [AI填表](https://github.com/duhu2000/dsh-form-fill-agent) · [访前尽调](https://github.com/duhu2000/dsh-pre-duediligence) · [招投标](https://github.com/duhu2000/dsh-tender-workbench)
24
24
 
@@ -27,7 +27,7 @@ dsh plugin --profile web add dsh-tender-workbench@0.5.5
27
27
 
28
28
  > 面向国内招投标团队的 DeepSeek Harness 开源智能体插件:在一个会话级工作台内完成标讯与拟建项目查询、确定性规则初筛、限定范围智能分析、人工复核,以及 Excel/PDF 报告交付。
29
29
  >
30
- > 当前稳定版本:**0.5.5**(正式版本)
30
+ > 当前稳定版本:**0.5.6**(正式版本)
31
31
 
32
32
  [![CI](https://github.com/duhu2000/dsh-tender-workbench/actions/workflows/ci.yml/badge.svg)](https://github.com/duhu2000/dsh-tender-workbench/actions/workflows/ci.yml)
33
33
  [![npm](https://img.shields.io/npm/v/dsh-tender-workbench)](https://www.npmjs.com/package/dsh-tender-workbench)
@@ -61,21 +61,22 @@ dsh plugin --profile web add dsh-tender-workbench@0.5.5
61
61
 
62
62
  ## 30 秒开始
63
63
 
64
- 先安装连接器、侧边栏能力和本插件:
64
+ 基础智能体不要求 Better Sidebar。查询企查查数据时还需已安装、已授权的 MCP 连接器;基础安装不默认强装第三方侧栏:
65
65
 
66
66
  ```sh
67
67
  dsh plugin --profile web add 'dsh-mcp-connector@>=0.2.31'
68
- dsh plugin --profile web add 'dsh-better-sidebar@0.18.1'
69
68
  dsh plugin --profile web add dsh-tender-workbench
70
69
  dsh web --no-open
71
70
  ```
72
71
 
73
72
  安装或移除插件后,请完整重启 Web Profile。插件通过 `dsh.bundle.patch` 启用 `cordis.patch.yml`,并注册 `dsh-tender-workbench` Loader。
74
73
 
75
- 安装指定的 `0.5.5` 版本:
74
+ 需要可视化工作台时,再自选安装 `dsh plugin --profile web add dsh-better-sidebar@0.18.1`、在宿主设置启用招投标 Tab,并完整重启。无需侧栏也可使用下方列明的基础功能。
75
+
76
+ 安装指定的 `0.5.6` 版本:
76
77
 
77
78
  ```sh
78
- dsh plugin --profile web add dsh-tender-workbench@0.5.5
79
+ dsh plugin --profile web add dsh-tender-workbench@0.5.6
79
80
  ```
80
81
 
81
82
  移除插件:
@@ -104,10 +105,10 @@ dsh plugin --profile web remove dsh-tender-workbench
104
105
 
105
106
  - DeepSeek Harness 公共包:`0.1.2-rc.1`
106
107
  - `dsh-mcp-connector`:`0.2.31`
107
- - `dsh-better-sidebar`:`0.18.1`
108
+ - 可选工作台依赖 `dsh-better-sidebar`:已验证版本 `0.18.1`,optional peer `~0.18.1` 不是整个区间已验收的承诺
108
109
  - Node.js:`^22.19.0 || >=24.0.0`
109
110
 
110
- 当前 Profile 必须提供同一套公共 Session Projection、JSONL Session Persistence、Tools、Skill、Sessions 和 WebServer 服务;Better Sidebar 必须提供公共 `targetedOpen` 与 `stateSubscription` 能力。
111
+ 当前 Profile 必须提供同一套公共 Session Projection、JSONL Session Persistence、Tools、Skill、Sessions 和 WebServer 服务。只有启用可视化工作台才需要 Better Sidebar,运行时探测公共 `targetedOpen` 与 `stateSubscription` 能力;缺少或能力不全时不等待、不创建自有抽屉。
111
112
 
112
113
  先备份完整 Profile,再由用户明确升级完整宿主(`npm install -g @deepseek-ai/dsh@0.1.2-rc.1`),不能只升级某个 Session 包。安装前从本仓运行只读检查:
113
114
 
@@ -115,7 +116,7 @@ dsh plugin --profile web remove dsh-tender-workbench
115
116
  node scripts/check-host-compatibility.mjs --host-root /实际路径/node_modules/@deepseek-ai/dsh --profile-root /实际路径/profiles/web
116
117
  ```
117
118
 
118
- 预检只读包清单,不读凭证、会话或执行安装。已知旧宿主/混装核心包/旧 Sidebar 会阻断;未知版本提示未验证。Windows 挂载脚本需提供 `-DshHostRoot`,预检失败时不得挂载。context 不是必装依赖;仅当已安装时需检查共存条件:0.36.0 的旧 settingsNamespace 已知不兼容,共存基准为 0.48.0,可在备份后由用户执行 `dsh plugin --profile web add dsh-context@0.48.0`。
119
+ 预检默认是基础模式,缺少侧栏只提示功能边界,不阻断、不自动安装。显式传 `--workbench` 才要求侧栏已安装,版本检查不代替运行时 capability 与 Tab 启用检查。已装 Sidebar 0.17.1 在新宿主上的硬故障仍阻断;未知组合提示未验证。Windows 挂载需 `-DshHostRoot`,默认基础模式;`-Workbench` 额外要求侧栏 bundle 已启用,所有预检均在 Profile 写入前执行。context 不是必装依赖;已装 0.36.0 settingsNamespace 故障仍阻断,共存基准为 0.48.0
119
120
 
120
121
  回滚必须恢复完整已验证的宿主/插件组合,不得在新宿主上单独退回未经修复的 0.5.4 或更早包。真实 QCC、四产品共存与正式环境验收不由启动 smoke 代签。
121
122
 
@@ -126,16 +127,28 @@ node scripts/check-host-compatibility.mjs --host-root /实际路径/node_modules
126
127
 
127
128
  缺少兼容 Better Sidebar 时,对话入口和已支持的 Host 工具保持可用,流程按钮提示安装/升级、启用 Tab 并重启,不创建另一套侧拉。其余必要服务缺失、MCP 工具不可用或会话持久化不是 JSONL 时明确失败;不提供 Web 搜索、其他持久化或 Workspace 存储兜底。
128
129
 
130
+ ### 无侧栏功能边界
131
+
132
+ | 能力 | 无侧栏 | 可视化工作台 |
133
+ | --- | --- | --- |
134
+ | 独立原生会话、普通会话切换、输入草稿、提示词生成/回填 | 可用,不因打开工作台失败而清空 | 相同 |
135
+ | 行为 Skill、工作流状态工具、对话驱动查询 | 可用;实际数据仍需模型和已授权 MCP | 表单配置并显式提交 |
136
+ | 规则预览/确认、人工复核、报告生成工具 | Host 工具保留;需对话明确请求,仍受版本绑定与确认约束 | 规则编辑、表格、批量复核和导出控件 |
137
+ | Excel/PDF Artifact 下载接口 | 已生成的授权下载链接可用;无可视化下载按钮 | 下载按钮可用 |
138
+ | 五个流程按钮、任务历史、表格详情 | 仅明确提示;不执行任务,不创建 Tab | 定位同一 Session 单例 Tab |
139
+
140
+ 工具 fixture 通过不等于真实模型自动编排或付费 QCC 全链路通过;完整工作台原生化仅为后续评估,本版本未实施。
141
+
129
142
  ## 升级与回滚
130
143
 
131
144
  从已有版本升级:
132
145
 
133
146
  ```sh
134
- dsh plugin --profile web add dsh-tender-workbench@0.5.5
147
+ dsh plugin --profile web add dsh-tender-workbench@0.5.6
135
148
  dsh web --no-open
136
149
  ```
137
150
 
138
- 0.5.5 保留 0.5.4 v1.5.0 Session 单例 Tab、五入口导航和 Client 生命周期内草稿恢复,正式迁移新版宿主的客户端模块与服务。查询、筛选、复核和报告业务格式不变;历史仍仅限当前 Session,真实 MCP 连接未核验。回退应恢复备份的完整已验证宿主/插件组合,不能在新版宿主上单独安装原始 0.5.4 或更早版本。
151
+ 0.5.6 统一可选侧栏声明、安装预检和降级提示,并修复新版宿主 Session 事件读取及当前轮次绑定。保留 v1.5.0 Session 单例 Tab、五入口导航和 Client 生命周期内草稿恢复。查询、筛选、复核和报告业务格式不变;历史仍仅限当前 Session,真实 MCP 连接未核验。回退应恢复备份的完整已验证宿主/插件组合,不能在新版宿主上单独安装原始 0.5.4 或更早版本。
139
152
 
140
153
  ## 本地开发
141
154
 
@@ -150,7 +163,7 @@ corepack pnpm@11.7.0 run check
150
163
 
151
164
  `check` 会执行类型检查、完整 Vitest 测试、生产构建、README/发布状态校验以及 npm tarball 白名单预检。配置 npm Trusted Publishing 后,[发布工作流](.github/workflows/release.yml)可使用 OIDC 和 provenance;手工发布不得声称 provenance。
152
165
 
153
- 省、市、区数据源快照维护在 [resources/area.ts](resources/area.ts)。版本变更见 [CHANGELOG.md](CHANGELOG.md),发布检查见 [0.5.5 发布清单](docs/RELEASE-0.5.5.md)。
166
+ 省、市、区数据源快照维护在 [resources/area.ts](resources/area.ts)。版本变更见 [CHANGELOG.md](CHANGELOG.md),发布检查见 [0.5.6 发布清单](docs/RELEASE-0.5.6.md)。
154
167
 
155
168
  ## 界面演示与市场投稿
156
169
 
@@ -0,0 +1,22 @@
1
+ # dsh-tender-workbench 0.5.6
2
+
3
+ Version: **0.5.6**
4
+ Status: **ready for release**
5
+
6
+ 用户已追加授权本版 commit、push、tag 与 npm 发布。经本地与远端门禁后发布,不复用版本或移动旧 Tag。
7
+
8
+ ## 范围
9
+
10
+ Better Sidebar 统一为 optional peer;基础安装不默认安装侧栏,运行时仍通过可卸载的依赖子 Context 接入,缺少能力不阻断对话功能。不新增替代抽屉、不重写工作台容器。
11
+
12
+ 修复实际 DSH 0.1.2-rc.1 Host 工具路径:改用 Session.snapshotEvents() 读取事件,从 turn/start 获取当前轮次,不再依赖已移除的 Session.events 或 UserMessage.turn。此前页面/Skill 列表 smoke 未覆盖这一业务缺陷;本版补实际 Session 契约测试和隔离 Host 查询→规则预览/确认→人工复核→Excel/PDF 流程。
13
+
14
+ 基础预检接受没有侧栏的 DSH 0.1.2-rc.1;显式 --workbench / Windows -Workbench 要求侧栏已安装启用。已有 DSH 0.1.2-rc.1 + Sidebar 0.17.1 的 settingsNamespace 故障仍阻断,optional 不豁免宿主硬不兼容。未测试版本提示未验证,context 非必装。
15
+
16
+ ## 业务边界与验收
17
+
18
+ 无侧栏仍有原生独立会话、提示词生成、对话草稿、行为 Skill 和 Host 工具。对话驱动的查询、规则预览/确认、人工复核、报告生成与 Artifact 下载使用相同服务;原生模型是否正确选择工具和真实 QCC 授权/额度属于另层验收。可视化条件面板、表格筛选/详情、批量复核控件、历史视图及下载按钮仍需工作台;流程按钮在无侧栏时仅给出提示,不创建任务或自动执行工具。
19
+
20
+ 脚本 scripts/native-host-smoke.mjs 支持 TENDER_TEST_SIDEBAR=absent / compatible / incompatible。测试使用原始 npm pack、隔离 HOME/DSH_HOME 与随机非生产端口,调用实际 DSH 的 initProfile 和 dsh plugin install。官方 Profile 模板使用 hoisted / autoInstallPeers:false,由完整宿主提供核心 peers;脚本不自创或放宽依赖解析参数。坏组合验证升级预检阻断,并在专用隔离 Profile 复现已安装旧侧栏的实际启动故障。空 npm 项目不是完整 DSH Profile,其自动补齐核心 peers 存在连接器旧范围引发的 ERESOLVE,不宣称该路径已通过。
21
+
22
+ scripts/native-business-fixture.mjs 仅为独立诊断插件:通过实际注册工具、原生 Agent/Session、投影及本地 Artifact 执行流程,QCC 返回和直接用户消息是合成 fixture,没有真实模型或计费 MCP。该诊断代码、临时 Profile 和输出不打入 npm。测试结果、证据与仍待组合回归项登记于本仓 docs/OPTIONAL-SIDEBAR-ADOPTION.md。
package/lib/client.js CHANGED
@@ -5900,7 +5900,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5900
5900
  tabId
5901
5901
  ]);
5902
5902
  }
5903
- /** Fail loudly only when the mandatory provider lacks an exercised capability. */
5903
+ /** Probe the optional provider before registering or opening its workbench. */
5904
5904
  function assertBetterSidebarContract(service) {
5905
5905
  for (const method of [
5906
5906
  "registerTab",
@@ -28204,7 +28204,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
28204
28204
  //#region src/client/TenderEntry.tsx
28205
28205
  const SIDEBAR_WORKSPACES_SELECTOR = "[data-slot=\"sidebar.workspaces\"]";
28206
28206
  const TENDER_TOP_MOUNT_SELECTOR = "[data-dsh-tender-top-mount=\"true\"]";
28207
- const SIDEBAR_UNAVAILABLE = "无法打开招投标 Tab。请安装或升级 dsh-better-sidebar(需 targetedOpen / stateSubscription),在宿主设置中启用招投标 Tab,然后重启 DSH。仍可使用对话和已支持的 Host 工具。";
28207
+ const SIDEBAR_UNAVAILABLE = "招投标可视化工作台暂不可用,当前输入和业务记录未改变。仍可使用原生对话、提示词生成和已支持的 Host 工具;流程按钮不会代为执行任务。若需工作台,请选择安装 dsh-better-sidebar@0.18.1(需 targetedOpen / stateSubscription),在宿主设置中启用招投标 Tab,再完整重启 DSH";
28208
28208
  /** Keep the whole focused card visible without scrolling the host conversation. */
28209
28209
  function revealShortcut(button) {
28210
28210
  const menu = button.parentElement;