@okxweb3/a2a-node 0.2.12-beta-7449a77b9d-260909165309 → 0.2.12
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 +3 -13
- package/dist/cli.js +104 -259
- package/dist/index.js +85 -231
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,22 +145,12 @@ okx-a2a xmtp-send \
|
|
|
145
145
|
|
|
146
146
|
The same command works before and after the job JSON has `xmtpGroupId`.
|
|
147
147
|
If `xmtpGroupId` exists, the CLI reuses that group. If it does not exist,
|
|
148
|
-
pass `--to-agent-id
|
|
149
|
-
|
|
148
|
+
pass `--to-agent-id`; the CLI resolves agent metadata through the local cache
|
|
149
|
+
first, then `onchainos agent get-agents`. The send fails if that lookup does not
|
|
150
|
+
return the recipient agent and its communication address.
|
|
150
151
|
`sessionAgentId` selects `okx-agent-task-{jobId}-{agentId}.json` when a job
|
|
151
152
|
has multiple active agent conversations.
|
|
152
153
|
|
|
153
|
-
Address target:
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
okx-a2a xmtp-send \
|
|
157
|
-
--job-id <jobId> \
|
|
158
|
-
--session-agent-id <sessionAgentId> \
|
|
159
|
-
--my-agent-id <localAgentId> \
|
|
160
|
-
--to-address <remoteXmtpAddress> \
|
|
161
|
-
--message <content>
|
|
162
|
-
```
|
|
163
|
-
|
|
164
154
|
## User attention
|
|
165
155
|
|
|
166
156
|
User-facing notifications and decision requests are stored in
|