@jameslovespancakes/pi-plus 1.0.0
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/LICENSE +21 -0
- package/README.md +190 -0
- package/config/pi-plus.example.json +60 -0
- package/config/skills/model-routing/SKILL.md +86 -0
- package/images/board_demo.png +0 -0
- package/images/pi-plus.svg +10 -0
- package/images/pi-plus_demo.png +0 -0
- package/images/provider_demo.png +0 -0
- package/images/remote_demo.png +0 -0
- package/images/usage_demo.png +0 -0
- package/package.json +67 -0
- package/server/board-server.mjs +641 -0
- package/server/package.json +17 -0
- package/src/core/accounts/registry.ts +93 -0
- package/src/core/anthropic/client-identity.ts +241 -0
- package/src/core/anthropic/models.ts +69 -0
- package/src/core/anthropic/oauth.ts +208 -0
- package/src/core/anthropic/quota.ts +253 -0
- package/src/core/anthropic/routing.ts +168 -0
- package/src/core/anthropic/store.ts +225 -0
- package/src/core/anthropic/vendor/README.md +36 -0
- package/src/core/anthropic/vendor/xxhash-wasm.LICENSE.md +25 -0
- package/src/core/anthropic/vendor/xxhash-wasm.js +2 -0
- package/src/core/anthropic/xxhash64.ts +33 -0
- package/src/core/catalog/quality.ts +314 -0
- package/src/core/codex/oauth.ts +129 -0
- package/src/core/codex/quota.ts +88 -0
- package/src/core/codex/store.ts +97 -0
- package/src/core/config.ts +169 -0
- package/src/core/env.ts +58 -0
- package/src/core/exec/process.ts +146 -0
- package/src/core/exec/ssh-config.ts +157 -0
- package/src/core/oauth/pkce.ts +88 -0
- package/src/core/policy/policy.ts +183 -0
- package/src/core/quota/pool.ts +64 -0
- package/src/core/quota/usage-source.ts +289 -0
- package/src/core/store.ts +43 -0
- package/src/domains/agents/board-setup.ts +409 -0
- package/src/domains/agents/index.ts +462 -0
- package/src/domains/models/catalog-tool.ts +361 -0
- package/src/domains/models/index.ts +14 -0
- package/src/domains/models/policy-gate.ts +169 -0
- package/src/domains/models/provider-picker.ts +208 -0
- package/src/domains/remote/config-path.ts +41 -0
- package/src/domains/remote/index.ts +866 -0
- package/src/domains/remote/setup.ts +425 -0
- package/src/domains/setup/index.ts +220 -0
- package/src/domains/subscriptions/accounts-picker.ts +178 -0
- package/src/domains/subscriptions/accounts.ts +242 -0
- package/src/domains/subscriptions/footer.ts +182 -0
- package/src/domains/subscriptions/index.ts +42 -0
- package/src/domains/subscriptions/provider.ts +219 -0
- package/src/domains/subscriptions/providers/anthropic.ts +149 -0
- package/src/domains/subscriptions/providers/codex.ts +148 -0
- package/src/domains/subscriptions/routing.ts +72 -0
- package/src/services/usage-service.ts +186 -0
- package/src/ui/format.ts +73 -0
- package/src/ui/usage-bars.ts +154 -0
- package/src/vendor/anthropic.ts +109 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 james
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
<img src="images/pi-plus.svg" alt="pi-plus" width="140">
|
|
4
|
+
|
|
5
|
+
# pi-plus
|
|
6
|
+
|
|
7
|
+
**Everything [pi](https://pi.dev/) is missing, in one install.**
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/@jameslovespancakes/pi-plus)
|
|
10
|
+
[](LICENSE)
|
|
11
|
+
[](https://pi.dev/packages)
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Install
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
pi install npm:@jameslovespancakes/pi-plus # npm
|
|
21
|
+
pi install git:github.com/jameslovespancakes/pi-plus # git
|
|
22
|
+
pi install /path/to/pi-plus # local checkout
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then run **`/pi-plus`**. It shows what is configured and what is not, and enter
|
|
26
|
+
on any row starts that setup.
|
|
27
|
+
|
|
28
|
+
<img src="images/pi-plus_demo.png" alt="The /pi-plus status modal listing each feature and its state" width="700">
|
|
29
|
+
|
|
30
|
+
`/pi-plus help` asks the model to explain the pack and what you are missing.
|
|
31
|
+
Nothing else is required, every feature configures itself from within pi.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Features
|
|
36
|
+
|
|
37
|
+
### Pool every subscription
|
|
38
|
+
|
|
39
|
+
Add all the Claude accounts you own. pi-plus balances sessions across them by
|
|
40
|
+
**remaining quota and time-to-reset**, keeps caches sticky, and migrates only on
|
|
41
|
+
confirmed exhaustion.
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
/account anthropic add work
|
|
45
|
+
/routing optimal
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Your live quota, always in the footer:
|
|
49
|
+
|
|
50
|
+
<img src="images/usage_demo.png" alt="Claude subscription quota bars in the pi footer" width="680">
|
|
51
|
+
|
|
52
|
+
With more than two accounts only the two most recently used are listed, so the
|
|
53
|
+
footer stays a fixed height however many you pool.
|
|
54
|
+
|
|
55
|
+
Account and routing commands are provider-agnostic: they dispatch through an
|
|
56
|
+
adapter registry, so a second provider is one adapter, not a new command
|
|
57
|
+
surface. Anthropic ships today.
|
|
58
|
+
|
|
59
|
+
### Pick models on evidence
|
|
60
|
+
|
|
61
|
+
`list_models` puts the full **Artificial Analysis** benchmark set in front of the
|
|
62
|
+
agent: intelligence, coding, Terminal-Bench, τ²-bench, GPQA, price, tok/s and
|
|
63
|
+
score-per-dollar, *plus your remaining quota*.
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
model bill quota intel code tbHard $/1M tok/s code/$
|
|
67
|
+
anthropic/claude-opus-5 sub 74% 71.2 76.4 42.1 - - -
|
|
68
|
+
openai-codex/gpt-6-astra sub 81% 69.8 74.1 39.6 - - -
|
|
69
|
+
openrouter/glm-5 paid - 64.3 68.9 31.2 0.62 88.4 111.1
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Cached locally and revalidated every 4h with an ETag, mirroring how pi refreshes
|
|
73
|
+
its own model catalog.
|
|
74
|
+
|
|
75
|
+
### Never get surprise-billed
|
|
76
|
+
|
|
77
|
+
Metered providers are gated **at the provider boundary**, not by prompt
|
|
78
|
+
instructions, so it covers workflow subagents too. `/provider` shows every
|
|
79
|
+
provider you have credentials for and toggles each one:
|
|
80
|
+
|
|
81
|
+
<img src="images/provider_demo.png" alt="The /provider picker toggling provider approval" width="560">
|
|
82
|
+
|
|
83
|
+
### Run tests on real hardware
|
|
84
|
+
|
|
85
|
+
`/remote setup` reads every connectable host in `~/.ssh/config` and lets you
|
|
86
|
+
toggle which are eligible. No SSH config? It generates a dedicated key, shows
|
|
87
|
+
the one line to run, and verifies.
|
|
88
|
+
|
|
89
|
+
<img src="images/remote_demo.png" alt="The /remote picker toggling SSH workers" width="700">
|
|
90
|
+
|
|
91
|
+
`remote_test` snapshots your working tree, admission-checks CPU/GPU/disk,
|
|
92
|
+
reserves a slot, and **deletes the uploaded source the moment the run ends**,
|
|
93
|
+
keeping only `test.log` and `result.json`. Cleanup runs on the worker, so it
|
|
94
|
+
still happens if your laptop sleeps.
|
|
95
|
+
|
|
96
|
+
### Coordinate multiple agents
|
|
97
|
+
|
|
98
|
+
`agent_board` gives live presence, messaging, repo rooms and coordinator chains
|
|
99
|
+
across every running pi agent. `/board` opens the messaging view:
|
|
100
|
+
|
|
101
|
+
<img src="images/board_demo.png" alt="The /board messaging view" width="700">
|
|
102
|
+
|
|
103
|
+
`/board setup` installs the server locally (pi starts it each session) or onto
|
|
104
|
+
any Mac or Linux host over SSH, where launchd or systemd brings it back after a
|
|
105
|
+
reboot.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Commands
|
|
110
|
+
|
|
111
|
+
| | |
|
|
112
|
+
| --- | --- |
|
|
113
|
+
| `/pi-plus` | status modal for every feature |
|
|
114
|
+
| `/pi-plus help` | model explains the pack and what is missing |
|
|
115
|
+
| `/account` | account hub: toggle, add, reauth, switch routing |
|
|
116
|
+
| `/account <provider> add [label]` | add a subscription |
|
|
117
|
+
| `/account <provider> reauth [label]` | reauthorize one |
|
|
118
|
+
| `/routing standard \| optimal` | main-first, or balance by quota |
|
|
119
|
+
| `/usage [on\|off\|text]` | quota bars |
|
|
120
|
+
| `/models [sort]` | ranked catalog |
|
|
121
|
+
| `/model-info <id>` | every benchmark for one model |
|
|
122
|
+
| `/model-info refresh` | force a benchmark refresh |
|
|
123
|
+
| `/model-info setup` | add the Artificial Analysis key |
|
|
124
|
+
| `/provider` | provider toggle picker |
|
|
125
|
+
| `/provider approve \| remove <name>` | grant or revoke |
|
|
126
|
+
| `/remote setup` | worker hub: toggle, add, rename, remove |
|
|
127
|
+
| `/remote add \| rename \| remove` | jump to one step |
|
|
128
|
+
| `/board` | live agent board UI |
|
|
129
|
+
| `/board setup \| restart \| clear \| status` | manage the board server |
|
|
130
|
+
|
|
131
|
+
**Tools available to the agent:** `list_models`, `agent_board`, `remote_status`,
|
|
132
|
+
`remote_test`.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Configuration
|
|
137
|
+
|
|
138
|
+
Everything lives in one file, `~/.pi/agent/pi-plus.json`, created on first use:
|
|
139
|
+
|
|
140
|
+
```json
|
|
141
|
+
{
|
|
142
|
+
"env": { "ARTIFICIAL_ANALYSIS_API_KEY": "aa_…", "AGENT_BOARD_URL": "ws://…" },
|
|
143
|
+
"policy": { "autoApprove": [], "requireApproval": [], "deny": [] },
|
|
144
|
+
"remote": { "workers": [] }
|
|
145
|
+
}
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Real environment variables of the same name always win, so CI and shell
|
|
149
|
+
overrides work unchanged. Older `model-quality-key.json`, `agent-board.json` and
|
|
150
|
+
`remote-workers.json` are migrated automatically and left in place.
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Architecture
|
|
155
|
+
|
|
156
|
+
Layered by dependency direction, grouped by domain. Each domain owns its own
|
|
157
|
+
commands, tools and widgets.
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
src/
|
|
161
|
+
core/ zero pi imports, pure and unit-testable
|
|
162
|
+
store · config · env · quota · catalog · policy · exec · accounts
|
|
163
|
+
services/ stateful singletons with lifecycle + subscribe()
|
|
164
|
+
usage-service, the single quota poller
|
|
165
|
+
ui/ dumb render primitives: format · usage-bars
|
|
166
|
+
domains/ one pi extension entry each
|
|
167
|
+
setup · subscriptions · models · agents · remote
|
|
168
|
+
vendor/ anthropic.ts, the only file importing @cortexkit/*
|
|
169
|
+
server/ the agent board server, one file and one dependency (ws)
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
```sh
|
|
173
|
+
npm install && npm run verify # typecheck + 106 tests
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## Built on
|
|
179
|
+
|
|
180
|
+
pi-plus is a thin layer over other people's work.
|
|
181
|
+
|
|
182
|
+
| project | what it does here | license |
|
|
183
|
+
| --- | --- | --- |
|
|
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 |
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
## License
|
|
189
|
+
|
|
190
|
+
MIT
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"ARTIFICIAL_ANALYSIS_API_KEY": "<artificial-analysis-api-key>",
|
|
4
|
+
"AGENT_BOARD_URL": "ws://<board-host>:8787/ws",
|
|
5
|
+
"AGENT_BOARD_TOKEN": "<agent-board-token>",
|
|
6
|
+
"AGENT_BOARD_NAME": "you"
|
|
7
|
+
},
|
|
8
|
+
"policy": {
|
|
9
|
+
"autoApprove": [
|
|
10
|
+
"anthropic/*",
|
|
11
|
+
"openai-codex/*",
|
|
12
|
+
"openrouter/stealth/union-alpha"
|
|
13
|
+
],
|
|
14
|
+
"requireApproval": [
|
|
15
|
+
"openrouter/*",
|
|
16
|
+
"google/*",
|
|
17
|
+
"openai/*",
|
|
18
|
+
"xai/*"
|
|
19
|
+
],
|
|
20
|
+
"deny": []
|
|
21
|
+
},
|
|
22
|
+
"remote": {
|
|
23
|
+
"injectStatus": true,
|
|
24
|
+
"defaults": {
|
|
25
|
+
"cpuBlockPercent": 90,
|
|
26
|
+
"gpuBlockPercent": 90,
|
|
27
|
+
"gpuMemoryBlockPercent": 90,
|
|
28
|
+
"memoryBlockPercent": 90,
|
|
29
|
+
"minimumFreeDiskGB": 10,
|
|
30
|
+
"statusCacheSeconds": 30,
|
|
31
|
+
"retentionHours": 24
|
|
32
|
+
},
|
|
33
|
+
"workers": [
|
|
34
|
+
{
|
|
35
|
+
"name": "mac-mini",
|
|
36
|
+
"ssh": "mac-mini",
|
|
37
|
+
"root": "~/remote_tests",
|
|
38
|
+
"nice": 10,
|
|
39
|
+
"tags": [
|
|
40
|
+
"macos",
|
|
41
|
+
"arm64",
|
|
42
|
+
"gpu",
|
|
43
|
+
"metal"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "hyperion",
|
|
48
|
+
"ssh": "hyperion",
|
|
49
|
+
"root": "~/remote_tests",
|
|
50
|
+
"nice": 10,
|
|
51
|
+
"tags": [
|
|
52
|
+
"linux",
|
|
53
|
+
"x64",
|
|
54
|
+
"gpu",
|
|
55
|
+
"cuda"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: model-routing
|
|
3
|
+
description: Choose the right model for a task or workflow stage using live benchmark data. Use when delegating work to subagents, authoring or running inline workflows, or whenever deciding which model should handle a task.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Model routing
|
|
7
|
+
|
|
8
|
+
Do not guess model quality and do not rely on fixed `small`/`medium`/`big`
|
|
9
|
+
profiles. Those profiles have been removed from this machine. Pick a model per
|
|
10
|
+
task from live data.
|
|
11
|
+
|
|
12
|
+
## 1. Read the catalogue first
|
|
13
|
+
|
|
14
|
+
Call the `list_models` tool before delegating work:
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
list_models(sort_by: "coding", limit: 15)
|
|
18
|
+
list_models(sort_by: "cost_efficiency", provider: "openai-codex")
|
|
19
|
+
list_models(query: "opus", detail: "full")
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
It returns, per model:
|
|
23
|
+
|
|
24
|
+
- Artificial Analysis Intelligence, Coding and Math indices
|
|
25
|
+
- Terminal-Bench Hard, Terminal-Bench 2.1, τ²-bench, τ-bench Banking
|
|
26
|
+
- LiveCodeBench, SciCode, GPQA Diamond, HLE, MMLU-Pro, IFBench, AIME, MATH-500,
|
|
27
|
+
long-context reasoning
|
|
28
|
+
- price per 1M input/output/blended tokens, throughput, time to first token
|
|
29
|
+
- cost-efficiency ratios (score per dollar)
|
|
30
|
+
- `billing` (`sub` or `paid`) and remaining subscription quota
|
|
31
|
+
- `conf`: `measured`, `inferred`, or `unrated`
|
|
32
|
+
|
|
33
|
+
## 2. Match the metric to the task
|
|
34
|
+
|
|
35
|
+
| Task | Rank by |
|
|
36
|
+
|---|---|
|
|
37
|
+
| Agentic coding, terminal work, multi-step edits | Terminal-Bench Hard, then Coding Index |
|
|
38
|
+
| Tool-calling reliability | τ²-bench |
|
|
39
|
+
| Algorithmic code generation | LiveCodeBench, SciCode |
|
|
40
|
+
| Research, analysis, hard reasoning | GPQA, HLE, Intelligence Index |
|
|
41
|
+
| Long document or repo-wide reasoning | long-context reasoning, context window |
|
|
42
|
+
| Bulk or throwaway fan-out | cost efficiency and tok/s |
|
|
43
|
+
|
|
44
|
+
## 3. Respect billing policy
|
|
45
|
+
|
|
46
|
+
- Subscription models (`anthropic/*`, `openai-codex/*`) are free to use. Prefer
|
|
47
|
+
them, and prefer accounts with quota remaining.
|
|
48
|
+
- Metered models (`openrouter/*`, `google/*`, `openai/*`, `xai/*`) are blocked at
|
|
49
|
+
the provider boundary until the user runs `/model-approve <provider>`. If a
|
|
50
|
+
call is blocked, switch to a subscription model or ask the user; never retry
|
|
51
|
+
in a loop.
|
|
52
|
+
- Check `/model-policy` for the current spend ceiling.
|
|
53
|
+
|
|
54
|
+
## 4. Use explicit models in workflows
|
|
55
|
+
|
|
56
|
+
In inline workflow scripts pass `model` on each `agent()` call:
|
|
57
|
+
|
|
58
|
+
```ts
|
|
59
|
+
const findings = await parallel([
|
|
60
|
+
() => agent(prompt, { model: "openai-codex/gpt-5.6-terra", schema: Finding }),
|
|
61
|
+
() => agent(prompt, { model: "anthropic/claude-sonnet-5", schema: Finding }),
|
|
62
|
+
]);
|
|
63
|
+
|
|
64
|
+
const synthesis = await agent(summaryPrompt, {
|
|
65
|
+
model: "anthropic/claude-opus-5",
|
|
66
|
+
thinkingLevel: "high",
|
|
67
|
+
});
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Rules:
|
|
71
|
+
|
|
72
|
+
- Always use the full `provider/id` form.
|
|
73
|
+
- Give cheap, fast, high-throughput models the wide fan-out stages.
|
|
74
|
+
- Give the strongest agentic model the synthesis, planning and patch-writing
|
|
75
|
+
stages.
|
|
76
|
+
- Thinking level changes measured quality: `list_models` scores resolve per
|
|
77
|
+
effort level where Artificial Analysis publishes them, so raise
|
|
78
|
+
`thinkingLevel` when a stage is hard rather than switching to a costlier model
|
|
79
|
+
by default.
|
|
80
|
+
- If a model is `unrated`, say so before using it for important work, and prefer
|
|
81
|
+
a `measured` alternative of similar cost.
|
|
82
|
+
|
|
83
|
+
## 5. Quota awareness
|
|
84
|
+
|
|
85
|
+
If Claude's 5h pool is nearly exhausted, route to Codex instead of stalling, and
|
|
86
|
+
mention the switch. The `/usage` bar shows remaining quota for every account.
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800">
|
|
3
|
+
<!-- Original Pi logo paths, unchanged -->
|
|
4
|
+
<path fill="#F09082" d="M165.29 165.29H517.36V400H400V282.65H165.29Z"/>
|
|
5
|
+
<path fill="#4D9ABF" d="M165.29 282.65H282.65V400H400V517.36H282.65V634.72H165.29Z"/>
|
|
6
|
+
<path fill="#F1BE58" d="M517.36 400H634.72V634.72H517.36Z"/>
|
|
7
|
+
|
|
8
|
+
<!-- Plus mark, matching the logo's square/pixel geometry -->
|
|
9
|
+
<path fill="#F09082" d="M697.84 223.97H736.96V263.09H776.08V302.21H736.96V341.33H697.84V302.21H658.72V263.09H697.84Z"/>
|
|
10
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jameslovespancakes/pi-plus",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
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
|
+
"license": "MIT",
|
|
7
|
+
"author": "james",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"pi-package",
|
|
10
|
+
"pi",
|
|
11
|
+
"extensions",
|
|
12
|
+
"anthropic",
|
|
13
|
+
"claude",
|
|
14
|
+
"quota",
|
|
15
|
+
"models"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/jameslovespancakes/pi-plus.git"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://github.com/jameslovespancakes/pi-plus#readme",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/jameslovespancakes/pi-plus/issues"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"src",
|
|
27
|
+
"server",
|
|
28
|
+
"config/skills",
|
|
29
|
+
"config/pi-plus.example.json",
|
|
30
|
+
"images",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"pi": {
|
|
35
|
+
"extensions": [
|
|
36
|
+
"./src/domains/setup/index.ts",
|
|
37
|
+
"./src/domains/subscriptions/index.ts",
|
|
38
|
+
"./src/domains/models/index.ts",
|
|
39
|
+
"./src/domains/agents/index.ts",
|
|
40
|
+
"./src/domains/remote/index.ts"
|
|
41
|
+
],
|
|
42
|
+
"skills": [
|
|
43
|
+
"./config/skills"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"ws": "^8.18.3"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@earendil-works/pi-agent-core": "*",
|
|
51
|
+
"@earendil-works/pi-ai": "*",
|
|
52
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
53
|
+
"@earendil-works/pi-tui": "*",
|
|
54
|
+
"typebox": "*"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"lint": "oxlint",
|
|
58
|
+
"lint:fix": "oxlint --fix",
|
|
59
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
60
|
+
"test": "node --test \"tests/*.test.ts\"",
|
|
61
|
+
"verify": "npm run lint && npm run typecheck && npm test",
|
|
62
|
+
"version:next": "node scripts/bump-version.mjs --dry-run"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"oxlint": "^1.83.0"
|
|
66
|
+
}
|
|
67
|
+
}
|