From 9bba5fedc2a9aa3aeeaa5571f0052ea1c89dac9c Mon Sep 17 00:00:00 2001 From: guotree <34934671+guotree@users.noreply.github.com> Date: Wed, 4 Nov 2026 20:35:08 +0800 Subject: [PATCH] registry: list @guotree/magpie-websearch, seven web search APIs (guotree, #724) Lists @guotree/magpie-websearch (0.3.2) in registry.json and the README's web search section, with the package's own install command under its row and the search-hook template in its own subsection. Name "magpie-websearch"; en and zh summaries say the same: keyless access for AnySearch, Keenable, Parallel and TinyFish, a key needed for Linkup, Metaso and Querit, no downgrade of a failed keyed request. Icon is a 128x128 PNG of 2,710 bytes (fetched: 200, image/png). Package checked again at 0.3.2 (npm integrity sha512-afEV99u5...kQ==, published 10:34, unchanged since the 11:14 review): only vendor endpoints (api.anysearch.com, api.keenable.ai, api.linkup.so, metaso.cn, api.parallel.ai / mcp.parallel.ai, api.querit.ai, api.search.tinyfish.ai / agent.tinyfish.ai) or the user's own Base URL; each key goes only to its vendor; only the query and search options are sent; no fs, child_process, telemetry or runtime code from strings; no install scripts, no dependencies. Run at 6ceefcaf8 on the test Mac: bun scripts/check.mjs ok; bun test scripts/ 19 pass, 0 fail. The package's own tests (101 pass) and the keyless searches were run at the earlier review against the same tarball. Not tried: a search through the gateway by an agent end to end. Left for the author: the package's own package.json magpie.icon still points at the 541 KB assets/icon.png, which an installed plugin's row can use. --- README.md | 16 +++++++++++++++- registry.json | 2 ++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a80c0cd..4b2a6f9 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,21 @@ A tools package is a folder under `packages//` with: ## Web search APIs -A tools package can also give magpie a web search API. It is listed in Settings › Models › Web search under its own name, after Tavily, Brave and the rest, and is added, keyed, switched off and ordered like them. magpie keeps the keys (several are tried in turn; a refused one rests), masks the query, and logs the call. magpie's own `search` hook; OpenCode ignores it. There is no package for one yet: this is the template. +A tools package can also give magpie a web search API. It is listed in Settings › Models › Web search under its own name, after Tavily, Brave and the rest, and is added, keyed, switched off and ordered like them. magpie keeps the keys (several are tried in turn; a refused one rests), masks the query, and logs the call. magpie's own `search` hook; OpenCode ignores it. + +| Package | Search APIs | +|---|---| +| [magpie-websearch](https://github.com/guotree/magpie-websearch) | AnySearch, Keenable, Linkup, Metaso, Parallel, Querit and TinyFish; published as `@guotree/magpie-websearch` and maintained in its own repository | + +Install magpie-websearch: + +```sh +magpie plugin add @guotree/magpie-websearch +``` + +### Writing a web search plugin + +The following template shows how to implement the `search` hook: ```js // index.mjs of @magpie-community/tools- diff --git a/registry.json b/registry.json index cf11aba..0fc7bfe 100644 --- a/registry.json +++ b/registry.json @@ -112,6 +112,8 @@ "summary": { "en": "Two routings that keep something in reserve: fill accounts up to a ceiling of their allowance, or use subscriptions before API keys.", "zh": "两种留余量的路由:账号用到额度上限就换下一个,或订阅账号优先于 API key。" } }, { "package": "@magpie-community/tools-search1api", "name": "Search1API", "icon": "https://s1.dev/icon.png", "kind": "tools", "community": true, "summary": { "en": "Search1API web search, news, agentic search, page retrieval, sitemaps and trends through Magpie's tools MCP server. Sign in with OAuth or an API key.", "zh": "通过 Magpie 的工具 MCP 服务使用 Search1API 网页搜索、新闻、智能搜索、页面读取、站点链接和趋势;支持 OAuth 或 API key 登录。" } }, + { "package": "@guotree/magpie-websearch", "name": "magpie-websearch", "icon": "https://raw.githubusercontent.com/guotree/magpie-websearch/main/assets/icon-128.png", "kind": "tools", "community": true, + "summary": { "en": "Adds AnySearch, Keenable, Linkup, Metaso, Parallel, Querit and TinyFish to Magpie's Web search settings. AnySearch, Keenable, Parallel and TinyFish support keyless access; Linkup, Metaso and Querit require an API key. Magpie manages keys and request order. Failed keyed requests do not downgrade to anonymous access.", "zh": "为 Magpie 的网页搜索设置增加 AnySearch、Keenable、Linkup、Metaso、Parallel、Querit 和 TinyFish。AnySearch、Keenable、Parallel 和 TinyFish 支持免 Key 访问;Linkup、Metaso 和 Querit 需要 API Key。由 Magpie 管理密钥和请求顺序,带 Key 的请求失败时不会降级为匿名访问。" } }, { "package": "magpie-comfyui-link", "name": "ComfyUI", "kind": "tools", "community": true, "summary": { "en": "A bridge between Magpie agents and locally hosted ComfyUI models, exposing native workflows, model resources and generated images through Magpie's tools MCP endpoint.", "zh": "连接 Magpie Agent 与本地 ComfyUI 模型的桥接层,通过 Magpie 工具 MCP 入口提供原生工作流、模型资源和生成图片。" } }, { "package": "@magpie-community/tools-calc", "name": "Calc", "kind": "tools", "community": true,