import "./agent-step.js"; type AgentCommandRunner = typeof import("../../commands/agent.js").agentCommandFromIngress; type AgentStepTesting = { setDepsForTest( overrides?: Partial<{ agentCommandFromIngress: AgentCommandRunner; }>, ): void; }; type AgentStepTestApi = { testing: AgentStepTesting; }; function getTestApi(): AgentStepTestApi { return (globalThis as Record)[ Symbol.for("openclaw.agentStepTestApi") ] as AgentStepTestApi; } export const testing = getTestApi().testing;