eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
1 lines • 1.49 kB
JavaScript
import{nameIs}from"../rule.js";const WORKFLOW_RULES=[{id:`workflow-store-version-mismatch`,name:`Local session store incompatible`,tags:[`workflow`],when:nameIs(`DataDirVersionError`),message:"The local workflow store (`.eve/.workflow-data`) was created by an incompatible version.",hint:`Remove that directory to reset local sessions, then retry.`},{id:`workflow-store-inaccessible`,name:`Local session store inaccessible`,tags:[`workflow`],when:nameIs(`DataDirAccessError`),message:"The local workflow store (`.eve/.workflow-data`) could not be created or accessed.",hint:`Check filesystem permissions and free disk space, then retry.`},{id:`workflow-replay-divergence`,name:`Durable replay diverged`,tags:[`workflow`],when:nameIs(`ReplayDivergenceError`),message:`The durable workflow replay diverged from the recorded run — usually caused by code changing mid-session in a way the runtime cannot reconcile.`,hint:"Start a fresh session (`/new` in `eve dev`)."},{id:`workflow-event-log-corrupted`,name:`Durable event log corrupted`,tags:[`workflow`],when:nameIs(`CorruptedEventLogError`),message:`The durable event log for this run is corrupted.`,hint:"Remove `.eve/.workflow-data` to reset local sessions, then retry."},{id:`workflow-run-not-found`,name:`Session run not found`,tags:[`workflow`],when:nameIs(`WorkflowRunNotFoundError`),message:`This session's durable run no longer exists (the local store was reset or pruned).`,hint:`Start a new session.`}];export{WORKFLOW_RULES};