@hearsay-tools/squawk 0.18.0-dev.7779 → 0.18.0-dev.7788

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.
Files changed (46) hide show
  1. package/dist/artifacts/removal-slot.d.ts +3 -0
  2. package/dist/artifacts/removal-slot.js +7 -0
  3. package/dist/artifacts/removal-slot.js.map +1 -0
  4. package/dist/autosave-removal-slots.d.ts +6 -0
  5. package/dist/autosave-removal-slots.js +13 -0
  6. package/dist/autosave-removal-slots.js.map +1 -0
  7. package/dist/built-in-run-slots.d.ts +9 -0
  8. package/dist/built-in-run-slots.js +21 -0
  9. package/dist/built-in-run-slots.js.map +1 -0
  10. package/dist/ci-wait/controller.d.ts +42 -42
  11. package/dist/delegation/family-end.js +5 -1
  12. package/dist/delegation/family-end.js.map +1 -1
  13. package/dist/delegation/removal-slot.d.ts +4 -0
  14. package/dist/delegation/removal-slot.js +20 -0
  15. package/dist/delegation/removal-slot.js.map +1 -0
  16. package/dist/delegation/routes.d.ts +79 -79
  17. package/dist/delegation/transport.d.ts +76 -76
  18. package/dist/index.js +4 -0
  19. package/dist/index.js.map +1 -1
  20. package/dist/jobs/removal-slot.d.ts +4 -0
  21. package/dist/jobs/removal-slot.js +10 -0
  22. package/dist/jobs/removal-slot.js.map +1 -0
  23. package/dist/runs/removal-slots.d.ts +56 -0
  24. package/dist/runs/removal-slots.js +66 -0
  25. package/dist/runs/removal-slots.js.map +1 -0
  26. package/dist/runs/retention.d.ts +10 -7
  27. package/dist/runs/retention.js +8 -19
  28. package/dist/runs/retention.js.map +1 -1
  29. package/dist/runs/store.d.ts +4 -2
  30. package/dist/runs/store.js +18 -20
  31. package/dist/runs/store.js.map +1 -1
  32. package/dist/server/live-routes.d.ts +6 -6
  33. package/dist/server/models-routes.d.ts +13 -13
  34. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  35. package/dist/server/reports-api.d.ts +2 -2
  36. package/dist/server/runner-install-routes.d.ts +10 -10
  37. package/dist/server/server.d.ts +1595 -1595
  38. package/dist/server/workspace-live-routes.d.ts +6 -6
  39. package/package.json +4 -4
  40. package/scripts/benchmark-family-reconcile.ts +2 -0
  41. package/scripts/benchmark-run-store.ts +2 -0
  42. package/scripts/benchmark-stuck-destroys.ts +2 -0
  43. package/scripts/benchmark-worker-lifecycle.ts +2 -0
  44. package/scripts/benchmark-workspace-events.ts +2 -0
  45. package/scripts/benchmark-worktree-retention.ts +2 -0
  46. package/scripts/measure-transcript-facts-health.mjs +4 -1
@@ -16,12 +16,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
16
16
  output: {
17
17
  generation: string;
18
18
  results: ({
19
- projectId: string;
20
- runId: string;
21
- type: "error" | "reset";
22
- status: 400 | 404 | 409 | 413 | 503;
23
- error: string;
24
- } | {
25
19
  projectId: string;
26
20
  runId: string;
27
21
  type: "batch";
@@ -35,6 +29,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
35
29
  cursor: string;
36
30
  afterSeq: number;
37
31
  hasMore: boolean;
32
+ } | {
33
+ projectId: string;
34
+ runId: string;
35
+ type: "error" | "reset";
36
+ status: 400 | 404 | 409 | 413 | 503;
37
+ error: string;
38
38
  })[];
39
39
  };
40
40
  outputFormat: "json";
@@ -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: 409;
43
+ status: 400;
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: 400;
56
+ status: 409;
57
57
  input: {
58
58
  query: {
59
59
  q?: string | undefined;
@@ -51,15 +51,11 @@ export declare function createRunnerInstallRoutes(options: {
51
51
  "/runner-install/:runner": {
52
52
  $post: {
53
53
  output: {
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;
54
+ error: string;
55
+ code?: "invalid_input" | undefined;
60
56
  };
61
57
  outputFormat: "json";
62
- status: 202;
58
+ status: 400;
63
59
  input: {
64
60
  param: {
65
61
  runner: string;
@@ -71,11 +67,15 @@ export declare function createRunnerInstallRoutes(options: {
71
67
  };
72
68
  } | {
73
69
  output: {
74
- error: string;
75
- code?: "invalid_input" | undefined;
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;
76
76
  };
77
77
  outputFormat: "json";
78
- status: 400;
78
+ status: 202;
79
79
  input: {
80
80
  param: {
81
81
  runner: string;