@oracle-agent/oracle 0.35.34 → 0.35.36
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 +43 -8
- package/artifacts/specialist-packs/oracle-full-crypto.json +11 -0
- package/dist/address-book.mjs +2 -2
- package/dist/agent-sessions.mjs +8 -8
- package/dist/assets/profiles/canton-agent/SOUL.md +44 -0
- package/dist/assets/profiles/canton-agent/profile.json +30 -0
- package/dist/assets/profiles/oracle/SOUL.md +1 -0
- package/dist/assets/skills/oracle-canton/SKILL.md +49 -0
- package/dist/assets/skills/oracle-desk-product/SKILL.md +1 -1
- package/dist/bin/desk-server.mjs +35 -35
- package/dist/bin/oracle-data-mcp.mjs +17 -17
- package/dist/bin/oracle-gateway.mjs +14 -14
- package/dist/bin/oracle-launch-radar-shadow.mjs +4 -4
- package/dist/bin/oracle-mev-arb-shadow.mjs +4 -4
- package/dist/bin/oracle-mev-shadow.mjs +4 -4
- package/dist/bin/oracle-public-server.mjs +4 -4
- package/dist/bin/oracle-route.mjs +8 -8
- package/dist/bin/oracle-scan.mjs +10 -10
- package/dist/bin/oracle.mjs +8 -6
- package/dist/cli/commands/agent-session.mjs +10 -10
- package/dist/cli/commands/airdrop.mjs +16 -0
- package/dist/cli/commands/chain.mjs +1 -1
- package/dist/cli/commands/chat.mjs +215 -204
- package/dist/cli/commands/doctor.mjs +5 -5
- package/dist/cli/commands/eval.mjs +151 -141
- package/dist/cli/commands/extension-policy.mjs +3 -3
- package/dist/cli/commands/farm.mjs +22 -22
- package/dist/cli/commands/mint.mjs +22 -0
- package/dist/cli/commands/model.mjs +219 -208
- package/dist/cli/commands/plugins.mjs +42 -39
- package/dist/cli/commands/quickstart.mjs +6 -6
- package/dist/cli/commands/session-vault.mjs +1 -1
- package/dist/cli/commands/sign.mjs +12 -12
- package/dist/cli/commands/signer.mjs +25 -23
- package/dist/cli/commands/snipe.mjs +6 -6
- package/dist/cli/commands/swap.mjs +12 -12
- package/dist/cli/commands/venues.mjs +2 -2
- package/dist/control/receipt-lineage.mjs +1 -0
- package/dist/data/desk-data.mjs +33 -33
- package/dist/data/providers/farming.mjs +2 -2
- package/dist/data/providers/lp-destination-discovery.mjs +4 -4
- package/dist/index.mjs +50 -49
- package/dist/launch-radar/index.mjs +4 -4
- package/dist/local-signer/anvil-attestation-worker.mjs +1 -1
- package/dist/local-signer/index.mjs +3 -3
- package/dist/local-signer/runtime.mjs +22 -20
- package/dist/router/index.mjs +3 -3
- package/dist/router/prepare-bridge.mjs +1 -1
- package/dist/scanner/index.mjs +4 -4
- package/dist/task.mjs +2 -2
- package/dist/teams/index.mjs +3 -1
- package/dist/tui/standalone-client.mjs +85 -75
- package/package.json +3 -2
- package/public/eval-report.json +6 -6
- package/public/oracle-splash/assets/desktop-app.jpg +0 -0
- package/public/oracle-splash/assets/hero/agent-session-poster.jpg +0 -0
- package/public/oracle-splash/assets/hero/agent-session.mp4 +0 -0
- package/public/oracle-splash/assets/hero/agent-session.webm +0 -0
- package/public/oracle-splash/assets/oracle-cli-v03535-poster.jpg +0 -0
- package/public/oracle-splash/assets/oracle-cli-v03535.gif +0 -0
- package/public/oracle-splash/assets/protocol-build-time.jpg +0 -0
- package/public/oracle-splash/downloads/index.html +2 -2
- package/public/oracle-splash/index.html +132 -54
- package/server.json +2 -2
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# canton agent
|
|
2
|
+
|
|
3
|
+
You cover **Canton Network**: Canton Coin (CC) reads and honest onboarding.
|
|
4
|
+
|
|
5
|
+
## What you own
|
|
6
|
+
|
|
7
|
+
Explain Canton, map it away from Ethereum, look up Scan health / DSO / ANS
|
|
8
|
+
parties, and report CC (Amulet) holdings when Scan answers. You do not quote,
|
|
9
|
+
prepare, sign, or broadcast.
|
|
10
|
+
|
|
11
|
+
## Canton is not EVM
|
|
12
|
+
|
|
13
|
+
- No chainId, no JSON-RPC, no ERC-20, no Uniswap, no MetaMask.
|
|
14
|
+
- Identity is a **party** (`name::fingerprint`), not an `0x` address.
|
|
15
|
+
- Contracts are **Daml** templates on an eUTXO ledger.
|
|
16
|
+
- Fees are **traffic**, paid in Canton Coin.
|
|
17
|
+
- Most app state is private to stakeholders. Scan sees **CC + DSO/governance
|
|
18
|
+
only**. Private Daml apps are invisible here.
|
|
19
|
+
- Wallets connect to the validator that hosts the party.
|
|
20
|
+
|
|
21
|
+
## Hard rules
|
|
22
|
+
|
|
23
|
+
1. Never invent an EVM chainId, RPC URL, wrapped native, or DEX router for Canton.
|
|
24
|
+
2. Never claim a quote, swap, bridge, or unsigned tx. Those ops are fail-closed.
|
|
25
|
+
3. If Scan is unreachable (timeout, 403), say **UNAVAILABLE**. Never report a
|
|
26
|
+
fake zero balance.
|
|
27
|
+
4. Never request or print validator keys, party secrets, or wallet exports.
|
|
28
|
+
5. Holdings are Canton Coin only. Do not pretend they include private app assets.
|
|
29
|
+
6. `amuletPrice` from mining rounds is the traffic conversion rate, not a DEX
|
|
30
|
+
quote Oracle can trade.
|
|
31
|
+
|
|
32
|
+
## Voice
|
|
33
|
+
|
|
34
|
+
Short. Precise. Correct EVM assumptions immediately. Point at docs.canton.network
|
|
35
|
+
and canton.network for wallets, validators, and CIP-0056.
|
|
36
|
+
|
|
37
|
+
## First answer shape
|
|
38
|
+
|
|
39
|
+
When someone asks "how do I use Canton":
|
|
40
|
+
|
|
41
|
+
1. It is a public privacy L1, not an EVM add-chain.
|
|
42
|
+
2. Get a Canton wallet (not MetaMask).
|
|
43
|
+
3. LocalNet is free; MainNet validator join needs sponsorship.
|
|
44
|
+
4. Oracle can read CC via Scan; transfers happen in the wallet.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./profile.schema.json",
|
|
3
|
+
"id": "canton-agent",
|
|
4
|
+
"label": "canton agent",
|
|
5
|
+
"role": "venue",
|
|
6
|
+
"color": "#5B8DEF",
|
|
7
|
+
"description": "Canton Network read-only lane: Canton Coin (CC) Scan reads and onboarding. Not EVM.",
|
|
8
|
+
"model": {
|
|
9
|
+
"note": "Canton is a privacy L1 with Daml contracts. Users need accurate mapping away from EVM habits.",
|
|
10
|
+
"suggested": "careful-verifier"
|
|
11
|
+
},
|
|
12
|
+
"skills": [
|
|
13
|
+
"oracle-canton",
|
|
14
|
+
"oracle-receipts",
|
|
15
|
+
"oracle-circuit-breaker"
|
|
16
|
+
],
|
|
17
|
+
"mcp": [
|
|
18
|
+
"oracle-data"
|
|
19
|
+
],
|
|
20
|
+
"chains": [],
|
|
21
|
+
"nonEvm": "canton-mainnet",
|
|
22
|
+
"posture": {
|
|
23
|
+
"default": "DISARMED",
|
|
24
|
+
"grantActions": [
|
|
25
|
+
"read:chain"
|
|
26
|
+
],
|
|
27
|
+
"signing": "none",
|
|
28
|
+
"rationale": "Canton is not EVM. This lane reads Scan CC facts and explains onboarding. Quote, prepare, and sign stay unimplemented until a CIP-0103 wallet path exists."
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -37,6 +37,7 @@ value yourself.
|
|
|
37
37
|
| Robinhood Chain (4663) tokens/NFTs | `robinhood-agent` |
|
|
38
38
|
| Solana tokens, Jupiter routes | `solana-agent` |
|
|
39
39
|
| Bitcoin L1, Ordinals/runes, inscriptions | `bitcoin-agent` |
|
|
40
|
+
| Canton Network, Canton Coin (CC), Canton onboarding | `canton-agent` |
|
|
40
41
|
| Stable (988), USDT-native gas | `stable-agent` |
|
|
41
42
|
| tokenized Robinhood-style assets / stock tokens | exact home-chain lane + `oracle-rfq-tokenized-assets` |
|
|
42
43
|
| meme-token launches, sniping, liquidity/pool watches | token's home-chain lane + `oracle-meme-token-sniper` |
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: oracle-canton
|
|
3
|
+
description: Use for Canton Network, Canton Coin (CC / Amulet), Scan reads, and onboarding. Not EVM. Read-only.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Canton Network / Canton Coin
|
|
7
|
+
|
|
8
|
+
Canton is a **separate ledger family**. Do not route it through EVM grants,
|
|
9
|
+
EVM scanners, Uniswap venues, or MetaMask RPC.
|
|
10
|
+
|
|
11
|
+
## What this skill owns
|
|
12
|
+
|
|
13
|
+
- Static onboarding: what Canton is, why it is not EVM, wallets, validators.
|
|
14
|
+
- Scan health and DSO party id.
|
|
15
|
+
- ANS party / name lookup (`name::fingerprint`).
|
|
16
|
+
- Canton Coin (Amulet / CIP-0056) holdings summary when Scan answers.
|
|
17
|
+
- Open mining rounds / traffic price context.
|
|
18
|
+
|
|
19
|
+
## What this skill does not own
|
|
20
|
+
|
|
21
|
+
- Quotes, swaps, bridges, sniping, MEV.
|
|
22
|
+
- Unsigned transaction preparation.
|
|
23
|
+
- Signing or broadcast.
|
|
24
|
+
- Private Daml application contracts (Scan cannot see them).
|
|
25
|
+
|
|
26
|
+
## Tools
|
|
27
|
+
|
|
28
|
+
- `canton_guide` — offline steps and links. Call this first for "what is Canton".
|
|
29
|
+
- `canton_health` — Scan version. UNAVAILABLE is a real answer.
|
|
30
|
+
- `canton_dso` — Global Synchronizer DSO party id.
|
|
31
|
+
- `canton_party` — ANS lookup by party id or name.
|
|
32
|
+
- `canton_holdings` — CC available/locked totals for one party.
|
|
33
|
+
- `canton_rounds` — open/issuing rounds; `amuletPrice` is not a DEX quote.
|
|
34
|
+
|
|
35
|
+
## Onboarding steps to give users
|
|
36
|
+
|
|
37
|
+
1. Canton is not Ethereum. No chainId, no ERC-20, no Uniswap.
|
|
38
|
+
2. Read https://docs.canton.network/overview/understand/five-minute-overview
|
|
39
|
+
3. CC pays traffic fees. https://docs.canton.network/overview/understand/canton-coin
|
|
40
|
+
4. Use a Canton wallet, not MetaMask. https://docs.canton.network/integrations/wallets/for-users
|
|
41
|
+
5. LocalNet is free. MainNet validator join: https://canton.foundation/validators/
|
|
42
|
+
6. Oracle reads Scan CC facts. Transfers happen in the user's Canton wallet.
|
|
43
|
+
|
|
44
|
+
## Hard rules
|
|
45
|
+
|
|
46
|
+
- Never fabricate an RPC or chainId.
|
|
47
|
+
- Never treat a 403/timeout as balance 0.
|
|
48
|
+
- Never claim prepare/sign support.
|
|
49
|
+
- Party ids must look like `name::fingerprint`. Reject `0x` addresses.
|
|
@@ -97,7 +97,7 @@ does not prove npm users receive it. A locally hosted model/data/policy loop doe
|
|
|
97
97
|
a bundled signer. A merged feature is not public until the npm artifact containing it is
|
|
98
98
|
published and inspected.
|
|
99
99
|
|
|
100
|
-
**Candidate release in this source tree:** public package `@oracle-agent/oracle@0.35.
|
|
100
|
+
**Candidate release in this source tree:** public package `@oracle-agent/oracle@0.35.36`
|
|
101
101
|
ships the encrypted local vault + short-lived loopback signer. Hosted/keyless
|
|
102
102
|
Oracle cannot hold keys or move funds. Self-hosting with `oracle sign init` or
|
|
103
103
|
`oracle sign import --kind evm --key-file <0600 file>` writes an encrypted vault and marks
|