@volter/live
v0.5.219
Published
Attach to Volter Editor sessions for document and modeling automation.
Readme
Live client
Attach to an existing editor session and drive its documents, contributed verbs, inspection, history and registered project tools. This package never starts a session or runs an integration outside the editor tab.
import { connect } from '@volter/live';
const { editor } = await connect('/path/to/project');
await editor.contributedVerb('<package>-status');Connection selection matches the project's canonical path and refuses a missing
or mismatched session. A session answers only requests that carry its connection
token, which this package reads from the session's entry in the owner's session
registry (~/.volter/editor-sessions.json); a script's own request to a session
goes through sessionFetch from @volter/live/registry-format, which adds it. Runtime JavaScript is bundled for Node; source and
declarations ship beside it. The running document's registered commands remain
the authority for the operations an integration exposes.
