dsh-tender-workbench 0.5.2 → 0.5.4

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,15 @@ All notable changes to `dsh-tender-workbench` are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.5.4] - 2026-09-10
8
+
9
+ - 对齐共享交互规范 v1.5.0:强化 Better Sidebar 能力探针、Session 定向展开与订阅清理;五个流程入口复用同一 Tab,增加当前会话记录历史视图与缺失依赖提示。
10
+ - Tab 重开保留会话级阶段、查询草稿及查询/筛选子视图;阶段导航只显示图标和短名称,窄栏保留任务状态文字。真实 DSH 四插件组合回归待验。
11
+
12
+ ## [0.5.3] - 2026-09-08
13
+
14
+ - 改善搜索元数据、安装说明、能力边界与四产品互链;无运行时或依赖变更。
15
+
7
16
  ## [0.5.2] - 2026-09-07
8
17
 
9
18
  ### Changed
package/README.en.md CHANGED
@@ -1,10 +1,16 @@
1
1
  # dsh-tender-workbench
2
2
 
3
+ Tender search and bid intelligence in DeepSeek Harness with proposed project search, rule screening, human review and Excel/PDF exports using user-authorized Qichacha MCP.
4
+
5
+ Install a pinned release using the command in the [Chinese quick start](README.md), review the preview or evidence before confirming, and keep the previous version and task-directory backup for rollback. Qichacha calls use the customer's authorized account.
6
+
7
+ Related agents: [数据清洗补全](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)
8
+
3
9
  [中文](README.md) | **English**
4
10
 
5
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.
6
12
 
7
- Current stable version: **0.5.2** (stable release).
13
+ Current stable version: **0.5.4** (stable release).
8
14
 
9
15
  ## What it does
10
16
 
@@ -54,7 +60,7 @@ An installed and authorized `qcc-tender` MCP connection must expose these exact
54
60
  - `mcp__qcc-tender__search_tenders`
55
61
  - `mcp__qcc-tender__search_proposed_projects`
56
62
 
57
- Missing required services, incompatible Better Sidebar capabilities, unavailable MCP tools, and non-JSONL Session persistence fail explicitly. There is no Web-search, alternate-persistence, or Workspace-storage fallback.
63
+ 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.
58
64
 
59
65
  ## Install
60
66
 
@@ -67,12 +73,12 @@ dsh plugin --profile web add dsh-tender-workbench
67
73
  dsh web --no-open
68
74
  ```
69
75
 
70
- To install the exact 0.5.2 release:
76
+ To install the exact 0.5.4 release:
71
77
 
72
78
  ```sh
73
79
  dsh plugin --profile web add 'dsh-mcp-connector@>=0.2.31'
74
80
  dsh plugin --profile web add 'dsh-better-sidebar@>=0.17.1'
75
- dsh plugin --profile web add dsh-tender-workbench@0.5.2
81
+ dsh plugin --profile web add dsh-tender-workbench@0.5.4
76
82
  ```
77
83
 
78
84
  To install from an independent checkout, install the required Provider plugins first, then run from this repository:
@@ -108,15 +114,24 @@ dsh plugin --profile web remove dsh-tender-workbench
108
114
  Upgrade an existing installation by installing the stable version and fully restarting the Web profile:
109
115
 
110
116
  ```sh
111
- dsh plugin --profile web add dsh-tender-workbench@0.5.2
117
+ dsh plugin --profile web add dsh-tender-workbench@0.5.4
112
118
  dsh web --no-open
