@hearsay-tools/squawk 0.19.0-pr4490.8873 → 0.19.0-pr4490.8875

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 (58) hide show
  1. package/dist/delegation/routes.d.ts +65 -65
  2. package/dist/delegation/transport.d.ts +65 -65
  3. package/dist/server/activity-routes.d.ts +23 -23
  4. package/dist/server/models-routes.d.ts +12 -12
  5. package/dist/server/projects-routes.d.ts +45 -45
  6. package/dist/server/repo-routes.d.ts +34 -34
  7. package/dist/server/reports-api.d.ts +2 -2
  8. package/dist/server/runs-routes.d.ts +304 -304
  9. package/dist/server/server.d.ts +1312 -1312
  10. package/dist/server/workspace-routes.d.ts +84 -84
  11. package/package.json +4 -4
  12. package/web/dist/assets/{accounts-section-DV4D8x6s.js → accounts-section-UJZxye-z.js} +1 -1
  13. package/web/dist/assets/{activity-motion-CTe-PQi2.js → activity-motion-BnRBlOlc.js} +1 -1
  14. package/web/dist/assets/{activity-route-C5p0BeZh.js → activity-route-weCjVQ4j.js} +1 -1
  15. package/web/dist/assets/{agent-config-section-cBbUrdmY.js → agent-config-section-CGrPPEQR.js} +1 -1
  16. package/web/dist/assets/{agent-defaults-section-DlvH1nl0.js → agent-defaults-section-mocZoAgX.js} +1 -1
  17. package/web/dist/assets/{appearance-zZWA_EUA.js → appearance-dnjgFECm.js} +1 -1
  18. package/web/dist/assets/{automations-route-tfEHRkh9.js → automations-route-Dj5mLsB_.js} +1 -1
  19. package/web/dist/assets/{commit-list-DhsJeEkx.js → commit-list-C8pTI7mp.js} +1 -1
  20. package/web/dist/assets/{diff-kWvYndl0.js → diff-BUeqeifm.js} +2 -2
  21. package/web/dist/assets/{diff-controls-C2h_XCGT.js → diff-controls-n4THBHKo.js} +1 -1
  22. package/web/dist/assets/{diff-view-DRtCdNhS.js → diff-view-mEcoOmP6.js} +1 -1
  23. package/web/dist/assets/{file-preview-Bx_kF-I_.js → file-preview-CQdNEFHu.js} +1 -1
  24. package/web/dist/assets/{git-toolbar-nC0nsrj6.js → git-toolbar-AbHPGj3l.js} +1 -1
  25. package/web/dist/assets/{github-BqBvQaxB.js → github-DriOZy15.js} +1 -1
  26. package/web/dist/assets/{global-activity-route-BV9HQUVU.js → global-activity-route-u1XpCWGK.js} +1 -1
  27. package/web/dist/assets/{index-D86OYRuh.js → index-_LohQUeF.js} +4 -4
  28. package/web/dist/assets/{markdown-Ddp9-ORQ.js → markdown-DJkMnwyc.js} +1 -1
  29. package/web/dist/assets/{notifications-section-DgSyGvhv.js → notifications-section-CBdv2T-_.js} +1 -1
  30. package/web/dist/assets/{preview-pane-connected-QZvZZis4.js → preview-pane-connected-B00yRXAd.js} +1 -1
  31. package/web/dist/assets/{projects-section-OqZXrLCg.js → projects-section-BXkVtC6H.js} +1 -1
  32. package/web/dist/assets/{prompt-templates-section-BbfWvpJO.js → prompt-templates-section-RF3GKyNP.js} +1 -1
  33. package/web/dist/assets/{remote-settings-notice-Dm4PR4Of.js → remote-settings-notice-BJwP8Vi8.js} +1 -1
  34. package/web/dist/assets/{repo-git-ZqdZ_cL0.js → repo-git-DuPmx5Mc.js} +1 -1
  35. package/web/dist/assets/{report-reader-BWk9nxBa.js → report-reader-DDGKyj6B.js} +1 -1
  36. package/web/dist/assets/{reports-DxQL5jaD.js → reports-CUVVGSNs.js} +1 -1
  37. package/web/dist/assets/{resources-section-Bh6GDYbp.js → resources-section-CO9ePehe.js} +1 -1
  38. package/web/dist/assets/{review-panel-DQhdSDvI.js → review-panel-5IbppuWS.js} +1 -1
  39. package/web/dist/assets/{run-header-BS8WJ0Uu.js → run-header-BbjUWTs-.js} +1 -1
  40. package/web/dist/assets/{select-qMsQmN8s.js → select-Cnv2IYdg.js} +1 -1
  41. package/web/dist/assets/{session-context-section-BOAwAnqs.js → session-context-section-nSf23HuY.js} +1 -1
  42. package/web/dist/assets/{settings-agent-picker-DDSE9d4t.js → settings-agent-picker-DFTg6k6E.js} +1 -1
  43. package/web/dist/assets/{settings-shell-CUfPbQ9U.js → settings-shell-BlNdAbSK.js} +1 -1
  44. package/web/dist/assets/{sidebar-section-B7HLZyEn.js → sidebar-section-DmBlDKYf.js} +1 -1
  45. package/web/dist/assets/{skills-B5ZY0Jog.js → skills-BmwnEyVF.js} +1 -1
  46. package/web/dist/assets/{task-changes-CHxrshsK.js → task-changes-BGxKFPHy.js} +1 -1
  47. package/web/dist/assets/{task-commits-Cocal0DG.js → task-commits-C3Aieqql.js} +1 -1
  48. package/web/dist/assets/{task-file-scope-DgBJGEGJ.js → task-file-scope-EBj6BbvL.js} +1 -1
  49. package/web/dist/assets/{task-files-CU6BfbHr.js → task-files-BkrKQUzS.js} +1 -1
  50. package/web/dist/assets/{task-github-item-yEYaW86U.js → task-github-item-DdpDpxtU.js} +1 -1
  51. package/web/dist/assets/task-thread-CbBHJkXy.js +2 -0
  52. package/web/dist/assets/{thread-state-OACOPh69.js → thread-state-9hRlv8vK.js} +1 -1
  53. package/web/dist/assets/{use-hand-to-agent-state-CPiQLq60.js → use-hand-to-agent-state-CCWMSRyA.js} +1 -1
  54. package/web/dist/assets/{workflows-DS5OHv6I.js → workflows-XpPXRBCU.js} +1 -1
  55. package/web/dist/assets/{workspace-tools-82HqXdys.js → workspace-tools-C2ut23LU.js} +1 -1
  56. package/web/dist/assets/{worktrees-section-Wl4PsVSY.js → worktrees-section-BE61T3WC.js} +1 -1
  57. package/web/dist/index.html +1 -1
  58. package/web/dist/assets/task-thread-nEcScY19.js +0 -2
