@hearsay-tools/squawk 0.19.0-pr4543.9002 → 0.19.0-pr4548.9006

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.
@@ -1727,22 +1727,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1727
1727
  "/runs/:id/worker-destroy": {
1728
1728
  $post: {
1729
1729
  output: {
1730
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1731
- readonly error: string;
1732
- readonly modelChoices?: {
1733
- runner: string;
1734
- requestedModel: string;
1735
- availableModels: {
1736
- id: string;
1737
- label: string;
1738
- description: string;
1739
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1740
- }[];
1741
- otherRunners: string[];
1742
- } | undefined;
1730
+ error: string;
1731
+ code?: "invalid_input" | undefined;
1743
1732
  };
1744
1733
  outputFormat: "json";
1745
- status: 400 | 401 | 403 | 409 | 503;
1734
+ status: 400;
1746
1735
  input: {
1747
1736
  query: {
1748
1737
  [x: string]: string | string[];
@@ -1758,11 +1747,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1758
1747
  };
1759
1748
  } | {
1760
1749
  output: {
1761
- error: string;
1762
- code?: "invalid_input" | undefined;
1750
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1751
+ readonly error: string;
1752
+ readonly modelChoices?: {
1753
+ runner: string;
1754
+ requestedModel: string;
1755
+ availableModels: {
1756
+ id: string;
1757
+ label: string;
1758
+ description: string;
1759
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1760
+ }[];
1761
+ otherRunners: string[];
1762
+ } | undefined;
1763
1763
  };
1764
1764
  outputFormat: "json";
1765
- status: 400;
1765
+ status: 400 | 401 | 403 | 409 | 503;
1766
1766
  input: {
1767
1767
  query: {
1768
1768
  [x: string]: string | string[];
@@ -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;