From 879331ef69c7a74cc74a323b080505c5d38d1a65 Mon Sep 17 00:00:00 2001 From: vAPI Development <336934719+vapi-development@users.noreply.github.com> Date: Wed, 2 Dec 2026 16:04:10 +0100 Subject: [PATCH] chore: release 0.17.2 Co-Authored-By: Claude Opus 5.5 Signed-off-by: vAPI Development <336934719+vapi-development@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug.yml | 2 +- CHANGELOG.md | 7 +++++++ README.md | 2 +- docs/wallets.md | 2 +- package.json | 2 +- packages/cli/package.json | 2 +- packages/cli/src/version.ts | 2 +- packages/core/README.md | 2 +- packages/core/package.json | 2 +- packages/core/src/router-client.test.ts | 4 ++-- packages/core/src/status.test.ts | 6 +++--- packages/core/src/support-report.test.ts | 4 ++-- packages/core/src/support-report.ts | 2 +- packages/mcp/package.json | 2 +- packages/mcp/src/server.test.ts | 2 +- packages/mcp/src/x402.test.ts | 2 +- packages/sources/package.json | 2 +- packages/vapi-network/SKILL.md | 2 +- packages/vapi-network/package.json | 2 +- scripts/pack-check.mjs | 2 +- server.json | 4 ++-- 21 files changed, 32 insertions(+), 25 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 76c4e68..c519548 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -25,7 +25,7 @@ body: attributes: label: Version description: Output of `vapi --version` - placeholder: "0.17.1" + placeholder: "0.17.2" validations: { required: true } - type: dropdown id: surface diff --git a/CHANGELOG.md b/CHANGELOG.md index 7808c50..abb81a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,13 @@ sentence under it is the summary shown on the ## Unreleased +## 0.17.2 - 2026-12-02 + +`vapi task post --fund` and `vapi task fund` fund a new task, bounty or pool on Base mainnet again. + +- vAPI funds the first escrow of an order with one USDC authorization to the escrow's predicted address. The client now predicts that address itself from the accepted terms through the pinned factory, and signs only when the two match. Before, it refused every such funding with `v2_plan_mismatch`. +- The deadline check right before a task's funding signature reads the contract's minimum work time even when the escrow does not exist yet, and covers every accepted milestone. + ## 0.17.1 - 2026-12-02 Agents can run an open reward pool that any wallet with a live vAPI ID can claim, read its claims and close it from the CLI and MCP. diff --git a/README.md b/README.md index a582739..caab868 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ vAPI Network is not related to Vapi.ai, the voice AI company. ## Quickstart -This README describes client 0.17.1. `npm view vapi-network version` shows the latest published release. +This README describes client 0.17.2. `npm view vapi-network version` shows the latest published release. The client needs Node.js 22 or newer. ```bash diff --git a/docs/wallets.md b/docs/wallets.md index ca7c51e..ee12682 100644 --- a/docs/wallets.md +++ b/docs/wallets.md @@ -254,7 +254,7 @@ vapi This screen comes from a vault restored from the BIP-39 test phrase into an empty home, so the account holds nothing and is not linked yet: ```text -vAPI 0.17.1 home /tmp/vapi-docs-home registry api.vapinetwork.ai +vAPI 0.17.2 home /tmp/vapi-docs-home registry api.vapinetwork.ai Owner not linked console: https://api.vapinetwork.ai/agents Vault unlocked on this device (macOS Keychain) backup: vapi backup diff --git a/package.json b/package.json index d5ca445..902f851 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vapi-network-workspace", - "version": "0.17.1", + "version": "0.17.2", "private": true, "description": "Open-source, non-custodial access to x402 APIs", "license": "Apache-2.0", diff --git a/packages/cli/package.json b/packages/cli/package.json index 409cfe9..a3a917b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@vapi-network/cli", - "version": "0.17.1", + "version": "0.17.2", "description": "Command-line interface for the non-custodial vAPI Network wallet", "license": "Apache-2.0", "repository": { diff --git a/packages/cli/src/version.ts b/packages/cli/src/version.ts index 0b2f070..0cb782b 100644 --- a/packages/cli/src/version.ts +++ b/packages/cli/src/version.ts @@ -1,3 +1,3 @@ // Kept in sync with packages/cli/package.json by version.test.ts. The CLI is // bundled into a single file, so it cannot read its own manifest at runtime. -export const CLI_VERSION = "0.17.1"; +export const CLI_VERSION = "0.17.2"; diff --git a/packages/core/README.md b/packages/core/README.md index ede00dd..baaa8b8 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -263,7 +263,7 @@ basis points, or the registry label and computed percentage for legacy fees. | `validatePrivateKey` | function (value: string): Hex | 0.5.0 or earlier | | `validateRecoveryPhrase` | function (phrase: string): string | 0.5.0 or earlier | | `VAPI_BUILDER_CODE` | constant VAPI_BUILDER_CODE: "vapi" | 0.5.0 or earlier | -| `VAPI_CLIENT_VERSION` | constant VAPI_CLIENT_VERSION: "0.17.1" | 0.4.0 | +| `VAPI_CLIENT_VERSION` | constant VAPI_CLIENT_VERSION: "0.17.2" | 0.4.0 | | `WALLET_NAME_PATTERN` | constant WALLET_NAME_PATTERN: RegExp | 0.5.0 or earlier | | `walletEntrySchema` | constant walletEntrySchema: ZodObject<{ createdAt: ZodISODateTime; label: ZodOptional; spendCaps: ZodObject<{ perCallAtomic: ZodString; perDayAtomic: ZodString; }, $strip>; routerRefill: ZodOptional<...>; link: ZodOptional<...>; }, $strip> | 0.5.0 or earlier | | `walletNameSchema` | constant walletNameSchema: ZodString | 0.5.0 or earlier | diff --git a/packages/core/package.json b/packages/core/package.json index 56da066..a1637e8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@vapi-network/core", - "version": "0.17.1", + "version": "0.17.2", "description": "Non-custodial x402 protocol, wallet policy, discovery, and receipts core", "license": "Apache-2.0", "repository": { diff --git a/packages/core/src/router-client.test.ts b/packages/core/src/router-client.test.ts index 507b739..7cf548a 100644 --- a/packages/core/src/router-client.test.ts +++ b/packages/core/src/router-client.test.ts @@ -3290,7 +3290,7 @@ describe("Router purchase credit and receipt guards", () => { paymentId: "purchase_1234567890", phases: { requestMs: 100 }, policy: { capsApplied: true }, - client: { name: "vapi-network", version: "0.17.1" }, + client: { name: "vapi-network", version: "0.17.2" }, resourceUrl: `${API_BASE}/api/router/top-up/5`, settlement: { outcome: "unknown" }, outcome: "settlement_unknown", @@ -3337,7 +3337,7 @@ describe("Router purchase credit and receipt guards", () => { paymentId: "purchase_1234567890", phases: { requestMs: 100 }, policy: { capsApplied: true }, - client: { name: "vapi-network", version: "0.17.1" }, + client: { name: "vapi-network", version: "0.17.2" }, outcome: "paid", }); const raw = await readFile(receiptsPath, "utf8"); diff --git a/packages/core/src/status.test.ts b/packages/core/src/status.test.ts index cdfd363..4af1204 100644 --- a/packages/core/src/status.test.ts +++ b/packages/core/src/status.test.ts @@ -95,7 +95,7 @@ function linkedAccount(): AgentLink { function deps(home: string, wallets: WalletStore, overrides: Partial = {}): StatusDeps { return { - version: "0.17.1", + version: "0.17.2", home, registry: "https://api.vapinetwork.ai", wallets, @@ -123,7 +123,7 @@ describe("buildStatus", () => { await expect( buildStatus(deps(home, wallets, { registry: "https://api.vapinetwork.ai/" })), ).resolves.toEqual({ - version: "0.17.1", + version: "0.17.2", home, registry: "https://api.vapinetwork.ai", vault: { @@ -170,7 +170,7 @@ describe("buildStatus", () => { ); expect(report).toEqual({ - version: "0.17.1", + version: "0.17.2", home, registry: "https://api.vapinetwork.ai", owner: { diff --git a/packages/core/src/support-report.test.ts b/packages/core/src/support-report.test.ts index 89fb1b0..e50b976 100644 --- a/packages/core/src/support-report.test.ts +++ b/packages/core/src/support-report.test.ts @@ -45,10 +45,10 @@ describe("support reports", () => { expect(result).toMatchObject({ path: join(reportsDirectory, "2026-09-10T08-09-10-123Z.json"), issueUrl: - "https://github.com/vAPI-Network/vapi-network/issues/new?template=bug.yml&title=payment%20failed%20oddly&version=0.17.1", + "https://github.com/vAPI-Network/vapi-network/issues/new?template=bug.yml&title=payment%20failed%20oddly&version=0.17.2", report: { message: "payment failed oddly", - clientVersion: "0.17.1", + clientVersion: "0.17.2", os: { platform: "test-os", release: "1.2.3", arch: "test-arch" }, node: "v22.0.0-test", receiptIds: ["receipt-1", "receipt-2", "receipt-3", "receipt-4", "receipt-5"], diff --git a/packages/core/src/support-report.ts b/packages/core/src/support-report.ts index e99953b..57d1605 100644 --- a/packages/core/src/support-report.ts +++ b/packages/core/src/support-report.ts @@ -7,7 +7,7 @@ import { DEFAULT_REGISTRY_URL, getVapiPaths } from "./config.js"; import { createPublicFetch, type LookupFn } from "./net-guard.js"; import { readReceipts } from "./receipts.js"; -export const VAPI_CLIENT_VERSION = "0.17.1"; +export const VAPI_CLIENT_VERSION = "0.17.2"; export type SupportSystemInfo = { platform: string; diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 2208b04..bd96c87 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@vapi-network/mcp", - "version": "0.17.1", + "version": "0.17.2", "description": "Local, non-custodial MCP server for discovering and paying x402 APIs", "license": "Apache-2.0", "repository": { diff --git a/packages/mcp/src/server.test.ts b/packages/mcp/src/server.test.ts index 23f6f96..155667b 100644 --- a/packages/mcp/src/server.test.ts +++ b/packages/mcp/src/server.test.ts @@ -554,7 +554,7 @@ describe("Agent Cash MCP marketplace tools", () => { outcome: "paid", listing: { providerHost: "93.184.216.34", source: "direct" }, policy: { capsApplied: false }, - client: { name: "vapi-network", version: "0.17.1" }, + client: { name: "vapi-network", version: "0.17.2" }, }, ], }); diff --git a/packages/mcp/src/x402.test.ts b/packages/mcp/src/x402.test.ts index 3b6bbf5..6c5fc25 100644 --- a/packages/mcp/src/x402.test.ts +++ b/packages/mcp/src/x402.test.ts @@ -360,7 +360,7 @@ describe("x402 v2 challenge parsing", () => { outcome: "declined_policy", quote: { amountAtomic: "2500" }, policy: { capsApplied: true }, - client: { name: "vapi-network", version: "0.17.1" }, + client: { name: "vapi-network", version: "0.17.2" }, error: { code: "spend_cap_exceeded" }, }); expect(receipt).not.toHaveProperty("payer"); diff --git a/packages/sources/package.json b/packages/sources/package.json index a7bccb9..5640462 100644 --- a/packages/sources/package.json +++ b/packages/sources/package.json @@ -1,6 +1,6 @@ { "name": "@vapi-network/sources", - "version": "0.17.1", + "version": "0.17.2", "description": "Discovery source plugins for vAPI Network", "license": "Apache-2.0", "repository": { diff --git a/packages/vapi-network/SKILL.md b/packages/vapi-network/SKILL.md index 282563e..eeee8e5 100644 --- a/packages/vapi-network/SKILL.md +++ b/packages/vapi-network/SKILL.md @@ -1,6 +1,6 @@ --- name: vapi -version: 0.17.1 +version: 0.17.2 description: >- Pay for one API call at a time, in USDC, from the agent's own wallet. Search vAPI Call before writing a scraper, before asking the user to sign up for an diff --git a/packages/vapi-network/package.json b/packages/vapi-network/package.json index f5156ec..73ffaaf 100644 --- a/packages/vapi-network/package.json +++ b/packages/vapi-network/package.json @@ -1,6 +1,6 @@ { "name": "vapi-network", - "version": "0.17.1", + "version": "0.17.2", "mcpName": "io.github.vAPI-Network/vapi-network", "description": "One local wallet for discovering and paying every x402 API", "license": "Apache-2.0", diff --git a/scripts/pack-check.mjs b/scripts/pack-check.mjs index c6cf202..5ae0f04 100644 --- a/scripts/pack-check.mjs +++ b/scripts/pack-check.mjs @@ -6,7 +6,7 @@ import { fileURLToPath } from "node:url"; import { build } from "esbuild"; -const EXPECTED_VERSION = "0.17.1"; +const EXPECTED_VERSION = "0.17.2"; const EXPECTED_PACKAGES = new Set([ "@vapi-network/core", "@vapi-network/sources", diff --git a/server.json b/server.json index 0c1ad6c..5bde4ea 100644 --- a/server.json +++ b/server.json @@ -3,7 +3,7 @@ "name": "io.github.vAPI-Network/vapi-network", "title": "vAPI Network", "description": "vAPI Network: local, non-custodial MCP server to discover and pay x402 APIs in USDC on Base.", - "version": "0.17.1", + "version": "0.17.2", "websiteUrl": "https://vapinetwork.ai", "icons": [ { @@ -28,7 +28,7 @@ "registryType": "npm", "registryBaseUrl": "https://registry.npmjs.org", "identifier": "vapi-network", - "version": "0.17.1", + "version": "0.17.2", "transport": { "type": "stdio" },