@archastro/sdk
    Preparing search index...

    Interface RoutinePreset

    A named preset that defines the execution model and constraints for a routine. Presets are shared definitions; individual routines reference a preset by name.

    interface RoutinePreset {
        applicable_events: string[];
        chainable: boolean;
        description: string;
        label: string;
        name: string;
        sessionable: boolean;
        unique: boolean;
    }
    Index

    Properties

    applicable_events: string[]

    Event types that routines using this preset may be triggered by. ["*"] means the preset accepts any event type. Routines assigned to this preset will be rejected at creation time if their trigger event is not in this list.

    chainable: boolean

    Whether routines using this preset can be composed as a step inside a chain routine. Presets with sessionable or asynchronous execution models are not chainable.

    description: string

    Human-readable description of what the preset does and when to use it.

    label: string

    Human-readable display name for the preset, suitable for use in UIs.

    name: string

    Stable machine identifier for the preset, e.g. "do_task". Used when assigning a preset to a routine.

    sessionable: boolean

    Whether routines using this preset maintain a persistent conversation session across invocations. Sessionable presets do not expose instruction or session-mode configuration on individual routines.

    unique: boolean

    Whether at most one routine with this preset may exist per agent. Attempting to create a second routine with a unique preset on the same agent will be rejected.