You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9a87442
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): task_cancel checks every task it stops, and McpServer stays in McpHttpServer
Review found two more gaps:
- task_cancel checked only the child's modes, but stopping the child also
stops every task under it. A user can raise one of those to full access,
and a Supervised parent could still stop it. Every thread the cancel
stops is now checked before anything is stopped.
- The lint rule matched the name `McpServer` at the call site, so an
aliased import, `effect/ai/McpServer`, or a destructured `addTool`
registered a tool with no access declaration. The rule now reports any
runtime import of Effect's McpServer outside McpHttpServer, and any read
of a registration method or function. Tests may still import it to build
a server, but not register on it.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
0 commit comments