113
119
  ```
114
120
 
115
- Version 0.5.2 aligns below-composer shortcuts with shared UI specification v1.1.3: outlined cards with an icon above each label, light/dark styling, a single horizontally scrollable row on narrow screens, and fully visible keyboard-focused cards. The workbench stays closed on entry and opens only on an explicit shortcut click, as in 0.5.1. Session isolation, global sidebar preferences, history and Artifact schemas remain unchanged. To roll back, reinstall `dsh-tender-workbench@0.5.1` and restart the profile. Published versions and tags remain immutable.
121
+ Version 0.5.4 aligns the Session singleton Tab adapter with shared UI specification v1.5.0. Five shortcuts open/focus the same Tab and navigate to opportunity, screening, decision, delivery or history, without starting tasks or MCP calls. Capability probes, subscription cleanup and cross-Session reveal guards are strengthened. Tab reopening retains navigation and query drafts within the current Client lifetime. History is limited to the current Session's saved query; cross-Session indexing and live MCP connection checks are not implemented. Actual four-plugin DSH integration remains to be verified. Roll back with `dsh-tender-workbench@0.5.3` and restart the profile; business data schemas are unchanged.
116
122
 
117
123
  ## Using the workbench
118
124
 
119
- The plugin exposes a top-left “招投标” launcher and a Session Header recovery action. Every top-left activation creates a distinct native Session in the current Session's workspace, the recent workspace, or the first available workspace, gives that blank Session the “招投标” hero label and goal icon, and opens its Better Sidebar workbench. Other Sessions keep their existing host/provider hero label and the fish mark. The composer-bottom shortcuts are intentionally absent; the Header action only reopens the workbench for its existing Session.
125
+ The top-left “招投标” launcher creates a distinct native Session using the current, recent, or first available workspace path. It shows the “招投标智能体” title and goal icon without opening the workbench. Below-composer shortcuts explicitly open the query, screening, review, or delivery view; the Session Header recovery action remains available. Other Sessions retain their original branding.
126
+
127
+ ## Interface examples and marketplace submission
128
+
129
+ These screenshots show the actual 0.5.2 React components in an isolated host fixture, visibly labeled as isolated UI validation without DSH/MCP connections. They contain no customer information or real business responses. They do not demonstrate live DSH/QCC operation or marketplace one-click installation.
130
+
131
+ ![Light homepage — isolated component demo](assets/market/home-light.png)
132
+ ![Dark homepage — isolated component demo](assets/market/home-dark.png)
133
+
134
+ See [submission status and isolated install/uninstall evidence](docs/MARKET-SUBMISSION.md). An open PR is not a completed marketplace listing.
120
135
 
121
136
  Navigation only changes the visible workbench phase. It does not mutate business state or run a later action. Criteria are proposed, edited, previewed, and confirmed as distinct steps. Agent recommendations never become user decisions automatically. Report generation always shows the reviewed and pending scope before creating a delivery snapshot.
122
137
 
package/README.md CHANGED
@@ -1,10 +1,31 @@
1
1
  # dsh-tender-workbench
2
2
 
3
+ ## 安装与三分钟上手
4
+
5
+ 招投标智能体:支持招投标搜索、招标查询、投标查询、标讯查询、拟建项目与项目筛选,辅助商机发现、人工复核及 Excel/PDF 导出,使用客户自备授权的企查查 MCP。
6
+
7
+ ```sh
8
+ dsh plugin --profile web add dsh-tender-workbench@0.5.4
9
+ ```
10
+
11
+ 请先满足下文的 DSH、连接器及侧边栏依赖要求;安装后完整停止并重启对应 Profile。
12
+
13
+ 进入“招投标”,设置地区、关键词和时间范围,使用已授权的 qcc-tender 查询。检查规则影响预览并确认筛选条件,人工复核记录后选择导出 Excel 或 PDF。三分钟用于熟悉操作,不承诺查询或报告一定在三分钟完成。
14
+
15
+ **流程样例(示意,非真实调用结果):** 地区/日期/关键词 → 标讯与拟建项目 → 规则影响预览 → 人工复核 → Excel/PDF(未完成复核会标注部分交付)。
16
+
17
+ **能力边界:** 投标查询指已授权数据源内的公开标讯查询,不代办投标。无 Web 搜索兜底、订阅或自动 Bid/No-Bid 决策;不提供在线 PDF 预览。
18
+
19
+ **升级与回滚:** 升级前停止 Profile 并备份任务目录,记录当前精确版本;使用上面的固定版本命令升级,再完整重启。回滚时将版本号替换为升级前记录的版本,并使用升级前任务目录副本;不以旧版直接读取已迁移任务目录。
20
+
21
+ 相关智能体:[数据清洗补全](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)
22
+
23
+
3
24
  **中文** | [English](README.en.md)
4
25
 
5
26
  > 面向国内招投标团队的 DeepSeek Harness 开源智能体插件:在一个会话级工作台内完成标讯与拟建项目查询、确定性规则初筛、限定范围智能分析、人工复核,以及 Excel/PDF 报告交付。
6
27
  >
7
- > 当前稳定版本:**0.5.2**(正式版本)
28
+ > 当前稳定版本:**0.5.4**(正式版本)
8
29
 
9
30
  [![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
31
  [![npm](https://img.shields.io/npm/v/dsh-tender-workbench)](https://www.npmjs.com/package/dsh-tender-workbench)
@@ -49,10 +70,10 @@ dsh web --no-open
49
70
 
50
71
  安装或移除插件后,请完整重启 Web Profile。插件通过 `dsh.bundle.patch` 启用 `cordis.patch.yml`,并注册 `dsh-tender-workbench` Loader。
51
72
 
52
- 安装指定的 `0.5.2` 版本:
73
+ 安装指定的 `0.5.4` 版本:
53
74
 
54
75
  ```sh
