@hearsay-tools/squawk 0.19.0-dev.8984 → 0.19.0-dev.8992

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.
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
58
58
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
59
59
  "/workspace/activity": {
60
60
  $get: {
61
- output: {
62
- error: string;
63
- code?: "invalid_input" | undefined;
64
- };
65
- outputFormat: "json";
66
- status: 400;
67
- input: {
68
- query: {
69
- project?: string | undefined;
70
- };
71
- };
72
- } | {
73
- output: {
74
- error: string;
75
- };
76
- outputFormat: "json";
77
- status: 404 | 409 | 503;
78
- input: {
79
- query: {
80
- project?: string | undefined;
81
- };
82
- };
83
- } | {
84
61
  output: {
85
62
  generatedAt: string;
86
63
  projects: {
@@ -331,6 +308,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
331
308
  project?: string | undefined;
332
309
  };
333
310
  };
311
+ } | {
312
+ output: {
313
+ error: string;
314
+ code?: "invalid_input" | undefined;
315
+ };
316
+ outputFormat: "json";
317
+ status: 400;
318
+ input: {
319
+ query: {
320
+ project?: string | undefined;
321
+ };
322
+ };
323
+ } | {
324
+ output: {
325
+ error: string;
326
+ };
327
+ outputFormat: "json";
328
+ status: 404 | 409 | 503;
329
+ input: {
330
+ query: {
331
+ project?: string | undefined;
332
+ };
333
+ };
334
334
  };
335
335
  };
336
336
  }, "/", "/workspace/activity">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.19.0-dev.8984",
3
+ "version": "0.19.0-dev.8992",
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",
@@ -69,8 +69,8 @@
69
69
  "devDependencies": {
70
70
  "@babel/parser": "^8.0.8",
71
71
  "@babel/types": "^8.0.8",
72
- "@open-mercato/cezar-api-client": "0.19.0-dev.8984",
73
- "@open-mercato/cezar-contract": "0.19.0-dev.8984",
72
+ "@open-mercato/cezar-api-client": "0.19.0-dev.8992",
73
+ "@open-mercato/cezar-contract": "0.19.0-dev.8992",
74
74
  "@types/node": "^24.19.1",
75
75
  "@types/ws": "^8.18.1",
76
76
  "esbuild": "^0.28.1",
@@ -87,5 +87,5 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "gitHead": "5cea56a3ab900d448f747c8297184dab06bb1f33"
90
+ "gitHead": "5de9c0e7b1b6ae714f9842dc440b6139842d2a0e"
91
91
  }
@@ -1,11 +1,14 @@
1
1
  // hearsay-tools/cezarion#784: harness parity reads which per-session variables reached each runner's
2
2
  // native process, the one the agent's Bash and agent-browser inherit. A test preloads it into every
3
- // mock with NODE_OPTIONS=--import=<this file's URL> and sets CEZ_MOCK_ENV_RECORD (the file to write)
4
- // and CEZ_MOCK_ENV_RECORD_NAMES (comma-separated names).
5
- import { writeFileSync } from 'node:fs';
3
+ // mock with NODE_OPTIONS=--import=<this file's URL> and sets CEZ_MOCK_ENV_RECORD (the file to append
4
+ // to) and CEZ_MOCK_ENV_RECORD_NAMES (comma-separated names). Every node process that inherits the env
5
+ // runs it, the runner's mock and any helper the runner starts (an MCP bridge), so each one appends its
6
+ // own line, `{ pid, argv1, vars }`, and a reader picks the process it means by `argv1`.
7
+ import { appendFileSync } from 'node:fs';
6
8
 
7
9
  const path = process.env.CEZ_MOCK_ENV_RECORD;
8
10
  if (path) {
9
11
  const names = (process.env.CEZ_MOCK_ENV_RECORD_NAMES ?? '').split(',').filter(Boolean);
10
- writeFileSync(path, JSON.stringify(Object.fromEntries(names.map(name => [name, process.env[name] ?? null]))));
12
+ const vars = Object.fromEntries(names.map(name => [name, process.env[name] ?? null]));
13
+ appendFileSync(path, `${JSON.stringify({ pid: process.pid, argv1: process.argv[1] ?? null, vars })}\n`);
11
14
  }