You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(filesystem): add append_file and write_or_update_file tools
This commit adds two new tools to the filesystem server:
1. **append_file**: Appends content to the end of an existing file.
- File must already exist
- Preserves existing content, adds new content at the end
2. **write_or_update_file**: Creates a new file or appends to an existing file.
- If file doesn't exist: creates it with the provided content
- If file exists: appends new content to the end
- Useful when you want to add content while preserving existing data
Changes include:
- Added `appendFileContent` and `writeOrUpdateFileContent` functions to lib.ts
- Added tool registrations and schemas to index.ts
- Updated README.md with new tool documentation
- Added comprehensive tests for the new functions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments