Aller au contenu
English

ObservationScope

import type { ObservationScope } from "@elie-laloum/outpost";
  • executionIdOptionnel
    string | undefined
    Identifiant d’exécution du workflow, conservé lors de la reprise de son checkpoint.
  • taskKeyOptionnel
    string | undefined
    Clé déclarée de la tâche de workflow qui produit cet événement.
  • attemptOptionnel
    number | undefined
    Numéro de tentative de la tâche ; l’évaluation d’une condition peut utiliser zéro.
  • dispatchIdOptionnel
    string | undefined
    Identifiant unique d’un dispatch froid ou chaud, partagé entre ses passes.
  • passOptionnel
    number | undefined
    Numéro de passe de l’agent dans le dispatch.
  • subagentIdOptionnel
    string | undefined
    Identifiant de l’enfant intégré dans le dispatch, propagé depuis ses événements sans remplacer le contexte de workflow, tâche ou passe.
  • candidateOptionnel
    string | undefined
    Clé déclarée du candidat spéculatif.
export interface ObservationScope {
  readonly executionId?: string;
  readonly taskKey?: string;
  readonly attempt?: number;
  readonly dispatchId?: string;
  readonly pass?: number;
  readonly subagentId?: string;
  readonly candidate?: string;
}