@ynhcj/xiaoyi-channel 0.0.41-next → 0.0.42-next
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/dist/src/parser.js +1 -0
- package/package.json +1 -1
package/dist/src/parser.js
CHANGED
|
@@ -3,6 +3,7 @@ import { logger } from "./utils/logger.js";
|
|
|
3
3
|
* Parse an A2A JSON-RPC request into structured message data.
|
|
4
4
|
*/
|
|
5
5
|
export function parseA2AMessage(request) {
|
|
6
|
+
console.log("[A2A] received message:", JSON.stringify(request));
|
|
6
7
|
const { method, params, id } = request;
|
|
7
8
|
if (!params) {
|
|
8
9
|
throw new Error("A2A request missing params");
|