pi-status-footer 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -32
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,38 +97,6 @@ npm install --save-dev @earendil-works/pi-ai @earendil-works/pi-coding-agent @ea
|
|
|
97
97
|
npx tsc --noEmit stats-footer.ts
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
## Releasing to npm
|
|
101
|
-
|
|
102
|
-
A GitHub Action (`.github/workflows/release.yml`) auto-publishes to npm via trusted publishing (OIDC) on tag push.
|
|
103
|
-
|
|
104
|
-
1. Bump the version in `package.json` and commit on `main`.
|
|
105
|
-
2. Tag the commit — the tag must match the version, e.g. `v1.0.1`:
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
git tag v1.0.1
|
|
109
|
-
git push origin v1.0.1
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
3. The workflow verifies the tag/version match, dry-runs `npm pack`, then publishes with [npm provenance](https://docs.npmjs.com/generating-provenance-statements).
|
|
113
|
-
|
|
114
|
-
### One-time setup
|
|
115
|
-
|
|
116
|
-
Before the first tag push, bind the GitHub Actions workflow as a trusted publisher. You must be logged into npm:
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
npm adduser # if not already logged in (2FA required)
|
|
120
|
-
npm publish --access public # first publish — creates the package on npm
|
|
121
|
-
npm trust github pi-status-footer \
|
|
122
|
-
--repo kslamph/pi-status-footer \
|
|
123
|
-
--file release.yml -y
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
This claims the `pi-status-footer` package name, publishes v1.0.0, and authorises the `release.yml` workflow to publish via OIDC without any token. After this one-time setup, just push a `vX.Y.Z` tag and the action takes over.
|
|
127
|
-
|
|
128
|
-
### Pre-release versions
|
|
129
|
-
|
|
130
|
-
Tags like `v1.0.1-beta.1` publish to the `next` dist-tag instead of `latest`.
|
|
131
|
-
|
|
132
100
|
## License
|
|
133
101
|
|
|
134
102
|
MIT — see [LICENSE](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-status-footer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Compact two-line status footer for pi: model, thinking level, tokens, TPS, cache hit rate, context usage, live git diff, and working/turn timers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|