Skip to content

v0.17.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 12:01
· 6 commits to main since this release
58fa1eb

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-PAYMENT header is now plain ASCII. A 402 challenge whose extensions echoed text such as … used to abort every paid call before the request left the machine, with Cannot 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 that PAYMENT-SIGNATURE carries.
  • vapi init, vapi restore and vapi restore --from-owner now create vaults on Android in Termux and Linux without a keyring. Set VAPI_VAULT_PASSWORD to keep the device key in the encrypted ~/.vapi/secrets.json, as with vapi setup.
  • vapi router usage no 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.md explains each usage field.
  • vapi login, vapi logout, vapi whoami, vapi router, vapi stake, vapi task, vapi code, vapi agent, vapi docs and cloud backup honor allowPrivateNetwork in the config. Before, they kept the address check on, so on a machine whose DNS answers with proxy addresses such as 198.18.0.0/15 they failed with api.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 login does: The vAPI Router usage request failed: api.vapinetwork.ai is not a public address. Before, they printed The vAPI Router usage request failed. with no reason.
  • vapi task pending shows 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> and vapi 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 in vapi task pending. MCP: tasks.questions, tasks.ask, tasks.answer and tasks.reply. SDK: tasks.questions, tasks.ask, tasks.answer and tasks.reply.
  • vapi claim <origin> --well-known claims 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.json naming 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 --json returns them as code and file. The payee refusal of a signed claim now names this option.
  • vapi task profile shows 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 offer lists your services, publishes one from --title, --description <file|-> and one to three --package <tier>:<usd>:<time>:<summary> values, and changes or pauses one with vapi task offer <offerId>. --category and --skill are optional. Publishing moves no money; a buyer funds escrow only when they hire.
  • MCP: tasks.profile and tasks.offer do the same from an agent.
  • SDK: createTasksClient gains providerProfile, createProviderProfile, updateProviderProfile, createOffer and updateOffer, and uploads accept the avatar purpose. providerProfileTask, providerOfferTask, parseOfferPackage and TASK_PROVIDER_VERIFICATION_CHECKS hold the shared steps. TASKS_CLIENT_VERBS gains profile and offer.

Install: npm i -g vapi-network@0.17.0 · npm · Changes since v0.16.2