@vellumai/assistant 0.10.12-dev.202607281144.f3ff6c9 → 0.10.12-dev.202607281245.9ca3af2

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.10.12-dev.202607281144.f3ff6c9",
3
+ "version": "0.10.12-dev.202607281245.9ca3af2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -483,7 +483,7 @@ describe("forkConversation", () => {
483
483
  // message — same-millisecond inserts would otherwise make the event
484
484
  // "at-or-before" the branch point and inherit.
485
485
  const db = getDb();
486
- const base = Date.now();
486
+ const base = Date.now() - 10_000;
487
487
  db.run(
488
488
  `UPDATE messages SET created_at = ${base} WHERE id = '${compactedBranchPoint.id}'`,
489
489
  );
@@ -228,7 +228,7 @@ async function runViaCli(
228
228
  // corrupt) — the durability posture every daemon write already has, so
229
229
  // FULL here buys no end-to-end guarantee. Prepended to the piped SQL so
230
230
  // both take effect before the statement runs.
231
- const sqlWithPragma = `PRAGMA busy_timeout=${SQLITE_BUSY_TIMEOUT_MS};\nPRAGMA synchronous=NORMAL;\n${sql}`;
231
+ const sqlWithPragma = `PRAGMA busy_timeout=${SQLITE_BUSY_TIMEOUT_MS};\nPRAGMA synchronous=NORMAL;\nPRAGMA journal_mode=WAL;\n${sql}`;
232
232
 
233
233
  // Write the SQL and close stdin so sqlite3 sees EOF and exits.
234
234
  proc.stdin.write(sqlWithPragma + "\n");