pairz 1.0.0-rc.86 → 1.0.0-rc.87
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/AGENTS.md +8 -6
- package/CHANGELOG.md +50 -0
- package/README.md +3 -3
- package/docs/build-compass.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/guides/a-business-apps-screens.md +1 -1
- package/docs/guides/agents-on-peoples-plans.md +83 -27
- package/docs/guides/the-compiler.md +2 -2
- package/docs/manifest.json +1 -1
- package/docs/reference/plugins/accounts-web.md +1 -1
- package/docs/reference/plugins/accounts.md +1 -1
- package/docs/reference/plugins/api-web.md +1 -1
- package/docs/reference/plugins/api.md +1 -1
- package/docs/reference/plugins/boards-web.md +1 -1
- package/docs/reference/plugins/boards.md +1 -1
- package/docs/reference/plugins/chat-channels-pt-br.md +1 -1
- package/docs/reference/plugins/chat-channels.md +1 -1
- package/docs/reference/plugins/chat-terminal.md +1 -1
- package/docs/reference/plugins/chat-web.md +1 -1
- package/docs/reference/plugins/chat.md +1 -1
- package/docs/reference/plugins/computers-terminal.md +1 -1
- package/docs/reference/plugins/computers-web.md +2 -2
- package/docs/reference/plugins/computers.md +1 -1
- package/docs/reference/plugins/contacts-web.md +1 -1
- package/docs/reference/plugins/contacts.md +1 -1
- package/docs/reference/plugins/credits-web.md +1 -1
- package/docs/reference/plugins/credits.md +1 -1
- package/docs/reference/plugins/dev-sign-in.md +1 -1
- package/docs/reference/plugins/directory-member.md +1 -1
- package/docs/reference/plugins/directory-web.md +1 -1
- package/docs/reference/plugins/directory.md +1 -1
- package/docs/reference/plugins/documents-web.md +1 -1
- package/docs/reference/plugins/documents.md +1 -1
- package/docs/reference/plugins/email-sign-in.md +1 -1
- package/docs/reference/plugins/email.md +1 -1
- package/docs/reference/plugins/google-sign-in.md +1 -1
- package/docs/reference/plugins/history.md +1 -1
- package/docs/reference/plugins/identity.md +1 -1
- package/docs/reference/plugins/maintenance.md +1 -1
- package/docs/reference/plugins/mcp.md +1 -1
- package/docs/reference/plugins/mcpClient.md +1 -1
- package/docs/reference/plugins/memory-extraction.md +1 -1
- package/docs/reference/plugins/memory-terminal.md +1 -1
- package/docs/reference/plugins/memory-web.md +1 -1
- package/docs/reference/plugins/memory.md +1 -1
- package/docs/reference/plugins/models.md +3 -2
- package/docs/reference/plugins/openapi.md +1 -1
- package/docs/reference/plugins/password-sign-in.md +1 -1
- package/docs/reference/plugins/push-web.md +1 -1
- package/docs/reference/plugins/push.md +1 -1
- package/docs/reference/plugins/routines-web.md +1 -1
- package/docs/reference/plugins/routines.md +1 -1
- package/docs/reference/plugins/skills-web.md +1 -1
- package/docs/reference/plugins/skills.md +1 -1
- package/docs/reference/plugins/spaces-terminal.md +1 -1
- package/docs/reference/plugins/spaces-web.md +1 -1
- package/docs/reference/plugins/spaces.md +1 -1
- package/docs/reference/plugins/stripe-webhook.md +1 -1
- package/docs/reference/plugins/stripe.md +1 -1
- package/docs/reference/plugins/team-web.md +1 -1
- package/docs/reference/plugins/team.md +1 -1
- package/docs/reference/plugins/terminal-shell.md +1 -1
- package/docs/reference/plugins/terminal.md +1 -1
- package/docs/reference/plugins/tiers-web.md +1 -1
- package/docs/reference/plugins/tiers.md +1 -1
- package/docs/reference/plugins/usage-terminal.md +1 -1
- package/docs/reference/plugins/usage-web.md +1 -1
- package/docs/reference/plugins/usage.md +1 -1
- package/docs/reference/plugins/voice.md +1 -1
- package/docs/reference/plugins/web-lines.md +1 -1
- package/docs/reference/plugins/web-page.md +1 -1
- package/docs/reference/plugins/web-shell.md +1 -1
- package/docs/reference/plugins/webTools.md +1 -1
- package/docs/reference/plugins/whatsapp-web.md +1 -1
- package/docs/reference/plugins/whatsapp.md +1 -1
- package/docs/reference/plugins.json +30 -1
- package/docs/reference.md +5 -5
- package/hosts/web/pt-br/accounts.js +1 -1
- package/hosts/web/pt-br/computers.js +3 -2
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/plugins/access/accounts/actions/connected.js +5 -4
- package/plugins/access/accounts/collections/account.d.ts +1 -1
- package/plugins/access/accounts/views/web/accounts.d.ts +1 -1
- package/plugins/access/accounts/views/web/accounts.js +1 -1
- package/plugins/access/accounts/views/web/words.js +1 -1
- package/plugins/access/accounts/web.d.ts +2 -1
- package/plugins/access/accounts/web.js +2 -1
- package/plugins/billing/usage/views/web/words.d.ts +1 -1
- package/plugins/compute/computers/actions/connected.js +19 -8
- package/plugins/compute/computers/actions/engines.js +5 -3
- package/plugins/compute/computers/program/agents/engines.d.ts +24 -12
- package/plugins/compute/computers/program/agents/engines.js +64 -34
- package/plugins/compute/computers/program/agents/types.d.ts +5 -3
- package/plugins/compute/computers/program/version.d.ts +1 -1
- package/plugins/compute/computers/program/version.js +1 -1
- package/plugins/compute/computers/program/workloads/search.d.ts +1 -1
- package/plugins/compute/computers/resources/downloads.js +1 -1
- package/plugins/compute/computers/shared/workloads.d.ts +5 -1
- package/plugins/compute/computers/views/web/connect-flow.d.ts +1 -1
- package/plugins/compute/computers/views/web/connect-flow.js +1 -1
- package/plugins/compute/computers/views/web/cost.d.ts +3 -1
- package/plugins/compute/computers/views/web/cost.js +4 -1
- package/plugins/compute/computers/views/web/plan-card.d.ts +6 -13
- package/plugins/compute/computers/views/web/plan-card.js +40 -24
- package/plugins/compute/computers/views/web/plans.d.ts +8 -5
- package/plugins/compute/computers/views/web/plans.js +25 -10
- package/plugins/compute/computers/views/web/style.d.ts +4 -4
- package/plugins/compute/computers/views/web/style.js +9 -22
- package/plugins/compute/computers/views/web/words.d.ts +1 -1
- package/plugins/compute/computers/views/web/words.js +6 -4
- package/plugins/compute/computers/views/web/yours.d.ts +16 -6
- package/plugins/compute/computers/views/web/yours.js +26 -6
- package/plugins/compute/computers/web.d.ts +8 -5
- package/plugins/compute/computers/web.js +15 -8
- package/plugins/models/actions/offered.d.ts +17 -0
- package/plugins/models/actions/offered.js +61 -7
- package/plugins/models/contract.d.ts +5 -3
- package/plugins/models/mod.d.ts +3 -2
- package/plugins/models/mod.js +5 -3
- package/plugins/models/shared/plans.d.ts +22 -5
- package/plugins/models/shared/plans.js +14 -3
package/AGENTS.md
CHANGED
|
@@ -4,7 +4,7 @@ A guide for coding agents (Claude Code, Codex, Cursor, Gemini) building an app w
|
|
|
4
4
|
whole before you write code. The last section is for work on Pairz itself.
|
|
5
5
|
|
|
6
6
|
It ships in the package (`node_modules/pairz/AGENTS.md`, and `@pairz/pairz` on JSR) and goes with
|
|
7
|
-
`pairz@1.0.0-rc.
|
|
7
|
+
`pairz@1.0.0-rc.87`. The [reading list](llms.txt) links to every docs page in the installed package.
|
|
8
8
|
The same pages are online at https://pairz.ai/llms.txt. When you're unsure of a name, fetch its page
|
|
9
9
|
or read the package's types (`node_modules/pairz/**/*.d.ts`). Don't guess.
|
|
10
10
|
|
|
@@ -178,8 +178,10 @@ It runs on Node 24+, Deno 2.9+ and Bun.
|
|
|
178
178
|
[A missing CLI](docs/guides/agents-on-peoples-plans.md#a-missing-cli).
|
|
179
179
|
- Check that a person's plan answers → `llm.test` →
|
|
180
180
|
[A test, on the plan](docs/guides/agents-on-peoples-plans.md#a-test-on-the-plan).
|
|
181
|
-
- Show a person's plans
|
|
182
|
-
[Your AI](docs/guides/agents-on-peoples-plans.md#your-ai).
|
|
181
|
+
- Show a person's plans, what each pays for → Your AI, `accountSections` (`plans: true`),
|
|
182
|
+
`planList`, `models.plans` → [Your AI](docs/guides/agents-on-peoples-plans.md#your-ai).
|
|
183
|
+
- Show a person's computers → `/computers` (`computers`), `computer.yours` →
|
|
184
|
+
[Your computers](docs/guides/agents-on-peoples-plans.md#your-computers).
|
|
183
185
|
- Ask about plans in the app's welcome → `computer.plans.welcome` →
|
|
184
186
|
[Your AI](docs/guides/agents-on-peoples-plans.md#your-ai).
|
|
185
187
|
- Sign a plan out on one computer → `computer.engine.logout` →
|
|
@@ -243,7 +245,7 @@ Plugins reach each other only through the runtime, by name. One that builds on a
|
|
|
243
245
|
Start on Node 24 or newer:
|
|
244
246
|
|
|
245
247
|
```sh
|
|
246
|
-
npx pairz@1.0.0-rc.
|
|
248
|
+
npx pairz@1.0.0-rc.87 init orders
|
|
247
249
|
cd orders
|
|
248
250
|
npm run check
|
|
249
251
|
npm run dev
|
|
@@ -262,7 +264,7 @@ for fields such as `requires`, `defaults` and `guard`, `lib/web/` for React comp
|
|
|
262
264
|
names in `pairz-env.d.ts`. Commit that declaration and ignore `.pairz/build/`. The server imports
|
|
263
265
|
`#pairz/plugins/<name>/mod.ts`, the browser `web.ts` and the terminal `terminal.ts` from the same
|
|
264
266
|
folder. The starter's dev script watches declarations and the server. On Deno, the compiler entry is
|
|
265
|
-
`deno run -A jsr:@pairz/pairz@1.0.0-rc.
|
|
267
|
+
`deno run -A jsr:@pairz/pairz@1.0.0-rc.87/gen`.
|
|
266
268
|
|
|
267
269
|
Existing plugins with a hand-written `mod.ts` keep their own assembly and explicit schemas. List
|
|
268
270
|
them alongside generated plugins in `app.ts`. [The compiler](docs/guides/the-compiler.md).
|
|
@@ -273,7 +275,7 @@ line `@AGENTS.md` (Claude Code reads `CLAUDE.md`, and follows the import). Keep
|
|
|
273
275
|
```markdown
|
|
274
276
|
# AGENTS.md
|
|
275
277
|
|
|
276
|
-
This app runs on Pairz (pairz@1.0.0-rc.
|
|
278
|
+
This app runs on Pairz (pairz@1.0.0-rc.87). Read node_modules/pairz/AGENTS.md first;
|
|
277
279
|
node_modules/pairz/llms.txt lists the installed guides.
|
|
278
280
|
|
|
279
281
|
- `npm test` runs offline. Run `npm run build` after editing declarations. `npm run check` checks
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,53 @@
|
|
|
1
|
+
## 1.0.0-rc.87 — 2026-12-05
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- **Antigravity uses the agent's tools, not its own.** On a Gemini plan, asked in plain words to
|
|
6
|
+
clone a repository and start a preview, Antigravity reached for its built-in tools, was denied by
|
|
7
|
+
its hook ("off in Pairz: the agent's own tools only") and gave up ("the system blocked it")
|
|
8
|
+
instead of using `mcp_pairz_terminal`. Its own tools are still offered to its model over ACP, so
|
|
9
|
+
now it's told which to use: the session's rules start with "Your tools are the ones named
|
|
10
|
+
mcp_pairz_…; your built-in file, command and web tools are off.", and the hook's reason says what
|
|
11
|
+
to use instead ("Your built-in tools are off here. Use the tools whose names start with mcp_pairz_
|
|
12
|
+
instead: mcp_pairz_terminal to run commands; mcp_pairz_read_file, … for files."). Claude Code,
|
|
13
|
+
Codex, Grok Build and Cursor need no such line: their own tools are removed before their model
|
|
14
|
+
sees them.
|
|
15
|
+
- **Signing out works for every plan's CLI.** Your AI's "Sign out" on a Gemini plan always failed
|
|
16
|
+
(`unsupported`: "agy can't be signed out from here…"). Antigravity's sign-in is a file in the
|
|
17
|
+
folder the program keeps for it (`~/.gemini/antigravity-cli/antigravity-oauth-token` there), apart
|
|
18
|
+
from the person's own `agy`, and it has no sign-out it runs headless: signing out removes that
|
|
19
|
+
folder. Every other CLI's own sign-out is now checked after: where it failed or left the CLI
|
|
20
|
+
signed in, its folder goes too, and a sign-in kept there with it. Only one still signed in after
|
|
21
|
+
that fails (`unsupported`), saying to sign out in that CLI on the computer itself. The plan shows
|
|
22
|
+
signed out, and Connect signs it in again.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- **Your AI is the person's AI subscriptions, a row each.** It showed mechanics per plan ("Running
|
|
27
|
+
on My cloud computer (online). About 16¢ per hour of work, and it sleeps 10 minutes after.",
|
|
28
|
+
"Connected as … on the server: always ready") and their computers in the same page. Now each plan
|
|
29
|
+
the app has is one row of one list, in the plans' order: its name, what it pays for ("Pays for
|
|
30
|
+
Claude models", "Pays for GPT models"; Cursor's "Claude, GPT, Gemini, Grok, GLM and Composer"),
|
|
31
|
+
and how it stands (Connected, or Connect, or Fix), with its `···` menu to sign out as before. How
|
|
32
|
+
it runs shows only where it matters, a line each: "Needs one of your computers on", its account to
|
|
33
|
+
sign in again, a model at its limit until it resets, and, through a cloud computer, "Works through
|
|
34
|
+
your cloud computer: about 16¢ an hour while it works" (the `computer.cost` View's new `plan`
|
|
35
|
+
mode). On the server or the person's own computer, nothing more. The connect flow is as it was.
|
|
36
|
+
What each plan pays for is `models.plans` (new), from each plan's `serves` map and the catalog's
|
|
37
|
+
model names: the same for everyone.
|
|
38
|
+
- **Your computers has a page of its own, `/computers`.** The person's computers (each one's state,
|
|
39
|
+
the plans it runs, its month and its Terminal) moved off Your AI to the `computers` View, with a
|
|
40
|
+
link back; Your AI keeps a row that goes there ("Your computers", `computer.yours.link`, in
|
|
41
|
+
`accountSections.computers`). An app with a page of computers of its own shows the same list as a
|
|
42
|
+
section: `computer.yours`, as before.
|
|
43
|
+
- **The model picker says when a subscription runs through a cloud computer.** Where the person's
|
|
44
|
+
plan that would run a model runs on a cloud computer of theirs, it reads "Your Claude · computer
|
|
45
|
+
time only" (team's `paidYoursComputer`) instead of "$0"; on their own computer or the server,
|
|
46
|
+
"$0" as before. `models.offered` with `plans` says where the asker's plan runs
|
|
47
|
+
(`OfferedModel.yoursOn`: `own`, `cloud` or `server`), as its `connectedPlans` source says it
|
|
48
|
+
(`PlansConnected`'s `on`): `computer.connected` answers `{ plan, models?, on }` for each plan,
|
|
49
|
+
where its calls would run first, and `account.connected` `{ plan, on: "server" }`.
|
|
50
|
+
|
|
1
51
|
## 1.0.0-rc.86 — 2026-12-05
|
|
2
52
|
|
|
3
53
|
### Added
|
package/README.md
CHANGED
|
@@ -149,7 +149,7 @@ ana sees: Tue 10:00, Wed 15:00
|
|
|
149
149
|
|
|
150
150
|
## Install and run
|
|
151
151
|
|
|
152
|
-
Start a new app with `npx pairz@1.0.0-rc.
|
|
152
|
+
Start a new app with `npx pairz@1.0.0-rc.87 init orders`. The starter includes the compiler, a
|
|
153
153
|
plugin, a web page and tests. [Start an app](docs/guides/the-compiler.md#start-an-app).
|
|
154
154
|
|
|
155
155
|
To add the runtime to an existing project:
|
|
@@ -157,7 +157,7 @@ To add the runtime to an existing project:
|
|
|
157
157
|
```sh
|
|
158
158
|
npm install pairz@next # Node 24+ (npm, pnpm, yarn)
|
|
159
159
|
bun add pairz@next # Bun
|
|
160
|
-
deno add jsr:@pairz/pairz@^1.0.0-rc.
|
|
160
|
+
deno add jsr:@pairz/pairz@^1.0.0-rc.87 # Deno 2.9+ (or `deno add npm:pairz@next`)
|
|
161
161
|
```
|
|
162
162
|
|
|
163
163
|
Until 1.0, the release candidates are on npm's `next` tag, and a plain `npm install pairz` or
|
|
@@ -170,7 +170,7 @@ Save the example as `salon.ts`, and run it with an OpenAI key:
|
|
|
170
170
|
OPENAI_API_KEY=sk-… node salon.ts # or bun salon.ts, or deno run -A salon.ts
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
On Deno, map the name `pairz` in `deno.json` (`"pairz": "jsr:@pairz/pairz@^1.0.0-rc.
|
|
173
|
+
On Deno, map the name `pairz` in `deno.json` (`"pairz": "jsr:@pairz/pairz@^1.0.0-rc.87"`) so the
|
|
174
174
|
imports read the same everywhere. Pairz runs on Node 24+, Deno 2.9+ and Bun, and it's built on web
|
|
175
175
|
standards for Cloudflare Workers and the browser.
|
|
176
176
|
|
package/docs/build-compass.md
CHANGED
|
@@ -95,7 +95,7 @@ below follow the course repository and its hand-written plugin assembly.
|
|
|
95
95
|
```sh
|
|
96
96
|
mkdir compass && cd compass
|
|
97
97
|
npm init -y && npm pkg set type=module
|
|
98
|
-
npm install pairz@1.0.0-rc.
|
|
98
|
+
npm install pairz@1.0.0-rc.87 react@19 react-dom@19
|
|
99
99
|
npm install -D typescript @types/node @types/react @types/react-dom esbuild
|
|
100
100
|
```
|
|
101
101
|
|
package/docs/getting-started.md
CHANGED
|
@@ -10,7 +10,7 @@ order: 9
|
|
|
10
10
|
A back-office app is mostly screens: lists to search and export, forms that add and change records,
|
|
11
11
|
dates, a home page of places, a printed document or two. This guide builds them for the salon's
|
|
12
12
|
staff: its customers, their visits, and the services it offers. Each recipe is whole files, in the
|
|
13
|
-
place they go, and each compiles against `pairz@1.0.0-rc.
|
|
13
|
+
place they go, and each compiles against `pairz@1.0.0-rc.87`.
|
|
14
14
|
|
|
15
15
|
The pieces themselves (every prop, every token) are in [the web toolkit](the-web-toolkit.md). This
|
|
16
16
|
guide is how to put them together.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Agents on people's own plans"
|
|
3
|
-
description: "An agent's model calls can run on the plan of the person it works for (Claude, ChatGPT, Google AI through Antigravity, Grok, Cursor), through the plan's CLI on a computer of theirs: the providers, a tier's models on people's plans (in the tier's order, or subscriptions whenever possible, with a tier's fallbacks), Cursor's names for models, choosing a tier's models by how each is paid for, connecting plans in one flow (a computer readied, a missing CLI installed, signed in, tested), Your AI, signing out, which computer a call runs on, a plan at its limit, what a cloud computer keeps, what runs where, permissions (one approval system: the CLIs never ask), waking a computer that sleeps, and what a plan costs."
|
|
3
|
+
description: "An agent's model calls can run on the plan of the person it works for (Claude, ChatGPT, Google AI through Antigravity, Grok, Cursor), through the plan's CLI on a computer of theirs: the providers, a tier's models on people's plans (in the tier's order, or subscriptions whenever possible, with a tier's fallbacks), Cursor's names for models, choosing a tier's models by how each is paid for, connecting plans in one flow (a computer readied, a missing CLI installed, signed in, tested), Your AI and Your computers, signing out, which computer a call runs on, a plan at its limit, what a cloud computer keeps, what runs where, permissions (one approval system: the CLIs never ask), waking a computer that sleeps, and what a plan costs."
|
|
4
4
|
section: Guides
|
|
5
5
|
order: 6
|
|
6
6
|
---
|
|
@@ -166,7 +166,12 @@ The tier editor's picker (team's `model.pick`, with `plans`) offers every model
|
|
|
166
166
|
from `models.offered` with `plans: true`. Each says how it's paid for the person looking:
|
|
167
167
|
|
|
168
168
|
- **"Your Claude · $0"**: a subscription of theirs runs it (`OfferedModel.yours`, the first of their
|
|
169
|
-
connected plans that does, by its list where it said one)
|
|
169
|
+
connected plans that does, by its list where it said one), on a computer of their own or the
|
|
170
|
+
server.
|
|
171
|
+
- **"Your Claude · computer time only"**: the same, through a cloud computer of theirs, whose time
|
|
172
|
+
awake is charged (`OfferedModel.yoursOn`: `"cloud"`). Where a plan runs is what its
|
|
173
|
+
`connectedPlans` source says (`PlansConnected`'s `on`: `own`, `cloud` or `server`): computers'
|
|
174
|
+
says where its calls would run first, accounts' says the server.
|
|
170
175
|
- **"Credits · $3 in · $15 out per 1M tokens"**: a key covers it, the app's or the org's (`ready`).
|
|
171
176
|
- **"Members without Claude or Cursor fall back to the next model"**: only plans run it (`plans`:
|
|
172
177
|
the app's plans that do, as people know them). It can be chosen for a tier: a member with one of
|
|
@@ -180,7 +185,7 @@ up to the model's place ("Try it first").
|
|
|
180
185
|
## Connecting plans: one flow
|
|
181
186
|
|
|
182
187
|
A person connects their plans in one flow, "Connect your plans", for the plans its door picked: a
|
|
183
|
-
plan's
|
|
188
|
+
plan's row on Your AI (Connect, or Fix), the address `/accounts?connect=<plan or provider>` (every
|
|
184
189
|
fix-it link), or the app's welcome, which picks several at once. It never asks them to run a
|
|
185
190
|
command:
|
|
186
191
|
|
|
@@ -269,21 +274,47 @@ so.
|
|
|
269
274
|
|
|
270
275
|
## Your AI
|
|
271
276
|
|
|
272
|
-
The accounts page (`/accounts`) is Your AI: the sections other front
|
|
273
|
-
accounts it shows itself ("Other accounts"), then the person's own API
|
|
274
|
-
adds two sections:
|
|
277
|
+
The accounts page (`/accounts`) is Your AI, the person's AI subscriptions: the sections other front
|
|
278
|
+
ends add first, then the accounts it shows itself ("Other accounts"), then the person's own API
|
|
279
|
+
keys. Computers' front end adds two sections:
|
|
275
280
|
|
|
276
281
|
- **Your plans** (`accountSections.plans`, with `plans: true`: the accounts that pay for models,
|
|
277
|
-
such as ChatGPT, are among the plans, not cards of their own). One
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
-
|
|
285
|
-
|
|
286
|
-
|
|
282
|
+
such as ChatGPT, are among the plans, not cards of their own). One row per plan the app uses, in
|
|
283
|
+
one list: its name; what it pays for, in a line ("Pays for Claude models"); and how it stands, at
|
|
284
|
+
its end: Connected, or Connect, or Fix when it needs the person, with a `···` menu to sign out of
|
|
285
|
+
each place it's signed in. How it runs shows only where that matters, a line each:
|
|
286
|
+
- "Needs one of your computers on": it's signed in only on computers of theirs that are off;
|
|
287
|
+
- "ChatGPT needs you to sign in again.": its account needs them;
|
|
288
|
+
- "claude-fable-5-2 is at its limit until …": a model at its limit;
|
|
289
|
+
- "Works through your cloud computer: about 16¢ an hour while it works": it runs on a computer the
|
|
290
|
+
app keeps (the `computer.cost` View, in `plan` mode; nothing where the app prices none).
|
|
291
|
+
|
|
292
|
+
On the server (ChatGPT's account) or a computer of their own, there's nothing more to say. With
|
|
293
|
+
the app's tiers, the plans are theirs to list (the `planList` resource: `{ query }`,
|
|
294
|
+
`modelChoice.harnesses`): those a tier runs on, and those the person has connected, Cursor's too
|
|
295
|
+
when its list runs none of the tiers' models (tested on the first model it lists). Without, every
|
|
296
|
+
plan the app has shows. Either way in the plans' order: there's no order to set.
|
|
297
|
+
- **A row to Your computers** (`accountSections.computers`, the `computer.yours.link` View), which
|
|
298
|
+
goes to their page.
|
|
299
|
+
|
|
300
|
+
What a plan pays for is `models.plans`, from each plan's `serves` map: a maker's every model
|
|
301
|
+
(`anthropic/*`) by what people call its models (the first word most of the maker's model names start
|
|
302
|
+
with in the catalog: "Claude", "GPT", "Gemini", "Grok"), and a single model by its name's first word
|
|
303
|
+
(Cursor's "GLM", its own "Composer"). It's the same for everyone; the page asks once.
|
|
304
|
+
|
|
305
|
+
```ts
|
|
306
|
+
await runtime.call("models.plans", {}, { actor: person });
|
|
307
|
+
// [{ id: "claude-plan", plan: "Claude", pays: ["Claude"] }, …,
|
|
308
|
+
// { id: "cursor-plan", plan: "Cursor", pays: ["Claude", "GPT", "Gemini", "Grok", "GLM", "Composer"] }]
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
### Your computers
|
|
312
|
+
|
|
313
|
+
The person's computers have a page of their own, `/computers` (the `computers` View, with a link
|
|
314
|
+
back to Your AI): each one's state, the plans it runs, or that it's shared with others' agents, its
|
|
315
|
+
month (the `computer.cost` View, in `month` mode), and its Terminal. The connect flow's "In the
|
|
316
|
+
cloud" says a new one's price (`price`). An app with a page of computers of its own shows the same
|
|
317
|
+
list there as a section, with its heading: `ctx.show("computer.yours", {})`.
|
|
287
318
|
|
|
288
319
|
`computer.plans.welcome` is a step for chat's `welcome` resource: "Which AI plans do you have?",
|
|
289
320
|
then the same flow.
|
|
@@ -296,13 +327,25 @@ welcome: {
|
|
|
296
327
|
|
|
297
328
|
### Signing out
|
|
298
329
|
|
|
299
|
-
`computer.engine.logout` (Sign out on that computer, in the plan
|
|
300
|
-
CLI's own sign-out
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
330
|
+
`computer.engine.logout` (Sign out on that computer, in the plan's `···` menu on Your AI) signs out
|
|
331
|
+
any plan's CLI there. It runs the CLI's own sign-out, with the environment of the folder the program
|
|
332
|
+
keeps for it, then checks:
|
|
333
|
+
|
|
334
|
+
| CLI | Its sign-in | Its sign-out |
|
|
335
|
+
| ----------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
336
|
+
| Claude Code | a file in its folder, or a macOS keychain entry keyed to it | `claude auth logout` ([its docs](https://code.claude.com/docs/en/authentication#credential-management)) |
|
|
337
|
+
| Codex | `auth.json` in its folder (`CODEX_HOME`), or a keyring's entry | `codex logout` ([its docs](https://developers.openai.com/codex/auth)) |
|
|
338
|
+
| Antigravity | `~/.gemini/antigravity-cli/antigravity-oauth-token` in its folder | none it runs headless (`/logout` is refused in print mode): its folder goes |
|
|
339
|
+
| Grok Build | `~/.grok/auth.json` in its folder | `grok logout` ([its docs](https://docs.x.ai/build/cli/reference)) |
|
|
340
|
+
| Cursor | `auth.json` in its folder | the runner's `logout`, the SDK's `Cursor.auth.logout` ([its docs](https://cursor.com/docs/sdk/typescript)) |
|
|
341
|
+
|
|
342
|
+
Where the sign-out fails or leaves it signed in, or the CLI has none, the folder goes, and a sign-in
|
|
343
|
+
kept there with it. Still signed in after that, it's kept where nothing here reaches, and signing
|
|
344
|
+
out fails (`unsupported`), saying to sign out in that CLI on the computer itself. Then what the
|
|
345
|
+
computer says of it is kept: the plan shows signed out, and Connect signs it in again. The person's
|
|
346
|
+
own sign-in (`~/.claude`, `~/.codex`, `~/.gemini`) is never touched. A ChatGPT account on the server
|
|
347
|
+
is disconnected instead (`account.disconnect`). A cloud computer wakes to sign out; a laptop must be
|
|
348
|
+
on.
|
|
306
349
|
|
|
307
350
|
```ts
|
|
308
351
|
await runtime.call("computer.engine.logout", { computer, engine: "claude" }, { actor: person });
|
|
@@ -389,6 +432,13 @@ hook isn't documented. Over ACP it loads no permission rules from its settings,
|
|
|
389
432
|
[#1785](https://github.com/google-antigravity/antigravity-cli/issues/1785)). Its settings still say
|
|
390
433
|
the same (`"allow": ["mcp(pairz/*)"]`, `command(*)` and the rest denied), for when it does.
|
|
391
434
|
|
|
435
|
+
Antigravity's own tools are still offered to its model, so it's told which to use. The session's
|
|
436
|
+
rules start with "Your tools are the ones named mcp_pairz_…; your built-in file, command and web
|
|
437
|
+
tools are off.", and a denied call's reason says what to use instead: "Your built-in tools are off
|
|
438
|
+
here. Use the tools whose names start with mcp_pairz_ instead: mcp_pairz_terminal to run commands;
|
|
439
|
+
mcp_pairz_read_file, mcp_pairz_write_file, mcp_pairz_edit_file and mcp_pairz_list_files for files."
|
|
440
|
+
The other CLIs' own tools are gone before their model sees them, so they're told nothing.
|
|
441
|
+
|
|
392
442
|
What a CLI asks anyway is answered by whose tool it is, never by what it says the tool does. One
|
|
393
443
|
named as the agent's, with its server, in the CLI's own field is allowed: Claude Code's `tool_name`
|
|
394
444
|
`mcp__pairz__terminal`; Antigravity's `name`, exactly `mcp_pairz_<tool>` for one of the session's
|
|
@@ -469,17 +519,18 @@ hour, the disk's GB and its price a GB-month, `warmMinutes`). Nothing is priced
|
|
|
469
519
|
| `price` | "About 16¢ per hour of work, and it sleeps 10 minutes after. Your $5 covers about 18 hours of work, after this month's disk." |
|
|
470
520
|
| `cost` | "About 16¢ per hour of work, and it sleeps 10 minutes after." |
|
|
471
521
|
| `month` | "This month: 2h 40m awake · $0.43 · disk $2.00" |
|
|
522
|
+
| `plan` | "Works through your cloud computer: about 16¢ an hour while it works" |
|
|
472
523
|
|
|
473
524
|
It draws nothing for a person's own machine, or where the app prices none. Your plans, on Your AI,
|
|
474
|
-
says
|
|
475
|
-
it is charged while it's awake."
|
|
525
|
+
says a plan's hour in `plan` mode, where it works through a cloud computer.
|
|
476
526
|
|
|
477
527
|
## Known limits
|
|
478
528
|
|
|
479
529
|
- A shared computer is shared whole: agents in its spaces can read everything on it, sign-ins kept
|
|
480
530
|
there included. Keep personal sign-ins on a computer you don't share.
|
|
481
|
-
- Antigravity
|
|
482
|
-
|
|
531
|
+
- Antigravity has no sign-out it runs headless: signing it out removes the program's folder for it,
|
|
532
|
+
its sessions too. Its sign-in is a file there (as agy 1.5.24 keeps it on macOS; on a Linux server
|
|
533
|
+
too, by others' reports), apart from the person's own `agy`.
|
|
483
534
|
- A plan's name for a model that is neither the API's name nor it with an effort
|
|
484
535
|
(`claude-opus-4-6-thinking`) isn't matched to the API's model: it runs there only where a chain
|
|
485
536
|
names it on the plan (`gemini-plan/claude-opus-4-6-thinking`).
|
|
@@ -494,6 +545,11 @@ it is charged while it's awake."
|
|
|
494
545
|
on a plan (`grok-plan/grok-4.7`).
|
|
495
546
|
- "Your Claude" goes by the person's list where their plan said one, else by its map: a model the
|
|
496
547
|
map serves that their plan doesn't include shows as theirs until their computer says its list.
|
|
548
|
+
- "Computer time only" goes by the computer a plan's calls would try first now: with their laptop on
|
|
549
|
+
and a cloud computer as its backup, it says $0, though a call made while the laptop is off runs on
|
|
550
|
+
the cloud computer.
|
|
551
|
+
- What a plan pays for ("Pays for Claude models") is its `serves` map's: models a person's own list
|
|
552
|
+
has beyond it (Cursor's) aren't named there.
|
|
497
553
|
- Cursor's status asks Cursor's servers for its models, for up to 10 s.
|
|
498
554
|
- With one plan, a tier's checker can run on the same maker's models as its builder: plans come
|
|
499
555
|
first, whatever the vendor.
|
|
@@ -16,7 +16,7 @@ TypeScript modules.
|
|
|
16
16
|
On Node 24 or newer:
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
|
-
npx pairz@1.0.0-rc.
|
|
19
|
+
npx pairz@1.0.0-rc.87 init orders
|
|
20
20
|
cd orders
|
|
21
21
|
npm run dev
|
|
22
22
|
```
|
|
@@ -227,7 +227,7 @@ loads the declaration modules and calls `plugins()` with no settings. Put browse
|
|
|
227
227
|
or its handlers. Node loads the app's `tsx.ts` loader when present. Bun and Deno load TSX directly.
|
|
228
228
|
|
|
229
229
|
Run `npx pairz gen` in an npm app. On Deno the entry is
|
|
230
|
-
`deno run -A jsr:@pairz/pairz@1.0.0-rc.
|
|
230
|
+
`deno run -A jsr:@pairz/pairz@1.0.0-rc.87/gen`. Pass `--check`, `--watch`, `--eject` or `init [dir]`
|
|
231
231
|
after the entry. A JSR app maps `pairz` to the same JSR version in `deno.json`; it uses the same
|
|
232
232
|
`package.json` imports for generated modules.
|
|
233
233
|
|
package/docs/manifest.json
CHANGED
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
{
|
|
307
307
|
"title": "Agents on people's own plans",
|
|
308
308
|
"slug": "guides/agents-on-peoples-plans",
|
|
309
|
-
"description": "An agent's model calls can run on the plan of the person it works for (Claude, ChatGPT, Google AI through Antigravity, Grok, Cursor), through the plan's CLI on a computer of theirs: the providers, a tier's models on people's plans (in the tier's order, or subscriptions whenever possible, with a tier's fallbacks), Cursor's names for models, choosing a tier's models by how each is paid for, connecting plans in one flow (a computer readied, a missing CLI installed, signed in, tested), Your AI, signing out, which computer a call runs on, a plan at its limit, what a cloud computer keeps, what runs where, permissions (one approval system: the CLIs never ask), waking a computer that sleeps, and what a plan costs."
|
|
309
|
+
"description": "An agent's model calls can run on the plan of the person it works for (Claude, ChatGPT, Google AI through Antigravity, Grok, Cursor), through the plan's CLI on a computer of theirs: the providers, a tier's models on people's plans (in the tier's order, or subscriptions whenever possible, with a tier's fallbacks), Cursor's names for models, choosing a tier's models by how each is paid for, connecting plans in one flow (a computer readied, a missing CLI installed, signed in, tested), Your AI and Your computers, signing out, which computer a call runs on, a plan at its limit, what a cloud computer keeps, what runs where, permissions (one approval system: the CLIs never ask), waking a computer that sleeps, and what a plan costs."
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"title": "A public MCP server: docs and data for anyone",
|
|
@@ -39,7 +39,7 @@ Nothing to set. It reads `apiPresets`, resource kinds the app and other plugins
|
|
|
39
39
|
|
|
40
40
|
The runtime doesn't start without [`api`](api.md) and [`web-shell`](web-shell.md): add them too.
|
|
41
41
|
|
|
42
|
-
It ships with `pairz@1.0.0-rc.
|
|
42
|
+
It ships with `pairz@1.0.0-rc.87`.
|
|
43
43
|
|
|
44
44
|
## Listing
|
|
45
45
|
|
|
@@ -39,7 +39,7 @@ Nothing to set. It reads `boardsText`, resource kinds the app and other plugins
|
|
|
39
39
|
|
|
40
40
|
The runtime doesn't start without [`web-shell`](web-shell.md): add it too.
|
|
41
41
|
|
|
42
|
-
It ships in a package of its own, `@pairz/work@1.0.0-rc.
|
|
42
|
+
It ships in a package of its own, `@pairz/work@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install it
|
|
43
43
|
beside `pairz`.
|
|
44
44
|
|
|
45
45
|
## Listing
|
|
@@ -73,7 +73,7 @@ Nothing to set: it works as it comes.
|
|
|
73
73
|
|
|
74
74
|
The runtime doesn't start without [`chat`](chat.md) and [`spaces`](spaces.md): add them too.
|
|
75
75
|
|
|
76
|
-
It ships in a package of its own, `@pairz/work@1.0.0-rc.
|
|
76
|
+
It ships in a package of its own, `@pairz/work@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install it
|
|
77
77
|
beside `pairz`.
|
|
78
78
|
|
|
79
79
|
## Listing
|
|
@@ -42,7 +42,7 @@ Nothing to set. It reads `agents`, resource kinds the app and other plugins fill
|
|
|
42
42
|
The runtime doesn't start without [`chat`](chat.md) and [`terminal-shell`](terminal-shell.md): add
|
|
43
43
|
them too.
|
|
44
44
|
|
|
45
|
-
It ships with `pairz@1.0.0-rc.
|
|
45
|
+
It ships with `pairz@1.0.0-rc.87`.
|
|
46
46
|
|
|
47
47
|
## Listing
|
|
48
48
|
|
|
@@ -123,7 +123,7 @@ It also reads `agentModel`, `agentSources`, `agents`, `contactSend`, `context`,
|
|
|
123
123
|
|
|
124
124
|
The runtime doesn't start without [`models`](models.md): add it too.
|
|
125
125
|
|
|
126
|
-
It ships with `pairz@1.0.0-rc.
|
|
126
|
+
It ships with `pairz@1.0.0-rc.87`.
|
|
127
127
|
|
|
128
128
|
## What it does on its own
|
|
129
129
|
|
|
@@ -38,7 +38,7 @@ Nothing to set: it works as it comes.
|
|
|
38
38
|
The runtime doesn't start without [`computers`](computers.md) and
|
|
39
39
|
[`terminal-shell`](terminal-shell.md): add them too.
|
|
40
40
|
|
|
41
|
-
It ships with `pairz@1.0.0-rc.
|
|
41
|
+
It ships with `pairz@1.0.0-rc.87`.
|
|
42
42
|
|
|
43
43
|
## Listing
|
|
44
44
|
|
|
@@ -29,7 +29,7 @@ Its Views show on the web.
|
|
|
29
29
|
|
|
30
30
|
- **On the web:** `computer`, `computer.ask`, `computer.cost`, `computer.palette`, `computer.plans`,
|
|
31
31
|
`computer.plans.palette`, `computer.plans.welcome`, `computer.routine`, `computer.space`,
|
|
32
|
-
`computer.step`, `computer.yours`, `env.space`.
|
|
32
|
+
`computer.step`, `computer.yours`, `computer.yours.link`, `computers`, `env.space`.
|
|
33
33
|
- **What it adds to resources:** `accountSections` (`computers`, `plans`), `askViews` (`destroy`,
|
|
34
34
|
`jobs`, `publish`, `terminal`, `writes`), `palette` (`computers`, `plans`), `routinePanels`
|
|
35
35
|
(`computers`), `spaceTabs` (`computer`, `env`), `toolViews` (`browser`, `edit_file`, `job_logs`,
|
|
@@ -46,7 +46,7 @@ resource kinds the app and other plugins fill.
|
|
|
46
46
|
The runtime doesn't start without [`computers`](computers.md) and [`web-shell`](web-shell.md): add
|
|
47
47
|
them too.
|
|
48
48
|
|
|
49
|
-
It ships with `pairz@1.0.0-rc.
|
|
49
|
+
It ships with `pairz@1.0.0-rc.87`.
|
|
50
50
|
|
|
51
51
|
## Listing
|
|
52
52
|
|
|
@@ -164,7 +164,7 @@ It also reads `computerWake`, `customHostnames`, `directory`, `downloads`, `host
|
|
|
164
164
|
|
|
165
165
|
The runtime doesn't start without [`chat`](chat.md) and [`spaces`](spaces.md): add them too.
|
|
166
166
|
|
|
167
|
-
It ships with `pairz@1.0.0-rc.
|
|
167
|
+
It ships with `pairz@1.0.0-rc.87`.
|
|
168
168
|
|
|
169
169
|
## What it does on its own
|
|
170
170
|
|
|
@@ -39,7 +39,7 @@ Nothing to set: it works as it comes.
|
|
|
39
39
|
|
|
40
40
|
The runtime doesn't start without [`web-shell`](web-shell.md): add it too.
|
|
41
41
|
|
|
42
|
-
It ships in a package of its own, `@pairz/billing@1.0.0-rc.
|
|
42
|
+
It ships in a package of its own, `@pairz/billing@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install
|
|
43
43
|
it beside `pairz`.
|
|
44
44
|
|
|
45
45
|
## Listing
|
|
@@ -80,7 +80,7 @@ It also reads `directory` and `org`, resource kinds the app and other plugins fi
|
|
|
80
80
|
|
|
81
81
|
The runtime doesn't start without [`usage`](usage.md): add it too.
|
|
82
82
|
|
|
83
|
-
It ships in a package of its own, `@pairz/billing@1.0.0-rc.
|
|
83
|
+
It ships in a package of its own, `@pairz/billing@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install
|
|
84
84
|
it beside `pairz`.
|
|
85
85
|
|
|
86
86
|
## What it does on its own
|
|
@@ -47,7 +47,7 @@ Nothing to set. It reads `hosts`, resource kinds the app and other plugins fill.
|
|
|
47
47
|
|
|
48
48
|
The runtime doesn't start without [`identity`](identity.md): add it too.
|
|
49
49
|
|
|
50
|
-
It ships in a package of its own, `@pairz/directory@1.0.0-rc.
|
|
50
|
+
It ships in a package of its own, `@pairz/directory@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install
|
|
51
51
|
it beside `pairz`.
|
|
52
52
|
|
|
53
53
|
## Listing
|
|
@@ -39,7 +39,7 @@ Nothing to set. It reads `orgSettings`, resource kinds the app and other plugins
|
|
|
39
39
|
|
|
40
40
|
The runtime doesn't start without [`web-shell`](web-shell.md): add it too.
|
|
41
41
|
|
|
42
|
-
It ships in a package of its own, `@pairz/directory@1.0.0-rc.
|
|
42
|
+
It ships in a package of its own, `@pairz/directory@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install
|
|
43
43
|
it beside `pairz`.
|
|
44
44
|
|
|
45
45
|
## Listing
|
|
@@ -88,7 +88,7 @@ It also reads `caller`, resource kinds the app and other plugins fill.
|
|
|
88
88
|
|
|
89
89
|
The runtime doesn't start without [`identity`](identity.md): add it too.
|
|
90
90
|
|
|
91
|
-
It ships in a package of its own, `@pairz/directory@1.0.0-rc.
|
|
91
|
+
It ships in a package of its own, `@pairz/directory@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install
|
|
92
92
|
it beside `pairz`.
|
|
93
93
|
|
|
94
94
|
## Listing
|
|
@@ -40,7 +40,7 @@ Nothing to set: it works as it comes.
|
|
|
40
40
|
|
|
41
41
|
The runtime doesn't start without [`web-shell`](web-shell.md): add it too.
|
|
42
42
|
|
|
43
|
-
It ships in a package of its own, `@pairz/work@1.0.0-rc.
|
|
43
|
+
It ships in a package of its own, `@pairz/work@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install it
|
|
44
44
|
beside `pairz`.
|
|
45
45
|
|
|
46
46
|
## Listing
|
|
@@ -80,7 +80,7 @@ Nothing to set. It reads `agents`, resource kinds the app and other plugins fill
|
|
|
80
80
|
|
|
81
81
|
The runtime doesn't start without [`chat`](chat.md) and [`spaces`](spaces.md): add them too.
|
|
82
82
|
|
|
83
|
-
It ships in a package of its own, `@pairz/work@1.0.0-rc.
|
|
83
|
+
It ships in a package of its own, `@pairz/work@1.0.0-rc.87`, for `pairz` `1.0.0-rc.87`: install it
|
|
84
84
|
beside `pairz`.
|
|
85
85
|
|
|
86
86
|
## Listing
|