vapi-network 0.9.2 → 0.9.5

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 CHANGED
@@ -27,6 +27,10 @@ No install? Prefix any command with `npx vapi-network`, for example
27
27
  `npx vapi-network init`. (`npx vapi` cannot work: the bare `vapi` name on npm
28
28
  belongs to an unrelated package.)
29
29
 
30
+ Interactive CLI runs check for a newer release at most once a day and cache the result in
31
+ `~/.vapi/update-check.json`. JSON, MCP server, CI and non-TTY runs skip the check. Set
32
+ `VAPI_NO_UPDATE_CHECK=1` to disable it.
33
+
30
34
  ## Quickstart
31
35
 
32
36
  ```bash
@@ -112,6 +116,7 @@ JSON; delivery emits one result after chain success. See [Task commands](./docs/
112
116
  an announced preview-only command.
113
117
  Solana listings remain searchable. Inspecting or paying one returns
114
118
  `unsupported_network` (CLI exit `1`); vault payments on Solana arrive in a later release.
119
+ Inspect shows the registry’s last observed quote; pay fetches a fresh quote before signing.
115
120
 
116
121
  Every wallet command takes `--account <name>`, falls back to `VAPI_WALLET`, then the default from `vapi accounts use`; `--wallet <name>` keeps working for one release.
117
122
 
@@ -121,8 +126,8 @@ Posting a task moves no money. The create-order contract stores its market amoun
121
126
 
122
127
  | Command | Options | What it does |
123
128
  | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
124
- | `vapi init` | `--networks <base,arc,solana>` | Creates `~/.vapi`, the wallet `main` and the config. Says so if one exists. |
125
- | `vapi setup` | `--no-cloud-backup`, `--json` | Creates or restores the vault, links the first account, and can offer cloud backup. Safe to rerun. |
129
+ | `vapi init` | `--networks <base,arc>`, `--no-link` | Creates `~/.vapi`, the wallet `main` and the config. Says so if one exists. |
130
+ | `vapi setup` | `--no-cloud-backup`, `--accounts <n>`, `--json` | Creates or restores the vault, links the first account, and can offer cloud backup. Safe to rerun. |
126
131
  | `vapi accounts` | `--all`, `--json` | Lists local accounts and can add the owner's accounts on other devices as read-only rows |
127
132
  | `vapi accounts add <name>` | `--label <text>`, `--no-link`, `--json` | Derives and links a new account |
128
133
  | `vapi accounts import <name>` | `--keystore <path>` or `--key-file <path>`, `--label <text>`, `--json` | Imports an account from a private-key prompt or local keystore |
@@ -143,7 +148,7 @@ Posting a task moves no money. The create-order contract stores its market amoun
143
148
  | `vapi swarm dissolve <name>` | `--json` | Sweeps the swarm back to the owner and removes its local swarm record |
144
149
  | `vapi send <amount>` | `--from <account>`, `--to <account\|owner\|0x…>`, `--network <base\|arc>`, `--resume <nonce>`, `--json` | Sends USDC to the owner or another active account; vAPI pays gas |
145
150
  | `vapi wallet list` | - | Name, address, default marker, caps in USD, unlocked, label |
146
- | `vapi wallet create <name>` | `--networks <base,arc,solana>`, `--label <text>` | A new wallet, with its own phrase, caps and passphrase |
151
+ | `vapi wallet create <name>` | `--networks <base,arc>`, `--label <text>` | A new wallet, with its own phrase, caps and passphrase |
147
152
  | `vapi wallet use <name>` | - | Makes it the default for every later command |
148
153
  | `vapi wallet rename <old> <new>` | - | Renames the keystore, the registry entry and that wallet's receipts |
149
154
  | `vapi wallet remove <name>` | `--force` | Moves the keystore to `wallets/.trash/`; asks you to type the name |
@@ -153,10 +158,10 @@ Posting a task moves no money. The create-order contract stores its market amoun
153
158
  | `vapi docs "<question>"` | `--json` | Asks the public vAPI documentation assistant and prints its answer and sources; no wallet or payment |
154
159
  | `vapi docs search "<query>"` | `--json` | Searches the vAPI documentation and prints matching excerpts; no wallet or payment |
155
160
  | `vapi docs read <url-or-path>` | `--json` | Reads one vAPI documentation page as Markdown; no wallet or payment |
156
- | `vapi accounts` | `--enable <solana\|arc>`, `--wallet <name>` | One deposit account per configured network, with balances and guidance |
161
+ | `vapi accounts` | `--enable <arc>`, `--wallet <name>` | One deposit account per configured network, with balances and guidance |
157
162
  | `vapi search [query]` | `--kind <kind>` (repeatable), `--network <caip2>`, `--limit <n>`, `--cursor <cursor>`, `--include-unverified` | Merged discovery across every configured source, tagged by group and tier |
158
- | `vapi inspect <id>` | `--endpoint <name>` | Verification, fee, liveness, conformance, identity, contract and live quote, for free |
159
- | `vapi pay <id-or-url>` | `--method`, `--endpoint`, `--body <json>`, `--content-type`, `--network <caip2>`, `--expected-pay-to`, `--max <usd>`, `--wallet <name>` | Calls the API and pays it from the local wallet, naming an unverified tier |
163
+ | `vapi inspect <id>` | `--endpoint <name>` | Verification, fee, liveness, conformance, identity, contract and registry’s last observed quote, for free |
164
+ | `vapi pay <id-or-url>` | `--method`, `--endpoint`, `--body <json>`, `--content-type`, `--network <caip2>`, `--expected-pay-to`, `--max <usd>`, `--timeout <seconds>`, `--wallet <name>` | Calls the API and pays it from the local wallet, naming an unverified tier |
160
165
  | `vapi pay --resume <receipt-id>` | - | Checks settlement, shows its payment id, and never pays |
161
166
  | `vapi check <url>` | `--method <method>` | Grades its 402, extensions and same-origin discovery. Never pays |
162
167
  | `vapi balance` | `--wallet <name>` | The wallet's address and USDC balances |
@@ -171,6 +176,7 @@ Posting a task moves no money. The create-order contract stores its market amoun
171
176
  | `vapi agent pause <name>` | None | Stops future runs until the agent is resumed |
172
177
  | `vapi agent resume <name>` | None | Allows a paused agent to run again |
173
178
  | `vapi agent revoke <name>` | None | Revokes the link and removes the profile, but keeps its wallet |
179
+ | `vapi dashboard` | `--account <name>`, `--no-browser`, `--no-link` | Opens My agents on your vAPI dashboard and offers to link an unlinked wallet. |
174
180
  | `vapi login` | `--wallet <name>`, `--label <name>`, `--publish`, `--no-browser` | Links the local agent wallet to your vAPI account |
175
181
  | `vapi logout` | `--wallet <name>` | Removes the selected wallet's agent link and stored credentials |
176
182
  | `vapi whoami` | `--wallet <name>` | Shows the chosen wallet's owner link and permissions, whether the link is live, and its ERC-8004 agent identity. |
@@ -202,8 +208,8 @@ Posting a task moves no money. The create-order contract stores its market amoun
202
208
  | `vapi task status <id>` | `--account <name>`, `--json` | Shows chain state and participant events when signed in, or the public task card. |
203
209
  | `vapi export-key` | `--network <caip2>`, `--wallet <name>` | Prints the private key. Terminal only, never for an agent. |
204
210
  | `vapi backup` | `--account <name>`, `--cloud [off]`, `--json` | Prints the 12 words, or turns encrypted cloud backup on or off. |
205
- | `vapi restore` | `--from-owner [--owner <0x…>]`, `--json` | Rebuilds the vault from a recovery phrase typed at the prompt or piped on stdin, or restores an owner-approved cloud backup. |
206
- | `vapi import` | `--phrase` or `--key`, `--wallet <name>`, `--networks <base,arc,solana>`, `--replace`, `--force` | Restores a wallet from a prompt, never from argv |
211
+ | `vapi restore` | `--accounts <n>`, `--from-owner [--owner <0x…>]`, `--json` | Rebuilds the vault from a recovery phrase typed at the prompt or piped on stdin, or restores an owner-approved cloud backup. |
212
+ | `vapi import` | `--phrase` or `--key`, `--wallet <name>`, `--networks <base,arc>`, `--replace`, `--force` | Restores a wallet from a prompt, never from argv |
207
213
  | `vapi passphrase` | `--wallet <name>` | Re-encrypts the keystore under a new passphrase |
208
214
  | `vapi vault protect` | `--json` | Adds a password to the device vault |
209
215
  | `vapi vault unprotect` | `--json` | Removes the password from the device vault |
@@ -222,11 +228,13 @@ Posting a task moves no money. The create-order contract stores its market amoun
222
228
  | `vapi publish list` | - | Every listing this API key owns |
223
229
  | `vapi claim <origin>` | `--wallet <name>` | Takes over the listings vAPI indexed from your API, signed by their payee |
224
230
  | `vapi mcp` | `--wallet <name>` | Serves the MCP tools over stdio |
225
- | `vapi mcp install <claude\|cursor\|codex>` | `--home <dir>`, `--registry <url>` | Writes that app's MCP config and prints the file |
231
+ | `vapi mcp install <claude\|cursor\|codex>` | `--home <dir>`, `--registry <url>`, `--no-link` | Writes that app's MCP config and prints the file |
226
232
  | `vapi serve` | - | Preview only; exits `2` with a message |
227
233
  | `vapi version` | - | The client version, also as `--version` or `-v` |
228
234
  | `vapi help` | - | The same help bare `vapi` shows, also as `--help` or `-h` |
229
235
 
236
+ Phrase recovery checks Base USDC balances until five consecutive addresses are empty and reports the number scanned. `vapi restore --accounts <n>` (or `vapi setup --accounts <n>` when restoring) derives a fixed count without balance queries.
237
+
230
238
  ## Packages
231
239
 
232
240
  | Package | Purpose |