@vulcan-energy/mcp-helper 0.3.1 → 0.3.2
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/dist/bin/vulcan-mcp-helper.js +34 -32
- package/dist/hem-target-runtime/browser-adapter.mjs +29 -1
- package/dist/hem-target-runtime/host.mjs +40 -29
- package/dist/hem-target-runtime/preparation.mjs +5728 -4625
- package/dist/hem-target-runtime/python-worker.mjs +372 -74
- package/dist/hem-target-runtime/release-manifests.mjs +49 -8
- package/dist/hem-target-runtime/rust-worker.mjs +523 -60
- package/dist/server.js +33 -31
- package/package.json +1 -1
- package/wasm/wasm_version.json +9 -9
- package/wasm/wasm_wrapper.js +6 -6
- package/wasm/wasm_wrapper_bg.wasm +0 -0
|
@@ -3,9 +3,9 @@ var HEM_TARGETS = [
|
|
|
3
3
|
// The Rust a9 that ECaaS runs in production (epb-ecaas-api e1c090e, lambda/Cargo.lock). Its wrapper
|
|
4
4
|
// schema equals the Python a9 one, so it keeps that conversion profile's wire name. It is built
|
|
5
5
|
// with the carried patch set fhs-a9-schema-v1 (targetSchemaCorrections.ts); build and parity:
|
|
6
|
-
// docs/development/HEM_Rust_A9_Target.md.
|
|
6
|
+
// docs/development/HEM_Rust_A9_Target.md. v2: v1's pins and patch set plus the design_heat_loss export.
|
|
7
7
|
{
|
|
8
|
-
id: "rust-fhs-a9-9e41af89-f2c2425f-
|
|
8
|
+
id: "rust-fhs-a9-9e41af89-f2c2425f-v2",
|
|
9
9
|
label: "HEM:FHS 1.0.0a9",
|
|
10
10
|
runtime: "rust",
|
|
11
11
|
version: "1.0.0a9",
|
|
@@ -15,8 +15,11 @@ var HEM_TARGETS = [
|
|
|
15
15
|
engineCommit: "9e41af890cc62a1cec08957340231c3591956dac",
|
|
16
16
|
wrapperCommit: "f2c2425f00870e1611750bd2ac1be20132301e0d",
|
|
17
17
|
conversionProfile: "python_fhs_a9",
|
|
18
|
-
|
|
19
|
-
//
|
|
18
|
+
arealHeatCapacity: { classes: "full_depth", numberTypes: ["BuildingElementAdjacentConditionedSpace", "BuildingElementAdjacentUnconditionedSpace_Simple"] },
|
|
19
|
+
// Measured, example_semi_detached at load 15-21 (15 November): Quick sim click to headline in
|
|
20
|
+
// the app 7.1-8.6 s (engine 4.9 s, results write 0.7 s); wasm-browser-cli 5.2-7.1 s.
|
|
21
|
+
// Compliance, all four modes: 48.3-48.6 s in wasm-browser-cli at load 13-19 (13 November).
|
|
22
|
+
// Method: docs/development/HEM_Rust_A9_Target.md, "Run time".
|
|
20
23
|
status: "provisional",
|
|
21
24
|
typicalRunMinutes: { fhs_assumptions: 0.15, fhs_compliance: 0.8 }
|
|
22
25
|
},
|
|
@@ -31,21 +34,59 @@ var HEM_TARGETS = [
|
|
|
31
34
|
engineCommit: "62d3df705690f33b3fc3e905c9971d4f3743bf2e",
|
|
32
35
|
wrapperCommit: "c5ba2673fbd886cfe4fb528f61b376bdf406ebbd",
|
|
33
36
|
conversionProfile: "current_rust_fhs",
|
|
34
|
-
|
|
37
|
+
arealHeatCapacity: { classes: "surface", numberTypes: [] },
|
|
38
|
+
// Actual mode, example_semi_detached at load 17-22 (15 November): Quick sim click to headline in
|
|
39
|
+
// the app 7.9-8.7 s; wasm-browser-cli 6.1-7.1 s. Compliance not measured.
|
|
35
40
|
status: "legacy",
|
|
36
41
|
typicalRunMinutes: { fhs_assumptions: 0.12 }
|
|
37
42
|
}
|
|
38
43
|
];
|
|
39
44
|
var RECOMMENDED_HEM_TARGET = HEM_TARGETS[0].id;
|
|
40
45
|
var RETIRED_HEM_TARGETS = {
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
// Same pins and patch set as v2, which adds only the design_heat_loss export; parity in
|
|
47
|
+
// docs/development/HEM_Rust_A9_Target.md. Its bundle stays published and pinned (RELEASE_MANIFEST_HASHES).
|
|
48
|
+
"rust-fhs-a9-9e41af89-f2c2425f-v1": { label: "HEM:FHS 1.0.0a9", replacement: "rust-fhs-a9-9e41af89-f2c2425f-v2", notice: false },
|
|
49
|
+
"python-fhs-a9-918addad-b9b90138-v1": { label: "HEM:FHS 1.0.0a9", replacement: "rust-fhs-a9-9e41af89-f2c2425f-v2" },
|
|
50
|
+
"python-fhs-a8-f2ab6cf7-8ca182b0-v1": { label: "HEM:FHS 1.0.0a8", replacement: "rust-fhs-a9-9e41af89-f2c2425f-v2" }
|
|
43
51
|
};
|
|
52
|
+
var HEM_EPC_0_13_2 = {
|
|
53
|
+
id: "python-epc-0.13.2-6367f1ec-18032feb-v1",
|
|
54
|
+
label: "HEM:EPC 0.13.2",
|
|
55
|
+
runtime: "python",
|
|
56
|
+
version: "0.13.2",
|
|
57
|
+
engineVersion: "2.0.0a4",
|
|
58
|
+
wrapperVersion: "0.13.2",
|
|
59
|
+
wrapper: "epc",
|
|
60
|
+
engineCommit: "6367f1ecb101c7f72a2006a921c732c790b0d338",
|
|
61
|
+
wrapperCommit: "18032feb59294b323fc28af4fb032d34bd44bf67",
|
|
62
|
+
conversionProfile: "epc_full_input_v1",
|
|
63
|
+
arealHeatCapacity: { classes: "full_depth", numberTypes: "all" },
|
|
64
|
+
components: {
|
|
65
|
+
"hem-epc-orchestrator": { version: "0.13.2a0", commit: "993463233ad0c416e83c4de3b84889280d3c4619" },
|
|
66
|
+
hemie: { version: "0.18.1", commit: "2876e2ec1c7bad2b738c9c3b3685d86860a91f41" },
|
|
67
|
+
"hem-db-client": { version: "1.0.0a10", commit: "9eeb026dd52a612197b5552ca113d8121fa72679" }
|
|
68
|
+
},
|
|
69
|
+
// db-client/data/*.csv at the hem-db-client commit.
|
|
70
|
+
productDataSha256: "d0acf4ebf050e80f3dc576ffbb1295ebeb1176e9fd4a9ec1d151a9e8f4df7457",
|
|
71
|
+
// Quick, measured in wasm-browser-cli at load 9-20 (15 November, UAT bundle on main): house_two_storey
|
|
72
|
+
// new build 473 s, as an existing building 365 s (HEM_EPC_Integration_Plan.md, Status).
|
|
73
|
+
// Full, estimated: 35 min natively at the measured 2.4-2.6x browser ratio (same plan, Measured).
|
|
74
|
+
status: "preview",
|
|
75
|
+
typicalRunMinutes: { epc_quick: 8, epc_full: 90 },
|
|
76
|
+
estimatedRunMinutes: ["epc_full"]
|
|
77
|
+
};
|
|
78
|
+
var UNRELEASED_HEM_TARGETS = [
|
|
79
|
+
HEM_EPC_0_13_2,
|
|
80
|
+
// The same pins with the HEM Core engine patch set (scripts/hem-targets/stage-python-core.mjs):
|
|
81
|
+
// byte-identical outputs, faster passive-duct runs. A short-term fix; not the default until the owner's UAT.
|
|
82
|
+
{ ...HEM_EPC_0_13_2, id: "python-epc-0.13.2-6367f1ec-18032feb-v2", label: "HEM:EPC 0.13.2 (faster)" }
|
|
83
|
+
];
|
|
44
84
|
|
|
45
85
|
// ../hem-target-runtime/src/hem/targetAssets.ts
|
|
46
86
|
var RELEASE_MANIFEST_HASHES = {
|
|
47
87
|
"rust-fhs-a7-62d3df70-c5ba2673-v1": "e1c0bc53d7bdfcf3bddff8eab8f8623d7620caeca447da51178c219ac15c4917",
|
|
48
|
-
"rust-fhs-a9-9e41af89-f2c2425f-v1": "06993e4ebed5c5af943fc4f7b177e0c3b9f82d375201ead853caf2e20d89341f"
|
|
88
|
+
"rust-fhs-a9-9e41af89-f2c2425f-v1": "06993e4ebed5c5af943fc4f7b177e0c3b9f82d375201ead853caf2e20d89341f",
|
|
89
|
+
"rust-fhs-a9-9e41af89-f2c2425f-v2": "2e7881f23a0b2df81f43d2fdc91b8613c50a282fc06f3f4ffb0a0a143f0f2a1b"
|
|
49
90
|
};
|
|
50
91
|
export {
|
|
51
92
|
RELEASE_MANIFEST_HASHES,
|