Skip to content

Conversation

@goanpeca
Copy link
Collaborator

@goanpeca goanpeca commented Oct 9, 2025

Fixes #15

image

Copilot AI review requested due to automatic review settings October 9, 2025 00:44
@goanpeca goanpeca self-assigned this Oct 9, 2025
@netlify
Copy link

netlify bot commented Oct 9, 2025

Deploy Preview for vscode-datalayer ready!

Name Link
🔨 Latest commit 0d2868a
🔍 Latest deploy log https://app.netlify.com/projects/vscode-datalayer/deploys/690fb849ee6cc00008563d44
😎 Deploy Preview https://deploy-preview-16--vscode-datalayer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@goanpeca goanpeca marked this pull request as draft October 9, 2025 00:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements Phase 1 of Pyodide integration to enable offline Python execution in VS Code webviews. The integration allows users to run Python code entirely in the browser using WebAssembly, without requiring a server connection or local Python installation.

  • Adds Pyodide kernel support to the webview architecture via MutableServiceManager
  • Extends message protocol to support kernel type selection (pyodide vs remote)
  • Updates documentation commands from "doc" to "docs" for consistency

Reviewed Changes

Copilot reviewed 14 out of 18 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
webview/types/messages.ts Extends message interfaces to support optional runtime and kernelType fields
webview/services/mutableServiceManager.ts Adds Pyodide service manager creation and kernel type detection methods
webview/notebook/NotebookEditor.tsx Implements Pyodide kernel selection handling in notebook editor
webview/lexical/LexicalWebview.tsx Adds Pyodide kernel support to lexical document editor
webview/hooks/useRuntimeManager.ts Extends runtime manager hook with Pyodide runtime selection
src/services/bridges/kernelBridge.ts Adds method to connect webviews to Pyodide kernel
package.json Renames documentation commands from "doc" to "docs"
netlify.toml Updates build commands to use new "docs" naming
dev/docs/PYODIDE.md Comprehensive documentation for Pyodide integration
dev/docs/DEVELOPMENT.md Updates development guide with Pyodide architecture details
README.md Adds Pyodide feature documentation and updates file paths
DOCUMENTATION.md Updates documentation generation commands
CLAUDE.md Refactors AI assistant context with Pyodide information
.github/workflows/docs.yml Updates CI workflow to use new docs commands

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@goanpeca goanpeca added the enhancement New feature or request label Oct 9, 2025
@goanpeca goanpeca force-pushed the enh/pyodide branch 4 times, most recently from b5e22a2 to 24cfe07 Compare October 10, 2025 03:06
@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2025

📦 Extension Build Ready!

Download the extension (works on all platforms):

📥 Download build artifact

The artifact contains the .vsix extension package.


📖 Installation Instructions

Method 1: VS Code UI

  1. Download the .vsix file above
  2. Open VS Code
  3. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  4. Click ... menu → "Install from VSIX..."
  5. Select the downloaded file

Method 2: Command Line

code --install-extension datalayer-jupyter-vscode.vsix

Method 3: Drag & Drop

  1. Download the .vsix file
  2. Drag it into the VS Code Extensions sidebar

Note: The .vsix artifact works on Windows, macOS, and Linux.

Built from commit 0d2868a • Version 0.0.6View workflow run

@goanpeca goanpeca force-pushed the enh/pyodide branch 2 times, most recently from e790dce to 6e7011f Compare November 8, 2025 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pyodide support for native vscode notebooks and datalayer documents

2 participants