Docs · API reference
API reference
The public .NET API of the Verso engine and its extension surface, generated from the XML documentation comments in the Verso repository. For guided introductions, start with Embedding the engine or the extension authoring guides.
Verso
The notebook engine: cell management, execution dispatch, built-in kernels and magic commands, extension loading, serialization, export, and notebook diffing. Reference this package to embed Verso in your own .NET application. 92 public types. View on NuGet.
Verso
| Type | Description | |
|---|---|---|
LayoutManager | Class | Manages the active layout engine and exposes capability flags. Handles metadata persistence for layout state across save/load cycles. |
Scaffold | Class | Core orchestrator: cell CRUD, kernel registry, execution dispatch, shared state, and subsystem hooks. |
SettingsManager | Class | Orchestrates the extension settings lifecycle: restore on open, save on close, update on change. Parallels LayoutManager in managing persisted metadata through the NotebookModel. |
ThemeEngine | Class | Manages the active theme and implements IThemeContext by delegating to the currently active ITheme extension. |
Verso.Contexts
| Type | Description | |
|---|---|---|
ExecutionContext | Class | IExecutionContext implementation extending VersoContext with cell-specific execution state and display output routing. |
MagicCommandContext | Class | IMagicCommandContext implementation extending VersoContext with magic-command-specific state: remaining code after the directive and suppression control. |
NotebookMetadataContext | Class | INotebookMetadata implementation backed by a NotebookModel. |
PanelContext | Class | IPanelContext implementation backed by a Scaffold. Hosts build one of these each time they ask a panel whether it is available or ask it to produce content. |
SimpleFormatterContext | Class | Minimal IFormatterContext for variable inspection in the variable explorer. |
VariablePreviewService | Class | Generates human-readable value previews for the variable explorer. |
VariableStore | Class | Thread-safe IVariableStore backed by a System.Collections.Concurrent.ConcurrentDictionary<>. |
VersoContext | Class | Base IVersoContext implementation. Output routing is provided via an injected delegate. |
Verso.Diffing
| Type | Description | |
|---|---|---|
NotebookDiffEngine | Class | Computes a cell-level structural diff between two notebook versions. |
Verso.Execution
| Type | Description | |
|---|---|---|
BackgroundFaultMonitor | Class | Catches failures that happen on work a cell started but did not wait for, and routes them to the notebook they most likely belong to. |
BackgroundFaultSink | Class | Holds failures from work a notebook started but did not wait for, until there is a cell to report them against. |
ExecutionResult | Class | Immutable result of a single cell execution. |
IOutputChannelTransport | Interface | How a host carries a channel's traffic to the view rendering it. Implemented once per shell, because there is no mechanism the in-process and out-of-process hosts share: one calls into the page and the other writes a notification down a pipe. |
OutputChannelHost | Class | The session's IOutputChannelHost. Owned by Scaffold and living as long as it does, which is the whole point: a channel has to still work when no cell is running, because that is when someone is interacting with what the last cell drew. |
Verso.Export
| Type | Description | |
|---|---|---|
ExportOptions | Class | Options that control visibility-aware export. When Verso.Export.ExportOptions.LayoutId is non-null and Verso.Export.ExportOptions.SupportedVisibilityStates and Verso.Export.ExportOptions.Renderers are provided, cells are filtered through CellVisibilityResolver before export. When Verso.Export.ExportOptions.RespectCellViewState is true (the default), exporters also honor the user-actionable subset of per-cell view-state metadata (verso:ui.outputVisibility, verso:ui.inputCollapsed, verso:ui.outputPreviewLineCount). |
Verso.Extensions
| Type | Description | |
|---|---|---|
CellVisibilityPropertyProvider | Class | Built-in property provider that surfaces per-layout cell visibility overrides in the properties panel. Queries registered layouts, filters to those with filtering capabilities, and builds Select fields for each qualifying layout. |
ExtensionDirectoryResolver | Class | Resolves the set of directories scanned for extension assemblies. Combines any host-configured directories with a stable per-user managed directory that the marketplace installs into, creating the managed directory on first use so installs survive across sessions. |
ExtensionHost | Class | Discovers, validates, loads, and manages the lifecycle of all Verso extensions. |
ExtensionLoadException | Class | Exception thrown when one or more extensions fail validation or loading. |
ExtensionTrustStore | Class | Persists per-package extension trust decisions across sessions in a small JSON file under the user config directory. The first time a notebook needs an extension the hosting layer prompts for consent; once approved the decision is remembered here so later opens load it without re-prompting. Trust is keyed by package id and records the approved version, so a request for a different version re-prompts. |
ExtensionTrustStore.TrustEntry | Class | One stored trust decision. |
ExtensionValidationError | Class | Describes a single validation failure encountered when loading an extension. |
Verso.Extensions.CellTypes
| Type | Description | |
|---|---|---|
HtmlCellType | Class | HTML cell type combining the HTML renderer with the HTML kernel. Registered as the entry point for HTML cells via VersoExtensionAttribute. |
MarkdownCellType | Class | Built-in cell type for Markdown prose cells. Combines the Markdig-based MarkdownRenderer with no kernel: running a Markdown cell renders its source to HTML rather than executing code. |
MermaidCellType | Class | Mermaid cell type combining the Mermaid renderer with the Mermaid kernel. Registered as the entry point for Mermaid cells via VersoExtensionAttribute. |
ParametersCellType | Class | Built-in cell type for displaying and editing notebook parameter definitions. The parameters cell renders a form from NotebookModel.Parameters and handles user interactions for adding, removing, and updating parameter values. |
Verso.Extensions.Formatters
| Type | Description | |
|---|---|---|
CollectionFormatter | Class | Formats IEnumerable collections as HTML tables with property-inferred column headers. |
ExceptionFormatter | Class | Formats exceptions as structured HTML with CSS class hooks for styling. |
HtmlFormatter | Class | Formats objects that expose a public parameterless ToHtml() method. |
ImageFormatter | Class | Formats byte arrays as inline base64-encoded PNG images. |
ObjectFormatter | Class | Formats arbitrary objects as HTML tables showing public properties and fields. Acts as a catch-all for types not handled by more specific formatters. |
PrimitiveFormatter | Class | Formats primitive and common value types as plain text. |
SvgFormatter | Class | Formats SVG strings as inline HTML output. |
Verso.Extensions.Kernels
| Type | Description | |
|---|---|---|
HtmlKernel | Class | Language kernel for HTML cells. Applies @variable substitution and returns the result as text/html. Accessed through HtmlCellType; not independently registered. |
MermaidKernel | Class | Language kernel for Mermaid diagram cells. Applies @variable substitution and returns the result as text/x-verso-mermaid for specialized rendering on each surface. Accessed through MermaidCellType; not independently registered. |
Verso.Extensions.Layouts
| Type | Description | |
|---|---|---|
DashboardLayout | Class | Grid-based dashboard layout that arranges cells in a 12-column CSS Grid. Shows output-only cells that can be moved, resized, and run, but never code-edited. |
DashboardLayout.GridPosition | Class | Describes a cell's position and size within the 12-column grid. |
NotebookLayout | Class | The built-in linear, top-to-bottom notebook layout. Every cell is the live, editable cell component (its own editor, run button, outputs, and move/delete controls), arranged one per row in document order, and the host's main toolbar drives the notebook-level actions (run all, clear, restart). Each cell sits in an elevated surface card, and the insert affordances are rendered by the layout itself. |
PresentationLayout | Class | Read-only presentation layout that shows only cell outputs in a clean linear flow. Hides all editing chrome (toolbar, editor, gutter) so interactive outputs can be clicked without triggering cell selection or layout shifts. |
Verso.Extensions.Marketplace
| Type | Description | |
|---|---|---|
ExtensionPackageRef | Class | Parses and formats the reference strings stored in a notebook's RequiredExtensions list. A bare PackageId resolves to the latest available version, so older entries authored without a version still load. A local: prefix marks an extension that was sideloaded from disk; such entries reload from the managed directory only and are never fetched from a NuGet feed. |
ExtensionSource | Enum | Where a required extension came from, which determines how it is reloaded when a notebook is opened. NuGet packages can be re-downloaded from a feed if missing from the managed directory; local files (sideloaded .dll/.nupkg) can only be loaded from the managed directory they were installed into. |
LocalInstallResult | Class | The result of installing a sideloaded local file. Carries the package id derived from the file (assembly name for a loose .dll, package identity for a .nupkg) in addition to the resolved version, managed directory, and assembly paths to load. |
MarketplaceInstallResult | Class | The result of ensuring a package is installed on disk: the concrete resolved version and the managed-directory assembly paths to load. |
MarketplaceLoader | Class | Shared logic for loading marketplace-installed extensions into an ExtensionHost. Used by both the in-process Blazor Server host and the out-of-process JSON-RPC host so the trust, resolve, and load behavior stays identical across them. |
MarketplaceLoader.LocalInstallOutcome | Class | The outcome of installing a sideloaded local extension file: the derived package id and resolved version on success, or an error message on failure (including a declined consent prompt). |
MarketplaceSearchItem | Class | A single package returned by a marketplace search. |
NuGetMarketplaceService | Class | Searches NuGet for extension packages and installs them into the managed extensions directory. Search uses the NuGet v3 NuGet.Protocol.Core.Types.PackageSearchResource; install delegates downloading and transitive resolution to Verso.Kernels.NuGetPackageResolver and then copies the resolved assemblies into a stable per-package directory so they persist across sessions and can be reloaded offline. Because the managed directory is shared by every Verso host on the machine and hosts can run on different .NET runtime majors (the notebook host rolls forward to the newest installed runtime), each install is partitioned into a per-runtime subfolder so one host's assets never poison another's. |
Verso.Extensions.Renderers
| Type | Description | |
|---|---|---|
HtmlCellRenderer | Class | Renders HTML cells. Collapses the input editor on execute to show only the rendered output. Owned by HtmlCellType; not independently registered. |
MarkdownRenderer | Class | Built-in Markdown cell renderer using Markdig with advanced extensions. |
MermaidCellRenderer | Class | Renders Mermaid diagram cells. Collapses the input editor on execute to show only the rendered diagram. Owned by MermaidCellType; not independently registered. |
ParametersCellRenderer | Class | Renders notebook parameters as an interactive HTML form and handles parameter interactions (update, add, remove, submit) via ICellInteractionHandler. |
Verso.Extensions.Themes
| Type | Description | |
|---|---|---|
VersoDarkTheme | Class | Built-in dark theme for Verso notebooks, inspired by VS Code Dark+. |
VersoHighContrastTheme | Class | Built-in high-contrast theme for Verso notebooks, optimized for accessibility. All foreground/background pairs meet WCAG 2.1 AA contrast requirements (≥ 4.5:1). |
VersoLightTheme | Class | Built-in light theme for Verso notebooks, inspired by VS Code Light+. |
Verso.Extensions.ToolbarActions
| Type | Description | |
|---|---|---|
ClearOutputsAction | Class | Toolbar action that clears all cell outputs in the notebook. |
ExportHtmlAction | Class | Toolbar action that exports the notebook as a self-contained HTML document. |
ExportMarkdownAction | Class | Toolbar action that exports the notebook as a Markdown document. |
ExportVersoAction | Class | Toolbar action that exports the notebook as a native .verso file. Shown only for notebooks opened from a Markdown file while the default notebook layout is active, as the escape hatch for notebooks that outgrow what plain Markdown can persist (outputs, layouts, parameters, and custom cell state). |
RestartKernelAction | Class | Toolbar action that restarts the active language kernel. |
RunAllAction | Class | Toolbar action that executes all cells in the notebook. |
RunCellAction | Class | Toolbar action that executes the currently selected cell(s). |
SwitchLayoutAction | Class | Toolbar action that cycles to the next available layout engine. |
SwitchThemeAction | Class | Toolbar action that cycles to the next available theme. |
Verso.Extensions.Utilities
| Type | Description | |
|---|---|---|
CellViewStateReader | Class | Reads per-cell view-state metadata written by CellDisplayPropertyProvider (the verso:ui.* keys). Used by exporters and the CLI to honor a subset of the user-actionable display settings. |
CellVisibilityResolver | Class | Resolves cell visibility by evaluating the three-layer model: cell type default, user metadata override, and layout-supported states. Layouts call this as a convenience but are not required to use it. |
LegacyMetadataMigrator | Class | Renames legacy cell metadata keys to their current names. Runs once at notebook open time so downstream readers do not each have to carry a fallback. Planned for removal in 1.0.22 (see Verso.Projects #7). |
VariableSubstitution | Class | Shared utility for @variable token substitution used by HTML and Mermaid kernels. Uses the same @(\w+) pattern as SQL parameter binding. |
Verso.Kernels
| Type | Description | |
|---|---|---|
CSharpKernel | Class | Built-in C# language kernel powered by Roslyn. Executes C# code in notebook cells with chained state, code completions, diagnostics, and hover information. |
CSharpKernelOptions | Class | Configuration options for the C# language kernel. |
ScriptGlobals | Class | Host object provided to Roslyn C# scripts, exposing the shared IVariableStore as a top-level Variables identifier so that C# cells can read data stored by other kernels (e.g. SQL results). |
Verso.Localization
| Type | Description | |
|---|---|---|
VersoCultures | Class | The languages Verso ships an interface in, and the rules for picking one. |
Verso.MagicCommands
| Type | Description | |
|---|---|---|
AboutMagicCommand | Class | #!about outputs Verso version, runtime, and loaded extensions; suppresses execution. |
ExtensionMagicCommand | Class | #!extension PackageId [Version] resolves a NuGet package, requests user consent, loads extensions from its assemblies via ExtensionHost, and stores assembly paths in the variable store so the CSharpKernel picks them up as MetadataReferences. |
ImportMagicCommand | Class | #!import path [--param name=value ...] [--show-output] -- reads a notebook file or source file, deserializes or parses it, resolves parameters against the imported notebook's definitions, and executes every cell whose type carries source (any type other than markdown or raw), dispatching to the kernel that handles each cell's language. Variables and state persist for subsequent cells. |
NuGetMagicCommand | Class | #!nuget Package [Version] resolves a NuGet package and stores assembly paths in the variable store for the kernel to pick up. |
RestartMagicCommand | Class | #!restart [kernelId] restarts the specified kernel (or default); suppresses execution. |
TimeMagicCommand | Class | #!time signals the pipeline to report elapsed time after kernel execution. |
Verso.Parameters
| Type | Description | |
|---|---|---|
ParameterValueParser | Class | Parses string values into typed CLR objects based on parameter type identifiers. Shared between the engine (interaction handler) and the CLI (ParameterTypeParser). |
Verso.Serializers
| Type | Description | |
|---|---|---|
DibSerializer | Class | Import-only serializer for Polyglot Notebooks .dib files. |
JupyterPolyglotPostProcessor | Class | Translates Polyglot Notebook language-switching directives in imported Jupyter notebooks into the equivalent Verso cell types and languages, splitting cells when a directive appears mid-source. Mirrors the behavior of DibSerializer for .ipynb imports so notebooks authored in Polyglot Notebooks open without "Unknown magic command" failures at run time. |
JupyterSerializer | Class | Serializer for Jupyter .ipynb notebooks (nbformat v4). |
LanguageDirectiveMap | Class | Shared alias table mapping a language token to a cell (Type, Language) pair. The tokens match the Polyglot Notebook #! directive names, and the same set is recognized in the info string of a fenced code block when importing Markdown notebooks. |
MarkdownSerializer | Class | Serializer for Markdown (.md) notebooks. Continuous prose becomes markdown cells and top-level fenced code blocks with a recognized language tag become code cells; everything else (bare or unknown fences, indented code, fences nested in quotes or lists) stays inline as prose. Saving writes plain Markdown back, so the file remains readable anywhere Markdown renders. Cell outputs are not persisted in this format. |
VersoSerializer | Class | Serializer for the native .verso file format using System.Text.Json. |
Verso.Serializers.Migrations
| Type | Description | |
|---|---|---|
NotebookMigrationPipeline | Class | Upgrades a parsed NotebookModel from its declared format version to Current by walking a chain of registered INotebookMigration steps. Migrations are pure-data transforms; host-dependent resolution is performed separately during notebook wire-up. |
Verso.Stubs
| Type | Description | |
|---|---|---|
StubExtensionHostContext | Class | Stub IExtensionHostContext that reflects registered kernels via a delegate and returns empty lists for all other extension categories. |
StubNotebookOperations | Class | No-op implementation of INotebookOperations for use when no Scaffold is available. |
StubThemeContext | Class | Stub IThemeContext that returns default light-theme values from ThemeColorTokens, ThemeTypography, and ThemeSpacing. |
Verso.Abstractions
The extension surface: pure interfaces and types for cell types, language kernels, layout engines, data formatters, themes, magic commands, and the contexts the host passes to them. Extensions reference only this package. 105 public types. View on NuGet.
| Type | Description | |
|---|---|---|
CellContainerInfo | Class | Describes the layout position and size of a cell container within the notebook canvas. |
CellDiffEntry | Class | A single cell's participation in a notebook diff. |
CellDiffKind | Enum | Classifies how a cell differs between a baseline notebook and the current notebook. |
CellInteractionContext | Class | Context provided to OnCellInteractionAsync(CellInteractionContext) describing the interaction that occurred in a rendered cell. |
CellModel | Class | Mutable model representing a single cell within a Verso notebook. |
CellOutput | Class | Represents the output produced by executing a notebook cell. |
CellRegion | Enum | Specifies which region of a cell originated an interaction. |
CellVisibilityHint | Enum | Declares a cell type's default visibility nature as a hint to layout engines. |
CellVisibilityState | Enum | Specifies the resolved visibility of a cell within a specific layout. |
Completion | Class | Represents a single code-completion item offered by a kernel's language service. |
ConsentKind | Enum | What kind of thing a consent request covers, so a host can word its prompt for it. |
Diagnostic | Class | Represents a code diagnostic (error, warning, or informational message) reported by a kernel's language service. |
DiagnosticSeverity | Enum | Indicates the severity level of a diagnostic message reported by the notebook or a cell. |
DisplayContext | Class | Provides ambient access to the active display handler during cell execution. The execution pipeline sets the current handler before each cell runs and clears it afterward. User code reaches this through the Display(this object, string) extension method. |
DisplayExtensions | Class | Extension methods for displaying objects inline during cell execution. |
ExtensionConsentInfo | Class | Describes something that requires user consent before it is loaded or installed. |
ExtensionInfo | Class | Describes a loaded extension, including its metadata, current status, and capability list. |
ExtensionStatus | Enum | Indicates whether an extension is currently enabled or disabled at runtime. |
FontDescriptor | Class | Describes the font settings used to render text within a notebook cell. |
HoverInfo | Class | Represents hover tooltip information returned by a kernel's language service. |
ICellInteractionHandler | Interface | Supplemental interface for extensions that handle bidirectional interactions from rendered cell content. Implement alongside a primary capability interface (e.g. IDataFormatter + ICellInteractionHandler). Implementing ICellInteractionHandler alone is not a valid extension capability. |
ICellPropertyProvider | Interface | Contributes a section of editable properties to the cell properties panel. Implement this interface to surface per-cell configuration in the UI. Property values are persisted in Metadata. |
ICellRenderContext | Interface | Context provided to cell renderers when rendering a cell's visual output. Extends IVersoContext with cell layout and state information. |
ICellRenderer | Interface | Renders the input editor area and output display area of a cell. Each renderer is associated with a specific cell type. |
ICellType | Interface | Defines a cell type by combining a renderer with an optional language kernel. Cell types appear in the cell type picker and determine how a cell is edited, displayed, and optionally executed. |
IDataFormatter | Interface | Formats runtime objects into cell outputs for display. Multiple formatters may be registered; the host selects the best match using SupportedTypes, Priority, and CanFormat(object, IFormatterContext). |
IExecutionContext | Interface | Context provided to language kernels during cell code execution. Extends IVersoContext with execution-specific state. |
IExtension | Interface | Base interface for all Verso extensions. Provides identity, metadata, and lifecycle hooks that the extension host calls when loading and unloading an extension. |
IExtensionHostContext | Interface | Provides access to the loaded extensions in the Verso host, grouped by category. |
IExtensionSettings | Interface | Augmentation interface for extensions that expose configurable settings. An extension implements this alongside its primary capability interface (e.g. ILanguageKernel + IExtensionSettings). Implementing IExtensionSettings alone is not a valid extension capability. |
IFormatterContext | Interface | Context provided to data formatters when converting objects to display representations. Extends IVersoContext with formatting constraints. |
ILanguageKernel | Interface | Represents a language execution kernel that can run code, provide completions, diagnostics, and hover information. Each kernel targets a single language and manages its own runtime state. |
ILayoutEngine | Interface | Manages the spatial arrangement of cells within a notebook. Layout engines support different paradigms such as linear (top-to-bottom), grid, or freeform canvas layouts. |
ILayoutFrameChannel | Interface | Server-to-renderer push channel held by an ILayoutLifecycleHandler for the life of one renderer instance. The host realizes the channel using whatever mechanism is appropriate for the isolation boundary; extensions see only this contract. |
ILayoutInteractionHandler | Interface | Capability interface for extensions that handle bidirectional interactions scoped to a layout owned by the same extension. Implement alongside an ILayoutEngine on the same class (the common case) or as a sibling class that shares the layout's LayoutId. Routing is by the (ExtensionId, LayoutId) identity pair. |
ILayoutLifecycleHandler | Interface | Capability interface for extensions that need per-mount lifecycle callbacks for a layout owned by the same extension. Implement alongside an ILayoutEngine on the same class (the common case) or as a sibling class that shares the layout's LayoutId. Routing is by the (ExtensionId, LayoutId) identity pair. |
IMagicCommand | Interface | Defines a magic command that can be invoked with a prefix such as %time or #!who. Magic commands provide lightweight, inline directives that extend kernel functionality without requiring a full extension UI. |
IMagicCommandContext | Interface | Context provided to magic command handlers during execution. Extends IVersoContext with command-specific state. |
INotebookMetadata | Interface | Provides read-only access to notebook-level metadata such as title, default kernel, and file path. |
INotebookMigration | Interface | A single, host-independent transform that upgrades a NotebookModel from one format version to the next. Migrations operate purely on the parsed model and must not depend on the live extension host. Host-dependent resolution (for example, resolving a layout reference against the loaded extension set) belongs in the notebook wire-up stage, not here. |
INotebookOperations | Interface | Provides centralized notebook-level operations to all extensions. Accessed via Notebook. |
INotebookPanel | Interface | Contributes a panel to the notebook UI, shown alongside the notebook body and toggled from the host's panel controls. Implement this to surface information or actions that belong next to the notebook rather than inside a cell. |
INotebookPostProcessor | Interface | Extension capability for post-processing notebooks after deserialization and before serialization. Implementations can transform cells, inject metadata, or migrate legacy formats. |
INotebookSerializer | Interface | Serializes and deserializes notebooks to and from a specific file format (e.g. .ipynb, .dib, .vnb). The host selects the appropriate serializer based on FileExtensions. |
IOutputChannel | Interface | A two-way message channel between one cell output and the view that renders it, held for as long as the view is mounted rather than for the length of a cell execution. |
IOutputChannelHost | Interface | Session-scoped owner of every open IOutputChannel. Reached from OutputChannels, where null means the host cannot reach a rendered view and a caller should produce static output instead. |
IPanelContext | Interface | Context provided to INotebookPanel when the host asks whether a panel is available or asks it to produce content. Extends IVersoContext with the notebook state a panel is most likely to need. |
IPanelInteractionHandler | Interface | Capability interface for extensions that handle user actions raised from a panel owned by the same extension. Implement alongside an INotebookPanel on the same class (the common case) or as a sibling class that shares the panel's PanelId. Routing is by the (ExtensionId, PanelId) identity pair. |
ITheme | Interface | Defines a complete visual theme for the Verso notebook UI, including colors, typography, spacing, and syntax highlighting. |
IThemeContext | Interface | Provides read-only access to the active visual theme, including colors, fonts, and spacing. |
IToolbarAction | Interface | Represents an action that can appear on the notebook toolbar or in context menus. Actions expose a command that the user can trigger, with optional enable/disable logic. |
IToolbarActionContext | Interface | Context provided to toolbar actions, exposing the current cell selection and notebook state. Extends IVersoContext. |
IVariableStore | Interface | Provides shared variable storage for exchanging data between kernels within a notebook session. |
IVersoContext | Interface | Base context provided to all Verso extension operations, exposing shared services and capabilities. |
LayoutBridgeProtocol | Class | Identifies the version of the message protocol spoken across the isolated-layout boundary (the host and an Isolated renderer). |
LayoutCapabilities | Enum | Flags that describe which layout and editing operations a notebook layout supports. |
LayoutCapabilityException | Class | Thrown when a cell-collection mutation is attempted but the active layout does not support it. |
LayoutDefaults | Class | Well-known layout identity used as the startup default when a notebook does not name an active layout of its own. Centralizing it here keeps the host's default-selection logic from scattering the id as a literal, and gives a single place to repoint the startup layout. |
LayoutHostCapabilities | Class | Describes what a host can consume from an ILayoutEngine at the presentation layer. Passed to GetStaticAssetsAsync(IVersoContext, LayoutHostCapabilities) so the engine can return only the assets the host knows how to load, and reserved for a future render-format negotiation on RenderLayoutAsync(IReadOnlyList<CellModel>, IVersoContext). |
LayoutInteractionContext | Class | Context provided to OnLayoutInteractionAsync(LayoutInteractionContext) describing a layout-scoped interaction originated by the client. |
LayoutReference | Struct | Identity pair for a layout, composed of the owning extension id and the layout id declared on the extension's ILayoutEngine. The pair is the only valid identity for a layout from v1.0 onward: LayoutId alone is not unique because two extensions may each register a layout with the same id. |
LayoutRendererIsolation | Enum | Describes how a layout's renderer relates to the host's UI execution context. Host-neutral: the enum names the relationship, not any specific UI technology. |
LayoutRendererIsolationExtensions | Class | Wire-format helpers for LayoutRendererIsolation. |
LayoutRendererMountContext | Class | Context provided to OnRendererMountedAsync(LayoutRendererMountContext) describing a freshly mounted renderer instance. |
LayoutRendererPackage | Class | Bundle delivered by an Isolated layout so the host can instantiate the layout's renderer inside its isolation boundary. |
LayoutRendererUnmountContext | Class | Context provided to OnRendererUnmountedAsync(LayoutRendererUnmountContext) describing a renderer instance that is being torn down. |
LayoutScriptLoadMode | Enum | Controls how the browser loads the script relative to HTML parsing. |
LayoutScriptModuleKind | Enum | Discriminates between classic scripts and ES modules. |
LayoutScriptPlacement | Enum | Controls where the <script> tag is rendered relative to the layout root. |
LayoutStaticAsset | Class | A single presentation asset declared by an ILayoutEngine for the host to load alongside the layout. Returned from GetStaticAssetsAsync(IVersoContext, LayoutHostCapabilities) and consumed only by hosts that advertise the asset's content type in their LayoutHostCapabilities. |
LayoutStaticAssetLoadHints | Class | Load-order and timing hints applied to a script LayoutStaticAsset by the host when injecting the corresponding <script> tag. Hints are advisory: hosts that do not recognize a value fall back to defaults. |
MetadataChange | Class | A single notebook-level metadata difference, with both values pre-rendered as display strings. |
NotebookDiffResult | Class | The result of comparing a baseline notebook against the current notebook: an ordered list of per-cell diff entries plus notebook-level metadata changes. |
NotebookDiffSummary | Class | Tallied counts of each CellDiffKind in a diff result. |
NotebookFormatVersion | Class | Canonical version values and parsing for the .verso document schema. The format version is independent of the product/assembly version and is bumped only when the on-disk schema changes. |
NotebookMigrationLog | Class | Collects the outcome of running notebook format migrations: an ordered record of the steps applied and any warnings (for example, a document declaring a newer format than this build supports). Callers surface these to logs or diagnostics. |
NotebookModel | Class | Mutable model representing a full Verso notebook document, including its cells, metadata, and layout configuration. |
NotebookParameterDefinition | Class | Defines a typed parameter declared in notebook metadata. Used for parameterized notebook execution via the CLI or UI. |
OutputChannel | Enum | Identifies which of a kernel's text streams an output arrived on. This records where the text came from, not whether anything went wrong: a great many programs write progress bars, logging, and warnings to standard error while succeeding, so a channel is never on its own a reason to treat a cell as failed. Use IsError for that. |
OutputChannelMessage | Class | One message from a view to the owner of its channel. |
OutputChannelProtocol | Class | Identifies the version of the message protocol spoken across an output channel: the framework message types exchanged between a host and the view drawing one output, plus their payload shapes. |
PanelInteractionContext | Class | Context provided to OnPanelInteractionAsync(PanelInteractionContext) describing a panel-scoped action triggered by the user. |
ParameterDefinition | Class | Defines a parameter accepted by a magic command. |
Plural | Class | Chooses between the two forms of a message that counts something. |
PropertyField | Class | Defines a single editable property within a PropertySection. |
PropertyFieldOption | Class | Represents a selectable option for Select and MultiSelect property fields. |
PropertyFieldType | Enum | Specifies the input control type for a property field in the cell properties panel. |
PropertySection | Class | A named group of property fields displayed as a collapsible section in the cell properties panel. |
RenderResult | Class | Represents rendered content returned by a content renderer or output formatter. |
SettingConstraints | Class | Defines optional validation constraints for an extension setting. All properties are nullable; a null value means the constraint is not applied. |
SettingDefinition | Class | Declares a single configurable setting exposed by an extension. |
SettingType | Enum | Specifies the data type of an extension setting value. |
StringTable | Class | Reads every string in a resource set for one language, so an extension can hand its translations to something that cannot reach a System.Resources.ResourceManager itself. |
SyntaxColorMap | Class | Mutable mapping from syntax token type names to their display colors, expressed as hex strings. |
ThemeColorTokens | Class | Defines the complete set of color tokens for a Verso notebook theme. All values are CSS hex color strings (e.g. #FFFFFF). |
ThemeCss | Class | Builds the :root { --verso-*: ...; } custom property block that Verso surfaces style themselves from. |
ThemeElevation | Class | Defines the elevation (drop shadow) scale for a Verso notebook theme. Each value is a complete CSS box-shadow expression, or none. |
ThemeKind | Enum | Specifies the visual theme applied to the notebook UI. |
ThemeSpacing | Class | Defines the spacing and dimension constants for a Verso notebook theme. All values are in device-independent pixels. |
ThemeTypography | Class | Defines the typography settings for a Verso notebook theme, mapping each text role to a FontDescriptor. |
ToolbarPlacement | Enum | Specifies the location where a toolbar action or command is rendered. |
UnavailableExtensionInfo | Class | Describes a required extension that a notebook declared but could not be loaded on open, so the hosting layer can surface a non-fatal notice rather than failing the open. The notebook still opens; layouts or cells that depend on the extension may not work until it becomes available. |
VariableDescriptor | Class | Describes a variable stored in a kernel's variable store. |
VariableExplorerEntry | Class | Describes a variable for display in the variable explorer panel. |
VersoExtensionAttribute | Class | Marker attribute used to identify classes as Verso extensions for discovery. |