Skip to content

refactor: Solar as a thin adapter over @lumencast/runtime (ADR 007 §B)#4

Merged
ClodoCapeo merged 1 commit into
mainfrom
feature/solar-lumencast-runtime
Jun 4, 2026
Merged

refactor: Solar as a thin adapter over @lumencast/runtime (ADR 007 §B)#4
ClodoCapeo merged 1 commit into
mainfrom
feature/solar-lumencast-runtime

Conversation

@ClodoCapeo
Copy link
Copy Markdown
Contributor

Lumencast convergence (ADR 007 §B).

Summary

Solar becomes a thin adapter over @lumencast/runtime@0.1.0 (real, published, LSML 1.1 + LSDP/1.1 complete) instead of its bespoke RenderBundle/WS stack.

Changes

  • mount() maps orionUrl→serverUrl and delegates. Public surface (MountOptions/SolarHandle/SolarError/setToken/disconnect) byte-stable — Pulsar CEF / Prism / editor unaffected.
  • Removed home-grown render/transport/state/animate/modes/overlay (−3984 lines, subsumed by the runtime).
  • SolarErrorCode maps lossless to @lumencast/protocol ErrorCode.

Test plan

  • lint + typecheck + test + build + bundle-size green (broadcast 12 KB gz). render.test.tsx: mount end-to-end on a real LSDP/1.1 fake transport. Vigil APPROVE.

Note

Supersedes feature/rich-primitive-parity (hand-rolled gradient/glow/stroke) — that branch is now caduque, do not merge. Follow-up chore/: decouple check-bundle-size.mjs from runtime chunk names.

🤖 Generated with Claude Code

Replaces Solar's in-house stack (transport/state/render/animate/overlay/
modes) with a thin adapter over @lumencast/runtime. Public surface kept:
mount / MountOptions / SolarHandle / setToken / disconnect.

Reconciled with main@7127025: PR#3's action-runner + PrismScene embed +
UMD surface is dropped per ADR 007 escalation #6 (zero consumers in Zab,
recoverable from history at 7127025). Removed orphaned #3 files
(animate/action-runner, animate/runners/*, animate/easing-resolver,
animate/flip, scene/*, transport/protocol, vite.config.umd, finalise-dist,
embed examples/docs, CHANGELOG) and reverted package.json UMD/peerDeps/
flip-subpath additions back to the adapter shape.
@ClodoCapeo ClodoCapeo force-pushed the feature/solar-lumencast-runtime branch from 1f71cc8 to 29c356d Compare June 4, 2026 19:44
@ClodoCapeo ClodoCapeo merged commit 083c8b8 into main Jun 4, 2026
5 checks passed
@ClodoCapeo ClodoCapeo deleted the feature/solar-lumencast-runtime branch June 4, 2026 23:19
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