eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
21 lines (20 loc) • 1.16 kB
TypeScript
import type { DeliverHookPayload } from "#channel/types.js";
import type { MatchedAuthorizationCallback } from "#execution/authorization-callback-match.js";
import type { PendingAuthorizationState } from "#harness/authorization.js";
import type { ContextContainer } from "#context/container.js";
import type { SessionStateMap } from "#harness/types.js";
import type { UnstampedMessageStreamEvent } from "#protocol/message.js";
export declare function updateActivityRootForDelivery(input: {
readonly activeTurnId: string;
readonly ctx: ContextContainer;
readonly delivery?: DeliverHookPayload;
readonly sessionState: SessionStateMap | undefined;
readonly taskRootTurnId?: string;
}): void;
export declare function restoreAuthorizationActivity(input: {
readonly ctx: ContextContainer;
readonly matches: readonly MatchedAuthorizationCallback[];
readonly pending: PendingAuthorizationState;
}): readonly string[];
export declare function updateActivityBlockers(ctx: ContextContainer, event: UnstampedMessageStreamEvent): void;
export declare function clearActivityBlockers(ctx: ContextContainer, ids: readonly string[]): void;