Skip to content

Install and render flake modules in Studio - #83

Merged
cooper (czxtm) merged 7 commits into
mainfrom
feat/module-registry-studio
Nov 19, 2026
Merged

cooper (czxtm) merged 7 commits into
mainfrom
feat/module-registry-studio

Conversation

@czxtm

@czxtm cooper (czxtm) commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What changed

Stackpanel now consumes the catalog published in stackpanel-registry#1. Studio and the CLI lock a selected release separately from enabling it. Enabled modules contribute settings, actions and panels through the same Nix contract as built-in modules.

  • Export the module SDK and validator, discover external providers and overlays, and ship an editor-ready module template.
  • Use one project-scoped agent service for registry transactions, enable previews, settings and authorized actions.
  • Render declared Studio slots and Nix widgets natively. Custom HTML runs in a reviewed sandbox; it does not receive the agent credential. Remove the superseded extension catalog and lifecycle paths.

Verification

Against the PR tree: Nix module evaluation (77/77) and discovery builds, 223 focused Studio tests, Studio production build, frozen workspace install, extension SDK build/typecheck/tests, and v1 Buf lint/build passed. The full Go suite passed (go test ./..., 21 packages with tests), including the named and linked module build-check regressions.

Browser acceptance used fresh projects and the real agent: install alone mounted no panel; enabling opened Fly in its Cloud slot. The published Fly sandbox required approval. A local native Fly panel displayed a region edited in Studio. No cloud operation was run.

The existing Go toolchain commit and unrelated working changes are excluded. No registry changes or production deployments are part of this PR.

CI and preview deployments

At 451d6f7d, the encrypted-codegen drift check, typecheck, web preview and docs preview passed. The docs smoke check received HTTP 200 from both / and /docs/quick-start on the deployed Worker.

The Alchemy client speaks the existing Cloudflare state-store protocol (v8). CI approval applies to the app plan only: a missing or incompatible shared store fails the job instead of provisioning or upgrading it. Production was not deployed. The only remaining red check is the pre-existing authenticated terminal CodeQL alert #13; it remains open.

Use flake inputs as the module source of truth. The project-scoped agent
locks installations, previews enablement and exposes only declared panel
capabilities. Studio mounts evaluated module contributions instead of
maintaining a separate extension catalog.
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Preview pr-83 has been destroyed.

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Docs preview pr-83 has been destroyed.

@czxtm
cooper (czxtm) merged commit 60739c1 into main Nov 19, 2026
14 of 15 checks passed

This branch was successfully deployed

2 active deployments
docs-preview — 451d6f7d Deployed Nov 19, 2026 by czxtm via deploy #274
pr-83 — 451d6f7d Deployed Nov 19, 2026 by czxtm via deploy #285
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.

2 participants