dsh-tender-workbench 0.4.4 → 0.4.5
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 +8 -0
- package/README.en.md +7 -7
- package/README.md +6 -6
- package/docs/RELEASE-0.4.5.md +21 -0
- package/lib/client.js +44 -0
- package/lib/client.js.map +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/ordinary-session-guard.d.ts +7 -0
- package/lib/types/client/ordinary-session-guard.d.ts.map +1 -0
- package/package.json +2 -2
- package/docs/RELEASE-0.4.4.md +0 -53
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAiB9D,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAiB9D,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAiBrD,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,2DAA2D;QAC3D,YAAY,EAAE,SAAS,CAAA;KACxB;CACF;AAID,iFAAiF;AACjF,eAAO,MAAM,MAAM,UAElB,CAAA;AAmCD,mGAAmG;AACnG,wBAAgB,KAAK,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI,CAgGpD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ISessions, IWorkspaces } from '@deepseek-ai/dsh-client-runtime/client';
|
|
2
|
+
/** Compatibility for legacy workbench Sessions still attached to a Workspace.
|
|
3
|
+
* Keep their history/drafts intact; exclude them only from New Session reuse.
|
|
4
|
+
* DSH's public connectWorkspace currently has no candidate-filter extension.
|
|
5
|
+
*/
|
|
6
|
+
export declare function installOrdinarySessionGuard(sessions: ISessions, workspaces: IWorkspaces): () => void;
|
|
7
|
+
//# sourceMappingURL=ordinary-session-guard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ordinary-session-guard.d.ts","sourceRoot":"","sources":["../../../src/client/ordinary-session-guard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAA0B,MAAM,wCAAwC,CAAA;AAE5G;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,GAAG,MAAM,IAAI,CAoCpG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tender-workbench",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "DeepSeek Harness 招投标工作台智能体:支持招投标查询、规则初筛、智能分析、人工复核及 Excel/PDF 报告交付。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"README.en.md",
|
|
36
36
|
"CHANGELOG.md",
|
|
37
37
|
"cordis.patch.yml",
|
|
38
|
-
"docs/RELEASE-0.4.
|
|
38
|
+
"docs/RELEASE-0.4.5.md",
|
|
39
39
|
"lib/index.js",
|
|
40
40
|
"lib/client.js",
|
|
41
41
|
"lib/client.js.map",
|
package/docs/RELEASE-0.4.4.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# dsh-tender-workbench 0.4.4 发布清单
|
|
2
|
-
|
|
3
|
-
- Version: **0.4.4**
|
|
4
|
-
- 发布日期:2026-09-06
|
|
5
|
-
- Status: **release candidate**
|
|
6
|
-
- 发布提交:(发布工作流完成后回填 npm gitHead)
|
|
7
|
-
- Git 标签:`v0.4.4`
|
|
8
|
-
- npm 目标:`dsh-tender-workbench@0.4.4`(`latest`)
|
|
9
|
-
|
|
10
|
-
## 发布范围
|
|
11
|
-
|
|
12
|
-
0.4.4 修复「新会话」误复用招投标工作台会话的问题。招投标入口会话从 `create({ workspaceId, sessionId })` 改为 `create({ cwd, sessionId })`:仅以工作区路径创建、不再挂进工作区 `sessionIds`,DSH 核心 `connectWorkspace` 的空白会话复用因此跳过它,「新会话」恢复默认 DSH 标准页;只有点击「招投标」才进入带标题的工作台初始页。运行时代码、公共导出、工作流行为和 Artifact Schema 与 0.4.3 保持一致;版本通过 `v0.4.4` 标签触发 `.github/workflows/release.yml`,由 GitHub Actions OIDC 发布至 npm 并生成 provenance。
|
|
13
|
-
|
|
14
|
-
## 兼容性与安装
|
|
15
|
-
|
|
16
|
-
- Node.js:`^22.19.0 || >=24.0.0`
|
|
17
|
-
- 包管理器:`pnpm@11.7.0`
|
|
18
|
-
- DeepSeek Harness 公共包:`>=0.1.1-rc.2 || >=0.1.2-0`
|
|
19
|
-
- `dsh-mcp-connector`:`>=0.2.31`
|
|
20
|
-
- `dsh-better-sidebar`:`>=0.17.1 || >=0.18.0-0`
|
|
21
|
-
- 必需 MCP 工具:`mcp__qcc-tender__search_tenders`、`mcp__qcc-tender__search_proposed_projects`
|
|
22
|
-
|
|
23
|
-
## 发布门禁
|
|
24
|
-
|
|
25
|
-
- [x] 使用仓库锁文件完成 frozen pnpm install。
|
|
26
|
-
- [x] TypeScript 类型检查通过。
|
|
27
|
-
- [x] 完整 Vitest 测试通过。
|
|
28
|
-
- [x] Host Loader、Client Bundle、source map 和类型声明构建成功。
|
|
29
|
-
- [x] 中文/英文 README 与 0.4.4 发布状态检查通过。
|
|
30
|
-
- [x] npm tarball 只包含白名单公开文件。
|
|
31
|
-
- [x] tag 模式检查确认 `v0.4.4` 与包版本一致。
|
|
32
|
-
- [ ] `main` CI 在 Linux Node 22/24 和 Windows Node 24 全部通过。
|
|
33
|
-
- [ ] npm Trusted Publishing OIDC 自动发布成功,`latest` 指向 0.4.4。
|
|
34
|
-
- [ ] npm provenance 可验证。
|
|
35
|
-
- [ ] GitHub Release 为 latest、非 draft、非 prerelease。
|
|
36
|
-
|
|
37
|
-
## 发布步骤
|
|
38
|
-
|
|
39
|
-
1. 使用 pnpm 11.7.0 执行 frozen install 和完整 `check`。
|
|
40
|
-
2. 审查 Git diff,提交 0.4.4 发布元数据与「新会话」会话归属修复并推送 `main`。
|
|
41
|
-
3. 等待必需 CI job 通过后,在发布提交上创建 annotated tag `v0.4.4` 并推送。
|
|
42
|
-
4. 由 GitHub Actions 通过 OIDC 自动发布;不使用长期 npm Token。
|
|
43
|
-
5. 核验 npm version、dist-tag、provenance、Git 标签和 GitHub Release。
|
|
44
|
-
|
|
45
|
-
## 发布结果
|
|
46
|
-
|
|
47
|
-
(发布工作流完成后回填。)
|
|
48
|
-
|
|
49
|
-
## 安全与回滚
|
|
50
|
-
|
|
51
|
-
- 禁止存储或输出 npm/GitHub Token、QCC 凭证、源数据集或会话私有 Artifact。
|
|
52
|
-
- 推送标签后如自动发布失败,不复用或移动公开标签;诊断并使用新的补丁版本向前修复。
|
|
53
|
-
- npm 发布后不得覆盖或 unpublish 0.4.4;部署回滚目标为 `dsh-tender-workbench@0.4.3`。
|