@ynhcj/xiaoyi-channel 0.0.95-beta → 0.0.96-beta

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.
@@ -289,8 +289,10 @@ export const xiaoyiProvider = {
289
289
  const traceId = ctx.extraParams[HEADER_TRACE_ID];
290
290
  const sessionId = ctx.extraParams[HEADER_SESSION_ID];
291
291
  const interactionId = ctx.extraParams[HEADER_INTERACTION_ID];
292
- if (typeof traceId === "string")
293
- dynamicHeaders[HEADER_TRACE_ID] = traceId;
292
+ if (typeof traceId === "string") {
293
+ const isCron = isCronTriggered(context.messages);
294
+ dynamicHeaders[HEADER_TRACE_ID] = isCron ? `cron_${traceId}` : traceId;
295
+ }
294
296
  if (typeof sessionId === "string")
295
297
  dynamicHeaders[HEADER_SESSION_ID] = sessionId;
296
298
  if (typeof interactionId === "string")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "0.0.95-beta",
3
+ "version": "0.0.96-beta",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",