@hearsay-tools/squawk 0.18.0-pr3778.7014 → 0.18.0-pr3780.7017

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 (97) hide show
  1. package/dist/ci-wait/controller.d.ts +42 -42
  2. package/dist/core/agent-runner.d.ts +13 -1
  3. package/dist/core/agent-runner.js +1 -0
  4. package/dist/core/agent-runner.js.map +1 -1
  5. package/dist/core/claude-cli-runner.d.ts +3 -0
  6. package/dist/core/claude-cli-runner.js +13 -6
  7. package/dist/core/claude-cli-runner.js.map +1 -1
  8. package/dist/core/codex-app-server-runner.d.ts +4 -18
  9. package/dist/core/codex-app-server-runner.js +43 -45
  10. package/dist/core/codex-app-server-runner.js.map +1 -1
  11. package/dist/core/codex-turn-config.d.ts +19 -0
  12. package/dist/core/codex-turn-config.js +30 -0
  13. package/dist/core/codex-turn-config.js.map +1 -0
  14. package/dist/core/managed-session.js +0 -1
  15. package/dist/core/managed-session.js.map +1 -1
  16. package/dist/core/omp-runner.d.ts +3 -0
  17. package/dist/core/omp-runner.js +32 -16
  18. package/dist/core/omp-runner.js.map +1 -1
  19. package/dist/core/omp-ui-mapper.d.ts +2 -2
  20. package/dist/core/omp-ui-mapper.js +21 -2
  21. package/dist/core/omp-ui-mapper.js.map +1 -1
  22. package/dist/core/opencode-http.d.ts +2 -0
  23. package/dist/core/opencode-http.js +25 -0
  24. package/dist/core/opencode-http.js.map +1 -0
  25. package/dist/core/opencode-questions.d.ts +3 -0
  26. package/dist/core/opencode-questions.js +66 -0
  27. package/dist/core/opencode-questions.js.map +1 -0
  28. package/dist/core/opencode-server-runner.d.ts +3 -0
  29. package/dist/core/opencode-server-runner.js +89 -98
  30. package/dist/core/opencode-server-runner.js.map +1 -1
  31. package/dist/core/pi-rpc-turn.d.ts +21 -6
  32. package/dist/core/pi-rpc-turn.js +42 -17
  33. package/dist/core/pi-rpc-turn.js.map +1 -1
  34. package/dist/core/pi-rpc-wire.d.ts +5 -0
  35. package/dist/core/pi-rpc-wire.js +27 -2
  36. package/dist/core/pi-rpc-wire.js.map +1 -1
  37. package/dist/core/pi-runner.d.ts +3 -0
  38. package/dist/core/pi-runner.js +21 -15
  39. package/dist/core/pi-runner.js.map +1 -1
  40. package/dist/core/runner-facts.d.ts +21 -0
  41. package/dist/core/runner-facts.js +5 -0
  42. package/dist/core/runner-facts.js.map +1 -1
  43. package/dist/core/skill-trigger.d.ts +10 -0
  44. package/dist/core/skill-trigger.js +32 -0
  45. package/dist/core/skill-trigger.js.map +1 -0
  46. package/dist/core/ui-events.d.ts +7 -0
  47. package/dist/delegation/routes.d.ts +75 -75
  48. package/dist/delegation/transport.d.ts +82 -82
  49. package/dist/runs/outcome-commit.d.ts +1 -1
  50. package/dist/server/reports-api.d.ts +2 -2
  51. package/dist/server/server.d.ts +1630 -1630
  52. package/dist/workflows/run/continuation-session.js +1 -1
  53. package/dist/workflows/run/continuation-session.js.map +1 -1
  54. package/dist/workflows/run/session-events.js +1 -1
  55. package/dist/workflows/run/session-events.js.map +1 -1
  56. package/dist/workflows/run/squawk-tools.js +1 -1
  57. package/dist/workflows/run/squawk-tools.js.map +1 -1
  58. package/dist/workflows/run/worker-executions.js +1 -1
  59. package/dist/workflows/run/worker-executions.js.map +1 -1
  60. package/dist/workflows/run.js +2 -2
  61. package/dist/workflows/run.js.map +1 -1
  62. package/dist/worktree-manifest.d.ts +1 -1
  63. package/dist/worktree-manifest.js +1 -1
  64. package/package.json +4 -4
  65. package/scripts/mock-claude.mjs +18 -3
  66. package/scripts/mock-codex-app-server.mjs +14 -0
  67. package/scripts/mock-omp-rpc.mjs +10 -2
  68. package/scripts/mock-opencode-serve.mjs +37 -0
  69. package/scripts/mock-pi-rpc.mjs +16 -4
  70. package/scripts/mock-skill-trigger-data.mjs +168 -0
  71. package/scripts/mock-skill-trigger.mjs +34 -0
  72. package/web/dist/assets/{activity-motion-CXY7UQb8.js → activity-motion-DAjCyDzm.js} +1 -1
  73. package/web/dist/assets/{activity-route-CWdkKOcU.js → activity-route-6spKzFa-.js} +1 -1
  74. package/web/dist/assets/{commit-diff-panel-CilF4ucO.js → commit-diff-panel-uoyOydBG.js} +1 -1
  75. package/web/dist/assets/{diff-wu8MI0pe.js → diff-BefwAEc1.js} +2 -2
  76. package/web/dist/assets/{diff-view-BOeIj6fq.js → diff-view-CXtKy-02.js} +1 -1
  77. package/web/dist/assets/{file-preview-DDISrpoK.js → file-preview-TYTU1SBo.js} +1 -1
  78. package/web/dist/assets/{git-toolbar-DSFDBGUd.js → git-toolbar-BwD-ShUL.js} +1 -1
  79. package/web/dist/assets/{github-DBRyp_7V.js → github-DKC9GSOG.js} +1 -1
  80. package/web/dist/assets/{global-activity-route-8gXrkEI5.js → global-activity-route-BnUvjKgI.js} +1 -1
  81. package/web/dist/assets/{index-1Zw2w-1r.js → index-C6UoXbYK.js} +3 -3
  82. package/web/dist/assets/{preview-pane-connected-B_yXVXFs.js → preview-pane-connected-ZAr18goj.js} +3 -3
  83. package/web/dist/assets/{repo-git-cpVcsnni.js → repo-git-Y7MKcjLs.js} +1 -1
  84. package/web/dist/assets/{report-reader-BRw4X5KH.js → report-reader-CIcjK2_U.js} +1 -1
  85. package/web/dist/assets/{reports-BK0543bM.js → reports-SBr0VYKU.js} +1 -1
  86. package/web/dist/assets/{run-header-CZhtodUg.js → run-header-BSohU_tW.js} +1 -1
  87. package/web/dist/assets/{skills-0Az8jsnI.js → skills-B_NKCTPq.js} +1 -1
  88. package/web/dist/assets/{task-changes-jjPRV2ul.js → task-changes-Ozgv3HxN.js} +1 -1
  89. package/web/dist/assets/{task-commits-CxJKFd3j.js → task-commits-BxAERDIz.js} +1 -1
  90. package/web/dist/assets/{task-files-Ddk24Oe-.js → task-files-V84lmxj2.js} +1 -1
  91. package/web/dist/assets/{task-github-item-D49mwA5b.js → task-github-item-CByJ7mYg.js} +1 -1
  92. package/web/dist/assets/{task-thread-BlVvC3Mo.js → task-thread-C6v4ddX-.js} +9 -9
  93. package/web/dist/assets/thread-state-ni3Us7DE.js +4 -0
  94. package/web/dist/assets/{use-hand-to-agent-state-Cgc4s3aK.js → use-hand-to-agent-state-W5nhKd6-.js} +1 -1
  95. package/web/dist/assets/{workflows-BW6W8C0F.js → workflows-Cb0BDqy5.js} +1 -1
  96. package/web/dist/index.html +1 -1
  97. package/web/dist/assets/thread-state-DfIi2HR7.js +0 -4