@@ -27,18 +27,6 @@ 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
- } | {
42
30
  output: {
43
31
  workers: {
44
32
  workerId: string;
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
91
79
  offset?: string | undefined;
92
80
  };
93
81
  };
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,18 +677,6 @@ 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
- } | {
692
680
  output: {
693
681
  workerId: string;
694
682
  settled: boolean;
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
813
801
  workerId: string;
814
802
  };
815
803
  };
816
- };
817
- };
818
- } & {
819
- "/:workerId/collect": {
820
- $post: {
804
+ } | {
821
805
  output: {
822
806
  error: string;
823
807
  code?: "invalid_input" | undefined;
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
828
812
  param: {
829
813
  workerId: string;
830
814
  };
831
- } & {
832
- json: Record<string, never>;
833
815
  };
834
- } | {
816
+ };
817
+ };
818
+ } & {
819
+ "/:workerId/collect": {
820
+ $post: {
835
821
  output: {
836
822
  workerId: string;
837
823
  parentRunId: string;
@@ -954,11 +940,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
954
940
  } & {
955
941
  json: Record<string, never>;
956
942
  };
957
- };
958
- };
959
- } & {
960
- "/:workerId/steer": {
961
- $post: {
943
+ } | {
962
944
  output: {
963
945
  error: string;
964
946
  code?: "invalid_input" | undefined;
@@ -970,11 +952,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
970
952
  workerId: string;
971
953
  };
972
954
  } & {
973
- json: {
974
- text: string;
975
- };
955
+ json: Record<string, never>;
976
956
  };
977
- } | {
957
+ };
958
+ };
959
+ } & {
960
+ "/:workerId/steer": {
961
+ $post: {
978
962
  output: {
979
963
  workerId: string;
980
964
  state: "delivered" | "queued";
@@ -990,11 +974,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
990
974
  text: string;
991
975
  };
992
976
  };
993
- };
994
- };
995
- } & {
996
- "/:workerId/stop": {
997
- $post: {
977
+ } | {
998
978
  output: {
999
979
  error: string;
1000
980
  code?: "invalid_input" | undefined;
@@ -1006,9 +986,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1006
986
  workerId: string;
1007
987
  };
1008
988
  } & {
1009
- json: Record<string, never>;
989
+ json: {
990
+ text: string;
991
+ };
1010
992
  };
1011
- } | {
993
+ };
994
+ };
995
+ } & {
996
+ "/:workerId/stop": {
997
+ $post: {
1012
998
  output: {
1013
999
  workerId: string;
1014
1000
  state: "stopping" | "terminated";
@@ -1022,11 +1008,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1022
1008
  } & {
1023
1009
  json: Record<string, never>;
1024
1010
  };
1025
- };
1026
- };
1027
- } & {
1028
- "/:workerId/destroy": {
1029
- $post: {
1011
+ } | {
1030
1012
  output: {
1031
1013
  error: string;
1032
1014
  code?: "invalid_input" | undefined;
@@ -1038,11 +1020,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1038
1020
  workerId: string;
1039
1021
  };
1040
1022
  } & {
1041
- json: {
1042
- discardWork?: true | undefined;
1043
- };
1023
+ json: Record<string, never>;
1044
1024
  };
1045
- } | {
1025
+ };
1026
+ };
1027
+ } & {
1028
+ "/:workerId/destroy": {
1029
+ $post: {
1046
1030
  output: {
1047
1031
  workerId: string;
1048
1032
  state: "complete" | "incomplete";
@@ -1071,6 +1055,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1071
1055
  discardWork?: true | undefined;
1072
1056
  };
1073
1057
  };
1058
+ } | {
1059
+ output: {
1060
+ error: string;
1061
+ code?: "invalid_input" | undefined;
1062
+ };
1063
+ outputFormat: "json";
1064
+ status: 400;
1065
+ input: {
1066
+ param: {
1067
+ workerId: string;
1068
+ };
1069
+ } & {
1070
+ json: {
1071
+ discardWork?: true | undefined;
1072
+ };
1073
+ };
1074
1074
  } | {
1075
1075
  output: {
1076
1076
  workerId: string;
@@ -1106,11 +1106,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1106
1106
  "/:workerId/diff": {
1107
1107
  $get: {
1108
1108
  output: {
1109
- error: string;
1110
- code?: "invalid_input" | undefined;
1109
+ workerId: string;
1110
+ baselineSha: string;
1111
+ diff: string;
1112
+ truncated: boolean;
1111
1113
  };
1112
1114
  outputFormat: "json";
1113
- status: 400;
1115
+ status: 200;
1114
1116
  input: {
1115
1117
  param: {
1116
1118
  workerId: string;
@@ -1118,13 +1120,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1118
1120
  };
1119
1121
  } | {
1120
1122
  output: {
1121
- workerId: string;
1122
- baselineSha: string;
1123
- diff: string;
1124
- truncated: boolean;
1123
+ error: string;
1124
+ code?: "invalid_input" | undefined;
1125
1125
  };
1126
1126
  outputFormat: "json";
1127
- status: 200;
1127
+ status: 400;
1128
1128
  input: {
1129
1129
  param: {
1130
1130
  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;
@@ -54,18 +66,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
54
66
  offset?: string | undefined;
55
67
  };
56
68
  };
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,6 +652,18 @@ 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
+ } | {
655
667
  output: {
656
668
  workerId: string;
657
669
  settled: boolean;
@@ -776,7 +788,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
776
788
  workerId: string;
777
789
  };
778
790
  };
779
- } | {
791
+ };
792
+ };
793
+ } & {
794
+ "/:workerId/collect": {
795
+ $post: {
780
796
  output: {
781
797
  error: string;
782
798
  code?: "invalid_input" | undefined;
@@ -787,12 +803,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
787
803
  param: {
788
804
  workerId: string;
789
805
  };
806
+ } & {
807
+ json: Record<string, never>;
790
808
  };
791
- };
792
- };
793
- } & {
794
- "/:workerId/collect": {
795
- $post: {
809
+ } | {
796
810
  output: {
797
811
  workerId: string;
798
812
  parentRunId: string;
@@ -915,7 +929,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
915
929
  } & {
916
930
  json: Record<string, never>;
917
931
  };
918
- } | {
932
+ };
933
+ };
934
+ } & {
935
+ "/:workerId/steer": {
936
+ $post: {
919
937
  output: {
920
938
  error: string;
921
939
  code?: "invalid_input" | undefined;
@@ -927,13 +945,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
927
945
  workerId: string;
928
946
  };
929
947
  } & {
930
- json: Record<string, never>;
948
+ json: {
949
+ text: string;
950
+ };
931
951
  };
932
- };
933
- };
934
- } & {
935
- "/:workerId/steer": {
936
- $post: {
952
+ } | {
937
953
  output: {
938
954
  workerId: string;
939
955
  state: "delivered" | "queued";
@@ -949,7 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
949
965
  text: string;
950
966
  };
951
967
  };
952
- } | {
968
+ };
969
+ };
970
+ } & {
971
+ "/:workerId/stop": {
972
+ $post: {
953
973
  output: {
954
974
  error: string;
955
975
  code?: "invalid_input" | undefined;
@@ -961,15 +981,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
961
981
  workerId: string;
962
982
  };
963
983
  } & {
964
- json: {
965
- text: string;
966
- };
984
+ json: Record<string, never>;
967
985
  };
968
- };
969
- };
970
- } & {
971
- "/:workerId/stop": {
972
- $post: {
986
+ } | {
973
987
  output: {
974
988
  workerId: string;
975
989
  state: "stopping" | "terminated";
@@ -983,7 +997,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
983
997
  } & {
984
998
  json: Record<string, never>;
985
999
  };
986
- } | {
1000
+ };
1001
+ };
1002
+ } & {
1003
+ "/:workerId/destroy": {
1004
+ $post: {
987
1005
  output: {
988
1006
  error: string;
989
1007
  code?: "invalid_input" | undefined;
@@ -995,13 +1013,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
995
1013
  workerId: string;
996
1014
  };
997
1015
  } & {
998
- json: Record<string, never>;
1016
+ json: {
1017
+ discardWork?: true | undefined;
1018
+ };
999
1019
  };
1000
- };
1001
- };
1002
- } & {
1003
- "/:workerId/destroy": {
1004
- $post: {
1020
+ } | {
1005
1021
  output: {
1006
1022
  workerId: string;
1007
1023
  state: "complete" | "incomplete";
@@ -1030,22 +1046,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1030
1046
  discardWork?: true | undefined;
1031
1047
  };
1032
1048
  };
1033
- } | {
1034
- output: {
1035
- error: string;
1036
- code?: "invalid_input" | undefined;
1037
- };
1038
- outputFormat: "json";
1039
- status: 400;
1040
- input: {
1041
- param: {
1042
- workerId: string;
1043
- };
1044
- } & {
1045
- json: {
1046
- discardWork?: true | undefined;
1047
- };
1048
- };
1049
1049
  } | {
1050
1050
  output: {
1051
1051
  workerId: string;
@@ -1081,13 +1081,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1081
1081
  "/:workerId/diff": {
1082
1082
  $get: {
1083
1083
  output: {
1084
- workerId: string;
1085
- baselineSha: string;
1086
- diff: string;
1087
- truncated: boolean;
1084
+ error: string;
1085
+ code?: "invalid_input" | undefined;
1088
1086
  };
1089
1087
  outputFormat: "json";
1090
- status: 200;
1088
+ status: 400;
1091
1089
  input: {
1092
1090
  param: {
1093
1091
  workerId: string;
@@ -1095,11 +1093,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1095
1093
  };
1096
1094
  } | {
1097
1095
  output: {
1098
- error: string;
1099
- code?: "invalid_input" | undefined;
1096
+ workerId: string;
1097
+ baselineSha: string;
1098
+ diff: string;
1099
+ truncated: boolean;
1100
1100
  };
1101
1101
  outputFormat: "json";
1102
- status: 400;
1102
+ status: 200;
1103
1103
  input: {
1104
1104
  param: {
1105
1105
  workerId: string;
@@ -58,6 +58,29 @@ export declare function ciProgressPlugs(): {
58
58
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
59
59
  "/workspace/activity": {
60
60
  $get: {
61
+ output: {
62
+ error: string;
63
+ code?: "invalid_input" | undefined;
64
+ };
65
+ outputFormat: "json";
66
+ status: 400;
67
+ input: {
68
+ query: {
69
+ project?: string | undefined;
70
+ };
71
+ };
72
+ } | {
73
+ output: {
74
+ error: string;
75
+ };
76
+ outputFormat: "json";
77
+ status: 404 | 409 | 503;
78
+ input: {
79
+ query: {
80
+ project?: string | undefined;
81
+ };
82
+ };
83
+ } | {
61
84
  output: {
62
85
  generatedAt: string;
63
86
  projects: {
@@ -308,29 +331,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
308
331
  project?: string | undefined;
309
332
  };
310
333
  };
311
- } | {
312
- output: {
313
- error: string;
314
- code?: "invalid_input" | undefined;
315
- };
316
- outputFormat: "json";
317
- status: 400;
318
- input: {
319
- query: {
320
- project?: string | undefined;
321
- };
322
- };
323
- } | {
324
- output: {
325
- error: string;
326
- };
327
- outputFormat: "json";
328
- status: 404 | 409 | 503;
329
- input: {
330
- query: {
331
- project?: string | undefined;
332
- };
333
- };
334
334
  };
335
335
  };
336
336
  }, "/", "/workspace/activity">;
@@ -22,6 +22,18 @@ export declare function createModelsRoutes(options: {
22
22
  profileId?: string | undefined;
23
23
  };
24
24
  };
25
+ } | {
26
+ output: {
27
+ error: string;
28
+ };
29
+ outputFormat: "json";
30
+ status: 400;
31
+ input: {
32
+ query: {
33
+ runner: string | string[];
34
+ profileId?: string | undefined;
35
+ };
36
+ };
25
37
  } | {
26
38
  output: {
27
39
  runner: string;
@@ -43,18 +55,6 @@ export declare function createModelsRoutes(options: {
43
55
  profileId?: string | undefined;
44
56
  };
45
57
  };
46
- } | {
47
- output: {
48
- error: string;
49
- };
50
- outputFormat: "json";
51
- status: 400;
52
- input: {
53
- query: {
54
- runner: string | string[];
55
- profileId?: string | undefined;
56
- };
57
- };
58
58
  };
59
59
  };
60
60
  }, "/", "/models">;