@jameslovespancakes/pi-plus 1.0.2 → 1.0.4

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/README.md +26 -5
  3. package/package.json +2 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,103 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented here.
4
+
5
+ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and versions follow an odometer scheme: patch rolls into minor at 100, minor
7
+ rolls into major at 10.
8
+
9
+ ## [Unreleased]
10
+
11
+ ## [1.0.4] - 2026-09-19
12
+
13
+ ### Changed
14
+
15
+ - The README leads with the mark alone instead of repeating the name beneath
16
+ it, and credits the Anthropic provider correctly: it was adopted from
17
+ `@cortexkit/pi-anthropic-auth` and has since been reimplemented here.
18
+
19
+ ### Added
20
+
21
+ - A disclaimer covering provider terms of service.
22
+
23
+ ## [1.0.3] - 2026-09-19
24
+
25
+ ### Added
26
+
27
+ - A `CHANGELOG.md`, and GitHub releases whose notes are generated from it.
28
+ `scripts/changelog.mjs --promote` retitles `## [Unreleased]` as the new
29
+ version at release time, so entries are written without needing to know the
30
+ next version number.
31
+
32
+ ## [1.0.2] - 2026-09-19
33
+
34
+ ### Fixed
35
+
36
+ - Release tags now reach the remote. `git tag` creates a lightweight tag and
37
+ `git push --follow-tags` pushes only annotated ones, so every tag was
38
+ silently dropped while the job still reported success.
39
+ - The release job name no longer renders twice. GitHub prefixes a reusable
40
+ workflow's job name with the caller's, so naming both produced
41
+ `Lint / Typecheck / Tests / Lint / Typecheck / Tests`.
42
+
43
+ ## [1.0.1] - 2026-09-19
44
+
45
+ ### Added
46
+
47
+ - Releases are gated on lint, typecheck and tests as a separate job.
48
+ Publishing cannot begin unless every check passes, rather than relying on
49
+ step ordering inside one job.
50
+
51
+ ### Changed
52
+
53
+ - CI and release run on Node 24, which ships the npm 11.5.1+ required for
54
+ trusted publishing.
55
+ - `actions/checkout` and `actions/setup-node` upgraded to v5; v4 targets the
56
+ deprecated Node 20 runtime.
57
+
58
+ ## [1.0.0] - 2026-09-19
59
+
60
+ First published release.
61
+
62
+ ### Added
63
+
64
+ - **Subscription accounts.** Multiple Anthropic and Codex subscriptions in one
65
+ pool, with quota-aware routing. `/accounts` lists every provider's accounts
66
+ and toggles them in place; `/accounts add` and `/accounts rename` run as
67
+ wizards.
68
+ - **Codex multi-account.** PKCE OAuth, per-account quota from `x-codex-*`
69
+ response headers, and duplicate detection by ChatGPT account id so two
70
+ entries cannot share one quota pool.
71
+ - **Quota from response headers.** Anthropic reports utilisation on every
72
+ reply, so the account serving traffic refreshes at no request cost. Idle
73
+ accounts are polled at most once per 10 minutes, triggered by sending a
74
+ message rather than a timer.
75
+ - **Usage HUD.** Pooled 5h, weekly and per-model tiers for Claude, and 5h and
76
+ weekly for Codex, served from cached snapshots.
77
+ - **Model catalogue and billing policy.** `/models`, `/model-info` and
78
+ `/provider` with benchmark-driven selection and an approval gate.
79
+ - **Agent board.** `/board` for live cross-agent messaging.
80
+ - **Remote workers.** `/remote` for capacity-gated test and build workers.
81
+ - **Own the Anthropic provider.** OAuth, routing, quota and client identity
82
+ are implemented in this repository rather than pulled from a dependency.
83
+
84
+ ### Fixed
85
+
86
+ - The account list and `/usage` both returned empty because they still
87
+ imported a package that had been removed during the provider extraction.
88
+ The failure was swallowed, so it looked like "no accounts" rather than an
89
+ error.
90
+ - Cached usage rows omitted `checkedAt`, so freshness checks discarded every
91
+ one and the HUD read `unknown/stale` with no bars.
92
+ - The provider picker redrew the whole screen on each toggle. It now updates
93
+ in place inside pi's own inline chrome.
94
+ - Scoped per-model limits were labelled from Anthropic's internal id, which
95
+ truncated to `claude` and named neither the window nor the model. They now
96
+ show the model family, for example `Fable`.
97
+
98
+ [Unreleased]: https://github.com/jameslovespancakes/pi-plus/compare/v1.0.4...HEAD
99
+ [1.0.4]: https://github.com/jameslovespancakes/pi-plus/compare/v1.0.3...v1.0.4
100
+ [1.0.3]: https://github.com/jameslovespancakes/pi-plus/compare/v1.0.2...v1.0.3
101
+ [1.0.2]: https://github.com/jameslovespancakes/pi-plus/compare/v1.0.1...v1.0.2
102
+ [1.0.1]: https://github.com/jameslovespancakes/pi-plus/compare/v1.0.0...v1.0.1
103
+ [1.0.0]: https://github.com/jameslovespancakes/pi-plus/releases/tag/v1.0.0
package/README.md CHANGED
@@ -1,15 +1,16 @@
1
1
  <div align="center">
