eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
14 lines (13 loc) • 727 B
TypeScript
import type { ToolSet, TypedToolCall } from "ai";
import type { ActionPresentationByCallId } from "#protocol/message.js";
import type { HarnessToolMap } from "#harness/types.js";
import type { RuntimeActionRequest } from "#shared/action-types.js";
export interface RuntimeActionRequestProjection {
readonly action: RuntimeActionRequest;
readonly presentationLabel?: string;
}
export declare function createPresentedRuntimeActionRequestFromToolCall(input: {
readonly toolCall: TypedToolCall<ToolSet>;
readonly tools: HarnessToolMap;
}): RuntimeActionRequestProjection;
export declare function collectActionPresentation(actions: readonly RuntimeActionRequestProjection[]): ActionPresentationByCallId | undefined;