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

TypeDescription
LayoutManagerClassManages the active layout engine and exposes capability flags. Handles metadata persistence for layout state across save/load cycles.
ScaffoldClassCore orchestrator: cell CRUD, kernel registry, execution dispatch, shared state, and subsystem hooks.
SettingsManagerClassOrchestrates the extension settings lifecycle: restore on open, save on close, update on change. Parallels LayoutManager in managing persisted metadata through the NotebookModel.
ThemeEngineClassManages the active theme and implements IThemeContext by delegating to the currently active ITheme extension.

Verso.Contexts

TypeDescription
ExecutionContextClassIExecutionContext implementation extending VersoContext with cell-specific execution state and display output routing.
MagicCommandContextClassIMagicCommandContext implementation extending VersoContext with magic-command-specific state: remaining code after the directive and suppression control.
NotebookMetadataContextClassINotebookMetadata implementation backed by a NotebookModel.
PanelContextClassIPanelContext 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.
SimpleFormatterContextClassMinimal IFormatterContext for variable inspection in the variable explorer.
VariablePreviewServiceClassGenerates human-readable value previews for the variable explorer.
VariableStoreClassThread-safe IVariableStore backed by a System.Collections.Concurrent.ConcurrentDictionary<>.
VersoContextClassBase IVersoContext implementation. Output routing is provided via an injected delegate.

Verso.Diffing

TypeDescription
NotebookDiffEngineClassComputes a cell-level structural diff between two notebook versions.

Verso.Execution

TypeDescription
BackgroundFaultMonitorClassCatches failures that happen on work a cell started but did not wait for, and routes them to the notebook they most likely belong to.
BackgroundFaultSinkClassHolds failures from work a notebook started but did not wait for, until there is a cell to report them against.
ExecutionResultClassImmutable result of a single cell execution.
IOutputChannelTransportInterfaceHow 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.
OutputChannelHostClassThe 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

TypeDescription
ExportOptionsClassOptions 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

TypeDescription
CellVisibilityPropertyProviderClassBuilt-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.
ExtensionDirectoryResolverClassResolves 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.
ExtensionHostClassDiscovers, validates, loads, and manages the lifecycle of all Verso extensions.
ExtensionLoadExceptionClassException thrown when one or more extensions fail validation or loading.
ExtensionTrustStoreClassPersists 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.TrustEntryClassOne stored trust decision.
ExtensionValidationErrorClassDescribes a single validation failure encountered when loading an extension.

Verso.Extensions.CellTypes

TypeDescription
HtmlCellTypeClassHTML cell type combining the HTML renderer with the HTML kernel. Registered as the entry point for HTML cells via VersoExtensionAttribute.
MarkdownCellTypeClassBuilt-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.
MermaidCellTypeClassMermaid cell type combining the Mermaid renderer with the Mermaid kernel. Registered as the entry point for Mermaid cells via VersoExtensionAttribute.
ParametersCellTypeClassBuilt-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

TypeDescription
CollectionFormatterClassFormats IEnumerable collections as HTML tables with property-inferred column headers.
ExceptionFormatterClassFormats exceptions as structured HTML with CSS class hooks for styling.
HtmlFormatterClassFormats objects that expose a public parameterless ToHtml() method.
ImageFormatterClassFormats byte arrays as inline base64-encoded PNG images.
ObjectFormatterClassFormats arbitrary objects as HTML tables showing public properties and fields. Acts as a catch-all for types not handled by more specific formatters.
PrimitiveFormatterClassFormats primitive and common value types as plain text.
SvgFormatterClassFormats SVG strings as inline HTML output.

Verso.Extensions.Kernels

TypeDescription
HtmlKernelClassLanguage kernel for HTML cells. Applies @variable substitution and returns the result as text/html. Accessed through HtmlCellType; not independently registered.
MermaidKernelClassLanguage 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

TypeDescription
DashboardLayoutClassGrid-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.GridPositionClassDescribes a cell's position and size within the 12-column grid.
NotebookLayoutClassThe 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.
PresentationLayoutClassRead-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

TypeDescription
ExtensionPackageRefClassParses 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.
ExtensionSourceEnumWhere 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.
LocalInstallResultClassThe 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.
MarketplaceInstallResultClassThe result of ensuring a package is installed on disk: the concrete resolved version and the managed-directory assembly paths to load.
MarketplaceLoaderClassShared 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.LocalInstallOutcomeClassThe 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).
MarketplaceSearchItemClassA single package returned by a marketplace search.
NuGetMarketplaceServiceClassSearches 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