2
2
 
3
- <img src="images/pi-plus.svg" alt="pi-plus" width="140">
4
-
5
- # pi-plus
3
+ <img src="images/pi-plus.svg" alt="pi-plus" width="160">
6
4
 
7
5
  **Everything [pi](https://pi.dev/) is missing, in one install.**
8
6
 
9
7
  [![npm](https://img.shields.io/npm/v/@jameslovespancakes/pi-plus?color=%234D9ABF&label=npm)](https://www.npmjs.com/package/@jameslovespancakes/pi-plus)
8
+ [![CI](https://github.com/jameslovespancakes/pi-plus/actions/workflows/ci.yml/badge.svg)](https://github.com/jameslovespancakes/pi-plus/actions/workflows/ci.yml)
10
9
  [![license](https://img.shields.io/badge/license-MIT-F1BE58)](LICENSE)
11
10
  [![pi-package](https://img.shields.io/badge/pi--package-F09082)](https://pi.dev/packages)
12
11
 
12
+ [Changelog](CHANGELOG.md) · [Releases](https://github.com/jameslovespancakes/pi-plus/releases)
13
+
13
14
  </div>
14
15
 
15
16
  ---
@@ -181,10 +182,30 @@ pi-plus is a thin layer over other people's work.
181
182
 
182
183
  | project | what it does here | license |
183
184
  | --- | --- | --- |
184
- | [`pi`](https://pi.dev/)| the host agent and the entire extension API | MIT |
185
- | [`@cortexkit/pi-anthropic-auth`](https://github.com/cortexkit/anthropic-auth) | Claude OAuth, the Anthropic provider, token refresh and routing primitives | MIT |
185
+ | [`pi`](https://pi.dev/) | the host agent and the entire extension API | MIT |
186
+ | [`xxhash-wasm`](https://github.com/jungomi/xxhash-wasm) | vendored into `src/core/anthropic/vendor/` for the billing checksum | MIT |
187
+
188
+ The Anthropic provider, OAuth, quota and routing were originally adopted from
189
+ [`@cortexkit/pi-anthropic-auth`](https://github.com/cortexkit/anthropic-auth)
190
+ (MIT) and have since been reimplemented in this repository.
186
191
 
187
192
 
188
193
  ## License
189
194
 
190
195
  MIT
196
+
197
+
198
+ ## Disclaimer
199
+
200
+ pi-plus is an unofficial, independent project. It is not affiliated with,
201
+ endorsed by, or supported by Anthropic, OpenAI, pi, or any other provider
202
+ named here.
203
+
204
+ **You are responsible for using it within the terms of service of every
205
+ provider you connect it to.** This tool manages credentials for accounts you
206
+ already own and pools requests across them. Whether that is permitted, and
207
+ whether a given account may be used for a given purpose, is governed by your
208
+ agreement with that provider and not by this software. Review those terms
209
+ before connecting an account, and keep in mind that they change.
210
+
211
+ Provided as is, without warranty of any kind. See [LICENSE](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jameslovespancakes/pi-plus",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "Consolidated pi extensions: Claude subscription accounts and quota HUD, benchmark-driven model catalog and billing policy, live agent board, and capacity-gated remote test workers.",
6
6
  "license": "MIT",
@@ -28,6 +28,7 @@
28
28
  "config/skills",
29
29
  "config/pi-plus.example.json",
30
30
  "images",
31
+ "CHANGELOG.md",
31
32
  "README.md",
32
33
  "LICENSE"
33
34
  ],