Publishes pi-nous-portal 0.1.0 to npm so it appears on https://pi.dev/packages and installs with pi install npm:pi-nous-portal. Follows the research in #2.
Decisions, settled 2026-11-25
Publish to npm. The gallery lists only npm packages that carry the pi-package keyword. A git source installs but never lists.
Keep the unscoped name pi-nous-portal.
repository points at this Gitea repo. No GitHub mirror.
The package is labelled unofficial and community-maintained. It ships with the public hermes-cli device-code client id.
Release shape is semver, git tag v0.1.0, a CHANGELOG.md heading ## [0.1.0] - <date>, and no Gitea Release object.
Releases run through a local publish.sh. No CI.
The README install section switches to pi install npm:pi-nous-portal. The symlink stays as the dev path.
The README gets an editing pass so it stops reading as AI-written.
npm setup (Alexander)
Create the account at https://www.npmjs.com/signup and verify the email address. The username becomes the package maintainer of record.
Run npm login on the Mac. It opens the browser.
Run npm profile enable-2fa auth-and-writes with an authenticator app.
The script prompts for the 2FA code at publish time. No access token is needed.
Release script (agent, on go)
publish.sh releases the version in package.json, or bumps first when given patch, minor, major or an explicit version. In order:
Refuse unless the tree is clean, the branch is main, and npm whoami succeeds.
npm run check.
npm pack --dry-run, so the tarball contents are visible before anything leaves the machine.
Rename ## [Unreleased] in CHANGELOG.md to ## [<version>] - <date>.
Commit, then tag v<version>.
npm publish.
git push origin main --follow-tags.
If the publish fails, the tag stays local. Fix the cause, then rerun npm publish and git push origin main --follow-tags.
Package changes (agent, on go)
package.json: add "pi": { "extensions": ["./index.ts"] }. Without it pi scans only extensions/ and loads nothing from a root index.ts.
package.json: add repository, homepage, bugs and "files": ["index.ts"], so tests/, docs/ and tsconfig.json stay out of the tarball.
package.json: extend description with "unofficial, community-maintained".
README.md: new install section, a release section for publish.sh, and a plain-language edit pass.
After the publish: install check in a throwaway agent dir with pi -e npm:pi-nous-portal, then /login nous-portal.
AGENTS.md: record the release steps.
[Generated by AI]
Publishes `pi-nous-portal` 0.1.0 to npm so it appears on https://pi.dev/packages and installs with `pi install npm:pi-nous-portal`. Follows the research in #2.
## Decisions, settled 2026-11-25
- Publish to npm. The gallery lists only npm packages that carry the `pi-package` keyword. A git source installs but never lists.
- Keep the unscoped name `pi-nous-portal`.
- `repository` points at this Gitea repo. No GitHub mirror.
- The package is labelled unofficial and community-maintained. It ships with the public `hermes-cli` device-code client id.
- Release shape is semver, git tag `v0.1.0`, a `CHANGELOG.md` heading `## [0.1.0] - <date>`, and no Gitea Release object.
- Releases run through a local `publish.sh`. No CI.
- The README install section switches to `pi install npm:pi-nous-portal`. The symlink stays as the dev path.
- The README gets an editing pass so it stops reading as AI-written.
## npm setup (Alexander)
1. Create the account at https://www.npmjs.com/signup and verify the email address. The username becomes the package maintainer of record.
2. Run `npm login` on the Mac. It opens the browser.
3. Run `npm profile enable-2fa auth-and-writes` with an authenticator app.
The script prompts for the 2FA code at publish time. No access token is needed.
## Release script (agent, on go)
`publish.sh` releases the version in `package.json`, or bumps first when given `patch`, `minor`, `major` or an explicit version. In order:
1. Refuse unless the tree is clean, the branch is `main`, and `npm whoami` succeeds.
2. `npm run check`.
3. `npm pack --dry-run`, so the tarball contents are visible before anything leaves the machine.
4. Rename `## [Unreleased]` in `CHANGELOG.md` to `## [<version>] - <date>`.
5. Commit, then tag `v<version>`.
6. `npm publish`.
7. `git push origin main --follow-tags`.
If the publish fails, the tag stays local. Fix the cause, then rerun `npm publish` and `git push origin main --follow-tags`.
## Package changes (agent, on go)
- `package.json`: add `"pi": { "extensions": ["./index.ts"] }`. Without it pi scans only `extensions/` and loads nothing from a root `index.ts`.
- `package.json`: add `repository`, `homepage`, `bugs` and `"files": ["index.ts"]`, so `tests/`, `docs/` and `tsconfig.json` stay out of the tarball.
- `package.json`: extend `description` with "unofficial, community-maintained".
- `README.md`: new install section, a release section for `publish.sh`, and a plain-language edit pass.
- After the publish: install check in a throwaway agent dir with `pi -e npm:pi-nous-portal`, then `/login nous-portal`.
- `AGENTS.md`: record the release steps.
[Generated by AI]
npm publish ran through ./publish.sh. release v0.1.0 (e534b27) and tag v0.1.0 are on origin.
npm served a placeholder version 0.0.0-stage for about four minutes. latest became 0.1.0 at 15:19:25 UTC.
pi -e npm:pi-nous-portal@0.1.0 --list-models in a fresh agent dir lists 8 nous-portal models with an empty stderr.
publish.sh now waits until npm serves the version (21ec802).
Still open: the pi.dev/packages listing. The gallery returned 404 at 15:26 UTC, and npm's own search index did not list the package yet, although the registry already carries the pi-package keyword. Close this issue once https://pi.dev/packages/pi-nous-portal answers 200.
[Generated by AI]
Published and verified.
- `npm publish` ran through `./publish.sh`. `release v0.1.0` (e534b27) and tag `v0.1.0` are on origin.
- npm served a placeholder version `0.0.0-stage` for about four minutes. `latest` became `0.1.0` at 15:19:25 UTC.
- `pi -e npm:pi-nous-portal@0.1.0 --list-models` in a fresh agent dir lists 8 `nous-portal` models with an empty stderr.
- `publish.sh` now waits until npm serves the version (21ec802).
Still open: the pi.dev/packages listing. The gallery returned 404 at 15:26 UTC, and npm's own search index did not list the package yet, although the registry already carries the `pi-package` keyword. Close this issue once https://pi.dev/packages/pi-nous-portal answers 200.
[Generated by AI]
Treated as permission to publish, not as an endorsement: README.md and package.json keep 'unofficial, community-maintained' and 'not affiliated with Nous Research'. Recorded in AGENTS.md (ef136db).
Closing: the gallery listing is live, and the release now has the Nous Portal maintainer's OK.
- Teknium gave a verbal OK on 2026-11-25 at 16:39 UTC in the Nous Research Discord ('You can do it it's fine'), after @AlexKucera described the extension and asked for his blessing to release it publicly. Thread: https://discord.com/channels/1053877538025386074/1575186664651755570
- Treated as permission to publish, not as an endorsement: README.md and package.json keep 'unofficial, community-maintained' and 'not affiliated with Nous Research'. Recorded in AGENTS.md (ef136db).
- https://pi.dev/packages/pi-nous-portal answers 200 with the 0.1.0 package page, while a bogus package path still answers 404. The gallery index at https://pi.dev/packages does not show the package yet (cache lag, not a blocker).
[Generated by AI]
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Publishes
pi-nous-portal0.1.0 to npm so it appears on https://pi.dev/packages and installs withpi install npm:pi-nous-portal. Follows the research in #2.Decisions, settled 2026-11-25
pi-packagekeyword. A git source installs but never lists.pi-nous-portal.repositorypoints at this Gitea repo. No GitHub mirror.hermes-clidevice-code client id.v0.1.0, aCHANGELOG.mdheading## [0.1.0] - <date>, and no Gitea Release object.publish.sh. No CI.pi install npm:pi-nous-portal. The symlink stays as the dev path.npm setup (Alexander)
npm loginon the Mac. It opens the browser.npm profile enable-2fa auth-and-writeswith an authenticator app.The script prompts for the 2FA code at publish time. No access token is needed.
Release script (agent, on go)
publish.shreleases the version inpackage.json, or bumps first when givenpatch,minor,majoror an explicit version. In order:main, andnpm whoamisucceeds.npm run check.npm pack --dry-run, so the tarball contents are visible before anything leaves the machine.## [Unreleased]inCHANGELOG.mdto## [<version>] - <date>.v<version>.npm publish.git push origin main --follow-tags.If the publish fails, the tag stays local. Fix the cause, then rerun
npm publishandgit push origin main --follow-tags.Package changes (agent, on go)
package.json: add"pi": { "extensions": ["./index.ts"] }. Without it pi scans onlyextensions/and loads nothing from a rootindex.ts.package.json: addrepository,homepage,bugsand"files": ["index.ts"], sotests/,docs/andtsconfig.jsonstay out of the tarball.package.json: extenddescriptionwith "unofficial, community-maintained".README.md: new install section, a release section forpublish.sh, and a plain-language edit pass.pi -e npm:pi-nous-portal, then/login nous-portal.AGENTS.md: record the release steps.[Generated by AI]
Published and verified.
npm publishran through./publish.sh.release v0.1.0(e534b27) and tagv0.1.0are on origin.0.0.0-stagefor about four minutes.latestbecame0.1.0at 15:19:25 UTC.pi -e npm:pi-nous-portal@0.1.0 --list-modelsin a fresh agent dir lists 8nous-portalmodels with an empty stderr.publish.shnow waits until npm serves the version (21ec802).Still open: the pi.dev/packages listing. The gallery returned 404 at 15:26 UTC, and npm's own search index did not list the package yet, although the registry already carries the
pi-packagekeyword. Close this issue once https://pi.dev/packages/pi-nous-portal answers 200.[Generated by AI]
Closing: the gallery listing is live, and the release now has the Nous Portal maintainer's OK.
ef136db).[Generated by AI]