dsh-tender-workbench 0.5.0 → 0.5.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/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.1] - 2026-09-06
8
+
9
+ ### Fixed
10
+
11
+ - 「招投标」菜单仅进入独立会话初始页,不再自动创建或展开右侧业务工作台;点击输入框下方功能按钮时才打开对应页面,会话头的手动恢复入口保留。
12
+
7
13
  ## [0.5.0] - 2026-09-06
8
14
 
9
15
  ### Added
package/README.en.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  `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.
6
6
 
7
- Current stable version: **0.5.0** (stable release).
7
+ Current stable version: **0.5.1** (stable release).
8
8
 
9
9
  ## What it does
10
10
 
@@ -67,12 +67,12 @@ dsh plugin --profile web add dsh-tender-workbench
67
67
  dsh web --no-open
68
68
  ```
69
69
 
70
- To install the exact 0.5.0 release:
70
+ To install the exact 0.5.1 release:
71
71
 
72
72
  ```sh
73
73
  dsh plugin --profile web add 'dsh-mcp-connector@>=0.2.31'
74
74
  dsh plugin --profile web add 'dsh-better-sidebar@>=0.17.1'
75
- dsh plugin --profile web add dsh-tender-workbench@0.5.0
75
+ dsh plugin --profile web add dsh-tender-workbench@0.5.1
76
76
  ```
77
77
 
78
78
  To install from an independent checkout, install the required Provider plugins first, then run from this repository:
@@ -91,7 +91,7 @@ To install a packed build:
91
91
  ```sh
92
92
  dsh plugin --profile web add 'dsh-mcp-connector@>=0.2.31'
93
93
  dsh plugin --profile web add 'dsh-better-sidebar@>=0.17.1'
94
- dsh plugin --profile web add ./dsh-tender-workbench-0.5.0.tgz
94
+ dsh plugin --profile web add ./dsh-tender-workbench-0.5.1.tgz
95
95
  dsh web --no-open
96
96
  ```
97
97
 
@@ -108,11 +108,11 @@ dsh plugin --profile web remove dsh-tender-workbench
108
108
  Upgrade an existing installation by installing the stable version and fully restarting the Web profile:
109
109
 
110
110
  ```sh
111
- dsh plugin --profile web add dsh-tender-workbench@0.5.0
111
+ dsh plugin --profile web add dsh-tender-workbench@0.5.1
112
112
  dsh web --no-open
113
113
  ```
114
114
 
115
- Version 0.5.0 introduces scoped QCC-blue branding, light/dark business surfaces, a simplified hero, below-composer navigation, and an editable prompt wizard. Filling never sends automatically. Manual input requires an append/replace/cancel choice. The 0.4.5 ordinary-session isolation, workflow and Artifact schemas remain unchanged. Wizard drafts live only in the current Client lifetime. To roll back this UI upgrade, reinstall `dsh-tender-workbench@0.4.5` and restart the profile. Published versions and tags remain immutable.
115
+ Version 0.5.1 keeps the workbench closed when entering through the Tender menu. Below-composer shortcuts explicitly open the corresponding workbench view; the header recovery action remains available. QCC-blue branding, the prompt wizard, session isolation, global sidebar preferences, history and Artifact schemas remain unchanged. To roll back, reinstall `dsh-tender-workbench@0.5.0` and restart the profile; entry will auto-open the workbench again. Published versions and tags remain immutable.
116
116
 
117
117
  ## Using the workbench
118
118
 
@@ -137,7 +137,7 @@ The build emits the Host loader at `lib/index.js`, the Client bundle at `lib/cli
137
137
 
138
138
  The province, city, and district source snapshot is maintained in [resources/area.ts](resources/area.ts).
139
139
 
140
- See [CHANGELOG.md](CHANGELOG.md) and [the 0.5.0 release checklist](docs/RELEASE-0.5.0.md) for the stable-release scope and operational checks.
140
+ See [CHANGELOG.md](CHANGELOG.md) and [the 0.5.1 release checklist](docs/RELEASE-0.5.1.md) for the stable-release scope and operational checks.
141
141
 
142
142
  ## Current scope
143
143
 
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  > 面向国内招投标团队的 DeepSeek Harness 开源智能体插件:在一个会话级工作台内完成标讯与拟建项目查询、确定性规则初筛、限定范围智能分析、人工复核,以及 Excel/PDF 报告交付。
6
6
  >
7
- > 当前稳定版本:**0.5.0**(正式版本)
7
+ > 当前稳定版本:**0.5.1**(正式版本)
8
8
 
9
9
  [![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)
10
10
  [![npm](https://img.shields.io/npm/v/dsh-tender-workbench)](https://www.npmjs.com/package/dsh-tender-workbench)
@@ -49,10 +49,10 @@ dsh web --no-open
49
49
 
50
50
  安装或移除插件后,请完整重启 Web Profile。插件通过 `dsh.bundle.patch` 启用 `cordis.patch.yml`,并注册 `dsh-tender-workbench` Loader。
51
51
 
52
- 安装指定的 `0.5.0` 版本:
52
+ 安装指定的 `0.5.1` 版本:
53
53
 
54
54
  ```sh
