Paul Hernandez
90d5754180
feat: Implement boolean search ( #18 )
2025-03-05 20:57:12 -06:00
Paul Hernandez
e6496df595
feat: Beta work ( #17 )
...
feat: Add multiple projects support
feat: enhanced read_note for when initial result is not found
fix: merge frontmatter when updating note
fix: handle directory removed on sync watch
2025-03-05 18:46:04 -06:00
Paul Hernandez
f8078cdd46
Fix: Beta testing fixes ( #16 )
...
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-28 20:23:53 -06:00
Paul Hernandez
093dab5f03
feat: Add enhanced prompts and resources ( #15 )
...
## Summary
- Add comprehensive documentation to all MCP prompt modules
- Enhance search prompt with detailed contextual output formatting
- Implement consistent logging and docstring patterns across prompt
utilities
- Fix type checking in prompt modules
## Prompts Added/Enhanced
- `search.py`: New formatted output with relevance scores, excerpts, and
next steps
- `recent_activity.py`: Enhanced with better metadata handling and
documentation
- `continue_conversation.py`: Improved context management
## Resources Added/Enhanced
- `ai_assistant_guide`: Resource with description to give to LLM to
understand how to use the tools
## Technical improvements
- Added detailed docstrings to all prompt modules explaining their
purpose and usage
- Enhanced the search prompt with rich contextual output that helps LLMs
understand results
- Created a consistent pattern for formatting output across prompts
- Improved error handling in metadata extraction
- Standardized import organization and naming conventions
- Fixed various type checking issues across the codebase
This PR is part of our ongoing effort to improve the MCP's interaction
quality with LLMs, making the system more helpful and intuitive for AI
assistants to navigate knowledge bases.
🤖 Generated with [Claude Code](https://claude.ai/code )
---------
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-27 20:48:56 -06:00
Paul Hernandez
0d7b0b3d7e
feat: Add new canvas tool to create json canvas files in obsidian. ( #14 )
...
Add new `canvas` tool to create json canvas files in obsidian.
---------
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-25 21:21:05 -06:00
Paul Hernandez
37a01b806d
feat: Incremental sync on watch ( #13 )
...
- incremental sync on watch
- sync non-markdown files in knowledge base
- experimental `read_resource` tool for reading non-markdown files in raw form (pdf, image)
2025-02-24 22:13:15 -06:00
phernandez
f5a7541da1
feat: add cli commands for mcp tools
2025-02-18 23:23:09 -06:00
phernandez
bc9ca0744f
fix: search query pagination params
2025-02-18 21:29:11 -06:00
phernandez
02f8e86692
feat: add pagination to read_notes
2025-02-18 20:42:19 -06:00
phernandez
0123544556
feat: add pagination to build_context and recent_activity
2025-02-18 20:22:35 -06:00
phernandez
00d23a5ee1
fix: add logfire spans to cli
2025-02-18 19:56:20 -06:00
phernandez
812136c8c2
fix: add logfire spans to cli
2025-02-18 19:08:46 -06:00
phernandez
3e8e3e8961
fix: add logfire instrumentation to tools
2025-02-18 18:52:09 -06:00
Paul Hernandez
0689e7a730
feat: return semantic info in markdown after write_note ( #11 )
...
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-17 23:33:11 -06:00
Paul Hernandez
39bd5ca08f
fix: Re do enhanced read note format ( #10 )
...
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-17 18:47:59 -06:00
phernandez
e0803734e6
fix: handle memory:// url format in read_note tool
2025-02-15 12:00:03 -06:00
phernandez
355519a786
refactor cli commands
2025-02-13 15:42:50 -06:00
Paul Hernandez
5b4f0eafcc
Pre release fixups ( #5 )
...
* configure logging
* set mcp output logging also
* fix type check errors
* fix type check
* rename Permalink schema type
* fix type errors
* add typechecks to ci workflow
* pytest coverage setup
* add tests for status cli
* sync tests coverage
* watch_service test coverage
* tests for tool_utils.py
* clean up imports
* file_utils coverage
* markdown plugins coverage
* 99% test coverage
* more test coverage, remove ObservationCategory
* more tool coverage
* fix type-check
* format, upgrade deps
---------
Co-authored-by: phernandez <phernandez@basicmachines.co >
2025-02-12 08:23:10 -06:00
phernandez
3d2c0c8c32
fix: fix recent activity bug
2025-02-04 17:25:15 -06:00
phernandez
3199ab0217
simplify MemoryUrl to be validated string
2025-02-01 13:42:48 -06:00
phernandez
572187a59a
add verbose=True to write_note
2025-01-31 20:41:31 -06:00
phernandez
a1108680c0
update notes tool docs
2025-01-31 19:34:53 -06:00
phernandez
eafe563cfa
add title/folder to EntitySchema
2025-01-31 19:29:16 -06:00
phernandez
f0fd1ee942
fix fuzzy search on note create
2025-01-31 16:38:06 -06:00
phernandez
dec1cc0827
Remove ai_edit tool import and registration
2025-01-31 14:27:28 -06:00
phernandez
835061a938
refactor entity_service to use file/markdown
2025-01-30 16:11:30 -05:00
phernandez
c2aa947be9
remove observation, relation services
2025-01-27 17:01:34 -06:00
phernandez
e39132bc1b
fix recent_activity tool type arg
2025-01-22 23:12:59 -06:00
phernandez
526baead18
add delete_note tool
2025-01-21 20:08:52 -06:00
phernandez
18d4584652
make write_note overwrite existing notes
2025-01-21 19:27:43 -06:00
phernandez
5ba6d0d1f5
add fuzzy matching to notes
2025-01-20 20:26:16 -06:00
phernandez
224b11332c
add notes tools
2025-01-20 19:05:16 -06:00
phernandez
02e6c763cf
improve TimeFrame and recent_activity types
2025-01-20 16:17:44 -06:00
phernandez
14f520c272
remove activity router, replace with memory/recent
2025-01-20 15:35:08 -06:00
phernandez
bc6632732e
speed up context query
2025-01-19 10:06:14 -06:00
phernandez
32606d771d
fix tests for context and permalinks
2025-01-18 23:54:28 -06:00
phernandez
9af2f481b2
improve tool imports
2025-01-18 21:21:47 -06:00
phernandez
db9da9051a
add ai_edit tool
2025-01-18 21:17:34 -06:00
phernandez
d65fca0a3c
fixes for sync
2025-01-18 20:04:45 -06:00
phernandez
7322bb5350
refactor tools, remove BasicMemoryServer, update mcp sdk
2025-01-18 18:48:22 -06:00
phernandez
ae9926f54d
add discussion tools
2025-01-18 10:23:01 -06:00
phernandez
c5d21276de
change entity.path_id to entity.permalink
2025-01-12 16:47:21 -06:00
phernandez
b68e7461ef
get entity content via tool
2025-01-09 14:53:02 -06:00
phernandez
6686c331a5
refactor entity.entity_type to be freeform, add summary and content_type
2025-01-07 19:00:08 -06:00
phernandez
545c1a77f3
remove document code
2025-01-07 00:20:11 -06:00
phernandez
c320f64b53
get tests working
2025-01-06 21:08:19 -06:00
phernandez
fb330fe745
add search tool info
2025-01-05 18:22:16 -06:00
phernandez
fa7e986d3b
fix tests, add SearchResult response type for search
2025-01-04 22:22:38 -06:00
phernandez
3d575cc464
update create_document usage info for tools
2025-01-04 11:24:01 -06:00
phernandez
8e32a79842
update tool docs for aI
2025-01-02 14:12:34 -06:00