eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
44 lines • 2.39 kB
TypeScript
export declare const WORKFLOW_USE_STEP: unique symbol;
export declare const WORKFLOW_SET_ATTRIBUTES: unique symbol;
export declare const WORKFLOW_CREATE_HOOK: unique symbol;
export declare const WORKFLOW_SLEEP: unique symbol;
export declare const WORKFLOW_CONTEXT: unique symbol;
export declare const WORKFLOW_GET_STREAM_ID: unique symbol;
export declare const STABLE_ULID: unique symbol;
export declare const STREAM_NAME_SYMBOL: unique symbol;
export declare const STREAM_TYPE_SYMBOL: unique symbol;
export declare const STREAM_FRAMING_SYMBOL: unique symbol;
/**
* Stamped on a real `WritableStream` (the user-visible `serialize.writable`
* returned from a step-side reviver or step-context `getWritable()`) to
* record the `runId` of the workflow run that owns the underlying server
* stream. Used together with `STREAM_NAME_SYMBOL`.
*
* When `getExternalReducers.WritableStream` (the dehydration path used by
* `start()`) sees both symbols on a writable, it includes the `runId` in
* the descriptor it emits. The child run's step-side reviver then opens
* a server writable against the original `(runId, name)` and resolves
* that run's encryption key directly — so the child's writes land on
* the parent's stream as-is, with no client process in the loop. That
* keeps the forwarding alive for the full lifetime of the child run,
* not just for the parent step that initiated `start()`.
*/
export declare const STREAM_SERVER_RUN_ID_SYMBOL: unique symbol;
/**
* Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` when the deployment that
* owns a forwarded writable stream is known. Cross-deployment consumers use
* it to resolve the owning run's encryption key without loading the run first.
*/
export declare const STREAM_SERVER_DEPLOYMENT_ID_SYMBOL: unique symbol;
export declare const BODY_INIT_SYMBOL: unique symbol;
export declare const WEBHOOK_RESPONSE_WRITABLE: unique symbol;
/**
* Symbol used to store the class registry on globalThis in workflow mode.
* This allows the deserializer to find classes by classId in the VM context.
*/
export declare const WORKFLOW_CLASS_REGISTRY: unique symbol;
export declare const ABORT_STREAM_NAME: unique symbol;
export declare const ABORT_HOOK_TOKEN: unique symbol;
export declare const ABORT_LISTENER_ATTACHED: unique symbol;
export declare const ABORT_READER_CANCEL: unique symbol;
//# sourceMappingURL=symbols.d.ts.map