-
由 Will Chen 提交于
<!-- CURSOR_SUMMARY --> > [!NOTE] > Graduates the local agent feature from experiment and simplifies related settings and tests. > > - Agent v2 (local-agent) is now available to all Pro users by removing `experiments.enableLocalAgent` gating in `ChatModeSelector` > - Always render the "Agent Permissions (Pro)" section in Settings and remove the "Enable Agent v2" experiment toggle > - `SettingsList` no longer filters sections by settings; always includes `agent-permissions` > - Mark `experiments.enableLocalAgent` as DEPRECATED in the schema > - E2E: stop toggling local agent in setup; retain model selection logic for local-agent scenarios > - Minor: adjust test fixture name regex in fake LLM responses handler > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 39bdf8ef4bea64909bb5cd623e1fdd559d156692. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Graduate the Local Agent (Agent v2) from the experiments flag. It’s now available to Pro users by default and the settings reflect this. - **Refactors** - Show Local Agent in ChatModeSelector for Pro without experiment gating. - Always show the Agent Permissions section; label updated to “Agent Permissions (Pro)”. - Removed the “Enable Agent v2” toggle from Experiments. - Marked experiments.enableLocalAgent as DEPRECATED in the schema. - Cleaned up e2e helper to stop toggling local agent mode; minor test regex fix. - **Migration** - No action needed. The old experiments.enableLocalAgent flag is ignored. <sup>Written for commit 39bdf8ef4bea64909bb5cd623e1fdd559d156692. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. -->