@inerrata-corporation/errata 2.0.2-dev.682 → 2.0.2-dev.685

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/errata.mjs +7 -2
  2. package/package.json +1 -1
package/errata.mjs CHANGED
@@ -53558,7 +53558,12 @@ function passLedgerPath(configDir) {
53558
53558
  function appendPassLedger(configDir, kind, durationMs, counts) {
53559
53559
  const path2 = passLedgerPath(configDir);
53560
53560
  try {
53561
- const entry = { ts: Date.now(), kind, durationMs, counts };
53561
+ const entry = {
53562
+ ts: Date.now(),
53563
+ kind,
53564
+ durationMs,
53565
+ counts: { ...counts, rssMB: Math.round(process.memoryUsage().rss / 1048576) }
53566
+ };
53562
53567
  appendFileSync2(path2, JSON.stringify(entry) + "\n");
53563
53568
  const n = (appendsSinceTrim.get(path2) ?? 0) + 1;
53564
53569
  if (n < TRIM_EVERY) {
@@ -55407,7 +55412,7 @@ function startLoopLagMonitor(thresholdMs = 1e3) {
55407
55412
  }
55408
55413
 
55409
55414
  // src/engine.ts
55410
- var DAEMON_VERSION = true ? "2.0.2-dev.682" : "2.0.0-alpha.0";
55415
+ var DAEMON_VERSION = true ? "2.0.2-dev.685" : "2.0.0-alpha.0";
55411
55416
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
55412
55417
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
55413
55418
  var GIT_OP_MUTE_MS = 4e3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.2-dev.682",
3
+ "version": "2.0.2-dev.685",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {