@hearsay-tools/squawk 0.18.0-dev.7847 → 0.18.0-dev.7864

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 (38) hide show
  1. package/dist/delegation/routes.d.ts +65 -65
  2. package/dist/delegation/transport.d.ts +65 -65
  3. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  4. package/dist/server/runner-install-routes.d.ts +10 -10
  5. package/dist/server/server.d.ts +1593 -1593
  6. package/package.json +4 -4
  7. package/web/dist/assets/{activity-motion-CUiNY01w.js → activity-motion-Djgfr4BR.js} +1 -1
  8. package/web/dist/assets/{activity-route-Cz-rvbZ2.js → activity-route-CLmY_b61.js} +1 -1
  9. package/web/dist/assets/{chunk-BO2N2NFS-CM5F_Wdn.js → chunk-BO2N2NFS-y7WHTKOf.js} +4 -4
  10. package/web/dist/assets/{commit-diff-panel-DMI0GCL1.js → commit-diff-panel-D-oVsbVi.js} +1 -1
  11. package/web/dist/assets/{diff-DI4VzuYN.js → diff-B24jjrQd.js} +2 -2
  12. package/web/dist/assets/{diff-view-D_4gizCK.js → diff-view-Bm2zScMG.js} +1 -1
  13. package/web/dist/assets/{file-preview-Bi4gKafB.js → file-preview-BfjbLW39.js} +1 -1
  14. package/web/dist/assets/{git-toolbar-rD304H-0.js → git-toolbar-BrYOg59q.js} +1 -1
  15. package/web/dist/assets/{github-DZQgKb40.js → github-Bz9XYDMM.js} +1 -1
  16. package/web/dist/assets/{global-activity-route-DlY7H1rT.js → global-activity-route-BafNHfLS.js} +1 -1
  17. package/web/dist/assets/{highlighted-body-OFNGDK62-D2OLwPBs.js → highlighted-body-OFNGDK62-D62LjTH2.js} +1 -1
  18. package/web/dist/assets/{index-D4lUB-OA.js → index-WeSdteYZ.js} +3 -3
  19. package/web/dist/assets/markdown-twEr0qCN.js +4 -0
  20. package/web/dist/assets/mermaid-GHXKKRXX-C7OP146z.js +1 -0
  21. package/web/dist/assets/{preview-pane-connected-Dggh7YST.js → preview-pane-connected-Bo8pHl2j.js} +1 -1
  22. package/web/dist/assets/{repo-git-7kwazD3R.js → repo-git-DQWv--Qn.js} +1 -1
  23. package/web/dist/assets/{report-reader-Dg2ojBc_.js → report-reader-4oGG3Se7.js} +1 -1
  24. package/web/dist/assets/{reports-DaN1XZ5g.js → reports-DNerAT8g.js} +1 -1
  25. package/web/dist/assets/{run-header-GF37CaAZ.js → run-header-DeyjkCoC.js} +1 -1
  26. package/web/dist/assets/{skills-CXU7ZjvL.js → skills-C8MBWEQN.js} +1 -1
  27. package/web/dist/assets/{task-changes-BuVilcOg.js → task-changes-CQRx1eKQ.js} +1 -1
  28. package/web/dist/assets/{task-commits-DDWgrNtx.js → task-commits-B4ZCZUoh.js} +1 -1
  29. package/web/dist/assets/{task-files-D-vyiZrz.js → task-files-DFbWrnO0.js} +1 -1
  30. package/web/dist/assets/{task-github-item-DQHmhrMu.js → task-github-item-DX0X2N_q.js} +1 -1
  31. package/web/dist/assets/task-thread-B7dKPXaT.js +9 -0
  32. package/web/dist/assets/{thread-state-Cd3Q9ZdX.js → thread-state-Cq_aBDjM.js} +1 -1
  33. package/web/dist/assets/{use-hand-to-agent-state-DMy1raU0.js → use-hand-to-agent-state-DHEEAr6b.js} +1 -1
  34. package/web/dist/assets/{workflows-KeaSZ0DF.js → workflows-DmJXA1-k.js} +1 -1
  35. package/web/dist/index.html +1 -1
  36. package/web/dist/assets/markdown-doq86ner.js +0 -4
  37. package/web/dist/assets/mermaid-GHXKKRXX-DCw6rSYC.js +0 -1
  38. package/web/dist/assets/task-thread-CQN8oXtT.js +0 -9
