G-code Preview — API Reference
    Preparing search index...

    @chestnutlabs/gcode-dialects — dialect adapter contracts & registry (DD-005).

    Phase 1 (#73): behavioral contracts, buffered annotation sink, and the composition runner. Built-in vendor adapters arrive in phases 3–5. Depends only on @chestnutlabs/toolpath-core; the parser consumes the runner through its own structural DialectRunnerFactory type (worker entries compose the two — DD-002 §5 boundaries).

    interface DetectInput {
        containerMeta?: Record<string, string>;
        headText: string;
        tailText: string;
    }
    Index

    Properties

    containerMeta?: Record<string, string>

    Container metadata when the input came through gcode-containers (phase 2).

    headText: string

    First decoded window (≤ 64 KB).

    tailText: string

    Last decoded window (≤ 16 KB); '' for non-seekable streams until finalize (§4.5).