feature - add session-scoped MCP tool selection to TUI#8
feature - add session-scoped MCP tool selection to TUI#8lgarceau768 wants to merge 2 commits intoflexfrom
Conversation
- add GET /mcp/tools endpoint returning per-tool token estimates - expose MCP.defs() on the service interface for tool listing - intercept first-message submit to show tool selection dialog when MCP servers are active - new DialogSessionTools component: searchable, grouped by server, checkbox toggle, live token count - apply selected tools as session-level Permission.Ruleset deny rules after session creation - register session.tools command in palette for mid-session tool adjustment - regenerate v2 SDK to include mcp.tools() and session.update permission field
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
Tested and did not work :(
|
|
after modifications, the model opens, a little buggy as return collapses and closes the dialog need to remove this. |
|
also blocks the session from beginning until all mcps has loaded - with a failing mcp this is a little annoying |
|
if the user escapes the dialog and presses enter we assume the default? May not be the best path |
Summary
Changes
Test Plan