@oracle-agent/oracle 0.22.15 → 0.22.16
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/SETUP.md +30 -4
- package/artifacts/specialist-packs/oracle-full-crypto.json +3 -1
- package/dist/bin/desk-server.mjs +17 -17
- package/dist/bin/oracle-data-mcp.mjs +6 -6
- package/dist/bin/oracle-public-server.mjs +4 -4
- package/dist/bin/oracle-route.mjs +1 -1
- package/dist/bin/oracle.mjs +20 -9
- package/dist/cli/commands/arm.mjs +17 -0
- package/dist/cli/commands/chat.mjs +1 -1
- package/dist/cli/commands/doctor.mjs +6 -6
- package/dist/cli/commands/model.mjs +1 -1
- package/dist/cli/commands/revoke.mjs +40 -0
- package/dist/cli/commands/snipe.mjs +39 -0
- package/dist/cli/commands/swap.mjs +2 -2
- package/dist/cli/commands/vault.mjs +29 -0
- package/dist/data/desk-data.mjs +14 -14
- package/dist/index.mjs +20 -20
- package/dist/local-vault/index.mjs +6 -0
- package/dist/router/index.mjs +1 -1
- package/dist/router/prepare-bridge.mjs +1 -1
- package/package.json +3 -2
package/SETUP.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Oracle setup
|
|
2
2
|
|
|
3
|
-
Oracle's public CLI is a standalone
|
|
4
|
-
research, quote, simulate, and build unsigned artifacts.
|
|
5
|
-
|
|
3
|
+
Oracle's public CLI is a standalone multichain agent. By default it can read,
|
|
4
|
+
research, quote, simulate, and build unsigned artifacts. Anyone can also self-host
|
|
5
|
+
Oracle on their own machine, import their own key into an encrypted local vault,
|
|
6
|
+
arm capped policy, and sign locally. It does not need Hermes and Oracle's hosted
|
|
7
|
+
public HTTP plane never receives private keys or broadcasts transactions.
|
|
6
8
|
|
|
7
9
|
The owner-operated signer/executor is private infrastructure. It is not published
|
|
8
10
|
on npm and is not part of public onboarding.
|
|
@@ -12,7 +14,8 @@ on npm and is not part of public onboarding.
|
|
|
12
14
|
- Node.js `20.19.0` or newer
|
|
13
15
|
- npm
|
|
14
16
|
- A supported model login or API key for chat
|
|
15
|
-
- A user-controlled wallet
|
|
17
|
+
- A user-controlled wallet for manual signing, or an optional local encrypted
|
|
18
|
+
vault when self-hosting local execution
|
|
16
19
|
|
|
17
20
|
Linux, Windows, and macOS apps are in beta.
|
|
18
21
|
|
|
@@ -321,3 +324,26 @@ as a workaround.
|
|
|
321
324
|
- [Buzz integration](docs/buzz-integration.md)
|
|
322
325
|
- [Architecture](docs/architecture.md)
|
|
323
326
|
- [Security policy](SECURITY.md)
|
|
327
|
+
|
|
328
|
+
## Local self-custody vault
|
|
329
|
+
|
|
330
|
+
Anyone can host Oracle on their own machine and sign locally:
|
|
331
|
+
|
|
332
|
+
```bash
|
|
333
|
+
oracle vault import --key-file ./oracle-key.txt --pass-env ORACLE_LOCAL_VAULT_PASS
|
|
334
|
+
oracle vault unlock --pass-env ORACLE_LOCAL_VAULT_PASS
|
|
335
|
+
oracle arm --max 0.05 --chain base --ttl-min 30 --destination 0x2626664c2603336e57b271c5c0b26f421741e481 --spender 0x000000000022d473030f116ddee9f6b43ac78ba3 --selector 0x095ea7b3
|
|
336
|
+
oracle snipe 0x1111111111111111111111111111111111111111 --chain base --execute --pass-env ORACLE_LOCAL_VAULT_PASS
|
|
337
|
+
oracle revoke emergency --type nft --collection 0x3333333333333333333333333333333333333333 --operator 0x9999999999999999999999999999999999999999 --chain base
|
|
338
|
+
oracle arm --off
|
|
339
|
+
oracle vault lock
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Keys stay encrypted under `~/.config/oracle/keys/`. Unlock writes only non-secret
|
|
343
|
+
session metadata; signing decrypts from the passphrase-protected vault in the
|
|
344
|
+
local process. `oracle arm` stores local chain, destination, spender/operator,
|
|
345
|
+
selector, and spend caps; the signer checks them before any transaction is sent.
|
|
346
|
+
Emergency revoke/cancel can prepare same-nonce cancel transactions and approval
|
|
347
|
+
revokes, but it is a race tool, not a guarantee against mined atomic drains. The
|
|
348
|
+
public HTTP plane never receives key material. Default CLI remains prepare-only
|
|
349
|
+
until you unlock + arm.
|
|
@@ -244,7 +244,8 @@
|
|
|
244
244
|
"jupiter_quote",
|
|
245
245
|
"jupiter_prepare",
|
|
246
246
|
"bitcoin_inscribe_prepare",
|
|
247
|
-
"nft_prepare_list"
|
|
247
|
+
"nft_prepare_list",
|
|
248
|
+
"nft_trait_snipe"
|
|
248
249
|
],
|
|
249
250
|
"never_public_default": [
|
|
250
251
|
"evm_sign",
|
|
@@ -293,6 +294,7 @@
|
|
|
293
294
|
"multichain-nft-collection-launch",
|
|
294
295
|
"multichain-balance",
|
|
295
296
|
"nft-inventory-gallery-pnl",
|
|
297
|
+
"nft-trait-sniping",
|
|
296
298
|
"portfolio-balance-history-graph"
|
|
297
299
|
]
|
|
298
300
|
}
|