Skip to main content
Type contracts exported by this package: interfaces, type aliases, and enums.

MigrationOptions

Options controlling migration behavior.

MigrationResult

Result of migrating a single markdown file.

ConvertedFile

A single converted .cant output file.

UnconvertedSection

A section of markdown that was not converted.

MarkdownSection

A parsed markdown section identified by heading. Used internally by the markdown parser to structure the input before classification and conversion.

SectionClassification

Classification of a markdown section for conversion purposes.

ExtractedProperty

A key-value property extracted from a markdown bullet list. Matches patterns like - **Key**: value or - Key: value.

ExtractedPermission

A permission entry extracted from markdown. Matches patterns like - Tasks: read, write or - Read and write tasks.

CantDocumentIR

Intermediate representation of a CANT document for serialization. This is the bridge between the converter’s output and the final .cant file text. Each field maps to a CANT construct.

CantBlockIR

A CANT block (agent, skill, hook, or workflow).

CantPropertyIR

A single property key-value pair.

NativeParseResult

Shape returned by the native Rust WASM cantParse function.

DirectiveType

ParsedCANTMessage