agentic-wallet-mcp 0.9.0 → 0.9.1

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/CHANGELOG.md CHANGED
@@ -8,6 +8,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  > Entries for 0.5.0 and earlier were reconstructed from commit history when this file was
9
9
  > introduced in 0.6.0, so they summarise each release rather than being exhaustive.
10
10
 
11
+ ## [0.9.1] — 28 August 2026
12
+
13
+ ### Fixed
14
+
15
+ - **`request_ai_birthcert_verification` no longer blocks retrying an expired session.** If the
16
+ owner never completed MyDigital ID verification before a Verified AI Birthcert session's TTL
17
+ elapsed (`status: "expired"`), retrying previously threw an "unrecognized prior session status"
18
+ error and left the flow stuck — even though the settlement receipt was already safely persisted
19
+ locally and unconsumed. Any confirmed terminal session status other than `"issued"` (the only
20
+ status that consumes the receipt) is now treated the same as the existing 404/"gone" handling:
21
+ the receipt is replayed and a fresh verification session is opened, with no new payment made.
22
+
11
23
  ## [0.9.0] — 24 August 2026
12
24
 
13
25
  ### Added
@@ -12549,7 +12549,7 @@ var import_node_path6 = require("node:path");
12549
12549
  // package.json
12550
12550
  var package_default = {
12551
12551
  name: "agentic-wallet-mcp",
12552
- version: "0.9.0",
12552
+ version: "0.9.1",
12553
12553
  description: "Agent-facing MCP wallet for Zetrix \u2014 orchestrates x401 identity proof, x402 payment, and MBI VC issuance",
12554
12554
  keywords: [
12555
12555
  "mcp",
@@ -23406,13 +23406,14 @@ async function decidePriorSession(deps, agentName) {
23406
23406
  if (stored.agentName !== agentName) {
23407
23407
  const otherStatus = await getConfirmedStatus(deps, stored.sessionId);
23408
23408
  if (otherStatus === "gone") return { kind: "replay_receipt", receipt: stored.paymentReceipt };
23409
- if (otherStatus.status !== "issued") {
23409
+ if (otherStatus.status === "pending") {
23410
23410
  return {
23411
23411
  kind: "blocked",
23412
- message: `a verification session for a different agent ("${stored.agentName}") is still in progress (status: "${otherStatus.status}") and its payment has not been consumed yet \u2014 starting a new session for "${agentName}" would lose track of it. Call check_ai_birthcert_verification to resolve or confirm it first.`
23412
+ message: `a verification session for a different agent ("${stored.agentName}") is still in progress (status: "pending") and its payment has not been consumed yet \u2014 starting a new session for "${agentName}" would lose track of it. Call check_ai_birthcert_verification to resolve or confirm it first.`
23413
23413
  };
23414
23414
  }
23415
- return { kind: "pay_fresh" };
23415
+ if (otherStatus.status === "issued") return { kind: "pay_fresh" };
23416
+ return { kind: "replay_receipt", receipt: stored.paymentReceipt };
23416
23417
  }
23417
23418
  const status = await getConfirmedStatus(deps, stored.sessionId);
23418
23419
  if (status === "gone") return { kind: "replay_receipt", receipt: stored.paymentReceipt };
@@ -23423,9 +23424,7 @@ async function decidePriorSession(deps, agentName) {
23423
23424
  };
23424
23425
  }
23425
23426
  if (status.status === "issued") return { kind: "pay_fresh" };
23426
- throw new Error(
23427
- `requestAiBirthcertVerification: unrecognized prior session status "${status.status}" for session ${stored.sessionId} \u2014 refusing to guess whether its settlement receipt is safe to replay (see SPEC.md D8)`
23428
- );
23427
+ return { kind: "replay_receipt", receipt: stored.paymentReceipt };
23429
23428
  }
23430
23429
  var requestQueue = Promise.resolve();
23431
23430
  function withRequestLock(fn) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-wallet-mcp",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Agent-facing MCP wallet for Zetrix — orchestrates x401 identity proof, x402 payment, and MBI VC issuance",
5
5
  "keywords": [
6
6
  "mcp",