pi loads a package's extensions through the `pi` manifest or an
`extensions/` directory, so a root index.ts loaded nothing as a
package. Add "pi": { "extensions": ["./index.ts"] }, a files
whitelist that keeps tests and docs out of the tarball, and the
repository links the pi.dev/packages gallery shows.
Add publish.sh for releases: checks, tarball preview, changelog
heading, commit, tag, npm publish, push. No CI (ADR 0003).
Lead the README with pi install npm:pi-nous-portal, document the
release script, and label the package unofficial and
community-maintained. The README also gets a plainer voice.
The publish itself is still pending. Refs #3
1.3 KiB
1.3 KiB
Changelog
All notable changes to this project will be documented in this file. The format is based on Common Changelog and this project adheres to Semantic Versioning.
[Unreleased]
Added
- Native
nous-portalprovider: 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-portalinstalls it, thepimanifest points pi atindex.ts, andpublish.shcuts a release. - Live model discovery from
inference-api.nousresearch.com/v1/models, delegated to pi's built-inopenai-completionsstreaming. - Offline baseline catalog so
pi -pandpi --list-modelsstay usable without a network fetch. /nous-catalogcycles/modelbetween full, free and promo catalogs;/nous-freejumps 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
catalogTierproperty instead of thex-nous-catalog-tierrequest 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.