Repository navigation
feat(web): release idle browser sessions and gate MCP endpoints - #5
Merged
Merged
Conversation
Close web_research after five minutes idle and make hide close immediately. Add Settings -> Storage clear-web-data for cookies, WebStorage, form data and cache. Validate MCP server URLs with NetworkEndpointPolicy and disable redirects. Add policy tests and update the web research docs.
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.
补齐 0.5.0-alpha 的浏览器会话生命周期与 MCP HTTP 校验。
变更
web_research空闲 5 分钟自动释放虚拟屏 / WebView;hide立即关闭;登录 handoff 期间暂停计时。NetworkEndpointPolicy(HTTPS 任意,HTTP 仅 localhost / 私有 LAN);客户端禁用自动重定向;添加服务器时即时校验并提示。WebFetcherPolicyTest(public/私网 URL)和McpClientTest公网明文拒绝用例。验证
test/lintDebug/assembleDebug/assembleRelease、许可证头、三语 strings、58 工具 schema 全过。com.verlintas.baic2.devtest):runs新增toolAccess,PRAGMA integrity_check=ok。open→hide→snapshot返回no_browser_session。clearData返回成功。idle release)。