Documentation
¶
Overview ¶
Package state resolves SDK-owned application state. It does not sandbox plugin code.
Index ¶
Constants ¶
const ( // StateDirectoryEnvironment names the host-selected, absolute application state root. StateDirectoryEnvironment = "OMNIVIEW_STATE_DIR" // WorkspaceFileEnvironment names the manifest whose profile must own the selected state root. WorkspaceFileEnvironment = "OMNIVIEW_WORKSPACE_FILE" )
Variables ¶
This section is empty.
Functions ¶
func OpenDirectory ¶
OpenDirectory opens a direct owned child without allowing symlink aliases.
func OpenPluginRoot ¶
OpenPluginRoot anchors operations to an installed plugin. Callers must close it.
func RejectSymlink ¶
RejectSymlink refuses aliases between owned state paths. Root operations also enforce containment if an ancestor changes between validation and access.
func ResolveRoot ¶
ResolveRoot consumes the host's resolved root, never choosing a workspace on the host's behalf. Only launches without workspace context may use production.
func ValidateComponent ¶
ValidateComponent rejects path syntax for plugin IDs and capability filenames.
Types ¶
This section is empty.