Anthropic text editor and memory tool middleware.
This module provides client-side implementations of Anthropic's text editor and memory tools using schema-less tool definitions and tool call interception.
Data structure for storing file contents.
State schema for Anthropic text editor and memory tools.
State-based text editor tool middleware.
Provides Anthropic's text_editor tool using LangGraph state for storage.
Files persist for the conversation thread.
State-based memory tool middleware.
Provides Anthropic's memory tool using LangGraph state for storage. Files persist for the conversation thread.
Enforces /memories prefix and injects Anthropic's recommended system prompt.
Filesystem-based text editor tool middleware.
Provides Anthropic's text_editor tool using local filesystem for storage.
User handles persistence via volumes, git, or other mechanisms.
Filesystem-based memory tool middleware.
Provides Anthropic's memory tool using local filesystem for storage. User handles persistence via volumes, git, or other mechanisms.
Enforces /memories prefix and injects Anthropic's recommended system
prompt.