@hearsay-tools/squawk 0.19.0-pr4526.8982 → 0.19.0-pr4531.8985
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.
|
@@ -344,6 +344,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
+
output: string;
|
|
348
|
+
outputFormat: "text";
|
|
349
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
+
input: {
|
|
351
|
+
query: {
|
|
352
|
+
structured?: string | undefined;
|
|
353
|
+
};
|
|
354
|
+
} & {
|
|
355
|
+
param: {
|
|
356
|
+
sha: string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
} | {
|
|
347
360
|
output: {
|
|
348
361
|
error: string;
|
|
349
362
|
code?: "invalid_input" | undefined;
|
|
@@ -407,19 +420,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
407
420
|
sha: string;
|
|
408
421
|
};
|
|
409
422
|
};
|
|
410
|
-
} | {
|
|
411
|
-
output: string;
|
|
412
|
-
outputFormat: "text";
|
|
413
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
-
input: {
|
|
415
|
-
query: {
|
|
416
|
-
structured?: string | undefined;
|
|
417
|
-
};
|
|
418
|
-
} & {
|
|
419
|
-
param: {
|
|
420
|
-
sha: string;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -12321,20 +12321,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12321
12321
|
} & {
|
|
12322
12322
|
"/runs/:id/handoff": {
|
|
12323
12323
|
$get: {
|
|
12324
|
-
output:
|
|
12325
|
-
|
|
12326
|
-
|
|
12327
|
-
outputFormat: "json";
|
|
12328
|
-
status: 404;
|
|
12324
|
+
output: string;
|
|
12325
|
+
outputFormat: "text";
|
|
12326
|
+
status: 200;
|
|
12329
12327
|
input: {
|
|
12330
12328
|
param: {
|
|
12331
12329
|
id: string;
|
|
12332
12330
|
};
|
|
12333
12331
|
};
|
|
12334
12332
|
} | {
|
|
12335
|
-
output:
|
|
12336
|
-
|
|
12337
|
-
|
|
12333
|
+
output: {
|
|
12334
|
+
error: string;
|
|
12335
|
+
};
|
|
12336
|
+
outputFormat: "json";
|
|
12337
|
+
status: 404;
|
|
12338
12338
|
input: {
|
|
12339
12339
|
param: {
|
|
12340
12340
|
id: string;
|
|
@@ -12372,20 +12372,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12372
12372
|
} & {
|
|
12373
12373
|
"/runs/:id/diff": {
|
|
12374
12374
|
$get: {
|
|
12375
|
-
output:
|
|
12376
|
-
|
|
12377
|
-
|
|
12378
|
-
outputFormat: "json";
|
|
12379
|
-
status: 404 | 409;
|
|
12375
|
+
output: string;
|
|
12376
|
+
outputFormat: "text";
|
|
12377
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12380
12378
|
input: {
|
|
12381
12379
|
param: {
|
|
12382
12380
|
id: string;
|
|
12383
12381
|
};
|
|
12384
12382
|
};
|
|
12385
12383
|
} | {
|
|
12386
|
-
output:
|
|
12387
|
-
|
|
12388
|
-
|
|
12384
|
+
output: {
|
|
12385
|
+
error: string;
|
|
12386
|
+
};
|
|
12387
|
+
outputFormat: "json";
|
|
12388
|
+
status: 404 | 409;
|
|
12389
12389
|
input: {
|
|
12390
12390
|
param: {
|
|
12391
12391
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.19.0-
|
|
3
|
+
"version": "0.19.0-pr4531.8985",
|
|
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-
|
|
73
|
-
"@open-mercato/cezar-contract": "0.19.0-
|
|
72
|
+
"@open-mercato/cezar-api-client": "0.19.0-pr4531.8985",
|
|
73
|
+
"@open-mercato/cezar-contract": "0.19.0-pr4531.8985",
|
|
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": "
|
|
90
|
+
"gitHead": "f72e5fd725ce5320252950a213111e5b43f60467"
|
|
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
|
|
4
|
-
// and CEZ_MOCK_ENV_RECORD_NAMES (comma-separated names).
|
|
5
|
-
|
|
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
|
-
|
|
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
|
}
|