diff --git a/apps/control-station/package-lock.json b/apps/control-station/package-lock.json index 3ade538a..e71466a6 100644 --- a/apps/control-station/package-lock.json +++ b/apps/control-station/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "dependencies": { "@noble/hashes": "^2.2.0", - "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.1.8.tgz", + "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.1.9.tgz", "@nodedc/map-cesium-react": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react", "@nodedc/page-patterns": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/page-patterns", "@nodedc/tokens": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/tokens", @@ -884,9 +884,9 @@ } }, "node_modules/@nodedc/bim-viewer": { - "version": "0.1.8", - "resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.1.8.tgz", - "integrity": "sha512-oZDT98cNOP+QZfACtpK4nv2AWci7c8JqI6+VZtByOzrvbGbFQzvlpFrO84Yjcq//igLYVx8LC2Q0vJnrzds4Nw==", + "version": "0.1.9", + "resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.1.9.tgz", + "integrity": "sha512-HcMksUQyH71ylRBS3zNreao4wxDrUL/S3jEe22k5DP62xAvBVliob0pBnQUjHfWKWJXSdpEOwhQNnGLPyRKKBA==", "peerDependencies": { "@nodedc/ui-react": "0.7.0", "react": ">=19 <20", diff --git a/apps/control-station/package.json b/apps/control-station/package.json index df453db5..f8caef0d 100644 --- a/apps/control-station/package.json +++ b/apps/control-station/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@noble/hashes": "^2.2.0", - "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.1.8.tgz", + "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.1.9.tgz", "@nodedc/map-cesium-react": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react", "@nodedc/page-patterns": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/page-patterns", "@nodedc/tokens": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/tokens", diff --git a/docs/BIM_MODULE.md b/docs/BIM_MODULE.md index 7f95bac9..2b701279 100644 --- a/docs/BIM_MODULE.md +++ b/docs/BIM_MODULE.md @@ -4,7 +4,7 @@ Qualified on 2026-11-14: **Данные → Архитектурные прое ## Ownership and integration -The implementation belongs to [NODEDC_BIM_MOD](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD), branch `feat/portable-bim-ifc`. Core consumes Python host services 0.1.3 and browser workspace 0.1.8 from `vendor/bim/`; release manifests hold source commits and SHA-256 identities. The Python package owns contracts, project documents, transfer lifecycle and the host API. The browser package owns catalog, intake, map and renderer. It uses the host's React and NODE.DC UI, while keeping its Three/Fragments graph private; render objects are not exchanged with existing Core renderers. +The implementation belongs to [NODEDC_BIM_MOD](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD), branch `feat/portable-bim-ifc`. Core consumes Python host services 0.1.4 and browser workspace 0.1.9 from `vendor/bim/`; release manifests hold source commits and SHA-256 identities. The Python package owns contracts, project documents, transfer lifecycle and the host API. The browser package owns catalog, intake, map and renderer. It uses the host's React and NODE.DC UI, while keeping its Three/Fragments graph private; render objects are not exchanged with existing Core renderers. Core-specific files are `src/k1link/web/bim_module.py`, `apps/control-station/src/workspaces/data/ArchitecturalProjectsWorkspace.tsx` and asset declarations. The app mounts `/api/v1/bim`, closes the module on shutdown and runs its ready-copy retention with the existing reaper. Product registry/composition select the workspace. The generic shell reads capability status; no BIM pipeline is implemented in App.tsx. The adapter emits canonical toasts, observed by the current Core notification history. It does not depend on that history's source files. @@ -64,7 +64,7 @@ Live UI fault qualification: with Worker stopped, confirmation enqueued the temp ## Current viewer workspace · 14 November 2026 -Client 0.1.8 / host 0.1.3 retain Worker 0.1.2. The viewport fills the workspace; +Client 0.1.9 / host 0.1.4 retain Worker 0.1.2. The viewport fills the workspace; NavigationCube is upper left, Layers/Hierarchy/Viewport settings/Fit/Fullscreen are upper right. Header shows the project name after a slash and only back/add/ close. Layers and hierarchy reuse EditorDockLayout/Tree/ResourceRows from the @@ -80,7 +80,7 @@ Old map-only/viewer clients preserve the new render settings. Tools use public Fragments APIs. The right palette orders selection, isolation, measurements (ruler), section and view/projection after Hold. Projection offers -perspective, orthographic, axonometric and six axis views. Properties and volume +only perspective and axonometry; axis directions belong to the navigation cube. Properties and volume live in each IFC row's information dropdown, opened by hover/click/keyboard activation. The hierarchy contains only the open project: nonempty material types, versions, @@ -93,13 +93,40 @@ position/reverse are current-view state, not persisted annotations. Advanced upstream drawing/editing/postproduction/section-fill components remain outside this slice. Source and scope: [viewer qualification](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/viewer-workspace-qualification.md). -Validation: 82 host tests, 24 client tests, two Core adapter tests, shared docking, +Validation: 83 host tests, 33 client tests, two Core adapter tests, shared docking, floating geometry, icon and typography gates, architecture/typecheck and -production build. Final complete Core frontend suite: 1603 pass / 0 failures. +production build. Final complete Core frontend suite: 1604 pass / 0 failures. -Live acceptance on School and LivingBIM confirmed project-only IFC structure, +Earlier client 0.1.8 acceptance on School and LivingBIM confirmed project-only IFC structure, bidirectional selection/reveal, element and container isolation, row information and volume, projection/top view, fullscreen buttons, narrow 700 px settings and keyboard window handling. Escape closes information without reopening. Final browser console: no errors. Compact evidence is in the module's `docs/evidence/viewer-workspace-qualification-20261114.json`. + + +Current refinement: shared EditorDockLayout rounds only outside corners; square +internal seams recalculate with the tile arrangement. Viewport Toolbar and top +buttons share individual Glass V4, with no common capsule. Tree rows have both +visibility eyes and plain `i` actions. Visibility applies to complete IFC +subtrees without repeating a spatial traversal for each already known ID. + +Navigation Cube settings include face/edge colors and independent transparency, +text and hover colors; selection color is configurable. Host 0.1.4 validates and +merges nested preferences, preserving new fields when old clients save. + +Selection is one set across scene/tree/models: ordinary click replaces, Ctrl adds, +Shift removes in the scene, Command toggles. Shift selects a displayed row range +in the tree. The selection tool supports containment/crossing rectangles; hidden +geometry is excluded. Normal empty-space click and Escape clear highlights and +tree selection. Whole-set isolation uses the same IDs. Tests cover actual runtime +pointer handling, not only set arithmetic. The Worker and data lifecycle did not +change in this increment. + +Current live refinement acceptance on LivingBIM: Shift range (3), Command removal +(2), isolation, rectangle selection (480), empty-space clearing, fast subtree +visibility, stacked exterior corners, actual toolbar glass, two view modes/cube +navigation and color/opacity persistence after reload passed. Test preferences +were restored; console errors: 0. The embedded browser rejected the unchanged +system Fullscreen API during this pass, so fullscreen is not claimed as newly +requalified. Earlier fullscreen evidence above remains dated acceptance. diff --git a/pyproject.toml b/pyproject.toml index f1be4997..2bb83257 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ "httpx>=0.28,<1", "lz4>=4.4,<5", "missioncore-plugin-sdk", - "nodedc-bim-module==0.1.3", + "nodedc-bim-module==0.1.4", "paho-mqtt>=2.1,<3", "pillow>=12,<13", "pyyaml>=6.0,<7", @@ -29,7 +29,7 @@ dependencies = [ ] [tool.uv.sources] -nodedc-bim-module = { path = "vendor/bim/nodedc_bim_module-0.1.3-py3-none-any.whl" } +nodedc-bim-module = { path = "vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl" } missioncore-plugin-sdk = { path = "packages/plugin-sdk", editable = true } [project.optional-dependencies] diff --git a/uv.lock b/uv.lock index 9194f322..33cfa02d 100644 --- a/uv.lock +++ b/uv.lock @@ -479,8 +479,8 @@ wheels = [ [[package]] name = "nodedc-bim-module" -version = "0.1.3" -source = { path = "vendor/bim/nodedc_bim_module-0.1.3-py3-none-any.whl" } +version = "0.1.4" +source = { path = "vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl" } dependencies = [ { name = "fastapi" }, { name = "httpx" }, @@ -488,7 +488,7 @@ dependencies = [ { name = "uvicorn" }, ] wheels = [ - { filename = "nodedc_bim_module-0.1.3-py3-none-any.whl", hash = "sha256:90b2797e2bf028113b46c3c0c38ff374d64220be4e63941957700963daa4be16" }, + { filename = "nodedc_bim_module-0.1.4-py3-none-any.whl", hash = "sha256:af742c7c9d47260c9f7390726744a1f94b299c3bea9460c9736fbdc0ccfb2a67" }, ] [package.metadata] @@ -556,7 +556,7 @@ requires-dist = [ { name = "httpx", specifier = ">=0.28,<1" }, { name = "lz4", specifier = ">=4.4,<5" }, { name = "missioncore-plugin-sdk", editable = "packages/plugin-sdk" }, - { name = "nodedc-bim-module", path = "vendor/bim/nodedc_bim_module-0.1.3-py3-none-any.whl" }, + { name = "nodedc-bim-module", path = "vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl" }, { name = "paho-mqtt", specifier = ">=2.1,<3" }, { name = "pillow", specifier = ">=12,<13" }, { name = "pyyaml", specifier = ">=6.0,<7" }, diff --git a/vendor/bim/README.md b/vendor/bim/README.md index 02f8f1ff..14a2f7d7 100644 --- a/vendor/bim/README.md +++ b/vendor/bim/README.md @@ -2,8 +2,8 @@ Immutable packages from the independent [NODEDC_BIM_MOD](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD) repository: -- Python host services 0.1.3: `release.json`, wheel, `uv.lock` integrity. -- Browser workspace 0.1.8: `client-release.json`, npm tarball, Control Station lockfile integrity. Runtime workers and third-party notices are included in the tarball. +- Python host services 0.1.4: `release.json`, wheel, `uv.lock` integrity. +- Browser workspace 0.1.9: `client-release.json`, npm tarball, Control Station lockfile integrity. Runtime workers and third-party notices are included in the tarball. Core consumes these versioned artifacts without importing a sibling checkout or copying the domain implementation. Update through a new module release, identity review and host qualification. The Worker image and durable data volume remain on Worker 006. Private connection settings and service tokens are never part of these releases. @@ -13,4 +13,4 @@ The retained 0.1.0/0.1.1 artifacts identify the previous qualified release. New Full-version deletion requires Worker 0.1.2 or later. Do not roll back to an implementation without deletion journals while retirement is pending; retain the durable journals and deploy a compatible forward fix. Local-copy eviction is still separate. -Viewer preferences include new fields; host 0.1.2 cannot parse them. Keep host 0.1.3 when reverting a client instead of discarding durable meta.json. Worker remains 0.1.2. +Viewer preferences include new fields; host 0.1.3 cannot parse the new cube fields. Keep host 0.1.4 when reverting a client instead of discarding durable meta.json. Worker remains 0.1.2. diff --git a/vendor/bim/client-release.json b/vendor/bim/client-release.json index 5e16023a..5ec21991 100644 --- a/vendor/bim/client-release.json +++ b/vendor/bim/client-release.json @@ -1,16 +1,19 @@ { "schema_version": "missioncore.bim-client-release/v1", "repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD", - "source_commit": "6b27a1ac9b91387c30c0b3bfbfd9653a6259c0e9", - "package": "nodedc-bim-viewer-0.1.8.tgz", - "sha256": "9a71be57051b06070e7089ecacb67548dc6acc811e1b8cc2f40393efa0a51d76", + "source_commit": "3a21d44c7de3dc92f267904f051a6aaecc3cc87d", + "package": "nodedc-bim-viewer-0.1.9.tgz", + "sha256": "e91aa5888989e0520007b37813eef930684c63246ba2c1098ceae3123710c81d", "types": "pass", - "contract_tests": 24, - "visual_acceptance": "pass: current-project IFC tree, scene/tree selection, information/volume, isolation, measurements, section, projection, shared docking/settings, fullscreen buttons and 700px layout", + "contract_tests": 33, + "visual_acceptance": "pass: visibility, multi-selection, rectangle, empty-space clearing, cube preferences, glass, projection and dock corners", "evidence": "docs/BIM_MODULE.md", "qualification_date": "2026-11-14", - "design_guideline_commit": "616ec9160a4cdc6d1482f259bc55193a0b391b4c", - "core_frontend_tests": 1603, + "design_guideline_commit": "d7885fe098470d4ef0c5494867659c0d612a3074", + "core_frontend_tests": 1604, "core_frontend_failures": 0, - "validation_context": "shared canonical working checkout; unrelated concurrent edits preserved" + "validation_context": "shared canonical working checkout; unrelated concurrent edits preserved", + "visual_limits": [ + "System Fullscreen API rejected by embedded browser; unchanged control not requalified in this pass." + ] } diff --git a/vendor/bim/nodedc-bim-viewer-0.1.9.tgz b/vendor/bim/nodedc-bim-viewer-0.1.9.tgz new file mode 100644 index 00000000..7faa49ff Binary files /dev/null and b/vendor/bim/nodedc-bim-viewer-0.1.9.tgz differ diff --git a/vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl b/vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl new file mode 100644 index 00000000..d549dd63 Binary files /dev/null and b/vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl differ diff --git a/vendor/bim/release.json b/vendor/bim/release.json index cf9a871e..98c0fe65 100644 --- a/vendor/bim/release.json +++ b/vendor/bim/release.json @@ -1,10 +1,10 @@ { "schema_version": "missioncore.bim-release/v1", "repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD", - "source_commit": "d0f2eb3c7304f697e0061f15906e098876c3096c", - "package": "nodedc_bim_module-0.1.3-py3-none-any.whl", - "sha256": "90b2797e2bf028113b46c3c0c38ff374d64220be4e63941957700963daa4be16", - "python_tests": 82, + "source_commit": "f775ce15c8285561ec4bbc999a2c7a7976ddc26c", + "package": "nodedc_bim_module-0.1.4-py3-none-any.whl", + "sha256": "af742c7c9d47260c9f7390726744a1f94b299c3bea9460c9736fbdc0ccfb2a67", + "python_tests": 83, "node_reader_tests": 1, - "scope": "host map/viewer preferences and durable deletion; Worker protocol unchanged" + "scope": "host viewport/cube preferences and durable deletion; Worker unchanged" }