@hearsay-tools/squawk 0.18.0-pr3756.6951 → 0.18.0-pr3757.6952

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 (41) hide show
  1. package/dist/delegation/routes.d.ts +62 -62
  2. package/dist/delegation/transport.d.ts +62 -62
  3. package/dist/server/reports-api.d.ts +2 -2
  4. package/dist/server/server.d.ts +58 -58
  5. package/dist/workflows/run/launch-read-resolver.d.ts +1 -1
  6. package/dist/workflows/run/launch-read-resolver.js +1 -1
  7. package/dist/workflows/run/launch-read-resolver.js.map +1 -1
  8. package/dist/workflows/run/queued-revival.d.ts +1 -1
  9. package/dist/workflows/run/wake-ledger.d.ts +4 -5
  10. package/dist/workflows/run/wake-ledger.js +17 -17
  11. package/dist/workflows/run/wake-ledger.js.map +1 -1
  12. package/package.json +4 -4
  13. package/web/dist/assets/{activity-motion-jtXo23BH.js → activity-motion-CNFhTAyJ.js} +1 -1
  14. package/web/dist/assets/{activity-route-BMQTuzfV.js → activity-route-DEw-RhOo.js} +1 -1
  15. package/web/dist/assets/{commit-diff-panel-Cc19k61n.js → commit-diff-panel-BmrwPYS-.js} +1 -1
  16. package/web/dist/assets/{diff-D81v0XSv.js → diff-DnpyQ0n1.js} +2 -2
  17. package/web/dist/assets/{diff-view-DGqayt94.js → diff-view-Bt1YTobA.js} +1 -1
  18. package/web/dist/assets/{file-preview-CvFWYfZe.js → file-preview-BjxKsQu3.js} +1 -1
  19. package/web/dist/assets/{git-toolbar-CEgI-Xxh.js → git-toolbar-BO3VJ7ch.js} +1 -1
  20. package/web/dist/assets/{github-BBpDYcnE.js → github-DpER38di.js} +1 -1
  21. package/web/dist/assets/{global-activity-route-BtAy1ibD.js → global-activity-route-BvAyzzV-.js} +1 -1
  22. package/web/dist/assets/{index-DdUN3xKQ.js → index-BgSywETH.js} +7 -7
  23. package/web/dist/assets/{preview-pane-connected-B6Mk-4Z6.js → preview-pane-connected-DXW08Xx1.js} +1 -1
  24. package/web/dist/assets/{prompt-template-menu-Z7WYlxLR.js → prompt-template-menu-tmJbj04L.js} +1 -1
  25. package/web/dist/assets/{reference-chip-DB4j8hzM.js → reference-chip-DMasK3J9.js} +1 -1
  26. package/web/dist/assets/{repo-git-6S7sePGj.js → repo-git-CLGuBU9l.js} +1 -1
  27. package/web/dist/assets/{report-reader-DTbLfexd.js → report-reader-zvoZvJ8x.js} +1 -1
  28. package/web/dist/assets/{reports-D_HD3irC.js → reports-Dw0aaOYg.js} +1 -1
  29. package/web/dist/assets/{run-header-OGi1iR5p.js → run-header-pjcEwvZV.js} +1 -1
  30. package/web/dist/assets/{skills-BxpbZtzV.js → skills-DWQTOqs8.js} +1 -1
  31. package/web/dist/assets/{task-changes-C2wVYoQg.js → task-changes-DNrFdznk.js} +1 -1
  32. package/web/dist/assets/{task-commits-BdRhOyZV.js → task-commits-rBD5uKnT.js} +1 -1
  33. package/web/dist/assets/{task-files-DIX9_aVh.js → task-files-Bd7-ZWkS.js} +1 -1
  34. package/web/dist/assets/{task-github-item-DzLaicwO.js → task-github-item-BwxuT5Wp.js} +1 -1
  35. package/web/dist/assets/{task-thread-lzT8biTV.js → task-thread-LWQvapkq.js} +9 -9
  36. package/web/dist/assets/{thread-state-BCHiZaAg.js → thread-state-BNabVGns.js} +1 -1
  37. package/web/dist/assets/use-desktop-kNRvVC8C.js +1 -0
  38. package/web/dist/assets/{use-hand-to-agent-state-BLGpj2jQ.js → use-hand-to-agent-state-C54WuUrs.js} +1 -1
  39. package/web/dist/assets/{workflows-FPGd3Fjx.js → workflows-BeWMwP3r.js} +1 -1
  40. package/web/dist/index.html +4 -4
  41. package/web/dist/assets/use-desktop-CsZKGRsr.js +0 -1
