vapi-network 0.12.1 → 0.14.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.
- package/README.md +24 -2
- package/SKILL.md +1 -1
- package/dist/cli.js +29736 -29215
- package/dist/cli.js.map +3 -3
- package/dist/index.js +30475 -29941
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ vAPI Network is not related to Vapi.ai, the voice AI company.
|
|
|
22
22
|
|
|
23
23
|
## Install
|
|
24
24
|
|
|
25
|
-
This README describes client 0.
|
|
25
|
+
This README describes client 0.14.0. `npm view vapi-network version` shows the latest published release.
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
npm i -g vapi-network
|
|
@@ -55,6 +55,22 @@ vapi receipts # one line per paid call: quote, settlement, la
|
|
|
55
55
|
Back up the recovery phrase only in a terminal; vAPI cannot recover it.
|
|
56
56
|
Turn on encrypted cloud backup with `vapi backup --cloud`; only the owner can approve a restore.
|
|
57
57
|
|
|
58
|
+
## Headless Linux
|
|
59
|
+
|
|
60
|
+
On Linux without a working keyring (servers, containers, GitHub Codespaces), set
|
|
61
|
+
`VAPI_VAULT_PASSWORD` before `vapi setup`; the device key and agent link are then
|
|
62
|
+
kept in `~/.vapi/secrets.json`, encrypted with that password. The choice is made once
|
|
63
|
+
per vault.
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
read -rs -p 'Vault password (at least 12 characters): ' VAPI_VAULT_PASSWORD
|
|
67
|
+
export VAPI_VAULT_PASSWORD
|
|
68
|
+
vapi setup
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
In GitHub Codespaces, add `VAPI_VAULT_PASSWORD` as a Codespaces secret with at least
|
|
72
|
+
12 characters before running setup.
|
|
73
|
+
|
|
58
74
|
## What you can do
|
|
59
75
|
|
|
60
76
|
| Surface | What it does | Guide |
|
|
@@ -300,7 +316,7 @@ Posting a task moves no money. The create-order contract stores its market amoun
|
|
|
300
316
|
| `vapi receipts` | `--limit <n>`, `--account <name>`, `--all-wallets` | The local append-only call ledger, newest last |
|
|
301
317
|
| `vapi receipts export` | `--format <json\|csv>`, `--range <24h\|7d\|30d>`, `--account <name>`, `--all-wallets` | Raw receipts for a spreadsheet or dashboard |
|
|
302
318
|
| `vapi stats` | `--range <24h\|7d\|30d>`, `--account <name>`, `--all-wallets` | Spend, outcomes, latency percentiles and top services |
|
|
303
|
-
| `vapi sweep [<address>]` | `--network <caip2>`, `--account <name>`
|
|
319
|
+
| `vapi sweep [<address>]` | `--asset usdc\|eth`, `--network <caip2>`, `--account <name>` | Moves USDC or ETH to an address, or to the linked owner when omitted; open movement legs block it |
|
|
304
320
|
| `vapi agent create <name>` | `--model <id>`, `--instructions <file>`, `--call-budget <usd>`, `--max-per-call <usd>`, `--router-budget <usd>`, `--approve-above <usd>`, `--max-per-task <usd>`, `--auto-release-below <usd>`, `--include-unverified`, `--max-steps <n>`, `--yes` | Creates a capped local agent wallet, profile and owner link; `--yes` skips task policy prompts |
|
|
305
321
|
| `vapi agent run <name> "<task>"` | `--budget <usd>`, `--detach`, `--runtime local`, `--result-file <path>`, `--json` | Runs the named agent with an optional hard budget across Call and Router top-ups; can detach locally |
|
|
306
322
|
| `vapi agent run --bundle-env <VAR>` | `"<task>"` or `--task-base64url <text>`, `--budget <usd>`, `--result-file <path>`, `--json` | Runs from an exported member bundle in the experimental remote runtime; see the [swarm guide](docs/swarms.md#running-members-on-railway-experimental) |
|
|
@@ -370,6 +386,12 @@ Posting a task moves no money. The create-order contract stores its market amoun
|
|
|
370
386
|
| `vapi version` | - | The client version, also as `--version` or `-v` |
|
|
371
387
|
| `vapi help` | - | Lists commands and flags, also as `--help` or `-h`; bare `vapi` shows status |
|
|
372
388
|
|
|
389
|
+
Sent ETH by mistake? The wallet keeps the ETH you sent on Base. Send it back minus the Base network fee; a tiny amount may stay behind.
|
|
390
|
+
|
|
391
|
+
```sh
|
|
392
|
+
vapi sweep <your-address> --asset eth
|
|
393
|
+
```
|
|
394
|
+
|
|
373
395
|
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.
|
|
374
396
|
|
|
375
397
|
## Packages
|