Files
opencode 5dacdf5c56 feat: surface suspended engines in searxng tool output
SearXNG reports rate-limited/failing engines in unresponsive_engines,
which was silently dropped, so partial outages looked like 'no results'.
The searxng tool now appends a suspension note naming the engines.
(The websearch provider path can't express this: WebSearch.Result has
no slot for it.)
2026-10-16 00:54:20 +00:00

59 lines
1.4 KiB
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@heretek-ai/opencode-searxng",
"version": "0.1.4",
"description": "SearXNG web search provider + searxng tool for opencode v2 (self-hosted, no API key)",
"type": "module",
"license": "MIT",
"author": "heretek-ai",
"homepage": "https://github.com/Heretek-AI/opencode-searxng-plugin#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Heretek-AI/opencode-searxng-plugin.git"
},
"bugs": {
"url": "https://github.com/Heretek-AI/opencode-searxng-plugin/issues"
},
"keywords": [
"opencode",
"opencode-plugin",
"websearch",
"searxng",
"search",
"self-hosted",
"heretek-ai"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./server": "./dist/server.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=22"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "npm run build && node --test test/",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"effect": "^4.0.0"
},
"devDependencies": {
"@opencode/plugin": "^2.0.30",
"@types/node": "^22.7.0",
"effect": "4.0.1",
"typescript": "^5.6.3"
}
}