- adapters/websearch: Brave client (X-Subscription-Token, error classes), result normalization with redaction/truncation, SSRF guard, HTML→text fetch (10s, 512KB, text/html|text/plain only) - modules/websearch: 10-min PG cache (region websearch), cross-process per-minute limit, web.fetch allowlist = URLs from the caller's latest web.search; POST /websearch/test - settings.agent.webSearch (key write-only → secret_ref); settings card under Agent; web.* offered to the model only when enabled, plus a system prompt rule; outputs marked untrusted - capability count 27 → 29; e2e E13; runbook docs/runbook/websearch.md Co-Authored-By: Claude Opus 5.5 <[email protected]>
11 lines
377 B
TypeScript
11 lines
377 B
TypeScript
// @umt/adapters 公开入口;W1 起在此导出实现
|
|
export const PACKAGE_NAME = "@umt/adapters";
|
|
export * from "./browser/index.ts";
|
|
export * from "./emby/index.ts";
|
|
export * from "./fs/index.ts";
|
|
export * from "./qbittorrent/index.ts";
|
|
export * from "./rss/index.ts";
|
|
export * from "./sites/index.ts";
|
|
export * from "./tmdb/index.ts";
|
|
export * from "./websearch/index.ts";
|