publish.sh and test_npm_package.sh now live in scripts/ and cd to the repo root, so they run from any directory. publish.sh polls npm until the released version resolves: the first release ended inside the registry's processing window, when a fresh install still gets the 0.0.0-stage placeholder. It also reopens an empty Unreleased section after the rename and refuses an empty one before the version bump, so a refused release leaves the tree clean. test_npm_package.sh switches pi between the symlink checkout and npm:pi-nous-portal. Only one may be installed: pi identifies npm packages by name and local ones by path, so both register the provider twice.
20 lines
1.4 KiB
Markdown
20 lines
1.4 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file. The format is based on [Common Changelog](https://common-changelog.org) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [Unreleased]
|
|
|
|
## [0.1.0] - 2026-11-25
|
|
|
|
### Added
|
|
|
|
- Native `nous-portal` provider: device-code OAuth (subscription) and API-key login, with the OAuth access token used directly as the inference bearer credential.
|
|
- npm package. `pi install npm:pi-nous-portal` installs it, the `pi` manifest points pi at `index.ts`, and `publish.sh` cuts a release.
|
|
- Live model discovery from `inference-api.nousresearch.com/v1/models`, delegated to pi's built-in `openai-completions` streaming.
|
|
- Offline baseline catalog so `pi -p` and `pi --list-models` stay usable without a network fetch.
|
|
- `/nous-catalog` cycles `/model` between full, free and promo catalogs; `/nous-free` jumps to free. Switching never touches a session on another provider, and swaps the current model only if it was filtered out.
|
|
|
|
### Changed
|
|
|
|
- The catalog tier rides on each model as the `catalogTier` property instead of the `x-nous-catalog-tier` request header, so requests are no longer rewritten to strip it. After upgrading, start pi once interactively so persisted models pick up the new carrier; until then, a non-interactive run with the free or promo catalog active lists no Nous models.
|