@@ -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,18 +76,6 @@ 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
  } & {
@@ -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,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;
@@ -51,6 +39,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
51
39
  offset?: string | undefined;
52
40
  };
53
41
  };
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
  } & {
@@ -588,18 +588,6 @@ 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
- } | {
603
591
  output: {
604
592
  workerId: string;
605
593
  parentRunId: string;
@@ -707,11 +695,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
707
695
  workerId: string;
708
696
  };
709
697
  };
710
- };
711
- };
712
- } & {
713
- "/:workerId/collect": {
714
- $post: {
698
+ } | {
715
699
  output: {
716
700
  error: string;
717
701
  code?: "invalid_input" | undefined;
@@ -722,10 +706,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
722
706
  param: {
723
707
  workerId: string;
724
708
  };
725
- } & {
726
- json: Record<string, never>;
727
709
  };
728
- } | {
710
+ };
711
+ };
712
+ } & {
713
+ "/:workerId/collect": {
714
+ $post: {
729
715
  output: {
730
716
  workerId: string;
731
717
  parentRunId: string;
@@ -827,11 +813,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
827
813
  } & {
828
814
  json: Record<string, never>;
829
815
  };
830
- };
831
- };
832
- } & {
833
- "/:workerId/steer": {
834
- $post: {
816
+ } | {
835
817
  output: {
836
818
  error: string;
837
819
  code?: "invalid_input" | undefined;
@@ -843,11 +825,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
843
825
  workerId: string;
844
826
  };
845
827
  } & {
846
- json: {
847
- text: string;
848
- };
828
+ json: Record<string, never>;
849
829
  };
850
- } | {
830
+ };
831
+ };
832
+ } & {
833
+ "/:workerId/steer": {
834
+ $post: {
851
835
  output: {
852
836
  workerId: string;
853
837
  state: "delivered" | "queued";
@@ -863,11 +847,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
863
847
  text: string;
864
848
  };
865
849
  };
866
- };
867
- };
868
- } & {
869
- "/:workerId/stop": {
870
- $post: {
850
+ } | {
871
851
  output: {
872
852
  error: string;
873
853
  code?: "invalid_input" | undefined;
@@ -879,9 +859,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
879
859
  workerId: string;
880
860
  };
881
861
  } & {
882
- json: Record<string, never>;
862
+ json: {
863
+ text: string;
864
+ };
883
865
  };
884
- } | {
866
+ };
867
+ };
868
+ } & {
869
+ "/:workerId/stop": {
870
+ $post: {
885
871
  output: {
886
872
  workerId: string;
887
873
  state: "stopping" | "terminated";
@@ -895,11 +881,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
895
881
  } & {
896
882
  json: Record<string, never>;
897
883
  };
898
- };
899
- };
900
- } & {
901
- "/:workerId/destroy": {
902
- $post: {
884
+ } | {
903
885
  output: {
904
886
  error: string;
905
887
  code?: "invalid_input" | undefined;
@@ -913,7 +895,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
913
895
  } & {
914
896
  json: Record<string, never>;
915
897
  };
916
- } | {
898
+ };
899
+ };
900
+ } & {
901
+ "/:workerId/destroy": {
902
+ $post: {
917
903
  output: {
918
904
  workerId: string;
919
905
  state: "complete" | "incomplete";
@@ -936,6 +922,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
936
922
  } & {
937
923
  json: Record<string, never>;
938
924
  };
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,11 +965,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
965
965
  "/:workerId/diff": {
966
966
  $get: {
967
967
  output: {
968
- error: string;
969
- code?: "invalid_input" | undefined;
968
+ workerId: string;
969
+ baselineSha: string;
970
+ diff: string;
971
+ truncated: boolean;
970
972
  };
971
973
  outputFormat: "json";
972
- status: 400;
974
+ status: 200;
973
975
  input: {
974
976
  param: {
975
977
  workerId: string;
@@ -977,13 +979,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
977
979
  };
978
980
  } | {
979
981
  output: {
980
- workerId: string;
981
- baselineSha: string;
982
- diff: string;
983
- truncated: boolean;
982
+ error: string;
983
+ code?: "invalid_input" | undefined;
984
984
  };
985
985
  outputFormat: "json";
986
- status: 200;
986
+ status: 400;
987
987
  input: {
988
988
  param: {
989
989
  workerId: 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: 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;
@@ -4780,19 +4780,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4780
4780
  } & {
4781
4781
  "/repo/commit/:sha": {
4782
4782
  $get: {
4783
- output: string;
4784
- outputFormat: "text";
4785
- status: import("hono/utils/http-status").ContentfulStatusCode;
4786
- input: {
4787
- query: {
4788
- structured?: string | undefined;
4789
- };
4790
- } & {
4791
- param: {
4792
- sha: string;
4793
- };
4794
- };
4795
- } | {
4796
4783
  output: {
4797
4784
  error: string;
4798
4785
  code?: "invalid_input" | undefined;
@@ -4856,6 +4843,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4856
4843
  sha: string;
4857
4844
  };
4858
4845
  };
4846
+ } | {
4847
+ output: string;
4848
+ outputFormat: "text";
4849
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4850
+ input: {
4851
+ query: {
4852
+ structured?: string | undefined;
4853
+ };
4854
+ } & {
4855
+ param: {
4856
+ sha: string;
4857
+ };
4858
+ };
4859
4859
  };
4860
4860
  };
4861
4861
  } & {
@@ -18333,20 +18333,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18333
18333
  } & {
18334
18334
  "/runs/:id/handoff": {
18335
18335
  $get: {
18336
- output: string;
18337
- outputFormat: "text";
18338
- status: 200;
18336
+ output: {
18337
+ error: string;
18338
+ };
18339
+ outputFormat: "json";
18340
+ status: 404;
18339
18341
  input: {
18340
18342
  param: {
18341
18343
  id: string;
18342
18344
  };
18343
18345
  };
18344
18346
  } | {
18345
- output: {
18346
- error: string;
18347
- };
18348
- outputFormat: "json";
18349
- status: 404;
18347
+ output: string;
18348
+ outputFormat: "text";
18349
+ status: 200;
18350
18350
  input: {
18351
18351
  param: {
18352
18352
  id: string;
@@ -18384,20 +18384,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18384
18384
  } & {
18385
18385
  "/runs/:id/diff": {
18386
18386
  $get: {
18387
- output: string;
18388
- outputFormat: "text";
18389
- status: import("hono/utils/http-status").ContentfulStatusCode;
18387
+ output: {
18388
+ error: string;
18389
+ };
18390
+ outputFormat: "json";
18391
+ status: 404 | 409;
18390
18392
  input: {
18391
18393
  param: {
18392
18394
  id: string;
18393
18395
  };
18394
18396
  };
18395
18397
  } | {
18396
- output: {
18397
- error: string;
18398
- };
18399
- outputFormat: "json";
18400
- status: 404 | 409;
18398
+ output: string;
18399
+ outputFormat: "text";
18400
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18401
18401
  input: {
18402
18402
  param: {
18403
18403
  id: string;
@@ -20685,19 +20685,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20685
20685
  } & {
20686
20686
  "/repo/commit/:sha": {
20687
20687
  $get: {
20688
- output: string;
20689
- outputFormat: "text";
20690
- status: import("hono/utils/http-status").ContentfulStatusCode;
20691
- input: {
20692
- query: {
20693
- structured?: string | undefined;
20694
- };
20695
- } & {
20696
- param: {
20697
- sha: string;
20698
- };
20699
- };
20700
- } | {
20701
20688
  output: {
20702
20689
  error: string;
20703
20690
  code?: "invalid_input" | undefined;
@@ -20761,6 +20748,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20761
20748
  sha: string;
20762
20749
  };
20763
20750
  };
20751
+ } | {
20752
+ output: string;
20753
+ outputFormat: "text";
20754
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20755
+ input: {
20756
+ query: {
20757
+ structured?: string | undefined;
20758
+ };
20759
+ } & {
20760
+ param: {
20761
+ sha: string;
20762
+ };
20763
+ };
20764
20764
  };
20765
20765
  };
20766
20766
  } & {
@@ -34238,20 +34238,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34238
34238
  } & {
34239
34239
  "/runs/:id/handoff": {
34240
34240
  $get: {
34241
- output: string;
34242
- outputFormat: "text";
34243
- status: 200;
34241
+ output: {
34242
+ error: string;
34243
+ };
34244
+ outputFormat: "json";
34245
+ status: 404;
34244
34246
  input: {
34245
34247
  param: {
34246
34248
  id: string;
34247
34249
  };
34248
34250
  };
34249
34251
  } | {
34250
- output: {
34251
- error: string;
34252
- };
34253
- outputFormat: "json";
34254
- status: 404;
34252
+ output: string;
34253
+ outputFormat: "text";
34254
+ status: 200;
34255
34255
  input: {
34256
34256
  param: {
34257
34257
  id: string;
@@ -34289,20 +34289,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34289
34289
  } & {
34290
34290
  "/runs/:id/diff": {
34291
34291
  $get: {
34292
- output: string;
34293
- outputFormat: "text";
34294
- status: import("hono/utils/http-status").ContentfulStatusCode;
34292
+ output: {
34293
+ error: string;
34294
+ };
34295
+ outputFormat: "json";
34296
+ status: 404 | 409;
34295
34297
  input: {
34296
34298
  param: {
34297
34299
  id: string;
34298
34300
  };
34299
34301
  };
34300
34302
  } | {
34301
- output: {
34302
- error: string;
34303
- };
34304
- outputFormat: "json";
34305
- status: 404 | 409;
34303
+ output: string;
34304
+ outputFormat: "text";
34305
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34306
34306
  input: {
34307
34307
  param: {
34308
34308
  id: string;
@@ -270,7 +270,7 @@ declare function contextVariables(run: RunRecord): {
270
270
  declare function reviveWorkflow(context: RunModuleContext, host: QueuedRevivalHost, run: RunRecord): Promise<WorkflowDef | null>;
271
271
  declare function queuedResumeSession(context: RunModuleContext, host: QueuedRevivalHost, run: RunRecord, sessionStep: RunRecord['steps'][number]): {
272
272
  backend: "claude" | "codex" | "omp" | "opencode" | "pi";
273
- sessionBackend: NonNullable<"claude" | "codex" | "omp" | "opencode" | "pi" | undefined>;
273
+ sessionBackend: "claude" | "codex" | "omp" | "opencode" | "pi";
274
274
  sameAccount: boolean;
275
275
  recoveredSessionId: string | undefined;
276
276
  };
@@ -471,7 +471,7 @@ function queuedResumeSession(context, host, run, sessionStep) {
471
471
  throw error;
472
472
  }
473
473
  const backend = resumeIdentity?.account.provider ?? retryInFlightRunner(run) ?? run.runner ?? 'claude';
474
- const sessionBackend = sessionRunner(sessionStep, run);
474
+ const sessionBackend = sessionStep.backend ?? backend;
475
475
  const sessionAccount = sessionStep.profileId ?? DEFAULT_AGENT_ACCOUNT_ID;
476
476
  // A provider retry keeps the held step's account, resolved as `sessionAccount` is (hearsay-tools/squawk#3337).
477
477
  const agentProfile = resumeIdentity?.account.profileId ?? (retryInFlightRunner(run) ? sessionAccount : run.agentProfile);