pairz 1.0.0-rc.82 → 1.0.0-rc.84
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 +11 -8
- package/CHANGELOG.md +134 -0
- package/CONTRIBUTING.md +17 -2
- 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 +89 -11
- package/docs/guides/installing-a-computer.md +5 -0
- package/docs/guides/the-compiler.md +2 -2
- package/docs/manifest.json +1 -1
- package/docs/operations/metrics.md +10 -5
- 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 +4 -4
- package/docs/reference/plugins/computers-terminal.md +1 -1
- package/docs/reference/plugins/computers-web.md +1 -1
- 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 +89 -0
- 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 +1 -1
- 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 +17 -16
- 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 +1037 -235
- package/docs/reference/plugins.md +2 -0
- package/docs/reference.md +13 -10
- package/hosts/web/host.d.ts +29 -0
- package/hosts/web/host.js +2 -0
- package/hosts/web/polyfills.d.ts +1 -0
- package/hosts/web/polyfills.js +27 -0
- package/hosts/web/widget.d.ts +34 -0
- package/hosts/web/widget.js +2 -0
- package/llms.txt +1 -1
- package/package.json +4 -2
- package/plugins/access/accounts/contract.d.ts +3 -0
- package/plugins/access/accounts/contract.js +3 -1
- package/plugins/access/accounts/shared/oauth.d.ts +1 -1
- package/plugins/access/spaces/views/web/words.d.ts +1 -1
- package/plugins/agents/chat/actions/approve.js +3 -2
- package/plugins/agents/chat/collections/approval.d.ts +15 -0
- package/plugins/agents/chat/collections/approval.js +5 -0
- package/plugins/agents/chat/contract.d.ts +2 -2
- package/plugins/agents/chat/contract.js +1 -1
- package/plugins/agents/chat/processors/turn.js +11 -2
- package/plugins/agents/chat/shared/asks.d.ts +3 -2
- package/plugins/agents/chat/shared/asks.js +33 -6
- package/plugins/agents/chat/shared/tools.d.ts +8 -0
- package/plugins/agents/chat/shared/tools.js +26 -1
- package/plugins/agents/chat/shared/types.d.ts +13 -0
- package/plugins/agents/chat/views/prompt.js +5 -0
- package/plugins/agents/mcpclient/actions/call.d.ts +11 -0
- package/plugins/agents/mcpclient/actions/call.js +60 -0
- package/plugins/agents/mcpclient/actions/connections.d.ts +6 -0
- package/plugins/agents/mcpclient/actions/connections.js +170 -0
- package/plugins/agents/mcpclient/collections/connection.d.ts +247 -0
- package/plugins/agents/mcpclient/collections/connection.js +74 -0
- package/plugins/agents/mcpclient/contract.d.ts +65 -0
- package/plugins/agents/mcpclient/contract.js +2 -0
- package/plugins/agents/mcpclient/mod.d.ts +14 -0
- package/plugins/agents/mcpclient/mod.js +48 -0
- package/plugins/agents/mcpclient/resources/source.d.ts +2 -0
- package/plugins/agents/mcpclient/resources/source.js +53 -0
- package/plugins/agents/mcpclient/routes/oauth.d.ts +8 -0
- package/plugins/agents/mcpclient/routes/oauth.js +45 -0
- package/plugins/agents/mcpclient/shared/auth.d.ts +26 -0
- package/plugins/agents/mcpclient/shared/auth.js +132 -0
- package/plugins/agents/mcpclient/shared/http.d.ts +13 -0
- package/plugins/agents/mcpclient/shared/http.js +73 -0
- package/plugins/agents/mcpclient/shared/resolve.d.ts +3 -0
- package/plugins/agents/mcpclient/shared/resolve.js +4 -0
- package/plugins/agents/mcpclient/shared/rpc.d.ts +30 -0
- package/plugins/agents/mcpclient/shared/rpc.js +228 -0
- package/plugins/agents/mcpclient/shared/session.d.ts +39 -0
- package/plugins/agents/mcpclient/shared/session.js +139 -0
- package/plugins/agents/mcpclient/shared/settings.d.ts +16 -0
- package/plugins/agents/mcpclient/shared/settings.js +15 -0
- package/plugins/agents/mcpclient/shared/signin.d.ts +20 -0
- package/plugins/agents/mcpclient/shared/signin.js +212 -0
- package/plugins/agents/mcpclient/shared/snapshot.d.ts +9 -0
- package/plugins/agents/mcpclient/shared/snapshot.js +43 -0
- package/plugins/agents/mod.d.ts +1 -0
- package/plugins/agents/mod.js +1 -0
- package/plugins/agents/webtools/contract.d.ts +6 -0
- package/plugins/agents/webtools/contract.js +6 -1
- package/plugins/agents/webtools/shared/address.d.ts +4 -1
- package/plugins/agents/webtools/shared/address.js +4 -6
- package/plugins/agents/webtools/shared/read.js +2 -1
- package/plugins/agents/webtools/shared/resolve.d.ts +3 -0
- package/plugins/agents/webtools/shared/resolve.js +4 -0
- package/plugins/compute/computers/actions/allowed.js +1 -5
- package/plugins/compute/computers/actions/domain.js +8 -5
- package/plugins/compute/computers/actions/engine.js +12 -0
- package/plugins/compute/computers/actions/preview.d.ts +3 -2
- package/plugins/compute/computers/actions/preview.js +7 -3
- package/plugins/compute/computers/actions/publish.js +8 -4
- package/plugins/compute/computers/adapters/engine.d.ts +6 -0
- package/plugins/compute/computers/adapters/engine.js +12 -0
- package/plugins/compute/computers/mod.d.ts +7 -4
- package/plugins/compute/computers/mod.js +7 -4
- package/plugins/compute/computers/program/agents/acp.d.ts +4 -0
- package/plugins/compute/computers/program/agents/acp.js +18 -3
- package/plugins/compute/computers/program/agents/claude.d.ts +24 -1
- package/plugins/compute/computers/program/agents/claude.js +66 -22
- package/plugins/compute/computers/program/agents/codex.d.ts +35 -1
- package/plugins/compute/computers/program/agents/codex.js +83 -28
- package/plugins/compute/computers/program/agents/cursor-runner.d.ts +4 -1
- package/plugins/compute/computers/program/agents/cursor-runner.js +4 -1
- package/plugins/compute/computers/program/agents/engines.d.ts +14 -0
- package/plugins/compute/computers/program/agents/engines.js +15 -5
- package/plugins/compute/computers/program/agents/grok.d.ts +16 -0
- package/plugins/compute/computers/program/agents/grok.js +26 -9
- package/plugins/compute/computers/program/agents/permission.d.ts +35 -2
- package/plugins/compute/computers/program/agents/permission.js +68 -34
- package/plugins/compute/computers/program/agents/types.d.ts +9 -1
- package/plugins/compute/computers/program/agents/types.js +9 -2
- 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/resources/engines.js +3 -0
- package/plugins/compute/computers/resources/tools.js +3 -10
- package/plugins/compute/computers/shared/ask.d.ts +17 -18
- package/plugins/compute/computers/shared/ask.js +21 -14
- package/plugins/compute/computers/shared/desks.d.ts +4 -3
- package/plugins/compute/computers/shared/desks.js +9 -3
- package/plugins/compute/computers/shared/publish.d.ts +9 -1
- package/plugins/compute/computers/shared/publish.js +13 -0
- package/plugins/compute/computers/shared/where.d.ts +22 -7
- package/plugins/compute/computers/shared/where.js +22 -5
- package/plugins/compute/computers/shared/workloads.d.ts +17 -0
- package/plugins/compute/computers/shared/workloads.js +19 -0
- package/plugins/compute/computers/views/context.d.ts +3 -1
- package/plugins/compute/computers/views/context.js +24 -14
- package/plugins/models/actions/check.js +2 -2
- package/plugins/models/mod.d.ts +4 -3
- package/plugins/models/mod.js +4 -3
- package/plugins/models/shared/choice.d.ts +12 -4
- package/plugins/models/shared/choice.js +14 -7
- package/plugins/models/shared/plans.d.ts +28 -12
- package/plugins/models/shared/plans.js +23 -23
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.84`. 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
|
|
|
@@ -153,16 +153,19 @@ It runs on Node 24+, Deno 2.9+ and Bun.
|
|
|
153
153
|
|
|
154
154
|
**Computers and plans**
|
|
155
155
|
|
|
156
|
-
- Run a tier's models on each person's plans
|
|
157
|
-
`
|
|
158
|
-
[
|
|
156
|
+
- Run a tier's models on each person's plans → `harness` on a provider, `modelChoice.harnesses`,
|
|
157
|
+
`connectedPlans` →
|
|
158
|
+
[A tier's models on people's plans](docs/guides/agents-on-peoples-plans.md#a-tiers-models-on-peoples-plans).
|
|
159
|
+
- Use members' subscriptions whenever possible, with a tier's fallbacks on them →
|
|
160
|
+
`tiers.plansFirst`, a tier's `fallbacks` →
|
|
161
|
+
[Subscriptions whenever possible](docs/guides/agents-on-peoples-plans.md#subscriptions-whenever-possible).
|
|
159
162
|
- Run a model a plan names its own way (Cursor's) → `serves` (`CURSOR_NAMES`) →
|
|
160
163
|
[Cursor's names for models](docs/guides/agents-on-peoples-plans.md#cursors-names-for-models).
|
|
161
164
|
- Offer a tier's models by how each is paid for → `models.offered` with `plans`, `model.pick`'s
|
|
162
165
|
`plans` →
|
|
163
166
|
[Choosing a tier's models](docs/guides/agents-on-peoples-plans.md#choosing-a-tiers-models).
|
|
164
167
|
- See what a chain would try for someone → `models.check` with `harnesses` →
|
|
165
|
-
[
|
|
168
|
+
[A tier's models on people's plans](docs/guides/agents-on-peoples-plans.md#a-tiers-models-on-peoples-plans).
|
|
166
169
|
- Run agents on a person's Grok plan → `grok-plan`, engine `grok` →
|
|
167
170
|
[The providers](docs/guides/agents-on-peoples-plans.md#the-providers).
|
|
168
171
|
- Run agents on a person's Cursor plan → `cursor-plan`, engine `cursor` (Cursor's SDK, with Node) →
|
|
@@ -240,7 +243,7 @@ Plugins reach each other only through the runtime, by name. One that builds on a
|
|
|
240
243
|
Start on Node 24 or newer:
|
|
241
244
|
|
|
242
245
|
```sh
|
|
243
|
-
npx pairz@1.0.0-rc.
|
|
246
|
+
npx pairz@1.0.0-rc.84 init orders
|
|
244
247
|
cd orders
|
|
245
248
|
npm run check
|
|
246
249
|
npm run dev
|
|
@@ -259,7 +262,7 @@ for fields such as `requires`, `defaults` and `guard`, `lib/web/` for React comp
|
|
|
259
262
|
names in `pairz-env.d.ts`. Commit that declaration and ignore `.pairz/build/`. The server imports
|
|
260
263
|
`#pairz/plugins/<name>/mod.ts`, the browser `web.ts` and the terminal `terminal.ts` from the same
|
|
261
264
|
folder. The starter's dev script watches declarations and the server. On Deno, the compiler entry is
|
|
262
|
-
`deno run -A jsr:@pairz/pairz@1.0.0-rc.
|
|
265
|
+
`deno run -A jsr:@pairz/pairz@1.0.0-rc.84/gen`.
|
|
263
266
|
|
|
264
267
|
Existing plugins with a hand-written `mod.ts` keep their own assembly and explicit schemas. List
|
|
265
268
|
them alongside generated plugins in `app.ts`. [The compiler](docs/guides/the-compiler.md).
|
|
@@ -270,7 +273,7 @@ line `@AGENTS.md` (Claude Code reads `CLAUDE.md`, and follows the import). Keep
|
|
|
270
273
|
```markdown
|
|
271
274
|
# AGENTS.md
|
|
272
275
|
|
|
273
|
-
This app runs on Pairz (pairz@1.0.0-rc.
|
|
276
|
+
This app runs on Pairz (pairz@1.0.0-rc.84). Read node_modules/pairz/AGENTS.md first;
|
|
274
277
|
node_modules/pairz/llms.txt lists the installed guides.
|
|
275
278
|
|
|
276
279
|
- `npm test` runs offline. Run `npm run build` after editing declarations. `npm run check` checks
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,137 @@
|
|
|
1
|
+
## 1.0.0-rc.84 — 2026-12-05
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
|
|
5
|
+
- **The MCP client: agents use outside MCP servers' tools, connected at runtime.** A new plugin,
|
|
6
|
+
`mcpClient` (beside `webTools`), lets a person connect an MCP server to a space while the app runs
|
|
7
|
+
(`mcp.connect`), with no restart: every agent in that space gets its tools, named
|
|
8
|
+
`<connection>_<tool>`, through chat's one tool path, so API models and engines (Claude Code,
|
|
9
|
+
Codex, Cursor) alike call them. A connection is its person's, used only in turns that work for
|
|
10
|
+
them; a space's manager can share theirs with the space (`mcp.set { shared }`), and switch it off
|
|
11
|
+
for some agents (`mcp.set { off }`). Tokens stay in the app, sealed at rest with the accounts'
|
|
12
|
+
sealing (`mcpClient.key`), never on a computer.
|
|
13
|
+
- **Sign-in as the MCP spec of 2026-07-28 asks.** OAuth 2.1 with PKCE (S256), `resource` and
|
|
14
|
+
`state`: the server's protected-resource metadata, or, where a server has none, its authorization
|
|
15
|
+
server's metadata at its own address; then a client id by the first that works: one registered by
|
|
16
|
+
hand for that issuer (`mcpClient.clients`, each bound to the servers it may sign in to), the app's
|
|
17
|
+
client metadata document (`/oauth/mcp-client.json`, where the authorization server says it reads
|
|
18
|
+
them), or dynamic registration. `iss` is checked where the authorization server says it sends it;
|
|
19
|
+
`offline_access` is asked for only where it's offered; tokens are renewed when they can be, and a
|
|
20
|
+
connection that can't is `needs_reconnect`. A token can also be typed in, for servers without
|
|
21
|
+
OAuth.
|
|
22
|
+
- **Both protocol versions.** Streamable HTTP, stateless 2026-07-28 (`server/discover`) first,
|
|
23
|
+
falling back to the 2025-11-25 handshake (`initialize`) for servers that don't speak it yet.
|
|
24
|
+
Server addresses pass the web tools' private-address guard (`loopback` opens localhost, for
|
|
25
|
+
development only); requests, responses, results and tool counts have limits.
|
|
26
|
+
- **Chat: `toolSources`.** A resource of tools that come from data rather than code, asked each turn
|
|
27
|
+
as the turn's agent and again when a call runs (`ToolSource`, `sourcedTools`). A tool of the
|
|
28
|
+
`tools` resource wins a name.
|
|
29
|
+
|
|
30
|
+
## 1.0.0-rc.83 — 2026-12-04
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **Members' subscriptions whenever possible: one switch for the org.** On the org's Agents page,
|
|
35
|
+
next to "Members can use", its owners and admins tick **Use members' subscriptions whenever
|
|
36
|
+
possible** (`tiers.plansFirst { on }`, kept on the org's `modelChoice` as `plansFirst`). On, every
|
|
37
|
+
model of an agent's chain runs on the member's plans before any runs on credits, as every turn did
|
|
38
|
+
before this release. The page warns, while it's on, that agents may end up on the same model and
|
|
39
|
+
lose what makes them complementary. `modelChoice.offered` says it (`org.plansFirst`, where the app
|
|
40
|
+
has plans), and prices a tier for the person looking as their turns run it.
|
|
41
|
+
- **A tier's fallbacks on members' subscriptions.** A tier names `fallbacks`, one model per maker,
|
|
42
|
+
each as a chain's entry (`"anthropic/claude-opus-5-5"`, or `{ model, effort }`): with the switch
|
|
43
|
+
on, they're tried after any agent's chain (those people made too), on the member's plans only,
|
|
44
|
+
never on credits, before the chain's credits. The tier editor has them as one row under the kinds
|
|
45
|
+
of work ("When a member's subscriptions run none of these"); `tiers.save` takes them (`fallbacks`,
|
|
46
|
+
null for the app's; one kept keeps its settings), and refuses one no plan of the app's runs, as
|
|
47
|
+
the app's startup check does for its own tiers. An app without plans never uses them; a tier
|
|
48
|
+
without them has none.
|
|
49
|
+
- **The models plugin: `plansFirst` and `planFallbacks`.** Beside `harnesses` and `served`, a model
|
|
50
|
+
list takes `plansFirst: true` (every model on the person's plans before any API) and
|
|
51
|
+
`planFallbacks` (models tried after the list on their plans only, never on an API). `models.check`
|
|
52
|
+
answers either.
|
|
53
|
+
|
|
54
|
+
### Changed
|
|
55
|
+
|
|
56
|
+
- **Staff's agents ask a computer's owner before every piece of work.** When platform staff (the
|
|
57
|
+
app's support access in a customer's org, with `@pairz/directory`) direct an agent on a computer
|
|
58
|
+
that isn't theirs, its owner is asked before every command, job, write, publish or destroy,
|
|
59
|
+
whatever the computer is set to ask (a cloud computer made with `approve: []` too) and whoever
|
|
60
|
+
answers there. The owner answers "Yes, this once" or "No". Nothing they allowed before (always,
|
|
61
|
+
for a conversation, for a routine) covers it, a "Yes, always" to another ask doesn't either, and
|
|
62
|
+
staff can't answer it. The agent tells staff it's waiting for the owner's yes, and the owner sees
|
|
63
|
+
the card wherever the app shows what agents ask them. On the computer's page, staff can look but
|
|
64
|
+
not change anything: its terminal, jobs, writes and uploads are refused, and so are making,
|
|
65
|
+
opening, publishing or taking away its previews and their custom domains. The org's own people
|
|
66
|
+
work as the computer says, as before. Before, an agent working for staff cloned a repository and
|
|
67
|
+
started a server on a customer's cloud computer set to ask nothing, and nobody was asked.
|
|
68
|
+
- **A tier's order comes first now: the default runs a chain model by model.** Where the app has
|
|
69
|
+
people's plans, a turn runs the tier's first model on the member's plans that run it, then on
|
|
70
|
+
credits, then the next model the same way, so a tier's choice of models holds. Before, every model
|
|
71
|
+
ran on their plans before any ran on credits (someone with only ChatGPT got GPT-6.2 Sol on it
|
|
72
|
+
before Opus on credits). An org that wants that turns the switch on (above); an org that never
|
|
73
|
+
said is off. A model list given `harnesses` without `plansFirst` runs the same way (`models.check`
|
|
74
|
+
too), and a plan at its limit hands over to the next entry: without the switch, the same model on
|
|
75
|
+
credits.
|
|
76
|
+
- **Edited agents keep getting the app's new tools.** The org's version of one of the app's agents
|
|
77
|
+
keeps only what the org changed of its tools, `tools: { add, remove }`, so tools the app gives its
|
|
78
|
+
agents later (rc.82's `publish`, `save_file`, `send_file`) reach it, switched on in its editor.
|
|
79
|
+
`agent.update` still takes the whole list. An agent the org made keeps its own list.
|
|
80
|
+
- **An override saved before this release** kept its whole list: it reads as the app's tools plus
|
|
81
|
+
what the list has beyond them, nothing taken away, and is kept the new way on its next save. So
|
|
82
|
+
a tool the org took off one of the app's agents before rc.83 comes back once: take it off again
|
|
83
|
+
in the agent's editor.
|
|
84
|
+
|
|
85
|
+
### Fixed
|
|
86
|
+
|
|
87
|
+
- **A computer owner's answer to staff's agent lets the turn go on.** When an agent worked for
|
|
88
|
+
platform staff and the computer's owner answered its ask, the conversation went on as the staff
|
|
89
|
+
person without their staff access, so the answer failed ("out of your reach") and the turn never
|
|
90
|
+
resumed. An ask now keeps that it's for staff (`approval.staff`), and the answer goes on as them.
|
|
91
|
+
- **Agents on a Gemini plan can use the computer's tools, and a plan's CLI never refuses a tool in
|
|
92
|
+
silence.** Gemini's agent (Antigravity) asked before each of the agent's tools, and the program,
|
|
93
|
+
guessing from what it said a tool did, refused `pairz/terminal` (an `execute`): every computer
|
|
94
|
+
tool on a Gemini plan came back denied, nothing reached its person to approve, and the agent told
|
|
95
|
+
them to approve a request that never came. There's one approval system now, the app's:
|
|
96
|
+
- **The CLIs don't ask.** The program starts each with settings that allow the agent's tools by
|
|
97
|
+
its server's name and keep the CLI's own off: Antigravity's `mcp(pairz/*)` rule, Claude Code's
|
|
98
|
+
`--allowedTools mcp__pairz`, Codex's `default_tools_approval_mode = "approve"`, Grok Build's
|
|
99
|
+
`--always-approve` with no tools of its own, and Cursor's SDK, which runs tools without asking.
|
|
100
|
+
- **What one asks anyway** is answered by whose tool it is, never by its kind: one named exactly
|
|
101
|
+
as one of the session's tools with the agent's server (`pairz/terminal`, `mcp__pairz__terminal`,
|
|
102
|
+
in the request, or in the tool call a request names by its id alone), allowed; anything else,
|
|
103
|
+
refused. Antigravity titles its own command with the command, so a title that only starts with
|
|
104
|
+
the server's name (`pairz/../…`, `pairz:;curl …`) is refused. Claude Code's questions reach the
|
|
105
|
+
program now (`--permission-prompt-tool stdio`) instead of being denied unseen, and Codex's
|
|
106
|
+
asking to call the agent's server is a yes.
|
|
107
|
+
- **A refusal is never silent.** The model is told, where its CLI takes words, that the computer's
|
|
108
|
+
AI app blocked it and nobody can approve it; the answer says the same to the person, once per
|
|
109
|
+
tool and step; and the app counts it (`pairz.engine.refused`, by engine) and logs it. The
|
|
110
|
+
program says it as a new prompt event, `refused`, which an older app skips.
|
|
111
|
+
- **A wait and a block are told apart.** A tool waiting for a yes in a turn now adds that it's a
|
|
112
|
+
question on a card in the conversation, and that the agent goes on once it's answered.
|
|
113
|
+
- **Checked.** The suite replays each CLI's permission requests, as its vendor documents them or
|
|
114
|
+
as it was seen to send them, through the program, with no CLI or plan; and
|
|
115
|
+
`node scripts/engines-check.ts --from <root>` runs each signed-in CLI live, in a scratch copy of
|
|
116
|
+
its home, before a release is tagged.
|
|
117
|
+
- **Pages work on older browsers again.** Since 1.0.0-rc.81 the web host calls
|
|
118
|
+
`Promise.withResolvers` as it starts (Chrome 119, Safari 17.4, Firefox 121), and pages also use
|
|
119
|
+
`AbortSignal.any` (Chrome 116): an older Chrome showed a blank page after sign-in. The web host
|
|
120
|
+
and the widget install both first where they're missing (`hosts/web/polyfills.ts`), and an app
|
|
121
|
+
that bundles the npm package (`pairz/web/node`'s `bundle`, Vite, webpack) keeps them: the
|
|
122
|
+
package's `sideEffects` names them, where `false` let a bundler drop the import.
|
|
123
|
+
- **Your AI lists every plan the app has.** It listed only the plans that ran a model some tier
|
|
124
|
+
named, so a plan whose models no tier had yet (Grok's, once Compass's tiers stopped naming Grok)
|
|
125
|
+
disappeared, though connecting it is what makes its models free in the picker. Every plan shows
|
|
126
|
+
now, in the plans' order, each still tested on the first tier model it runs.
|
|
127
|
+
- **`agent.known` shows the org's version of one of the app's agents over the app's,** with the
|
|
128
|
+
app's model and its tools, rather than without a model.
|
|
129
|
+
|
|
130
|
+
- **Cursor's names for three more models.** `CURSOR_NAMES` gains `gemini-3-flash` (Google's
|
|
131
|
+
`gemini-3-flash-preview`), `glm-5p3` and `glm-5p3-flash` (Z.ai's `glm-5.3`, `glm-5.3-flash`), read
|
|
132
|
+
from a Cursor plan's own model list (56 models; the rest are the makers' API names or Cursor's
|
|
133
|
+
own).
|
|
134
|
+
|
|
1
135
|
## 1.0.0-rc.82 — 2026-12-04
|
|
2
136
|
|
|
3
137
|
### Added
|
package/CONTRIBUTING.md
CHANGED
|
@@ -90,7 +90,7 @@ docs/ Getting Started, Build Compass, the guides, operations, the refe
|
|
|
90
90
|
scripts/ catalog.ts (refreshes the models.dev snapshot); npm/ (builds the npm package, and
|
|
91
91
|
smoke-tests it installed); computer/ (builds the computer program); describe.ts
|
|
92
92
|
(plugins' declarations and their reference pages); docs-index.py
|
|
93
|
-
(docs/manifest.json)
|
|
93
|
+
(docs/manifest.json); engines-check.ts (the plans' CLIs, live, before a release)
|
|
94
94
|
examples/ terminal-agent (an app: its plugins and resources, run in the terminal host, or in a
|
|
95
95
|
browser: web.ts serves it on Deno, harbor.tsx and brands.ts the same app as another
|
|
96
96
|
brand, gallery.tsx the logo, type and toolkit, orgs.ts many orgs on Postgres);
|
|
@@ -224,7 +224,22 @@ every runtime for that commit on main.
|
|
|
224
224
|
`## X.Y.Z — YYYY-MM-DD`. The release notes are what's under it.
|
|
225
225
|
2. **A pull request** for the branch, merged with a squash merge. The push to main runs the test
|
|
226
226
|
workflow on the merge commit.
|
|
227
|
-
3. **
|
|
227
|
+
3. **The plans' CLIs, live, before tagging.** The suite checks how the computer program answers each
|
|
228
|
+
CLI's permission requests against recorded ones
|
|
229
|
+
(`plugins/compute/tests/engine-permissions.test.ts`), with no CLI or plan. This checks the CLIs
|
|
230
|
+
themselves, on a machine where Your AI signed them in, by hand:
|
|
231
|
+
|
|
232
|
+
```sh
|
|
233
|
+
node scripts/engines-check.ts --from ~/Computer/<app> # --only claude,codex; --model codex=<model>
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
For each CLI installed and signed in there, it starts it as the program does, in a scratch copy
|
|
237
|
+
of its home (its sign-in, none of its sessions, in the system's temp, removed after), and has it
|
|
238
|
+
call the agent's `terminal` tool with `echo ok` end to end, with nothing asked and nothing
|
|
239
|
+
refused. It says pass, fail or skip for each (skip: not installed, or a sign-in that doesn't
|
|
240
|
+
copy), and runs nothing on the machine: the check answers the call itself. A fail is fixed before
|
|
241
|
+
the tag.
|
|
242
|
+
4. **A lightweight tag** `vX.Y.Z` on the merge commit, pushed (right away, or once its tests pass):
|
|
228
243
|
|
|
229
244
|
```sh
|
|
230
245
|
git tag vX.Y.Z <merge-commit> && git push origin vX.Y.Z
|
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.84 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.84 # 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.84"`) 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.84 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.84`.
|
|
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, 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."
|
|
4
4
|
section: Guides
|
|
5
5
|
order: 6
|
|
6
6
|
---
|
|
@@ -48,9 +48,10 @@ in on a computer of theirs, when that computer is off, or when the plan's limit
|
|
|
48
48
|
then moves on at once: a person with no plan signed in costs the call no wait. Its uses are metered,
|
|
49
49
|
tagged `paid: "subscription"`, at no cost to the app.
|
|
50
50
|
|
|
51
|
-
##
|
|
51
|
+
## A tier's models on people's plans
|
|
52
52
|
|
|
53
|
-
With the tiers plugin, a tier names models, and each turn runs them on its person's plans
|
|
53
|
+
With the tiers plugin, a tier names models, and each turn runs them on its person's plans where it
|
|
54
|
+
can:
|
|
54
55
|
|
|
55
56
|
```ts
|
|
56
57
|
tiers: {
|
|
@@ -61,12 +62,12 @@ tiers: {
|
|
|
61
62
|
}
|
|
62
63
|
```
|
|
63
64
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
`
|
|
69
|
-
|
|
65
|
+
By default, the tier's order wins: model by model, in the chain's order, every plan of the person's
|
|
66
|
+
that serves the model comes first, in the plans' order, then the model's API entry, then the next
|
|
67
|
+
model. Someone with only ChatGPT gets Anthropic's API for Opus, then `chatgpt/gpt-6.2-sol`, then
|
|
68
|
+
OpenAI's API; someone with Claude and ChatGPT gets `claude-plan/claude-opus-5-5`, Anthropic's API,
|
|
69
|
+
`chatgpt/gpt-6.2-sol`, `codex-plan/gpt-6.2-sol`, then OpenAI's API. A plan at its limit hands over
|
|
70
|
+
to the next entry at once.
|
|
70
71
|
|
|
71
72
|
- **Which models a plan runs** is its own list, where it has one. Antigravity, Grok Build and Cursor
|
|
72
73
|
list the models the person's plan runs, by their own names: the computer keeps each list
|
|
@@ -100,7 +101,44 @@ plan at its limit hands over to the next entry at once, so to the next plan whil
|
|
|
100
101
|
- **An app without plans,** and a model list without `harnesses`, run as they did.
|
|
101
102
|
|
|
102
103
|
`models.check` `{ model: { model: chain, harnesses, served }, port: "llm" }` answers what a chain
|
|
103
|
-
would try, in order: a page prices the first (a plan at
|
|
104
|
+
would try, in order (with `plansFirst: true`, every plan first): a page prices the first (a plan at
|
|
105
|
+
$0).
|
|
106
|
+
|
|
107
|
+
### Subscriptions whenever possible
|
|
108
|
+
|
|
109
|
+
An org that would rather spend its members' subscriptions than its credits says so: its owners and
|
|
110
|
+
admins tick **Use members' subscriptions whenever possible** on the org's Agents page
|
|
111
|
+
(`tiers.plansFirst { on: true }`, kept on the org's `modelChoice` as `plansFirst`; an org that never
|
|
112
|
+
said is off). Then every model of the chain runs on the person's plans before any runs on credits:
|
|
113
|
+
someone with only ChatGPT gets `chatgpt/gpt-6.2-sol` first, then Anthropic's API, then OpenAI's. The
|
|
114
|
+
page warns what it costs: agents may end up on the same model, and lose what makes them
|
|
115
|
+
complementary (one that checks the others' work does it best on another maker's model).
|
|
116
|
+
|
|
117
|
+
On, a tier's `fallbacks` come into it: one model per maker, tried after any agent's chain, on the
|
|
118
|
+
member's plans only, never on credits, so whichever subscription they have runs something before
|
|
119
|
+
credits do. They count for every agent, those people made too.
|
|
120
|
+
|
|
121
|
+
```ts
|
|
122
|
+
tiers: {
|
|
123
|
+
expert: {
|
|
124
|
+
title: "Expert",
|
|
125
|
+
agents: { south: { model: "google/gemini-4-neon", effort: "high" } },
|
|
126
|
+
fallbacks: [
|
|
127
|
+
"anthropic/claude-opus-5-5",
|
|
128
|
+
{ model: "openai/gpt-6.2-sol", effort: "high" },
|
|
129
|
+
"google/gemini-4-neon",
|
|
130
|
+
"xai/grok-4.7",
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
}
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
South, for someone with only ChatGPT, tries `chatgpt/gpt-6.2-sol` at high effort, then Google's API.
|
|
137
|
+
Each fallback must be one a plan of the app's runs (else the app doesn't start, and `tiers.save`
|
|
138
|
+
refuses it); an app without plans never uses them. In the tier editor they're one row under the
|
|
139
|
+
kinds of work ("When a member's subscriptions run none of these"); `tiers.save` takes them
|
|
140
|
+
(`fallbacks`, null for the app's), and one kept keeps its settings. A turn's chain goes with them as
|
|
141
|
+
`{ model, harnesses, served?, plansFirst: true, planFallbacks? }`.
|
|
104
142
|
|
|
105
143
|
### Cursor's names for models
|
|
106
144
|
|
|
@@ -111,6 +149,9 @@ in `resources/engines.ts`), as does each of Cursor's own models:
|
|
|
111
149
|
| Cursor's name | The model |
|
|
112
150
|
| ---------------- | ------------------------------- |
|
|
113
151
|
| `gemini-3.1-pro` | `google/gemini-3.1-pro-preview` |
|
|
152
|
+
| `gemini-3-flash` | `google/gemini-3-flash-preview` |
|
|
153
|
+
| `glm-5p3` | `zai/glm-5.3` |
|
|
154
|
+
| `glm-5p3-flash` | `zai/glm-5.3-flash` |
|
|
114
155
|
| `composer-2.5` | `cursor-plan/composer-2.5` |
|
|
115
156
|
|
|
116
157
|
It goes into `cursor-plan`'s `serves` map (the model's id → Cursor's name), so Cursor runs
|
|
@@ -321,6 +362,38 @@ program's own adapters speak it for Claude Code, Codex and Grok Build, and Curso
|
|
|
321
362
|
for Cursor's SDK. None of them is shipped with the program: people install the CLI they use, or Sign
|
|
322
363
|
in installs it.
|
|
323
364
|
|
|
365
|
+
## Permissions: one approval system
|
|
366
|
+
|
|
367
|
+
An agent on a plan asks its person only through the app. A tool that needs a yes (a desk's
|
|
368
|
+
`approve`) puts a question on a card in the conversation, as on any model, and the turn waits: the
|
|
369
|
+
model reads "Waiting for Ana's yes to run this on her computer: …". The CLI never asks anything
|
|
370
|
+
itself. The computer program starts each one with settings that allow the agent's tools (its MCP
|
|
371
|
+
server, `pairz`) by the server's name, and keep the CLI's own tools off:
|
|
372
|
+
|
|
373
|
+
| CLI | The agent's tools, without asking | Its own tools |
|
|
374
|
+
| ----------- | ----------------------------------------------------------------- | ------------------------------------- |
|
|
375
|
+
| Claude Code | `--allowedTools mcp__pairz` | `--tools ""` |
|
|
376
|
+
| Codex | `default_tools_approval_mode = "approve"` on the server | off by its features and model catalog |
|
|
377
|
+
| Antigravity | `"allow": ["mcp(pairz/*)"]` in its settings' `permissions` | denied there (`command(*)`, …) |
|
|
378
|
+
| Grok Build | `--always-approve`, with nothing but the agent's tools to approve | `--tools search_tool,use_tool` |
|
|
379
|
+
| Cursor | its SDK runs tool calls without asking | `tools: ["mcp"]` |
|
|
380
|
+
|
|
381
|
+
What a CLI asks anyway is answered by whose tool it is, never by what it says the tool does. One
|
|
382
|
+
named exactly as one of the agent's tools with its server (`pairz/terminal`, `mcp__pairz__terminal`)
|
|
383
|
+
is allowed. Anything else is refused, and never silently (Antigravity titles its own command with
|
|
384
|
+
the command, so `pairz/../…` is refused too):
|
|
385
|
+
|
|
386
|
+
- The model is told, where the CLI takes words with a refusal (Claude Code, Codex's older
|
|
387
|
+
approvals), that the computer's AI app blocked it and nobody can approve it.
|
|
388
|
+
- The answer says it to the person, in the same words, once per tool and step: "Antigravity, the AI
|
|
389
|
+
app on this computer, blocked "rm -rf ~", one of its own tools: they're off there, and nobody can
|
|
390
|
+
approve them. The agent's own tools still work." The model reads it after, so it doesn't wait for
|
|
391
|
+
a yes that can't come.
|
|
392
|
+
- The app counts it (`pairz.engine.refused`, by engine) and logs it, as the computer does.
|
|
393
|
+
|
|
394
|
+
`node scripts/engines-check.ts` checks each CLI live before a release
|
|
395
|
+
([CONTRIBUTING.md](../../CONTRIBUTING.md#releasing)).
|
|
396
|
+
|
|
324
397
|
## Waking a computer
|
|
325
398
|
|
|
326
399
|
A cloud computer sleeps when it isn't used, and a plan's call wakes it. The computers plugin asks
|
|
@@ -353,7 +426,8 @@ resources: {
|
|
|
353
426
|
## What a plan costs
|
|
354
427
|
|
|
355
428
|
**The model.** Tiers price a typical message for the person looking, at the first model their turn
|
|
356
|
-
would try: their plans first
|
|
429
|
+
would try: in the tier's order, or their plans first where the org uses them whenever possible
|
|
430
|
+
(`modelChoice.offered`).
|
|
357
431
|
|
|
358
432
|
- On one of their plans, a kind of work costs them nothing (`ModelShown.plan`).
|
|
359
433
|
- A tier says what it comes to for them (`TierShown.yours`) where a plan of theirs answers. The
|
|
@@ -411,6 +485,10 @@ it is charged while it's awake."
|
|
|
411
485
|
- A plan at its limit is tried first on each call until it resets: it fails in seconds.
|
|
412
486
|
- Plans run at their CLI's own effort, whatever the chain says, but for a model a plan names with
|
|
413
487
|
its effort.
|
|
488
|
+
- Cursor's SDK has no way to ask the program anything: a Cursor team whose admins limit which MCP
|
|
489
|
+
tools run without approval could hold the agent's tools for a yes nobody here can give.
|
|
490
|
+
- Grok Build approves every call it makes (`--always-approve`): it reaches only the agent's tools,
|
|
491
|
+
and a call that offers it tools of its own fails at once.
|
|
414
492
|
- Grok Build reaches an agent's tools through its own search: a tool call takes it a few more model
|
|
415
493
|
turns. Its built-in skills stay in its prompt. Grok keeps a copy of each session at xAI.
|
|
416
494
|
- A computer program older than 1.0.0-rc.66 has no Grok Build or Cursor: Sign in says it doesn't
|
|
@@ -14,6 +14,11 @@ A computer belongs to a space. An agent uses a computer of the space its chat is
|
|
|
14
14
|
it works for, and only where that person reaches. Only the person says yes: an agent, a key or a
|
|
15
15
|
routine can't answer for them, since `chat.approve` is `inPerson`.
|
|
16
16
|
|
|
17
|
+
Platform staff in a customer's org (with `@pairz/directory`) are the exception: on a computer that
|
|
18
|
+
isn't theirs, its owner says yes to every command, job, write, publish or destroy an agent does for
|
|
19
|
+
them, once at a time, whatever the computer is set to ask. Staff change nothing on it from its page,
|
|
20
|
+
its previews and what it publishes included.
|
|
21
|
+
|
|
17
22
|
## Where the program comes from
|
|
18
23
|
|
|
19
24
|
People's computers run the computer program, `plugins/compute/computers/program/`. It's a single
|
|
@@ -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.84 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.84/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, 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."
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"title": "A public MCP server: docs and data for anyone",
|
|
@@ -80,11 +80,16 @@ Model calls, by OpenTelemetry's GenAI conventions:
|
|
|
80
80
|
|
|
81
81
|
Plugins:
|
|
82
82
|
|
|
83
|
-
| Metric | What it measures
|
|
84
|
-
| ------------------------------ |
|
|
85
|
-
| `pairz.usage.cost` | the cost of uses, in USD, from the usage ledger
|
|
86
|
-
| `pairz.usage.price` | the price of uses, in USD, from the usage ledger
|
|
87
|
-
| `pairz.memory.recall_failures` | turns that went on without recalled memories because recall failed
|
|
83
|
+
| Metric | What it measures |
|
|
84
|
+
| ------------------------------ | ------------------------------------------------------------------------------ |
|
|
85
|
+
| `pairz.usage.cost` | the cost of uses, in USD, from the usage ledger |
|
|
86
|
+
| `pairz.usage.price` | the price of uses, in USD, from the usage ledger |
|
|
87
|
+
| `pairz.memory.recall_failures` | turns that went on without recalled memories because recall failed |
|
|
88
|
+
| `pairz.engine.refused` | tools of its own a plan's CLI asked to use, refused on a computer, by `engine` |
|
|
89
|
+
|
|
90
|
+
`pairz.engine.refused` is new in 1.0.0-rc.83. A plan's CLI has its own tools off and the agent's
|
|
91
|
+
allowed in its settings, so it never asks: a count above zero means a CLI's version asks anyway (see
|
|
92
|
+
[Agents on people's own plans](../guides/agents-on-peoples-plans.md#permissions-one-approval-system)).
|
|
88
93
|
|
|
89
94
|
## Metrics and the ledger
|
|
90
95
|
|
|
@@ -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.84`.
|
|
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.84`, for `pairz` `1.0.0-rc.84`: 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.84`, for `pairz` `1.0.0-rc.84`: 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.84`.
|
|
46
46
|
|
|
47
47
|
## Listing
|
|
48
48
|
|