Skip to main content

Module plugin_metadata

Module plugin_metadata 

Source
Expand description

Pure validation for Mars-generated plugin tree markers.

Structs§

GeneratedRootFile
A package-root file Mars generates and owns.
PluginSentinel
ResolvedDependency

Enums§

SentinelError
Why a sentinel is not a marker for a generated plugin output directory.

Constants§

CLAUDE_ROOT_FILE
CURSOR_ROOT_FILE
GENERATED_ROOT_FILES
OPENCODE_ROOT_FILE
SENTINEL_FILE
SENTINEL_SCHEMA_VERSION

Functions§

generated_root_paths
Every package-root path Mars generates: the root files and their catalog directories.
is_generated_root_directory
is_generated_root_file
is_sha256
is_valid_sentinel
Whether bytes are a valid marker for a generated plugin output directory.
valid_entry
Whether a sentinel entry names a package-relative path and a sha256 hash.