Skip to main content

Crate lenso_app_authoring

Crate lenso_app_authoring 

Source
Expand description

Validated, atomic authoring operations for one Lenso App Plugin Root.

Every mutation resolves the complete candidate against the Host Catalog before changing visible App-owned files. Runtime Generation staging and switching remain the responsibility of the running Host.

Modules§

host_authoring
Closed Host lowering and admission above the shared Plugin Root resolver.
identity
Canonical identities shared by Plugin authoring and catalog consumers.

Structs§

DependencySelectionsDocument
LocalPluginRootAuthority
Default configuration authority backed by one visible App Plugin Root.
PluginAuthoringState
Read-only authoring state for one Plugin Release visible to the App owner.
PluginConfigurationAuthoritySource
Stable provenance for the authority that owns Plugin configuration publication.
PluginConfigurationDiagnostic
One stable reason a configuration proposal cannot proceed automatically.
PluginConfigurationProposal
Read-only review evidence for one exact Plugin Instance configuration change.
PluginConfigurationPublication
Evidence returned after compare-and-swap publication succeeds.
PluginConfigurationSourceConflict
Exact configuration source changed after a proposal was reviewed.
PluginConfigurationSourceDigest
A digest of the exact target configuration source, including absence.
PluginInstanceAuthoringState
Read-only authoring state for one Plugin Instance.
PluginRequirementMigration
Exact old-to-new public requirement identity mapping in a reviewed migration.
PluginRootAuthoringState
Complete read-only management projection for the current Plugin Root.
PluginRootChangeProposal
Immutable review evidence for one coordinated Plugin Root publication.
PluginRootChangePublication
Evidence returned after one coordinated Plugin Root transaction commits.
PluginRootChangeSet
A complete change request that can coordinate multiple configurations and choices.
PluginRootConfigurationChange
One exact TOML source to include in a coordinated Plugin Root change.
PluginRootRevision
A deterministic semantic revision of one App’s Plugin Root.
PluginRootRevisionConflict
A proposal was published against a Plugin Root that has since changed.
PluginRootRevisionParseError
Text did not contain one complete SHA-256 Plugin Root revision.
PluginRootSourceDigest
Digest of one exact Plugin Root source path, including absence.
PluginSelectionPublication
One committed Plugin Instance selection change.
PreparedBundleMutation
Stable staged bytes and candidate resolution for one pending Bundle mutation.
RuntimeAppResolution
Exact runtime input resolved from immutable distribution authority and one external Root.

Enums§

BundleMutation
Desired root-Bundle mutation validated before visible bytes change.
PluginConfigurationApplication
The Host action required after publication.
PluginConfigurationProposalStatus
Whether a configuration proposal can proceed to publication.
PluginInstanceOrigin
Authority that introduced one visible Plugin Instance.
PluginInstanceSelection
Current desired selection derived from the Plugin Root.

Constants§

DEPENDENCY_SELECTIONS_SCHEMA
DEPENDENCY_SELECTIONS_SCHEMA_VERSION

Traits§

PluginConfigurationAuthority
Host-side port for inspecting, proposing, and publishing Plugin configuration.
PluginSelectionAuthority
Host-side port for enabling or disabling one Plugin Instance.

Functions§

add_bundle
Adds one verified external Plugin Bundle after resolving the complete candidate App.
configure_instance
Atomically writes one typed Instance patch after resolving the complete candidate App.
inspect_plugin_root
Inspects the current Host Catalog and Plugin Root without changing either.
load_resolved_app
Resolves the App selected by one project root’s Host Catalog and Plugin Root.
prepare_bundle_mutation
Copies one candidate into stable staging, validates it once, and resolves the complete candidate App before any Plugin Root bytes change.
propose_instance_configuration
Builds review evidence without changing the Plugin Root.
propose_plugin_root_changes
Builds review evidence for a coordinated set of Plugin Root changes without publishing it.
publish_instance_configuration
Publishes an exact reviewed proposal when its base revision is still current.
publish_plugin_root_changes
Publishes one reviewed multi-file change with revision, source, and Host fencing.
remove_instance_difference
Removes one App-owned Instance difference after validating the remaining App.
remove_plugin
Moves one root-supplied Plugin to recoverable trash after validating the remaining App.
replace_dependency_selections
Replaces the complete saved choice set after validating one complete candidate App.
resolve_runtime_app
Resolves an external Plugin Root without allowing it to replace distribution authority.
set_dependency_selection
Saves one exact App-owned dependency choice after validating the complete candidate App.
set_dependency_selections
Atomically applies one or more App-owned dependency choices as one validated candidate.
set_instance_disabled
Atomically changes one Instance selection marker after candidate resolution.
set_instance_enabled_fenced
Atomically changes one Instance selection after checking the exact current revision.
validate_bundle_mutation
Verifies one Bundle and resolves the complete candidate App for an add or replacement.