- slow_down now sleeps (and waits longer) instead of re-polling at
once; the interval cap that could lower a server interval is gone.
The deadline already bounds the loop.
- Non-JSON error bodies from gateways and the Vercel checkpoint no
longer surface as SyntaxError; the HTTP status is preserved.
- Drop the dead process.env.NOUS_API_KEY fallback in fetchModels:
envApiKeyAuth already resolves it into the credential upstream.
- apply() persists the catalog flag before mutating memory, so a
read-only agent dir cannot leave the two out of step.
- sleep() replaced with node:timers/promises; three unused exports
removed; stale tags.user comment corrected; hermes filter explained.
- Tests: 8 (was 4). Pin tierOf, the tier header, and withoutTierHeader
on both stream entry points; t.mock.method replaces hand-rolled fetch
swaps; stub gains getAgentDir.
- Docs: README covers install lockfile flag, hermes row, browser-UA
posture, and typecheck path pinning; AGENTS.md allowlist includes
pi-coding-agent; tests/AGENTS.md contracts updated.
Appends the canonical DOX framework to the root AGENTS.md and creates
child docs for the two durable boundaries: docs/ (ADR numbering,
format and status rules) and tests/ (jiti aliasing to host-package
stubs, what the tests pin, the NOUS_API_KEY fallback gotcha).
tests/stubs/ gets no child doc on purpose: it is a single file whose
only contract is owned by tests/AGENTS.md.
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