UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

37 lines (36 loc) 1.27 kB
import { z } from "#compiled/zod/index.js"; import type { JsonObject } from "#shared/json.js"; import type { Node } from "#shared/node.js"; import type { ModuleSourceRef } from "#shared/source-ref.js"; import type { AgentSourceOwner, CompiledModuleBinding } from "#compiler/source-graph.js"; export interface CompiledDynamicSubagentDefinition extends Readonly<ModuleSourceRef> { readonly build?: { readonly externalDependencies?: readonly string[]; }; readonly eventNames: readonly string[]; } /** * Remote subagent entry owned by one compiled agent node manifest. Like * channels, remote subagents are node-local manifest entries rather than a * separate graph-level list. */ export type CompiledRemoteAgentNode = Readonly<ModuleSourceRef & Node & { description: string; backing: { readonly kind: "resource"; readonly sourcePath: string; }; binding: CompiledModuleBinding; entryPath: string; name: string; owner: AgentSourceOwner; parentNodeId: string; outputSchema?: JsonObject; path: string; rootPath: string; url?: string; }>; /** * Zod schema for one compiled remote subagent entry. */ export declare const compiledRemoteAgentNodeSchema: z.ZodType<CompiledRemoteAgentNode>;