@hearsay-tools/squawk 0.18.0-dev.7998 → 0.18.0-dev.7999

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.
@@ -30,19 +30,10 @@ export declare function createModelsRoutes(options: {
30
30
  };
31
31
  } | {
32
32
  output: {
33
- runner: string;
34
- models: {
35
- id: string;
36
- label: string;
37
- description: string;
38
- effortLevels?: import('../contract/index.js').EffortLevel[];
39
- }[];
40
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
41
- stale: boolean;
42
- reason?: string;
33
+ error: string;
43
34
  };
44
35
  outputFormat: "json";
45
- status: import("hono/utils/http-status").ContentfulStatusCode;
36
+ status: 400;
46
37
  input: {
47
38
  query: {
48
39
  runner: string | string[];
@@ -63,10 +54,19 @@ export declare function createModelsRoutes(options: {
63
54
  };
64
55
  } | {
65
56
  output: {
66
- error: string;
57
+ runner: string;
58
+ models: {
59
+ id: string;
60
+ label: string;
61
+ description: string;
62
+ effortLevels?: import('../contract/index.js').EffortLevel[];
63
+ }[];
64
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
65
+ stale: boolean;
66
+ reason?: string;
67
67
  };
68
68
  outputFormat: "json";
69
- status: 400;
69
+ status: import("hono/utils/http-status").ContentfulStatusCode;
70
70
  input: {
71
71
  query: {
72
72
  runner: string | string[];
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 400;
21
+ status: 409;
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: 409;
33
+ status: 400;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
40
40
  error: string;
41
41
  };
42
42
  outputFormat: "json";
43
- status: 400;
43
+ status: 409;
44
44
  input: {
45
45
  query: {
46
46
  q?: string | undefined;
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
53
53
  error: string;
54
54
  };
55
55
  outputFormat: "json";
56
- status: 409;
56
+ status: 400;
57
57
  input: {
58
58
  query: {
59
59
  q?: string | undefined;
@@ -51,11 +51,15 @@ export declare function createRunnerInstallRoutes(options: {
51
51
  "/runner-install/:runner": {
52
52
  $post: {
53
53
  output: {
54
- error: string;
55
- code?: "invalid_input" | undefined;
54
+ supported: boolean;
55
+ installedVersion: string | null;
56
+ latestVersion: string | null;
57
+ updateAvailable: boolean;
58
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
59
+ error: string | null;
56
60
  };
57
61
  outputFormat: "json";
58
- status: 400;
62
+ status: 202;
59
63
  input: {
60
64
  param: {
61
65
  runner: string;
@@ -67,15 +71,11 @@ export declare function createRunnerInstallRoutes(options: {
67
71
  };
68
72
  } | {
69
73
  output: {
70
- supported: boolean;
71
- installedVersion: string | null;
72
- latestVersion: string | null;
73
- updateAvailable: boolean;
74
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
75
- error: string | null;
74
+ error: string;
75
+ code?: "invalid_input" | undefined;
76
76
  };
77
77
  outputFormat: "json";
78
- status: 202;
78
+ status: 400;
79
79
  input: {
80
80
  param: {
81
81
  runner: string;
@@ -58,15 +58,11 @@ export declare function createRunnersRoutes(options: {
58
58
  "/runner-install/:runner": {
59
59
  $post: {
60
60
  output: {
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;
61
+ error: string;
62
+ code?: "invalid_input" | undefined;
67
63
  };
68
64
  outputFormat: "json";
69
- status: 202;
65
+ status: 400;
70
66
  input: {
71
67
  param: {
72
68
  runner: string;
@@ -78,11 +74,15 @@ export declare function createRunnersRoutes(options: {
78
74
  };
79
75
  } | {
80
76
  output: {
81
- error: string;
82
- code?: "invalid_input" | undefined;
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;
83
83
  };
84
84
  outputFormat: "json";
85
- status: 400;
85
+ status: 202;
86
86
  input: {
87
87
  param: {
88
88
  runner: string;