55
- dsh plugin --profile web add dsh-tender-workbench@0.5.2
76
+ dsh plugin --profile web add dsh-tender-workbench@0.5.4
56
77
  ```
57
78
 
58
79
  移除插件:
@@ -63,7 +84,7 @@ dsh plugin --profile web remove dsh-tender-workbench
63
84
 
64
85
  ## 使用工作台
65
86
 
66
- 插件提供左上角“招投标”入口和会话 Header 恢复入口。点击左上角入口会在当前工作区、最近工作区或第一个可用工作区中创建一个独立的原生会话,为空白会话显示“招投标”标题与目标图标,并打开对应的 Better Sidebar 工作台;其他会话继续保留各自原有标题与标识。
87
+ 插件提供左上角“招投标”入口和会话 Header 恢复入口。点击左上角入口会根据当前工作区、最近工作区或第一个可用工作区的路径创建独立原生会话,显示“招投标智能体”标题与目标图标,默认不打开右侧工作台。点击输入框下方的找机会、筛候选、人工定案、形成交付或任务历史按钮时,才打开对应 Better Sidebar 视图;其他会话保留各自原有标题与标识。
67
88
 
68
89
  页面导航只切换可见阶段,不会修改业务状态或自动执行后续动作。规则建议、编辑、影响预览与确认彼此独立;报告生成前始终展示已复核和待复核范围。宽屏使用主从布局,中窄屏保持相同信息顺序,并保留局部表格滚动与可访问的固定操作区。
69
90
 
@@ -91,18 +112,18 @@ dsh plugin --profile web remove dsh-tender-workbench
91
112
  - `mcp__qcc-tender__search_tenders`
92
113
  - `mcp__qcc-tender__search_proposed_projects`
93
114
 
94
- 缺少必要服务、Better Sidebar 能力不兼容、MCP 工具不可用或会话持久化不是 JSONL 时,插件会明确失败;不提供 Web 搜索、其他持久化或 Workspace 存储兜底。
115
+ 缺少兼容 Better Sidebar 时,对话入口和已支持的 Host 工具保持可用,流程按钮提示安装/升级、启用 Tab 并重启,不创建另一套侧拉。其余必要服务缺失、MCP 工具不可用或会话持久化不是 JSONL 时明确失败;不提供 Web 搜索、其他持久化或 Workspace 存储兜底。
95
116
 
96
117
  ## 升级与回滚
97
118
 
98
119
  从已有版本升级:
99
120
 
100
121
  ```sh
101
- dsh plugin --profile web add dsh-tender-workbench@0.5.2
122
+ dsh plugin --profile web add dsh-tender-workbench@0.5.4
102
123
  dsh web --no-open
