import { createFileTools } from '../tools/fileTools.js';
export class FilesystemCapabilityModule {
    id = 'capability.filesystem';
    options;
    constructor(options = {}) {
        this.options = options;
    }
    async create(context) {
        const workingDir = this.options.workingDir ?? context.workingDir;
        return {
            id: this.options.id ?? 'filesystem.tools.local',
            description: this.options.description ?? 'Local file system access with deterministic diff summaries.',
            toolSuite: {
                id: 'fs',
                description: 'File operations',
                tools: createFileTools(workingDir),
            },
            metadata: {
                workingDir,
            },
        };
    }
}
//# sourceMappingURL=filesystemCapability.js.map