bs-engineering-suite 2.9.0-rc.7 → 2.9.0-rc.8
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/README.md +5 -3
- 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-rag-plugin/data/library/national-building-2026.11-r1.json +126 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/.gitkeep +0 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-50202-2018.json +1388 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-50210-2018.json +2084 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-51004-2015.json +2380 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-51254-2017.json +868 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-55001-2021.json +428 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-55003-2021.json +632 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-55024-2022.json +784 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-55031-2022.json +516 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-55032-2022.json +276 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-55038-2025.json +436 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-T-50378-2019.json +180 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-T-51447-2021.json +2156 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/GB-T50854-2024.json +226 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/JGJ-T-496-2022.json +126 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/docauto-clause-mapping-building.json +190 -0
- package/node_modules/@buildseek/harness-rag-plugin/data/rules/national-building/manifest.json +1029 -0
- package/node_modules/@buildseek/harness-rag-plugin/dist/client.js +44 -7
- package/node_modules/@buildseek/harness-rag-plugin/lib/builtin-rules.js +56 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/core.js +36 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/index.js +13 -3
- package/node_modules/@buildseek/harness-rag-plugin/lib/rag-pack-library.js +452 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/rag-pack-source.js +116 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/remote-gateway.js +21 -1
- package/node_modules/@buildseek/harness-rag-plugin/lib/retrieval-lifecycle.js +29 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/retrieval-scope.js +6 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/retrieval-service.js +18 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/service.js +21 -4
- package/node_modules/@buildseek/harness-rag-plugin/lib/typert.host.js +58 -7
- package/node_modules/@buildseek/harness-rag-plugin/lib/typert.remote-client.d.ts +3 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/typert.remote-client.d.ts.map +1 -1
- package/node_modules/@buildseek/harness-rag-plugin/lib/typert.remote-client.js +44 -7
- package/node_modules/@buildseek/harness-rag-plugin/lib/types/builtin-rules.d.ts +34 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/types/core.d.ts +8 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/types/rag-pack-library.d.ts +108 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/types/rag-pack-source.d.ts +50 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/types/remote-gateway.d.ts +10 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/types/retrieval-scope.d.ts +2 -0
- package/node_modules/@buildseek/harness-rag-plugin/lib/types/retrieval-service.d.ts +8 -0
- package/node_modules/@buildseek/harness-rag-plugin/package.json +5 -2
- package/node_modules/@dsh-engineering/workbench/client/bundle.js +1029 -736
- package/node_modules/@dsh-engineering/workbench/client/index.d.ts +7 -3
- package/node_modules/@dsh-engineering/workbench/client/rag-library.d.ts +51 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# BS工程资料系统
|
|
2
2
|
|
|
3
|
-
> `2.9.0-rc.
|
|
3
|
+
> `2.9.0-rc.8` 通用包:右侧工程资料工作台新增 RAG 资料包在线下载与本地管理,使用 COS 匿名 HTTPS,逐层校验后接入现有检索;齿轮菜单支持启停、保留历史的卸载和受保护删除。沿用只读设置、模板0.3.3及 macOS arm64 / Windows x64 通用包,目标宿主 DSH `0.2.2-rc.3`。Windows/macOS Desktop 本功能原生实机验证为 NOT_RUN。
|
|
4
4
|
|
|
5
|
-
当前套件为 **`2.9.0-rc.
|
|
5
|
+
当前套件为 **`2.9.0-rc.8`**,目标宿主为 DSH `0.2.2-rc.3`,统一发布标签为 **`bs-v2.9.0-rc.8`**。[下载 Release](https://github.com/jdbsh-AI/bs-engineering-suite/releases/tag/bs-v2.9.0-rc.8) · **[模板包安装与使用说明](https://github.com/jdbsh-AI/bs-engineering-suite/blob/bs-v2.9.0-rc.8/docs/content-packs/TEMPLATE_PACKAGE_GUIDE.md)**。在 DSH 插件页直接输入 `bs-engineering-suite` 安装;npm 用户可运行 `npm install bs-engineering-suite`,需要固定版本时使用 `bs-engineering-suite@2.9.0-rc.8`。已从 npm 安装的用户可在插件详情的版本区更新;rc 版本需勾选“显示预发布版本”,再按宿主提示重启。
|
|
6
|
+
|
|
7
|
+
RAG 资料在右侧 **工程资料工作台 → RAG资料包 · 下载与管理** 中刷新与下载安装,详情见[RAG资料库说明](docs/rag-packs/library.md)。全国房建资料包为 `2026.11-r1`;专业、适用性及内部研究状态保持原样。
|
|
6
8
|
|
|
7
9
|
## 资料模板库 · COS 国内源
|
|
8
10
|
|
|
@@ -22,7 +24,7 @@
|
|
|
22
24
|
|
|
23
25
|
**bs-v2.9.0-rc.4:新增匿名在线模板库,支持刷新、下载校验、整包安装、取消重试和后台继续;保留 rc.3 双平台适配及 Issue #4 修复。后续版本沿用 `bs-v<semver>` 标签、包内 `<semver>` 的版本线,停止使用 m2.x 作为新发布版本号。**
|
|
24
26
|
|
|
25
|
-
当前 macOS arm64 与 Windows x64 使用同一个 `bs-engineering-suite-2.9.0-rc.
|
|
27
|
+
当前 macOS arm64 与 Windows x64 使用同一个 `bs-engineering-suite-2.9.0-rc.8.tgz`,平台原生文件由加载器选择。DSH 最低版本为 `0.2.2-rc.3`。包含 npm、macOS Desktop 和 Windows Desktop 三套精确 UI 基线;未知字节继续保留宿主原生 UI。历史 rc.4 的3090验证见[rc.4记录](docs/development/bs-v2.9.0-rc.4.md),COS实现的 macOS 隔离验证见[COS记录](docs/development/cos-online-source-20261116.md)。Windows Desktop 实机界面本轮为 `NOT_RUN`,静态包检查不替代实机验收。原适配交付记录保留在 [rc.3 验证记录](docs/development/dsh022-rc3-verification.md)。
|
|
26
28
|
|
|
27
29
|
进入工程资料模式时按钮从左向右填色,再次点击时从右向左恢复普通状态,并返回原生会话。浅深主题、折叠侧栏、键盘与系统减少动态效果均受支持。rc.3 重载后若仍是工程资料模式但右栏已折叠,入口会重新打开工作台,而不是误退出模式。PR #17 的工程绑定页在套件中位于原生右侧栏的“资料生成绑定”入口,不再增加第二个左侧主页面入口;映射与母版资产仍由业主管理,不随安装包发布。
|
|
28
30
|
|
|
@@ -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.8",
|
|
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.8" },
|
|
1139
|
+
{ version: "2.9.0-rc.8", 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.8"}-${(/* @__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.8"
|
package/node_modules/@buildseek/harness-rag-plugin/data/library/national-building-2026.11-r1.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "buildseek/rag-content-distribution/v1",
|
|
3
|
+
"id": "bs-builtin-national-building",
|
|
4
|
+
"version": "2026.11-r1",
|
|
5
|
+
"manifestVersion": "2026.11",
|
|
6
|
+
"kind": "shared",
|
|
7
|
+
"sourceRepository": "jdbsh-AI/bs-engineering-suite",
|
|
8
|
+
"sourceCommit": "960a3b63671a86780f3bb37140fc235570958722",
|
|
9
|
+
"sourcePath": "packages/rag/data/rules/national-building",
|
|
10
|
+
"files": [
|
|
11
|
+
{
|
|
12
|
+
"path": "national-building/GB-50202-2018.json",
|
|
13
|
+
"bytes": 67644,
|
|
14
|
+
"sha256": "bc0fc3d9b84f6c7a92bf0b5c77793d62878c77e43e86cd4d710233a9c22e4fb9"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"path": "national-building/GB-50210-2018.json",
|
|
18
|
+
"bytes": 103803,
|
|
19
|
+
"sha256": "9d1a8e12be17609d23518305fce24813c08fa2b3adfb65a9523dc21589c7b4a5"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"path": "national-building/GB-51004-2015.json",
|
|
23
|
+
"bytes": 158097,
|
|
24
|
+
"sha256": "a9e80667f55393b2d39e45ee30163358fbba4f1a00fad09e42e2a0c2134f452b"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "national-building/GB-51254-2017.json",
|
|
28
|
+
"bytes": 67466,
|
|
29
|
+
"sha256": "baf6c561e1e5e640e1c1d2bdf1ab1c78f79269e76732a9144c2f7104e53c037a"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"path": "national-building/GB-55001-2021.json",
|
|
33
|
+
"bytes": 21194,
|
|
34
|
+
"sha256": "4b29bf8190a33cc4eaaf74453c01882753feb4c9d9c17b8c7901da43319b3acf"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"path": "national-building/GB-55003-2021.json",
|
|
38
|
+
"bytes": 46720,
|
|
39
|
+
"sha256": "9636bff1bff23001c3bdfa019312714b8bc3ae0072bc8b5a00f555655145cefc"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "national-building/GB-55024-2022.json",
|
|
43
|
+
"bytes": 49794,
|
|
44
|
+
"sha256": "c2a20e69924e82f4d7e88860110aad52cd4816c9162e79e2546cd6d21c0f9444"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"path": "national-building/GB-55031-2022.json",
|
|
48
|
+
"bytes": 26845,
|
|
49
|
+
"sha256": "e7543afff2782f066053e3880665f49d4e41de4fc44919b9722f58c6006ee84d"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"path": "national-building/GB-55032-2022.json",
|
|
53
|
+
"bytes": 16718,
|
|
54
|
+
"sha256": "426c02d4368b1b2908ecd45b3ce3f015cc47caab24d160ee919298621158c3cf"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "national-building/GB-55038-2025.json",
|
|
58
|
+
"bytes": 21740,
|
|
59
|
+
"sha256": "d2fc498a84ef5772fa1a4ef3be86bd87f84df1a4f3d072e7b8dec093c9c3d324"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"path": "national-building/GB-T-50378-2019.json",
|
|
63
|
+
"bytes": 15111,
|
|
64
|
+
"sha256": "f54a6af232ff90f22bd77059644f0f0960920b86842e0f9e690edc9897eccc66"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"path": "national-building/GB-T-51447-2021.json",
|
|
68
|
+
"bytes": 139050,
|
|
69
|
+
"sha256": "7ac9714dccea7670cf261ff06806816fe089b16e62e733f38c820bf8ad8d91d0"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "national-building/GB-T50854-2024.json",
|
|
73
|
+
"bytes": 13194,
|
|
74
|
+
"sha256": "7362c121aaae63a251666f9be4860fd7e3bf5db7afb9de9c779a31ba13944e48"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"path": "national-building/JGJ-T-496-2022.json",
|
|
78
|
+
"bytes": 6172,
|
|
79
|
+
"sha256": "c1f7e51ff439e88f9522d4f1d85f95d166e0ec3c4ae7b6737d2a5130e7917eec"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"path": "national-building/docauto-clause-mapping-building.json",
|
|
83
|
+
"bytes": 11571,
|
|
84
|
+
"sha256": "d387d9b300067502e13baa51d2a36b6fc17c0dd3fcaa538f7ad7f990249088ce"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "national-building/manifest.json",
|
|
88
|
+
"bytes": 29048,
|
|
89
|
+
"sha256": "93aa5527aa769b00daebe656f63fbd33892607d5224b8aa65818e114b08de609"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"dataFiles": 15,
|
|
93
|
+
"manifestFiles": 1,
|
|
94
|
+
"standards": 14,
|
|
95
|
+
"fragments": 3063,
|
|
96
|
+
"mappingFragments": 44,
|
|
97
|
+
"manifestSha256": "93aa5527aa769b00daebe656f63fbd33892607d5224b8aa65818e114b08de609",
|
|
98
|
+
"contentSha256": "f746beed1aa4ad09d0c52560335d48ab49d987f786e3752144d800e4091f90e1",
|
|
99
|
+
"archive": {
|
|
100
|
+
"filename": "bs-rag-national-building-2026.11-r1.zip",
|
|
101
|
+
"bytes": 796595,
|
|
102
|
+
"sha256": "4bc317d0f29a333797ec74cdbb2db6fe12f6c1471dcd577d26e1e9de763d9112"
|
|
103
|
+
},
|
|
104
|
+
"professionalStatus": "PENDING_PROFESSIONAL",
|
|
105
|
+
"applicabilityStatus": "PENDING",
|
|
106
|
+
"retrievalSensitivity": "internal",
|
|
107
|
+
"authorDisclosures": {
|
|
108
|
+
"suspectedTruncatedFragments": 69,
|
|
109
|
+
"sectionHeadingConcatenations": 334,
|
|
110
|
+
"suspendedMappings": 12
|
|
111
|
+
},
|
|
112
|
+
"consumption": "PR #33 embeds these files in the plugin. This distribution ZIP is not a template ZIP import format.",
|
|
113
|
+
"cos": {
|
|
114
|
+
"bucket": "buildseek-rag-packs-1532117587",
|
|
115
|
+
"region": "ap-guangzhou",
|
|
116
|
+
"prefix": "national-building/2026.11-r1/",
|
|
117
|
+
"archiveUrl": "https://buildseek-rag-packs-1532117587.cos.ap-guangzhou.myqcloud.com/national-building/2026.11-r1/bs-rag-national-building-2026.11-r1.zip",
|
|
118
|
+
"downloadAccess": "anonymous HTTPS exact objects only"
|
|
119
|
+
},
|
|
120
|
+
"registry": {
|
|
121
|
+
"name": "ghcr.io/jdbsh-ai/bs-rag/national-building",
|
|
122
|
+
"tag": "2026.11-r1",
|
|
123
|
+
"visibility": "private",
|
|
124
|
+
"artifactType": "application/vnd.buildseek.rag-pack.v1"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
File without changes
|