eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
27 lines (26 loc) • 928 B
TypeScript
import type { loadContext } from "#context/container.js";
import { createSubagentReceiptIdentity } from "#execution/tools/subagent/receipt-identity.js";
import type { JsonObject } from "#shared/json.js";
export interface SubagentTaskProjection {
readonly identity?: ReturnType<typeof createSubagentReceiptIdentity>;
readonly metadata: {
readonly agentId: string;
readonly kind: "subagent";
readonly mode: "local" | "remote";
readonly name: string;
};
readonly receipt: {
readonly agentId: string;
};
}
export declare function projectSubagentTask(input: {
readonly ctx: ReturnType<typeof loadContext>;
readonly input: JsonObject;
readonly name: string;
readonly nodeId: string;
readonly taskInput: {
readonly callId: string;
readonly parentSessionId: string;
readonly parentTurnId: string;
};
}): SubagentTaskProjection;