AutoMovie API
    Preparing search index...

    Interface IAutoMovieScriptIntentNode

    The root of the screenplay tree: the film's single top-level statement.

    validateScriptTree requires exactly one node with parent: null and requires it to be the intent; an intent with a parent is refused, so a tree has one intent. When a tree is present, the plain-text screenplay takes its logline and theme header from this node rather than from the flat script.

    interface IAutoMovieScriptIntentNode {
        id: string;
        interactsWith: string[];
        kind: "intent";
        parent: string | null;
        payload: IAutoMovieIntentPayload;
        temporal: string | null;
    }

    Hierarchy (View Summary)

    Index
    id: string

    Non-blank id, unique across the whole tree.

    interactsWith: string[]

    Ids of the nodes this one plays against, such as the opponent's beat in a duel. Each must name another node.

    kind: "intent"

    Selects the intent root.

    parent: string | null

    Id of the node this one makes concrete, or null for the single intent root. Feedback on a beat walks this chain upward, so a correction can target the beat, a scene, an act or the intent.

    The film's logline and theme as the tree states them.

    temporal: string | null

    Id of the node this one follows on the timeline, such as the previous beat, or null when nothing precedes it. It must name another node.