@hearsay-tools/squawk 0.18.0-pr3757.6952 → 0.18.0-pr3759.6954

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.
@@ -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,18 +51,6 @@ 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
  } & {
@@ -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;
@@ -4780,6 +4780,19 @@ 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
+ } | {
4783
4796
  output: {
4784
4797
  error: string;
4785
4798
  code?: "invalid_input" | undefined;
@@ -4843,19 +4856,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4843
4856
  sha: string;
4844
4857
  };
4845
4858
  };
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: {
18337
- error: string;
18338
- };
18339
- outputFormat: "json";
18340
- status: 404;
18336
+ output: string;
18337
+ outputFormat: "text";
18338
+ status: 200;
18341
18339
  input: {
18342
18340
  param: {
18343
18341
  id: string;
18344
18342
  };
18345
18343
  };
18346
18344
  } | {
18347
- output: string;
18348
- outputFormat: "text";
18349
- status: 200;
18345
+ output: {
18346
+ error: string;
18347
+ };
18348
+ outputFormat: "json";
18349
+ status: 404;
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: {
18388
- error: string;
18389
- };
18390
- outputFormat: "json";
18391
- status: 404 | 409;
18387
+ output: string;
18388
+ outputFormat: "text";
18389
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18392
18390
  input: {
18393
18391
  param: {
18394
18392
  id: string;
18395
18393
  };
18396
18394
  };
18397
18395
  } | {
18398
- output: string;
18399
- outputFormat: "text";
18400
- status: import("hono/utils/http-status").ContentfulStatusCode;
18396
+ output: {
18397
+ error: string;
18398
+ };
18399
+ outputFormat: "json";
18400
+ status: 404 | 409;
18401
18401
  input: {
18402
18402
  param: {
18403
18403
  id: string;
@@ -20685,6 +20685,19 @@ 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
+ } | {
20688
20701
  output: {
20689
20702
  error: string;
20690
20703
  code?: "invalid_input" | undefined;
@@ -20748,19 +20761,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20748
20761
  sha: string;
20749
20762
  };
20750
20763
  };
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: {
34242
- error: string;
34243
- };
34244
- outputFormat: "json";
34245
- status: 404;
34241
+ output: string;
34242
+ outputFormat: "text";
34243
+ status: 200;
34246
34244
  input: {
34247
34245
  param: {
34248
34246
  id: string;
34249
34247
  };
34250
34248
  };
34251
34249
  } | {
34252
- output: string;
34253
- outputFormat: "text";
34254
- status: 200;
34250
+ output: {
34251
+ error: string;
34252
+ };
34253
+ outputFormat: "json";
34254
+ status: 404;
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: {
34293
- error: string;
34294
- };
34295
- outputFormat: "json";
34296
- status: 404 | 409;
34292
+ output: string;
34293
+ outputFormat: "text";
34294
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34297
34295
  input: {
34298
34296
  param: {
34299
34297
  id: string;
34300
34298
  };
34301
34299
  };
34302
34300
  } | {
34303
- output: string;
34304
- outputFormat: "text";
34305
- status: import("hono/utils/http-status").ContentfulStatusCode;
34301
+ output: {
34302
+ error: string;
34303
+ };
34304
+ outputFormat: "json";
34305
+ status: 404 | 409;
34306
34306
  input: {
34307
34307
  param: {
34308
34308
  id: string;
@@ -51,13 +51,14 @@ export declare function automaticWakes(store: Pick<RunStore, 'getRun'>, active:
51
51
  export declare function pendingConversationWakes(run: RunRecord, reads: ConversationWakeReads, MAX_AUTO_CONTINUES: number, beforeHumanReset?: {
52
52
  spent: number;
53
53
  }): AgentInput[];
54
- /** The inputs a wake owes, from every owed-wake source. A wake's opening prompt is an attempt to
55
- * deliver exactly these (hearsay-tools/squawk#1289). */
54
+ /** The inputs a wake owes: each resolved wait's result, each message, and a parent's answer the
55
+ * run has not received. A wake's opening prompt is an attempt to deliver exactly these
56
+ * (hearsay-tools/squawk#1289). */
56
57
  export declare function owedWakeInputIds(run: RunRecord, reads: WakeReads, beforeHumanReset?: {
57
58
  spent: number;
58
59
  }): string[];
59
- /** A wake is owed: some owed-wake source lists an input. It reads the sources `owedWakeInputIds`
60
- * lists, and stops at the first one that owes. */
60
+ /** A wake is owed: a resolved wait, a message, or a parent's answer the run has not received.
61
+ * It reads what `owedWakeInputIds` lists, and stops at the first source that owes. */
61
62
  export declare function owesWake(run: RunRecord, reads: WakeReads, beforeHumanReset?: {
62
63
  spent: number;
63
64
  }): boolean;
@@ -59,26 +59,26 @@ export function pendingConversationWakes(run, reads, MAX_AUTO_CONTINUES, beforeH
59
59
  !owed.has(input.id) && input.id !== answer?.id && !reads.providerOwnsInboxInput(run.id, input.id);
60
60
  });
61
61
  }
62
- /** The sources of an owed wake, in delivery order, each read only when called: each resolved
63
- * wait's result, each message, and a parent's answer the run has not received. A pending native
64
- * question takes nothing but its answer: results and messages wait for the answer's turn end,
65
- * and a run with no session is not reopened for them, where its provider would ask again
66
- * (hearsay-tools/cezarion#1235, parent spec § Wakes beside questions). */
67
- function owedWakeSources(run, reads, beforeHumanReset) {
68
- const answer = () => { const id = reads.routedAnswer(run.id)?.id; return id === undefined ? [] : [id]; };
69
- if (WAIT_KINDS.human.select(openWaits(run)).some(wait => wait.via === 'native-ask'))
70
- return [answer];
71
- return [() => resolvedWaits(run).map(waitInputId), () => reads.pendingConversationWakes(run, beforeHumanReset).map(input => input.id), answer];
72
- }
73
- /** The inputs a wake owes, from every owed-wake source. A wake's opening prompt is an attempt to
74
- * deliver exactly these (hearsay-tools/squawk#1289). */
62
+ /** The inputs a wake owes: each resolved wait's result, each message, and a parent's answer the
63
+ * run has not received. A wake's opening prompt is an attempt to deliver exactly these
64
+ * (hearsay-tools/squawk#1289). */
75
65
  export function owedWakeInputIds(run, reads, beforeHumanReset) {
76
- return owedWakeSources(run, reads, beforeHumanReset).flatMap(source => source());
66
+ const answer = reads.routedAnswer(run.id)?.id;
67
+ // A pending native question takes nothing but its answer: results and messages wait for the
68
+ // answer's turn end, and a run with no session is not reopened for them, where its provider
69
+ // would ask again (hearsay-tools/cezarion#1235, parent spec § Wakes beside questions).
70
+ if (WAIT_KINDS.human.select(openWaits(run)).some(wait => wait.via === 'native-ask'))
71
+ return answer === undefined ? [] : [answer];
72
+ return [...resolvedWaits(run).map(waitInputId), ...reads.pendingConversationWakes(run, beforeHumanReset).map(input => input.id), ...(answer === undefined ? [] : [answer])];
77
73
  }
78
- /** A wake is owed: some owed-wake source lists an input. It reads the sources `owedWakeInputIds`
79
- * lists, and stops at the first one that owes. */
74
+ /** A wake is owed: a resolved wait, a message, or a parent's answer the run has not received.
75
+ * It reads what `owedWakeInputIds` lists, and stops at the first source that owes. */
80
76
  export function owesWake(run, reads, beforeHumanReset) {
81
- return owedWakeSources(run, reads, beforeHumanReset).some(source => source().length > 0);
77
+ if (WAIT_KINDS.human.select(openWaits(run)).some(wait => wait.via === 'native-ask'))
78
+ return reads.routedAnswer(run.id) !== undefined;
79
+ if (resolvedWaits(run).length)
80
+ return true;
81
+ return reads.pendingConversationWakes(run, beforeHumanReset).length > 0 || reads.routedAnswer(run.id) !== undefined;
82
82
  }
83
83
  /** A live session takes a wake at its turn boundary. A native question is mid-turn and takes one
84
84
  * input there: the parent's answer to it, through the answer seam (hearsay-tools/cezarion#505). */
@@ -1 +1 @@
1
- {"version":3,"file":"wake-ledger.js","sourceRoot":"","sources":["../../../src/workflows/run/wake-ledger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,OAAO,EAAE,aAAa,EAAmB,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAa7G;;gDAEgD;AAChD,MAAM,UAAU,YAAY,CAAC,KAA+B,EAAE,KAAa,EAAE,QAAqC;IAChH,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAChC,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;AACnE,CAAC;AAED;;;iFAGiF;AACjF,MAAM,UAAU,mBAAmB,CAAC,KAA+B,EAAE,KAAa,EAAE,QAAsB,EAAE,GAAsB,EAAE,OAAO,GAAG,KAAK;IACjJ,MAAM,GAAG,GAAG,KAAK,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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr3757.6952",
3
+ "version": "0.18.0-pr3759.6954",
4
4
  "description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -63,8 +63,8 @@
63
63
  "devDependencies": {
64
64
  "@babel/parser": "^8.0.8",
65
65
  "@babel/types": "^8.0.8",
66
- "@open-mercato/cezar-api-client": "0.18.0-pr3757.6952",
67
- "@open-mercato/cezar-contract": "0.18.0-pr3757.6952",
66
+ "@open-mercato/cezar-api-client": "0.18.0-pr3759.6954",
67
+ "@open-mercato/cezar-contract": "0.18.0-pr3759.6954",
68
68
  "@types/node": "^24.19.1",
69
69
  "@types/ws": "^8.18.1",
70
70
  "esbuild": "^0.28.1",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "e60fc39dec541177b6980c270453eb504c907444"
84
+ "gitHead": "4ba3ff7327d37a25d25566054e194ab5e20bfa19"
85
85
  }