Conversation
|
The following comment was made by an LLM, it may be inaccurate: Based on the search results, here are related PRs (excluding the current PR #43193): Potentially Related:
Note: The current PR (#43193) appears to be the most recent iteration addressing auto-accept scoping, as the description mentions it includes the fix from #42331 and expands it to cover additional scopes (home project, draft, session). |
— AI code review (automated) |
|
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #37617
Type of change
What does this PR do?
Passes the active directory and server into the v2 general settings controller, so auto-accept can be changed from a selected home project, a draft, or a session. The switch stays disabled when there is no active directory.
The server is part of the scope so a remote project's permission request is not sent to whichever server happens to be selected globally. This includes the draft-route fix proposed in #42331 and also covers the selected home project shown in #37617.
How did you verify your code works?
bun run typecheckbun run typecheck:e2ebun run buildScreenshots / recordings
No styling changes. The disabled state before this fix is described in #37617; the Playwright regression verifies the switch's enabled, disabled, and checked states and the target server/directory.
Checklist