engine7 7.1.12 → 7.1.13

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +3 -2
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -125,7 +125,7 @@ function collectRecentSessions(agentsDir, days = 7) {
125
125
  const fullPath = path.join(dir, entry.name);
126
126
  if (entry.isDirectory()) {
127
127
  scanSessionsDir(fullPath);
128
- } else if (entry.name.endsWith(".jsonl")) {
128
+ } else if (entry.name.endsWith(".jsonl") || entry.name.match(/\.jsonl\.(archived|compaction)\./)) {
129
129
  const stat = fs.statSync(fullPath);
130
130
  if (stat.mtimeMs > cutoff) files.push(fullPath);
131
131
  } else if (entry.name === "platform-map.json" || entry.name === "session-index.json") {
@@ -483,8 +483,9 @@ var init_cli_travel = __esm({
483
483
  "scripts",
484
484
  "selfie",
485
485
  "moodboard",
486
- // 状态文件
486
+ // 状态文件 + 目录
487
487
  "calendar.db",
488
+ ".calendar",
488
489
  "nudge-state.json"
489
490
  ]);
490
491
  WORKSPACE_OPTIONAL = /* @__PURE__ */ new Set([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "engine7",
3
- "version": "7.1.12",
3
+ "version": "7.1.13",
4
4
  "type": "module",
5
5
  "description": "Engine 7 — Self-hosted AI agent engine",
6
6
  "main": "dist/main.mjs",