@hearsay-tools/squawk 0.19.0-dev.9180 → 0.19.0-dev.9182

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 (81) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/delegation/routes.d.ts +78 -78
  3. package/dist/delegation/transport.d.ts +78 -78
  4. package/dist/features/automations/automations-routes.d.ts +150 -150
  5. package/dist/features/hosts/routes.d.ts +64 -64
  6. package/dist/features/reports/routes.d.ts +2 -2
  7. package/dist/features/webhooks/routes.d.ts +38 -38
  8. package/dist/server/activity-routes.d.ts +23 -23
  9. package/dist/server/models-routes.d.ts +12 -12
  10. package/dist/server/project-settings-routes.d.ts +107 -107
  11. package/dist/server/projects-routes.d.ts +41 -41
  12. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  13. package/dist/server/providers-routes.d.ts +58 -58
  14. package/dist/server/repo-routes.d.ts +52 -52
  15. package/dist/server/runner-install-routes.d.ts +10 -10
  16. package/dist/server/runners-routes.d.ts +10 -10
  17. package/dist/server/runs-routes.d.ts +326 -326
  18. package/dist/server/server.d.ts +1195 -1195
  19. package/dist/server/workspace-identity-routes.d.ts +5 -5
  20. package/dist/server/workspace-live-routes.d.ts +5 -5
  21. package/dist/server/workspace-routes.d.ts +85 -85
  22. package/package.json +4 -4
  23. package/web/dist/assets/{accounts-section-BDUoikVg.js → accounts-section-DYQC-wSh.js} +1 -1
  24. package/web/dist/assets/{activity-motion-CYdEr0hu.js → activity-motion-XvrmbNgR.js} +1 -1
  25. package/web/dist/assets/{activity-route-D8BPLoZj.js → activity-route-Dj8ltoqG.js} +1 -1
  26. package/web/dist/assets/{agent-config-section-BO8w2cry.js → agent-config-section-D16TRCE_.js} +1 -1
  27. package/web/dist/assets/{agent-defaults-section-BBcv7Vbh.js → agent-defaults-section-Dm0khLjs.js} +1 -1
  28. package/web/dist/assets/{appearance-yF_NXlq5.js → appearance-CP6zVctf.js} +1 -1
  29. package/web/dist/assets/{archive-on-merge-field-Dh1M21D6.js → archive-on-merge-field-BA8aUtRQ.js} +1 -1
  30. package/web/dist/assets/{ask-card-2E9m5VRA.js → ask-card-CLdlwd68.js} +1 -1
  31. package/web/dist/assets/{automations-route-D27bK2j6.js → automations-route-BVDO_Kai.js} +1 -1
  32. package/web/dist/assets/{commit-list-sFxchD2V.js → commit-list-Bdekr2K7.js} +1 -1
  33. package/web/dist/assets/{diff-C5-32cRp.js → diff-Du0FsqAK.js} +2 -2
  34. package/web/dist/assets/{diff-controls-Ci36iPlK.js → diff-controls-DTC_6oqk.js} +1 -1
  35. package/web/dist/assets/{diff-view-CCtuYJNL.js → diff-view-TKooupFV.js} +1 -1
  36. package/web/dist/assets/{discard-changes-dialog-BACqR1hj.js → discard-changes-dialog-Bg-3Xbox.js} +1 -1
  37. package/web/dist/assets/{file-preview-B7T7jFYo.js → file-preview-DMJCprVk.js} +1 -1
  38. package/web/dist/assets/{git-toolbar-UkRnjuDs.js → git-toolbar-COhBdctn.js} +1 -1
  39. package/web/dist/assets/{github-CkbZgMnJ.js → github-DUTSv2Hs.js} +1 -1
  40. package/web/dist/assets/{global-activity-route-j37l-BQU.js → global-activity-route-CypEKUv_.js} +1 -1
  41. package/web/dist/assets/{index-DkQ5xrLr.js → index-BV3EQb9T.js} +4 -4
  42. package/web/dist/assets/index-Bh7COq0B.css +1 -0
  43. package/web/dist/assets/{markdown-FIfZPsax.js → markdown-0uCxcToP.js} +1 -1
  44. package/web/dist/assets/{option-select-DylfDjGi.js → option-select-DQJEHmHf.js} +1 -1
  45. package/web/dist/assets/{preferences-section-DjWfc1i-.js → preferences-section-Cvl5vyfN.js} +1 -1
  46. package/web/dist/assets/{preview-pane-connected-CfiPFvTH.js → preview-pane-connected-i3GJtDL3.js} +1 -1
  47. package/web/dist/assets/{project-location-CEX0-MZp.js → project-location-BcjOhqun.js} +1 -1
  48. package/web/dist/assets/{projects-section-Czmf0wFK.js → projects-section-CAOFPkDQ.js} +1 -1
  49. package/web/dist/assets/{prompt-templates-section-DK4CV73w.js → prompt-templates-section-BXTfLET4.js} +1 -1
  50. package/web/dist/assets/{remote-settings-notice-Dott-jyP.js → remote-settings-notice-CUK4ZFYF.js} +1 -1
  51. package/web/dist/assets/{repo-git-Djt3N2wP.js → repo-git-Dx85MEuK.js} +1 -1
  52. package/web/dist/assets/{report-reader-CrdDix7Z.js → report-reader-BDdY5kpz.js} +1 -1
  53. package/web/dist/assets/{reports-Iw4LUvz2.js → reports-DWKpm_us.js} +1 -1
  54. package/web/dist/assets/{resources-section-D3wUzdUQ.js → resources-section-D9tzbv9w.js} +1 -1
  55. package/web/dist/assets/{review-notes-drafts-xyC7GvRB.js → review-notes-drafts-BSkmq3Nj.js} +1 -1
  56. package/web/dist/assets/{review-panel-3x_2lbej.js → review-panel-C9UZjWFl.js} +1 -1
  57. package/web/dist/assets/{review-strip-CDYpq9_S.js → review-strip-qTG5JaOw.js} +1 -1
  58. package/web/dist/assets/{run-header-DZ0rkryR.js → run-header-BrUcSJu6.js} +1 -1
  59. package/web/dist/assets/{select-DC_G2no3.js → select-BUsS7uOZ.js} +1 -1
  60. package/web/dist/assets/{session-context-section-DEUv-ISr.js → session-context-section-Bgzou-NG.js} +1 -1
  61. package/web/dist/assets/{settings-agent-picker-BrFN2RaQ.js → settings-agent-picker-CH3CQhOh.js} +1 -1
  62. package/web/dist/assets/{settings-save-bar-C0pFHqte.js → settings-save-bar-cyvALSgW.js} +1 -1
  63. package/web/dist/assets/{settings-shell-BWWbVxv-.js → settings-shell-Cl-cu4r5.js} +1 -1
  64. package/web/dist/assets/{sidebar-section-BGo1zjJt.js → sidebar-section-Cj2fDrhV.js} +1 -1
  65. package/web/dist/assets/{skills-qFMQz6sm.js → skills-DLMbRR_5.js} +1 -1
  66. package/web/dist/assets/{task-changes-DKJHAtKC.js → task-changes-ito4fOGh.js} +1 -1
  67. package/web/dist/assets/{task-commits-Dtt60D0o.js → task-commits-BYOIU9zy.js} +1 -1
  68. package/web/dist/assets/{task-file-scope-FTt7SiGn.js → task-file-scope-B8EEJyHp.js} +1 -1
  69. package/web/dist/assets/{task-files-DVz4222z.js → task-files-CF0QKnm-.js} +1 -1
  70. package/web/dist/assets/{task-github-item-CJpKQ6cU.js → task-github-item-C6Fu8MvM.js} +1 -1
  71. package/web/dist/assets/{task-thread-DiYtqka4.js → task-thread-BWrvepxB.js} +1 -1
  72. package/web/dist/assets/{thread-state-pO7Wy_7R.js → thread-state-8E0eYXGu.js} +1 -1
  73. package/web/dist/assets/{use-finish-run-5S30Eu3d.js → use-finish-run-a2qZy6zr.js} +1 -1
  74. package/web/dist/assets/{use-hand-to-agent-state-BB_VmbF7.js → use-hand-to-agent-state-DT1ngmHe.js} +1 -1
  75. package/web/dist/assets/use-path-bases-CZ6F93wt.js +1 -0
  76. package/web/dist/assets/{workflows-DLuBawpi.js → workflows-2e0Sm6F1.js} +1 -1
  77. package/web/dist/assets/{workspace-tools-D4jshe-2.js → workspace-tools-D4DO9w12.js} +1 -1
  78. package/web/dist/assets/{worktrees-section-CESTBOem.js → worktrees-section-8-d6zWQ-.js} +1 -1
  79. package/web/dist/index.html +2 -2
  80. package/web/dist/assets/index-BVRdRJAN.css +0 -1
  81. package/web/dist/assets/use-path-bases-npA-uKvg.js +0 -1