TypeDescription
HtmlCellRendererClassRenders HTML cells. Collapses the input editor on execute to show only the rendered output. Owned by HtmlCellType; not independently registered.
MarkdownRendererClassBuilt-in Markdown cell renderer using Markdig with advanced extensions.
MermaidCellRendererClassRenders Mermaid diagram cells. Collapses the input editor on execute to show only the rendered diagram. Owned by MermaidCellType; not independently registered.
ParametersCellRendererClassRenders notebook parameters as an interactive HTML form and handles parameter interactions (update, add, remove, submit) via ICellInteractionHandler.

Verso.Extensions.Themes

TypeDescription
VersoDarkThemeClassBuilt-in dark theme for Verso notebooks, inspired by VS Code Dark+.
VersoHighContrastThemeClassBuilt-in high-contrast theme for Verso notebooks, optimized for accessibility. All foreground/background pairs meet WCAG 2.1 AA contrast requirements (≥ 4.5:1).
VersoLightThemeClassBuilt-in light theme for Verso notebooks, inspired by VS Code Light+.

Verso.Extensions.ToolbarActions

TypeDescription
ClearOutputsActionClassToolbar action that clears all cell outputs in the notebook.
ExportHtmlActionClassToolbar action that exports the notebook as a self-contained HTML document.
ExportMarkdownActionClassToolbar action that exports the notebook as a Markdown document.
ExportVersoActionClassToolbar 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).
RestartKernelActionClassToolbar action that restarts the active language kernel.
RunAllActionClassToolbar action that executes all cells in the notebook.
RunCellActionClassToolbar action that executes the currently selected cell(s).
SwitchLayoutActionClassToolbar action that cycles to the next available layout engine.
SwitchThemeActionClassToolbar action that cycles to the next available theme.

Verso.Extensions.Utilities

TypeDescription
CellViewStateReaderClassReads 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.
CellVisibilityResolverClassResolves 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.
LegacyMetadataMigratorClassRenames 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).
VariableSubstitutionClassShared utility for @variable token substitution used by HTML and Mermaid kernels. Uses the same @(\w+) pattern as SQL parameter binding.

Verso.Kernels

TypeDescription
CSharpKernelClassBuilt-in C# language kernel powered by Roslyn. Executes C# code in notebook cells with chained state, code completions, diagnostics, and hover information.
CSharpKernelOptionsClassConfiguration options for the C# language kernel.
ScriptGlobalsClassHost 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

TypeDescription
VersoCulturesClassThe languages Verso ships an interface in, and the rules for picking one.

Verso.MagicCommands

TypeDescription
AboutMagicCommandClass#!about outputs Verso version, runtime, and loaded extensions; suppresses execution.
ExtensionMagicCommandClass#!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.
ImportMagicCommandClass#!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.
NuGetMagicCommandClass#!nuget Package [Version] resolves a NuGet package and stores assembly paths in the variable store for the kernel to pick up.
RestartMagicCommandClass#!restart [kernelId] restarts the specified kernel (or default); suppresses execution.
TimeMagicCommandClass#!time signals the pipeline to report elapsed time after kernel execution.

Verso.Parameters

TypeDescription
ParameterValueParserClassParses string values into typed CLR objects based on parameter type identifiers. Shared between the engine (interaction handler) and the CLI (ParameterTypeParser).

Verso.Serializers

TypeDescription
DibSerializerClassImport-only serializer for Polyglot Notebooks .dib files.
JupyterPolyglotPostProcessorClassTranslates 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.
JupyterSerializerClassSerializer for Jupyter .ipynb notebooks (nbformat v4).
LanguageDirectiveMapClassShared 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.
MarkdownSerializerClassSerializer 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.
VersoSerializerClassSerializer for the native .verso file format using System.Text.Json.

Verso.Serializers.Migrations

TypeDescription
NotebookMigrationPipelineClassUpgrades 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

TypeDescription
StubExtensionHostContextClassStub IExtensionHostContext that reflects registered kernels via a delegate and returns empty lists for all other extension categories.
StubNotebookOperationsClassNo-op implementation of INotebookOperations for use when no Scaffold is available.
StubThemeContextClassStub 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.