103
124
  ```
104
125
 
105
- 本次 0.5.2 对齐共享规范 v1.1.3:首页输入框下方四个快捷入口采用上图标、下文字的描边卡片,支持浅深色、窄屏单行横向滚动与键盘聚焦完整可见。延续 0.5.1 的默认收起行为:「招投标」菜单仅进入独立会话,点击下方按钮才打开工作台。不修改宿主全局侧栏偏好、历史布局或业务数据。如需回退,可安装 `dsh-tender-workbench@0.5.1` 并重启 Profilenpm 版本与公开 Git 标签保持不可变。
126
+ 0.5.4 对齐共享规范 v1.5.0:五个流程按钮打开/聚焦同一 Session 单例 Tab 并定位内部视图;补齐能力探针、状态订阅、卸载清理和跨会话展开保护。宿主管理侧拉、Tab X、宽度及停靠,业务内容不提供重复容器控制。Tab 重开保留当前 Client 内的阶段、查询草稿和主要子视图;历史仅展示当前 Session 已保存的查询记录,不是跨会话完整历史。真实 MCP 连接状态尚未接入,页面明确提示未核验;真实 DSH 四插件组合仍待复验。如需回退,可安装 `dsh-tender-workbench@0.5.3` 并重启 Profile;未改变业务数据格式。npm 版本与公开 Git 标签保持不可变。
106
127
 
107
128
  ## 本地开发
108
129
 
@@ -117,9 +138,18 @@ corepack pnpm@11.7.0 run check
117
138
 
118
139
  `check` 会执行类型检查、完整 Vitest 测试、生产构建、README/发布状态校验以及 npm tarball 白名单预检。配置 npm Trusted Publishing 后,[发布工作流](.github/workflows/release.yml)可使用 OIDC 和 provenance;手工发布不得声称 provenance。
119
140
 
120
- 省、市、区数据源快照维护在 [resources/area.ts](resources/area.ts)。版本变更见 [CHANGELOG.md](CHANGELOG.md),发布检查见 [0.5.2 发布清单](docs/RELEASE-0.5.2.md)。
141
+ 省、市、区数据源快照维护在 [resources/area.ts](resources/area.ts)。版本变更见 [CHANGELOG.md](CHANGELOG.md),发布检查见 [0.5.4 发布清单](docs/RELEASE-0.5.4.md)。
142
+
143
+ ## 界面演示与市场投稿
144
+
145
+ 以下为 0.5.2 实际 React 组件在隔离宿主夹具中的截图,画面标注“隔离 UI 验证 · 不连接 DSH / MCP”。无客户信息、生产会话或真实业务响应;仅展示界面,不代表真实 DSH 启动、QCC 查询或市场一键安装验收。
146
+
147
+ ![浅色首页(隔离组件演示)](assets/market/home-light.png)
148
+ ![深色首页(隔离组件演示)](assets/market/home-dark.png)
149
+
150
+ 市场投稿状态及隔离安装/卸载证据见 [市场登记](docs/MARKET-SUBMISSION.md)。提交 PR 不等于已经上架。
121
151
 
122
- ## 当前范围
152
+ ## 业务范围限制
123
153
 
124
154
  当前版本不提供在线 PDF 预览、交付版本对比、已成功文件的重复生成、订阅、CRM 跟进、企业画像、来源准确性核验或 Bid/No-Bid 决策。查询、分类、分析和复核都可以作为合法结束点;只有用户明确操作后,后续阶段才会继续。
125
155
 
@@ -0,0 +1,26 @@
1
+ # dsh-tender-workbench 0.5.4
2
+
3
+ Version: **0.5.4**
4
+ Status: **release candidate**
5
+
6
+ ## 范围与授权
7
+
8
+ 用户已明确授权 commit、push、tag 和 npm 发布。目标为公开 npm 的 latest,由 release.yml 的 GitHub Actions OIDC 发布,并生成 provenance。
9
+
10
+ 本次对齐共享交互规范 v1.5.0:Session 单例 Tab、五入口 open/focus/定位、能力探针、显式 reveal、跨 Session/Files/Tab X 竞态保护、订阅和卸载清理、缺少依赖的可行动提示。当前/历史导航、查询草稿及主要子视图在 Client 生命周期内恢复;阶段导航去除第二行状态,窄栏保留上下文与状态文字。
11
+
12
+ 保留原目标图标与「招投标」菜单。不改变 Host 业务数据格式、依赖、权限、计费或其他仓库,不发布市场资料。
13
+
14
+ ## 验证与限制
15
+
16
+ 发布前重新执行完整 npm run check、隔离 Chromium UI 矩阵及 git diff --check。基线已有 42 文件、230 测试通过、1 项既有跳过;8 组浅深色/尺寸 UI 回归及 320px 容器验证。最终结果及 CI/Registry 回读在发布后补记。
17
+
18
+ 真实 DSH 四插件同装和真实 QCC Provider 本轮未运行,不能由发布成功代签。历史仅提供本 Session 已保存查询记录;跨会话索引、实时 MCP 连接状态、细粒度未提交编辑的统一恢复未接入。查询草稿/导航内存刷新或卸载后清除,任务/制品由 Host 保留。兼容对照 Better Sidebar 0.17.1 的公开能力与 mount/store 契约,不扩大 peer 范围。
19
+
20
+ ## 流程及回滚
21
+
22
+ release 分支 → PR CI/审核 → 锁定 SHA 合并 → 精确 main SHA CI → annotated v0.5.4 → OIDC npm/provenance → GitHub Release → Registry 回读。公开 tag/版本不覆盖;失败不得复用 npm 版本。
23
+
24
+ 回滚:备份用户任务目录后安装 dsh-tender-workbench@0.5.3,并按既有方式重启 DSH web;本轮不操作用户生产进程。
25
+
26
+ 详细采用记录:[QCC-BLUE-UI-ACCEPTANCE.md](QCC-BLUE-UI-ACCEPTANCE.md)。