PrivateidMap from documentId → entry
PrivateuriMap from documentUri → documentId Reverse lookup for when we have URI but need ID
Clear all registrations (for testing)
Get webview panel for active document Checks active custom editor tab (notebook or lexical)
Webview panel or undefined if no active document with webview
Get all registered document IDs
Array of document IDs
Get all registered documents of a specific type
Document type to filter by
Array of registry entries
Get registry statistics
Number of registered lexical documents
Number of registered notebooks
Total number of registered documents
Get webview panel for a document
Document URI
Webview panel or undefined if not registered or no webview
Check if a document is registered
Document identifier
True if registered
Register a document with its ID, URI, and type
Document identifier (UID for remote, URI for local)
VS Code document URI
Document type (notebook or lexical)
OptionalwebviewPanel: WebviewPanelOptional webview panel for tool execution messaging
Unregister a document by its URI (called when webview is closed)
VS Code document URI
Bidirectional registry for document ID ↔ document URI mapping Handles both notebooks (.ipynb) and lexical documents (.lexical)