@anthropic-ai/sdk
Version:
The official TypeScript library for the Anthropic API
18 lines • 1.23 kB
TypeScript
export { betaMemoryTool } from "../../helpers/beta/memory.js";
export type { MemoryToolHandlers } from "../../helpers/beta/memory.js";
import type { MemoryToolHandlers } from "../../helpers/beta/memory.js";
import { BetaMemoryTool20250818CreateCommand, BetaMemoryTool20250818DeleteCommand, BetaMemoryTool20250818InsertCommand, BetaMemoryTool20250818RenameCommand, BetaMemoryTool20250818StrReplaceCommand, BetaMemoryTool20250818ViewCommand } from "../../resources/beta.js";
export declare class BetaLocalFilesystemMemoryTool implements MemoryToolHandlers {
private basePath;
private memoryRoot;
constructor(basePath?: string);
static init(basePath?: string): Promise<BetaLocalFilesystemMemoryTool>;
private validatePath;
view(command: BetaMemoryTool20250818ViewCommand): Promise<string>;
create(command: BetaMemoryTool20250818CreateCommand): Promise<string>;
str_replace(command: BetaMemoryTool20250818StrReplaceCommand): Promise<string>;
insert(command: BetaMemoryTool20250818InsertCommand): Promise<string>;
delete(command: BetaMemoryTool20250818DeleteCommand): Promise<string>;
rename(command: BetaMemoryTool20250818RenameCommand): Promise<string>;
}
//# sourceMappingURL=node.d.ts.map