chore: initial commit

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.
This commit is contained in:
2026-05-25 11:25:41 -04:00
commit ebd7218b95
13 changed files with 4546 additions and 0 deletions

28
package.json Normal file
View File

@@ -0,0 +1,28 @@
{
"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"
}
}