[draft-experimental] basic marimo implementation/support #11091
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.
Marimo Integration Experiment (Phase 1)
Screenshot of recording I made. If interested, message me and I can provide the 4-min video.

This extension provides Phase 1 Marimo integration for Positron.
Behavior:
.pyfiles containingimport marimo.positron.marimo.openInVieweropens the file usingmarimo edit <file>in an integrated terminal (viewer-only; does not execute on open). Note: Currently, the user needs to manually click "Open in Viewer" to view the app. Automatic opening in the viewer is not yet implemented, but I'm getting close to it.Cmd+Clickthe link and 'Open in the Viewer pane'.positron.marimo.runrunsmarimo run <file>in an integrated terminal (explicit run). A matchingpositron.marimo.stopcommand disposes the terminal to stop the session.Constraints:
marimoCLI binary available on PATH.--headlessargument to prevent marimo from opening in the browser.marimoworks (viaCmd+C), copy button functionality does not work.Error handling:
Configuration:
positron.marimo.viewerArgs: array of extra args passed tomarimo edit(for example["--no-token"]to avoid an access token being required by the viewer).positron.marimo.runArgs: array of extra args passed tomarimo run.