memory.dashboard.backend.routes.agent¶
memory.dashboard.backend.routes.agent ¶
Agent chat routes (in-process local Cursor agent with memory MCP access).
The agent runs in-process via cursor-sdk's local runtime (which ships a hermetic bridge with a bundled node binary, so no system Node.js install is required) against the live workspace, so the memory MCP server reads the current graph. See dashboard_common.agent.DashboardAgent.
Split out of the former flat routes.py; behaviour is unchanged.
ViewContext ¶
Bases: BaseModel
What the user is currently looking at in the dashboard.
Sent with each chat turn so the agent can resolve deictic references ("here", "this", "these") to the selection or the entries in view.