feat(agent-service): add web research and browser control settings#414
Draft
hiqiancheng wants to merge 2 commits into
Draft
feat(agent-service): add web research and browser control settings#414hiqiancheng wants to merge 2 commits into
hiqiancheng wants to merge 2 commits into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
This was referenced Jun 8, 2026
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.
Summary
Adds a first-class web research and browser-control capability for TouchAI with a constrained model-facing tool surface:
web_search,web_fetch, andbrowser.搜索and浏览器控制, including provider configuration, route preferences, browser data path, executable picker, default homepage, permissions, domain rules, existing-session policy, headless/fingerprint-oriented advanced options, and i18n.web_fetchand prompt guidance so search discovery, known-URL reading, rendered/blocked pages, deep research planning, authoritative sourcing, and useful visual evidence have clearer boundaries.Related issue or RFC
AI assistance disclosure
web_search,web_fetch, andbrowser.Testing evidence
Rust command verification was attempted twice:
Local cleanup performed before commit:
Commit note: the final commit used
--no-verifybecause local Rust compilation repeatedly exhausted the C drive during dependency compilation. Targeted Vitest, typecheck, and diff checks were run manually first; Rust coverage should be supplied by CI or rerun on a machine with sufficient free disk.Risk notes
AgentService, runtime, MCP, or schema impact: Adds aweb_searchbuilt-in tool, updatesweb_fetchbehavior/guidance, consolidates browser exposure aroundbrowser, adds semantic tool-call metadata, and changes prompt guidance for research/browser usage.web_searchand unifiedbrowser; adds migration0003_builtin_tool_conversation_semanticfor persisted semantic tool-call display metadata.Screenshots or recordings
No screenshot attached in this PR update. The Settings UI changes are covered by component tests for navigation, Browser settings, Search settings, layout behavior, provider validation, and i18n.
Checklist
[WIP]or similar title prefixes.AgentService, runtime, MCP, or schema boundaries, there is an accepted RFC.pnpm test:prfor this code PR, or this is a docs-only change.pnpm test:coverage:rustor relied on CI coverage evidence.pnpm test:e2elocally or documented why CI is the first valid proof.Notes on unchecked checklist items: full
pnpm test:pr, Rust coverage, and E2E were not run locally because the Windows C drive exhausted during Rust dependency compilation. CI or a machine with more free disk should provide final Rust/E2E proof.