/** * src/runtime/tools/index.ts, barrel and factory for the phased tool executor. * * Usage: * ```ts * import { createPhasedExecutor } from './runtime/tools/index.js'; * * const executor = createPhasedExecutor({ * enableHooks: true, * enablePermissions: true, * enableEvents: true, * }); * const result = await executor.execute(call, tool, context); * ``` */ export type { ToolExecutionPhase, PhaseResult, ToolExecutionRecord, ExecutorConfig } from './types.js'; export type { ToolRuntimeContext, RuntimeStoreAccess, TaskHooks, } from './context.js'; export { PhasedToolExecutor } from './phased-executor.js'; export * from './phases/index.js'; import { PhasedToolExecutor } from './phased-executor.js'; import type { ExecutorConfig } from './types.js'; import type { ConfigManager } from '../../config/manager.js'; /** * createPhasedExecutor, factory with sane defaults. * * Merges the provided partial config over the defaults so callers only * need to specify what they want to change. When a ConfigManager is supplied, * the default per-phase budget limits are sourced from runtime.toolBudget.* * (a per-call ToolRuntimeContext.budget still overrides). An explicit * config.defaultBudget wins over the config-derived one. * * @param config - Optional overrides for ExecutorConfig. * @param configManager - Optional config source for runtime-backed defaults. * @returns A fully configured PhasedToolExecutor instance. */ export declare function createPhasedExecutor(config?: Partial, configManager?: Pick): PhasedToolExecutor; //# sourceMappingURL=index.d.ts.map