Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(inference): require the signed real-funds agreements before an agent wallet funds its own inference

nirholasbd0980c69c8e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bba88023a..12b248d17 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
## 2026-10-09
+- **Funding an agent's inference from its wallet now needs the signed real-funds agreements**: Topping up an agent's inference credits, switching on its automatic top-up, and provisioning an inference API key all send real USDC out of the agent's wallet. They now ask for the same signed Terms of Service, Risk Disclosure and Agent Wallet Agreement as every other real-funds action, on the page and on the API alike. Previews and switching the automatic top-up off stay open, since nothing moves. `[security]`
- **The desktop companion, CLI and MCP server now work with just the bridge token**: The companion bridge token is the one credential the desktop app, the companion command line and its MCP server are given, but the feed, marking a message as spoken, replying, reading contacts and checking sources all refused it, so pasting the token into the desktop app said it was wrong and an agent asking what you had heard got turned away. Those calls now accept the bridge token and only ever show the messages and contacts of the person it belongs to. It still cannot connect sources, edit contacts, change settings or rotate itself; those stay behind your signed-in account, and they now say so plainly instead of answering as if the token were wrong. (`/companion`) `[fix]`
## 2026-10-08
diff --git a/api/agents/_id/credits.js b/api/agents/_id/credits.js
index e36f1a9b2..3938947fd 100644
--- a/api/agents/_id/credits.js
+++ b/api/agents/_id/credits.js
@@ -22,6 +22,7 @@ import { getSessionUser, authenticateBearer, extractBearer, hasScope } from '../
import { sql } from '../../_lib/db.js';
import { cors, error, json, method, readJson, wrap, rateLimited } from '../../_lib/http.js';
import { requireCsrf } from '../../_lib/csrf.js';
+import { requireRealFundsAgreement } from '../../_lib/real-funds-agreement.js';
import { limits, clientIp } from '../../_lib/rate-limit.js';
import { inferenceUsage, autoFundIntent } from '../../_lib/inference-billing.js';
import { previewTopup, executeTopup, reconcilePendingTopups } from '../../_lib/inference-topup.js';
@@ -85,6 +86,10 @@ export const handleCredits = wrap(async (req, res, agentId, action, sub) => {
if (!scopeOk(caller, 'wallet:write')) {
return error(res, 403, 'insufficient_scope', 'moving funds from an agent wallet needs the wallet:write scope');
}
+ // The top-up itself sends real USDC out of the agent wallet, so it needs the
+ // signed real-funds agreements; the preview moves nothing. Checked before CSRF
+ // so a refusal does not burn the owner's single-use token.
+ if (!sub && !(await requireRealFundsAgreement(req, res, { userId: caller.userId, context: 'inference-topup' }))) return;
if (!(await requireCsrf(req, res, caller.userId))) return;
const rl = await limits.authIp(clientIp(req));
if (!rl.success) return rateLimited(res, rl);
@@ -125,13 +130,18 @@ async function handleAutoFund(req, res, caller, agent) {
if (!scopeOk(caller, 'wallet:write')) {
return error(res, 403, 'insufficient_scope', 'changing the auto-fund rule needs the wallet:write scope');
}
+ const body = (await readJson(req).catch(() => null)) || {};
+ const enabled = body.enabled !== false;
+ // An enabled rule lets the wallet-intents engine send USDC from the agent
+ // wallet unattended, so arming or re-arming it needs the signed real-funds
+ // agreements; switching it off never spends. Checked before CSRF so a refusal
+ // does not burn the owner's single-use token.
+ if (enabled && !(await requireRealFundsAgreement(req, res, { userId: caller.userId, context: 'inference-auto-fund' }))) return;
if (!(await requireCsrf(req, res, caller.userId))) return;
const rl = await limits.authIp(clientIp(req));
if (!rl.success) return rateLimited(res, rl);
- const body = (await readJson(req).catch(() => null)) || {};
const current = await autoFundIntent(agent.id);
- const enabled = body.enabled !== false;
// Turning an absent rule off is a no-op, not an error.
if (!current && !enabled) return json(res, 200, { auto_fund: null });
diff --git a/api/inference/[action].js b/api/inference/[action].js
index d935f0b48..b93511bb3 100644
--- a/api/inference/[action].js
+++ b/api/inference/[action].js
@@ -23,6 +23,7 @@ import { getSessionUser, authenticateBearer, extractBearer, hasScope } from '../
import { sql } from '../_lib/db.js';
import { cors, error, json, method, readJson, wrap, rateLimited } from '../_lib/http.js';
import { requireCsrf } from '../_lib/csrf.js';
+import { requireRealFundsAgreement } from '../_lib/real-funds-agreement.js';
import { limits, clientIp } from '../_lib/rate-limit.js';
import { inferenceUsage } from '../_lib/inference-billing.js';
import { reconcilePendingTopups } from '../_lib/inference-topup.js';
@@ -87,6 +88,10 @@ async function handleProvision(req, res, caller, action) {
if (!scopeOk(caller, 'wallet:write')) {
return error(res, 403, 'insufficient_scope', 'funding an inference key from an agent wallet needs the wallet:write scope');
}
+ // Provisioning sends real USDC out of the agent wallet, so it needs the signed
+ // real-funds agreements; the preview moves nothing. Checked before CSRF so a
+ // refusal does not burn the owner's single-use token.
+ if (action === 'provision' && !(await requireRealFundsAgreement(req, res, { userId: caller.userId, context: 'inference-provision' }))) return;
if (!(await requireCsrf(req, res, caller.userId))) return;
const rl = await limits.authIp(clientIp(req));
if (!rl.success) return rateLimited(res, rl);
diff --git a/data/changelog.json b/data/changelog.json
index 615100c48..f4be04f6d 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,14 @@
{
"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security, desktop (desktop entries become the desktop app's release notes). `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-10-09",
+ "title": "Funding an agent's inference from its wallet now needs the signed real-funds agreements",
+ "summary": "Topping up an agent's inference credits, switching on its automatic top-up, and provisioning an inference API key all send real USDC out of the agent's wallet. They now ask for the same signed Terms of Service, Risk Disclosure and Agent Wallet Agreement as every other real-funds action, on the page and on the API alike. Previews and switching the automatic top-up off stay open, since nothing moves.",
+ "tags": [
+ "security"
+ ]
+ },
{
"date": "2026-10-08",
"title": "Signing in to the 3D Studio, wallet, Bazaar and IBM MCP servers works from any connector",
diff --git a/docs/risk-acknowledgment.md b/docs/risk-acknowledgment.md
index 97b12c5c8..a7ea4b9c4 100644
--- a/docs/risk-acknowledgment.md
+++ b/docs/risk-acknowledgment.md
@@ -212,6 +212,7 @@ keeps the sign-in clickwrap record in step with the Terms version.
| Agent wallet: arm sniper | `src/agent-wallet-hub/tabs/snipe.js` | `snipe` |
| Agent wallet: arm autopilot | `src/agent-wallet-hub/tabs/autopilot.js` | `autopilot` |
| Agent wallet: x402 pay | `src/agent-wallet-hub/tabs/pay.js` | `x402-pay` |
+| Agent inference credits: top up, arm auto-fund | `src/inference-credits.js` | `inference-topup`, `inference-auto-fund` |
| Tip an agent from a connected wallet | `src/shared/agent-tip-modal.js` | `tip` |
| Master wallet: deposit, send, fund agent | `src/master-wallet.js` | `deposit`, `master-send`, `fund-agent` |
| Oracle arm (live mode only) | `src/arm.js` | `oracle-arm` |
diff --git a/public/changelog-recent.json b/public/changelog-recent.json
index 8c77277e4..55a6cae09 100644
--- a/public/changelog-recent.json
+++ b/public/changelog-recent.json
@@ -1,14 +1,24 @@
{
- "generated_at": "2026-10-09T02:58:06.112Z",
+ "generated_at": "2026-10-09T03:00:46.444Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
- "total": 3837,
+ "total": 3838,
"complete": false,
"full_feed": "/changelog.json",
"entries": [
+ {
+ "date": "2026-10-09",
+ "type": "update",
+ "title": "Funding an agent's inference from its wallet now needs the signed real-funds agreements",
+ "summary": "Topping up an agent's inference credits, switching on its automatic top-up, and provisioning an inference API key all send real USDC out of the agent's wallet. They now ask for the same signed Terms of Service, Risk Disclosure and Agent Wallet Agreement as every other real-funds action, on the page and on the API alike. Previews and switching the automatic top-up off stay open, since nothing moves.",
+ "link": null,
+ "tags": [
+ "security"
+ ]
+ },
{
"date": "2026-10-09",
"type": "update",
@@ -1549,16 +1559,6 @@
"security",
"feature"
]
- },
- {
- "date": "2026-09-16",
- "type": "launch",
- "title": "Docs · The /launch launchpad",
- "summary": "How three.ws/launch launches a pump.fun coin for a 3D agent: agent-linked metadata, the 1% dev-buy fee, v0 lookup-table and Solana transaction v1 formats, claiming creator rewards on three.ws, and the API behind it.",
- "link": "/docs/launchpad",
- "tags": [
- "launch"
- ]
}
]
}
diff --git a/public/changelog.json b/public/changelog.json
index ea9af5795..8b1ca9882 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,11 +1,21 @@
{
- "generated_at": "2026-10-09T02:58:06.081Z",
+ "generated_at": "2026-10-09T03:00:46.418Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
"entries": [
+ {
+ "date": "2026-10-09",
+ "type": "update",
+ "title": "Funding an agent's inference from its wallet now needs the signed real-funds agreements",
+ "summary": "Topping up an agent's inference credits, switching on its automatic top-up, and provisioning an inference API key all send real USDC out of the agent's wallet. They now ask for the same signed Terms of Service, Risk Disclosure and Agent Wallet Agreement as every other real-funds action, on the page and on the API alike. Previews and switching the automatic top-up off stay open, since nothing moves.",
+ "link": null,
+ "tags": [
+ "security"
+ ]
+ },
{
"date": "2026-10-09",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 670572040..7f733cb6a 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -6,6 +6,14 @@
<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/>
<description>What's new on three.ws: features, improvements, and releases, newest first.</description>
<language>en</language>
+ <item>
+ <title>Funding an agent's inference from its wallet now needs the signed real-funds agreements</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-10-09:Funding an agent's inference from its wallet now needs the signed real-funds agreements</guid>
+ <pubDate>Fri, 09 Oct 2026 12:00:00 GMT</pubDate>
+ <category>security</category>
+ <description>Topping up an agent's inference credits, switching on its automatic top-up, and provisioning an inference API key all send real USDC out of the agent's wallet. They now ask for the same signed Terms of Service, Risk Disclosure and Agent Wallet Agreement as every other real-funds action, on the page and on the API alike. Previews and switching the automatic top-up off stay open, since nothing moves.</description>
+ </item>
<item>
<title>The desktop companion, CLI and MCP server now work with just the bridge token</title>
<link>https://three.ws/companion</link>
diff --git a/public/features.json b/public/features.json
index 52d91195c..adb715cee 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-10-09T02:58:06.057Z",
+ "generated_at": "2026-10-09T03:00:46.403Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/inference-credits.js b/src/inference-credits.js
index 14f897fa2..c21199997 100644
--- a/src/inference-credits.js
+++ b/src/inference-credits.js
@@ -17,6 +17,7 @@
*/
import { consumeCsrfToken } from './api.js';
+import { ensureRiskAck } from './shared/risk-ack.js';
const STYLE_ID = 'ic-style';
const AMOUNTS = [1, 5, 20];
@@ -466,6 +467,9 @@ export function mountInferenceCredits(root, { agentId, compact = false, walletHr
const amount = Number(field('auto-amount')?.value);
if (!(threshold > 0)) return set({ flash: 'Set a floor above $0 for the automatic top-up.' });
if (!(amount >= 0.1)) return set({ flash: 'The automatic top-up must be at least 0.1 USDC.' });
+ // An enabled rule spends real USDC unattended; the server refuses to arm it
+ // for an account without the signed real-funds agreements.
+ if (enabled && !(await ensureRiskAck({ context: 'inference-auto-fund' }))) return undefined;
set({ busy: true, flash: null });
const r = await call(`${base}/credits/auto-fund`, {
method: 'PUT',
@@ -525,6 +529,7 @@ export function mountInferenceCredits(root, { agentId, compact = false, walletHr
return set({ busy: false, preview: r.data });
}
case 'confirm': {
+ if (!(await ensureRiskAck({ context: 'inference-topup' }))) return undefined;
set({ busy: true });
const r = await call(`${base}/credits/topup`, {
method: 'POST',
diff --git a/tests/inference-funding-agreement.test.js b/tests/inference-funding-agreement.test.js
new file mode 100644
index 000000000..5ac84ddc0
--- /dev/null
+++ b/tests/inference-funding-agreement.test.js
@@ -0,0 +1,206 @@
+// The two routes that send USDC out of an agent wallet to fund inference must
+// refuse an account that has not signed the real-funds agreements, and must do
+// so before the CSRF check (a refusal must not burn the owner's single-use
+// token) and before any money path runs. Previews and switching a rule off move
+// nothing, so they stay open.
+//
+// POST /api/agents/:id/credits/topup api/agents/_id/credits.js
+// PUT /api/agents/:id/credits/auto-fund api/agents/_id/credits.js
+// POST /api/me/inference/provision api/inference/[action].js
+//
+// The agreement record itself is covered by tests/real-funds-agreement.test.js;
+// here it is a switch, and every money helper is a spy that must stay unused.
+
+import { describe, it, expect, vi, beforeEach } from 'vitest';
+
+const USER = 'user-funding-1';
+const AGENT = '00000000-0000-4000-8000-0000000000a1';
+
+const state = { signed: true };
+const requireRealFundsAgreement = vi.fn(async (_req, res) => {
+ if (state.signed) return true;
+ res.statusCode = 403;
+ res.end(JSON.stringify({ error: 'risk_ack_required' }));
+ return false;
+});
+vi.mock('../api/_lib/real-funds-agreement.js', () => ({
+ requireRealFundsAgreement: (...a) => requireRealFundsAgreement(...a),
+}));
+
+vi.mock('../api/_lib/auth.js', () => ({
+ getSessionUser: vi.fn(async () => ({ id: USER })),
+ authenticateBearer: vi.fn(async () => null),
+ extractBearer: vi.fn(() => null),
+ hasScope: vi.fn(() => true),
+}));
+
+const requireCsrf = vi.fn(async () => true);
+vi.mock('../api/_lib/csrf.js', () => ({ requireCsrf: (...a) => requireCsrf(...a) }));
+
+vi.mock('../api/_lib/rate-limit.js', () => ({
+ limits: new Proxy({}, { get: () => async () => ({ success: true }) }),
+ clientIp: () => '127.0.0.1',
+}));
+
+vi.mock('../api/_lib/db.js', () => ({
+ sql: vi.fn(async () => [{ id: AGENT, user_id: USER, name: 'Funder', meta: {} }]),
+ isDbUnavailableError: () => false,
+ isDbCapacityError: () => false,
+}));
+
+const money = {
+ previewTopup: vi.fn(async () => ({ preview_id: 'pv-1' })),
+ executeTopup: vi.fn(async () => ({ status: 'settled' })),
+ reconcilePendingTopups: vi.fn(async () => {}),
+ previewProvision: vi.fn(async () => ({ preview_id: 'pv-2' })),
+ executeProvision: vi.fn(async () => ({ status: 201, body: { ok: true } })),
+ createIntent: vi.fn(async () => {}),
+ updateIntent: vi.fn(async () => {}),
+};
+vi.mock('../api/_lib/inference-topup.js', () => ({
+ previewTopup: (...a) => money.previewTopup(...a),
+ executeTopup: (...a) => money.executeTopup(...a),
+ reconcilePendingTopups: (...a) => money.reconcilePendingTopups(...a),
+}));
+vi.mock('../api/_lib/inference-provision.js', () => ({
+ previewProvision: (...a) => money.previewProvision(...a),
+ executeProvision: (...a) => money.executeProvision(...a),
+ INFERENCE_BASE_URL: 'https://three.ws/api/v1',
+}));
+vi.mock('../api/_lib/inference-billing.js', () => ({
+ inferenceUsage: vi.fn(async () => ({})),
+ autoFundIntent: vi.fn(async () => null),
+}));
+vi.mock('../api/_lib/wallet-intents.js', () => ({
+ normalizeIntent: vi.fn((intent) => ({ ok: true, intent })),
+ createIntent: (...a) => money.createIntent(...a),
+ updateIntent: (...a) => money.updateIntent(...a),
+ describeIntent: vi.fn(() => 'Keep the agent thinking'),
+}));
+
+const { handleCredits } = await import('../api/agents/_id/credits.js');
+const { default: inferenceHandler } = await import('../api/inference/[action].js');
+
+function makeReq(httpMethod, body, query = {}) {
+ return {
+ method: httpMethod,
+ url: '/api/test',
+ query,
+ headers: { 'content-type': 'application/json', origin: 'https://three.ws' },
+ body,
+ };
+}
+function makeRes() {
+ return {
+ statusCode: 200,
+ headers: {},
+ body: undefined,
+ writableEnded: false,
+ headersSent: false,
+ setHeader(k, v) {
+ this.headers[k.toLowerCase()] = v;
+ },
+ getHeader(k) {
+ return this.headers[k.toLowerCase()];
+ },
+ end(b) {
+ this.body = b;
+ this.writableEnded = true;
+ },
+ };
+}
+const parse = (res) => (res.body ? JSON.parse(res.body) : undefined);
+
+beforeEach(() => {
+ state.signed = true;
+ requireRealFundsAgreement.mockClear();
+ requireCsrf.mockClear();
+ for (const fn of Object.values(money)) fn.mockClear();
+});
+
+describe('agent credits top-up', () => {
+ it('refuses an unsigned account before CSRF and before any USDC moves', async () => {
+ state.signed = false;
+ const res = makeRes();
+ await handleCredits(makeReq('POST', { preview_id: 'pv-1', confirm_deposit: true }), res, AGENT, 'topup');
+ expect(res.statusCode).toBe(403);
+ expect(parse(res).error).toBe('risk_ack_required');
+ expect(requireCsrf).not.toHaveBeenCalled();
+ expect(money.executeTopup).not.toHaveBeenCalled();
+ });
+
+ it('settles for a signed account', async () => {
+ const res = makeRes();
+ await handleCredits(makeReq('POST', { preview_id: 'pv-1', confirm_deposit: true }), res, AGENT, 'topup');
+ expect(res.statusCode).toBe(200);
+ expect(requireRealFundsAgreement.mock.calls[0][2]).toMatchObject({ userId: USER, context: 'inference-topup' });
+ expect(money.executeTopup).toHaveBeenCalledTimes(1);
+ });
+
+ it('leaves the preview open to an unsigned account, since nothing moves', async () => {
+ state.signed = false;
+ const res = makeRes();
+ await handleCredits(makeReq('POST', { amount_usdc: 5 }), res, AGENT, 'topup', 'preview');
+ expect(res.statusCode).toBe(200);
+ expect(requireRealFundsAgreement).not.toHaveBeenCalled();
+ expect(money.previewTopup).toHaveBeenCalledTimes(1);
+ expect(money.executeTopup).not.toHaveBeenCalled();
+ });
+});
+
+describe('agent credits auto-fund rule', () => {
+ it('refuses to arm the rule for an unsigned account', async () => {
+ state.signed = false;
+ const res = makeRes();
+ await handleCredits(makeReq('PUT', { enabled: true, threshold_usd: 2, amount_usdc: 5 }), res, AGENT, 'auto-fund');
+ expect(res.statusCode).toBe(403);
+ expect(requireCsrf).not.toHaveBeenCalled();
+ expect(money.createIntent).not.toHaveBeenCalled();
+ expect(money.updateIntent).not.toHaveBeenCalled();
+ });
+
+ it('arms the rule for a signed account', async () => {
+ const res = makeRes();
+ await handleCredits(makeReq('PUT', { enabled: true, threshold_usd: 2, amount_usdc: 5 }), res, AGENT, 'auto-fund');
+ expect(res.statusCode).toBe(200);
+ expect(requireRealFundsAgreement.mock.calls[0][2]).toMatchObject({ context: 'inference-auto-fund' });
+ expect(money.createIntent).toHaveBeenCalledTimes(1);
+ });
+
+ it('lets an unsigned account switch the rule off, which never spends', async () => {
+ state.signed = false;
+ const res = makeRes();
+ await handleCredits(makeReq('PUT', { enabled: false }), res, AGENT, 'auto-fund');
+ expect(res.statusCode).toBe(200);
+ expect(parse(res)).toEqual({ auto_fund: null });
+ expect(requireRealFundsAgreement).not.toHaveBeenCalled();
+ });
+});
+
+describe('inference key provisioning', () => {
+ it('refuses an unsigned account before CSRF and before any USDC moves', async () => {
+ state.signed = false;
+ const res = makeRes();
+ await inferenceHandler(makeReq('POST', { preview_id: 'pv-2', confirm_deposit: true }, { action: 'provision' }), res);
+ expect(res.statusCode).toBe(403);
+ expect(requireCsrf).not.toHaveBeenCalled();
+ expect(money.executeProvision).not.toHaveBeenCalled();
+ });
+
+ it('provisions for a signed account', async () => {
+ const res = makeRes();
+ await inferenceHandler(makeReq('POST', { preview_id: 'pv-2', confirm_deposit: true }, { action: 'provision' }), res);
+ expect(res.statusCode).toBe(201);
+ expect(requireRealFundsAgreement.mock.calls[0][2]).toMatchObject({ userId: USER, context: 'inference-provision' });
+ expect(money.executeProvision).toHaveBeenCalledTimes(1);
+ });
+
+ it('leaves the provisioning preview open to an unsigned account', async () => {
+ state.signed = false;
+ const res = makeRes();
+ await inferenceHandler(makeReq('POST', { agent_id: AGENT, amount_usdc: 5 }, { action: 'provision-preview' }), res);
+ expect(res.statusCode).toBe(200);
+ expect(requireRealFundsAgreement).not.toHaveBeenCalled();
+ expect(money.previewProvision).toHaveBeenCalledTimes(1);
+ });
+});
diff --git a/tests/real-funds-agreement-coverage.test.js b/tests/real-funds-agreement-coverage.test.js
index b65fa53f8..8b4b363b6 100644
--- a/tests/real-funds-agreement-coverage.test.js
+++ b/tests/real-funds-agreement-coverage.test.js
@@ -30,8 +30,9 @@ const EXEMPT = {
'api/agents/_id/_sub.js': 'config, reads, and message signing; no transfer',
'api/agents/_id/brain.js': 'agent key signs a digest; anchor gas is paid by the platform validator key',
'api/agents/alpha.js': 'read-only candidates and analysis',
- 'api/agents/copilot.js': 'renders proposal cards; execution happens on gated endpoints',
+ 'api/_mcp/resources.js': 'read-only MCP resources: lists orders and intents and reads the latest wallet signature over RPC; never signs',
'api/autopilot/activity.js': 'read-only activity feed',
+ 'api/cli/[action].js': 'CLI device-link sign-in and whoami; reads the x402 wallet address, balances and caps only',
'api/avatars/fork.js': 'creates a fresh empty wallet for the fork; no funds move',
'api/irl/world-lines.js': 'agent key signs a proof-of-presence message; no transfer',
'api/labor/bid.js': 'bids move no money',