@oracle-agent/oracle 0.26.0 → 0.28.0

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.
Files changed (44) hide show
  1. package/README.md +2 -2
  2. package/SETUP.md +27 -1
  3. package/dist/assets/skills/oracle-desk-product/SKILL.md +1 -1
  4. package/dist/bin/desk-server.mjs +35 -79
  5. package/dist/bin/oracle-data-mcp.mjs +13 -57
  6. package/dist/bin/oracle-gateway.mjs +1 -1
  7. package/dist/bin/oracle-public-server.mjs +4 -48
  8. package/dist/bin/oracle-route.mjs +22 -66
  9. package/dist/bin/oracle-scan.mjs +15 -59
  10. package/dist/cli/commands/auth.mjs +3 -3
  11. package/dist/cli/commands/chat.mjs +154 -145
  12. package/dist/cli/commands/doctor.mjs +4 -4
  13. package/dist/cli/commands/eval.mjs +147 -190
  14. package/dist/cli/commands/farm.mjs +34 -78
  15. package/dist/cli/commands/follow.mjs +17 -61
  16. package/dist/cli/commands/harness.mjs +3 -3
  17. package/dist/cli/commands/init.mjs +2 -2
  18. package/dist/cli/commands/model.mjs +158 -150
  19. package/dist/cli/commands/receipt.mjs +3 -3
  20. package/dist/cli/commands/resolve.mjs +13 -57
  21. package/dist/cli/commands/setup.mjs +43 -39
  22. package/dist/cli/commands/sign.mjs +14 -14
  23. package/dist/cli/commands/signer.mjs +14 -14
  24. package/dist/cli/commands/strategy.mjs +5 -49
  25. package/dist/cli/commands/swap.mjs +27 -71
  26. package/dist/cli/commands/venues.mjs +3 -3
  27. package/dist/data/desk-data.mjs +33 -77
  28. package/dist/data/names.mjs +2 -46
  29. package/dist/data/providers/farming.mjs +2 -46
  30. package/dist/index.mjs +37 -81
  31. package/dist/local-signer/anvil-attestation-worker.mjs +2 -0
  32. package/dist/local-signer/index.mjs +3 -3
  33. package/dist/local-signer/runtime.mjs +13 -0
  34. package/dist/nft/universal-mint-router.mjs +3 -47
  35. package/dist/router/index.mjs +2 -46
  36. package/dist/router/prepare-bridge.mjs +2 -46
  37. package/dist/scanner/index.mjs +4 -48
  38. package/dist/strategy/index.mjs +3 -47
  39. package/package.json +2 -1
  40. package/public/install.sh +20 -0
  41. package/public/oracle-splash/_variants/ice.html +1 -1
  42. package/public/oracle-splash/_variants/ivory.html +1 -1
  43. package/public/oracle-splash/index.html +1 -1
  44. package/public/oracle-splash/install.sh +20 -0
package/README.md CHANGED
@@ -13,7 +13,7 @@ oracle doctor # verify local posture
13
13
 
14
14
  `oracle setup model` offers Anthropic, OpenAI Codex, and Grok OAuth plus secure
15
15
  API-key setup for OpenRouter, OpenAI, Anthropic, xAI, DeepSeek, Gemini, Kimi,
16
- Mistral, and custom OpenAI-compatible providers. `oracle auth status` reports
16
+ Mistral, Nous, and custom OpenAI-compatible providers. `oracle auth status` reports
17
17
  providers without printing credentials. Linux, Windows, and macOS apps are in beta.
18
18
 
19
19
  The CLI, source, and desktop beta are public to everyone. Locals Only holders
@@ -242,7 +242,7 @@ known answer. This matters: the canonical QuoterV2 address also has bytecode on
242
242
  Base, but does not price that chain's pairs. A codesize check would have
243
243
  allowlisted the wrong contract.
244
244
 
