Repository navigation
feat(bots): enable owner-controlled native web tools - #597
Merged
Merged
Conversation
nixuuu
force-pushed
the
feat/bot-web-tools
branch
from
November 12, 2026 23:33
4448282 to
f42c80b
Compare
nixuuu
marked this pull request as ready for review
November 13, 2026 00:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bots can use Claude WebSearch/WebFetch, Codex native live web search and Grok web_search/web_fetch while local tools remain disabled. Add the owner-controlled, default-on webAccess setting to the existing JSON configuration, preserve explicit false across unrelated saves, and require worker capability bot_web_v1. No database migration is needed.
Every adapter receives the resolved permission; changing it rebuilds the hidden session. Tool-free handoffs keep web access disabled. Add provider schema-capture coverage for both toggle states and gateway settings persistence coverage, using only local fixtures. Grok's MCP search_tool is not confused with native web search.
Validation: on the authorized review host, gen:check, typecheck, lint, format:check and the web build passed. Official Claude, Codex and Grok CLIs captured their tool schemas against local inference fixtures: both Web access states passed for every provider (8 isolation tests). Gateway settings persistence (6 tests) and harness integration (24 tests) passed. No real provider APIs or external test URLs were called. CI is green for this layer.
Copy audit §8: the new update-worker error names the missing capability and tells the user to update or choose another worker. No settings UI is added until the final layer; prompt text is model-facing.
Related: #469, #581