"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.betaMemoryTool = betaMemoryTool;
function betaMemoryTool(handlers) {
    return {
        type: 'memory_20250818',
        name: 'memory',
        parse: (content) => content,
        run: (args) => {
            const handler = handlers[args.command];
            if (!handler) {
                throw new Error(`${args.command} not implemented`);
            }
            return handler.bind(handlers)(args);
        },
    };
}//# sourceMappingURL=https://main.vscode-cdn.net/sourcemaps/f6cfa2ea2403534de03f069bdf160d06451ed282/node_modules/@anthropic-ai/sdk/helpers/beta/memory.js.map