@hearsay-tools/squawk 0.18.0-dev.6089 → 0.18.0-dev.6093

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.
@@ -7,12 +7,6 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
7
7
  output: {
8
8
  generation: string;
9
9
  results: ({
10
- projectId: string;
11
- runId: string;
12
- type: "error" | "reset";
13
- status: 400 | 404 | 409 | 413 | 503;
14
- error: string;
15
- } | {
16
10
  projectId: string;
17
11
  runId: string;
18
12
  type: "batch";
@@ -26,6 +20,12 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
26
20
  cursor: string;
27
21
  afterSeq: number;
28
22
  hasMore: boolean;
23
+ } | {
24
+ projectId: string;
25
+ runId: string;
26
+ type: "error" | "reset";
27
+ status: 400 | 404 | 409 | 413 | 503;
28
+ error: string;
29
29
  })[];
30
30
  };
31
31
  outputFormat: "json";
@@ -18,25 +18,6 @@ export interface VoiceRouteDeps {
18
18
  export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
19
19
  "/voice/decide": {
20
20
  $post: {
21
- output: {
22
- error: string;
23
- };
24
- outputFormat: "json";
25
- status: 503;
26
- input: {
27
- json: {
28
- text: string;
29
- sidebarView: "active" | "automations";
30
- openRunId?: string | undefined;
31
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
32
- askRequestId?: string | null | undefined;
33
- proposal?: {
34
- decisionId: string;
35
- action: "answer" | "tell";
36
- } | undefined;
37
- };
38
- };
39
- } | {
40
21
  output: {
41
22
  action: "open";
42
23
  decisionId: string;
@@ -94,6 +75,25 @@ export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/ho
94
75
  } | undefined;
95
76
  };
96
77
  };
78
+ } | {
79
+ output: {
80
+ error: string;
81
+ };
82
+ outputFormat: "json";
83
+ status: 503;
84
+ input: {
85
+ json: {
86
+ text: string;
87
+ sidebarView: "active" | "automations";
88
+ openRunId?: string | undefined;
89
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
90
+ askRequestId?: string | null | undefined;
91
+ proposal?: {
92
+ decisionId: string;
93
+ action: "answer" | "tell";
94
+ } | undefined;
95
+ };
96
+ };
97
97
  };
98
98
  };
99
99
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-dev.6089",
3
+ "version": "0.18.0-dev.6093",
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.18.0-dev.6089",
64
- "@open-mercato/cezar-contract": "0.18.0-dev.6089",
63
+ "@open-mercato/cezar-api-client": "0.18.0-dev.6093",
64
+ "@open-mercato/cezar-contract": "0.18.0-dev.6093",
65
65
  "@types/node": "^24.19.1",
66
66
  "@types/ws": "^8.18.1",
67
67
  "esbuild": "^0.28.1",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "1e6c2c13f753fa2ffc4e1f7a7ec47780494159bb"
81
+ "gitHead": "98b1d49bbda1d169aec2580384e6616639bec86a"
82
82
  }
@@ -0,0 +1,2 @@
1
+ export function stall(prompt: string, options?: { closeInput?: () => void }): boolean;
2
+ export function waitForRelease(fallbackMs?: number, suffix?: string): Promise<void>;
@@ -19,7 +19,11 @@ export function stall(prompt, { closeInput } = {}) {
19
19
  }
20
20
  if (prompt.includes('ignore-term')) {
21
21
  process.removeAllListeners('SIGTERM');
22
- process.on('SIGTERM', () => {});
22
+ process.on('SIGTERM', () => {
23
+ // Receipt for tests: this handler ran and returned. The default action, or a handler
24
+ // that exits, never writes it.
25
+ try { writePid('sigterm-ignored.pid', String(process.pid)); } catch { /* the test removed cwd */ }
26
+ });
23
27
  // Test-cleanup backstop, deliberately longer than the asserted teardown bound.
24
28
  setTimeout(() => process.exit(0), 12_000);
25
29
  }