import { createUniversalRuntime } from './universal.js';
import { FilesystemCapabilityModule, EditCapabilityModule, BashCapabilityModule, SearchCapabilityModule, WebCapabilityModule, } from '../capabilities/index.js';
/**
 * Create core Node.js capability modules for the CLI.
 */
function createNodeCapabilityModules() {
    return [
        new FilesystemCapabilityModule(),
        new EditCapabilityModule(),
        new BashCapabilityModule(),
        new SearchCapabilityModule(),
        new WebCapabilityModule(),
        // Note: GlobCapabilityModule removed - it's deprecated and duplicates the Search tool from SearchCapabilityModule
    ];
}
export async function createNodeRuntime(options) {
    const coreModules = createNodeCapabilityModules();
    const additionalModules = options.additionalModules ?? [];
    return createUniversalRuntime({
        ...options,
        additionalModules: [...coreModules, ...additionalModules],
    });
}
//# sourceMappingURL=node.js.map