@okxweb3/a2a-node 0.1.12-beta-34e99c0ef4-260807103727 → 0.2.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.
Files changed (4) hide show
  1. package/README.md +38 -0
  2. package/dist/cli.js +87546 -87255
  3. package/dist/index.js +22194 -65042
  4. package/package.json +4 -4
package/README.md CHANGED
@@ -48,6 +48,44 @@ an interactive terminal; in non-interactive mode pass `--provider codex` or
48
48
  present. Pass `--no-autostart` to start only the current daemon process without
49
49
  installing boot/login autostart.
50
50
 
51
+ ## Local XMTP stability test
52
+
53
+ Start a monitoring window against the already-running daemon. It observes every
54
+ local Buyer/ASP XMTP client and never starts or stops the daemon itself:
55
+
56
+ ```bash
57
+ okx-a2a xmtp-test start --name xmtp-beta
58
+ okx-a2a xmtp-test watch
59
+ ```
60
+
61
+ `watch` is a realtime aggregate dashboard. Pressing Ctrl+C only detaches from
62
+ the dashboard; the test remains active while tasks are run through Codex,
63
+ Claude, OpenClaw, or Hermes.
64
+
65
+ Inspect one job, including outbound send, live XMTP delivery, local Node handler,
66
+ and offline replay timings:
67
+
68
+ ```bash
69
+ okx-a2a xmtp-test job <jobId>
70
+ okx-a2a xmtp-test job <jobId> --follow
71
+ okx-a2a xmtp-test job <jobId> --timing
72
+ okx-a2a xmtp-test job <jobId> --json
73
+ ```
74
+
75
+ Stop and report without stopping the daemon:
76
+
77
+ ```bash
78
+ okx-a2a xmtp-test stop
79
+ okx-a2a xmtp-test report --latest
80
+ okx-a2a xmtp-test report --latest --json
81
+ ```
82
+
83
+ Runs are stored under
84
+ `<OKX_AGENT_TASK_HOME>/xmtp-tests/<runId>`. Local delivery identity is
85
+ `recipientAgentId + messageId`, so one machine can monitor multiple Buyer and
86
+ ASP agents without collapsing their deliveries together. Only sanitized
87
+ diagnostic fields are written; task message content is excluded.
88
+
51
89
  ## Autostart
52
90
 
53
91
  Linux autostart is managed as a user-level systemd service. macOS autostart is