Files
lsdsjy b38da29517 fix(web-search): 处理账号鉴权评审意见
- 路由判定改读 session.requestContext(),与账号登出判定保持一致
- available() 接受仅提供账号 token 解析器的配置
- 凭据解析器改为在取消检查之后、try 之内调用,避免取消后的未处理拒绝和同步异常逃逸
- 账号鉴权搜索收到 401 时给出重新登录指引,而非修改端点的指引;缺凭据消息提及账号登录
- 更新模块依赖图与 README 中过时的凭据描述
2026-09-25 23:34:37 +08:00
..
2026-09-24 21:24:26 +08:00
2026-09-24 21:24:26 +08:00
2026-09-24 21:24:26 +08:00
2026-09-24 21:24:26 +08:00

description, kind
description kind
Package map for the web access capability family: the search/fetch service, its provider backends, and the model-facing tools that consume them. package-group

web/ — web access capability family

English | 中文

Summary

The web/ packages let models search the public web and fetch HTTP(S) pages through the web_search and web_fetch tools. Deployments can choose Exa, Perplexity, or DeepSeek for search and anonymous HTTP(S) access for fetch; availability and resource limits depend on the configured provider. Use this family for search and page retrieval, not interactive browsing, content extraction, or per-URL policy enforcement. Models receive consistent tool behavior, cancellation, and error reporting when providers change.

Table of Contents


Packages

Six packages play the web roles; the subsystem reference owns the exhaustive vocabulary and contracts.

Package Role ctx key
web/ Search/fetch service: search and fetch URLs through interchangeable backends, one selection and error policy ctx.web
web-search-exa/ Searches the web through Exa registers on ctx.web
web-search-perplexity/ Searches the web through Perplexity registers on ctx.web
web-search-deepseek/ Searches the web through DeepSeek native search registers on ctx.web
web-fetch-http/ Fetches public HTTP(S) pages anonymously registers on ctx.web
tool-web/ Exposes web_search and web_fetch to the model registers on ctx.tools

Start with the subsystem reference for the shared vocabulary, then the design decision behind the single provider-selection service.

  • Web subsystem — the search/fetch requests and results, provider availability, WebError, and public-address enforcement.
  • Web capability seam decision — why search and fetch share one provider-selection service.

Dev Note

Working context for maintainers — click to expand

None.