UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

9 lines (8 loc) • 927 B
/** * The rewind verbs' refusals that happen before any work — the request or the session refused, nothing written: the closed set a host * maps to a 4xx by family. Not in it: `rewind.restore_failed` (the restore itself failed — before writing, e.g. an unreadable * session row, or after touching the disk where it may be partial; its `detail.permanence` says whether a retry can help) and the two rewind notices (`rewind.boundary_unrecorded`, `rewind.file_left_as_is`: * notice codes, in ENGINE_NOTICE_CODES). */ export declare const REWIND_REFUSAL_CODES: readonly ["rewind.invalid_spec", "rewind.conflicting_targets", "rewind.store_unconfigured", "rewind.capture_disabled", "rewind.files_env_unsupported", "rewind.session_busy", "rewind.session_parked", "rewind.target_off_branch", "rewind.unseen_later_turn", "rewind.child_scope_unsupported"]; export type RewindRefusalCode = (typeof REWIND_REFUSAL_CODES)[number];