TypeDescription
CellContainerInfoClassDescribes the layout position and size of a cell container within the notebook canvas.
CellDiffEntryClassA single cell's participation in a notebook diff.
CellDiffKindEnumClassifies how a cell differs between a baseline notebook and the current notebook.
CellInteractionContextClassContext provided to OnCellInteractionAsync(CellInteractionContext) describing the interaction that occurred in a rendered cell.
CellModelClassMutable model representing a single cell within a Verso notebook.
CellOutputClassRepresents the output produced by executing a notebook cell.
CellRegionEnumSpecifies which region of a cell originated an interaction.
CellVisibilityHintEnumDeclares a cell type's default visibility nature as a hint to layout engines.
CellVisibilityStateEnumSpecifies the resolved visibility of a cell within a specific layout.
CompletionClassRepresents a single code-completion item offered by a kernel's language service.
ConsentKindEnumWhat kind of thing a consent request covers, so a host can word its prompt for it.
DiagnosticClassRepresents a code diagnostic (error, warning, or informational message) reported by a kernel's language service.
DiagnosticSeverityEnumIndicates the severity level of a diagnostic message reported by the notebook or a cell.
DisplayContextClassProvides 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.
DisplayExtensionsClassExtension methods for displaying objects inline during cell execution.
ExtensionConsentInfoClassDescribes something that requires user consent before it is loaded or installed.
ExtensionInfoClassDescribes a loaded extension, including its metadata, current status, and capability list.
ExtensionStatusEnumIndicates whether an extension is currently enabled or disabled at runtime.
FontDescriptorClassDescribes the font settings used to render text within a notebook cell.
HoverInfoClassRepresents hover tooltip information returned by a kernel's language service.
ICellInteractionHandlerInterfaceSupplemental 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.
ICellPropertyProviderInterfaceContributes 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.
ICellRenderContextInterfaceContext provided to cell renderers when rendering a cell's visual output. Extends IVersoContext with cell layout and state information.
ICellRendererInterfaceRenders the input editor area and output display area of a cell. Each renderer is associated with a specific cell type.
ICellTypeInterfaceDefines 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.
IDataFormatterInterfaceFormats 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).
IExecutionContextInterfaceContext provided to language kernels during cell code execution. Extends IVersoContext with execution-specific state.
IExtensionInterfaceBase interface for all Verso extensions. Provides identity, metadata, and lifecycle hooks that the extension host calls when loading and unloading an extension.
IExtensionHostContextInterfaceProvides access to the loaded extensions in the Verso host, grouped by category.
IExtensionSettingsInterfaceAugmentation 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.
IFormatterContextInterfaceContext provided to data formatters when converting objects to display representations. Extends IVersoContext with formatting constraints.
ILanguageKernelInterfaceRepresents 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.
ILayoutEngineInterfaceManages the spatial arrangement of cells within a notebook. Layout engines support different paradigms such as linear (top-to-bottom), grid, or freeform canvas layouts.
ILayoutFrameChannelInterfaceServer-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.
ILayoutInteractionHandlerInterfaceCapability 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.
ILayoutLifecycleHandlerInterfaceCapability 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.
IMagicCommandInterfaceDefines 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.
IMagicCommandContextInterfaceContext provided to magic command handlers during execution. Extends IVersoContext with command-specific state.
INotebookMetadataInterfaceProvides read-only access to notebook-level metadata such as title, default kernel, and file path.
INotebookMigrationInterfaceA 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.
INotebookOperationsInterfaceProvides centralized notebook-level operations to all extensions. Accessed via Notebook.
INotebookPanelInterfaceContributes 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.
INotebookPostProcessorInterfaceExtension capability for post-processing notebooks after deserialization and before serialization. Implementations can transform cells, inject metadata, or migrate legacy formats.
INotebookSerializerInterfaceSerializes and deserializes notebooks to and from a specific file format (e.g. .ipynb, .dib, .vnb). The host selects the appropriate serializer based on FileExtensions.
IOutputChannelInterfaceA 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.
IOutputChannelHostInterfaceSession-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.
IPanelContextInterfaceContext 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.
IPanelInteractionHandlerInterfaceCapability 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.
IThemeInterfaceDefines a complete visual theme for the Verso notebook UI, including colors, typography, spacing, and syntax highlighting.
IThemeContextInterfaceProvides read-only access to the active visual theme, including colors, fonts, and spacing.
IToolbarActionInterfaceRepresents 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.
IToolbarActionContextInterfaceContext provided to toolbar actions, exposing the current cell selection and notebook state. Extends IVersoContext.
IVariableStoreInterfaceProvides shared variable storage for exchanging data between kernels within a notebook session.
IVersoContextInterfaceBase context provided to all Verso extension operations, exposing shared services and capabilities.
LayoutBridgeProtocolClassIdentifies the version of the message protocol spoken across the isolated-layout boundary (the host and an Isolated renderer).
LayoutCapabilitiesEnumFlags that describe which layout and editing operations a notebook layout supports.
LayoutCapabilityExceptionClassThrown when a cell-collection mutation is attempted but the active layout does not support it.
LayoutDefaultsClassWell-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.
LayoutHostCapabilitiesClassDescribes 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).
LayoutInteractionContextClassContext provided to OnLayoutInteractionAsync(LayoutInteractionContext) describing a layout-scoped interaction originated by the client.
LayoutReferenceStructIdentity 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.
LayoutRendererIsolationEnumDescribes 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.
LayoutRendererIsolationExtensionsClassWire-format helpers for LayoutRendererIsolation.
LayoutRendererMountContextClassContext provided to OnRendererMountedAsync(LayoutRendererMountContext) describing a freshly mounted renderer instance.
LayoutRendererPackageClassBundle delivered by an Isolated layout so the host can instantiate the layout's renderer inside its isolation boundary.
LayoutRendererUnmountContextClassContext provided to OnRendererUnmountedAsync(LayoutRendererUnmountContext) describing a renderer instance that is being torn down.
LayoutScriptLoadModeEnumControls how the browser loads the script relative to HTML parsing.
LayoutScriptModuleKindEnumDiscriminates between classic scripts and ES modules.
LayoutScriptPlacementEnumControls where the <script> tag is rendered relative to the layout root.
LayoutStaticAssetClassA 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.
LayoutStaticAssetLoadHintsClassLoad-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.
MetadataChangeClassA single notebook-level metadata difference, with both values pre-rendered as display strings.
NotebookDiffResultClassThe result of comparing a baseline notebook against the current notebook: an ordered list of per-cell diff entries plus notebook-level metadata changes.
NotebookDiffSummaryClassTallied counts of each CellDiffKind in a diff result.
NotebookFormatVersionClassCanonical 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.
NotebookMigrationLogClassCollects 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.
NotebookModelClassMutable model representing a full Verso notebook document, including its cells, metadata, and layout configuration.
NotebookParameterDefinitionClassDefines a typed parameter declared in notebook metadata. Used for parameterized notebook execution via the CLI or UI.
OutputChannelEnumIdentifies 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.
OutputChannelMessageClassOne message from a view to the owner of its channel.
OutputChannelProtocolClassIdentifies 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.
PanelInteractionContextClassContext provided to OnPanelInteractionAsync(PanelInteractionContext) describing a panel-scoped action triggered by the user.
ParameterDefinitionClassDefines a parameter accepted by a magic command.
PluralClassChooses between the two forms of a message that counts something.
PropertyFieldClassDefines a single editable property within a PropertySection.
PropertyFieldOptionClassRepresents a selectable option for Select and MultiSelect property fields.
PropertyFieldTypeEnumSpecifies the input control type for a property field in the cell properties panel.
PropertySectionClassA named group of property fields displayed as a collapsible section in the cell properties panel.
RenderResultClassRepresents rendered content returned by a content renderer or output formatter.
SettingConstraintsClassDefines optional validation constraints for an extension setting. All properties are nullable; a null value means the constraint is not applied.
SettingDefinitionClassDeclares a single configurable setting exposed by an extension.
SettingTypeEnumSpecifies the data type of an extension setting value.
StringTableClassReads 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.
SyntaxColorMapClassMutable mapping from syntax token type names to their display colors, expressed as hex strings.
ThemeColorTokensClassDefines the complete set of color tokens for a Verso notebook theme. All values are CSS hex color strings (e.g. #FFFFFF).
ThemeCssClassBuilds the :root { --verso-*: ...; } custom property block that Verso surfaces style themselves from.
ThemeElevationClassDefines the elevation (drop shadow) scale for a Verso notebook theme. Each value is a complete CSS box-shadow expression, or none.
ThemeKindEnumSpecifies the visual theme applied to the notebook UI.
ThemeSpacingClassDefines the spacing and dimension constants for a Verso notebook theme. All values are in device-independent pixels.
ThemeTypographyClassDefines the typography settings for a Verso notebook theme, mapping each text role to a FontDescriptor.
ToolbarPlacementEnumSpecifies the location where a toolbar action or command is rendered.
UnavailableExtensionInfoClassDescribes 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.
VariableDescriptorClassDescribes a variable stored in a kernel's variable store.
VariableExplorerEntryClassDescribes a variable for display in the variable explorer panel.
VersoExtensionAttributeClassMarker attribute used to identify classes as Verso extensions for discovery.