@ynhcj/xiaoyi-channel 0.0.198-beta → 0.0.199-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.
@@ -264,9 +264,10 @@ function handleMemoryHistory() {
264
264
  bucket.push({ fileName, detail, time: timePart });
265
265
  }
266
266
  }
267
- // Build ans array sorted by date ascending, each entry is { <date>: [...] }.
267
+ // Build ans array sorted by date descending, each entry is { <date>: [...] }.
268
268
  const ans = Array.from(byDate.keys())
269
269
  .sort()
270
+ .reverse()
270
271
  .map((dateStr) => ({ [dateStr]: byDate.get(dateStr).reverse() }));
271
272
  // Prune memory.log: keep only the last 30 days.
272
273
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "0.0.198-beta",
3
+ "version": "0.0.199-beta",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",