@vulcan-energy/community-cli 0.0.0-stage → 0.1.0

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.
@@ -0,0 +1,89 @@
1
+ Open Government Licence for public sector information
2
+
3
+ You are encouraged to use and re-use the Information that is available under this licence freely and flexibly, with only a few conditions.
4
+
5
+ Using Information under this licence
6
+
7
+ Use of copyright and database right material expressly made available under this licence (the 'Information') indicates your acceptance of the terms and conditions below.
8
+
9
+ The Licensor grants you a worldwide, royalty-free, perpetual, non-exclusive licence to use the Information subject to the conditions below.
10
+
11
+ This licence does not affect your freedom under fair dealing or fair use or any other copyright or database right exceptions and limitations.
12
+
13
+ You are free to:
14
+
15
+ - copy, publish, distribute and transmit the Information;
16
+
17
+ - adapt the Information;
18
+
19
+ - exploit the Information commercially and non-commercially for example, by combining it with other Information, or by including it in your own product or application.
20
+
21
+ You must (where you do any of the above):
22
+
23
+ - acknowledge the source of the Information in your product or application by including or linking to any attribution statement specified by the Information Provider(s) and, where possible, provide a link to this licence;
24
+
25
+ If the Information Provider does not provide a specific attribution statement, you must use the following:
26
+
27
+ Contains public sector information licensed under the Open Government Licence v3.0.
28
+
29
+ If you are using Information from several Information Providers and listing multiple attributions is not practical in your product or application, you may include a URI or hyperlink to a resource that contains the required attribution statements.
30
+
31
+ These are important conditions of this licence and if you fail to comply with them the rights granted to you under this licence, or any similar licence granted by the Licensor, will end automatically.
32
+
33
+ Exemptions
34
+
35
+ This licence does not cover:
36
+
37
+ - personal data in the Information;
38
+
39
+ - Information that has not been accessed by way of publication or disclosure under information access legislation (including the Freedom of Information Acts for the UK and Scotland) by or with the consent of the Information Provider;
40
+
41
+ - departmental or public sector organisation logos, crests and the Royal Arms except where they form an integral part of a document or dataset;
42
+
43
+ - military insignia;
44
+
45
+ - third party rights the Information Provider is not authorised to license;
46
+
47
+ - other intellectual property rights, including patents, trade marks, and design rights; and
48
+
49
+ - identity documents such as the British Passport
50
+
51
+ Non-endorsement
52
+
53
+ This licence does not grant you any right to use the Information in a way that suggests any official status or that the Information Provider and/or Licensor endorse you or your use of the Information.
54
+
55
+ No warranty
56
+
57
+ The Information is licensed 'as is' and the Information Provider and/or Licensor excludes all representations, warranties, obligations and liabilities in relation to the Information to the maximum extent permitted by law.
58
+
59
+ The Information Provider and/or Licensor are not liable for any errors or omissions in the Information and shall not be liable for any loss, injury or damage of any kind caused by its use. The Information Provider does not guarantee the continued supply of the Information.
60
+
61
+ Governing Law
62
+
63
+ This licence is governed by the laws of the jurisdiction in which the Information Provider has its principal place of business, unless otherwise specified by the Information Provider.
64
+
65
+ Definitions
66
+
67
+ In this licence, the terms below have the following meanings:
68
+
69
+ 'Information' means information protected by copyright or by database right (for example, literary and artistic works, content, data and source code) offered for use under the terms of this licence.
70
+
71
+ 'Information Provider' means the person or organisation providing the Information under this licence.
72
+
73
+ 'Licensor' means any Information Provider which has the authority to offer Information under the terms of this licence or the Keeper of Public Records, who has the authority to offer Information subject to Crown copyright and Crown database rights and Information subject to copyright and database right that has been assigned to or acquired by the Crown, under the terms of this licence.
74
+
75
+ 'Use' means doing any act which is restricted by copyright or database right, whether in the original medium or in any other medium, and includes without limitation distributing, copying, adapting, modifying as may be technically necessary to use it in a different mode or format.
76
+
77
+ 'You', 'you' and 'your' means the natural or legal person, or body of persons corporate or incorporate, acquiring rights in the Information (whether the Information is obtained directly from the Licensor or otherwise) under this licence.
78
+
79
+ About the Open Government Licence
80
+
81
+ The National Archives has developed this licence as a tool to enable Information Providers in the public sector to license the use and re-use of their Information under a common open licence. The National Archives invites public sector bodies owning their own copyright and database rights to permit the use of their Information under this licence.
82
+
83
+ The Keeper of the Public Records has authority to license Information subject to copyright and database right owned by the Crown. The extent of the offer to license this Information under the terms of this licence is set out in the UK Government Licensing Framework (https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/).
84
+
85
+ This is version 3.0 of the Open Government Licence. The National Archives may, from time to time, issue new versions of the Open Government Licence. If you are already using Information under a previous version of the Open Government Licence, the terms of that licence will continue to apply.
86
+
87
+ These terms are compatible with the Creative Commons Attribution License 4.0 and the Open Data Commons Attribution License, both of which license copyright and database rights. This means that when the Information is adapted and licensed under either of those licences, you automatically satisfy the conditions of the OGL when you comply with the other licence. The OGLv3.0 is Open Definition compliant.
88
+
89
+ Further context, best practice and guidance can be found in the UK Government Licensing Framework section (https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/) on The National Archives website.
package/NOTICE ADDED
@@ -0,0 +1,34 @@
1
+ Vulcan Community
2
+ Copyright © 2026 Home Energy Foundry Limited and contributors.
3
+
4
+ Vulcan Community was originally developed by Home Energy Foundry Limited.
5
+ Project origin: https://usevulcan.app/open-source
6
+
7
+ AGPL-covered files that refer to the Vulcan Origin Terms are licensed under
8
+ GNU AGPL version 3 only, supplemented by ADDITIONAL_TERMS.md. Other files may be
9
+ licensed under Apache-2.0, CC BY 4.0 or an identified upstream licence as recorded
10
+ in licence-manifest.json and their source headers.
11
+
12
+ Source repository for version 1.0.0:
13
+ https://github.com/vulcan-energy/vulcan-community/tree/6b3e051ff93d1f5a10f3a3314ec131afef749e7e
14
+
15
+ Released and modified builds must identify their exact Corresponding Source
16
+ revision. Modified and unofficial builds must not imply affiliation with or
17
+ endorsement by Home Energy Foundry Limited. See ATTRIBUTION.md and TRADEMARKS.md.
18
+
19
+ HEM engine and FHS wrapper source included in or used to build this distribution
20
+ remain under their canonical upstream MIT licences. The pinned HEM revision is
21
+ 62d3df705690f33b3fc3e905c9971d4f3743bf2e and the pinned FHS wrapper revision is
22
+ c5ba2673fbd886cfe4fb528f61b376bdf406ebbd. Preserve both upstream licence
23
+ notices in the release.
24
+
25
+ The default linear thermal-transmittance values are from Home Energy Model
26
+ guidance, Building Fabric, section 3.7.2, Table 3.7 (psi values for different
27
+ types of junctions), published by the Department for Energy Security and Net
28
+ Zero. Crown copyright.
29
+
30
+ Contains public sector information licensed under the Open Government Licence
31
+ v3.0. See LICENSES/OGL-UK-3.0.txt.
32
+
33
+ Recognised construction details, manufacturer/exact-detail data and Vulcan
34
+ construction packs are not part of the public distribution.
package/README.md CHANGED
@@ -1,3 +1,33 @@
1
- # Temporary Holding Version
1
+ <!--
2
+ SPDX-FileCopyrightText: 2026 Home Energy Foundry Limited and contributors
3
+ SPDX-License-Identifier: AGPL-3.0-only
4
+ -->
2
5
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
6
+ # Vulcan Community CLI
7
+
8
+ Command-line checks for Home Energy Model (HEM) geometry, from the open-source
9
+ [Vulcan Community](https://github.com/vulcan-energy/vulcan-community) editor. It runs
10
+ offline on your machine.
11
+
12
+ ```bash
13
+ npx @vulcan-energy/community-cli check house.csv --summary
14
+ ```
15
+
16
+ | Command | What it does |
17
+ | --- | --- |
18
+ | `check <csv>` | Validate a geometry CSV: elements, zones, missing elements and Part F findings. `--fail-on=none\|critical\|warning` sets the exit code. |
19
+ | `thermal-bridges <csv>` | Propose a linear thermal bridge for each junction, with Table 3.7 default psi values (`--csv-section` for a pasteable section). |
20
+ | `thermal-bridges <csv> --validate` | Validate the CSV's thermal-bridge rows (`--with-auto` adds the proposals). |
21
+ | `convert <csv>` | Convert a geometry CSV to HEM input JSON. Needs the Community model WASM: build from source ([Run locally](https://github.com/vulcan-energy/vulcan-community#run-locally)). |
22
+ | `preflight <csv\|json>` | Future Homes Standard ingest and Part F preflight, without a simulation. Not a compliance result. Needs the model WASM, as `convert`. |
23
+ | `version` | Version and legal notices. |
24
+
25
+ Every command takes `--json` for machine-readable output, for scripts and AI agents. Node.js
26
+ 22.19 or later.
27
+
28
+ Geometry CSVs come from the Vulcan Community editor.
29
+
30
+ Licensed under AGPL-3.0-only with the Vulcan Origin Terms; see `LICENSE`, `NOTICE`,
31
+ `ATTRIBUTION.md`, `ADDITIONAL_TERMS.md` and `TRADEMARKS.md`. Third-party material bundled in
32
+ `dist/cli.js` is listed with its licences in `dist/THIRD_PARTY_NOTICES.md`. Source:
33
+ <https://github.com/vulcan-energy/vulcan-community>.
package/TRADEMARKS.md ADDED
@@ -0,0 +1,31 @@
1
+ # Vulcan trademark policy
2
+
3
+ The open-source and documentation licences in this distribution do not grant
4
+ rights to the **Vulcan**, **Vulcan Community**, **Home Energy Foundry** or related
5
+ names, logos, service marks, trade dress or brand assets, except for factual origin
6
+ statements required by `ATTRIBUTION.md` or uses otherwise permitted by law.
7
+
8
+ ## Forks and modified versions
9
+
10
+ - Forks and modified products must use their own product name and branding and
11
+ must not imply that they are an official Vulcan product or are endorsed by Home
12
+ Energy Foundry Limited.
13
+ - They must retain the factual Vulcan Community origin notice required for covered
14
+ AGPL material.
15
+ - They may make truthful, plain-text statements such as “compatible with Vulcan
16
+ CSV”, “based on Vulcan Community” or “Powered by Vulcan”, solely as
17
+ factual compatibility/origin attribution and accompanied by a clear
18
+ non-affiliation statement.
19
+ - They may not use Vulcan logos, confusingly similar product names or the term
20
+ “official” without written permission.
21
+
22
+ ## Certification and commercial use
23
+
24
+ The **Vulcan Compatible** badge and any certification programme are separately
25
+ licensed and may be used only after written approval. Standard proprietary
26
+ commercial terms for the community components may require visible “Built with
27
+ Vulcan” attribution; separately priced white-label terms may waive that contractual
28
+ requirement. Those commercial terms are not conditions of the open-source grant.
29
+
30
+ Nothing in this policy limits nominative, descriptive or other uses permitted by
31
+ applicable law. For permissions, contact `info@usevulcan.app`.
@@ -0,0 +1,41 @@
1
+ # Third-party notices
2
+
3
+ cli.js bundles the following third-party material. polygon-clipping is a runtime dependency and carries its own licence.
4
+
5
+ ## Home Energy Model (HEM) input schema (data/schemas/core-input.schema.json, MIT)
6
+
7
+ The MIT License (MIT)
8
+
9
+ Copyright (c) 2024 Crown Copyright (Ministry of Housing, Communities and Local Government)
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
12
+ documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
13
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
14
+ persons to whom the Software is furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
17
+ Software.
18
+
19
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
20
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
21
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
22
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ ## HEM Future Homes Standard wrapper input schema (data/schemas/input_fhs.schema.json, MIT)
25
+
26
+ The MIT License (MIT)
27
+
28
+ Copyright (c) 2026 Crown Copyright (Ministry of Housing, Communities and Local Government)
29
+
30
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
31
+ documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
32
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
33
+ persons to whom the Software is furnished to do so, subject to the following conditions:
34
+
35
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
36
+ Software.
37
+
38
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
39
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
40
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
41
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.