verso-v1.0.11
·
200 commits
to main
since this release
Release adding GitHub Copilot Chat integration, MIME type output renderers, cell drag-and-drop reordering, collapsible notebook sections, webview cache-busting, C# stderr capture, and NuGet source registry resolution.
New: GitHub Copilot Chat Integration
- Verso now integrates with GitHub Copilot Chat through a
@versochat participant with slash commands and language model tools - Tools include
list,add,update,remove,run,runAll,listVariables,inspect, andgetLanguagesfor full notebook manipulation from Copilot - A host registry maps open notebooks to their host process and bridge so Copilot tools can locate and communicate with the correct notebook
- Registration is guarded at runtime so the extension still loads on VS Code forks (e.g. VSCodium) that strip Copilot APIs
New: MIME Type Output Renderers
- Cell outputs now render
image/*types as base64<img>elements,application/jsonas a collapsible syntax-highlighted JSON tree (first two levels expanded), andtext/csvas a styled scrollable HTML table with header detection - A sample notebook (
samples/Notebooks/mime-types.verso) demonstrates all supported output types including text/html, SVG, images, JSON, CSV, Mermaid, and error outputs
New: Cell Drag-and-Drop Reordering
- Cells can be reordered by clicking and dragging on the left gutter, matching the interaction pattern in Jupyter and Polyglot notebooks
- A ghost element follows the cursor during the drag and a blue drop indicator line shows the target position
- Auto-scrolling activates when the cursor approaches the top or bottom edge of the viewport
- Gutter buttons (run, collapse) are excluded from the drag handle so they continue to work normally
New: Collapsible Notebook Sections
- Markdown cells starting with headings (
#syntax or<h1>-<h6>tags) now show a collapse chevron in the gutter - Collapsing a heading cell hides all subordinate cells until the next heading of equal or higher level, following the same section folding pattern as Polyglot notebooks
- Run button and cell index were moved from the toolbar to the left gutter for a cleaner layout
Improved: Webview Cache-Busting
- The VS Code extension now appends
?v=<version>to all Blazor WASM resource URIs using the version frompackage.json - The
loadBootResourcecallback also appends the version to framework asset requests (blazor.boot.json,blazor.webassembly.js) - This ensures extension updates are never served stale cached assets from the webview's Service Worker cache
Improved: C# Stderr Capture
Console.Erroroutput during C# cell execution is now captured and surfaced as an error output alongside stdout- The original
Console.Errorstream is saved and restored after each execution
Improved: NuGet Source Resolution
- Package resolution now includes sources registered via
#i "nuget: <url>"directives when resolving#r "nuget: ..."references - Sources from the
NuGetSourceRegistryare retrieved from the execution context and added to the resolver before package lookup