otto-intel-mcp 0.1.0 → 0.1.1
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/README.md +186 -54
- package/dist/execution-delegation-admin.d.ts +1 -1
- package/dist/execution-delegation-admin.js +1 -1
- package/dist/execution-delegation.d.ts +17 -1
- package/dist/execution-delegation.js +45 -2
- package/dist/execution-errors.d.ts +1 -1
- package/dist/execution-errors.js +6 -0
- package/package.json +45 -10
- package/dist/adapter/cdp-signer.js.map +0 -1
- package/dist/adapter/chain.js.map +0 -1
- package/dist/adapter/erc20.js.map +0 -1
- package/dist/adapter/lifi-decode.js.map +0 -1
- package/dist/adapter/refusal.js.map +0 -1
- package/dist/adapter/sent-step.js.map +0 -1
- package/dist/adapter/verify.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,43 +1,54 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Otto Intel MCP
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Market intelligence and trade construction for AI agents, over MCP: SEC filings and insider flow for US stocks, tokenized equities on Robinhood Chain, Base and Polymarket market context, plus four **constructors** that build a ready-to-sign swap, bridge, Polymarket order or Hyperliquid perp order for an address you supply. Pay per call in USDC on Base; on the hosted server the first call from your network address is free.
|
|
4
4
|
|
|
5
|
-
- Hosted
|
|
6
|
-
- Local
|
|
5
|
+
- Hosted: `https://mcp.ottoai.services` — 21 tools.
|
|
6
|
+
- Local: `npx otto-intel-mcp` — the 10 intelligence tools, paid from a wallet you configure.
|
|
7
|
+
- Docs: https://docs.useotto.xyz/acp-swarm/otto-intel-mcp
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
## Quick start (hosted, under a minute)
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
**Claude Code**
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
```bash
|
|
14
|
+
claude mcp add otto-intel --transport http https://mcp.ottoai.services
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Cursor, Claude Desktop, Codex CLI, any MCP client** — add a remote server with this URL (Cursor: `~/.cursor/mcp.json`; Claude Desktop: Connectors → add custom connector; Codex: `codex mcp add otto-intel --url https://mcp.ottoai.services`):
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"mcpServers": {
|
|
22
|
+
"otto-intel": { "url": "https://mcp.ottoai.services" }
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
**First call** — ask your agent, or call the tool directly:
|
|
26
28
|
|
|
27
|
-
|
|
29
|
+
```text
|
|
30
|
+
Use otto_pm_crypto and summarize the top three markets.
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{ "method": "tools/call", "params": { "name": "otto_pm_crypto", "arguments": {} } }
|
|
35
|
+
```
|
|
28
36
|
|
|
29
|
-
|
|
37
|
+
(a standard MCP `tools/call` request — your MCP client wraps it in JSON-RPC and handles `initialize` and the Streamable HTTP session)
|
|
30
38
|
|
|
31
|
-
|
|
39
|
+
That call is free (one per network address). The next one returns a payment request; your agent signs it with an x402 wallet and retries with the signed payload in `x_payment` — see [How paying works](#how-paying-works).
|
|
32
40
|
|
|
33
|
-
|
|
41
|
+
## Quick start (local)
|
|
42
|
+
|
|
43
|
+
Runs the 10 intelligence tools on your machine and pays each call from a wallet you provide. It needs one variable, `X402_PRIVATE_KEY` — the key of a wallet holding some USDC on Base.
|
|
44
|
+
|
|
45
|
+
**Claude Code**
|
|
34
46
|
|
|
35
47
|
```bash
|
|
36
|
-
|
|
37
|
-
npx -y otto-intel-mcp
|
|
48
|
+
claude mcp add otto-intel -e X402_PRIVATE_KEY=0x… -- npx -y otto-intel-mcp
|
|
38
49
|
```
|
|
39
50
|
|
|
40
|
-
|
|
51
|
+
**Any MCP client (stdio)** — Cursor: `~/.cursor/mcp.json`; Claude Desktop: `claude_desktop_config.json`:
|
|
41
52
|
|
|
42
53
|
```json
|
|
43
54
|
{
|
|
@@ -45,58 +56,179 @@ Example MCP configuration:
|
|
|
45
56
|
"otto-intel": {
|
|
46
57
|
"command": "npx",
|
|
47
58
|
"args": ["-y", "otto-intel-mcp"],
|
|
48
|
-
"env": {
|
|
49
|
-
"X402_PRIVATE_KEY": "${X402_PRIVATE_KEY}"
|
|
50
|
-
}
|
|
59
|
+
"env": { "X402_PRIVATE_KEY": "0x…" }
|
|
51
60
|
}
|
|
52
61
|
}
|
|
53
62
|
}
|
|
54
63
|
```
|
|
55
64
|
|
|
56
|
-
|
|
65
|
+
Requires Node 22 or newer. Optional: `X402_RPC_URL` (your own Base RPC), `X402_TIMEOUT_MS` (default 30000).
|
|
57
66
|
|
|
58
|
-
##
|
|
67
|
+
## What you get
|
|
59
68
|
|
|
60
|
-
|
|
69
|
+
### Intelligence tools — hosted and local
|
|
61
70
|
|
|
62
|
-
|
|
71
|
+
| Tool | Argument | Returns | Price |
|
|
72
|
+
| --- | --- | --- | ---: |
|
|
73
|
+
| `otto_tokenized_equities` | optional `thesis` | The live registry of US stocks and ETFs tokenized on Robinhood Chain — symbol, token address, reference price, tradability; with a thesis, a ranked shortlist with a match reason per row | $0.001 |
|
|
74
|
+
| `otto_rh_season` | — | Robinhood Chain movers, rug-screened, with per-token risk flags | $0.001 |
|
|
75
|
+
| `otto_equity_intel` | `ticker` | SEC fundamentals for a US ticker: revenue and net-income trend, margins, EPS, leverage, recent 10-K / 10-Q / 8-K filings, and a short summary | $0.003 |
|
|
76
|
+
| `otto_insider_trades` | `ticker` | Parsed SEC Form 4 insider transactions: purchases vs sales, dollar values, roles, net balance | $0.003 |
|
|
77
|
+
| `otto_institutional_holdings` | `manager` (CIK or ticker, e.g. `1067983` or `BLK`) | The latest 13F-HR top positions for an institutional manager, amendments applied | $0.003 |
|
|
78
|
+
| `otto_equity_smart_money` | `ticker` | Form 4 insider activity plus trailing-twelve-month XBRL fundamentals in one bundle | $0.006 |
|
|
79
|
+
| `otto_equity_smart_money_brief` | `ticker` | One AI-written brief over Form 4 flow, 13D/13G ownership events and fundamentals | $0.10 |
|
|
80
|
+
| `otto_base_season` | — | Quality-screened Base tokens with current social and trusted-KOL context | $0.002 |
|
|
81
|
+
| `otto_pm_markets` | — | The highest-volume open Polymarket markets: outcome probabilities, bid/ask, liquidity, volume, end dates | $0.001 |
|
|
82
|
+
| `otto_pm_crypto` | — | The same for BTC, ETH and crypto Polymarket markets | $0.001 |
|
|
63
83
|
|
|
64
|
-
|
|
84
|
+
All of these return data and context, not recommendations.
|
|
65
85
|
|
|
66
|
-
|
|
86
|
+
### Execution constructors — hosted, free
|
|
67
87
|
|
|
68
|
-
|
|
88
|
+
A constructor builds the transaction; **your wallet signs and sends it.** Give it the address that will sign, and it returns an *envelope*: the ordered steps (for example allowance reset → approval → swap), every check it ran on its own output, a `valid_until`, and a digest so a stale or altered plan is detectable. Otto Intel MCP itself never signs or submits.
|
|
69
89
|
|
|
70
|
-
|
|
90
|
+
| Tool | Builds | For |
|
|
91
|
+
| --- | --- | --- |
|
|
92
|
+
| `otto_prepare_swap` | A same-chain ERC-20 swap via LI.FI, as ready-to-sign steps | Your EOA or Safe on any supported EVM chain |
|
|
93
|
+
| `otto_prepare_bridge` | A cross-chain native-USDC bridge over Circle CCTP (Ethereum, Polygon, Base, Arbitrum, Avalanche) | Your EOA or Safe |
|
|
94
|
+
| `otto_prepare_polymarket_order` | A Polymarket CTF Exchange V2 limit order as typed data, tick and size validated against the live market | Your Polygon EOA |
|
|
95
|
+
| `otto_prepare_perp_order` | A Hyperliquid perp limit order (optional take-profit / stop-loss), as the L1 action plus the exact EIP-712 recipe to sign | Your Hyperliquid account |
|
|
71
96
|
|
|
72
|
-
|
|
73
|
-
|
|
97
|
+
To verify, sign and submit an envelope from the command line or from code, use the companion `otto-execute` (CLI + library, in the same repository; npm release following this one) — see the [execution seam docs](https://docs.useotto.xyz/acp-swarm/execution-seam).
|
|
98
|
+
|
|
99
|
+
### Always free
|
|
100
|
+
|
|
101
|
+
- `otto_catalog` — the complete live Otto x402 menu (paths, descriptions, prices, payment details).
|
|
102
|
+
- `otto_x_recipes` — Otto X's X Layer recipe menu with each recipe's payment requirement.
|
|
103
|
+
- `otto_delegation_fence_status` — whether the delegated-send fence is installed on this server (read-only).
|
|
104
|
+
|
|
105
|
+
The other four `otto_delegation_*` / `otto_submit_under_delegation` tools are server-to-server (they need Otto's delegation header); an agent reaches that path through `otto-execute delegate`, documented on the execution-seam page.
|
|
106
|
+
|
|
107
|
+
## How paying works
|
|
108
|
+
|
|
109
|
+
Calls are priced per tool ($0.001–$0.10) and paid in USDC on Base through x402. On the hosted server the first successful intelligence call from your network address (IP) is free; every call after that needs a payment:
|
|
110
|
+
|
|
111
|
+
1. Call the tool without `x_payment` → it returns `payment_required` (below) with the price and the exact requirement.
|
|
112
|
+
2. Sign it with an x402 client from a wallet holding USDC on Base. With `@x402/core` + `@x402/evm` + `viem`:
|
|
113
|
+
|
|
114
|
+
```ts
|
|
115
|
+
import { x402Client } from '@x402/core/client';
|
|
116
|
+
import { encodePaymentSignatureHeader } from '@x402/core/http';
|
|
117
|
+
import { ExactEvmScheme } from '@x402/evm/exact/client';
|
|
118
|
+
import { toClientEvmSigner } from '@x402/evm';
|
|
119
|
+
import { createPublicClient, http } from 'viem';
|
|
120
|
+
import { privateKeyToAccount } from 'viem/accounts';
|
|
121
|
+
import { base } from 'viem/chains';
|
|
122
|
+
|
|
123
|
+
const account = privateKeyToAccount(process.env.X402_PRIVATE_KEY as `0x${string}`);
|
|
124
|
+
const signer = toClientEvmSigner(account, createPublicClient({ chain: base, transport: http() }));
|
|
125
|
+
const client = new x402Client((_version, requirements) => requirements[0]); // pick accepts[0]
|
|
126
|
+
client.register('eip155:*', new ExactEvmScheme(signer));
|
|
127
|
+
|
|
128
|
+
const payload = await client.createPaymentPayload(result.payment_required); // the 402 body
|
|
129
|
+
const x_payment = encodePaymentSignatureHeader(payload); // base64 — the PAYMENT-SIGNATURE header value
|
|
74
130
|
```
|
|
75
131
|
|
|
76
|
-
|
|
132
|
+
3. Retry the same tool with that string in `x_payment`. The paid result carries the settlement receipt in its metadata under `com.ottoai/payment-response` — keep it; it is the proof a later rating or refund claim is made against.
|
|
77
133
|
|
|
78
|
-
|
|
134
|
+
If a route has no result for your input, it answers promptly and the free call is not consumed. If a paid delivery is interrupted, retry the same input with the same `x_payment`: the settled response is replayed without a second charge, or the attempt completes if it was never charged.
|
|
79
135
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
136
|
+
`payment_required` is the standard x402 v2 body (`accepts[0]` is the requirement to sign; `payment.requirement` is the same one, flattened for reading; `payment_required_header` is it base64-encoded for clients that consume the header form). Each requirement is valid for 300 seconds. If your MCP client has no x402 wallet of its own, the local server is the simplest route: it signs every payment from `X402_PRIVATE_KEY` automatically, with no free call.
|
|
137
|
+
|
|
138
|
+
## For agents: exact shapes
|
|
139
|
+
|
|
140
|
+
Intelligence tools take their one argument plus an optional `x_payment` string. Example, first call:
|
|
141
|
+
|
|
142
|
+
```json
|
|
143
|
+
{ "name": "otto_equity_intel", "arguments": { "ticker": "NVDA" } }
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
A successful result is one text part containing JSON — `otto_pm_crypto` returns, abbreviated:
|
|
147
|
+
|
|
148
|
+
```json
|
|
149
|
+
{
|
|
150
|
+
"status": "success",
|
|
151
|
+
"data": {
|
|
152
|
+
"venue": "polymarket",
|
|
153
|
+
"markets": [
|
|
154
|
+
{
|
|
155
|
+
"question": "Will the price of Bitcoin be above $70,000 on September 2?",
|
|
156
|
+
"outcomes": [{ "outcome": "Yes", "probability": 0.999 }, { "outcome": "No", "probability": 0.001 }],
|
|
157
|
+
"bestBid": 0.998, "bestAsk": 1, "liquidityUsd": 14749.24, "volume24hUsd": 103765.46,
|
|
158
|
+
"endDate": "2026-09-02T16:00:00Z", "url": "https://polymarket.com/event/bitcoin-above-on-september-2-2026"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
An unpaid call after the free one returns `isError: true` with this payload (abbreviated) — sign it with an x402 client and retry with the encoded payload in `x_payment`:
|
|
166
|
+
|
|
167
|
+
```json
|
|
168
|
+
{
|
|
169
|
+
"error": "payment_required",
|
|
170
|
+
"status": 402,
|
|
171
|
+
"protocol": "x402",
|
|
172
|
+
"tool": "otto_pm_crypto",
|
|
173
|
+
"price_usdc": "0.001",
|
|
174
|
+
"payment": {
|
|
175
|
+
"network": "eip155:8453",
|
|
176
|
+
"asset": "USDC",
|
|
177
|
+
"amount_atomic": "1000",
|
|
178
|
+
"requirement": {
|
|
179
|
+
"scheme": "exact",
|
|
180
|
+
"network": "eip155:8453",
|
|
181
|
+
"amount": "1000",
|
|
182
|
+
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
183
|
+
"payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
|
|
184
|
+
"maxTimeoutSeconds": 300,
|
|
185
|
+
"extra": { "name": "USD Coin", "version": "2" }
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"payment_required": { "x402Version": 2, "accepts": ["…the same requirement, x402 v2 shape…"] },
|
|
189
|
+
"payment_required_header": "<base64 of payment_required>",
|
|
190
|
+
"retry": { "tool": "otto_pm_crypto", "argument": "x_payment", "forwarding_header": "PAYMENT-SIGNATURE" }
|
|
191
|
+
}
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Constructor arguments (addresses are `0x` + 40 hex; swap and bridge amounts are strings in atomic token units; Polymarket price/size and Hyperliquid size/price are plain decimal strings):
|
|
195
|
+
|
|
196
|
+
```json
|
|
197
|
+
{
|
|
198
|
+
"name": "otto_prepare_swap",
|
|
199
|
+
"arguments": {
|
|
200
|
+
"accountProfile": { "kind": "eoa", "address": "0xYourAddress", "chainId": 8453 },
|
|
201
|
+
"chainId": 8453,
|
|
202
|
+
"fromToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
203
|
+
"toToken": "0x4200000000000000000000000000000000000006",
|
|
204
|
+
"fromAmount": "1000000",
|
|
205
|
+
"slippage": { "maxBps": 50, "minAmountOut": "400000000000000" },
|
|
206
|
+
"client_ref": "my-trade-1"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
84
209
|
```
|
|
85
210
|
|
|
86
|
-
|
|
211
|
+
- `otto_prepare_bridge`: `accountProfile`, `fromChainId`, `toChainId`, `fromToken`, `toToken` (native USDC on each side), `fromAmount`, `slippage`, optional `destinationRecipient` (required for a Safe).
|
|
212
|
+
- `otto_prepare_polymarket_order`: `accountProfile` (chainId 137), `tokenId` (the outcome token, not the condition id), `side` `BUY|SELL`, `price` (e.g. `"0.045"`, on the market's tick), `size` (shares).
|
|
213
|
+
- `otto_prepare_perp_order`: `accountProfile` (chainId 1337), `asset` (e.g. `"BTC"`), `side`, `size`, `limitPrice`, optional `timeInForce` `Gtc|Ioc|Alo`, `reduceOnly`, `takeProfitPrice`, `stopLossPrice`, `tradingSigner`, `vaultAddress`.
|
|
87
214
|
|
|
88
|
-
|
|
215
|
+
Every tool's full description and JSON schema comes back from `tools/list`.
|
|
89
216
|
|
|
90
|
-
|
|
217
|
+
## Using this package as a library
|
|
91
218
|
|
|
92
|
-
|
|
219
|
+
Three import paths, for code that consumes what the constructors produce (there is no root import — use the subpaths):
|
|
93
220
|
|
|
94
|
-
|
|
221
|
+
- `otto-intel-mcp/execution` — the envelope schema and types, the digest and freshness assertions, the fee and delegation constants.
|
|
222
|
+
- `otto-intel-mcp/adapter` — verify an envelope against your own intent and sign or submit it with an EOA.
|
|
223
|
+
- `otto-intel-mcp/adapter-cdp` — the same over a Coinbase CDP delegation (`@coinbase/cdp-sdk` is an optional dependency, loaded only here).
|
|
95
224
|
|
|
96
|
-
|
|
225
|
+
Field-by-field documentation: https://docs.useotto.xyz/acp-swarm/execution-seam.
|
|
97
226
|
|
|
98
|
-
|
|
227
|
+
## Links
|
|
99
228
|
|
|
100
|
-
|
|
229
|
+
- Docs: https://docs.useotto.xyz/acp-swarm/otto-intel-mcp · execution seam: https://docs.useotto.xyz/acp-swarm/execution-seam
|
|
230
|
+
- The full Otto x402 catalog: https://x402.ottoai.services
|
|
231
|
+
- Otto AI: https://useotto.xyz · X: [@useOttoAI](https://x.com/useOttoAI)
|
|
232
|
+
- Changelog: 0.1.1 — README rewritten for first-time users and agents, source maps removed from the package, publish gated by a privacy audit; 0.1.0 — first release (hosted + local server, execution constructors, library entries).
|
|
101
233
|
|
|
102
|
-
|
|
234
|
+
Running the hosted server yourself, or building from the monorepo: see `SETUP.md` in the repository.
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* snapshot (same description, same rules digest); any change → refused, nothing written. `@coinbase/cdp-sdk`
|
|
28
28
|
* 1.54.0 offers no conditional update (`UpdatePolicyOptions` = { id, policy, idempotencyKey } — no revision,
|
|
29
29
|
* no ETag), so the window between that re-read and the write cannot be closed by code. It is closed by the
|
|
30
|
-
* OPERATIONAL PREMISE, stated here, in the tool description and in
|
|
30
|
+
* OPERATIONAL PREMISE, stated here, in the tool description and in SETUP.md: AT MOST ONE ENSURE WRITES
|
|
31
31
|
* PROJECT-WIDE AT A TIME, ACROSS VERSIONS — the ensure is an OPS action run by one operator, never during a
|
|
32
32
|
* rolling deploy (two versions of this tool running at once are two writers, and the older one would win a
|
|
33
33
|
* race and downgrade); the dApp never invokes it (PR-2's mint gate reads `fence.present` from
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* snapshot (same description, same rules digest); any change → refused, nothing written. `@coinbase/cdp-sdk`
|
|
28
28
|
* 1.54.0 offers no conditional update (`UpdatePolicyOptions` = { id, policy, idempotencyKey } — no revision,
|
|
29
29
|
* no ETag), so the window between that re-read and the write cannot be closed by code. It is closed by the
|
|
30
|
-
* OPERATIONAL PREMISE, stated here, in the tool description and in
|
|
30
|
+
* OPERATIONAL PREMISE, stated here, in the tool description and in SETUP.md: AT MOST ONE ENSURE WRITES
|
|
31
31
|
* PROJECT-WIDE AT A TIME, ACROSS VERSIONS — the ensure is an OPS action run by one operator, never during a
|
|
32
32
|
* rolling deploy (two versions of this tool running at once are two writers, and the older one would win a
|
|
33
33
|
* race and downgrade); the dApp never invokes it (PR-2's mint gate reads `fence.present` from
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
* per-artifact idempotency record (sent → replayed, halted → never retried), then one delegated
|
|
13
13
|
* plan at a time per end user (the rig lock serialises revocation, not sends);
|
|
14
14
|
* 2. FENCE: the project policy is present, named and digests to v1 — else refuse;
|
|
15
|
-
* 3. GRANT: the user's delegation reads back active past the envelope's own expiry — else refuse;
|
|
15
|
+
* 3. GRANT: the user's delegation reads back active past the envelope's own expiry — else refuse; and
|
|
16
|
+
* its REMAINING validity is inside the ruled maximum (see below) — else refuse;
|
|
16
17
|
* 4. ACCOUNT: the address the caller prepared for is one of THIS end user's CDP accounts, as CDP reports
|
|
17
18
|
* them — never an address the caller binds on its own (a Dynamic-connected address is never a CDP
|
|
18
19
|
* end-user address by construction);
|
|
@@ -21,6 +22,13 @@
|
|
|
21
22
|
* 6. SEND: `CdpDelegatedSigner.sendPlan` — sealed receipts, halt clears the allowance, fail-closed once
|
|
22
23
|
* revocation was requested.
|
|
23
24
|
*
|
|
25
|
+
* 🔴 WHY THE EXPIRY BOUND LIVES HERE AND NOT ON THE MINT PATH. The mint is browser→Coinbase direct —
|
|
26
|
+
* `createDelegation({ expiresAt })` runs inside the end user's own session and Otto's server is not a hop
|
|
27
|
+
* on it. The 90/180-day bound the page and the CLI apply is therefore UX, not a control: a modified
|
|
28
|
+
* client, a hostile clock, or any other caller of Coinbase's API can mint whatever expiry COINBASE
|
|
29
|
+
* accepts, which is far more than 180 days. Otto is in the path at exactly one moment — when it goes to
|
|
30
|
+
* USE the grant — so that is where the ceiling is enforced, on the grant Otto reads back from CDP (step 3b).
|
|
31
|
+
*
|
|
24
32
|
* Nothing here logs the header, the secret, or a credential. Refusals are machine-readable codes; upstream
|
|
25
33
|
* error bodies are never relayed.
|
|
26
34
|
*/
|
|
@@ -34,6 +42,14 @@ import type { ExecutionToolRuntime } from './execution-tools.js';
|
|
|
34
42
|
export declare const DELEGATION_ENV_NAMES: readonly ["CDP_API_KEY_ID", "CDP_API_KEY_SECRET", "CDP_WALLET_SECRET", "OTTO_DELEGATION_SERVER_SECRET", "BASE_RPC_URL"];
|
|
35
43
|
/** The public CDP project id the fence-status tool publishes (a UUID; PUBLIC, never a secret). */
|
|
36
44
|
export declare const PUBLIC_PROJECT_ID_ENV_NAME: "OTTO_CDP_PROJECT_ID";
|
|
45
|
+
/**
|
|
46
|
+
* Clock skew allowed between Coinbase's issuer and this process when bounding a grant's remaining
|
|
47
|
+
* validity. Small on purpose: it is ADDED to the ceiling, so a generous value would widen the very bound
|
|
48
|
+
* it exists to make workable.
|
|
49
|
+
*/
|
|
50
|
+
export declare const DELEGATION_EXPIRY_SKEW_MS: number;
|
|
51
|
+
/** The ruled ceiling on how much longer a delegation may still be able to sign. See step 3b. */
|
|
52
|
+
export declare const DELEGATION_MAX_REMAINING_MS: number;
|
|
37
53
|
export interface DelegationEnv {
|
|
38
54
|
readonly credentials: CdpDeveloperCredentials;
|
|
39
55
|
readonly serverSecret: string;
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
* per-artifact idempotency record (sent → replayed, halted → never retried), then one delegated
|
|
13
13
|
* plan at a time per end user (the rig lock serialises revocation, not sends);
|
|
14
14
|
* 2. FENCE: the project policy is present, named and digests to v1 — else refuse;
|
|
15
|
-
* 3. GRANT: the user's delegation reads back active past the envelope's own expiry — else refuse;
|
|
15
|
+
* 3. GRANT: the user's delegation reads back active past the envelope's own expiry — else refuse; and
|
|
16
|
+
* its REMAINING validity is inside the ruled maximum (see below) — else refuse;
|
|
16
17
|
* 4. ACCOUNT: the address the caller prepared for is one of THIS end user's CDP accounts, as CDP reports
|
|
17
18
|
* them — never an address the caller binds on its own (a Dynamic-connected address is never a CDP
|
|
18
19
|
* end-user address by construction);
|
|
@@ -21,6 +22,13 @@
|
|
|
21
22
|
* 6. SEND: `CdpDelegatedSigner.sendPlan` — sealed receipts, halt clears the allowance, fail-closed once
|
|
22
23
|
* revocation was requested.
|
|
23
24
|
*
|
|
25
|
+
* 🔴 WHY THE EXPIRY BOUND LIVES HERE AND NOT ON THE MINT PATH. The mint is browser→Coinbase direct —
|
|
26
|
+
* `createDelegation({ expiresAt })` runs inside the end user's own session and Otto's server is not a hop
|
|
27
|
+
* on it. The 90/180-day bound the page and the CLI apply is therefore UX, not a control: a modified
|
|
28
|
+
* client, a hostile clock, or any other caller of Coinbase's API can mint whatever expiry COINBASE
|
|
29
|
+
* accepts, which is far more than 180 days. Otto is in the path at exactly one moment — when it goes to
|
|
30
|
+
* USE the grant — so that is where the ceiling is enforced, on the grant Otto reads back from CDP (step 3b).
|
|
31
|
+
*
|
|
24
32
|
* Nothing here logs the header, the secret, or a credential. Refusals are machine-readable codes; upstream
|
|
25
33
|
* error bodies are never relayed.
|
|
26
34
|
*/
|
|
@@ -30,7 +38,7 @@ import { CDP_CAPABILITIES, CdpDelegatedSigner, DelegatedPlanHaltedError, createC
|
|
|
30
38
|
import { isAdapterRefusal } from './adapter/refusal.js';
|
|
31
39
|
import { defaultAdapterPolicy, verifySwapEnvelope } from './adapter/verify.js';
|
|
32
40
|
import { DELEGATION_AUTH_HEADER, SUBMIT_UNDER_DELEGATION_INPUT_SCHEMA, } from './execution-delegated-definition.js';
|
|
33
|
-
import { assertWithinModelBFence, MODEL_B_CHAIN_ID, MODEL_B_PER_SWAP_CAP_USD, MODEL_B_POLICY_NAME_V1, readBackModelBFence, } from './execution-delegation-policy.js';
|
|
41
|
+
import { assertWithinModelBFence, MODEL_B_CHAIN_ID, MODEL_B_DELEGATION_EXPIRY_MAX_DAYS, MODEL_B_PER_SWAP_CAP_USD, MODEL_B_POLICY_NAME_V1, readBackModelBFence, } from './execution-delegation-policy.js';
|
|
34
42
|
import { EXECUTION_REFUSAL_CODES, ExecutionRefusal, isExecutionRefusal, refuse, } from './execution-errors.js';
|
|
35
43
|
import { artifactCommitmentDigest, canonicalJson, } from './execution-types.js';
|
|
36
44
|
import { DELEGATED_SUBMISSION_GRACE_MS, preparedHere } from './prepared-artifacts.js';
|
|
@@ -52,6 +60,14 @@ export const DELEGATION_ENV_NAMES = Object.freeze([
|
|
|
52
60
|
export const PUBLIC_PROJECT_ID_ENV_NAME = 'OTTO_CDP_PROJECT_ID';
|
|
53
61
|
const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
54
62
|
const MIN_SERVER_SECRET_LENGTH = 32;
|
|
63
|
+
/**
|
|
64
|
+
* Clock skew allowed between Coinbase's issuer and this process when bounding a grant's remaining
|
|
65
|
+
* validity. Small on purpose: it is ADDED to the ceiling, so a generous value would widen the very bound
|
|
66
|
+
* it exists to make workable.
|
|
67
|
+
*/
|
|
68
|
+
export const DELEGATION_EXPIRY_SKEW_MS = 5 * 60_000;
|
|
69
|
+
/** The ruled ceiling on how much longer a delegation may still be able to sign. See step 3b. */
|
|
70
|
+
export const DELEGATION_MAX_REMAINING_MS = MODEL_B_DELEGATION_EXPIRY_MAX_DAYS * 86_400_000 + DELEGATION_EXPIRY_SKEW_MS;
|
|
55
71
|
/**
|
|
56
72
|
* All five absent → the delegated tool does not exist (same shape as the OTTO_EXECUTION_MCP_ENABLED
|
|
57
73
|
* switch). Any present but not all → boot refuses, naming the MISSING variables (never a value).
|
|
@@ -425,6 +441,33 @@ export async function submitUnderDelegation(runtime, rawInput, caller, _signal)
|
|
|
425
441
|
expiresAtMs <= validUntilMs) {
|
|
426
442
|
return refuse('DELEGATION_NOT_ACTIVE', `the delegation expires at ${grant.expiresAt}, not after the envelope's valid_until ${input.envelope.valid_until}; renew the delegation or prepare again`);
|
|
427
443
|
}
|
|
444
|
+
/**
|
|
445
|
+
* 3b. THE EXPIRY BOUND, ENFORCED WHERE OTTO IS ACTUALLY IN THE PATH.
|
|
446
|
+
*
|
|
447
|
+
* 🔴 The mint is browser→Coinbase direct: `createDelegation({ expiresAt })` runs in the user's own
|
|
448
|
+
* session and Otto's server is not a hop on it. So the 90/180-day bound the page applies is UX — a
|
|
449
|
+
* modified client, a hostile clock, or the agent CLI can mint any expiry Coinbase itself accepts, and
|
|
450
|
+
* Coinbase accepts far more than 180 days (a year-2099 expiry was accepted in the gate probe). The
|
|
451
|
+
* bound is therefore enforceable at exactly one place: HERE, at use, on a grant Otto reads back from
|
|
452
|
+
* CDP before it exercises any authority.
|
|
453
|
+
*
|
|
454
|
+
* The check is on REMAINING validity, not on the grant's total length: what bounds the exposure is how
|
|
455
|
+
* much longer this key can sign, and a grant minted long ago is already spending down its own window.
|
|
456
|
+
* The skew allowance covers clock drift between Coinbase's issuer and this process only — it is small
|
|
457
|
+
* on purpose, because it is added to the ceiling.
|
|
458
|
+
*/
|
|
459
|
+
/**
|
|
460
|
+
* 🔴 GATE r2 LOW 1 — the CAPTURED clock, not `Date.now()`.
|
|
461
|
+
*
|
|
462
|
+
* Every other time-dependent step in this call reads `nowMs`, taken once from `runtime.nowMs()` at
|
|
463
|
+
* entry. This check read the wall clock directly, so under an injected clock it measured a different
|
|
464
|
+
* "now" than the submission it belongs to: codex's probe drove a 197-day grant past the bound and
|
|
465
|
+
* landed on `DELEGATION_USER_UNKNOWN` (step 4) instead of being refused here. One call, one clock.
|
|
466
|
+
*/
|
|
467
|
+
const remainingMs = expiresAtMs - nowMs;
|
|
468
|
+
if (remainingMs > DELEGATION_MAX_REMAINING_MS) {
|
|
469
|
+
return refuse('DELEGATION_EXPIRY_EXCEEDS_BOUND', `the delegation still has ${Math.floor(remainingMs / 86_400_000)} days to run, past the ${MODEL_B_DELEGATION_EXPIRY_MAX_DAYS}-day maximum; revoke it and mint a new one`);
|
|
470
|
+
}
|
|
428
471
|
// 4. ACCOUNT: the caller's prepared address must be one of THIS end user's accounts as CDP reports them.
|
|
429
472
|
const record = await services.rig.readEndUser(input.userId);
|
|
430
473
|
if (!record)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const EXECUTION_REFUSAL_CODES: readonly ["ATTRIBUTION_MISSING", "LIFI_FEE_CAP_EXCEEDED", "ACCOUNT_BINDING_MISMATCH", "DIGEST_MISMATCH", "ARTIFACT_INVALID", "STALE_ARTIFACT", "EXECUTION_RATE_LIMITED", "EXECUTION_CONCURRENCY_FULL", "UNSUPPORTED_ACCOUNT_PROFILE", "LIFI_QUOTE_FAILED", "LIFI_QUOTE_INVALID", "UNSUPPORTED_LIFI_ROUTE", "POLYMARKET_METADATA_FAILED", "POLYMARKET_METADATA_INVALID", "UNSUPPORTED_POLYMARKET_MARKET", "POLYMARKET_ORDER_INVALID", "POLYMARKET_BUILDER_FEE_UNRULED", "HYPERLIQUID_META_FAILED", "HYPERLIQUID_META_INVALID", "UNSUPPORTED_HYPERLIQUID_MARKET", "HYPERLIQUID_ORDER_INVALID", "DELEGATION_UNAVAILABLE", "DELEGATION_UNAUTHORIZED", "DELEGATION_INPUT_INVALID", "DELEGATION_BUSY", "DELEGATION_ARTIFACT_IN_FLIGHT", "ARTIFACT_NOT_PREPARED_HERE", "PREPARED_ARTIFACT_CAPACITY", "ARTIFACT_ID_COLLISION", "DELEGATION_REPLAY_MISMATCH", "DELEGATION_FENCE_ABSENT", "DELEGATION_FENCE_FOREIGN", "DELEGATION_FENCE_AMBIGUOUS", "DELEGATION_FENCE_NEWER", "DELEGATION_TOKEN_INVALID", "DELEGATION_REVOKE_NOT_CONFIRMED", "DELEGATION_NOT_ACTIVE", "DELEGATION_USER_UNKNOWN", "DELEGATION_OUTSIDE_FENCE", "DELEGATED_PLAN_REFUSED", "DELEGATED_PLAN_HALTED", "DELEGATION_UPSTREAM_FAILED"];
|
|
1
|
+
export declare const EXECUTION_REFUSAL_CODES: readonly ["ATTRIBUTION_MISSING", "LIFI_FEE_CAP_EXCEEDED", "ACCOUNT_BINDING_MISMATCH", "DIGEST_MISMATCH", "ARTIFACT_INVALID", "STALE_ARTIFACT", "EXECUTION_RATE_LIMITED", "EXECUTION_CONCURRENCY_FULL", "UNSUPPORTED_ACCOUNT_PROFILE", "LIFI_QUOTE_FAILED", "LIFI_QUOTE_INVALID", "UNSUPPORTED_LIFI_ROUTE", "POLYMARKET_METADATA_FAILED", "POLYMARKET_METADATA_INVALID", "UNSUPPORTED_POLYMARKET_MARKET", "POLYMARKET_ORDER_INVALID", "POLYMARKET_BUILDER_FEE_UNRULED", "HYPERLIQUID_META_FAILED", "HYPERLIQUID_META_INVALID", "UNSUPPORTED_HYPERLIQUID_MARKET", "HYPERLIQUID_ORDER_INVALID", "DELEGATION_UNAVAILABLE", "DELEGATION_UNAUTHORIZED", "DELEGATION_INPUT_INVALID", "DELEGATION_BUSY", "DELEGATION_ARTIFACT_IN_FLIGHT", "ARTIFACT_NOT_PREPARED_HERE", "PREPARED_ARTIFACT_CAPACITY", "ARTIFACT_ID_COLLISION", "DELEGATION_REPLAY_MISMATCH", "DELEGATION_FENCE_ABSENT", "DELEGATION_FENCE_FOREIGN", "DELEGATION_FENCE_AMBIGUOUS", "DELEGATION_FENCE_NEWER", "DELEGATION_TOKEN_INVALID", "DELEGATION_REVOKE_NOT_CONFIRMED", "DELEGATION_NOT_ACTIVE", "DELEGATION_EXPIRY_EXCEEDS_BOUND", "DELEGATION_USER_UNKNOWN", "DELEGATION_OUTSIDE_FENCE", "DELEGATED_PLAN_REFUSED", "DELEGATED_PLAN_HALTED", "DELEGATION_UPSTREAM_FAILED"];
|
|
2
2
|
export type ExecutionRefusalCode = (typeof EXECUTION_REFUSAL_CODES)[number];
|
|
3
3
|
/** A fail-closed, machine-readable refusal. No upstream response bodies or secrets are retained. */
|
|
4
4
|
export declare class ExecutionRefusal extends Error {
|
package/dist/execution-errors.js
CHANGED
|
@@ -99,6 +99,12 @@ export const EXECUTION_REFUSAL_CODES = [
|
|
|
99
99
|
'DELEGATION_REVOKE_NOT_CONFIRMED',
|
|
100
100
|
/** No active delegation for the end user, or it expires before the envelope does, or revocation was requested here. */
|
|
101
101
|
'DELEGATION_NOT_ACTIVE',
|
|
102
|
+
/**
|
|
103
|
+
* The grant's REMAINING validity is longer than the ruled maximum. The mint happens browser→Coinbase with
|
|
104
|
+
* no Otto hop, so a modified client or a skewed clock can mint any expiry Coinbase accepts; the bound is
|
|
105
|
+
* therefore enforceable only here, at use.
|
|
106
|
+
*/
|
|
107
|
+
'DELEGATION_EXPIRY_EXCEEDS_BOUND',
|
|
102
108
|
/** CDP reports no end user with this id. */
|
|
103
109
|
'DELEGATION_USER_UNKNOWN',
|
|
104
110
|
/** A verified plan the fence would refuse anyway: input token not allow-listed, spender not the reviewed diamond, gross over the per-swap cap. */
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "otto-intel-mcp",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Otto AI market intelligence + execution constructors over MCP — hosted at mcp.ottoai.services (first call free, then pay per call in USDC via x402) or local via `npx otto-intel-mcp`. Library entries: otto-intel-mcp/execution, /adapter, /adapter-cdp.",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"homepage": "https://docs.useotto.xyz/acp-swarm/otto-intel-mcp",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://docs.useotto.xyz/acp-swarm/otto-intel-mcp"
|
|
9
|
+
},
|
|
6
10
|
"bin": {
|
|
7
11
|
"otto-intel-mcp": "./dist/stdio-main.js"
|
|
8
12
|
},
|
|
@@ -61,7 +65,20 @@
|
|
|
61
65
|
"dist/execution-index.d.ts",
|
|
62
66
|
"dist/execution-intent.js",
|
|
63
67
|
"dist/execution-intent.d.ts",
|
|
64
|
-
"dist/adapter",
|
|
68
|
+
"dist/adapter/cdp-signer.js",
|
|
69
|
+
"dist/adapter/cdp-signer.d.ts",
|
|
70
|
+
"dist/adapter/chain.js",
|
|
71
|
+
"dist/adapter/chain.d.ts",
|
|
72
|
+
"dist/adapter/erc20.js",
|
|
73
|
+
"dist/adapter/erc20.d.ts",
|
|
74
|
+
"dist/adapter/lifi-decode.js",
|
|
75
|
+
"dist/adapter/lifi-decode.d.ts",
|
|
76
|
+
"dist/adapter/refusal.js",
|
|
77
|
+
"dist/adapter/refusal.d.ts",
|
|
78
|
+
"dist/adapter/sent-step.js",
|
|
79
|
+
"dist/adapter/sent-step.d.ts",
|
|
80
|
+
"dist/adapter/verify.js",
|
|
81
|
+
"dist/adapter/verify.d.ts",
|
|
65
82
|
"dist/adapter-index.js",
|
|
66
83
|
"dist/adapter-index.d.ts",
|
|
67
84
|
"dist/adapter-cdp-index.js",
|
|
@@ -92,21 +109,39 @@
|
|
|
92
109
|
"test": "node --import tsx --test \"test/**/*.test.ts\"",
|
|
93
110
|
"test:liveness": "node --import tsx --test --test-name-pattern=liveness test/execution-tools.test.ts test/execution-bridge.test.ts test/execution-polymarket.test.ts test/execution-hyperliquid.test.ts",
|
|
94
111
|
"test:mutation": "node --import tsx test/lifi-fee-mutation-proof.ts && node --import tsx test/lifi-bridge-mutation-proof.ts && node --import tsx test/polymarket-order-mutation-proof.ts && node --import tsx test/hyperliquid-order-mutation-proof.ts",
|
|
95
|
-
"verify": "npm run typecheck && npm
|
|
96
|
-
"prepublishOnly": "npm run verify"
|
|
112
|
+
"verify": "npm run typecheck && npm run build && npm test",
|
|
113
|
+
"prepublishOnly": "npm run verify && npm run pack:audit",
|
|
114
|
+
"pack:audit": "node scripts/pack-audit.mjs"
|
|
97
115
|
},
|
|
98
116
|
"engines": {
|
|
99
|
-
"node": "
|
|
117
|
+
"node": ">=22",
|
|
100
118
|
"npm": ">=10.0.0"
|
|
101
119
|
},
|
|
120
|
+
"devEngines": {
|
|
121
|
+
"runtime": {
|
|
122
|
+
"name": "node",
|
|
123
|
+
"version": "22.16.0",
|
|
124
|
+
"onFail": "warn"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
102
127
|
"keywords": [
|
|
103
128
|
"mcp",
|
|
129
|
+
"model-context-protocol",
|
|
104
130
|
"x402",
|
|
131
|
+
"usdc",
|
|
132
|
+
"base",
|
|
105
133
|
"market-intelligence",
|
|
106
|
-
"
|
|
107
|
-
"sec-edgar"
|
|
134
|
+
"tokenized-stocks",
|
|
135
|
+
"sec-edgar",
|
|
136
|
+
"polymarket",
|
|
137
|
+
"hyperliquid",
|
|
138
|
+
"lifi",
|
|
139
|
+
"swap",
|
|
140
|
+
"bridge",
|
|
141
|
+
"agent",
|
|
142
|
+
"otto"
|
|
108
143
|
],
|
|
109
|
-
"author": "
|
|
144
|
+
"author": "Otto AI",
|
|
110
145
|
"license": "MIT",
|
|
111
146
|
"publishConfig": {
|
|
112
147
|
"access": "public"
|
|
@@ -158,5 +193,5 @@
|
|
|
158
193
|
"optionalDependencies": {
|
|
159
194
|
"@coinbase/cdp-sdk": "1.54.0"
|
|
160
195
|
},
|
|
161
|
-
"publishGate": "
|
|
196
|
+
"publishGate": "0.1.0 published 2026-09-01; 0.1.1 = the privacy + readability pass. `prepublishOnly` = verify + scripts/pack-audit.mjs (packs the tarball and fails on any personal or secret content; never publish with --ignore-scripts). No source maps ship. Dependency note: @x402/axios + @x402/evm pinned 2.23.0 so the optional @coinbase/cdp-sdk peers resolve to one @x402/core without the root-only `overrides` (kept in lockstep for the Railway install). @x402/core >= 2.23.0 enables client spendControls by default ($1 per payment) — raise it before any tool price exceeds $1."
|
|
162
197
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cdp-signer.js","sourceRoot":"","sources":["../../src/adapter/cdp-signer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EACL,kBAAkB,EAClB,kBAAkB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.js","sourceRoot":"","sources":["../../src/adapter/refusal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,4EAA4E;IAC5E,gBAAgB;IAChB,uBAAuB;IACvB,iBAAiB;IACjB,gBAAgB;IAChB,0BAA0B;IAC1B,6BAA6B;IAC7B,oBAAoB;IACpB,gBAAgB;IAChB,uEAAuE;IACvE,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;IACpB,uBAAuB;IACvB,mBAAmB;IACnB,qEAAqE;IACrE,iBAAiB;IACjB,oBAAoB;IACpB,+EAA+E;IAC/E,qBAAqB;IACrB,sBAAsB;IACtB,kBAAkB;CACV,CAAC;AAIX,MAAM,OAAO,cAAe,SAAQ,KAAK;IAK5B;IAJX,sFAAsF;IAC7E,SAAS,CAAqB;IAEvC,YACW,IAAwB,EACjC,OAAe;QAEf,KAAK,CAAC,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC,CAAC;QAHrB,SAAI,GAAJ,IAAI,CAAoB;QAIjC,IAAI,CAAC,IAAI,GAAG,gBAAgB,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;IACxB,CAAC;CACF;AAED,MAAM,UAAU,MAAM,CAAC,IAAwB,EAAE,OAAe;IAC9D,MAAM,IAAI,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,KAAc;IAC7C,OAAO,KAAK,YAAY,cAAc,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,KAAa;IAChD,OAAQ,qBAA2C,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACtE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sent-step.js","sourceRoot":"","sources":["../../src/adapter/sent-step.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-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