@hearsay-tools/squawk 0.19.0-dev.9040 → 0.19.0-dev.9043

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.
@@ -70,10 +70,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
70
70
  };
71
71
  } | {
72
72
  output: {
73
- error: string;
73
+ providers: {
74
+ requiresAccountHome?: boolean | undefined;
75
+ provider: string;
76
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
77
+ enabled?: boolean | undefined;
78
+ hint?: string | undefined;
79
+ authFailureId?: string | undefined;
80
+ profileId?: string | undefined;
81
+ }[];
74
82
  };
75
83
  outputFormat: "json";
76
- status: 500;
84
+ status: import("hono/utils/http-status").ContentfulStatusCode;
77
85
  input: {
78
86
  param: {
79
87
  provider: string;
@@ -85,18 +93,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
85
93
  };
86
94
  } | {
87
95
  output: {
88
- providers: {
89
- requiresAccountHome?: boolean | undefined;
90
- provider: string;
91
- status: "connected" | "disconnected" | "not-installed" | "unknown";
92
- enabled?: boolean | undefined;
93
- hint?: string | undefined;
94
- authFailureId?: string | undefined;
95
- profileId?: string | undefined;
96
- }[];
96
+ error: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: import("hono/utils/http-status").ContentfulStatusCode;
99
+ status: 500;
100
100
  input: {
101
101
  param: {
102
102
  provider: string;
@@ -128,10 +128,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
128
128
  };
129
129
  } | {
130
130
  output: {
131
- error: string;
131
+ providers: {
132
+ requiresAccountHome?: boolean | undefined;
133
+ provider: string;
134
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
135
+ enabled?: boolean | undefined;
136
+ hint?: string | undefined;
137
+ authFailureId?: string | undefined;
138
+ profileId?: string | undefined;
139
+ }[];
132
140
  };
133
141
  outputFormat: "json";
134
- status: 409;
142
+ status: import("hono/utils/http-status").ContentfulStatusCode;
135
143
  input: {
136
144
  param: {
137
145
  provider: string;
@@ -143,18 +151,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
143
151
  };
144
152
  } | {
145
153
  output: {
146
- providers: {
147
- requiresAccountHome?: boolean | undefined;
148
- provider: string;
149
- status: "connected" | "disconnected" | "not-installed" | "unknown";
150
- enabled?: boolean | undefined;
151
- hint?: string | undefined;
152
- authFailureId?: string | undefined;
153
- profileId?: string | undefined;
154
- }[];
154
+ error: string;
155
155
  };
156
156
  outputFormat: "json";
157
- status: import("hono/utils/http-status").ContentfulStatusCode;
157
+ status: 409;
158
158
  input: {
159
159
  param: {
160
160
  provider: string;
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
173
173
  error: string;
174
174
  };
175
175
  outputFormat: "json";
176
- status: 400;
176
+ status: 409;
177
177
  input: {
178
178
  json: {
179
179
  provider: string;
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
185
185
  error: string;
186
186
  };
187
187
  outputFormat: "json";
188
- status: 409;
188
+ status: 400;
189
189
  input: {
190
190
  json: {
191
191
  provider: string;
@@ -290,28 +290,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
290
290
  "/workspace/agent-profiles": {
291
291
  $post: {
292
292
  output: {
293
- profile: {
294
- id: string;
295
- provider: string;
296
- label: string;
297
- configDir?: string | undefined;
298
- path?: string | undefined;
299
- exists: boolean;
300
- looksValid: boolean;
301
- isDefault: boolean;
302
- status?: {
303
- requiresAccountHome?: boolean | undefined;
304
- provider: string;
305
- status: "connected" | "disconnected" | "not-installed" | "unknown";
306
- enabled?: boolean | undefined;
307
- hint?: string | undefined;
308
- authFailureId?: string | undefined;
309
- profileId?: string | undefined;
310
- } | undefined;
311
- };
293
+ error: string;
312
294
  };
313
295
  outputFormat: "json";
314
- status: 201;
296
+ status: 409;
315
297
  input: {
316
298
  json: {
317
299
  provider: string;
@@ -337,7 +319,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
337
319
  error: string;
338
320
  };
339
321
  outputFormat: "json";
340
- status: 409;
322
+ status: 500;
341
323
  input: {
342
324
  json: {
343
325
  provider: string;
@@ -347,10 +329,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
347
329
  };
348
330
  } | {
349
331
  output: {
350
- error: string;
332
+ profile: {
333
+ id: string;
334
+ provider: string;
335
+ label: string;
336
+ configDir?: string | undefined;
337
+ path?: string | undefined;
338
+ exists: boolean;
339
+ looksValid: boolean;
340
+ isDefault: boolean;
341
+ status?: {
342
+ requiresAccountHome?: boolean | undefined;
343
+ provider: string;
344
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
345
+ enabled?: boolean | undefined;
346
+ hint?: string | undefined;
347
+ authFailureId?: string | undefined;
348
+ profileId?: string | undefined;
349
+ } | undefined;
350
+ };
351
351
  };
352
352
  outputFormat: "json";
353
- status: 500;
353
+ status: 201;
354
354
  input: {
355
355
  json: {
356
356
  provider: string;
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
384
384
  error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 400;
387
+ status: 409;
388
388
  input: {
389
389
  param: {
390
390
  id: string;
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
400
400
  error: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 404;
403
+ status: 400;
404
404
  input: {
405
405
  param: {
406
406
  id: string;
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
416
416
  error: string;
417
417
  };
418
418
  outputFormat: "json";
419
- status: 409;
419
+ status: 404;
420
420
  input: {
421
421
  param: {
422
422
  id: string;
@@ -544,7 +544,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
544
544
  error: string;
545
545
  };
546
546
  outputFormat: "json";
547
- status: 400;
547
+ status: 404;
548
548
  input: {
549
549
  json: {
550
550
  projectId: string;
@@ -557,7 +557,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
557
557
  error: string;
558
558
  };
559
559
  outputFormat: "json";
560
- status: 404;
560
+ status: 400;
561
561
  input: {
562
562
  json: {
563
563
  projectId: string;
@@ -621,7 +621,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
621
621
  error: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 404;
624
+ status: 409;
625
625
  input: {
626
626
  param: {
627
627
  id: string;
@@ -632,7 +632,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
632
632
  error: string;
633
633
  };
634
634
  outputFormat: "json";
635
- status: 409;
635
+ status: 500;
636
636
  input: {
637
637
  param: {
638
638
  id: string;
@@ -643,7 +643,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
643
643
  error: string;
644
644
  };
645
645
  outputFormat: "json";
646
- status: 500;
646
+ status: 404;
647
647
  input: {
648
648
  param: {
649
649
  id: string;
@@ -52,15 +52,11 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
55
- supported: boolean;
56
- installedVersion: string | null;
57
- latestVersion: string | null;
58
- updateAvailable: boolean;
59
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
60
- error: string | null;
55
+ error: string;
56
+ code?: "invalid_input" | undefined;
61
57
  };
62
58
  outputFormat: "json";
63
- status: 202;
59
+ status: 400;
64
60
  input: {
65
61
  param: {
66
62
  runner: string;
@@ -72,11 +68,15 @@ export declare function createRunnerInstallRoutes(options: {
72
68
  };
73
69
  } | {
74
70
  output: {
75
- error: string;
76
- code?: "invalid_input" | undefined;
71
+ supported: boolean;
72
+ installedVersion: string | null;
73
+ latestVersion: string | null;
74
+ updateAvailable: boolean;
75
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
76
+ error: string | null;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 400;
79
+ status: 202;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;
@@ -94,8 +94,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
94
94
  } | undefined;
95
95
  invalidAsk?: boolean | undefined;
96
96
  delegation?: {
97
- role: "invalid";
98
- } | {
99
97
  role: "root";
100
98
  conversation?: {
101
99
  messages: {
@@ -330,6 +328,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
330
328
  } | undefined;
331
329
  executionRevision?: number | undefined;
332
330
  executionStartSeq?: number | undefined;
331
+ } | {
332
+ role: "invalid";
333
333
  } | undefined;
334
334
  agentInputs?: {
335
335
  conversation?: {
@@ -1941,8 +1941,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1941
1941
  } | undefined;
1942
1942
  invalidAsk?: boolean | undefined;
1943
1943
  delegation?: {
1944
- role: "invalid";
1945
- } | {
1946
1944
  role: "root";
1947
1945
  conversation?: {
1948
1946
  messages: {
@@ -2177,6 +2175,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2177
2175
  } | undefined;
2178
2176
  executionRevision?: number | undefined;
2179
2177
  executionStartSeq?: number | undefined;
2178
+ } | {
2179
+ role: "invalid";
2180
2180
  } | undefined;
2181
2181
  agentInputs?: {
2182
2182
  conversation?: {
@@ -3156,8 +3156,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3156
3156
  } | undefined;
3157
3157
  invalidAsk?: boolean | undefined;
3158
3158
  delegation?: {
3159
- role: "invalid";
3160
- } | {
3161
3159
  role: "root";
3162
3160
  conversation?: {
3163
3161
  messages: {
@@ -3392,6 +3390,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3392
3390
  } | undefined;
3393
3391
  executionRevision?: number | undefined;
3394
3392
  executionStartSeq?: number | undefined;
3393
+ } | {
3394
+ role: "invalid";
3395
3395
  } | undefined;
3396
3396
  agentInputs?: {
3397
3397
  conversation?: {
@@ -5142,8 +5142,6 @@ 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
- } | {
5147
5145
  role: "root";
5148
5146
  conversation?: {
5149
5147
  messages: {
@@ -5378,6 +5376,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5378
5376
  } | undefined;
5379
5377
  executionRevision?: number | undefined;
5380
5378
  executionStartSeq?: number | undefined;
5379
+ } | {
5380
+ role: "invalid";
5381
5381
  } | undefined;
5382
5382
  lastWaitsError?: string | undefined;
5383
5383
  automaticWakes?: number | undefined;
@@ -5615,8 +5615,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5615
5615
  } | undefined;
5616
5616
  invalidAsk?: boolean | undefined;
5617
5617
  delegation?: {
5618
- role: "invalid";
5619
- } | {
5620
5618
  role: "root";
5621
5619
  conversation?: {
5622
5620
  messages: {
@@ -5851,6 +5849,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5851
5849
  } | undefined;
5852
5850
  executionRevision?: number | undefined;
5853
5851
  executionStartSeq?: number | undefined;
5852
+ } | {
5853
+ role: "invalid";
5854
5854
  } | undefined;
5855
5855
  agentInputs?: {
5856
5856
  conversation?: {
@@ -6806,8 +6806,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6806
6806
  } | undefined;
6807
6807
  invalidAsk?: boolean | undefined;
6808
6808
  delegation?: {
6809
- role: "invalid";
6810
- } | {
6811
6809
  role: "root";
6812
6810
  conversation?: {
6813
6811
  messages: {
@@ -7042,6 +7040,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7042
7040
  } | undefined;
7043
7041
  executionRevision?: number | undefined;
7044
7042
  executionStartSeq?: number | undefined;
7043
+ } | {
7044
+ role: "invalid";
7045
7045
  } | undefined;
7046
7046
  agentInputs?: {
7047
7047
  conversation?: {
@@ -8735,8 +8735,6 @@ 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
- } | {
8740
8738
  role: "root";
8741
8739
  conversation?: {
8742
8740
  messages: {
@@ -8971,6 +8969,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8971
8969
  } | undefined;
8972
8970
  executionRevision?: number | undefined;
8973
8971
  executionStartSeq?: number | undefined;
8972
+ } | {
8973
+ role: "invalid";
8974
8974
  } | undefined;
8975
8975
  lastWaitsError?: string | undefined;
8976
8976
  automaticWakes?: number | undefined;
@@ -9268,8 +9268,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9268
9268
  } | undefined;
9269
9269
  invalidAsk?: boolean | undefined;
9270
9270
  delegation?: {
9271
- role: "invalid";
9272
- } | {
9273
9271
  role: "root";
9274
9272
  conversation?: {
9275
9273
  messages: {
@@ -9504,6 +9502,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9504
9502
  } | undefined;
9505
9503
  executionRevision?: number | undefined;
9506
9504
  executionStartSeq?: number | undefined;
9505
+ } | {
9506
+ role: "invalid";
9507
9507
  } | undefined;
9508
9508
  agentInputs?: {
9509
9509
  conversation?: {
@@ -11327,8 +11327,6 @@ 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
- } | {
11332
11330
  role: "root";
11333
11331
  conversation?: {
11334
11332
  messages: {
@@ -11563,6 +11561,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11563
11561
  } | undefined;
11564
11562
  executionRevision?: number | undefined;
11565
11563
  executionStartSeq?: number | undefined;
11564
+ } | {
11565
+ role: "invalid";
11566
11566
  } | undefined;
11567
11567
  lastWaitsError?: string | undefined;
11568
11568
  automaticWakes?: number | undefined;
@@ -12478,9 +12478,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12478
12478
  status: 404 | 409;
12479
12479
  input: {
12480
12480
  param: {
12481
- sha: string;
12482
- } & {
12483
12481
  id: string;
12482
+ } & {
12483
+ sha: string;
12484
12484
  };
12485
12485
  };
12486
12486
  } | {
@@ -12509,9 +12509,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12509
12509
  status: import("hono/utils/http-status").ContentfulStatusCode;
12510
12510
  input: {
12511
12511
  param: {
12512
- sha: string;
12513
- } & {
12514
12512
  id: string;
12513
+ } & {
12514
+ sha: string;
12515
12515
  };
12516
12516
  };
12517
12517
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.19.0-dev.9040",
3
+ "version": "0.19.0-dev.9043",
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.9040",
73
- "@open-mercato/cezar-contract": "0.19.0-dev.9040",
72
+ "@open-mercato/cezar-api-client": "0.19.0-dev.9043",
73
+ "@open-mercato/cezar-contract": "0.19.0-dev.9043",
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": "b4ca76fa8c62ccfe40c775680ce4085101b49e91"
90
+ "gitHead": "6b34288eb9fb6087c70d64a4d725e8c84a93f20c"
91
91
  }