Implement text processing module and top-level helper functions#6
Closed
Implement text processing module and top-level helper functions#6
Conversation
- Add complete text processing module with 10 core functions: * clean_whitespace: Normalize whitespace in text * normalize_line_endings: Convert line endings (unix/windows/mac) * strip_html_tags: Intelligent HTML tag removal * normalize_unicode: Unicode normalization (NFC/NFD/NFKC/NFKD) * to_snake_case: Convert to snake_case with proper handling * to_camel_case: Convert to camelCase/PascalCase * to_title_case: Convert to Title Case preserving delimiters * smart_split_lines: Smart text wrapping with word preservation * extract_sentences: Extract sentences with punctuation handling * join_with_oxford_comma: Join lists with proper Oxford comma - Add top-level helper functions for tool management: * load_all_filesystem_tools(): Get all file system tools as list * load_all_text_tools(): Get all text processing tools as list * merge_tool_lists(): Merge tool lists and individual functions * get_tool_info(): Inspect tool functions for metadata * list_all_available_tools(): Discover all tools by category - Comprehensive test coverage with 32 passing tests - Full type safety with mypy validation - Code quality compliance with ruff linting - Supports agent framework integration patterns 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
boat.load_all_*_tools()andboat.merge_tool_lists()Text Processing Functions Added
clean_whitespace: Normalize whitespace in textnormalize_line_endings: Convert line endings (unix/windows/mac)strip_html_tags: Intelligent HTML tag removalnormalize_unicode: Unicode normalization (NFC/NFD/NFKC/NFKD)to_snake_case: Convert to snake_case with proper handlingto_camel_case: Convert to camelCase/PascalCaseto_title_case: Convert to Title Case preserving delimiterssmart_split_lines: Smart text wrapping with word preservationextract_sentences: Extract sentences with punctuation handlingjoin_with_oxford_comma: Join lists with proper Oxford commaHelper Functions Added
load_all_filesystem_tools(): Get all file system tools as listload_all_text_tools(): Get all text processing tools as listmerge_tool_lists(): Merge tool lists and individual functionsget_tool_info(): Inspect tool functions for metadatalist_all_available_tools(): Discover all tools by categoryUsage Example
Test Coverage
🤖 Generated with Claude Code