feat: add live TSL previews across detail pages and playground#65
Merged
devallibus merged 1 commit intodevelopmentfrom Mar 10, 2026
Merged
feat: add live TSL previews across detail pages and playground#65devallibus merged 1 commit intodevelopmentfrom
devallibus merged 1 commit intodevelopmentfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- add a shared TSL preview-module contract and emit prebuilt TSL preview modules in registry bundles\n- render live TSL previews on shader detail pages with the shared WebGPU host instead of the static placeholder\n- reuse the same TSL preview host in the playground so TSL sessions can render live previews there too\n- update playground and MCP capability flags so TSL sessions are treated as preview-capable when a browser is connected\n\n## Validation\n- node --experimental-strip-types packages/cli/src/registry-types.test.ts\n- node --experimental-strip-types packages/cli/src/commands/add.test.ts\n- node --experimental-strip-types scripts/build-registry.test.ts\n- node --experimental-strip-types apps/web/src/lib/server/shaders.test.ts\n- node --experimental-strip-types packages/mcp/src/playground-handlers.test.ts\n- bun run test:web\n- bun run test:mcp\n- bun x tsc -p tsconfig.json --noEmit\n- bun run build:web