@@ -121,12 +121,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
121
121
  } & {
122
122
  "/api/v1/tools/:name": {
123
123
  $post: {
124
- output: {
125
- code: string;
126
- message: string;
127
- };
124
+ output: never;
128
125
  outputFormat: "json";
129
- status: 401;
126
+ status: import("hono/utils/http-status").ContentfulStatusCode;
130
127
  input: {
131
128
  json: unknown;
132
129
  } & {
@@ -149,9 +146,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
149
146
  };
150
147
  };
151
148
  } | {
152
- output: never;
149
+ output: {
150
+ code: string;
151
+ message: string;
152
+ };
153
153
  outputFormat: "json";
154
- status: import("hono/utils/http-status").ContentfulStatusCode;
154
+ status: 401;
155
155
  input: {
156
156
  json: unknown;
157
157
  } & {
@@ -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;
@@ -79,18 +91,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
79
91
  offset?: string | undefined;
80
92
  };
81
93
  };
82
- } | {
83
- output: {
84
- error: string;
85
- code?: "invalid_input" | undefined;
86
- };
87
- outputFormat: "json";
88
- status: 400;
89
- input: {
90
- query: {
91
- offset?: string | undefined;
92
- };
93
- };
94
94
  };
95
95
  };
96
96
  } & {
@@ -677,6 +677,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
677
677
  } & {
678
678
  "/:workerId": {
679
679
  $get: {
680
+ output: {
681
+ error: string;
682
+ code?: "invalid_input" | undefined;
683
+ };
684
+ outputFormat: "json";
685
+ status: 400;
686
+ input: {
687
+ param: {
688
+ workerId: string;
689
+ };
690
+ };
691
+ } | {
680
692
  output: {
681
693
  workerId: string;
682
694
  settled: boolean;
@@ -801,7 +813,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
801
813
  workerId: string;
802
814
  };
803
815
  };
804
- } | {
816
+ };
817
+ };
818
+ } & {
819
+ "/:workerId/collect": {
820
+ $post: {
805
821
  output: {
806
822
  error: string;
807
823
  code?: "invalid_input" | undefined;
@@ -812,12 +828,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
812
828
  param: {
813
829
  workerId: string;
814
830
  };
831
+ } & {
832
+ json: Record<string, never>;
815
833
  };
816
- };
817
- };
818
- } & {
819
- "/:workerId/collect": {
820
- $post: {
834
+ } | {
821
835
  output: {
822
836
  workerId: string;
823
837
  parentRunId: string;
@@ -942,7 +956,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
942
956
  } & {
943
957
  json: Record<string, never>;
944
958
  };
945
- } | {
959
+ };
960
+ };
961
+ } & {
962
+ "/:workerId/steer": {
963
+ $post: {
946
964
  output: {
947
965
  error: string;
948
966
  code?: "invalid_input" | undefined;
@@ -954,13 +972,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
954
972
  workerId: string;
955
973
  };
956
974
  } & {
957
- json: Record<string, never>;
975
+ json: {
976
+ text: string;
977
+ };
958
978
  };
959
- };
960
- };
961
- } & {
962
- "/:workerId/steer": {
963
- $post: {
979
+ } | {
964
980
  output: {
965
981
  workerId: string;
966
982
  state: "delivered" | "queued";
@@ -976,7 +992,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
976
992
  text: string;
977
993
  };
978
994
  };
979
- } | {
995
+ };
996
+ };
997
+ } & {
998
+ "/:workerId/stop": {
999
+ $post: {
980
1000
  output: {
981
1001
  error: string;
982
1002
  code?: "invalid_input" | undefined;
@@ -988,15 +1008,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
988
1008
  workerId: string;
989
1009
  };
990
1010
  } & {
991
- json: {
992
- text: string;
993
- };
1011
+ json: Record<string, never>;
994
1012
  };
995
- };
996
- };
997
- } & {
998
- "/:workerId/stop": {
999
- $post: {
1013
+ } | {
1000
1014
  output: {
1001
1015
  workerId: string;
1002
1016
  state: "stopping" | "terminated";
@@ -1010,7 +1024,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1010
1024
  } & {
1011
1025
  json: Record<string, never>;
1012
1026
  };
1013
- } | {
1027
+ };
1028
+ };
1029
+ } & {
1030
+ "/:workerId/destroy": {
1031
+ $post: {
1014
1032
  output: {
1015
1033
  error: string;
1016
1034
  code?: "invalid_input" | undefined;
@@ -1022,13 +1040,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1022
1040
  workerId: string;
1023
1041
  };
1024
1042
  } & {
1025
- json: Record<string, never>;
1043
+ json: {
1044
+ discardWork?: true | undefined;
1045
+ };
1026
1046
  };
1027
- };
1028
- };
1029
- } & {
1030
- "/:workerId/destroy": {
1031
- $post: {
1047
+ } | {
1032
1048
  output: {
1033
1049
  workerId: string;
1034
1050
  state: "complete" | "incomplete";
@@ -1057,22 +1073,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1057
1073
  discardWork?: true | undefined;
1058
1074
  };
1059
1075
  };
1060
- } | {
1061
- output: {
1062
- error: string;
1063
- code?: "invalid_input" | undefined;
1064
- };
1065
- outputFormat: "json";
1066
- status: 400;
1067
- input: {
1068
- param: {
1069
- workerId: string;
1070
- };
1071
- } & {
1072
- json: {
1073
- discardWork?: true | undefined;
1074
- };
1075
- };
1076
1076
  } | {
1077
1077
  output: {
1078
1078
  workerId: string;
@@ -1108,18 +1108,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1108
1108
  "/:workerId/summary": {
1109
1109
  $post: {
1110
1110
  output: {
1111
- workerId: string;
1112
- revision: number;
1113
- source: "assistant" | "failure";
1114
- seq: number;
1115
- totalLines: number;
1116
- offset: number;
1117
- lineCount: number;
1118
- text: string;
1119
- nextOffset?: number | undefined;
1111
+ error: string;
1112
+ code?: "invalid_input" | undefined;
1120
1113
  };
1121
1114
  outputFormat: "json";
1122
- status: 200;
1115
+ status: 400;
1123
1116
  input: {
1124
1117
  param: {
1125
1118
  workerId: string;
@@ -1132,11 +1125,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1132
1125
  };
1133
1126
  } | {
1134
1127
  output: {
1135
- error: string;
1136
- code?: "invalid_input" | undefined;
1128
+ workerId: string;
1129
+ revision: number;
1130
+ source: "assistant" | "failure";
1131
+ seq: number;
1132
+ totalLines: number;
1133
+ offset: number;
1134
+ lineCount: number;
1135
+ text: string;
1136
+ nextOffset?: number | undefined;
1137
1137
  };
1138
1138
  outputFormat: "json";
1139
- status: 400;
1139
+ status: 200;
1140
1140
  input: {
1141
1141
  param: {
1142
1142
  workerId: string;
@@ -1153,13 +1153,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1153
1153
  "/:workerId/diff": {
1154
1154
  $get: {
1155
1155
  output: {
1156
- workerId: string;
1157
- baselineSha: string;
1158
- diff: string;
1159
- truncated: boolean;
1156
+ error: string;
1157
+ code?: "invalid_input" | undefined;
1160
1158
  };
1161
1159
  outputFormat: "json";
1162
- status: 200;
1160
+ status: 400;
1163
1161
  input: {
1164
1162
  param: {
1165
1163
  workerId: string;
@@ -1167,11 +1165,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1167
1165
  };
1168
1166
  } | {
1169
1167
  output: {
1170
- error: string;
1171
- code?: "invalid_input" | undefined;
1168
+ workerId: string;
1169
+ baselineSha: string;
1170
+ diff: string;
1171
+ truncated: boolean;
1172
1172
  };
1173
1173
  outputFormat: "json";
1174
- status: 400;
1174
+ status: 200;
1175
1175
  input: {
1176
1176
  param: {
1177
1177
  workerId: string;
@@ -2,18 +2,6 @@ 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
- } | {
17
5
  output: {
18
6
  workers: {
19
7
  workerId: string;
@@ -66,6 +54,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
66
54
  offset?: string | undefined;
67
55
  };
68
56
  };
57
+ } | {
58
+ output: {
59
+ error: string;
60
+ code?: "invalid_input" | undefined;
61
+ };
62
+ outputFormat: "json";
63
+ status: 400;
64
+ input: {
65
+ query: {
66
+ offset?: string | undefined;
67
+ };
68
+ };
69
69
  };
70
70
  };
71
71
  } & {
@@ -652,18 +652,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
652
652
  } & {
653
653
  "/:workerId": {
654
654
  $get: {
655
- output: {
656
- error: string;
657
- code?: "invalid_input" | undefined;
658
- };
659
- outputFormat: "json";
660
- status: 400;
661
- input: {
662
- param: {
663
- workerId: string;
664
- };
665
- };
666
- } | {
667
655
  output: {
668
656
  workerId: string;
669
657
  settled: boolean;
@@ -788,11 +776,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
788
776
  workerId: string;
789
777
  };
790
778
  };
791
- };
792
- };
793
- } & {
794
- "/:workerId/collect": {
795
- $post: {
779
+ } | {
796
780
  output: {
797
781
  error: string;
798
782
  code?: "invalid_input" | undefined;
@@ -803,10 +787,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
803
787
  param: {
804
788
  workerId: string;
805
789
  };
806
- } & {
807
- json: Record<string, never>;
808
790
  };
809
- } | {
791
+ };
792
+ };
793
+ } & {
794
+ "/:workerId/collect": {
795
+ $post: {
810
796
  output: {
811
797
  workerId: string;
812
798
  parentRunId: string;
@@ -931,11 +917,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
931
917
  } & {
932
918
  json: Record<string, never>;
933
919
  };
934
- };
935
- };
936
- } & {
937
- "/:workerId/steer": {
938
- $post: {
920
+ } | {
939
921
  output: {
940
922
  error: string;
941
923
  code?: "invalid_input" | undefined;
@@ -947,11 +929,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
947
929
  workerId: string;
948
930
  };
949
931
  } & {
950
- json: {
951
- text: string;
952
- };
932
+ json: Record<string, never>;
953
933
  };
954
- } | {
934
+ };
935
+ };
936
+ } & {
937
+ "/:workerId/steer": {
938
+ $post: {
955
939
  output: {
956
940
  workerId: string;
957
941
  state: "delivered" | "queued";
@@ -967,11 +951,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
967
951
  text: string;
968
952
  };
969
953
  };
970
- };
971
- };
972
- } & {
973
- "/:workerId/stop": {
974
- $post: {
954
+ } | {
975
955
  output: {
976
956
  error: string;
977
957
  code?: "invalid_input" | undefined;
@@ -983,9 +963,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
983
963
  workerId: string;
984
964
  };
985
965
  } & {
986
- json: Record<string, never>;
966
+ json: {
967
+ text: string;
968
+ };
987
969
  };
988
- } | {
970
+ };
971
+ };
972
+ } & {
973
+ "/:workerId/stop": {
974
+ $post: {
989
975
  output: {
990
976
  workerId: string;
991
977
  state: "stopping" | "terminated";
@@ -999,11 +985,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
999
985
  } & {
1000
986
  json: Record<string, never>;
1001
987
  };
1002
- };
1003
- };
1004
- } & {
1005
- "/:workerId/destroy": {
1006
- $post: {
988
+ } | {
1007
989
  output: {
1008
990
  error: string;
1009
991
  code?: "invalid_input" | undefined;
@@ -1015,11 +997,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1015
997
  workerId: string;
1016
998
  };
1017
999
  } & {
1018
- json: {
1019
- discardWork?: true | undefined;
1020
- };
1000
+ json: Record<string, never>;
1021
1001
  };
1022
- } | {
1002
+ };
1003
+ };
1004
+ } & {
1005
+ "/:workerId/destroy": {
1006
+ $post: {
1023
1007
  output: {
1024
1008
  workerId: string;
1025
1009
  state: "complete" | "incomplete";
@@ -1048,6 +1032,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1048
1032
  discardWork?: true | undefined;
1049
1033
  };
1050
1034
  };
1035
+ } | {
1036
+ output: {
1037
+ error: string;
1038
+ code?: "invalid_input" | undefined;
1039
+ };
1040
+ outputFormat: "json";
1041
+ status: 400;
1042
+ input: {
1043
+ param: {
1044
+ workerId: string;
1045
+ };
1046
+ } & {
1047
+ json: {
1048
+ discardWork?: true | undefined;
1049
+ };
1050
+ };
1051
1051
  } | {
1052
1052
  output: {
1053
1053
  workerId: string;
@@ -1083,11 +1083,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1083
1083
  "/:workerId/summary": {
1084
1084
  $post: {
1085
1085
  output: {
1086
- error: string;
1087
- code?: "invalid_input" | undefined;
1086
+ workerId: string;
1087
+ revision: number;
1088
+ source: "assistant" | "failure";
1089
+ seq: number;
1090
+ totalLines: number;
1091
+ offset: number;
1092
+ lineCount: number;
1093
+ text: string;
1094
+ nextOffset?: number | undefined;
1088
1095
  };
1089
1096
  outputFormat: "json";
1090
- status: 400;
1097
+ status: 200;
1091
1098
  input: {
1092
1099
  param: {
1093
1100
  workerId: string;
@@ -1100,18 +1107,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1100
1107
  };
1101
1108
  } | {
1102
1109
  output: {
1103
- workerId: string;
1104
- revision: number;
1105
- source: "assistant" | "failure";
1106
- seq: number;
1107
- totalLines: number;
1108
- offset: number;
1109
- lineCount: number;
1110
- text: string;
1111
- nextOffset?: number | undefined;
1110
+ error: string;
1111
+ code?: "invalid_input" | undefined;
1112
1112
  };
1113
1113
  outputFormat: "json";
1114
- status: 200;
1114
+ status: 400;
1115
1115
  input: {
1116
1116
  param: {
1117
1117
  workerId: string;
@@ -1128,11 +1128,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1128
1128
  "/:workerId/diff": {
1129
1129
  $get: {
1130
1130
  output: {
1131
- error: string;
1132
- code?: "invalid_input" | undefined;
1131
+ workerId: string;
1132
+ baselineSha: string;
1133
+ diff: string;
1134
+ truncated: boolean;
1133
1135
  };
1134
1136
  outputFormat: "json";
1135
- status: 400;
1137
+ status: 200;
1136
1138
  input: {
1137
1139
  param: {
1138
1140
  workerId: string;
@@ -1140,13 +1142,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1140
1142
  };
1141
1143
  } | {
1142
1144
  output: {
1143
- workerId: string;
1144
- baselineSha: string;
1145
- diff: string;
1146
- truncated: boolean;
1145
+ error: string;
1146
+ code?: "invalid_input" | undefined;
1147
1147
  };
1148
1148
  outputFormat: "json";
1149
- status: 200;
1149
+ status: 400;
1150
1150
  input: {
1151
1151
  param: {
1152
1152
  workerId: string;