vigiles API reference
    Preparing search index...

    Type Alias DeliveryChannel

    DeliveryChannel:
        | "additional-context"
        | "plain-stdout"
        | "exit-code-feedback"
        | "decision-reason"

    A route by which hook text reached the model.

    Type Declaration

    • "additional-context"

      hookSpecificOutput.additionalContext on an event honouring inject.

    • "plain-stdout"

      Plain (non-JSON) stdout at exit 0, on an event honouring stdout-context.

    • "exit-code-feedback"

      stderr at the block exit code, on an event honouring feedback.

    • "decision-reason"

      JSON decision: "block" + reason, on an event honouring feedback.