Expand description
One-pass package classification, normalization, selection, and strict reading.
Structs§
- Payload
Entry - Prepared
- Prepared
Definition - Prepared
Manifest - Prepared
McpServer - An MCP server translated from another dialect’s declaration, as the
mcp/<name>/mcp.tomlit is written to. The same shape as a definition’s output so a caller writes it the same way.
Enums§
- Change
Record - Classification
- What a package root is, once its manifest, declared dialect and contents have been weighed.
- Prepare
Context
Constants§
- LOCAL_
SOURCE_ DIR - The directory below a consumer project that holds its own authored content.
Functions§
- prepare
- Prepare one rooted package without reading payload bytes.
- prepare_
for_ migration prepareasmars migrateruns it: a definition it could repair is repaired innormalized_bytes, for the migration to write back to the authored file.- project_
authored_ root - Where a project directory’s authored content lives and how it is read, from its
mars.tomlbytes: the project root as aPackage, or, when the manifest is consumer configuration with no[package], its.mars-srcasAuthoredLocal. A caller that writes to the authored files, asmars migratedoes, asks here instead of parsingmars.tomlitself.