@hearsay-tools/squawk 0.19.0-dev.8689 → 0.19.0-dev.8696

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.
@@ -315,6 +315,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
315
315
  } & {
316
316
  "/repo/commit/:sha": {
317
317
  $get: {
318
+ output: string;
319
+ outputFormat: "text";
320
+ status: import("hono/utils/http-status").ContentfulStatusCode;
321
+ input: {
322
+ query: {
323
+ structured?: string | undefined;
324
+ };
325
+ } & {
326
+ param: {
327
+ sha: string;
328
+ };
329
+ };
330
+ } | {
318
331
  output: {
319
332
  error: string;
320
333
  code?: "invalid_input" | undefined;
@@ -378,19 +391,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
378
391
  sha: string;
379
392
  };
380
393
  };
381
- } | {
382
- output: string;
383
- outputFormat: "text";
384
- status: import("hono/utils/http-status").ContentfulStatusCode;
385
- input: {
386
- query: {
387
- structured?: string | undefined;
388
- };
389
- } & {
390
- param: {
391
- sha: string;
392
- };
393
- };
394
394
  };
395
395
  };
396
396
  } & {
@@ -12300,20 +12300,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12300
12300
  } & {
12301
12301
  "/runs/:id/handoff": {
12302
12302
  $get: {
12303
- output: {
12304
- error: string;
12305
- };
12306
- outputFormat: "json";
12307
- status: 404;
12303
+ output: string;
12304
+ outputFormat: "text";
12305
+ status: 200;
12308
12306
  input: {
12309
12307
  param: {
12310
12308
  id: string;
12311
12309
  };
12312
12310
  };
12313
12311
  } | {
12314
- output: string;
12315
- outputFormat: "text";
12316
- status: 200;
12312
+ output: {
12313
+ error: string;
12314
+ };
12315
+ outputFormat: "json";
12316
+ status: 404;
12317
12317
  input: {
12318
12318
  param: {
12319
12319
  id: string;
@@ -12351,20 +12351,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12351
12351
  } & {
12352
12352
  "/runs/:id/diff": {
12353
12353
  $get: {
12354
- output: {
12355
- error: string;
12356
- };
12357
- outputFormat: "json";
12358
- status: 404 | 409;
12354
+ output: string;
12355
+ outputFormat: "text";
12356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12359
12357
  input: {
12360
12358
  param: {
12361
12359
  id: string;
12362
12360
  };
12363
12361
  };
12364
12362
  } | {
12365
- output: string;
12366
- outputFormat: "text";
12367
- status: import("hono/utils/http-status").ContentfulStatusCode;
12363
+ output: {
12364
+ error: string;
12365
+ };
12366
+ outputFormat: "json";
12367
+ status: 404 | 409;
12368
12368
  input: {
12369
12369
  param: {
12370
12370
  id: string;
@@ -4720,6 +4720,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4720
4720
  } & {
4721
4721
  "/repo/commit/:sha": {
4722
4722
  $get: {
4723
+ output: string;
4724
+ outputFormat: "text";
4725
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4726
+ input: {
4727
+ query: {
4728
+ structured?: string | undefined;
4729
+ };
4730
+ } & {
4731
+ param: {
4732
+ sha: string;
4733
+ };
4734
+ };
4735
+ } | {
4723
4736
  output: {
4724
4737
  error: string;
4725
4738
  code?: "invalid_input" | undefined;
@@ -4783,19 +4796,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4783
4796
  sha: string;
4784
4797
  };
4785
4798
  };
4786
- } | {
4787
- output: string;
4788
- outputFormat: "text";
4789
- status: import("hono/utils/http-status").ContentfulStatusCode;
4790
- input: {
4791
- query: {
4792
- structured?: string | undefined;
4793
- };
4794
- } & {
4795
- param: {
4796
- sha: string;
4797
- };
4798
- };
4799
4799
  };
4800
4800
  };
4801
4801
  } & {
@@ -19290,20 +19290,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19290
19290
  } & {
19291
19291
  "/runs/:id/handoff": {
19292
19292
  $get: {
19293
- output: {
19294
- error: string;
19295
- };
19296
- outputFormat: "json";
19297
- status: 404;
19293
+ output: string;
19294
+ outputFormat: "text";
19295
+ status: 200;
19298
19296
  input: {
19299
19297
  param: {
19300
19298
  id: string;
19301
19299
  };
19302
19300
  };
19303
19301
  } | {
19304
- output: string;
19305
- outputFormat: "text";
19306
- status: 200;
19302
+ output: {
19303
+ error: string;
19304
+ };
19305
+ outputFormat: "json";
19306
+ status: 404;
19307
19307
  input: {
19308
19308
  param: {
19309
19309
  id: string;
@@ -19341,20 +19341,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19341
19341
  } & {
19342
19342
  "/runs/:id/diff": {
19343
19343
  $get: {
19344
- output: {
19345
- error: string;
19346
- };
19347
- outputFormat: "json";
19348
- status: 404 | 409;
19344
+ output: string;
19345
+ outputFormat: "text";
19346
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19349
19347
  input: {
19350
19348
  param: {
19351
19349
  id: string;
19352
19350
  };
19353
19351
  };
19354
19352
  } | {
19355
- output: string;
19356
- outputFormat: "text";
19357
- status: import("hono/utils/http-status").ContentfulStatusCode;
19353
+ output: {
19354
+ error: string;
19355
+ };
19356
+ outputFormat: "json";
19357
+ status: 404 | 409;
19358
19358
  input: {
19359
19359
  param: {
19360
19360
  id: string;
@@ -21489,6 +21489,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21489
21489
  } & {
21490
21490
  "/repo/commit/:sha": {
21491
21491
  $get: {
21492
+ output: string;
21493
+ outputFormat: "text";
21494
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21495
+ input: {
21496
+ query: {
21497
+ structured?: string | undefined;
21498
+ };
21499
+ } & {
21500
+ param: {
21501
+ sha: string;
21502
+ };
21503
+ };
21504
+ } | {
21492
21505
  output: {
21493
21506
  error: string;
21494
21507
  code?: "invalid_input" | undefined;
@@ -21552,19 +21565,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21552
21565
  sha: string;
21553
21566
  };
21554
21567
  };
21555
- } | {
21556
- output: string;
21557
- outputFormat: "text";
21558
- status: import("hono/utils/http-status").ContentfulStatusCode;
21559
- input: {
21560
- query: {
21561
- structured?: string | undefined;
21562
- };
21563
- } & {
21564
- param: {
21565
- sha: string;
21566
- };
21567
- };
21568
21568
  };
21569
21569
  };
21570
21570
  } & {
@@ -36059,20 +36059,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36059
36059
  } & {
36060
36060
  "/runs/:id/handoff": {
36061
36061
  $get: {
36062
- output: {
36063
- error: string;
36064
- };
36065
- outputFormat: "json";
36066
- status: 404;
36062
+ output: string;
36063
+ outputFormat: "text";
36064
+ status: 200;
36067
36065
  input: {
36068
36066
  param: {
36069
36067
  id: string;
36070
36068
  };
36071
36069
  };
36072
36070
  } | {
36073
- output: string;
36074
- outputFormat: "text";
36075
- status: 200;
36071
+ output: {
36072
+ error: string;
36073
+ };
36074
+ outputFormat: "json";
36075
+ status: 404;
36076
36076
  input: {
36077
36077
  param: {
36078
36078
  id: string;
@@ -36110,20 +36110,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36110
36110
  } & {
36111
36111
  "/runs/:id/diff": {
36112
36112
  $get: {
36113
- output: {
36114
- error: string;
36115
- };
36116
- outputFormat: "json";
36117
- status: 404 | 409;
36113
+ output: string;
36114
+ outputFormat: "text";
36115
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36118
36116
  input: {
36119
36117
  param: {
36120
36118
  id: string;
36121
36119
  };
36122
36120
  };
36123
36121
  } | {
36124
- output: string;
36125
- outputFormat: "text";
36126
- status: import("hono/utils/http-status").ContentfulStatusCode;
36122
+ output: {
36123
+ error: string;
36124
+ };
36125
+ outputFormat: "json";
36126
+ status: 404 | 409;
36127
36127
  input: {
36128
36128
  param: {
36129
36129
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.19.0-dev.8689",
3
+ "version": "0.19.0-dev.8696",
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.8689",
73
- "@open-mercato/cezar-contract": "0.19.0-dev.8689",
72
+ "@open-mercato/cezar-api-client": "0.19.0-dev.8696",
73
+ "@open-mercato/cezar-contract": "0.19.0-dev.8696",
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": "140068d8ba8ac09c3767b6fd6ba43bce0781393c"
90
+ "gitHead": "cf99f2feadbc10fb1d1e7b43656d724c02b335bd"
91
91
  }
@@ -5,9 +5,6 @@ import { request } from 'node:http';
5
5
  import { publishFile } from './mock-publish.mjs';
6
6
  import { basename } from 'node:path';
7
7
  import { fileURLToPath, pathToFileURL } from 'node:url';
8
- import { Client } from '@modelcontextprotocol/sdk/client/index.js';
9
- import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
10
- import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
11
8
  import { productEnv } from './product-env.mjs';
12
9
 
13
10
  export async function probeCiTool(backend, wire, pr = process.env.CEZ_MOCK_CI_PR) {
@@ -110,11 +107,13 @@ function mcpServerOf(backend, wire) {
110
107
 
111
108
  async function probeMcpTool({ server, env }, name, args) {
112
109
  if (!server) throw new Error('CI server absent');
110
+ // Loaded on use: the fixture runner's socket calls need no MCP client (hearsay-tools/squawk#4430).
111
+ const { Client } = await import('@modelcontextprotocol/sdk/client/index.js');
113
112
  const client = new Client({ name: 'offline-harness', version: '1' });
114
113
  try {
115
114
  await client.connect(server.type === 'http'
116
- ? new StreamableHTTPClientTransport(new URL(server.url), { requestInit: { headers: Object.fromEntries(server.headers.map(header => [header.name, header.value])) } })
117
- : new StdioClientTransport({ command: server.command, args: server.args, env, stderr: 'pipe' }));
115
+ ? new (await import('@modelcontextprotocol/sdk/client/streamableHttp.js')).StreamableHTTPClientTransport(new URL(server.url), { requestInit: { headers: Object.fromEntries(server.headers.map(header => [header.name, header.value])) } })
116
+ : new (await import('@modelcontextprotocol/sdk/client/stdio.js')).StdioClientTransport({ command: server.command, args: server.args, env, stderr: 'pipe' }));
118
117
  const list = await client.listTools();
119
118
  return { names: list.tools.map(tool => tool.name), response: await client.callTool({ name, arguments: args }) };
120
119
  } finally { await client.close(); }