@ynhcj/xiaoyi-channel 0.0.109-next → 0.0.110-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.
@@ -598,4 +598,19 @@ export const xiaoyiProvider = {
598
598
  return createRetryingStream(makeStream, cronJob);
599
599
  };
600
600
  },
601
+ /**
602
+ * Diagnostic-only: log ctx.sessionId format on every transport turn.
603
+ * Goal: confirm whether sessionId = sessionKey (so we can use it to
604
+ * look up A2A context directly from activeSessions, bypassing ALS).
605
+ */
606
+ resolveTransportTurnState: (ctx) => {
607
+ console.log(`[xiaoyiprovider] resolveTransportTurnState — ` +
608
+ `sessionId=${ctx.sessionId ?? "null"}, ` +
609
+ `turnId=${ctx.turnId}, ` +
610
+ `transport=${ctx.transport}, ` +
611
+ `attempt=${ctx.attempt}, ` +
612
+ `provider=${ctx.provider}, ` +
613
+ `modelId=${ctx.modelId}`);
614
+ return null;
615
+ },
601
616
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "0.0.109-next",
3
+ "version": "0.0.110-next",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",