mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-23 00:43:18 +00:00
- Add file_graph import to component registry - Register FILE_GRAPH enum in ComponentEnum - Implement BaseFileGraph integration in LinkedFileParser - Replace FileEdge with FileLink for better semantic clarity - Add lazy resolution of file_graph from app_context - Update file watcher logging to reflect links instead of edges refactor: streamline MCP transport layer architecture - Remove redundant step shells from reme2/mcp/steps/ - Consolidate all @R.register components to reme2.memory package - Update server.py to import reme2.memory directly - Revise README.md to document new architecture - Simplify module dependencies and import structure
19 lines
745 B
Python
19 lines
745 B
Python
"""reme2.mcp — MCP transport layer.
|
|
|
|
Just the MCP server bootstrap (config loading, env-var overrides,
|
|
sidecar HTTP). All agent-facing tools live in ``reme2.memory`` and
|
|
register themselves there; this package only wires them into the MCP
|
|
transport via the ``mcp`` service component.
|
|
|
|
Dependency direction is strict: ``reme2.mcp → reme2.memory`` (and
|
|
through it ``reme2.component`` / ``reme2.utils``). Importing
|
|
``reme2.memory`` triggers all ``@R.register`` decorators for
|
|
``memory_*`` / ``sync`` / ``memory_search`` / ``memory_lint`` /
|
|
``ingest`` / ``maintainer`` / ``hybrid``.
|
|
|
|
Files:
|
|
server.py — MCP server bootstrap (defaults to ../config/service.yaml).
|
|
test/ — end-to-end profile smoke tests.
|
|
"""
|
|
|
|
__version__ = "0.1.0"
|