@hearsay-tools/squawk 0.18.0-pr4180.8076 → 0.18.0-pr4182.8081

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.
@@ -119,9 +119,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
119
119
  } & {
120
120
  "/api/v1/tools/:name": {
121
121
  $post: {
122
- output: never;
122
+ output: {
123
+ code: string;
124
+ message: string;
125
+ };
123
126
  outputFormat: "json";
124
- status: import("hono/utils/http-status").ContentfulStatusCode;
127
+ status: 401;
125
128
  input: {
126
129
  json: unknown;
127
130
  } & {
@@ -144,12 +147,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
144
147
  };
145
148
  };
146
149
  } | {
147
- output: {
148
- code: string;
149
- message: string;
150
- };
150
+ output: never;
151
151
  outputFormat: "json";
152
- status: 401;
152
+ status: import("hono/utils/http-status").ContentfulStatusCode;
153
153
  input: {
154
154
  json: unknown;
155
155
  } & {
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
58
58
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
59
59
  "/workspace/activity": {
60
60
  $get: {
61
- output: {
62
- error: string;
63
- code?: "invalid_input" | undefined;
64
- };
65
- outputFormat: "json";
66
- status: 400;
67
- input: {
68
- query: {
69
- project?: string | undefined;
70
- };
71
- };
72
- } | {
73
- output: {
74
- error: string;
75
- };
76
- outputFormat: "json";
77
- status: 404 | 409 | 503;
78
- input: {
79
- query: {
80
- project?: string | undefined;
81
- };
82
- };
83
- } | {
84
61
  output: {
85
62
  generatedAt: string;
86
63
  projects: {
@@ -327,6 +304,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
327
304
  project?: string | undefined;
328
305
  };
329
306
  };
307
+ } | {
308
+ output: {
309
+ error: string;
310
+ code?: "invalid_input" | undefined;
311
+ };
312
+ outputFormat: "json";
313
+ status: 400;
314
+ input: {
315
+ query: {
316
+ project?: string | undefined;
317
+ };
318
+ };
319
+ } | {
320
+ output: {
321
+ error: string;
322
+ };
323
+ outputFormat: "json";
324
+ status: 404 | 409 | 503;
325
+ input: {
326
+ query: {
327
+ project?: string | undefined;
328
+ };
329
+ };
330
330
  };
331
331
  };
332
332
  }, "/", "/workspace/activity">;
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 409;
21
+ status: 400;
22
22
  input: {
23
23
  json: {
24
24
  provider: string;
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
30
30
  error: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 400;
33
+ status: 409;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -58,11 +58,15 @@ export declare function createRunnersRoutes(options: {
58
58
  "/runner-install/:runner": {
59
59
  $post: {
60
60
  output: {
61
- error: string;
62
- code?: "invalid_input" | undefined;
61
+ supported: boolean;
62
+ installedVersion: string | null;
63
+ latestVersion: string | null;
64
+ updateAvailable: boolean;
65
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
66
+ error: string | null;
63
67
  };
64
68
  outputFormat: "json";
65
- status: 400;
69
+ status: 202;
66
70
  input: {
67
71
  param: {
68
72
  runner: string;
@@ -74,15 +78,11 @@ export declare function createRunnersRoutes(options: {
74
78
  };
75
79
  } | {
76
80
  output: {
77
- supported: boolean;
78
- installedVersion: string | null;
79
- latestVersion: string | null;
80
- updateAvailable: boolean;
81
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
82
- error: string | null;
81
+ error: string;
82
+ code?: "invalid_input" | undefined;
83
83
  };
84
84
  outputFormat: "json";
85
- status: 202;
85
+ status: 400;
86
86
  input: {
87
87
  param: {
88
88
  runner: string;