55
- dsh plugin --profile web add dsh-tender-workbench@0.5.0
55
+ dsh plugin --profile web add dsh-tender-workbench@0.5.1
56
56
  ```
57
57
 
58
58
  移除插件:
@@ -98,11 +98,11 @@ dsh plugin --profile web remove dsh-tender-workbench
98
98
  从已有版本升级:
99
99
 
100
100
  ```sh
101
- dsh plugin --profile web add dsh-tender-workbench@0.5.0
101
+ dsh plugin --profile web add dsh-tender-workbench@0.5.1
102
102
  dsh web --no-open
103
103
  ```
104
104
 
105
- 本次 0.5.0 对齐企查查蓝交互规范:菜单保留「招投标」与原有图标,首页改为「招投标智能体」,新增下方快捷导航和只回填、不自动发送的提示词向导;支持浅深色与窄屏。已有输入提供追加、替换或取消,关闭保留本会话向导草稿。继续保留 0.4.5 的普通新会话隔离保护;公共业务工作流、历史数据和 Artifact Schema 不变。如遇 UI 回归,可安装 `dsh-tender-workbench@0.4.5` 并重启 Profilenpm 版本与公开 Git 标签保持不可变。
105
+ 本次 0.5.1 修正初始页交互:「招投标」菜单仅进入独立会话,不自动创建或展开右侧工作台;点击输入框下方功能按钮才打开对应页面,会话头恢复入口保留。延续 0.5.0 的企查查蓝 UI 与提示词向导,以及普通新会话隔离保护。不修改宿主全局侧栏偏好、历史布局或业务数据。如需回退,可安装 `dsh-tender-workbench@0.5.0` 并重启 Profile;菜单自动展开问题也会恢复。npm 版本与公开 Git 标签保持不可变。
106
106
 
107
107
  ## 本地开发
108
108
 
@@ -117,7 +117,7 @@ corepack pnpm@11.7.0 run check
117
117
 
118
118
  `check` 会执行类型检查、完整 Vitest 测试、生产构建、README/发布状态校验以及 npm tarball 白名单预检。配置 npm Trusted Publishing 后,[发布工作流](.github/workflows/release.yml)可使用 OIDC 和 provenance;手工发布不得声称 provenance。
119
119
 
120
- 省、市、区数据源快照维护在 [resources/area.ts](resources/area.ts)。版本变更见 [CHANGELOG.md](CHANGELOG.md),发布检查见 [0.5.0 发布清单](docs/RELEASE-0.5.0.md)。
120
+ 省、市、区数据源快照维护在 [resources/area.ts](resources/area.ts)。版本变更见 [CHANGELOG.md](CHANGELOG.md),发布检查见 [0.5.1 发布清单](docs/RELEASE-0.5.1.md)。
121
121
 
122
122
  ## 当前范围
123
123
 
@@ -0,0 +1,23 @@
1
+ # dsh-tender-workbench 0.5.1 发布清单
2
+
3
+ - Version: **0.5.1**
4
+ - Status: **release candidate**
5
+ - 日期:2026-09-06
6
+ - 标签:`v0.5.1`
7
+ - npm:`dsh-tender-workbench@0.5.1`,目标 dist-tag 为 `latest`
8
+
9
+ ## 范围与验证
10
+
11
+ 「招投标」菜单仅创建并进入独立会话初始页,不自动创建或展开业务工作台。输入框下方功能按钮显式打开对应页面,会话头的手动恢复入口保留。不修改宿主全局侧栏偏好、历史布局、业务工作流或 Artifact Schema。
12
+
13
+ 修复后完整门禁已通过:219 项测试通过、1 项既有跳过;类型、构建、文档和打包检查通过。隔离 React/Chromium 浅深色 × 四尺寸共 8 组通过,新增菜单进入保持关闭、按钮展开、再次菜单进入的回归断言。发布前再以 0.5.1 运行完整门禁。
14
+
15
+ ## 发布流程
16
+
17
+ 提交并推送 main,确认 Linux Node 22/24、Windows Node 24 CI 后创建不可变 annotated tag v0.5.1。release.yml 使用 GitHub OIDC Trusted Publishing 发布 npm 并生成 provenance,随后核对 Registry latest/gitHead/publisher、远端 tag 和 GitHub Release。
18
+
19
+ ## 验收边界与回退
20
+
21
+ 本次不重装或重启用户本机 DSH,不调用真实 QCC。浏览器测试是实际组件与隔离宿主 DOM,不等同于升级后的真实宿主验收。升级重启后需复测菜单初始页和下方功能按钮。
22
+
23
+ 必要时回退 dsh-tender-workbench@0.5.0 并重启 Profile;菜单自动展开行为会恢复。无需迁移历史数据,不覆盖已发布 npm 版本或移动公开标签。
package/lib/client.js CHANGED
@@ -31033,7 +31033,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
31033
31033
  const sessionId = await createTenderEntrySession(sessions, ctx.workspaces);
31034
31034
  if (!active) return;
31035
31035
  sessions.open(sessionId);
31036
- if (openSession(sessionId)) reveal.request(sessionId);
31037
31036
  } catch (error) {
31038
31037
  if (error instanceof TenderSessionEntryError) {
31039
31038
  const key = error.code === "workspace-unavailable" ? "sidebar.workspaceRequired" : error.code === "create-unavailable" ? "sidebar.createUnavailable" : "sidebar.createFailed";