Skip to content

feat: bim-beta template + fragments inline worker (v0.0.4)#18

Merged
agviegas merged 1 commit into
mainfrom
feat/bim-beta-template
Jun 7, 2026
Merged

feat: bim-beta template + fragments inline worker (v0.0.4)#18
agviegas merged 1 commit into
mainfrom
feat/bim-beta-template

Conversation

@agviegas

@agviegas agviegas commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

What

Adds the bim-beta scaffolding template and wires the fragments inline worker so beta apps run inside the platform's sandboxed iframe.

Commits

  • bim-beta template (v0.0.3) — new template using the real beta package names (components-beta, components-front-beta, fragments-beta) + public @thatopen/ui; drops ui-obc. create prompts whether the user has beta access.
  • fragments /inline import (v0.0.4) — the template now imports @thatopen-platform/fragments-beta/inline, registering the inlined worker. Required because the platform serves apps as IIFE bundles in a sandboxed iframe, where the worker can't resolve via import.meta.url or cross-origin fetch.

Why

End-to-end fix for the beta-stack scaffold so a founding member can create -t bim-betaserve → see a working viewer on the platform with no console errors (no Multiple instances of Three.js, no worker 404, no CUI is not defined).

Notes

  • @thatopen/services@0.0.4 is already published to npm.
  • Pairs with fragments-beta@3.5.4, components-beta@3.5.5, components-front-beta@3.5.3 (also published).

🤖 Generated with Claude Code

…e sandbox

The platform serves apps as IIFE bundles inside a sandboxed iframe, where the
fragments worker can't resolve via import.meta.url or cross-origin fetch. The
bim-beta scaffold now imports "@thatopen-platform/fragments-beta/inline" to
register the inlined worker. Bumps @thatopen/services to 0.0.4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@agviegas agviegas force-pushed the feat/bim-beta-template branch from 3240ae7 to 5175e5e Compare June 7, 2026 17:24
@agviegas agviegas merged commit 7a35ec4 into main Jun 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant