@polycyphers/bim 0.1.4 → 0.1.6
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 +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +511 -511
- package/dist/licensing.d.ts +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Commercial React sketch-to-layout and BIM studio. One browser UI calls the canonical server engine; no architectural catalogue, geometry solver, exporter, provider key or machine credential ships in this npm package.
|
|
4
4
|
|
|
5
|
-
## 0.1.
|
|
5
|
+
## 0.1.6 release candidate
|
|
6
6
|
|
|
7
|
-
This source candidate
|
|
7
|
+
This source candidate makes studio body text and form values 16px, supporting labels at least 14px, and actions at least 48px high. It keeps the Geist/Geist Mono paper/ink/teal presentation, strengthens text contrast, and adapts to the embedded container width including Arabic RTL. Engine SVG/drawing geometry and annotations are unchanged. It also retains the 0.1.5 fix for workflow selection after choosing a local image or writing a sketch brief: preserving an existing plan keeps the image, upload acknowledgements and brief, without starting upload, AI recognition or generation. An uploaded image stays attached to the same project when switching workflows. Unsaved geometry, pending edit previews and active operations still prevent a switch. The package retains durable pending-draft persistence and typed quota/purchase responses from the canonical API. A pending draft is not a validated layout or a paid entitlement; resume and payment actions remain subject to server ownership, version and entitlement checks. Version 0.1.3 was not approved for a public paid launch. Neither this candidate nor its local consumer proof authorizes public checkout, provider processing or deployment. Publication and live application pins require a separate owner release.
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
10
|
npm install @polycyphers/bim react react-dom
|
|
@@ -20,7 +20,7 @@ setLicense(import.meta.env.VITE_BIM_UI_LICENSE); // browser-safe signed UI token
|
|
|
20
20
|
|
|
21
21
|
UI installation tokens are issued under catalog `bim-ui`, signed claim `pkg:["bim"]`, version `0.1.x`, and the licensed hostnames. Server licenses are issued separately under `bim` with `pkg:["Polycyphers.Bim"]`. A browser token grants no server compute, AI budget, tenant access or paid project rights. Never expose server license secrets, HMAC credentials, Stripe or Anthropic keys through Vite environment variables.
|
|
22
22
|
|
|
23
|
-
Version 0.1.
|
|
23
|
+
Version 0.1.6 retains the signed component license requirement before mounting any studio workflow. Missing, invalid, expired, revoked or unverified grants render only the installation-license screen: no project hooks, storage handles, user session or engine API transport starts. A configured token alone is insufficient. The package reuses the actual `@polycyphers/license` Ed25519 verifier and strictly checks package, version, hostname, tier, issue/expiry times and token identity. Development hosts require a genuine grant too. Only `pro`, `team`, `enterprise` and `internal` installation tiers enable BIM; signed OSS or public-trial tokens are rejected.
|
|
24
24
|
|
|
25
25
|
Fresh signed revocation evidence comes from the existing fixed management endpoint using a bounded, timed request. Unsigned local caches, network failures, stale or inconsistent revocation envelopes do not grant access. An in-memory grant lease lasts at most sixty seconds, is refreshed every thirty seconds and never exceeds signed expiry; every engine transport checks that lease again. Changing or clearing the token immediately closes the studio. These checks protect the supplied component, not arbitrary modified JavaScript: server licensing, tenant access, original AI quotas and project entitlements remain independent and authoritative.
|
|
26
26
|
|
|
@@ -66,7 +66,7 @@ Measurement fields and stage/proposal switches lock during an operation. Editing
|
|
|
66
66
|
|
|
67
67
|
Version history is loaded on demand through owner-authorized GET `/history`; comparison calls GET `/compare?left=…&right=…` and shows the server's changed-input list, selected layout IDs and area delta marked calculated/unconfirmed. These reads do not request AI or generation/export credits. Restore calls the normal CAS `/undo` endpoint with the current expected version and chosen earlier target, creating a new version. Earlier versions are immutable, stale restore conflicts remain visible, and history/comparison state clears on trusted workspace changes. The studio content resets only when the verified workspace changes, never when its language changes.
|
|
68
68
|
|
|
69
|
-
### Existing-plan review
|
|
69
|
+
### Existing-plan review
|
|
70
70
|
|
|
71
71
|
`enableExistingPlanReview` is opt-in and defaults to false, preserving existing
|
|
72
72
|
hosts. Enable it only after deploying the authenticated digitization API and
|