@okxweb3/a2a-node 0.0.2-beta-38940d220c-260609204302 → 0.0.4
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/README.md +5 -4
- package/dist/cli.js +1194 -488
- package/dist/index.js +50753 -50267
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,24 +50,25 @@ okx-a2a xmtp-send \
|
|
|
50
50
|
--job-id <jobId> \
|
|
51
51
|
--session-agent-id <sessionAgentId> \
|
|
52
52
|
--my-agent-id <localAgentId> \
|
|
53
|
+
--to-agent-id <remoteAgentId> \
|
|
53
54
|
--message <content>
|
|
54
55
|
```
|
|
55
56
|
|
|
56
57
|
The same command works before and after the job JSON has `xmtpGroupId`.
|
|
57
58
|
If `xmtpGroupId` exists, the CLI reuses that group. If it does not exist,
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
pass `--to-agent-id` or `--to-address`; the CLI resolves agent metadata through
|
|
60
|
+
the local cache first, then falls back to supported onchainos lookup commands.
|
|
60
61
|
`sessionAgentId` selects `okx-agent-task-{jobId}-{agentId}.json` when a job
|
|
61
62
|
has multiple active agent conversations.
|
|
62
63
|
|
|
63
|
-
|
|
64
|
+
Address target:
|
|
64
65
|
|
|
65
66
|
```bash
|
|
66
67
|
okx-a2a xmtp-send \
|
|
67
68
|
--job-id <jobId> \
|
|
68
69
|
--session-agent-id <sessionAgentId> \
|
|
69
70
|
--my-agent-id <localAgentId> \
|
|
70
|
-
--to-
|
|
71
|
+
--to-address <remoteXmtpAddress> \
|
|
71
72
|
--message <content>
|
|
72
73
|
```
|
|
73
74
|
|