@@ -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;
@@ -73,18 +85,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
73
85
  offset?: string | undefined;
74
86
  };
75
87
  };
76
- } | {
77
- output: {
78
- error: string;
79
- code?: "invalid_input" | undefined;
80
- };
81
- outputFormat: "json";
82
- status: 400;
83
- input: {
84
- query: {
85
- offset?: string | undefined;
86
- };
87
- };
88
88
  };
89
89
  };
90
90
  } & {
@@ -629,6 +629,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
629
629
  } & {
630
630
  "/:workerId": {
631
631
  $get: {
632
+ output: {
633
+ error: string;
634
+ code?: "invalid_input" | undefined;
635
+ };
636
+ outputFormat: "json";
637
+ status: 400;
638
+ input: {
639
+ param: {
640
+ workerId: string;
641
+ };
642
+ };
643
+ } | {
632
644
  output: {
633
645
  workerId: string;
634
646
  settled: boolean;
@@ -746,7 +758,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
746
758
  workerId: string;
747
759
  };
748
760
  };
749
- } | {
761
+ };
762
+ };
763
+ } & {
764
+ "/:workerId/collect": {
765
+ $post: {
750
766
  output: {
751
767
  error: string;
752
768
  code?: "invalid_input" | undefined;
@@ -757,12 +773,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
757
773
  param: {
758
774
  workerId: string;
759
775
  };
776
+ } & {
777
+ json: Record<string, never>;
760
778
  };
761
- };
762
- };
763
- } & {
764
- "/:workerId/collect": {
765
- $post: {
779
+ } | {
766
780
  output: {
767
781
  workerId: string;
768
782
  parentRunId: string;
@@ -885,7 +899,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
885
899
  } & {
886
900
  json: Record<string, never>;
887
901
  };
888
- } | {
902
+ };
903
+ };
904
+ } & {
905
+ "/:workerId/steer": {
906
+ $post: {
889
907
  output: {
890
908
  error: string;
891
909
  code?: "invalid_input" | undefined;
@@ -897,13 +915,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
897
915
  workerId: string;
898
916
  };
899
917
  } & {
900
- json: Record<string, never>;
918
+ json: {
919
+ text: string;
920
+ };
901
921
  };
902
- };
903
- };
904
- } & {
905
- "/:workerId/steer": {
906
- $post: {
922
+ } | {
907
923
  output: {
908
924
  workerId: string;
909
925
  state: "delivered" | "queued";
@@ -919,7 +935,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
919
935
  text: string;
920
936
  };
921
937
  };
922
- } | {
938
+ };
939
+ };
940
+ } & {
941
+ "/:workerId/stop": {
942
+ $post: {
923
943
  output: {
924
944
  error: string;
925
945
  code?: "invalid_input" | undefined;
@@ -931,15 +951,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
931
951
  workerId: string;
932
952
  };
933
953
  } & {
934
- json: {
935
- text: string;
936
- };
954
+ json: Record<string, never>;
937
955
  };
938
- };
939
- };
940
- } & {
941
- "/:workerId/stop": {
942
- $post: {
956
+ } | {
943
957
  output: {
944
958
  workerId: string;
945
959
  state: "stopping" | "terminated";
@@ -953,7 +967,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
953
967
  } & {
954
968
  json: Record<string, never>;
955
969
  };
956
- } | {
970
+ };
971
+ };
972
+ } & {
973
+ "/:workerId/destroy": {
974
+ $post: {
957
975
  output: {
958
976
  error: string;
959
977
  code?: "invalid_input" | undefined;
@@ -965,13 +983,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
965
983
  workerId: string;
966
984
  };
967
985
  } & {
968
- json: Record<string, never>;
986
+ json: {
987
+ discardWork?: true | undefined;
988
+ };
969
989
  };
970
- };
971
- };
972
- } & {
973
- "/:workerId/destroy": {
974
- $post: {
990
+ } | {
975
991
  output: {
976
992
  workerId: string;
977
993
  state: "complete" | "incomplete";
@@ -1000,22 +1016,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1000
1016
  discardWork?: true | undefined;
1001
1017
  };
1002
1018
  };
1003
- } | {
1004
- output: {
1005
- error: string;
1006
- code?: "invalid_input" | undefined;
1007
- };
1008
- outputFormat: "json";
1009
- status: 400;
1010
- input: {
1011
- param: {
1012
- workerId: string;
1013
- };
1014
- } & {
1015
- json: {
1016
- discardWork?: true | undefined;
1017
- };
1018
- };
1019
1019
  } | {
1020
1020
  output: {
1021
1021
  workerId: string;
@@ -1051,13 +1051,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1051
1051
  "/:workerId/diff": {
1052
1052
  $get: {
1053
1053
  output: {
1054
- workerId: string;
1055
- baselineSha: string;
1056
- diff: string;
1057
- truncated: boolean;
1054
+ error: string;
1055
+ code?: "invalid_input" | undefined;
1058
1056
  };
1059
1057
  outputFormat: "json";
1060
- status: 200;
1058
+ status: 400;
1061
1059
  input: {
1062
1060
  param: {
1063
1061
  workerId: string;
@@ -1065,11 +1063,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1065
1063
  };
1066
1064
  } | {
1067
1065
  output: {
1068
- error: string;
1069
- code?: "invalid_input" | undefined;
1066
+ workerId: string;
1067
+ baselineSha: string;
1068
+ diff: string;
1069
+ truncated: boolean;
1070
1070
  };
1071
1071
  outputFormat: "json";
1072
- status: 400;
1072
+ status: 200;
1073
1073
  input: {
1074
1074
  param: {
1075
1075
  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;
@@ -48,18 +60,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
48
60
  offset?: string | undefined;
49
61
  };
50
62
  };
51
- } | {
52
- output: {
53
- error: string;
54
- code?: "invalid_input" | undefined;
55
- };
56
- outputFormat: "json";
57
- status: 400;
58
- input: {
59
- query: {
60
- offset?: string | undefined;
61
- };
62
- };
63
63
  };
64
64
  };
65
65
  } & {
@@ -604,6 +604,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
604
604
  } & {
605
605
  "/:workerId": {
606
606
  $get: {
607
+ output: {
608
+ error: string;
609
+ code?: "invalid_input" | undefined;
610
+ };
611
+ outputFormat: "json";
612
+ status: 400;
613
+ input: {
614
+ param: {
615
+ workerId: string;
616
+ };
617
+ };
618
+ } | {
607
619
  output: {
608
620
  workerId: string;
609
621
  settled: boolean;
@@ -721,7 +733,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
721
733
  workerId: string;
722
734
  };
723
735
  };
724
- } | {
736
+ };
737
+ };
738
+ } & {
739
+ "/:workerId/collect": {
740
+ $post: {
725
741
  output: {
726
742
  error: string;
727
743
  code?: "invalid_input" | undefined;
@@ -732,12 +748,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
732
748
  param: {
733
749
  workerId: string;
734
750
  };
751
+ } & {
752
+ json: Record<string, never>;
735
753
  };
736
- };
737
- };
738
- } & {
739
- "/:workerId/collect": {
740
- $post: {
754
+ } | {
741
755
  output: {
742
756
  workerId: string;
743
757
  parentRunId: string;
@@ -860,7 +874,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
860
874
  } & {
861
875
  json: Record<string, never>;
862
876
  };
863
- } | {
877
+ };
878
+ };
879
+ } & {
880
+ "/:workerId/steer": {
881
+ $post: {
864
882
  output: {
865
883
  error: string;
866
884
  code?: "invalid_input" | undefined;
@@ -872,13 +890,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
872
890
  workerId: string;
873
891
  };
874
892
  } & {
875
- json: Record<string, never>;
893
+ json: {
894
+ text: string;
895
+ };
876
896
  };
877
- };
878
- };
879
- } & {
880
- "/:workerId/steer": {
881
- $post: {
897
+ } | {
882
898
  output: {
883
899
  workerId: string;
884
900
  state: "delivered" | "queued";
@@ -894,7 +910,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
894
910
  text: string;
895
911
  };
896
912
  };
897
- } | {
913
+ };
914
+ };
915
+ } & {
916
+ "/:workerId/stop": {
917
+ $post: {
898
918
  output: {
899
919
  error: string;
900
920
  code?: "invalid_input" | undefined;
@@ -906,15 +926,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
906
926
  workerId: string;
907
927
  };
908
928
  } & {
909
- json: {
910
- text: string;
911
- };
929
+ json: Record<string, never>;
912
930
  };
913
- };
914
- };
915
- } & {
916
- "/:workerId/stop": {
917
- $post: {
931
+ } | {
918
932
  output: {
919
933
  workerId: string;
920
934
  state: "stopping" | "terminated";
@@ -928,7 +942,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
928
942
  } & {
929
943
  json: Record<string, never>;
930
944
  };
931
- } | {
945
+ };
946
+ };
947
+ } & {
948
+ "/:workerId/destroy": {
949
+ $post: {
932
950
  output: {
933
951
  error: string;
934
952
  code?: "invalid_input" | undefined;
@@ -940,13 +958,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
940
958
  workerId: string;
941
959
  };
942
960
  } & {
943
- json: Record<string, never>;
961
+ json: {
962
+ discardWork?: true | undefined;
963
+ };
944
964
  };
945
- };
946
- };
947
- } & {
948
- "/:workerId/destroy": {
949
- $post: {
965
+ } | {
950
966
  output: {
951
967
  workerId: string;
952
968
  state: "complete" | "incomplete";
@@ -975,22 +991,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
975
991
  discardWork?: true | undefined;
976
992
  };
977
993
  };
978
- } | {
979
- output: {
980
- error: string;
981
- code?: "invalid_input" | undefined;
982
- };
983
- outputFormat: "json";
984
- status: 400;
985
- input: {
986
- param: {
987
- workerId: string;
988
- };
989
- } & {
990
- json: {
991
- discardWork?: true | undefined;
992
- };
993
- };
994
994
  } | {
995
995
  output: {
996
996
  workerId: string;
@@ -1026,13 +1026,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1026
1026
  "/:workerId/diff": {
1027
1027
  $get: {
1028
1028
  output: {
1029
- workerId: string;
1030
- baselineSha: string;
1031
- diff: string;
1032
- truncated: boolean;
1029
+ error: string;
1030
+ code?: "invalid_input" | undefined;
1033
1031
  };
1034
1032
  outputFormat: "json";
1035
- status: 200;
1033
+ status: 400;
1036
1034
  input: {
1037
1035
  param: {
1038
1036
  workerId: string;
@@ -1040,11 +1038,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1040
1038
  };
1041
1039
  } | {
1042
1040
  output: {
1043
- error: string;
1044
- code?: "invalid_input" | undefined;
1041
+ workerId: string;
1042
+ baselineSha: string;
1043
+ diff: string;
1044
+ truncated: boolean;
1045
1045
  };
1046
1046
  outputFormat: "json";
1047
- status: 400;
1047
+ status: 200;
1048
1048
  input: {
1049
1049
  param: {
1050
1050
  workerId: 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;
@@ -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;