UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

33 lines 1.1 kB
/** * Script Runner * * Utility for running framework scripts from handlers. * Script execution utility for CLI handlers. * * @implements @.aiwg/architecture/decisions/ADR-001-unified-extension-system.md * @source @src/cli/router.ts * @issue #33 */ import { HandlerResult, ScriptRunner, ScriptRunnerOptions } from './types.js'; /** * Default script runner implementation * * Delegates command execution to existing Node.js scripts. */ export declare class DefaultScriptRunner implements ScriptRunner { private frameworkRoot; constructor(frameworkRoot: string); /** * Run a Node.js script from the framework * * @param scriptPath - Relative path to script from framework root * @param args - Arguments to pass to script * @param options - Execution options */ run(scriptPath: string, args?: string[], options?: ScriptRunnerOptions): Promise<HandlerResult>; } /** * Create a script runner for the given framework root */ export declare function createScriptRunner(frameworkRoot: string): ScriptRunner; //# sourceMappingURL=script-runner.d.ts.map