import { createBashTools } from '../tools/bashTools.js';
export class BashCapabilityModule {
    id = 'capability.bash';
    options;
    constructor(options = {}) {
        this.options = options;
    }
    async create(context) {
        const workingDir = this.options.workingDir ?? context.workingDir;
        return {
            id: this.options.id ?? 'bash.tools.shell',
            description: this.options.description ?? 'Shell execution with stdout/stderr summaries for reproducibility.',
            toolSuite: {
                id: 'bash',
                description: 'Shell access',
                tools: createBashTools(workingDir),
            },
            metadata: {
                workingDir,
            },
        };
    }
}
//# sourceMappingURL=bashCapability.js.map