@vellumai/assistant 0.11.2-dev.202608050507.7e832db → 0.11.2-dev.202608050701.50e6de1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/assistant",
3
- "version": "0.11.2-dev.202608050507.7e832db",
3
+ "version": "0.11.2-dev.202608050701.50e6de1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -31,11 +31,16 @@ const log = getLogger("memory-v2-consolidate");
31
31
 
32
32
  /**
33
33
  * Hard timeout for the consolidation run. Consolidation reads the buffer,
34
- * rewrites several files, and re-encodes essentials/threads: generous
35
- * upper bound so a slow run isn't killed mid-edit, but bounded so a stuck
36
- * provider can't pin the worker indefinitely.
34
+ * rewrites several files, and re-encodes essentials/threads: on a mature
35
+ * corpus a full pass legitimately runs ~20 minutes under cross-process write
36
+ * contention, so the bound leaves headroom above that while still keeping a
37
+ * stuck run from pinning the worker indefinitely. Matches the default
38
+ * `timeouts.backgroundTurnTimeoutSec` budget for heartbeat/background turns.
39
+ * Overrunning it marks the run failed and skips its follow-up jobs (reembeds,
40
+ * v3 maintenance) even though the agent's file edits land, so the bound must
41
+ * comfortably exceed a healthy run's duration.
37
42
  */
38
- export const CONSOLIDATION_TIMEOUT_MS = 15 * 60 * 1000;
43
+ export const CONSOLIDATION_TIMEOUT_MS = 30 * 60 * 1000;
39
44
 
40
45
  /**
41
46
  * Age past which a lock held by an apparently-live PID is taken over anyway.