ReMe/reme/components
jinliyl ad7893e9c4
fix(mcp): resolve circular import issues and update dependencies (#296)
* fix(mcp): resolve circular import issues and update dependencies

- Moved fastmcp imports inside functions to prevent circular dependencies
- Replaced _TRANSPORT_MAP with _VALID_TRANSPORTS set for transport validation
- Updated version number from 0.4.0.3 to 0.4.0.4
- Added claude-agent-sdk dependency to core optional dependencies
- Used TYPE_CHECKING imports for FastMCP related types
- Restructured transport mapping logic within function scope
- Fixed string annotation for CallToolResult type hints

* refactor(tests): update date handling in daily steps tests

- Replace _date.today() with timezone-aware now function
- Use Asia/Shanghai timezone for date formatting
- Change return format to use strftime instead of isoformat
- Import now function from reme.steps.evolve module

* refactor(tests): clean up unused imports in daily steps test

- Removed unused date import from datetime module
- Removed redundant pathlib Path import that was already imported later
- Kept necessary imports for asyncio, os, tempfile, warnings, and frontmatter modules

* test(daily_steps): update test to include application context for daily list step

- Add ApplicationContext initialization with temporary workspace directory
- Register file store component in application context
- Pass application context to DailyListStep constructor
- Maintain existing test assertion behavior for date metadata verification
2026-06-26 09:37:08 +08:00
..
agent_wrapper docs: rename vault_dir to workspace_dir in documentation and examples (#286) 2026-06-22 16:58:57 +08:00
as_embedding init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
as_llm init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
client fix(mcp): resolve circular import issues and update dependencies (#296) 2026-06-26 09:37:08 +08:00
embedding_store Refactor logging levels and add dream schema definitions (#291) 2026-06-24 16:44:03 +08:00
file_catalog Refactor logging levels and add dream schema definitions (#291) 2026-06-24 16:44:03 +08:00
file_chunker docs: rename vault_dir to workspace_dir in documentation and examples (#286) 2026-06-22 16:58:57 +08:00
file_graph Refactor logging levels and add dream schema definitions (#291) 2026-06-24 16:44:03 +08:00
file_store feat(file_store): add embedding backfill for persisted chunks (#292) 2026-06-24 17:32:21 +08:00
job init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
keyword_index Update version to 0.4.0.2 and improve tokenizer index handling (#290) 2026-06-24 15:01:07 +08:00
service fix(mcp): resolve circular import issues and update dependencies (#296) 2026-06-26 09:37:08 +08:00
tokenizer Refactor logging levels and add dream schema definitions (#291) 2026-06-24 16:44:03 +08:00
__init__.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
application_context.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
base_component.py docs: rename vault_dir to workspace_dir in documentation and examples (#286) 2026-06-22 16:58:57 +08:00
component_registry.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
prompt_handler.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
runtime_context.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00