bs-engineering-suite 2.9.0-rc.13 → 2.9.0-rc.15
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/NOTICE.md +1 -1
- package/README.md +35 -25
- package/cordis.patch.yml +87 -1
- package/docs/content-packs/ONLINE_LIBRARY.md +1 -1
- package/docs/windows-install.md +5 -5
- package/docs/windows-usage.md +2 -2
- package/node_modules/@buildseek/diagnostics/lib/client.js +4 -4
- package/node_modules/@buildseek/diagnostics/lib/version.js +1 -1
- package/node_modules/@buildseek/harness-engineering-document-plugin/dist/client.js +2 -2
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/content-packs.js +15 -1
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/project-content-flow.js +1 -0
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/project-data/application.js +1 -1
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/project-data/project-setup.js +5 -1
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/service.js +13 -1
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/types/content-packs.d.ts +1 -1
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/types/host-adapter/optional-host.d.ts +9 -0
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/types/project-data/application.d.ts +1 -0
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/types/service.d.ts +2 -0
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/types/workbench/application.d.ts +2 -0
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/workbench/application.js +9 -1
- package/node_modules/@buildseek/harness-engineering-document-plugin/lib/workbench/native.js +30 -6
- package/node_modules/@buildseek/harness-engineering-document-plugin/presets/buildseek-engineering-documents/preset.yml +1 -1
- package/node_modules/@buildseek/harness-engineering-document-plugin/presets/buildseek-engineering-documents.patch.yml +1 -1
- package/node_modules/@buildseek/platform/project-setup.d.ts +1 -1
- package/node_modules/@buildseek/platform/project-setup.js +41 -1
- package/node_modules/@dsh-engineering/workbench/client/bundle.js +105 -39
- package/node_modules/bs-engineering-docs/lib/agent.js +64 -14
- package/node_modules/bs-engineering-docs/lib/project-tools.js +133 -1
- package/package.json +1 -1
package/NOTICE.md
CHANGED
|
@@ -9,7 +9,7 @@ This repository consolidates five previously developed modules into one DeepSeek
|
|
|
9
9
|
|
|
10
10
|
The original module licenses and third-party notices remain under `packages/`. The suite does not replace or shadow the DeepSeek Harness SDK or bundle a second DSH runtime. DSH, its SDK, Cordis and React remain host-provided shared instances. The Windows x64 `0.1.0-alpha.3-m2.6` archive includes the matching Windows native components; the retained macOS arm64 `0.1.0-alpha.3-m2.5` release includes its macOS OAG native module. These are platform-specific archives, not interchangeable binaries. The Office preview module retains its private Workbench capability and respects the official preview defaults.
|
|
11
11
|
|
|
12
|
-
The `2.9.0-rc.
|
|
12
|
+
The `2.9.0-rc.15` candidate archive includes isolated, modified copies of three MIT-licensed DSH UI packages: `@deepseek-ai/dsh-client-ui-sidebar`, `@deepseek-ai/dsh-client-ui-chat` and `@deepseek-ai/dsh-client-ui-plugin-manager`. For each supported platform it carries both the exact published npm `0.2.2-rc.4` payload and that platform's real Desktop `0.2.2-rc.3` payload. They live under `ui-compat/vendor/<variant>/@deepseek-ai/` in the installed suite, outside the host SDK resolution paths. Each copy retains its original copyright notice, `LICENSE`, locales and required assets; the inventory, platform, variant and original/file digests are recorded in `ui-compat/receipt.json` format `bs-ui-bundle/v4`, with per-variant versions under `hostVersions`. These limited UI copies add the BS navigation and running-status slots and persist/filter the native version list; they do not include a DSH or Node installer and do not modify the host installation directory, system PATH or the user's global Node. Activation requires the exact platform, variant host version and every original SHA-256 in one variant to match; npm/Desktop mixed bytes, rc.1/rc.2 bytes or unknown builds retain their native UI and report a stable `BS_UI_FALLBACK` reason. The legacy rc.1 Windows profile overlay remains historical and is not activated by the rc.4 package policy.
|
|
13
13
|
|
|
14
14
|
The bundled UI compatibility logic uses a read-only runtime policy and a subclass of the host's native Group. It reads the current composed native UI settings, including profile/home layer precedence, without writing a separate profile patch. It disables the matched native UI rows only when the exact versions, SHA-256 digests and settings are compatible, and lets the Group own the replacement children's load/unload lifecycle. Unknown hosts, user-disabled native UI, unsupported custom groups or configuration conflicts retain the original UI with stable `BS_UI_FALLBACK` diagnostics. Disabling or removing the suite restores native UI according to the host's restart prompts. Installation does not depend on `postinstall`; the official host CLI can install the archive with `--ignore-scripts`.
|
|
15
15
|
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# BS工程资料系统
|
|
2
2
|
|
|
3
|
-
> `2.9.0-rc.
|
|
3
|
+
> `2.9.0-rc.15` 加入宿主时间、联网搜索与网页读取、Office、工程历史检索等按需工具,并包含项目基础资料解除绑定。项目文件在解除绑定后仍留在本机。
|
|
4
4
|
|
|
5
|
-
当前套件为 **`2.9.0-rc.
|
|
5
|
+
当前套件为 **`2.9.0-rc.15`**,Web/CLI 目标宿主为 DSH `0.2.2-rc.4`,Desktop UI 基线为 `0.2.2-rc.3`,统一发布标签为 **`bs-v2.9.0-rc.15`**。[下载 rc.15](https://github.com/jdbsh-AI/bs-engineering-suite/releases/tag/bs-v2.9.0-rc.15) · **[模板包安装与使用说明](docs/content-packs/TEMPLATE_PACKAGE_GUIDE.md)**。DSH rc.4 用户在插件页输入 `bs-engineering-suite@next`,或运行 `npm install bs-engineering-suite@next`;需要固定版本时使用 `bs-engineering-suite@2.9.0-rc.15`。默认 `latest` 仍为适用于 rc.3 的 rc.12;当前 rc.3 Desktop 会拒绝安装 rc.15。已从 npm 安装的用户可在插件详情的版本区更新;rc 版本需勾选“显示预发布版本”,再按宿主提示重启。
|
|
6
6
|
|
|
7
7
|
随包指南可离线查看。[Windows 安装](docs/windows-install.md) · [Windows 使用](docs/windows-usage.md)。历史记录和动画链接需要有权访问私有源码仓库。
|
|
8
8
|
|
|
@@ -21,27 +21,37 @@ RAG资料在 **插件 → BS工程资料系统 → RAG资料包管理** 中刷
|
|
|
21
21
|
| --- | --- | --- | --- |
|
|
22
22
|
| 广东省房屋建筑项目资料模板包 | 0.3.4 | 840份Excel资产、配套语义、字段映射及选表目录 | [在线模板库(COS)](docs/content-packs/ONLINE_LIBRARY.md) · [本地 ZIP 导入](docs/content-packs/TEMPLATE_PACKAGE_GUIDE.md) |
|
|
23
23
|
|
|
24
|
-
模板包独立于 BS 插件版本更新。打开 **插件 → BS工程资料系统 → 模板包管理 → 在线模板库**,点「主动刷新在线目录」即可查询当前发布的版本。COS 目录和 ZIP 支持匿名访问。已持有内容 ZIP 时可在「已安装」展开「导入本地模板包(ZIP)」。GitHub Packages 的 [0.3.3 备用发布记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
24
|
+
模板包独立于 BS 插件版本更新。打开 **插件 → BS工程资料系统 → 模板包管理 → 在线模板库**,点「主动刷新在线目录」即可查询当前发布的版本。COS 目录和 ZIP 支持匿名访问。已持有内容 ZIP 时可在「已安装」展开「导入本地模板包(ZIP)」。GitHub Packages 的 [0.3.3 备用发布记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/content-packs/PACKAGES.md)供历史核对。
|
|
25
25
|
|
|
26
|
-
配套的 **广东省房屋建筑项目资料模板包** 当前内容版本为0.3.4:包含840份Excel资产、RDF/SHACL、字段规则和选表目录。已移除840份逐表PDF保真文件,保留Word来源及正文/附册等依据PDF。导入后从本机内容库读取,无需每次直连GitHub;旧任务继续固定原包与语义修订。目录优化和3090实测见[性能记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
26
|
+
配套的 **广东省房屋建筑项目资料模板包** 当前内容版本为0.3.4:包含840份Excel资产、RDF/SHACL、字段规则和选表目录。已移除840份逐表PDF保真文件,保留Word来源及正文/附册等依据PDF。导入后从本机内容库读取,无需每次直连GitHub;旧任务继续固定原包与语义修订。目录优化和3090实测见[性能记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/content-packs/CATALOGUE_PERFORMANCE.md)。插件和模板内容分别版本管理。
|
|
27
27
|
|
|
28
28
|
当前安装与模板操作以本页顶部的随包指南为准。文中标注的旧版记录用于查阅历史验证和回滚。
|
|
29
29
|
|
|
30
|
-

|
|
31
31
|
|
|
32
32
|
**bs-v2.9.0-rc.4:新增匿名在线模板库,支持刷新、下载校验、整包安装、取消重试和后台继续;保留 rc.3 双平台适配及 Issue #4 修复。后续版本沿用 `bs-v<semver>` 标签、包内 `<semver>` 的版本线,停止使用 m2.x 作为新发布版本号。**
|
|
33
33
|
|
|
34
|
-
当前 macOS arm64 与 Windows x64 使用同一个 `bs-engineering-suite-2.9.0-rc.
|
|
34
|
+
当前 macOS arm64 与 Windows x64 使用同一个 `bs-engineering-suite-2.9.0-rc.15.tgz`,平台原生文件由加载器选择。DSH Web/CLI 最低版本为 `0.2.2-rc.4`;官方 Desktop feed 尚未发布 rc.4,因此兼容层继续锁定 macOS/Windows 的真实 Desktop `0.2.2-rc.3` 字节。包内包含 npm rc.4、macOS Desktop rc.3 和 Windows Desktop rc.3 三套字节基线,打包为四个平台变体;未知字节继续保留宿主原生 UI。历史 rc.4 的3090验证见[rc.4记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/bs-v2.9.0-rc.4.md),COS实现的 macOS 隔离验证见[COS记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/cos-online-source-20261116.md),本轮的 rc.4 适配与真实安装、浏览器验证见[rc.4验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/dsh022-rc4-verification.md)。rc.4 Desktop 实机界面与 Windows 原生运行本轮为 `NOT_RUN`,静态包检查不替代实机验收。原 rc.2/rc.3 适配交付记录保留在 [rc.3 验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/dsh022-rc3-verification.md)。
|
|
35
35
|
|
|
36
|
-
进入工程资料模式时按钮从左向右填色,再次点击时从右向左恢复普通状态,并返回原生会话。浅深主题、折叠侧栏、键盘与系统减少动态效果均受支持。rc.
|
|
36
|
+
进入工程资料模式时按钮从左向右填色,再次点击时从右向左恢复普通状态,并返回原生会话。浅深主题、折叠侧栏、键盘与系统减少动态效果均受支持。rc.14 重载后若仍是工程资料模式但右栏已折叠,入口会重新打开工作台,而不是误退出模式。在原生右侧栏新增标签页时,选择「工程资料工作台」可进入工作台。
|
|
37
37
|
|
|
38
38
|
在已有 DSH 的“插件”页输入 `bs-engineering-suite`,或填入通用安装包的本地绝对路径,按宿主提示重启即可,无需解压或另装开发工具。诊断入口位于 **设置 → BS工程资料系统 → 标签栏右侧“下载诊断包”**。历史发布页保留作各自版本的回滚入口;m2.6 历史安装/实机记录保留如下。
|
|
39
39
|
|
|
40
|
+
## 工程资料按需工具
|
|
41
|
+
|
|
42
|
+
工程对话使用 DSH 提供的时间上下文。明确要求「填今天」时按当前时间和时区填写,已发生的工程日期以资料或用户确认作为依据。联网提供公开信息,规范引用继续使用本工程选定的 RAG 包。联网搜索根据 DSH 的搜索设置及服务可用性提供,MCP 资源工具由已连接并提供资源的服务注册。
|
|
43
|
+
|
|
44
|
+
Office 转换、重算与页面渲染按 DSH 的 Office Skill 和 LibreOffice Kit 能力提供。历史检索使用本次宿主进程的内存索引,首次检索时开启,DSH 工具按会话所属工作区授权访问。
|
|
45
|
+
|
|
46
|
+
工程资料对话及其子任务不提供命令行工具。选表、缺项校验、生成候选文件和展示成果均由工程资料工具及 DSH 原生展示完成。工程资料对话可查询插件,安装、卸载与启停在插件管理页操作。解除绑定保留本机文件,撤销此模式通过项目基础资料读取原文件的权限。此前进入会话的内容和用户另行保留的副本仍然存在。
|
|
47
|
+
|
|
48
|
+
Stagehand 为实验能力。配置了兼容的 Chromium、模型与凭据后可按需使用。在宿主的同一版本依赖树中安装 `@deepseek-ai/dsh-browser-use` 与 `@deepseek-ai/dsh-experimental-browser-use-stagehand-native`,设置 `DSH_STAGEHAND_MODEL`、`DSH_STAGEHAND_MODEL_API_KEY`,并重新启动 DSH。插件使用独立 Chromium 会话。可用模型及平台要求见 [DSH Stagehand 原生配置](https://github.com/deepseek-ai/deepseek-harness/blob/dsh-v0.2.2-rc.4/packages/experimental/browser-use-stagehand-native/README.zh.md)。
|
|
49
|
+
|
|
40
50
|
## 一份资料如何形成
|
|
41
51
|
|
|
42
52
|
工程材料 → 整理事实 → 匹配依据 → 选择模板 → 形成初稿。Agent 协助处理资料,人保留事实确认、成果验收与专业审核的责任。
|
|
43
53
|
|
|
44
|
-

|
|
45
55
|
|
|
46
56
|
以上动图为产品理念与流程示意,非实机录屏;资料生成以 Word 路径为例,具体能力以当前版本实际开放范围为准。形成初稿不等于已经通过专业审核。
|
|
47
57
|
|
|
@@ -57,7 +67,7 @@ RAG资料在 **插件 → BS工程资料系统 → RAG资料包管理** 中刷
|
|
|
57
67
|
| Workbench 工程资料工作台 | 工程选择、绑定及工作台交互 |
|
|
58
68
|
| 文档侧栏预览 | Office 预览及工作台文档预览能力 |
|
|
59
69
|
|
|
60
|
-

|
|
61
71
|
|
|
62
72
|
连线表示模块协作关系,不表示固定的串行执行顺序。
|
|
63
73
|
|
|
@@ -65,15 +75,15 @@ RAG资料在 **插件 → BS工程资料系统 → RAG资料包管理** 中刷
|
|
|
65
75
|
|
|
66
76
|
设置侧栏只保留“BS工程资料系统”一个入口,顶部“工程语义 / 检索知识库 / 工程资料”三个标签只读展示中文状态,统一保留右上角“下载诊断包”。模板和RAG资料包的下载、导入和管理统一在 **插件 → BS工程资料系统** 中操作。右侧工作台在工程内设置并显示该工程已绑定的包名与版本。每个模板版本右侧齿轮菜单提供启停、导出、卸载和删除;历史任务引用会阻止永久删除。已启用用蓝字、已停用用红字,同时保留文字状态。“待完善表式798张”统计包内 SEMANTICS_PENDING 表式,既有专业状态未改变。
|
|
67
77
|
|
|
68
|
-
m2.7-dev.1新增最近72小时的脱敏诊断记录,覆盖UI组件、OAG、RAG和EDP。下载ZIP内含JSONL时间线、环境与版本、完整性清单和可读摘要;不含材料正文、聊天或凭据,不自动上传、不调用模型。存储或Host不可用时明确标记记录不完整;细节见[诊断记录说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
78
|
+
m2.7-dev.1新增最近72小时的脱敏诊断记录,覆盖UI组件、OAG、RAG和EDP。下载ZIP内含JSONL时间线、环境与版本、完整性清单和可读摘要;不含材料正文、聊天或凭据,不自动上传、不调用模型。存储或Host不可用时明确标记记录不完整;细节见[诊断记录说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/diagnostics-v1.md)。
|
|
69
79
|
|
|
70
80
|
工程资料入口位于左侧上方导航中,在“自动化任务”下、“工作区”上。进入工程后继续使用原生工程会话及右侧工作台;生成与写入仍要求原有确认。模块开关不是项目授权,安装不会自动选择用户目录、建立工程绑定或调用模型。关闭 EDP 时,依赖它的工作台业务会显示不可用。
|
|
71
81
|
|
|
72
|
-
Windows m2.6 将两份 MIT UI 兼容副本内置于同一安装包的隔离 vendor 目录,仅在宿主 UI 包的精确版本、SHA-256 和当前组合设置均匹配时提供顶部入口;不符合条件时保留原界面,使用宿主可用的入口,并记录稳定的 `BS_UI_FALLBACK` 诊断码。Windows 最终 CI 包已核对全部 1608 个安装文件,顶部唯一入口、对齐与已有成果只读预览均通过,详见[单包验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
82
|
+
Windows m2.6 将两份 MIT UI 兼容副本内置于同一安装包的隔离 vendor 目录,仅在宿主 UI 包的精确版本、SHA-256 和当前组合设置均匹配时提供顶部入口;不符合条件时保留原界面,使用宿主可用的入口,并记录稳定的 `BS_UI_FALLBACK` 诊断码。Windows 最终 CI 包已核对全部 1608 个安装文件,顶部唯一入口、对齐与已有成果只读预览均通过,详见[单包验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/windows-single-package-check-20261111.md)。工程内只显示当前工程,顶部“工作台首页”可返回工程选择。兼容策略与历史维护说明见 [Windows UI 兼容](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/windows-ui-compat.md),开发背景见[工作台导航说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/workbench-navigation.md)。
|
|
73
83
|
|
|
74
|
-
rc.
|
|
84
|
+
rc.14 为 macOS 与 Windows 各保留两套 UI 变体,每套包含 sidebar、chat 与 plugin-manager 三个兼容副本:一套对应官方 npm `0.2.2-rc.4` 平台中立字节,另一套对应各平台真实 Desktop `0.2.2-rc.3` 字节。收据格式为 `bs-ui-bundle/v4`,分别记录 `hostVersions.npm` 与 `hostVersions.desktop`。只有平台、变体宿主版本和该套全部原始 SHA-256 精确匹配时才启用,并在运行组合中停用对应的三条原生 UI 行;且不注册 `main` 面板、不调用 `selectPanel`。npm/Desktop 混用、未知字节或不完整清单均保留原生 UI。rc.1/rc.2 夹具只保留为历史输入,不会在 rc.4 宿主误启用。
|
|
75
85
|
|
|
76
|
-
BS 工程会话的欢迎区仅显示 BS 图标和“工程之上·更多可能”,整体对齐下方对话框中心,不显示版本标签;底部继续使用 DSH 原生统计。匹配的 UI 兼容副本在原生左侧运行位置显示 BS 图标、“搬砖中...”和 DSH 实际用时;计时、暂停、holding 和普通会话显示仍由宿主管理。兼容逻辑不修改 DSH 安装目录或全局 Node,不 shadow SDK;本轮 rc.
|
|
86
|
+
BS 工程会话的欢迎区仅显示 BS 图标和“工程之上·更多可能”,整体对齐下方对话框中心,不显示版本标签;底部继续使用 DSH 原生统计。匹配的 UI 兼容副本在原生左侧运行位置显示 BS 图标、“搬砖中...”和 DSH 实际用时;计时、暂停、holding 和普通会话显示仍由宿主管理。兼容逻辑不修改 DSH 安装目录或全局 Node,不 shadow SDK;本轮 rc.14 只使用隔离 macOS rc.4 Web Profile 验收,未升级本机 3090,也未部署 Windows 包。欢迎区及运行条的开发背景见[欢迎区说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/welcome-brand.md)与[运行状态条说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/running-status.md)。
|
|
77
87
|
|
|
78
88
|
## 资料阅览台
|
|
79
89
|
|
|
@@ -83,7 +93,7 @@ BS 工程会话的欢迎区仅显示 BS 图标和“工程之上·更多可能
|
|
|
83
93
|
|
|
84
94
|
目录浏览、检索、刷新和原生预览不调用模型、不产生模型用量。索引只记录文件名、相对路径、类型、大小与更新时间,仅保存在 Host 内存;索引过程不读取正文、不计算全文哈希、不创建业务存储或磁盘索引文件,也不改动源资料或自动登记生成材料。私有目录(如 `.dsh-engineering`)、`.git`、系统杂项和临时锁文件会被排除,符号链接与 junction 不跟随。
|
|
85
95
|
|
|
86
|
-
历史 Windows 11 实机完成过目录、5000 文件分页、检索、刷新与原生预览检查,见[资料阅览台历史实机记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
96
|
+
历史 Windows 11 实机完成过目录、5000 文件分页、检索、刷新与原生预览检查,见[资料阅览台历史实机记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/windows-document-library-check-20261112.md);Windows 10 尚未实测。操作步骤见 [Windows 使用说明](docs/windows-usage.md),实现与验证边界见[资料阅览台开发说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/document-library-v1.md)。
|
|
87
97
|
|
|
88
98
|
同一运行代码的 macOS arm64 包已在全新 DSH `0.2.2-rc.1` 临时 Web Profile 中完成实际安装、重启及上述五类预览,并检查双工程切换、解绑、浅深主题、窄窗和 5000 文件分页;测试目录使用仓库模板副本,检查结束后删除。此结果不扩大为所有 macOS 版本或完整工程生成验收。
|
|
89
99
|
|
|
@@ -95,7 +105,7 @@ BS 工程会话的欢迎区仅显示 BS 图标和“工程之上·更多可能
|
|
|
95
105
|
|
|
96
106
|
正文解析与显示能力分别判断:简单 Word/XLSX 和文本 PDF 可保留段落、工作表、单元格或页码来源;复杂结构、扫描 PDF 或无法完整解析的材料需要人工核对,不补造内容。单份原件上限 25MiB,官方预览上限 16MiB;容器结构、展开量和工作表规模另有限制。宏、外部关系、活动内容、损坏文件和类型不符会被拒绝并说明原因。
|
|
97
107
|
|
|
98
|
-
最终包已完成独立验收和实际 Word/Excel 回归,并安装到现有 3080 开发环境。验收范围、原件校验、兼容性与 M3 边界见 [M2交付说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
108
|
+
最终包已完成独立验收和实际 Word/Excel 回归,并安装到现有 3080 开发环境。验收范围、原件校验、兼容性与 M3 边界见 [M2交付说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/project/M2-accepted-release-20261023.md)。XLSX 模板生成、真实重算及质量 G3 留在 M3。
|
|
99
109
|
|
|
100
110
|
## 历史安装与回滚
|
|
101
111
|
|
|
@@ -115,9 +125,9 @@ Windows 11 Pro 24H2 x64、build `26100.7840` 已有实测记录;Windows 10 22H
|
|
|
115
125
|
|
|
116
126
|
bs-v2.9.0-rc.3 的 Windows 包与 macOS 包分别携带 rc.3 npm 与对应平台 Desktop 两套 UI 兼容基线,并记录目标平台、变体、完整版本和全部原始摘要。匹配时启用上方入口及 BS 运行状态;npm/Desktop 混用、未知或不同字节的 Desktop 构建保持原生回退。Windows Desktop 的实际界面与持久化验收仍为 `NOT_RUN`,不能以字节夹具、包级或策略级测试代替。
|
|
117
127
|
|
|
118
|
-
单包已实测升级、停用、卸载和重新安装,重启后原生 UI 可恢复,profile patch 摘要保持不变。最终 Windows CI 与安装字节核对通过;发布后下载字节核对结果另记于[单包验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
128
|
+
单包已实测升级、停用、卸载和重新安装,重启后原生 UI 可恢复,profile patch 摘要保持不变。最终 Windows CI 与安装字节核对通过;发布后下载字节核对结果另记于[单包验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/windows-single-package-check-20261111.md)。
|
|
119
129
|
|
|
120
|
-
此前 m2.5 修复安装在 D 盘一个合成任务中完成 GD-C1-344 生成和预览,`professionalReviewStatus=PENDING`,检索依据是合成夹具而非真实规范。详见[安装与状态边界](docs/windows-install.md)、[历史业务记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
130
|
+
此前 m2.5 修复安装在 D 盘一个合成任务中完成 GD-C1-344 生成和预览,`professionalReviewStatus=PENDING`,检索依据是合成夹具而非真实规范。详见[安装与状态边界](docs/windows-install.md)、[历史业务记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/windows-business-check-20261111.md)。
|
|
121
131
|
|
|
122
132
|
历史分体 UI 层仅用于内部测试机,已由主 Agent 用备份工具移除并归档到 profile 外;普通安装无需额外清理。发现他人手工层或未知配置时保留现场,由维护者迁移。
|
|
123
133
|
|
|
@@ -132,7 +142,7 @@ gh release download v0.1.0-alpha.3-m2.6 --repo jdbsh-AI/bs-engineering-suite \
|
|
|
132
142
|
--pattern 'bs-engineering-suite-0.1.0-alpha.3-m2.6-macos-arm64.tgz' --dir ./bs-suite-download
|
|
133
143
|
```
|
|
134
144
|
|
|
135
|
-
原版 macOS 宿主未提供可选的顶部导航和运行条扩展插槽时,继续使用既有原生侧栏回退入口和原生运行条;不修改宿主源码或全局安装。3090 现有隔离 UI 扩展和 Profile 未被本轮发布验证改动。此限制与本轮资料目录及原生文件预览的使用无关,详见[macOS 验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
145
|
+
原版 macOS 宿主未提供可选的顶部导航和运行条扩展插槽时,继续使用既有原生侧栏回退入口和原生运行条;不修改宿主源码或全局安装。3090 现有隔离 UI 扩展和 Profile 未被本轮发布验证改动。此限制与本轮资料目录及原生文件预览的使用无关,详见[macOS 验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/macos-m26-release-check-20261112.md)。
|
|
136
146
|
|
|
137
147
|
### macOS arm64:m2.5 回滚
|
|
138
148
|
|
|
@@ -161,21 +171,21 @@ pnpm build
|
|
|
161
171
|
pnpm test:build
|
|
162
172
|
```
|
|
163
173
|
|
|
164
|
-
Windows x64 原生构建和打包在相应构建环境中执行 `pnpm build:native:windows`、`pnpm pack:windows`、`pnpm verify:windows`,再运行 `pnpm test`。用户安装已发布资产无需这些工具或步骤;维护者流程见 [Windows 构建说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
174
|
+
Windows x64 原生构建和打包在相应构建环境中执行 `pnpm build:native:windows`、`pnpm pack:windows`、`pnpm verify:windows`,再运行 `pnpm test`。用户安装已发布资产无需这些工具或步骤;维护者流程见 [Windows 构建说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/windows-build.md)。
|
|
165
175
|
|
|
166
176
|
普通构建重新编译各模块 Host 和 Client。本次 rc.4 迁移已用官方 `0.2.2-rc.4` Typert generator / protocol 重生成并核收 EDP、D03、RAG、OAG 与 Workbench 的生成桥;普通构建只按固定清单核验完整字节和 SHA256,不在合并时重生成全局 SDK 声明图。Workbench 继续由固定官方生成器重生成其 Host/Remote。需要开发 EDP 协议时,`sdk:source` 可下载固定官方 `dsh-v0.2.2-rc.4` 源码到被 Git 忽略的 `.cache/deepseek-harness`,或以 `DSH_TARGET_SOURCE` 指定同版本只读源码;协议变更必须单独重生成并审核清单,不属于普通打包。
|
|
167
177
|
|
|
168
178
|
macOS 原生确认载体在包内保留,构建时校验既有签名与摘要;需要重新编译时使用 EDP 的 `build:native-confirm`。OAG 平台构建脚本在 `packages/oag/scripts/`。
|
|
169
179
|
|
|
170
|
-
历史 m2.6 Windows 交付物路径为 `artifacts/win32-x64/bs-engineering-suite-0.1.0-alpha.3-m2.6-win32-x64.tgz`;`package-receipt.json` 由构建记录字节、SHA256 和内嵌模块,UI 副本清单在包内 `ui-compat/receipt.json`。最终资产摘要、CI 与实机覆盖范围见 [单包验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
180
|
+
历史 m2.6 Windows 交付物路径为 `artifacts/win32-x64/bs-engineering-suite-0.1.0-alpha.3-m2.6-win32-x64.tgz`;`package-receipt.json` 由构建记录字节、SHA256 和内嵌模块,UI 副本清单在包内 `ui-compat/receipt.json`。最终资产摘要、CI 与实机覆盖范围见 [单包验证记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/windows-single-package-check-20261111.md)。源码仓不含项目数据、凭据、会话、原始日志或 node_modules。
|
|
171
181
|
|
|
172
|
-
`test:compat` 覆盖统一依赖、策略与权限、当前客户端导航及 Office 离线解析;功能检查与发布包回执分别核验,不依赖旧独立插件的发布记录。执行范围与侧栏基线输入见[套件测试说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
182
|
+
`test:compat` 覆盖统一依赖、策略与权限、当前客户端导航及 Office 离线解析;功能检查与发布包回执分别核验,不依赖旧独立插件的发布记录。执行范围与侧栏基线输入见[套件测试说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/suite-test-contracts.md)。
|
|
173
183
|
|
|
174
|
-
`verify:package` 同时检查归档中的 Host、Typert、D03 条件导出及本地导入文件。发布前还须对同一归档运行 `test:installed --runtime <DSH安装目录> --artifact <tgz绝对路径> --output <报告目录>`:它在临时 Web Profile 中通过真实安装、Loader 和 Gateway 核对九条严格定义、停启/进程重启、原生模型目录及确认流的拒绝路径,并清理该临时 Profile。当前 Web/CLI 宿主固定为 `0.2.2-rc.4`,不调用模型。静态包校验不替代此运行检查,详见 [Host 贡献与安装回归](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
184
|
+
`verify:package` 同时检查归档中的 Host、Typert、D03 条件导出及本地导入文件。发布前还须对同一归档运行 `test:installed --runtime <DSH安装目录> --artifact <tgz绝对路径> --output <报告目录>`:它在临时 Web Profile 中通过真实安装、Loader 和 Gateway 核对九条严格定义、停启/进程重启、原生模型目录及确认流的拒绝路径,并清理该临时 Profile。当前 Web/CLI 宿主固定为 `0.2.2-rc.4`,不调用模型。静态包校验不替代此运行检查,详见 [Host 贡献与安装回归](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/development/typert-host-contribution.md)。
|
|
175
185
|
|
|
176
186
|
## 来源与许可
|
|
177
187
|
|
|
178
|
-
整合基线为 EDP `0.4.8-local.1`、RAG `0.1.2`、OAG `0.2.3`、Workbench `0.2.5`、Office Preview `0.1.1` 的 DSH 0.2.1 适配版本;Workbench 入口调整后为 `0.2.6`。DSH 0.2.2-rc.1 适配将套件版本推进到 `0.1.0-alpha.3-m2.5`(子包 EDP `0.4.9-m2.5`、RAG `0.1.3-m2.5`、OAG `0.2.4-m2.5`、Workbench `0.2.7-m2.5`、Office Preview `0.1.2-m2.5`);m2.6 是 Windows 单包发布版本,m2.7 加入工作区选择器和诊断支持,m2.8 将套件依赖、Typert 与客户端统一适配到 DSH `0.2.2-rc.2`,m2.9 增加 macOS/Windows npm rc.2 UI 兼容副本,m2.10 将业务依赖、Typert 与双平台 npm/Desktop UI 字节升级到 DSH `0.2.2-rc.3`,rc.
|
|
188
|
+
整合基线为 EDP `0.4.8-local.1`、RAG `0.1.2`、OAG `0.2.3`、Workbench `0.2.5`、Office Preview `0.1.1` 的 DSH 0.2.1 适配版本;Workbench 入口调整后为 `0.2.6`。DSH 0.2.2-rc.1 适配将套件版本推进到 `0.1.0-alpha.3-m2.5`(子包 EDP `0.4.9-m2.5`、RAG `0.1.3-m2.5`、OAG `0.2.4-m2.5`、Workbench `0.2.7-m2.5`、Office Preview `0.1.2-m2.5`);m2.6 是 Windows 单包发布版本,m2.7 加入工作区选择器和诊断支持,m2.8 将套件依赖、Typert 与客户端统一适配到 DSH `0.2.2-rc.2`,m2.9 增加 macOS/Windows npm rc.2 UI 兼容副本,m2.10 将业务依赖、Typert 与双平台 npm/Desktop UI 字节升级到 DSH `0.2.2-rc.3`,rc.14 再将 Web/CLI cohort 与 Typert 推进到 `0.2.2-rc.4` 并保持 Desktop rc.3 精确字节,不改写既有 M2 验收历史。四个历史远端是 `dsh-engineering-edp-plugin`、`dsh-engineering-rag-plugin`、`dsh-engineering-oag-plugin`、`dsh-sidebar-office-preview`。Workbench 来源是本地 EDP 开发目录内的独立子包,未确认独立历史远端。
|
|
179
189
|
|
|
180
190
|
统一维护仓库:`jdbsh-AI/bs-engineering-suite`。历史仓库保留,后续本套件的源码、问题与发布以本仓为入口。许可为 MIT,各模块原版权及第三方许可见 `NOTICE.md` 和 `packages/` 下的许可文件。
|
|
181
191
|
|
|
@@ -185,10 +195,10 @@ macOS 原生确认载体在包内保留,构建时校验既有签名与摘要
|
|
|
185
195
|
|
|
186
196
|
## 历史阶段记录
|
|
187
197
|
|
|
188
|
-
M1.5 已按项目负责人 2026-10-22 决定正式收口,旧失败证据保留。M2 已于 2026-10-23 完成独立验收、正式核收并冻结,Excel 官方预览和 Word 回归已交付;M3 尚未启动。阶段历史见 [M1.5交接](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
198
|
+
M1.5 已按项目负责人 2026-10-22 决定正式收口,旧失败证据保留。M2 已于 2026-10-23 完成独立验收、正式核收并冻结,Excel 官方预览和 Word 回归已交付;M3 尚未启动。阶段历史见 [M1.5交接](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/project/M15-closure-and-M2-handover-20261022.md),当时交付见 [M2说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/project/M2-accepted-release-20261023.md)。四个历史仓库已只读归档,后续维护以本仓为唯一入口。
|
|
189
199
|
|
|
190
200
|
## 模板与配套语义
|
|
191
201
|
|
|
192
202
|
新增统一模板包:Excel、RDF、SHACL、字段映射和规范来源一起安装;任务按所选模板固定语义修订。插件内支持修改、补充依据文件及导出派生版本。
|
|
193
203
|
|
|
194
|
-
当前使用方式见 [模板包安装与使用说明](docs/content-packs/TEMPLATE_PACKAGE_GUIDE.md)。历史作者资料见 [旧版维护者指南](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
204
|
+
当前使用方式见 [模板包安装与使用说明](docs/content-packs/TEMPLATE_PACKAGE_GUIDE.md)。历史作者资料见 [旧版维护者指南](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/content-packs/USER_GUIDE.md),接口与隔离方式见 [架构说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/content-packs/ARCHITECTURE.md)。该入口形成技术候选,专业规则、实际Office应用和桌面验收分别记录。
|
package/cordis.patch.yml
CHANGED
|
@@ -60,9 +60,11 @@
|
|
|
60
60
|
name: "@deepseek-ai/dsh-agent-preset"
|
|
61
61
|
config:
|
|
62
62
|
id: buildseek-engineering-documents
|
|
63
|
-
name:
|
|
63
|
+
name: 工程资料
|
|
64
64
|
description: 原生对话整理材料与事实,明确生成指令后生成可编辑候选资料;不自动批准或正式放行。
|
|
65
65
|
plugins:
|
|
66
|
+
- id: tool-executor-native
|
|
67
|
+
name: '@deepseek-ai/dsh-tool-executor-native'
|
|
66
68
|
- id: engineering-workbench-agent
|
|
67
69
|
name: "@buildseek/harness-engineering-document-plugin/agent"
|
|
68
70
|
- id: engineering-project-tools
|
|
@@ -73,6 +75,90 @@
|
|
|
73
75
|
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
74
76
|
- id: tool-present
|
|
75
77
|
name: '@deepseek-ai/dsh-tool-present'
|
|
78
|
+
- id: time-context
|
|
79
|
+
name: '@deepseek-ai/dsh-time-context'
|
|
80
|
+
- id: tool-web
|
|
81
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
82
|
+
config:
|
|
83
|
+
fetch: true
|
|
84
|
+
searchTimeoutMs: 60000
|
|
85
|
+
- id: tool-fs
|
|
86
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
87
|
+
config:
|
|
88
|
+
read: true
|
|
89
|
+
readImage: true
|
|
90
|
+
write: false
|
|
91
|
+
edit: false
|
|
92
|
+
applyPatch: false
|
|
93
|
+
- id: tool-skill
|
|
94
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
95
|
+
- id: tool-office
|
|
96
|
+
name: '@deepseek-ai/dsh-tool-office'
|
|
97
|
+
- id: tool-todo
|
|
98
|
+
name: '@deepseek-ai/dsh-tool-todo'
|
|
99
|
+
config:
|
|
100
|
+
allowParallelInProgress: false
|
|
101
|
+
- id: planning
|
|
102
|
+
name: cordis:group
|
|
103
|
+
group: true
|
|
104
|
+
isolate:
|
|
105
|
+
planMode: true
|
|
106
|
+
config:
|
|
107
|
+
- id: plan-mode
|
|
108
|
+
name: '@deepseek-ai/dsh-plan-mode'
|
|
109
|
+
config:
|
|
110
|
+
section: |
|
|
111
|
+
当前处于计划模式。可以读取用户授权的资料、澄清缺项并拟定方案。暂不修改工程文件、生成资料、操作网页或管理插件。方案完成后通过 exit_plan_mode 提交用户审阅。
|
|
112
|
+
- id: tool-subagent
|
|
113
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
114
|
+
config:
|
|
115
|
+
provider: spawn
|
|
116
|
+
toolName: subagent
|
|
117
|
+
agentPreset: buildseek-engineering-documents
|
|
118
|
+
- id: project-session-history
|
|
119
|
+
name: cordis:group
|
|
120
|
+
group: true
|
|
121
|
+
isolate:
|
|
122
|
+
sessionQuery: true
|
|
123
|
+
config:
|
|
124
|
+
- id: session-query-sqlite
|
|
125
|
+
name: '@deepseek-ai/dsh-session-query-sqlite'
|
|
126
|
+
config:
|
|
127
|
+
path: ':memory:'
|
|
128
|
+
openAt: first-search
|
|
129
|
+
- id: tool-session-query
|
|
130
|
+
name: '@deepseek-ai/dsh-tool-session-query'
|
|
131
|
+
- id: tool-plugin-manager
|
|
132
|
+
name: '@deepseek-ai/dsh-plugin-manager/tools'
|
|
133
|
+
disabled: !!js "!ctx.get('profileContext')"
|
|
134
|
+
# Resource tools are supplied by DSH when an MCP provider registers
|
|
135
|
+
# resources in this scope. Use the user's own MCP connections.
|
|
136
|
+
- id: optional-stagehand
|
|
137
|
+
name: cordis:group
|
|
138
|
+
group: true
|
|
139
|
+
disabled: !!js >-
|
|
140
|
+
(() => {
|
|
141
|
+
if (!process.env.DSH_STAGEHAND_MODEL || !process.env.DSH_STAGEHAND_MODEL_API_KEY) return true
|
|
142
|
+
const require = process.getBuiltinModule('node:module').createRequire(baseUrl)
|
|
143
|
+
try {
|
|
144
|
+
require.resolve('@deepseek-ai/dsh-browser-use')
|
|
145
|
+
require.resolve('@deepseek-ai/dsh-experimental-browser-use-stagehand-native')
|
|
146
|
+
return false
|
|
147
|
+
} catch { return true }
|
|
148
|
+
})()
|
|
149
|
+
isolate:
|
|
150
|
+
browserUse: true
|
|
151
|
+
config:
|
|
152
|
+
- id: browser-use
|
|
153
|
+
name: '@deepseek-ai/dsh-browser-use'
|
|
154
|
+
- id: stagehand-native
|
|
155
|
+
name: '@deepseek-ai/dsh-experimental-browser-use-stagehand-native'
|
|
156
|
+
config:
|
|
157
|
+
mode: launch
|
|
158
|
+
headless: true
|
|
159
|
+
model:
|
|
160
|
+
modelName: !!js process.env.DSH_STAGEHAND_MODEL
|
|
161
|
+
apiKey: !!js process.env.DSH_STAGEHAND_MODEL_API_KEY
|
|
76
162
|
- id: buildseek-rag
|
|
77
163
|
name: "@buildseek/harness-rag-plugin"
|
|
78
164
|
config:
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
|
|
13
13
|
已安装版本可通过卡片的「更新」按钮安装兼容新版。工程和历史任务的固定引用按各自版本保留。安装和更新资料包不调用模型。内容库由同一 DSH Home 下的 Profile 共用,在线任务进度按 Profile 保存。
|
|
14
14
|
|
|
15
|
-
原 COS 接入和备用来源的维护细节见 [历史接入记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
15
|
+
原 COS 接入和备用来源的维护细节见 [历史接入记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/content-packs/COS_SOURCE.md)。
|
package/docs/windows-install.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Windows x64 安装 BS 工程资料系统
|
|
2
2
|
|
|
3
|
-
当前指南对应 BS `2.9.0-rc.
|
|
3
|
+
当前指南对应 BS `2.9.0-rc.15` 通用安装包。DSH Web/CLI 目标为 `0.2.2-rc.4`;官方 Desktop feed 尚未发布 rc.4,Desktop UI 继续使用 `0.2.2-rc.3` 精确字节。DSH 实际运行的 Node 须为 `24.9.0` 或更高版本,并具备内置 SQLite 和 FTS5。Windows 原生 `.node`、rc.4 Desktop 和实机界面的 rc.14 验收为 `NOT_RUN`。
|
|
4
4
|
|
|
5
5
|
## 在 DSH 插件页安装
|
|
6
6
|
|
|
7
|
-
1.
|
|
8
|
-
2. 使用文件安装时,从 [已发布的 rc.
|
|
9
|
-
3. 将安装文件的本地绝对路径填入安装源,无需解压。例如 `D:\下载\BS 安装包\bs-engineering-suite-2.9.0-rc.
|
|
7
|
+
1. 在 DSH rc.4 的「插件」页输入 `bs-engineering-suite@next` 安装,或指定 `bs-engineering-suite@2.9.0-rc.15`。默认 `latest` 为 rc.12,当前 rc.3 Desktop 会拒绝安装 rc.15。
|
|
8
|
+
2. 使用文件安装时,从 [已发布的 rc.15 Release](https://github.com/jdbsh-AI/bs-engineering-suite/releases/tag/bs-v2.9.0-rc.15) 下载 `bs-engineering-suite-2.9.0-rc.15.tgz`。已发布通用包覆盖 Windows x64 与 macOS arm64。GitHub 下载需要仓库读取权限。使用本地候选时,先在随附回执确认其为 Windows x64 安装包或通用安装包。
|
|
9
|
+
3. 将安装文件的本地绝对路径填入安装源,无需解压。例如 `D:\下载\BS 安装包\bs-engineering-suite-2.9.0-rc.15.tgz`。Release 的源码 ZIP/TAR 供维护者构建使用。
|
|
10
10
|
4. 按宿主提示重启。在「插件 → BS工程资料系统」核对版本和模块状态。
|
|
11
11
|
5. 在插件详情安装所需的 [模板包](content-packs/TEMPLATE_PACKAGE_GUIDE.md) 和 [RAG 资料包](rag-packs/library.md)。再按 [Windows 使用说明](windows-usage.md)在本机建立或打开工程。
|
|
12
12
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
已配置 DSH CLI 的维护者也可运行以下命令。其中 `desktop` 替换为实际的 Profile 名称。
|
|
20
20
|
|
|
21
21
|
```powershell
|
|
22
|
-
dsh plugin --profile desktop add 'D:\下载\BS 安装包\bs-engineering-suite-2.9.0-rc.
|
|
22
|
+
dsh plugin --profile desktop add 'D:\下载\BS 安装包\bs-engineering-suite-2.9.0-rc.15.tgz' --ignore-scripts
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
停用或卸载通过 DSH 的「插件」页操作。工程资料、既有绑定和成果应按各自的本机存储位置保留。
|
package/docs/windows-usage.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Windows 使用:从本地工程到候选成果
|
|
2
2
|
|
|
3
|
-
本指南对应 BS `2.9.0-rc.
|
|
3
|
+
本指南对应 BS `2.9.0-rc.15`。DSH Web/CLI 目标为 `0.2.2-rc.4`;官方 Desktop feed 尚未发布 rc.4,因此 Desktop UI 兼容基线仍为 `0.2.2-rc.3`。[安装说明](windows-install.md)包含当前通用包的取得方式、宿主要求和历史 Windows 实机记录。
|
|
4
4
|
|
|
5
5
|
## 安装包并进入工程
|
|
6
6
|
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
|
|
28
28
|
## 验证范围
|
|
29
29
|
|
|
30
|
-
当前 rc.13 的 Windows 原生 `.node`、rc.4 Desktop 和实机界面为 `NOT_RUN`。此前 Windows 11 的目录、检索、分页和预览检查见 [历史资料阅览台实机记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.
|
|
30
|
+
当前 rc.13 的 Windows 原生 `.node`、rc.4 Desktop 和实机界面为 `NOT_RUN`。此前 Windows 11 的目录、检索、分页和预览检查见 [历史资料阅览台实机记录](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.15/docs/windows-document-library-check-20261112.md)。宿主和安装版本见 [安装说明的历史记录](windows-install.md#历史-windows-实机记录)。
|
|
@@ -1046,7 +1046,7 @@ function environment() {
|
|
|
1046
1046
|
browser: ua.includes("Edg/") ? "Edge" : ua.includes("Chrome/") ? "Chrome" : ua.includes("Firefox/") ? "Firefox" : ua.includes("Safari/") ? "Safari" : "Other",
|
|
1047
1047
|
browserMajor: Number(match?.[1] ?? 0),
|
|
1048
1048
|
...surfaceState(),
|
|
1049
|
-
bsClientVersion: "2.9.0-rc.
|
|
1049
|
+
bsClientVersion: "2.9.0-rc.15",
|
|
1050
1050
|
viewportWidth: innerWidth,
|
|
1051
1051
|
viewportHeight: innerHeight,
|
|
1052
1052
|
dpr: devicePixelRatio,
|
|
@@ -1135,8 +1135,8 @@ function createRecorder() {
|
|
|
1135
1135
|
}, fallback() {
|
|
1136
1136
|
const files = makeBundle(
|
|
1137
1137
|
history.filter((row) => Date.parse(row.timestamp) >= Date.now() - 72 * 36e5).map((row) => ({ ...row, ...projectEvent(row, alias) })),
|
|
1138
|
-
{ browser: environment(), bsVersion: "2.9.0-rc.
|
|
1139
|
-
{ version: "2.9.0-rc.
|
|
1138
|
+
{ browser: environment(), bsVersion: "2.9.0-rc.15" },
|
|
1139
|
+
{ version: "2.9.0-rc.15", createdAt: (/* @__PURE__ */ new Date()).toISOString(), retentionHours: 72, complete: false, coverage: { host: false, client: true, persistentStorage: false }, losses: { hostUnavailable: true, browserMemoryOnly: true, browserHistoryDropped: historyLost, browserQueueDropped: queueLost } }
|
|
1140
1140
|
);
|
|
1141
1141
|
return new Blob([zipSync(Object.fromEntries(Object.entries(files).map(([name, text]) => [name, strToU8(text)])))], { type: "application/zip" });
|
|
1142
1142
|
} };
|
|
@@ -1167,7 +1167,7 @@ function DownloadDiagnostics({ recorder }) {
|
|
|
1167
1167
|
controller.signal.throwIfAborted();
|
|
1168
1168
|
const url = URL.createObjectURL(blob), link = document.createElement("a");
|
|
1169
1169
|
link.href = url;
|
|
1170
|
-
link.download = `bs-diagnostics-${"2.9.0-rc.
|
|
1170
|
+
link.download = `bs-diagnostics-${"2.9.0-rc.15"}-${(/* @__PURE__ */ new Date()).toISOString().replace(/[-:]/g, "").replace(/\.\d+Z$/, "Z")}.zip`;
|
|
1171
1171
|
document.body.appendChild(link);
|
|
1172
1172
|
link.click();
|
|
1173
1173
|
link.remove();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION="2.9.0-rc.
|
|
1
|
+
export const VERSION="2.9.0-rc.15"
|
|
@@ -42770,7 +42770,7 @@ function EngineeringWorkbenchView(props) {
|
|
|
42770
42770
|
},
|
|
42771
42771
|
/* @__PURE__ */ import_react6.default.createElement("div", { className: "edp-wb-section-heading" }, /* @__PURE__ */ import_react6.default.createElement("h3", null, category.label), /* @__PURE__ */ import_react6.default.createElement("p", null, category.description)),
|
|
42772
42772
|
view.category === "overview" ? /* @__PURE__ */ import_react6.default.createElement("section", { className: "edp-wb-readiness", "aria-label": "\u5DE5\u4F5C\u53F0\u5C31\u7EEA\u6761\u4EF6", "aria-busy": props.busy }, /* @__PURE__ */ import_react6.default.createElement("div", { className: "edp-wb-readiness-heading" }, /* @__PURE__ */ import_react6.default.createElement("strong", null, "\u5C31\u7EEA\u72B6\u6001"), /* @__PURE__ */ import_react6.default.createElement(Status, { state: props.readiness.state })), props.readiness.items.length ? /* @__PURE__ */ import_react6.default.createElement("ul", null, props.readiness.items.map((item) => /* @__PURE__ */ import_react6.default.createElement("li", { key: item.id }, /* @__PURE__ */ import_react6.default.createElement("div", null, /* @__PURE__ */ import_react6.default.createElement("span", null, item.label), item.detail ? /* @__PURE__ */ import_react6.default.createElement("p", null, item.detail) : null), /* @__PURE__ */ import_react6.default.createElement(Status, { state: item.state })))) : /* @__PURE__ */ import_react6.default.createElement("p", { className: "edp-wb-note" }, "\u5C1A\u65E0\u5C31\u7EEA\u68C0\u67E5\u8BB0\u5F55\uFF0C\u4E0D\u80FD\u636E\u6B64\u8BA4\u5B9A\u53EF\u751F\u6210\u3002")) : null,
|
|
42773
|
-
!props.project?.sessionId ? /* @__PURE__ */ import_react6.default.createElement("section", { className: "edp-wb-empty" }, /* @__PURE__ */ import_react6.default.createElement("h3", null, "\u4ECE\u539F\u751F\u4F1A\u8BDD\u5F00\u59CB"), /* @__PURE__ */ import_react6.default.createElement("p", null, "\u5148\u901A\u8FC7\u539F\u751F\u5DE5\u4F5C\u533A\u6D41\u7A0B\u9009\u62E9\u76EE\u5F55\uFF0C\u518D\u4F7F\u7528\u201C\u5DE5\u7A0B\u8D44\u6599\
|
|
42773
|
+
!props.project?.sessionId ? /* @__PURE__ */ import_react6.default.createElement("section", { className: "edp-wb-empty" }, /* @__PURE__ */ import_react6.default.createElement("h3", null, "\u4ECE\u539F\u751F\u4F1A\u8BDD\u5F00\u59CB"), /* @__PURE__ */ import_react6.default.createElement("p", null, "\u5148\u901A\u8FC7\u539F\u751F\u5DE5\u4F5C\u533A\u6D41\u7A0B\u9009\u62E9\u76EE\u5F55\uFF0C\u518D\u4F7F\u7528\u201C\u5DE5\u7A0B\u8D44\u6599\u201D\u5165\u53E3\u8FDB\u5165\u5DE5\u7A0B\u6A21\u5F0F\u3002\u5DF2\u6709\u8F93\u5165\u4E0E\u5BF9\u8BDD\u4FDD\u7559\u5728\u539F\u4F1A\u8BDD\u4E2D\u3002")) : rows.length === 0 ? /* @__PURE__ */ import_react6.default.createElement("section", { className: "edp-wb-empty" }, /* @__PURE__ */ import_react6.default.createElement("h3", null, "\u6682\u65E0", category.label, "\u8BB0\u5F55"), /* @__PURE__ */ import_react6.default.createElement("p", null, "\u8BF7\u5728\u539F\u751F\u4F1A\u8BDD\u8F93\u5165\u6216\u9009\u62E9\u6750\u6599\uFF1B\u53EA\u663E\u793A\u5DF2\u8BFB\u53D6\u7684\u8BB0\u5F55\uFF0C\u4E0D\u4F1A\u81EA\u52A8\u521B\u5EFA\u751F\u6210\u4EFB\u52A1\u3002")) : rows.map((row) => /* @__PURE__ */ import_react6.default.createElement(
|
|
42774
42774
|
"button",
|
|
42775
42775
|
{
|
|
42776
42776
|
className: "edp-wb-row",
|
|
@@ -43581,7 +43581,7 @@ function projectEngineeringMode(controller, register) {
|
|
|
43581
43581
|
};
|
|
43582
43582
|
}
|
|
43583
43583
|
function EngineeringModeLabel() {
|
|
43584
|
-
return /* @__PURE__ */ import_react8.default.createElement("span", { className: "edp-input-readout" }, "\u5DE5\u7A0B\u8D44\u6599\
|
|
43584
|
+
return /* @__PURE__ */ import_react8.default.createElement("span", { className: "edp-input-readout" }, "\u5DE5\u7A0B\u8D44\u6599\u6A21\u5F0F");
|
|
43585
43585
|
}
|
|
43586
43586
|
|
|
43587
43587
|
// src/client/public-sidebar.tsx
|
|
@@ -50,7 +50,21 @@ export class ContentPacksService extends Service {
|
|
|
50
50
|
}
|
|
51
51
|
projectGenerateTask = (id, template, values) => this.generateTask(id, template, values, undefined, undefined, true);
|
|
52
52
|
projectPrepare = (root, id, demand, facts, session, check) => projectPrepare(this, root, id, demand, facts, session, check);
|
|
53
|
-
projectGenerate
|
|
53
|
+
async projectGenerate(root, id, task, answers, session, signal, check) {
|
|
54
|
+
signal.throwIfAborted();
|
|
55
|
+
const documents = this.ctx.get('buildseekEngineeringDocuments', false);
|
|
56
|
+
if (!documents)
|
|
57
|
+
throw Error('EDP_EXPLICIT_NATIVE_INTENT_REQUIRED');
|
|
58
|
+
const intent = await documents.requireProjectGenerationIntent(session);
|
|
59
|
+
const checkGeneration = async () => {
|
|
60
|
+
signal.throwIfAborted();
|
|
61
|
+
await check?.();
|
|
62
|
+
if (await documents.requireProjectGenerationIntent(session) !== intent) {
|
|
63
|
+
throw Error('EDP_EXPLICIT_NATIVE_INTENT_REQUIRED');
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
return projectGenerate(this, root, id, task, answers, session, signal, checkGeneration);
|
|
67
|
+
}
|
|
54
68
|
repository;
|
|
55
69
|
taskState;
|
|
56
70
|
onlineInstance;
|
package/node_modules/@buildseek/harness-engineering-document-plugin/lib/project-content-flow.js
CHANGED
|
@@ -174,6 +174,7 @@ export async function projectGenerate(service, root, projectId, taskId, answers,
|
|
|
174
174
|
};
|
|
175
175
|
return { ok: false, code: 'GAP_MISSING', message: '请先补齐必填信息。', gapsRequired: gaps, corrections: [] };
|
|
176
176
|
}
|
|
177
|
+
await check();
|
|
177
178
|
signal.throwIfAborted();
|
|
178
179
|
const result = await service.projectGenerateTask(taskId, task.templateId, values);
|
|
179
180
|
signal.throwIfAborted();
|
package/node_modules/@buildseek/harness-engineering-document-plugin/lib/project-data/application.js
CHANGED
|
@@ -210,7 +210,7 @@ function buildCorrectionQuantity(toValue, explicitUnit, existing) {
|
|
|
210
210
|
}
|
|
211
211
|
export const Command = z.discriminatedUnion('method', [
|
|
212
212
|
...documentLibraryCommands,
|
|
213
|
-
z.object({ method: z.literal('projectSetup'), action: z.enum(['status', 'save', 'start', 'append', 'complete', 'cancel', 'category', 'read', 'artifacts', 'preview', 'closePreview']), projectId: Id, bindingRevision: z.number().int().positive(), input: z.record(z.string(), z.unknown()).optional() }).strict(),
|
|
213
|
+
z.object({ method: z.literal('projectSetup'), action: z.enum(['status', 'save', 'start', 'append', 'complete', 'cancel', 'category', 'unbind', 'read', 'artifacts', 'preview', 'closePreview']), projectId: Id, bindingRevision: z.number().int().positive(), input: z.record(z.string(), z.unknown()).optional() }).strict(),
|
|
214
214
|
z.object({ method: z.literal('connect') }).strict(),
|
|
215
215
|
z.object({ method: z.literal('exportFullBefore') }).strict(),
|
|
216
216
|
z.object({ method: z.literal('restoreFullBefore'), sourceRelativePath: z.string().min(1).max(4096), manifestSHA256: Sha }).strict(),
|
|
@@ -7,7 +7,7 @@ export async function projectSetupCommand(binding, command, packages, check, sig
|
|
|
7
7
|
const input = command.input ?? {};
|
|
8
8
|
if (!input || typeof input !== 'object' || Array.isArray(input))
|
|
9
9
|
fail('INPUT_INVALID');
|
|
10
|
-
const allowed = { status: [], save: ['revision', 'template', 'rag'], start: ['name', 'bytes', 'category'], append: ['id', 'offset', 'base64'], complete: ['id'], cancel: ['id'], category: ['id', 'category'], read: ['id', 'offset', 'limit', 'sheet'], artifacts: [], preview: ['id'], closePreview: ['id'] };
|
|
10
|
+
const allowed = { status: [], save: ['revision', 'template', 'rag'], start: ['name', 'bytes', 'category'], append: ['id', 'offset', 'base64'], complete: ['id'], cancel: ['id'], category: ['id', 'category'], unbind: ['id'], read: ['id', 'offset', 'limit', 'sheet'], artifacts: [], preview: ['id'], closePreview: ['id'] };
|
|
11
11
|
if (!allowed[command.action] || Object.keys(input).some(k => !allowed[command.action].includes(k)))
|
|
12
12
|
fail('INPUT_INVALID');
|
|
13
13
|
return projectLock(binding.root, async () => {
|
|
@@ -51,6 +51,10 @@ export async function projectSetupCommand(binding, command, packages, check, sig
|
|
|
51
51
|
await files.category(input.id, input.category);
|
|
52
52
|
return files.state();
|
|
53
53
|
}
|
|
54
|
+
if (command.action === 'unbind') {
|
|
55
|
+
await files.unbind(input.id);
|
|
56
|
+
return files.state();
|
|
57
|
+
}
|
|
54
58
|
if (command.action === 'read') {
|
|
55
59
|
const { row, handle } = await files.open(input.id);
|
|
56
60
|
try {
|
|
@@ -5,7 +5,7 @@ import { Service } from '@deepseek-ai/cordis';
|
|
|
5
5
|
import { resolveConfig, } from './config.js';
|
|
6
6
|
import { EngineeringDocumentOrchestrator } from './orchestrator.js';
|
|
7
7
|
import { OagActiveIdentitySchema, OagRegistrySnapshotSchema } from './schemas.js';
|
|
8
|
-
import { WorkbenchApplication } from './workbench/application.js';
|
|
8
|
+
import { nativeIntent, WorkbenchApplication } from './workbench/application.js';
|
|
9
9
|
import { ENGINEERING_PRESET, NativeWorkbench, WORKBENCH_SCOPES } from './workbench/native.js';
|
|
10
10
|
import { EDP_HOST_CONTRACT, EDP_PLUGIN_VERSION } from './identity.js';
|
|
11
11
|
import { workbenchError } from './workbench/storage.js';
|
|
@@ -325,6 +325,18 @@ export class EngineeringDocumentService extends Service {
|
|
|
325
325
|
const envelope = edpEnvelope(snapshot, `agent-correction-${randomUUID()}`);
|
|
326
326
|
return this.edpCall(sessionId, { method: 'requestCorrection', envelope, artifactId: request.artifactId, proposals: request.proposals }, signal);
|
|
327
327
|
}
|
|
328
|
+
/** Host-only authorization for the project-template path. The Agent supplies no command text. */
|
|
329
|
+
async requireProjectGenerationIntent(sessionId) {
|
|
330
|
+
this.assertReady();
|
|
331
|
+
const event = await this.native.currentDialogueEvent(sessionId);
|
|
332
|
+
const blocks = event?.data.content;
|
|
333
|
+
if (!event || !Array.isArray(blocks) ||
|
|
334
|
+
!blocks.every(block => block?.type === 'text' && typeof block.text === 'string') ||
|
|
335
|
+
!nativeIntent(blocks.map(block => block.text).join('\n'))) {
|
|
336
|
+
workbenchError('EDP_EXPLICIT_NATIVE_INTENT_REQUIRED');
|
|
337
|
+
}
|
|
338
|
+
return event.seq;
|
|
339
|
+
}
|
|
328
340
|
/**
|
|
329
341
|
* P4-A:Agent 生成准入——**先过原生生成门**(与工作台同一道门,不新建第二套判定),
|
|
330
342
|
* 再经公开读命令取当前冻结选择快照的 planRef,最后经公开写命令 `requestGeneration` 准入 D06 生成链。
|
package/node_modules/@buildseek/harness-engineering-document-plugin/lib/types/content-packs.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export declare class ContentPacksService extends Service {
|
|
|
135
135
|
code?: never;
|
|
136
136
|
message?: never;
|
|
137
137
|
}>;
|
|
138
|
-
projectGenerate
|
|
138
|
+
projectGenerate(root: string, id: string, task: string, answers: unknown, session: string, signal: AbortSignal, check?: () => Promise<void>): Promise<{
|
|
139
139
|
ok: boolean;
|
|
140
140
|
code: string;
|
|
141
141
|
message: string;
|
|
@@ -17,7 +17,16 @@ export type OptionalHostServices = {
|
|
|
17
17
|
sessions: {
|
|
18
18
|
get(id: unknown): {
|
|
19
19
|
header?: Loose;
|
|
20
|
+
surface?: {
|
|
21
|
+
nodes?: readonly number[];
|
|
22
|
+
};
|
|
20
23
|
} | undefined;
|
|
24
|
+
flush?(session: {
|
|
25
|
+
header?: Loose;
|
|
26
|
+
surface?: {
|
|
27
|
+
nodes?: readonly number[];
|
|
28
|
+
};
|
|
29
|
+
}): Promise<boolean>;
|
|
21
30
|
} | undefined;
|
|
22
31
|
/** `ctx.sessionPersistence`(会话持久化读取)。 */
|
|
23
32
|
sessionPersistence: {
|
|
@@ -70,6 +70,8 @@ export declare class EngineeringDocumentService extends Service {
|
|
|
70
70
|
engineeringData(sessionId: string, commandJson: string, signal: AbortSignal): Promise<string>;
|
|
71
71
|
/** P4-A:Agent 更正入口——先读公开快照取 CAS 载体,再走公开写命令 `requestCorrection`。 */
|
|
72
72
|
correctFromEngineeringAgent(sessionId: string, requestJson: string, signal: AbortSignal): Promise<string>;
|
|
73
|
+
/** Host-only authorization for the project-template path. The Agent supplies no command text. */
|
|
74
|
+
requireProjectGenerationIntent(sessionId: string): Promise<number>;
|
|
73
75
|
/**
|
|
74
76
|
* P4-A:Agent 生成准入——**先过原生生成门**(与工作台同一道门,不新建第二套判定),
|
|
75
77
|
* 再经公开读命令取当前冻结选择快照的 planRef,最后经公开写命令 `requestGeneration` 准入 D06 生成链。
|
|
@@ -170,6 +170,8 @@ export declare const WORKBENCH_DRAFT_JSON_SCHEMA: z.core.ZodStandardJSONSchemaPa
|
|
|
170
170
|
* `snapshot` 亦在列(它在路由层被语义迁移为 `connect`,此集合用于**完整性核对**与测试断言)。
|
|
171
171
|
*/
|
|
172
172
|
export declare const LEGACY_WORKBENCH_ACTIONS: readonly string[];
|
|
173
|
+
/** Accept a direct imperative; questions, conditional or negative wording need clarification. */
|
|
174
|
+
export declare const nativeIntent: (text: string) => boolean;
|
|
173
175
|
/** Shared application boundary for Client and native Agent tools. */
|
|
174
176
|
export declare class WorkbenchApplication {
|
|
175
177
|
private readonly ports;
|