feat: Nous Portal provider with subscription OAuth and catalog filters
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
This commit is contained in:
1 parent
40ac2c4b43
commit
690fcdfe22
15 files changed
+1253
No files matched your search
@@ -0,0 +1,4 @@
|
||||
// Minimal stand-in for the host-injected @earendil-works/* packages; only what index.ts touches at import time.
|
||||
export const envApiKeyAuth = (name, envVars) => ({ name, envVars });
|
||||
export const createProvider = (input) => input;
|
||||
export const openAICompletionsApi = () => ({ stream() {}, streamSimple() {} });
|
||||
Reference in new issue
Block a user