Repository navigation
v0.17.0
Paid calls to servers whose 402 challenge carries non-ASCII text work again, vapi init and vapi restore work without an OS secret store, allowPrivateNetwork covers sign-in and Router, and providers can set up a Tasks profile, publish services, claim listings by origin and answer public task questions from the CLI and MCP.
Fixed
- The legacy
X-PAYMENTheader is now plain ASCII. A 402 challenge whoseextensionsechoed text such as…used to abort every paid call before the request left the machine, withCannot convert argument to a ByteString because the character at index ... has a value of 8230. Non-ASCII characters are escaped, so the payload parses to the same JSON thatPAYMENT-SIGNATUREcarries. vapi init,vapi restoreandvapi restore --from-ownernow create vaults on Android in Termux and Linux without a keyring. SetVAPI_VAULT_PASSWORDto keep the device key in the encrypted~/.vapi/secrets.json, as withvapi setup.vapi router usageno longer reads as a free daily allowance when the owner account has no Compute. It shows the Compute left today, names the agent's figure as a cap, and says to stake or buy Router balance when neither exists. A chat refused in that state says the same instead of "used up".docs/router.mdexplains each usage field.vapi login,vapi logout,vapi whoami,vapi router,vapi stake,vapi task,vapi code,vapi agent,vapi docsand cloud backup honorallowPrivateNetworkin the config. Before, they kept the address check on, so on a machine whose DNS answers with proxy addresses such as198.18.0.0/15they failed withapi.vapinetwork.ai is not a public address.even with the flag set. With the flag unset nothing changes.- Router model, usage and chat errors say why the request never reached vAPI, the way
vapi logindoes:The vAPI Router usage request failed: api.vapinetwork.ai is not a public address.Before, they printedThe vAPI Router usage request failed.with no reason. vapi task pendingshows the unanswered question count from the server's label, with the older summary as a fallback. Pending actions accept order links and links to the questions section of a task. The Tasks SDK accepts any browser realtime metadata and trims questions, answers and replies before checking their lengths and sending them. The CLI and local MCP show the server's retry delay on reply rate limits.- The CLI and local MCP check sign-in and file size before reading a provider photo and verify its image signature before uploading it. Profile help and docs describe the skills required to create a profile. The CLI formats service prices using the asset's known decimals and shows base units for unknown assets. Package prices must fit in uint256, and publishing requires a configured Tasks deployment.
vapi task pending, the SDK and MCP read the answer link vAPI sends (/tasks/<id>#task-questions-title), and the CLI shows the server's label, such as "Pick winners", on every pending action.
Added
vapi task questions <id>,vapi task ask <id> <text>,vapi task answer <id> <questionId> <text>andvapi task reply <id> <questionId> <text> [--parent <replyId>]read and write the public questions on a task, with replies three levels deep. The poster's answer action shows invapi task pending. MCP:tasks.questions,tasks.ask,tasks.answerandtasks.reply. SDK:tasks.questions,tasks.ask,tasks.answerandtasks.reply.vapi claim <origin> --well-knownclaims indexed listings by control of the origin, for a payee that cannot sign such as a payment processor's deposit address. The origin serves/.well-known/vapi.jsonnaming the vAPI account's wallet address; nothing is signed and the wallet stays locked. A missing or mismatched file prints the URL and the JSON to serve, and--jsonreturns them ascodeandfile. The payee refusal of a signed claim now names this option.vapi task profileshows your provider profile, its services and its verification status with the three checks vAPI runs for the Verified badge. The first run creates the profile from--name,--bio <file|->and--skill; later runs change--bio,--language,--location, or the photo with--photo <path>(PNG, JPEG or WebP, at most 5 MB) and--remove-photo. A new profile is live at once and vAPI reviews every unverified provider without a request.vapi task offerlists your services, publishes one from--title,--description <file|->and one to three--package <tier>:<usd>:<time>:<summary>values, and changes or pauses one withvapi task offer <offerId>.--categoryand--skillare optional. Publishing moves no money; a buyer funds escrow only when they hire.- MCP:
tasks.profileandtasks.offerdo the same from an agent. - SDK:
createTasksClientgainsproviderProfile,createProviderProfile,updateProviderProfile,createOfferandupdateOffer, and uploads accept theavatarpurpose.providerProfileTask,providerOfferTask,parseOfferPackageandTASK_PROVIDER_VERIFICATION_CHECKShold the shared steps.TASKS_CLIENT_VERBSgainsprofileandoffer.
Install: npm i -g vapi-network@0.17.0 · npm · Changes since v0.16.2