@hearsay-tools/squawk 0.19.0-dev.9005 → 0.19.0-dev.9008

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: {
12325
- error: string;
12326
- };
12327
- outputFormat: "json";
12328
- status: 404;
12324
+ output: string;
12325
+ outputFormat: "text";
12326
+ status: 200;
12329
12327
  input: {
12330
12328
  param: {
12331
12329
  id: string;
12332
12330
  };
12333
12331
  };
12334
12332
  } | {
12335
- output: string;
12336
- outputFormat: "text";
12337
- status: 200;
12333
+ output: {
12334
+ error: string;
12335
+ };
12336
+ outputFormat: "json";
12337
+ status: 404;
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: {
12376
- error: string;
12377
- };
12378
- outputFormat: "json";
12379
- status: 404 | 409;
12375
+ output: string;
12376
+ outputFormat: "text";
12377
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12380
12378
  input: {
12381
12379
  param: {
12382
12380
  id: string;
12383
12381
  };
12384
12382
  };
12385
12383
  } | {
12386
- output: string;
12387
- outputFormat: "text";
12388
- status: import("hono/utils/http-status").ContentfulStatusCode;
12384
+ output: {
12385
+ error: string;
12386
+ };
12387
+ outputFormat: "json";
12388
+ status: 404 | 409;
12389
12389
  input: {
12390
12390
  param: {
12391
12391
  id: string;