Registers the native nous-portal provider for pi. Nous retired agent-key minting (410 session_key_minting_retired), which is where both existing community extensions end their login. The inference API accepts the OAuth access token directly, so toAuth hands it over and no agent key is ever minted or stored. - Device-code OAuth (subscription) and API-key login - Live model discovery delegated to openai-completions streaming - Offline baseline so pi -p and --list-models stay usable - /nous-catalog cycles full, free and promo; /nous-free jumps to free
31 lines
684 B
JSON
31 lines
684 B
JSON
{
|
|
"name": "pi-nous-portal",
|
|
"version": "0.1.0",
|
|
"description": "Nous Portal provider for pi: subscription OAuth and API key, no agent-key minting.",
|
|
"license": "GPL-3.0-or-later",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "node --test tests/*.test.mjs",
|
|
"check": "npm run typecheck && npm test"
|
|
},
|
|
"keywords": [
|
|
"pi-package",
|
|
"pi-extension",
|
|
"pi-provider",
|
|
"nous"
|
|
],
|
|
"peerDependencies": {
|
|
"@earendil-works/pi-ai": "*",
|
|
"@earendil-works/pi-coding-agent": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22",
|
|
"jiti": "^2.7.0",
|
|
"typescript": "^5"
|
|
}
|
|
}
|