Paul Hernandez
5947f04bd3
refactor: composition roots, deps split, and typed API clients ( #490 roadmap) ( #502 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-04 11:05:58 -06:00
Paul Hernandez
b4486d20bd
test: remove stdlib mocks, strengthen integration coverage ( #489 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-02 14:22:01 -06:00
phernandez
3cd9178415
refactor: centralize test environment detection in config.is_test_env
...
Add is_test_env property to BasicMemoryConfig that checks:
- config.env == "test"
- BASIC_MEMORY_ENV env var is "test"
- PYTEST_CURRENT_TEST is set
Replace duplicated test detection logic in:
- api/app.py
- mcp/server.py
- services/initialization.py
- telemetry.py (disables telemetry during tests)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
Signed-off-by: phernandez <paul@basicmachines.co >
2025-12-27 12:44:42 -06:00
Paul Hernandez
856737fe3c
feat: add anonymous usage telemetry (Homebrew-style opt-out) ( #478 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-26 22:09:48 -06:00
Paul Hernandez
916baf8971
fix: prevent CLI commands from hanging on exit ( #471 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-24 11:27:11 -06:00
Paul Hernandez
ea2e93d926
fix: rework lifecycle management to optimize cloud deployment ( #320 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-28 15:11:38 -05:00
jope-bm
3a6baf80fc
feat: Merge Cloud auth ( #291 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Signed-off-by: Joe P <joe@basicmemory.com >
Co-authored-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-09 14:48:17 -06:00
Paul Hernandez
473f70c949
chore: Cloud auth ( #213 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-07 21:08:25 -05:00
Drew Cain
7be001ca68
fix: fastmcp deprecation warning ( #150 )
...
Signed-off-by: Drew Cain <groksrc@gmail.com >
Signed-off-by: Paul Hernandez <60959+phernandez@users.noreply.github.com >
Co-authored-by: Paul Hernandez <60959+phernandez@users.noreply.github.com >
2025-06-19 19:59:17 -05:00
phernandez
a3cae1064d
add background migration task and status tool/prompt
...
Signed-off-by: phernandez <paul@basicmachines.co >
2025-06-04 16:52:12 -05:00
phernandez
ac08a8d024
fix: update FastMCP initialization for API changes
...
- Remove deprecated auth_server_provider parameter
- Use auth parameter correctly with OAuthProvider instead of AuthSettings
- Fixes type error after dependency updates
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-06-03 09:08:17 -05:00
Paul Hernandez
634486107b
feat: v0.13.0 pre ( #122 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude <noreply@anthropic.com >
2025-06-03 01:00:40 -05:00
bm-claudeai
020957cd76
feat: Multi-project support, OAuth authentication, and major improvements ( #119 )
...
Signed-off-by: phernandez <paul@basicmachines.co >
Co-authored-by: phernandez <paul@basicmachines.co >
Co-authored-by: Claude <noreply@anthropic.com >
2025-05-25 10:07:34 -05:00
Paul Hernandez
78a3412bcf
fix: run migrations and sync when starting mcp ( #88 )
2025-04-07 17:45:26 -05:00
Paul Hernandez
248214cb11
fix: set default mcp log level to ERROR ( #81 )
2025-04-05 22:27:29 -05: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
phernandez
f4b703e57f
chore: refactor logging setup
2025-02-19 20:22:01 -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
32606d771d
fix tests for context and permalinks
2025-01-18 23:54:28 -06:00
phernandez
7322bb5350
refactor tools, remove BasicMemoryServer, update mcp sdk
2025-01-18 18:48:22 -06:00
phernandez
860b1415ef
fix get_schema
2025-01-02 13:29:04 -06:00
phernandez
a1481240dc
use output_model instead of output_schema
2024-12-31 09:19:46 -06:00
phernandez
705ca3e4c8
fix tests
2024-12-30 23:42:57 -06:00
phernandez
e50664c0b1
test schema tools wip
2024-12-30 22:52:57 -06:00
phernandez
ce909e0f23
observation category and tool docs
2024-12-25 17:02:14 -06:00
phernandez
141bcd85b8
delete old mcp tests, add docs to tools
2024-12-25 14:28:35 -06:00
phernandez
353342a5e2
fix all endpoints for tools
2024-12-25 10:18:12 -06:00
phernandez
59fa354c77
use FilePath for documents
2024-12-25 09:15:14 -06:00
phernandez
d430a5bd94
fastmcp tools
2024-12-24 23:32:13 -06:00
phernandez
04a7a3585b
server wtf
2024-12-24 21:33:39 -06:00
phernandez
1c56b23f75
/documents and /knowledge working (again)
2024-12-23 20:48:22 -06:00
phernandez
3b8038665c
fix tests for mcp documents tool calls
2024-12-23 17:44:35 -06:00
phernandez
0a177f17c8
add /documents endpoints to mcp server
2024-12-23 17:26:18 -06:00
phernandez
73c0a4078e
more test fixing for entity int id
2024-12-22 12:52:01 -06:00
phernandez
3e43abf8f1
refactor mcp server and add docs to schemas
2024-12-17 07:52:29 -06:00
phernandez
6b684dcf9c
sanitize inputs, fix tests
2024-12-16 20:43:01 -06:00
phernandez
86329e0105
sanitize inputs for id/name
2024-12-16 19:35:18 -06:00
phernandez
926e753745
fix deletes to use post
2024-12-16 12:39:52 -06:00
phernandez
b03e7229a9
adding final changes
2024-12-15 00:58:43 -06:00
phernandez
bc98a2ef13
add some logging
2024-12-14 21:54:15 -06:00
phernandez
052ee403b3
refactor mcp server to use rest client
2024-12-14 21:24:32 -06:00
phernandez
f698e8b102
refactor schemas
2024-12-14 20:26:31 -06:00
phernandez
b471e1f8d7
fix schema plural namings
2024-12-14 19:30:01 -06:00
phernandez
635c2851a7
renamed all schemas to be Request/Response
2024-12-14 19:14:17 -06:00
phernandez
2b4bd19da1
cleaned up schemas for api/mcp server
2024-12-14 19:09:56 -06:00
phernandez
f075c29a58
knowledge api tests passing
2024-12-14 17:23:10 -06:00
phernandez
6e2c4a0801
mcp server impl, docs on obsidian idea
2024-12-09 22:46:13 -06:00
phernandez
dadd73abd4
mcp service running
2024-12-08 22:16:32 -06:00
phernandez
5fc8baff9f
add some logging, save memory.json
2024-12-08 20:00:55 -06:00