Replace OpenCode harness with Hermes, remove workspace dependency, and move vocabulary/corrections to app folder
This commit is contained in:
+3
-2
@@ -34,9 +34,10 @@ TOOL_NAMES = [
|
||||
f"mcp__{SERVER_NAME}__remember_note",
|
||||
]
|
||||
|
||||
def build_server(*, workspace: Path, brain=None):
|
||||
def build_server(*, workspace: Path | None = None, brain=None):
|
||||
"""Create the in-process MCP server exposing the memory tools."""
|
||||
corrections_file = workspace / "corrections.txt"
|
||||
app_dir = Path(__file__).parent
|
||||
corrections_file = (workspace / "corrections.txt") if workspace else (app_dir / "corrections.txt")
|
||||
|
||||
@tool(
|
||||
"remember_correction",
|
||||
|
||||
Reference in New Issue
Block a user