@hearsay-tools/squawk 0.18.0-pr3755.6950 → 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.
- package/dist/ci-wait/controller.d.ts +4 -4
- package/dist/contract/index.d.ts +0 -1
- package/dist/contract/index.js +0 -24
- package/dist/delegation/routes.d.ts +11 -11
- package/dist/delegation/transport.d.ts +77 -77
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/server.d.ts +64 -64
- package/dist/workflows/run/wake-ledger.d.ts +4 -5
- package/dist/workflows/run/wake-ledger.js +17 -17
- package/dist/workflows/run/wake-ledger.js.map +1 -1
- package/package.json +4 -4
- package/scripts/mock-claude.mjs +0 -12
- package/scripts/mock-codex-app-server.mjs +0 -4
- package/scripts/mock-omp-rpc.mjs +0 -6
- package/scripts/mock-opencode-serve.mjs +0 -9
- package/scripts/mock-pi-rpc.mjs +0 -5
- package/dist/contract/runner-skills.d.ts +0 -60
- package/dist/core/claude-skill-catalog.d.ts +0 -4
- package/dist/core/claude-skill-catalog.js +0 -29
- package/dist/core/claude-skill-catalog.js.map +0 -1
- package/dist/core/codex-skill-catalog.d.ts +0 -4
- package/dist/core/codex-skill-catalog.js +0 -36
- package/dist/core/codex-skill-catalog.js.map +0 -1
- package/dist/core/host-skill-catalog.d.ts +0 -5
- package/dist/core/host-skill-catalog.js +0 -16
- package/dist/core/host-skill-catalog.js.map +0 -1
- package/dist/core/omp-skill-catalog.d.ts +0 -4
- package/dist/core/omp-skill-catalog.js +0 -23
- package/dist/core/omp-skill-catalog.js.map +0 -1
- package/dist/core/opencode-skill-catalog.d.ts +0 -4
- package/dist/core/opencode-skill-catalog.js +0 -37
- package/dist/core/opencode-skill-catalog.js.map +0 -1
- package/dist/core/pi-skill-catalog.d.ts +0 -4
- package/dist/core/pi-skill-catalog.js +0 -35
- package/dist/core/pi-skill-catalog.js.map +0 -1
- package/dist/core/runner-skill-catalog.d.ts +0 -29
- package/dist/core/runner-skill-catalog.js +0 -73
- package/dist/core/runner-skill-catalog.js.map +0 -1
- package/dist/core/skill-path-scope.d.ts +0 -4
- package/dist/core/skill-path-scope.js +0 -28
- package/dist/core/skill-path-scope.js.map +0 -1
- package/dist/core/skill-probe.d.ts +0 -17
- package/dist/core/skill-probe.js +0 -89
- package/dist/core/skill-probe.js.map +0 -1
- package/scripts/mock-skill-list-data.mjs +0 -184
- package/scripts/mock-skill-list.mjs +0 -8
|
@@ -653,6 +653,10 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
653
653
|
};
|
|
654
654
|
} | {
|
|
655
655
|
output: {
|
|
656
|
+
ok: false;
|
|
657
|
+
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
658
|
+
message: string;
|
|
659
|
+
} | {
|
|
656
660
|
ok: true;
|
|
657
661
|
task: {
|
|
658
662
|
id: string;
|
|
@@ -664,10 +668,6 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
664
668
|
url?: string | undefined;
|
|
665
669
|
};
|
|
666
670
|
note: string;
|
|
667
|
-
} | {
|
|
668
|
-
ok: false;
|
|
669
|
-
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
670
|
-
message: string;
|
|
671
671
|
};
|
|
672
672
|
outputFormat: "json";
|
|
673
673
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
package/dist/contract/index.d.ts
CHANGED
package/dist/contract/index.js
CHANGED
|
@@ -5907,26 +5907,6 @@ var homeRecoveryReaderSchema = z49.preprocess(
|
|
|
5907
5907
|
homeRecoverySchema
|
|
5908
5908
|
);
|
|
5909
5909
|
var homeRecoveryActionSchema = z49.object({ file: homeFileSchema, detectedAt: z49.iso.datetime() }).strict();
|
|
5910
|
-
|
|
5911
|
-
// ../contract/src/runner-skills.ts
|
|
5912
|
-
import { z as z50 } from "zod";
|
|
5913
|
-
var runnerSkillScopeSchema = z50.enum(["repo", "user", "system", "other"]);
|
|
5914
|
-
var runnerSkillSchema = z50.object({
|
|
5915
|
-
id: z50.string(),
|
|
5916
|
-
name: z50.string(),
|
|
5917
|
-
description: z50.string().optional(),
|
|
5918
|
-
scope: runnerSkillScopeSchema.optional(),
|
|
5919
|
-
plugin: z50.string().optional(),
|
|
5920
|
-
path: z50.string().optional()
|
|
5921
|
-
});
|
|
5922
|
-
var runnerSkillProblemSchema = z50.object({ message: z50.string(), path: z50.string().optional() });
|
|
5923
|
-
var runnerSkillListSchema = z50.object({
|
|
5924
|
-
runner: runnerSchema,
|
|
5925
|
-
skills: z50.array(runnerSkillSchema),
|
|
5926
|
-
problems: z50.array(runnerSkillProblemSchema),
|
|
5927
|
-
source: z50.enum(["live", "cache", "unavailable"]),
|
|
5928
|
-
reason: z50.string().optional()
|
|
5929
|
-
});
|
|
5930
5910
|
export {
|
|
5931
5911
|
ACTIVITY_CHECKS_MAX,
|
|
5932
5912
|
ACTIVITY_CHECK_NAME_MAX,
|
|
@@ -6481,10 +6461,6 @@ export {
|
|
|
6481
6461
|
runnerModelOptionSchema,
|
|
6482
6462
|
runnerModelsSchema,
|
|
6483
6463
|
runnerSchema,
|
|
6484
|
-
runnerSkillListSchema,
|
|
6485
|
-
runnerSkillProblemSchema,
|
|
6486
|
-
runnerSkillSchema,
|
|
6487
|
-
runnerSkillScopeSchema,
|
|
6488
6464
|
runningSubagents,
|
|
6489
6465
|
runsIndexResponseSchema,
|
|
6490
6466
|
runsSearchQuerySchema,
|
|
@@ -82,6 +82,17 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
82
82
|
"/discover": {
|
|
83
83
|
$post: {
|
|
84
84
|
output: {
|
|
85
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
86
|
+
models: {
|
|
87
|
+
id: string;
|
|
88
|
+
label: string;
|
|
89
|
+
description: string;
|
|
90
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
91
|
+
}[];
|
|
92
|
+
source: "cache" | "live" | "unavailable";
|
|
93
|
+
stale: boolean;
|
|
94
|
+
reason?: string | undefined;
|
|
95
|
+
} | {
|
|
85
96
|
scope: "host-default-account";
|
|
86
97
|
runners: {
|
|
87
98
|
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
@@ -102,17 +113,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
102
113
|
reason?: string | undefined;
|
|
103
114
|
}[];
|
|
104
115
|
nextOffset?: number | undefined;
|
|
105
|
-
} | {
|
|
106
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
107
|
-
models: {
|
|
108
|
-
id: string;
|
|
109
|
-
label: string;
|
|
110
|
-
description: string;
|
|
111
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
112
|
-
}[];
|
|
113
|
-
source: "cache" | "live" | "unavailable";
|
|
114
|
-
stale: boolean;
|
|
115
|
-
reason?: string | undefined;
|
|
116
116
|
};
|
|
117
117
|
outputFormat: "json";
|
|
118
118
|
status: 200;
|
|
@@ -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
|
} & {
|
|
@@ -65,17 +65,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
65
65
|
authFailureId?: string | undefined;
|
|
66
66
|
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
67
67
|
}[];
|
|
68
|
-
} | {
|
|
69
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
70
|
-
models: {
|
|
71
|
-
id: string;
|
|
72
|
-
label: string;
|
|
73
|
-
description: string;
|
|
74
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
75
|
-
}[];
|
|
76
|
-
source: "cache" | "live" | "unavailable";
|
|
77
|
-
stale: boolean;
|
|
78
|
-
reason?: string | undefined;
|
|
79
68
|
} | {
|
|
80
69
|
tasks: {
|
|
81
70
|
id: string;
|
|
@@ -88,6 +77,17 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
88
77
|
reason?: string | undefined;
|
|
89
78
|
}[];
|
|
90
79
|
nextOffset?: number | undefined;
|
|
80
|
+
} | {
|
|
81
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
82
|
+
models: {
|
|
83
|
+
id: string;
|
|
84
|
+
label: string;
|
|
85
|
+
description: string;
|
|
86
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
87
|
+
}[];
|
|
88
|
+
source: "cache" | "live" | "unavailable";
|
|
89
|
+
stale: boolean;
|
|
90
|
+
reason?: string | undefined;
|
|
91
91
|
};
|
|
92
92
|
outputFormat: "json";
|
|
93
93
|
status: 200;
|
|
@@ -196,13 +196,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
196
196
|
status: 200;
|
|
197
197
|
input: {
|
|
198
198
|
json: {
|
|
199
|
-
requestIds: string[];
|
|
200
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
201
|
-
timeoutSeconds?: number | undefined;
|
|
202
|
-
} | {
|
|
203
199
|
workerIds: string[];
|
|
204
200
|
timeoutSeconds?: number | undefined;
|
|
205
201
|
mode?: "all" | "any" | "one" | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
requestIds: string[];
|
|
204
|
+
mode?: "all" | "any" | "one" | undefined;
|
|
205
|
+
timeoutSeconds?: number | undefined;
|
|
206
206
|
} | {
|
|
207
207
|
peerIds: string[];
|
|
208
208
|
timeoutSeconds?: number | undefined;
|
|
@@ -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:
|
|
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
|
-
|
|
969
|
-
|
|
968
|
+
workerId: string;
|
|
969
|
+
baselineSha: string;
|
|
970
|
+
diff: string;
|
|
971
|
+
truncated: boolean;
|
|
970
972
|
};
|
|
971
973
|
outputFormat: "json";
|
|
972
|
-
status:
|
|
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
|
-
|
|
981
|
-
|
|
982
|
-
diff: string;
|
|
983
|
-
truncated: boolean;
|
|
982
|
+
error: string;
|
|
983
|
+
code?: "invalid_input" | undefined;
|
|
984
984
|
};
|
|
985
985
|
outputFormat: "json";
|
|
986
|
-
status:
|
|
986
|
+
status: 400;
|
|
987
987
|
input: {
|
|
988
988
|
param: {
|
|
989
989
|
workerId: string;
|
|
@@ -16,6 +16,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
16
16
|
output: {
|
|
17
17
|
generation: string;
|
|
18
18
|
results: ({
|
|
19
|
+
projectId: string;
|
|
20
|
+
runId: string;
|
|
21
|
+
type: "error" | "reset";
|
|
22
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
23
|
+
error: string;
|
|
24
|
+
} | {
|
|
19
25
|
projectId: string;
|
|
20
26
|
runId: string;
|
|
21
27
|
type: "batch";
|
|
@@ -29,12 +35,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
29
35
|
cursor: string;
|
|
30
36
|
afterSeq: number;
|
|
31
37
|
hasMore: boolean;
|
|
32
|
-
} | {
|
|
33
|
-
projectId: string;
|
|
34
|
-
runId: string;
|
|
35
|
-
type: "error" | "reset";
|
|
36
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
37
|
-
error: string;
|
|
38
38
|
})[];
|
|
39
39
|
};
|
|
40
40
|
outputFormat: "json";
|
package/dist/server/server.d.ts
CHANGED
|
@@ -2979,6 +2979,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2979
2979
|
output: {
|
|
2980
2980
|
generation: string;
|
|
2981
2981
|
results: ({
|
|
2982
|
+
projectId: string;
|
|
2983
|
+
runId: string;
|
|
2984
|
+
type: "error" | "reset";
|
|
2985
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
2986
|
+
error: string;
|
|
2987
|
+
} | {
|
|
2982
2988
|
projectId: string;
|
|
2983
2989
|
runId: string;
|
|
2984
2990
|
type: "batch";
|
|
@@ -2992,12 +2998,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2992
2998
|
cursor: string;
|
|
2993
2999
|
afterSeq: number;
|
|
2994
3000
|
hasMore: boolean;
|
|
2995
|
-
} | {
|
|
2996
|
-
projectId: string;
|
|
2997
|
-
runId: string;
|
|
2998
|
-
type: "error" | "reset";
|
|
2999
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
3000
|
-
error: string;
|
|
3001
3001
|
})[];
|
|
3002
3002
|
};
|
|
3003
3003
|
outputFormat: "json";
|
|
@@ -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:
|
|
18337
|
-
|
|
18338
|
-
|
|
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
|
-
|
|
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:
|
|
18388
|
-
|
|
18389
|
-
|
|
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
|
-
|
|
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:
|
|
34242
|
-
|
|
34243
|
-
|
|
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
|
-
|
|
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:
|
|
34293
|
-
|
|
34294
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -51,14 +51,13 @@ 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
|
|
55
|
-
*
|
|
56
|
-
* (hearsay-tools/squawk#1289). */
|
|
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). */
|
|
57
56
|
export declare function owedWakeInputIds(run: RunRecord, reads: WakeReads, beforeHumanReset?: {
|
|
58
57
|
spent: number;
|
|
59
58
|
}): string[];
|
|
60
|
-
/** A wake is owed:
|
|
61
|
-
*
|
|
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. */
|
|
62
61
|
export declare function owesWake(run: RunRecord, reads: WakeReads, beforeHumanReset?: {
|
|
63
62
|
spent: number;
|
|
64
63
|
}): boolean;
|