@wjarka/cezarion 0.17.0-dev.5570 → 0.17.0-dev.5579

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": "@wjarka/cezarion",
3
- "version": "0.17.0-dev.5570",
3
+ "version": "0.17.0-dev.5579",
4
4
  "description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -60,8 +60,8 @@
60
60
  "devDependencies": {
61
61
  "@babel/parser": "^8.0.8",
62
62
  "@babel/types": "^8.0.8",
63
- "@open-mercato/cezar-api-client": "0.17.0-dev.5570",
64
- "@open-mercato/cezar-contract": "0.17.0-dev.5570",
63
+ "@open-mercato/cezar-api-client": "0.17.0-dev.5579",
64
+ "@open-mercato/cezar-contract": "0.17.0-dev.5579",
65
65
  "@types/node": "^24.19.1",
66
66
  "@types/ws": "^8.18.1",
67
67
  "esbuild": "^0.28.1",
@@ -7,8 +7,9 @@ import { readInstallMarker } from '../src/home/install-marker.ts';
7
7
 
8
8
  /** Benchmarks may retain an explicit home, but must never use a live installation. */
9
9
  export function benchmarkHome(home: Home): Home {
10
- if (readInstallMarker(home.root)?.kind === 'live') throw new Error('Benchmark refuses a live install marker');
11
- Home.sandbox(home.root);
10
+ const roots = new Set([home.config, home.rootOverride ?? home.root]);
11
+ if ([...roots].some(root => readInstallMarker(root)?.kind === 'live')) throw new Error('Benchmark refuses a live install marker');
12
+ Home.sandbox(home.rootOverride ?? home.root, { layout: home.layout });
12
13
  return home;
13
14
  }
14
15
 
@@ -205,7 +205,7 @@ async function runChild(options: ChildOptions, resultPath: string): Promise<void
205
205
  const { resolveHome } = await import('../src/home/resolve.ts');
206
206
  const home = resolveHome({ purpose: 'cli' });
207
207
  const { Home } = await import('../src/home/home.ts');
208
- Home.sandbox(home.root);
208
+ Home.sandbox(home.rootOverride ?? home.root, { layout: home.layout });
209
209
  process.env.HSQ_DRY_RUN = process.env.CEZ_DRY_RUN = '1';
210
210
  try {
211
211
  const { RunStore } = await import('../src/runs/store.ts');
@@ -1,5 +1,4 @@
1
1
  import { Home } from '../src/home/home.ts';
2
- import { resolveHome } from '../src/home/resolve.ts';
3
2
  /**
4
3
  * Workspace stream benchmark (hearsay-tools/cezarion#2730): what one large delegation family costs
5
4
  * on `GET /api/v1/workspace/events`, full records versus summary rows, with a task detail open or
@@ -77,8 +76,7 @@ async function benchmark(argv: string[], cleanups: Array<() => unknown>): Promis
77
76
  const repoRoot = mkdtempSync(join(tmpdir(), 'cez-bench-wsev-repo-'));
78
77
  cleanups.push(() => { for (const dir of [home, repoRoot]) rmSync(dir, { recursive: true, force: true }); });
79
78
  process.env.HSQ_HOME = process.env.CEZ_HOME = home;
80
- const selectedHome = resolveHome({ purpose: 'server' });
81
- Home.sandbox(selectedHome.root);
79
+ const selectedHome = Home.sandbox(home);
82
80
  mkdirSync(join(repoRoot, '.ai/cezar'), { recursive: true });
83
81
 
84
82
  const { values } = parseArgs({ args: argv, options: {
@@ -28,7 +28,7 @@ try {
28
28
  const { resolveHome } = await import(new URL('home/resolve.js', runtime.url));
29
29
  const home = resolveHome({ purpose: 'cli' });
30
30
  const { Home } = await import(new URL('home/home.js', runtime.url));
31
- Home.sandbox(home.root);
31
+ Home.sandbox(home.rootOverride ?? home.root, { layout: home.layout });
32
32
  // Keep git discovery away from the user's parent repository, even if TMPDIR
33
33
  // was set inside a cezar worktree. This repo contains only the experiment.
34
34
  execFileSync('git', ['init', '--initial-branch=main'], { cwd: root, stdio: 'ignore' });