feat: Fix CLI integration + Add entry update functions#2
Open
marlian wants to merge 12 commits intoQuevin:mainfrom
Open
feat: Fix CLI integration + Add entry update functions#2marlian wants to merge 12 commits intoQuevin:mainfrom
marlian wants to merge 12 commits intoQuevin:mainfrom
Conversation
- Fix CLI command syntax with proper -- separator - Fix coordinate parameters as separate arguments - All MCP write operations now work correctly - Resolves CLI syntax errors that prevented entry creation Tested with: - Basic entries with tags ✅ - Starred entries ✅ - Entries with GPS coordinates ✅ - All 10 MCP tools now functional ✅
- Add MCP-specific patterns (*.sqlite, logs/, temp/) - Add macOS-specific patterns (.DS_Store) - Add IDE patterns (.vscode/) - Add personal config exclusions - Prevent accidental commit of sensitive files
- Keep fork documentation local and private - Document changes without affecting upstream compatibility
- Make README-FORK.md public to show improvements clearly - Add fork notice to main README with link to detailed changes - Improve transparency and help other developers with same issues - Document all CLI integration fixes with before/after examples
- Increase preview text limits: * read_recent_entries: 100 → 300 chars * search_entries: 200 → 400 chars * get_entries_by_date: 300 → 500 chars - Add new read_full_entry tool for complete entry retrieval by UUID - Include UUID in all preview responses for workflow chaining - Add comprehensive test suite (test_enhancements.py) - Implement hybrid approach: catalog → chunks → full read workflow Enables complete search-to-full-text workflow without truncation. Backward compatible with existing tools.
- Remove unused 'Any' and 'Sequence' from typing imports - Clean up import warnings in server.py - All imports now properly utilized
- Add update_entry() to replace journal entry content completely - Add append_to_entry() to append content to existing entries - Both functions preserve existing metadata (tags, location, weather) - Use proper ZMARKDOWNTEXT format for correct Day One rendering - Add corresponding MCP tools and handlers - Enables friction-free journal editing workflow
- Document update_entry() and append_to_entry() functions - Add workflow examples and usage patterns - Update changes summary with new features - Show 12 total MCP tools (was 10)
…e for Claude vs GUI comparison
…() object creation and duplicate stdio_server() calls
- Added missing server = Server('mcp-dayone') instantiation
- Fixed indentation that left handler registration orphaned
- Removed duplicate stdio_server() context creation
- Server now initializes properly and stays running instead of crashing
- Preserves enhanced logging functionality from previous commit
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.
🐛 Some Fixes
This PR resolves some CLI issues that break write operations:
Fixed Issues:
create_journal_entryfails with "Missing command" errorRoot Cause:
Day One CLI requires
--separator between options and commands: