neurastream 0.2.34 → 0.2.35

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": "neurastream",
3
- "version": "0.2.34",
3
+ "version": "0.2.35",
4
4
  "description": "Guardrails for running many AI coding agents at once: plan queue, blockers, call budgets, provider caps, scoring, merge-verified close.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -1,5 +1,5 @@
1
1
  import { accessSync, constants, existsSync, readdirSync, realpathSync, statSync, writeFileSync } from "node:fs";
2
- import { join, relative } from "node:path";
2
+ import { join, relative, resolve } from "node:path";
3
3
  import type { Config } from "./config.ts";
4
4
  import { nowSec, strftime } from "./clock.ts";
5
5
  import { printText } from "./help.ts";
@@ -40,7 +40,7 @@ export function wipBackup(args: string[], cfg: Config): number {
40
40
 
41
41
  for (const repo of repos(cfg.paths.work_roots)) {
42
42
  const commonRaw = gitRaw(repo, ["rev-parse", "--git-common-dir"]).stdout || ".";
43
- const common = realpathSync(join(repo, commonRaw));
43
+ const common = realpathSync(resolve(repo, commonRaw));
44
44
  if (seen.has(common)) continue;
45
45
  seen.add(common);
46
46
  const du = cmd(["du", "-sm", common]);
@@ -1,6 +1,6 @@
1
1
  import { copyFileSync, existsSync, lstatSync, mkdtempSync, readdirSync, readFileSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
2
2
  import { tmpdir } from "node:os";
3
- import { join } from "node:path";
3
+ import { join, resolve } from "node:path";
4
4
  import type { Config } from "./config.ts";
5
5
  import { nowSec, strftime } from "./clock.ts";
6
6
  import { printText } from "./help.ts";
@@ -39,7 +39,7 @@ export function wipSnapshot(args: string[], cfg: Config): number {
39
39
  const worktrees: string[] = [];
40
40
  for (const repo of repos(cfg.paths.work_roots)) {
41
41
  const commonRaw = gitRaw(repo, ["rev-parse", "--git-common-dir"]).stdout || ".";
42
- const common = realpathSync(join(repo, commonRaw));
42
+ const common = realpathSync(resolve(repo, commonRaw));
43
43
  if (seen.has(common)) continue;
44
44
  seen.add(common);
45
45
  const out = gitRaw(repo, ["worktree", "list", "--porcelain"]).stdout;