feat: add @runtimed/components package and migrate output components#729
Merged
feat: add @runtimed/components package and migrate output components#729
Conversation
Extracts shared output components into a new publishable package: - Add packages/components/ with output renderers (Markdown, JSON, ANSI, etc.) - Move shared-with-iframe components to the new package - Update src/ imports to use @runtimed/components - Update iframe-outputs to import from @runtimed/components - Update Dockerfiles to include components package - Fix eslint ignores for nested dist folders The @runtimed/components package provides React components for rendering notebook cell outputs, designed to be shared between the main app and sandboxed iframe outputs. Co-authored-by: Cursor <cursoragent@cursor.com>
286e469 to
a3aafa1
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
rgbkrk
reviewed
Feb 2, 2026
rgbkrk
reviewed
Feb 2, 2026
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
@runtimed/componentspackage for notebook output rendering componentssrc/components/outputs/shared-with-iframeto the new packageTest plan
pnpm dev:pm2and verify all processes start correctly (including components)docker build -f Dockerfile.web .pnpm checkMade with Cursor
Note
Medium Risk
Moderate risk: this migrates core output rendering and iframe comms into a new workspace package and changes build/Docker behavior; regressions could impact notebook output display and container builds.
Overview
Extracts notebook output rendering into a new workspace package. Adds
packages/components(@runtimed/components) with build tooling (tsdown+ Tailwind CSS output), exports for output renderers/iframe comms/UI helpers, and a new/demo/outputspage for exercising supported output types.Migrates the app and iframe bundle to consume the package. Replaces in-app
shared-with-iframeimports with@runtimed/components, wrapsIframeOutputto injectVITE_IFRAME_OUTPUT_URI, updates iframe entry + Tailwind@source, adjusts prefetching and tests, and removes the oldsrc/components/outputs/index.tsre-exports.Updates build/dev infrastructure for the new package. CI builds
@runtimed/componentsfirst, Dockerfiles copy/build the package (and strip it from the sync image install), PM2 adds acomponentsdev process, and ESLint ignore globs are broadened.Written by Cursor Bugbot for commit 6350b97. This will update automatically on new commits. Configure here.