@@ -27,6 +27,18 @@ export declare function delegationFailure(error: unknown): {
27
27
  export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
28
28
  "/list": {
29
29
  $get: {
30
+ output: {
31
+ error: string;
32
+ code?: "invalid_input" | undefined;
33
+ };
34
+ outputFormat: "json";
35
+ status: 400;
36
+ input: {
37
+ query: {
38
+ offset?: string | undefined;
39
+ };
40
+ };
41
+ } | {
30
42
  output: {
31
43
  workers: {
32
44
  workerId: string;
@@ -64,33 +76,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
64
76
  offset?: string | undefined;
65
77
  };
66
78
  };
67
- } | {
68
- output: {
69
- error: string;
70
- code?: "invalid_input" | undefined;
71
- };
72
- outputFormat: "json";
73
- status: 400;
74
- input: {
75
- query: {
76
- offset?: string | undefined;
77
- };
78
- };
79
79
  };
80
80
  };
81
81
  } & {
82
82
  "/discover": {
83
83
  $post: {
84
84
  output: {
85
- scope: "host-default-account";
86
- runners: {
87
- status: "connected" | "disconnected" | "not-installed" | "unknown";
88
- enabled?: boolean | undefined;
89
- hint?: string | undefined;
90
- authFailureId?: string | undefined;
91
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
92
- }[];
93
- } | {
94
85
  runner: "claude" | "codex" | "omp" | "opencode" | "pi";
95
86
  models: {
96
87
  id: string;
@@ -113,6 +104,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
113
104
  reason?: string | undefined;
114
105
  }[];
115
106
  nextOffset?: number | undefined;
107
+ } | {
108
+ scope: "host-default-account";
109
+ runners: {
110
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
111
+ enabled?: boolean | undefined;
112
+ hint?: string | undefined;
113
+ authFailureId?: string | undefined;
114
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
115
+ }[];
116
116
  };
117
117
  outputFormat: "json";
118
118
  status: 200;
@@ -221,13 +221,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
221
221
  status: 200;
222
222
  input: {
223
223
  json: {
224
- workerIds: string[];
225
- timeoutSeconds?: number | undefined;
226
- mode?: "all" | "any" | "one" | undefined;
227
- } | {
228
224
  requestIds: string[];
229
225
  mode?: "all" | "any" | "one" | undefined;
230
226
  timeoutSeconds?: number | undefined;
227
+ } | {
228
+ workerIds: string[];
229
+ timeoutSeconds?: number | undefined;
230
+ mode?: "all" | "any" | "one" | undefined;
231
231
  } | {
232
232
  peerIds: string[];
233
233
  timeoutSeconds?: number | undefined;
@@ -613,6 +613,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
613
613
  } & {
614
614
  "/:workerId": {
615
615
  $get: {
616
+ output: {
617
+ error: string;
618
+ code?: "invalid_input" | undefined;
619
+ };
620
+ outputFormat: "json";
621
+ status: 400;
622
+ input: {
623
+ param: {
624
+ workerId: string;
625
+ };
626
+ };
627
+ } | {
616
628
  output: {
617
629
  workerId: string;
618
630
  parentRunId: string;
@@ -720,7 +732,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
720
732
  workerId: string;
721
733
  };
722
734
  };
723
- } | {
735
+ };
736
+ };
737
+ } & {
738
+ "/:workerId/collect": {
739
+ $post: {
724
740
  output: {
725
741
  error: string;
726
742
  code?: "invalid_input" | undefined;
@@ -731,12 +747,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
731
747
  param: {
732
748
  workerId: string;
733
749
  };
750
+ } & {
751
+ json: Record<string, never>;
734
752
  };
735
- };
736
- };
737
- } & {
738
- "/:workerId/collect": {
739
- $post: {
753
+ } | {
740
754
  output: {
741
755
  workerId: string;
742
756
  parentRunId: string;
@@ -838,7 +852,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
838
852
  } & {
839
853
  json: Record<string, never>;
840
854
  };
841
- } | {
855
+ };
856
+ };
857
+ } & {
858
+ "/:workerId/steer": {
859
+ $post: {
842
860
  output: {
843
861
  error: string;
844
862
  code?: "invalid_input" | undefined;
@@ -850,13 +868,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
850
868
  workerId: string;
851
869
  };
852
870
  } & {
853
- json: Record<string, never>;
871
+ json: {
872
+ text: string;
873
+ };
854
874
  };
855
- };
856
- };
857
- } & {
858
- "/:workerId/steer": {
859
- $post: {
875
+ } | {
860
876
  output: {
861
877
  workerId: string;
862
878
  state: "delivered" | "queued";
@@ -872,7 +888,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
872
888
  text: string;
873
889
  };
874
890
  };
875
- } | {
891
+ };
892
+ };
893
+ } & {
894
+ "/:workerId/stop": {
895
+ $post: {
876
896
  output: {
877
897
  error: string;
878
898
  code?: "invalid_input" | undefined;
@@ -884,15 +904,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
884
904
  workerId: string;
885
905
  };
886
906
  } & {
887
- json: {
888
- text: string;
889
- };
907
+ json: Record<string, never>;
890
908
  };
891
- };
892
- };
893
- } & {
894
- "/:workerId/stop": {
895
- $post: {
909
+ } | {
896
910
  output: {
897
911
  workerId: string;
898
912
  state: "stopping" | "terminated";
@@ -906,7 +920,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
906
920
  } & {
907
921
  json: Record<string, never>;
908
922
  };
909
- } | {
923
+ };
924
+ };
925
+ } & {
926
+ "/:workerId/destroy": {
927
+ $post: {
910
928
  output: {
911
929
  error: string;
912
930
  code?: "invalid_input" | undefined;
@@ -920,11 +938,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
920
938
  } & {
921
939
  json: Record<string, never>;
922
940
  };
923
- };
924
- };
925
- } & {
926
- "/:workerId/destroy": {
927
- $post: {
941
+ } | {
928
942
  output: {
929
943
  workerId: string;
930
944
  state: "complete" | "incomplete";
@@ -947,20 +961,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
947
961
  } & {
948
962
  json: Record<string, never>;
949
963
  };
950
- } | {
951
- output: {
952
- error: string;
953
- code?: "invalid_input" | undefined;
954
- };
955
- outputFormat: "json";
956
- status: 400;
957
- input: {
958
- param: {
959
- workerId: string;
960
- };
961
- } & {
962
- json: Record<string, never>;
963
- };
964
964
  } | {
965
965
  output: {
966
966
  workerId: string;
@@ -990,13 +990,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
990
990
  "/:workerId/diff": {
991
991
  $get: {
992
992
  output: {
993
- workerId: string;
994
- baselineSha: string;
995
- diff: string;
996
- truncated: boolean;
993
+ error: string;
994
+ code?: "invalid_input" | undefined;
997
995
  };
998
996
  outputFormat: "json";
999
- status: 200;
997
+ status: 400;
1000
998
  input: {
1001
999
  param: {
1002
1000
  workerId: string;
@@ -1004,11 +1002,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1004
1002
  };
1005
1003
  } | {
1006
1004
  output: {
1007
- error: string;
1008
- code?: "invalid_input" | undefined;
1005
+ workerId: string;
1006
+ baselineSha: string;
1007
+ diff: string;
1008
+ truncated: boolean;
1009
1009
  };
1010
1010
  outputFormat: "json";
1011
- status: 400;
1011
+ status: 200;
1012
1012
  input: {
1013
1013
  param: {
1014
1014
  workerId: string;
@@ -2,6 +2,18 @@ import type { DelegationRoutes } from './routes.ts';
2
2
  export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
3
3
  "/list": {
4
4
  $get: {
5
+ output: {
6
+ error: string;
7
+ code?: "invalid_input" | undefined;
8
+ };
9
+ outputFormat: "json";
10
+ status: 400;
11
+ input: {
12
+ query: {
13
+ offset?: string | undefined;
14
+ };
15
+ };
16
+ } | {
5
17
  output: {
6
18
  workers: {
7
19
  workerId: string;
@@ -39,34 +51,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
39
51
  offset?: string | undefined;
40
52
  };
41
53
  };
42
- } | {
43
- output: {
44
- error: string;
45
- code?: "invalid_input" | undefined;
46
- };
47
- outputFormat: "json";
48
- status: 400;
49
- input: {
50
- query: {
51
- offset?: string | undefined;
52
- };
53
- };
54
54
  };
55
55
  };
56
56
  } & {
57
57
  "/discover": {
58
58
  $post: {
59
59
  output: {
60
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
61
- models: {
62
- id: string;
63
- label: string;
64
- description: string;
65
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
60
+ scope: "host-default-account";
61
+ runners: {
62
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
63
+ enabled?: boolean | undefined;
64
+ hint?: string | undefined;
65
+ authFailureId?: string | undefined;
66
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
66
67
  }[];
67
- source: "cache" | "live" | "unavailable";
68
- stale: boolean;
69
- reason?: string | undefined;
70
68
  } | {
71
69
  tasks: {
72
70
  id: string;
@@ -80,14 +78,16 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
80
78
  }[];
81
79
  nextOffset?: number | undefined;
82
80
  } | {
83
- scope: "host-default-account";
84
- runners: {
85
- status: "connected" | "disconnected" | "not-installed" | "unknown";
86
- enabled?: boolean | undefined;
87
- hint?: string | undefined;
88
- authFailureId?: string | undefined;
89
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
81
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
82
+ models: {
83
+ id: string;
84
+ label: string;
85
+ description: string;
86
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
90
87
  }[];
88
+ source: "cache" | "live" | "unavailable";
89
+ stale: boolean;
90
+ reason?: string | undefined;
91
91
  };
92
92
  outputFormat: "json";
93
93
  status: 200;
@@ -196,13 +196,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
196
196
  status: 200;
197
197
  input: {
198
198
  json: {
199
- requestIds: string[];
200
- mode?: "all" | "any" | "one" | undefined;
201
- timeoutSeconds?: number | undefined;
202
- } | {
203
199
  workerIds: string[];
204
200
  timeoutSeconds?: number | undefined;
205
201
  mode?: "all" | "any" | "one" | undefined;
202
+ } | {
203
+ requestIds: string[];
204
+ mode?: "all" | "any" | "one" | undefined;
205
+ timeoutSeconds?: number | undefined;
206
206
  } | {
207
207
  peerIds: string[];
208
208
  timeoutSeconds?: number | undefined;
@@ -588,6 +588,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
588
588
  } & {
589
589
  "/:workerId": {
590
590
  $get: {
591
+ output: {
592
+ error: string;
593
+ code?: "invalid_input" | undefined;
594
+ };
595
+ outputFormat: "json";
596
+ status: 400;
597
+ input: {
598
+ param: {
599
+ workerId: string;
600
+ };
601
+ };
602
+ } | {
591
603
  output: {
592
604
  workerId: string;
593
605
  parentRunId: string;
@@ -695,7 +707,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
695
707
  workerId: string;
696
708
  };
697
709
  };
698
- } | {
710
+ };
711
+ };
712
+ } & {
713
+ "/:workerId/collect": {
714
+ $post: {
699
715
  output: {
700
716
  error: string;
701
717
  code?: "invalid_input" | undefined;
@@ -706,12 +722,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
706
722
  param: {
707
723
  workerId: string;
708
724
  };
725
+ } & {
726
+ json: Record<string, never>;
709
727
  };
710
- };
711
- };
712
- } & {
713
- "/:workerId/collect": {
714
- $post: {
728
+ } | {
715
729
  output: {
716
730
  workerId: string;
717
731
  parentRunId: string;
@@ -813,7 +827,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
813
827
  } & {
814
828
  json: Record<string, never>;
815
829
  };
816
- } | {
830
+ };
831
+ };
832
+ } & {
833
+ "/:workerId/steer": {
834
+ $post: {
817
835
  output: {
818
836
  error: string;
819
837
  code?: "invalid_input" | undefined;
@@ -825,13 +843,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
825
843
  workerId: string;
826
844
  };
827
845
  } & {
828
- json: Record<string, never>;
846
+ json: {
847
+ text: string;
848
+ };
829
849
  };
830
- };
831
- };
832
- } & {
833
- "/:workerId/steer": {
834
- $post: {
850
+ } | {
835
851
  output: {
836
852
  workerId: string;
837
853
  state: "delivered" | "queued";
@@ -847,7 +863,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
847
863
  text: string;
848
864
  };
849
865
  };
850
- } | {
866
+ };
867
+ };
868
+ } & {
869
+ "/:workerId/stop": {
870
+ $post: {
851
871
  output: {
852
872
  error: string;
853
873
  code?: "invalid_input" | undefined;
@@ -859,15 +879,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
859
879
  workerId: string;
860
880
  };
861
881
  } & {
862
- json: {
863
- text: string;
864
- };
882
+ json: Record<string, never>;
865
883
  };
866
- };
867
- };
868
- } & {
869
- "/:workerId/stop": {
870
- $post: {
884
+ } | {
871
885
  output: {
872
886
  workerId: string;
873
887
  state: "stopping" | "terminated";
@@ -881,7 +895,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
881
895
  } & {
882
896
  json: Record<string, never>;
883
897
  };
884
- } | {
898
+ };
899
+ };
900
+ } & {
901
+ "/:workerId/destroy": {
902
+ $post: {
885
903
  output: {
886
904
  error: string;
887
905
  code?: "invalid_input" | undefined;
@@ -895,11 +913,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
895
913
  } & {
896
914
  json: Record<string, never>;
897
915
  };
898
- };
899
- };
900
- } & {
901
- "/:workerId/destroy": {
902
- $post: {
916
+ } | {
903
917
  output: {
904
918
  workerId: string;
905
919
  state: "complete" | "incomplete";
@@ -922,20 +936,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
922
936
  } & {
923
937
  json: Record<string, never>;
924
938
  };
925
- } | {
926
- output: {
927
- error: string;
928
- code?: "invalid_input" | undefined;
929
- };
930
- outputFormat: "json";
931
- status: 400;
932
- input: {
933
- param: {
934
- workerId: string;
935
- };
936
- } & {
937
- json: Record<string, never>;
938
- };
939
939
  } | {
940
940
  output: {
941
941
  workerId: string;
@@ -965,13 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
965
965
  "/:workerId/diff": {
966
966
  $get: {
967
967
  output: {
968
- workerId: string;
969
- baselineSha: string;
970
- diff: string;
971
- truncated: boolean;
968
+ error: string;
969
+ code?: "invalid_input" | undefined;
972
970
  };
973
971
  outputFormat: "json";
974
- status: 200;
972
+ status: 400;
975
973
  input: {
976
974
  param: {
977
975
  workerId: string;
@@ -979,11 +977,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
979
977
  };
980
978
  } | {
981
979
  output: {
982
- error: string;
983
- code?: "invalid_input" | undefined;
980
+ workerId: string;
981
+ baselineSha: string;
982
+ diff: string;
983
+ truncated: boolean;
984
984
  };
985
985
  outputFormat: "json";
986
- status: 400;
986
+ status: 200;
987
987
  input: {
988
988
  param: {
989
989
  workerId: string;
@@ -5,7 +5,7 @@ import type { RunRecord } from './store.ts';
5
5
  * Outcome writes (hearsay-tools/cezarion#1805). A write that records an outcome — an input or a
6
6
  * wait `delivered`, a wake `charged`, a wait `settled`, a question `answered` — is staged here, with
7
7
  * what it depends on, and committed by `RunStore.commitOutcome` in one transaction. Nothing outside
8
- * this module writes those fields: the `outcome-write-outside-commit-outcome` oxlint AST rule refuses
8
+ * this module writes those fields: the `outcome-write-outside-commit-outcome` ast-grep rule refuses
9
9
  * one. A conversation request outcome is the one exception: `RunStore.commitConversation` commits
10
10
  * it with the recipient's reply input, in one transaction of its own.
11
11
  *
@@ -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;