pi extension exposing a single search tool. Providers: Kagi (headless Firefox against kagi.com session-token endpoint) and SearXNG (JSON API). Config lives at ~/.pi/pi-search/config.json with env overrides.
29 lines
711 B
JSON
29 lines
711 B
JSON
{
|
|
"name": "@evan/pi-search",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Web search tool for pi: Kagi (session token via headless Firefox) or SearXNG (JSON API).",
|
|
"pi": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
]
|
|
},
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "oxlint . --ignore-pattern=.direnv/** --ignore-pattern=node_modules/**"
|
|
},
|
|
"dependencies": {
|
|
"selenium-webdriver": "^4.43.0"
|
|
},
|
|
"devDependencies": {
|
|
"@mariozechner/pi-coding-agent": "^0.72.0",
|
|
"@types/node": "^22.10.0",
|
|
"@types/selenium-webdriver": "^4.35.5",
|
|
"oxlint": "^1.62.0",
|
|
"tsx": "^4.19.2",
|
|
"typebox": "^1.1.37",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
}
|