Setu-TS
    Preparing search index...

    Interface GeneratedFile

    One file a schematic asks the command layer to create.

    interface GeneratedFile {
        bytes?: Uint8Array<ArrayBufferLike>;
        contents: string;
        managed?: boolean;
        path: string;
    }
    Index
    bytes?: Uint8Array<ArrayBufferLike>

    Exact binary contents, when present; used instead of the text contents.

    contents: string

    The file contents.

    managed?: boolean

    Marks a file the CLI owns outright and regenerates, exempting it from the overwrite refusal in findExisting.

    Used by generated seam barrels and workspace manifests, deployment files, and discovery maps. A failed batch restores their previous bytes.

    Declared per FILE rather than as a --force flag on the command, deliberately: a flag would lift the check for all fourteen schematics, so a mistyped setu g service user could clobber hand-written work. A schematic naming the files it owns keeps the exemption to paths the CLI wrote in the first place, and findExisting is the single chokepoint every write passes through, so it cannot be bypassed elsewhere.

    Omitted or false → current behavior, byte-identical.

    path: string

    Path to write, relative to the command's target directory.