@hearsay-tools/squawk 0.19.0-pr4533.8987 → 0.19.0-pr4534.8988

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,19 +344,6 @@ 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
- } | {
360
347
  output: {
361
348
  error: string;
362
349
  code?: "invalid_input" | undefined;
@@ -420,6 +407,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
420
407
  sha: string;
421
408
  };
422
409
  };
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
  } & {
@@ -94,6 +94,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
94
94
  } | undefined;
95
95
  invalidAsk?: boolean | undefined;
96
96
  delegation?: {
97
+ role: "invalid";
98
+ } | {
97
99
  role: "root";
98
100
  conversation?: {
99
101
  messages: {
@@ -328,8 +330,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
328
330
  } | undefined;
329
331
  executionRevision?: number | undefined;
330
332
  executionStartSeq?: number | undefined;
331
- } | {
332
- role: "invalid";
333
333
  } | undefined;
334
334
  agentInputs?: {
335
335
  conversation?: {
@@ -1941,6 +1941,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1941
1941
  } | undefined;
1942
1942
  invalidAsk?: boolean | undefined;
1943
1943
  delegation?: {
1944
+ role: "invalid";
1945
+ } | {
1944
1946
  role: "root";
1945
1947
  conversation?: {
1946
1948
  messages: {
@@ -2175,8 +2177,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2175
2177
  } | undefined;
2176
2178
  executionRevision?: number | undefined;
2177
2179
  executionStartSeq?: number | undefined;
2178
- } | {
2179
- role: "invalid";
2180
2180
  } | undefined;
2181
2181
  agentInputs?: {
2182
2182
  conversation?: {
@@ -3156,6 +3156,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3156
3156
  } | undefined;
3157
3157
  invalidAsk?: boolean | undefined;
3158
3158
  delegation?: {
3159
+ role: "invalid";
3160
+ } | {
3159
3161
  role: "root";
3160
3162
  conversation?: {
3161
3163
  messages: {
@@ -3390,8 +3392,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3390
3392
  } | undefined;
3391
3393
  executionRevision?: number | undefined;
3392
3394
  executionStartSeq?: number | undefined;
3393
- } | {
3394
- role: "invalid";
3395
3395
  } | undefined;
3396
3396
  agentInputs?: {
3397
3397
  conversation?: {
@@ -5142,6 +5142,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5142
5142
  currentStepId?: string | undefined;
5143
5143
  error?: string | undefined;
5144
5144
  delegation?: {
5145
+ role: "invalid";
5146
+ } | {
5145
5147
  role: "root";
5146
5148
  conversation?: {
5147
5149
  messages: {
@@ -5376,8 +5378,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5376
5378
  } | undefined;
5377
5379
  executionRevision?: number | undefined;
5378
5380
  executionStartSeq?: number | undefined;
5379
- } | {
5380
- role: "invalid";
5381
5381
  } | undefined;
5382
5382
  lastWaitsError?: string | undefined;
5383
5383
  automaticWakes?: number | undefined;
@@ -5615,6 +5615,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5615
5615
  } | undefined;
5616
5616
  invalidAsk?: boolean | undefined;
5617
5617
  delegation?: {
5618
+ role: "invalid";
5619
+ } | {
5618
5620
  role: "root";
5619
5621
  conversation?: {
5620
5622
  messages: {
@@ -5849,8 +5851,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5849
5851
  } | undefined;
5850
5852
  executionRevision?: number | undefined;
5851
5853
  executionStartSeq?: number | undefined;
5852
- } | {
5853
- role: "invalid";
5854
5854
  } | undefined;
5855
5855
  agentInputs?: {
5856
5856
  conversation?: {
@@ -6806,6 +6806,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6806
6806
  } | undefined;
6807
6807
  invalidAsk?: boolean | undefined;
6808
6808
  delegation?: {
6809
+ role: "invalid";
6810
+ } | {
6809
6811
  role: "root";
6810
6812
  conversation?: {
6811
6813
  messages: {
@@ -7040,8 +7042,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7040
7042
  } | undefined;
7041
7043
  executionRevision?: number | undefined;
7042
7044
  executionStartSeq?: number | undefined;
7043
- } | {
7044
- role: "invalid";
7045
7045
  } | undefined;
7046
7046
  agentInputs?: {
7047
7047
  conversation?: {
@@ -8735,6 +8735,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8735
8735
  currentStepId?: string | undefined;
8736
8736
  error?: string | undefined;
8737
8737
  delegation?: {
8738
+ role: "invalid";
8739
+ } | {
8738
8740
  role: "root";
8739
8741
  conversation?: {
8740
8742
  messages: {
@@ -8969,8 +8971,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8969
8971
  } | undefined;
8970
8972
  executionRevision?: number | undefined;
8971
8973
  executionStartSeq?: number | undefined;
8972
- } | {
8973
- role: "invalid";
8974
8974
  } | undefined;
8975
8975
  lastWaitsError?: string | undefined;
8976
8976
  automaticWakes?: number | undefined;
@@ -9268,6 +9268,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9268
9268
  } | undefined;
9269
9269
  invalidAsk?: boolean | undefined;
9270
9270
  delegation?: {
9271
+ role: "invalid";
9272
+ } | {
9271
9273
  role: "root";
9272
9274
  conversation?: {
9273
9275
  messages: {
@@ -9502,8 +9504,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9502
9504
  } | undefined;
9503
9505
  executionRevision?: number | undefined;
9504
9506
  executionStartSeq?: number | undefined;
9505
- } | {
9506
- role: "invalid";
9507
9507
  } | undefined;
9508
9508
  agentInputs?: {
9509
9509
  conversation?: {
@@ -11327,6 +11327,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11327
11327
  currentStepId?: string | undefined;
11328
11328
  error?: string | undefined;
11329
11329
  delegation?: {
11330
+ role: "invalid";
11331
+ } | {
11330
11332
  role: "root";
11331
11333
  conversation?: {
11332
11334
  messages: {
@@ -11561,8 +11563,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11561
11563
  } | undefined;
11562
11564
  executionRevision?: number | undefined;
11563
11565
  executionStartSeq?: number | undefined;
11564
- } | {
11565
- role: "invalid";
11566
11566
  } | undefined;
11567
11567
  lastWaitsError?: string | undefined;
11568
11568
  automaticWakes?: number | undefined;
@@ -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: string;
12325
- outputFormat: "text";
12326
- status: 200;
12324
+ output: {
12325
+ error: string;
12326
+ };
12327
+ outputFormat: "json";
12328
+ status: 404;
12327
12329
  input: {
12328
12330
  param: {
12329
12331
  id: string;
12330
12332
  };
12331
12333
  };
12332
12334
  } | {
12333
- output: {
12334
- error: string;
12335
- };
12336
- outputFormat: "json";
12337
- status: 404;
12335
+ output: string;
12336
+ outputFormat: "text";
12337
+ status: 200;
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: string;
12376
- outputFormat: "text";
12377
- status: import("hono/utils/http-status").ContentfulStatusCode;
12375
+ output: {
12376
+ error: string;
12377
+ };
12378
+ outputFormat: "json";
12379
+ status: 404 | 409;
12378
12380
  input: {
12379
12381
  param: {
12380
12382
  id: string;
12381
12383
  };
12382
12384
  };
12383
12385
  } | {
12384
- output: {
12385
- error: string;
12386
- };
12387
- outputFormat: "json";
12388
- status: 404 | 409;
12386
+ output: string;
12387
+ outputFormat: "text";
12388
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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-pr4533.8987",
3
+ "version": "0.19.0-pr4534.8988",
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-pr4533.8987",
73
- "@open-mercato/cezar-contract": "0.19.0-pr4533.8987",
72
+ "@open-mercato/cezar-api-client": "0.19.0-pr4534.8988",
73
+ "@open-mercato/cezar-contract": "0.19.0-pr4534.8988",
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": "dc368c9970392c28a0f8df111e709be52569329a"
90
+ "gitHead": "aaadbdd043bab8823c3527f643cc8ebefde8d177"
91
91
  }
@@ -1,8 +1,7 @@
1
1
  // Squawk's no-wait nudge (hearsay-tools/cezarion#1234). Every native mock answers it the way an agent
2
2
  // should, by rewriting it into the mocks' own scenario prompts after the prompt is recorded: it
3
3
  // calls cezar_ask with a card (`mock:cezar-tool`). CEZ_MOCK_NUDGE_REPLY=plain answers in plain text instead, so a
4
- // test can reach the no-wait fallback. CEZ_MOCK_NUDGE_REPLY=ack-only answers `mock:ack-only`: the harness takes the
5
- // nudge and never answers it, so its reply bound decides. CEZ_MOCK_NUDGE_REPLY=done calls cezar_done, so a resumed session, whose
4
+ // test can reach the no-wait fallback. CEZ_MOCK_NUDGE_REPLY=done calls cezar_done, so a resumed session, whose
6
5
  // prompt no longer repeats the task (hearsay-tools/squawk#3882), can still finish. CEZ_MOCK_COMPLETION_REPLY, when set, is the mock prompt that
7
6
  // answers Squawk's completion refusal nudge (hearsay-tools/cezarion#1301), so a test can choose the
8
7
  // reply turn; unset, the refusal gets the mocks' ordinary reply. `mock:ack-only` is a reply every
@@ -33,7 +32,6 @@ export function answerNudge(prompt) {
33
32
  if (completion) return completion;
34
33
  if (!prompt.includes(NUDGE) || silentTailOpened()) return prompt;
35
34
  if (process.env.CEZ_MOCK_NUDGE_REPLY === 'plain') return messages(['Nothing more to add.']);
36
- if (process.env.CEZ_MOCK_NUDGE_REPLY === 'ack-only') return 'mock:ack-only';
37
35
  if (process.env.CEZ_MOCK_NUDGE_REPLY === 'done') return 'mock:cezar-done the task is complete';
38
36
  return `mock:cezar-tool cezar_ask ${base64url(JSON.stringify({ context: CONTEXT, questions: QUESTIONS }))} mock:then ${base64url('I asked how to continue.')}`;
39
37
  }