245
- **86 provider modules** in the read/quote catalog, covering **220 unique
245
+ **88 provider modules** in the read/quote catalog, covering **220 unique
246
246
  protocols/venues** across EVM, Solana, and Bitcoin (115 EVM + cross-chain, 98
247
247
  Solana venues backed by 101 verified Jupiter program IDs, 6 Bitcoin surfaces).
248
248
  One module can cover many protocols: the Jupiter module alone routes 98 Solana
package/SETUP.md CHANGED
@@ -73,6 +73,12 @@ oracle --version
73
73
  This installs into `~/.local/share/oracle` and puts `oracle` on `~/.local/bin`
74
74
  (no sudo, no global `npm -g`). Re-run the same command to upgrade.
75
75
 
76
+ On an interactive terminal the installer prints a small ASCII globe banner
77
+ while it works. When stdout isn't a TTY (piped through another script, CI,
78
+ `TERM=dumb`, or `NO_COLOR` set), it skips the globe and stays to plain
79
+ `oracle-install: ...` log lines instead. Set `ORACLE_INSTALL_PLAIN=1` to force
80
+ the plain form even on an interactive terminal.
81
+
76
82
  npm still works if you prefer:
77
83
 
78
84
  ```bash
@@ -108,7 +114,7 @@ model. Use `--no-browser` when the browser must be opened manually.
108
114
 
109
115
  ```bash
110
116
  oracle setup model openrouter
111
- # also supported: openai, anthropic, xai, deepseek, gemini, kimi, mistral, custom
117
+ # also supported: openai, anthropic, xai, deepseek, gemini, kimi, mistral, nous, custom
112
118
  ```
113
119
 
114
120
  Interactive API-key entry is hidden. Do not put a key directly in the command
@@ -135,6 +141,17 @@ available, with a private `0600` local fallback.
135
141
  oracle
136
142
  ```
137
143
 
144
+ On a fresh TTY, the first `oracle`/`oracle chat` run walks through, in order:
145
+
146
+ 1. Model setup (`oracle setup model`) if no provider is configured yet —
147
+ OAuth first (`claude`, `codex`, `grok`), then API-key providers.
148
+ 2. The onboarding splash: a welcome panel with the orb, Enter opens the
149
+ chain picker, arrow keys + Enter select a chain (Esc skips at either
150
+ screen), then a ready card. It shows once per install and is marked done
151
+ under `ORACLE_CONFIG_DIR`; `ORACLE_ONBOARDING=0` skips it, `oracle chat
152
+ --onboard` replays it.
153
+ 3. Chat itself.
154
+
138
155
  Useful first commands:
139
156
 
140
157
  ```bash
@@ -146,9 +163,18 @@ oracle doctor
146
163
 
147
164
  Inside chat:
148
165
 
166
+ - `/sessions`, `/new [title]`, `/1`–`/9`, `/resume [n]`, `/session rm <n>` —
167
+ manage numbered chat sessions.
149
168
  - `/chain` lists or selects the active chain.
150
169
  - `/model` changes the model without changing the Oracle persona.
151
170
  - `/setup` opens optional messaging setup.
171
+ - `/help` lists every in-chat command.
172
+
173
+ Chat always runs on Oracle's own native loop unless you explicitly opt into
174
+ Hermes with `ORACLE_CHAT_BACKEND=hermes` (or `oracle chat --backend
175
+ hermes`); the default `auto` resolution never selects Hermes on its own, and
176
+ an explicit `hermes` request fails closed with an actionable error if Hermes
177
+ isn't actually detected.
152
178
 
153
179
  A model response is not authorization, a prepared object is not a transaction,
154
180
  and a submitted transaction is not a confirmed receipt.
@@ -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.26.0`
100
+ **Candidate release in this source tree:** public package `@oracle-agent/oracle@0.28.0`
101
101
  ships the encrypted local vault + short-lived loopback signer. Hosted/keyless
102
102
  Oracle cannot hold keys or move funds. Self-host after `oracle sign init|import` is **auto-armed**
103
103
  for user-initiated actions. Public still charges the disclosed fee card; Administrator