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
fix(policy): drop approve_url, instruct LLM to send user to settings page (#966)
The relative-path approve_url doesn't resolve cleanly through cloudflared
or other reverse-proxy deployment modes — the LLM can't safely hand it
to the user. The user already knows where the Tool Security Policies
tab is (they set the rule from it), and that page lists all pending
approvals, so a per-request URL is unnecessary noise.
- Drop approve_url from USER_APPROVAL_REQUIRED context; keep `token`
so a caller could correlate but the user doesn't need to act on it.
- Update message + progress text to instruct the LLM to tell the user
to open the settings UI Tool Security Policies tab.
- Drop the now-unused approval_url_builder param + the
_settings_secret_prefix plumbing in server.py / settings_ui.py.
Also fix the failing test_defaults (asserted dropped Policy.enabled field)
and the e2e test PUT body that still carried `"enabled": True`.
0 commit comments