@wjarka/cezarion 0.10.0-pr30.54 → 0.11.0
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/server/server.d.ts +1016 -1016
- package/package.json +3 -3
package/dist/server/server.d.ts
CHANGED
|
@@ -309,17 +309,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
309
309
|
};
|
|
310
310
|
} | {
|
|
311
311
|
output: {
|
|
312
|
-
|
|
313
|
-
parent: string | null;
|
|
314
|
-
dirs: {
|
|
315
|
-
name: string;
|
|
316
|
-
path: string;
|
|
317
|
-
isRepo: boolean;
|
|
318
|
-
}[];
|
|
319
|
-
truncated: boolean;
|
|
312
|
+
error: string;
|
|
320
313
|
};
|
|
321
314
|
outputFormat: "json";
|
|
322
|
-
status:
|
|
315
|
+
status: 400 | 404;
|
|
323
316
|
input: {
|
|
324
317
|
query: {
|
|
325
318
|
path?: string | undefined;
|
|
@@ -328,10 +321,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
328
321
|
};
|
|
329
322
|
} | {
|
|
330
323
|
output: {
|
|
331
|
-
|
|
324
|
+
path: string;
|
|
325
|
+
parent: string | null;
|
|
326
|
+
dirs: {
|
|
327
|
+
name: string;
|
|
328
|
+
path: string;
|
|
329
|
+
isRepo: boolean;
|
|
330
|
+
}[];
|
|
331
|
+
truncated: boolean;
|
|
332
332
|
};
|
|
333
333
|
outputFormat: "json";
|
|
334
|
-
status:
|
|
334
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
335
335
|
input: {
|
|
336
336
|
query: {
|
|
337
337
|
path?: string | undefined;
|
|
@@ -343,17 +343,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
343
343
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
344
344
|
"/automation-checks/:checkId": {
|
|
345
345
|
$get: {
|
|
346
|
-
output: {
|
|
347
|
-
error: string;
|
|
348
|
-
};
|
|
349
|
-
outputFormat: "json";
|
|
350
|
-
status: 404;
|
|
351
|
-
input: {
|
|
352
|
-
param: {
|
|
353
|
-
checkId: string;
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
} | {
|
|
357
346
|
output: {
|
|
358
347
|
id: string;
|
|
359
348
|
automationId: string;
|
|
@@ -372,6 +361,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
372
361
|
checkId: string;
|
|
373
362
|
};
|
|
374
363
|
};
|
|
364
|
+
} | {
|
|
365
|
+
output: {
|
|
366
|
+
error: string;
|
|
367
|
+
};
|
|
368
|
+
outputFormat: "json";
|
|
369
|
+
status: 404;
|
|
370
|
+
input: {
|
|
371
|
+
param: {
|
|
372
|
+
checkId: string;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
375
|
};
|
|
376
376
|
};
|
|
377
377
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -452,6 +452,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
452
452
|
projectId: string | string[];
|
|
453
453
|
};
|
|
454
454
|
};
|
|
455
|
+
} | {
|
|
456
|
+
output: {
|
|
457
|
+
error: string;
|
|
458
|
+
};
|
|
459
|
+
outputFormat: "json";
|
|
460
|
+
status: 404 | 409;
|
|
461
|
+
input: {
|
|
462
|
+
query: {
|
|
463
|
+
projectId: string | string[];
|
|
464
|
+
};
|
|
465
|
+
};
|
|
455
466
|
} | {
|
|
456
467
|
output: {
|
|
457
468
|
status: import("../skills-update.ts").SkillsUpdateStatus;
|
|
@@ -478,17 +489,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
478
489
|
projectId: string | string[];
|
|
479
490
|
};
|
|
480
491
|
};
|
|
481
|
-
} | {
|
|
482
|
-
output: {
|
|
483
|
-
error: string;
|
|
484
|
-
};
|
|
485
|
-
outputFormat: "json";
|
|
486
|
-
status: 404 | 409;
|
|
487
|
-
input: {
|
|
488
|
-
query: {
|
|
489
|
-
projectId: string | string[];
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
492
|
};
|
|
493
493
|
};
|
|
494
494
|
} & {
|
|
@@ -625,10 +625,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
625
625
|
};
|
|
626
626
|
} | {
|
|
627
627
|
output: {
|
|
628
|
-
|
|
628
|
+
providers: {
|
|
629
|
+
provider: ProviderId;
|
|
630
|
+
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
631
|
+
enabled?: boolean;
|
|
632
|
+
hint?: string;
|
|
633
|
+
authFailureId?: string;
|
|
634
|
+
profileId?: string;
|
|
635
|
+
}[];
|
|
629
636
|
};
|
|
630
637
|
outputFormat: "json";
|
|
631
|
-
status:
|
|
638
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
632
639
|
input: {
|
|
633
640
|
param: {
|
|
634
641
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -640,17 +647,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
640
647
|
};
|
|
641
648
|
} | {
|
|
642
649
|
output: {
|
|
643
|
-
|
|
644
|
-
provider: ProviderId;
|
|
645
|
-
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
646
|
-
enabled?: boolean;
|
|
647
|
-
hint?: string;
|
|
648
|
-
authFailureId?: string;
|
|
649
|
-
profileId?: string;
|
|
650
|
-
}[];
|
|
650
|
+
error: string;
|
|
651
651
|
};
|
|
652
652
|
outputFormat: "json";
|
|
653
|
-
status:
|
|
653
|
+
status: 500;
|
|
654
654
|
input: {
|
|
655
655
|
param: {
|
|
656
656
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -681,10 +681,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
681
681
|
};
|
|
682
682
|
} | {
|
|
683
683
|
output: {
|
|
684
|
-
|
|
684
|
+
providers: {
|
|
685
|
+
provider: ProviderId;
|
|
686
|
+
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
687
|
+
enabled?: boolean;
|
|
688
|
+
hint?: string;
|
|
689
|
+
authFailureId?: string;
|
|
690
|
+
profileId?: string;
|
|
691
|
+
}[];
|
|
685
692
|
};
|
|
686
693
|
outputFormat: "json";
|
|
687
|
-
status:
|
|
694
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
688
695
|
input: {
|
|
689
696
|
param: {
|
|
690
697
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -696,17 +703,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
696
703
|
};
|
|
697
704
|
} | {
|
|
698
705
|
output: {
|
|
699
|
-
|
|
700
|
-
provider: ProviderId;
|
|
701
|
-
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
702
|
-
enabled?: boolean;
|
|
703
|
-
hint?: string;
|
|
704
|
-
authFailureId?: string;
|
|
705
|
-
profileId?: string;
|
|
706
|
-
}[];
|
|
706
|
+
error: string;
|
|
707
707
|
};
|
|
708
708
|
outputFormat: "json";
|
|
709
|
-
status:
|
|
709
|
+
status: 409;
|
|
710
710
|
input: {
|
|
711
711
|
param: {
|
|
712
712
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -725,7 +725,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
725
725
|
error: string;
|
|
726
726
|
};
|
|
727
727
|
outputFormat: "json";
|
|
728
|
-
status:
|
|
728
|
+
status: 409;
|
|
729
729
|
input: {
|
|
730
730
|
json: {
|
|
731
731
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -737,7 +737,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
737
737
|
error: string;
|
|
738
738
|
};
|
|
739
739
|
outputFormat: "json";
|
|
740
|
-
status:
|
|
740
|
+
status: 400;
|
|
741
741
|
input: {
|
|
742
742
|
json: {
|
|
743
743
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -825,10 +825,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
825
825
|
"/workspace/config": {
|
|
826
826
|
$put: {
|
|
827
827
|
output: {
|
|
828
|
-
|
|
828
|
+
browseRoot: string;
|
|
829
|
+
projectsDir: string;
|
|
830
|
+
skillsAutoUpdate: boolean | null;
|
|
831
|
+
effectiveSkillsAutoUpdate: boolean;
|
|
832
|
+
composerDefaults: {
|
|
833
|
+
autonomous: boolean | null;
|
|
834
|
+
worktree: boolean | null;
|
|
835
|
+
inheritedAutonomous: boolean | 'source-dependent';
|
|
836
|
+
inheritedWorktree: boolean;
|
|
837
|
+
};
|
|
838
|
+
resources: {
|
|
839
|
+
maxParallel: number;
|
|
840
|
+
maxMonitoringSessions: number;
|
|
841
|
+
monitoringWakeIntervalMinutes: number | null;
|
|
842
|
+
autoResumeOnUsageLimit: boolean;
|
|
843
|
+
memoryLimitMb: number | null;
|
|
844
|
+
worktreeRetentionDefault: number;
|
|
845
|
+
};
|
|
846
|
+
agentDefaults: {
|
|
847
|
+
runner?: ProviderId;
|
|
848
|
+
models?: {
|
|
849
|
+
claude?: string;
|
|
850
|
+
codex?: string;
|
|
851
|
+
opencode?: string;
|
|
852
|
+
} | undefined;
|
|
853
|
+
};
|
|
829
854
|
};
|
|
830
855
|
outputFormat: "json";
|
|
831
|
-
status:
|
|
856
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
832
857
|
input: {
|
|
833
858
|
json: {
|
|
834
859
|
browseRoot?: string | undefined;
|
|
@@ -862,7 +887,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
862
887
|
error: string;
|
|
863
888
|
};
|
|
864
889
|
outputFormat: "json";
|
|
865
|
-
status:
|
|
890
|
+
status: 400;
|
|
866
891
|
input: {
|
|
867
892
|
json: {
|
|
868
893
|
browseRoot?: string | undefined;
|
|
@@ -893,35 +918,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
893
918
|
};
|
|
894
919
|
} | {
|
|
895
920
|
output: {
|
|
896
|
-
|
|
897
|
-
projectsDir: string;
|
|
898
|
-
skillsAutoUpdate: boolean | null;
|
|
899
|
-
effectiveSkillsAutoUpdate: boolean;
|
|
900
|
-
composerDefaults: {
|
|
901
|
-
autonomous: boolean | null;
|
|
902
|
-
worktree: boolean | null;
|
|
903
|
-
inheritedAutonomous: boolean | 'source-dependent';
|
|
904
|
-
inheritedWorktree: boolean;
|
|
905
|
-
};
|
|
906
|
-
resources: {
|
|
907
|
-
maxParallel: number;
|
|
908
|
-
maxMonitoringSessions: number;
|
|
909
|
-
monitoringWakeIntervalMinutes: number | null;
|
|
910
|
-
autoResumeOnUsageLimit: boolean;
|
|
911
|
-
memoryLimitMb: number | null;
|
|
912
|
-
worktreeRetentionDefault: number;
|
|
913
|
-
};
|
|
914
|
-
agentDefaults: {
|
|
915
|
-
runner?: ProviderId;
|
|
916
|
-
models?: {
|
|
917
|
-
claude?: string;
|
|
918
|
-
codex?: string;
|
|
919
|
-
opencode?: string;
|
|
920
|
-
} | undefined;
|
|
921
|
-
};
|
|
921
|
+
error: string;
|
|
922
922
|
};
|
|
923
923
|
outputFormat: "json";
|
|
924
|
-
status:
|
|
924
|
+
status: 500;
|
|
925
925
|
input: {
|
|
926
926
|
json: {
|
|
927
927
|
browseRoot?: string | undefined;
|
|
@@ -1001,10 +1001,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1001
1001
|
"/workspace/ui-state": {
|
|
1002
1002
|
$put: {
|
|
1003
1003
|
output: {
|
|
1004
|
-
|
|
1004
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1005
|
+
sidebar?: {
|
|
1006
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1007
|
+
collapsed?: {
|
|
1008
|
+
[x: string]: boolean;
|
|
1009
|
+
} | undefined;
|
|
1010
|
+
} | undefined;
|
|
1011
|
+
dismissedProviderAuthFailures?: {
|
|
1012
|
+
claude?: string | undefined;
|
|
1013
|
+
codex?: string | undefined;
|
|
1014
|
+
opencode?: string | undefined;
|
|
1015
|
+
pi?: string | undefined;
|
|
1016
|
+
} | undefined;
|
|
1017
|
+
appearance?: {
|
|
1018
|
+
accent?: "lime" | "violet" | undefined;
|
|
1019
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
1020
|
+
width?: "narrow" | "wide" | undefined;
|
|
1021
|
+
} | undefined;
|
|
1022
|
+
notifications?: {
|
|
1023
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1024
|
+
enabled?: boolean | undefined;
|
|
1025
|
+
} | undefined;
|
|
1026
|
+
taskTable?: {
|
|
1027
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1028
|
+
expandedColumns?: {
|
|
1029
|
+
[x: string]: boolean;
|
|
1030
|
+
} | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
lastLocation?: {
|
|
1033
|
+
projectId: string;
|
|
1034
|
+
pathname: string;
|
|
1035
|
+
search?: string | undefined;
|
|
1036
|
+
hash?: string | undefined;
|
|
1037
|
+
} | undefined;
|
|
1038
|
+
importedSkills?: string[] | undefined;
|
|
1005
1039
|
};
|
|
1006
1040
|
outputFormat: "json";
|
|
1007
|
-
status:
|
|
1041
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1008
1042
|
input: {
|
|
1009
1043
|
json: {
|
|
1010
1044
|
[x: string]: unknown;
|
|
@@ -1042,44 +1076,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1042
1076
|
};
|
|
1043
1077
|
} | {
|
|
1044
1078
|
output: {
|
|
1045
|
-
|
|
1046
|
-
sidebar?: {
|
|
1047
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1048
|
-
collapsed?: {
|
|
1049
|
-
[x: string]: boolean;
|
|
1050
|
-
} | undefined;
|
|
1051
|
-
} | undefined;
|
|
1052
|
-
dismissedProviderAuthFailures?: {
|
|
1053
|
-
claude?: string | undefined;
|
|
1054
|
-
codex?: string | undefined;
|
|
1055
|
-
opencode?: string | undefined;
|
|
1056
|
-
pi?: string | undefined;
|
|
1057
|
-
} | undefined;
|
|
1058
|
-
appearance?: {
|
|
1059
|
-
accent?: "lime" | "violet" | undefined;
|
|
1060
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
1061
|
-
width?: "narrow" | "wide" | undefined;
|
|
1062
|
-
} | undefined;
|
|
1063
|
-
notifications?: {
|
|
1064
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1065
|
-
enabled?: boolean | undefined;
|
|
1066
|
-
} | undefined;
|
|
1067
|
-
taskTable?: {
|
|
1068
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1069
|
-
expandedColumns?: {
|
|
1070
|
-
[x: string]: boolean;
|
|
1071
|
-
} | undefined;
|
|
1072
|
-
} | undefined;
|
|
1073
|
-
lastLocation?: {
|
|
1074
|
-
projectId: string;
|
|
1075
|
-
pathname: string;
|
|
1076
|
-
search?: string | undefined;
|
|
1077
|
-
hash?: string | undefined;
|
|
1078
|
-
} | undefined;
|
|
1079
|
-
importedSkills?: string[] | undefined;
|
|
1079
|
+
error: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
outputFormat: "json";
|
|
1082
|
-
status:
|
|
1082
|
+
status: 500;
|
|
1083
1083
|
input: {
|
|
1084
1084
|
json: {
|
|
1085
1085
|
[x: string]: unknown;
|
|
@@ -1209,7 +1209,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1209
1209
|
error: string;
|
|
1210
1210
|
};
|
|
1211
1211
|
outputFormat: "json";
|
|
1212
|
-
status:
|
|
1212
|
+
status: 409;
|
|
1213
1213
|
input: {
|
|
1214
1214
|
param: {
|
|
1215
1215
|
projectId: string;
|
|
@@ -1220,7 +1220,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1220
1220
|
error: string;
|
|
1221
1221
|
};
|
|
1222
1222
|
outputFormat: "json";
|
|
1223
|
-
status:
|
|
1223
|
+
status: 404;
|
|
1224
1224
|
input: {
|
|
1225
1225
|
param: {
|
|
1226
1226
|
projectId: string;
|
|
@@ -1258,7 +1258,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1258
1258
|
error: string;
|
|
1259
1259
|
};
|
|
1260
1260
|
outputFormat: "json";
|
|
1261
|
-
status:
|
|
1261
|
+
status: 409;
|
|
1262
1262
|
input: {
|
|
1263
1263
|
json: {
|
|
1264
1264
|
maxParallel?: number | null | undefined;
|
|
@@ -1274,7 +1274,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1274
1274
|
error: string;
|
|
1275
1275
|
};
|
|
1276
1276
|
outputFormat: "json";
|
|
1277
|
-
status:
|
|
1277
|
+
status: 404;
|
|
1278
1278
|
input: {
|
|
1279
1279
|
json: {
|
|
1280
1280
|
maxParallel?: number | null | undefined;
|
|
@@ -1451,6 +1451,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1451
1451
|
} & {
|
|
1452
1452
|
"/workspace/agent-profiles": {
|
|
1453
1453
|
$post: {
|
|
1454
|
+
output: {
|
|
1455
|
+
error: string;
|
|
1456
|
+
};
|
|
1457
|
+
outputFormat: "json";
|
|
1458
|
+
status: 409;
|
|
1459
|
+
input: {
|
|
1460
|
+
json: {
|
|
1461
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1462
|
+
label?: string | undefined;
|
|
1463
|
+
configDir: string;
|
|
1464
|
+
};
|
|
1465
|
+
};
|
|
1466
|
+
} | {
|
|
1467
|
+
output: {
|
|
1468
|
+
error: string;
|
|
1469
|
+
};
|
|
1470
|
+
outputFormat: "json";
|
|
1471
|
+
status: 400;
|
|
1472
|
+
input: {
|
|
1473
|
+
json: {
|
|
1474
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1475
|
+
label?: string | undefined;
|
|
1476
|
+
configDir: string;
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
1479
|
+
} | {
|
|
1480
|
+
output: {
|
|
1481
|
+
error: string;
|
|
1482
|
+
};
|
|
1483
|
+
outputFormat: "json";
|
|
1484
|
+
status: 500;
|
|
1485
|
+
input: {
|
|
1486
|
+
json: {
|
|
1487
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1488
|
+
label?: string | undefined;
|
|
1489
|
+
configDir: string;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
} | {
|
|
1454
1493
|
output: {
|
|
1455
1494
|
profile: {
|
|
1456
1495
|
exists: boolean;
|
|
@@ -1501,45 +1540,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1501
1540
|
configDir: string;
|
|
1502
1541
|
};
|
|
1503
1542
|
};
|
|
1504
|
-
} | {
|
|
1505
|
-
output: {
|
|
1506
|
-
error: string;
|
|
1507
|
-
};
|
|
1508
|
-
outputFormat: "json";
|
|
1509
|
-
status: 400;
|
|
1510
|
-
input: {
|
|
1511
|
-
json: {
|
|
1512
|
-
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1513
|
-
label?: string | undefined;
|
|
1514
|
-
configDir: string;
|
|
1515
|
-
};
|
|
1516
|
-
};
|
|
1517
|
-
} | {
|
|
1518
|
-
output: {
|
|
1519
|
-
error: string;
|
|
1520
|
-
};
|
|
1521
|
-
outputFormat: "json";
|
|
1522
|
-
status: 409;
|
|
1523
|
-
input: {
|
|
1524
|
-
json: {
|
|
1525
|
-
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1526
|
-
label?: string | undefined;
|
|
1527
|
-
configDir: string;
|
|
1528
|
-
};
|
|
1529
|
-
};
|
|
1530
|
-
} | {
|
|
1531
|
-
output: {
|
|
1532
|
-
error: string;
|
|
1533
|
-
};
|
|
1534
|
-
outputFormat: "json";
|
|
1535
|
-
status: 500;
|
|
1536
|
-
input: {
|
|
1537
|
-
json: {
|
|
1538
|
-
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1539
|
-
label?: string | undefined;
|
|
1540
|
-
configDir: string;
|
|
1541
|
-
};
|
|
1542
|
-
};
|
|
1543
1543
|
};
|
|
1544
1544
|
};
|
|
1545
1545
|
} & {
|
|
@@ -1565,7 +1565,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1565
1565
|
error: string;
|
|
1566
1566
|
};
|
|
1567
1567
|
outputFormat: "json";
|
|
1568
|
-
status:
|
|
1568
|
+
status: 409;
|
|
1569
1569
|
input: {
|
|
1570
1570
|
param: {
|
|
1571
1571
|
id: string;
|
|
@@ -1581,7 +1581,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1581
1581
|
error: string;
|
|
1582
1582
|
};
|
|
1583
1583
|
outputFormat: "json";
|
|
1584
|
-
status:
|
|
1584
|
+
status: 400;
|
|
1585
1585
|
input: {
|
|
1586
1586
|
param: {
|
|
1587
1587
|
id: string;
|
|
@@ -1597,7 +1597,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1597
1597
|
error: string;
|
|
1598
1598
|
};
|
|
1599
1599
|
outputFormat: "json";
|
|
1600
|
-
status:
|
|
1600
|
+
status: 404;
|
|
1601
1601
|
input: {
|
|
1602
1602
|
param: {
|
|
1603
1603
|
id: string;
|
|
@@ -1702,7 +1702,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1702
1702
|
error: string;
|
|
1703
1703
|
};
|
|
1704
1704
|
outputFormat: "json";
|
|
1705
|
-
status:
|
|
1705
|
+
status: 409;
|
|
1706
1706
|
input: {
|
|
1707
1707
|
param: {
|
|
1708
1708
|
id: string;
|
|
@@ -1717,7 +1717,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1717
1717
|
error: string;
|
|
1718
1718
|
};
|
|
1719
1719
|
outputFormat: "json";
|
|
1720
|
-
status:
|
|
1720
|
+
status: 404;
|
|
1721
1721
|
input: {
|
|
1722
1722
|
param: {
|
|
1723
1723
|
id: string;
|
|
@@ -1769,7 +1769,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1769
1769
|
error: string;
|
|
1770
1770
|
};
|
|
1771
1771
|
outputFormat: "json";
|
|
1772
|
-
status:
|
|
1772
|
+
status: 409;
|
|
1773
1773
|
input: {
|
|
1774
1774
|
param: {
|
|
1775
1775
|
id: string;
|
|
@@ -1780,7 +1780,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1780
1780
|
error: string;
|
|
1781
1781
|
};
|
|
1782
1782
|
outputFormat: "json";
|
|
1783
|
-
status:
|
|
1783
|
+
status: 404;
|
|
1784
1784
|
input: {
|
|
1785
1785
|
param: {
|
|
1786
1786
|
id: string;
|
|
@@ -1827,7 +1827,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1827
1827
|
error: string;
|
|
1828
1828
|
};
|
|
1829
1829
|
outputFormat: "json";
|
|
1830
|
-
status:
|
|
1830
|
+
status: 409;
|
|
1831
1831
|
input: {
|
|
1832
1832
|
param: {
|
|
1833
1833
|
id: string;
|
|
@@ -1859,7 +1859,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1859
1859
|
error: string;
|
|
1860
1860
|
};
|
|
1861
1861
|
outputFormat: "json";
|
|
1862
|
-
status:
|
|
1862
|
+
status: 400;
|
|
1863
1863
|
input: {
|
|
1864
1864
|
param: {
|
|
1865
1865
|
id: string;
|
|
@@ -1896,7 +1896,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1896
1896
|
error: string;
|
|
1897
1897
|
};
|
|
1898
1898
|
outputFormat: "json";
|
|
1899
|
-
status:
|
|
1899
|
+
status: 409;
|
|
1900
1900
|
input: {
|
|
1901
1901
|
json: {
|
|
1902
1902
|
projectId: string | null;
|
|
@@ -1922,7 +1922,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1922
1922
|
error: string;
|
|
1923
1923
|
};
|
|
1924
1924
|
outputFormat: "json";
|
|
1925
|
-
status:
|
|
1925
|
+
status: 400;
|
|
1926
1926
|
input: {
|
|
1927
1927
|
json: {
|
|
1928
1928
|
projectId: string | null;
|
|
@@ -1991,7 +1991,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1991
1991
|
error: string;
|
|
1992
1992
|
};
|
|
1993
1993
|
outputFormat: "json";
|
|
1994
|
-
status:
|
|
1994
|
+
status: 409;
|
|
1995
1995
|
input: {
|
|
1996
1996
|
param: {
|
|
1997
1997
|
id: string;
|
|
@@ -2002,7 +2002,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2002
2002
|
error: string;
|
|
2003
2003
|
};
|
|
2004
2004
|
outputFormat: "json";
|
|
2005
|
-
status:
|
|
2005
|
+
status: 500;
|
|
2006
2006
|
input: {
|
|
2007
2007
|
param: {
|
|
2008
2008
|
id: string;
|
|
@@ -2013,7 +2013,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2013
2013
|
error: string;
|
|
2014
2014
|
};
|
|
2015
2015
|
outputFormat: "json";
|
|
2016
|
-
status:
|
|
2016
|
+
status: 404;
|
|
2017
2017
|
input: {
|
|
2018
2018
|
param: {
|
|
2019
2019
|
id: string;
|
|
@@ -2458,7 +2458,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2458
2458
|
error: string;
|
|
2459
2459
|
};
|
|
2460
2460
|
outputFormat: "json";
|
|
2461
|
-
status:
|
|
2461
|
+
status: 409;
|
|
2462
2462
|
input: {
|
|
2463
2463
|
json: {
|
|
2464
2464
|
target: string;
|
|
@@ -2469,7 +2469,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2469
2469
|
error: string;
|
|
2470
2470
|
};
|
|
2471
2471
|
outputFormat: "json";
|
|
2472
|
-
status:
|
|
2472
|
+
status: 400;
|
|
2473
2473
|
input: {
|
|
2474
2474
|
json: {
|
|
2475
2475
|
target: string;
|
|
@@ -2528,11 +2528,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2528
2528
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2529
2529
|
"/runs/:id/events": {
|
|
2530
2530
|
$get: {
|
|
2531
|
-
output: {
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
outputFormat: "json";
|
|
2535
|
-
status: 400;
|
|
2531
|
+
output: {};
|
|
2532
|
+
outputFormat: string;
|
|
2533
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
2536
2534
|
input: {
|
|
2537
2535
|
param: {
|
|
2538
2536
|
id: string;
|
|
@@ -2544,9 +2542,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2544
2542
|
};
|
|
2545
2543
|
};
|
|
2546
2544
|
} | {
|
|
2547
|
-
output: {
|
|
2548
|
-
|
|
2549
|
-
|
|
2545
|
+
output: {
|
|
2546
|
+
error: string;
|
|
2547
|
+
};
|
|
2548
|
+
outputFormat: "json";
|
|
2549
|
+
status: 400;
|
|
2550
2550
|
input: {
|
|
2551
2551
|
param: {
|
|
2552
2552
|
id: string;
|
|
@@ -2597,10 +2597,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2597
2597
|
"/config": {
|
|
2598
2598
|
$put: {
|
|
2599
2599
|
output: {
|
|
2600
|
-
|
|
2600
|
+
baseBranch: string | null;
|
|
2601
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
2602
|
+
systemPrompt: string | null;
|
|
2603
|
+
defaultModels: {
|
|
2604
|
+
claude?: string | undefined;
|
|
2605
|
+
codex?: string | undefined;
|
|
2606
|
+
opencode?: string | undefined;
|
|
2607
|
+
pi?: string | undefined;
|
|
2608
|
+
};
|
|
2609
|
+
modelsLocked: boolean;
|
|
2610
|
+
maxParallel: number;
|
|
2611
|
+
memoryLimitMb: number | null;
|
|
2612
|
+
worktreeRetention: number;
|
|
2613
|
+
liveTitleUpdates: boolean | null;
|
|
2614
|
+
reviewGate: boolean | null;
|
|
2601
2615
|
};
|
|
2602
2616
|
outputFormat: "json";
|
|
2603
|
-
status:
|
|
2617
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2604
2618
|
input: {
|
|
2605
2619
|
json: {
|
|
2606
2620
|
baseBranch?: string | null | undefined;
|
|
@@ -2624,7 +2638,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2624
2638
|
error: string;
|
|
2625
2639
|
};
|
|
2626
2640
|
outputFormat: "json";
|
|
2627
|
-
status:
|
|
2641
|
+
status: 409;
|
|
2628
2642
|
input: {
|
|
2629
2643
|
json: {
|
|
2630
2644
|
baseBranch?: string | null | undefined;
|
|
@@ -2645,24 +2659,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2645
2659
|
};
|
|
2646
2660
|
} | {
|
|
2647
2661
|
output: {
|
|
2648
|
-
|
|
2649
|
-
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
2650
|
-
systemPrompt: string | null;
|
|
2651
|
-
defaultModels: {
|
|
2652
|
-
claude?: string | undefined;
|
|
2653
|
-
codex?: string | undefined;
|
|
2654
|
-
opencode?: string | undefined;
|
|
2655
|
-
pi?: string | undefined;
|
|
2656
|
-
};
|
|
2657
|
-
modelsLocked: boolean;
|
|
2658
|
-
maxParallel: number;
|
|
2659
|
-
memoryLimitMb: number | null;
|
|
2660
|
-
worktreeRetention: number;
|
|
2661
|
-
liveTitleUpdates: boolean | null;
|
|
2662
|
-
reviewGate: boolean | null;
|
|
2662
|
+
error: string;
|
|
2663
2663
|
};
|
|
2664
2664
|
outputFormat: "json";
|
|
2665
|
-
status:
|
|
2665
|
+
status: 500;
|
|
2666
2666
|
input: {
|
|
2667
2667
|
json: {
|
|
2668
2668
|
baseBranch?: string | null | undefined;
|
|
@@ -2686,17 +2686,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2686
2686
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2687
2687
|
"/skills": {
|
|
2688
2688
|
$get: {
|
|
2689
|
-
output: {
|
|
2690
|
-
error: string;
|
|
2691
|
-
};
|
|
2692
|
-
outputFormat: "json";
|
|
2693
|
-
status: 400;
|
|
2694
|
-
input: {
|
|
2695
|
-
query: {
|
|
2696
|
-
wait?: string | undefined;
|
|
2697
|
-
};
|
|
2698
|
-
};
|
|
2699
|
-
} | {
|
|
2700
2689
|
output: {
|
|
2701
2690
|
name: string;
|
|
2702
2691
|
description?: string;
|
|
@@ -2719,11 +2708,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2719
2708
|
wait?: string | undefined;
|
|
2720
2709
|
};
|
|
2721
2710
|
};
|
|
2722
|
-
}
|
|
2723
|
-
};
|
|
2724
|
-
} & {
|
|
2725
|
-
"/skills/importable": {
|
|
2726
|
-
$get: {
|
|
2711
|
+
} | {
|
|
2727
2712
|
output: {
|
|
2728
2713
|
error: string;
|
|
2729
2714
|
};
|
|
@@ -2734,7 +2719,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2734
2719
|
wait?: string | undefined;
|
|
2735
2720
|
};
|
|
2736
2721
|
};
|
|
2737
|
-
}
|
|
2722
|
+
};
|
|
2723
|
+
};
|
|
2724
|
+
} & {
|
|
2725
|
+
"/skills/importable": {
|
|
2726
|
+
$get: {
|
|
2738
2727
|
output: {
|
|
2739
2728
|
name: string;
|
|
2740
2729
|
description?: string | undefined;
|
|
@@ -2746,6 +2735,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2746
2735
|
wait?: string | undefined;
|
|
2747
2736
|
};
|
|
2748
2737
|
};
|
|
2738
|
+
} | {
|
|
2739
|
+
output: {
|
|
2740
|
+
error: string;
|
|
2741
|
+
};
|
|
2742
|
+
outputFormat: "json";
|
|
2743
|
+
status: 400;
|
|
2744
|
+
input: {
|
|
2745
|
+
query: {
|
|
2746
|
+
wait?: string | undefined;
|
|
2747
|
+
};
|
|
2748
|
+
};
|
|
2749
2749
|
};
|
|
2750
2750
|
};
|
|
2751
2751
|
} & {
|
|
@@ -2799,7 +2799,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2799
2799
|
error: string;
|
|
2800
2800
|
};
|
|
2801
2801
|
outputFormat: "json";
|
|
2802
|
-
status:
|
|
2802
|
+
status: 409;
|
|
2803
2803
|
input: {
|
|
2804
2804
|
param: {
|
|
2805
2805
|
id: string;
|
|
@@ -2807,10 +2807,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2807
2807
|
};
|
|
2808
2808
|
} | {
|
|
2809
2809
|
output: {
|
|
2810
|
-
|
|
2810
|
+
removed: true;
|
|
2811
2811
|
};
|
|
2812
2812
|
outputFormat: "json";
|
|
2813
|
-
status:
|
|
2813
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2814
2814
|
input: {
|
|
2815
2815
|
param: {
|
|
2816
2816
|
id: string;
|
|
@@ -2818,10 +2818,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2818
2818
|
};
|
|
2819
2819
|
} | {
|
|
2820
2820
|
output: {
|
|
2821
|
-
|
|
2821
|
+
error: string;
|
|
2822
2822
|
};
|
|
2823
2823
|
outputFormat: "json";
|
|
2824
|
-
status:
|
|
2824
|
+
status: 404;
|
|
2825
2825
|
input: {
|
|
2826
2826
|
param: {
|
|
2827
2827
|
id: string;
|
|
@@ -2832,6 +2832,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2832
2832
|
} & {
|
|
2833
2833
|
"/todos/:id/start": {
|
|
2834
2834
|
$post: {
|
|
2835
|
+
output: {
|
|
2836
|
+
error: string;
|
|
2837
|
+
};
|
|
2838
|
+
outputFormat: "json";
|
|
2839
|
+
status: 409;
|
|
2840
|
+
input: {
|
|
2841
|
+
json: {
|
|
2842
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2843
|
+
model?: string | undefined;
|
|
2844
|
+
prompt?: string | undefined;
|
|
2845
|
+
} | undefined;
|
|
2846
|
+
} & {
|
|
2847
|
+
param: {
|
|
2848
|
+
id: string;
|
|
2849
|
+
};
|
|
2850
|
+
};
|
|
2851
|
+
} | {
|
|
2835
2852
|
output: {
|
|
2836
2853
|
run: {
|
|
2837
2854
|
id: string;
|
|
@@ -2964,23 +2981,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2964
2981
|
id: string;
|
|
2965
2982
|
};
|
|
2966
2983
|
};
|
|
2967
|
-
} | {
|
|
2968
|
-
output: {
|
|
2969
|
-
error: string;
|
|
2970
|
-
};
|
|
2971
|
-
outputFormat: "json";
|
|
2972
|
-
status: 404;
|
|
2973
|
-
input: {
|
|
2974
|
-
json: {
|
|
2975
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2976
|
-
model?: string | undefined;
|
|
2977
|
-
prompt?: string | undefined;
|
|
2978
|
-
} | undefined;
|
|
2979
|
-
} & {
|
|
2980
|
-
param: {
|
|
2981
|
-
id: string;
|
|
2982
|
-
};
|
|
2983
|
-
};
|
|
2984
2984
|
} | {
|
|
2985
2985
|
output: {
|
|
2986
2986
|
error: string;
|
|
@@ -3003,7 +3003,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3003
3003
|
error: string;
|
|
3004
3004
|
};
|
|
3005
3005
|
outputFormat: "json";
|
|
3006
|
-
status:
|
|
3006
|
+
status: 404;
|
|
3007
3007
|
input: {
|
|
3008
3008
|
json: {
|
|
3009
3009
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -3105,10 +3105,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3105
3105
|
"/agent-config/:id": {
|
|
3106
3106
|
$put: {
|
|
3107
3107
|
output: {
|
|
3108
|
-
|
|
3108
|
+
id: string;
|
|
3109
|
+
path: string;
|
|
3110
|
+
exists: boolean;
|
|
3111
|
+
content: string;
|
|
3112
|
+
version: string | null;
|
|
3109
3113
|
};
|
|
3110
3114
|
outputFormat: "json";
|
|
3111
|
-
status:
|
|
3115
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3112
3116
|
input: {
|
|
3113
3117
|
json: {
|
|
3114
3118
|
content: string;
|
|
@@ -3121,14 +3125,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3121
3125
|
};
|
|
3122
3126
|
} | {
|
|
3123
3127
|
output: {
|
|
3124
|
-
|
|
3125
|
-
path: string;
|
|
3126
|
-
exists: boolean;
|
|
3127
|
-
content: string;
|
|
3128
|
-
version: string | null;
|
|
3128
|
+
error: string;
|
|
3129
3129
|
};
|
|
3130
3130
|
outputFormat: "json";
|
|
3131
|
-
status:
|
|
3131
|
+
status: 404;
|
|
3132
3132
|
input: {
|
|
3133
3133
|
json: {
|
|
3134
3134
|
content: string;
|
|
@@ -3196,11 +3196,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3196
3196
|
"/workflows": {
|
|
3197
3197
|
$post: {
|
|
3198
3198
|
output: {
|
|
3199
|
-
|
|
3200
|
-
name: string;
|
|
3199
|
+
error: string;
|
|
3201
3200
|
};
|
|
3202
3201
|
outputFormat: "json";
|
|
3203
|
-
status:
|
|
3202
|
+
status: 400;
|
|
3204
3203
|
input: {
|
|
3205
3204
|
json: {
|
|
3206
3205
|
name: string;
|
|
@@ -3227,9 +3226,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3227
3226
|
} | {
|
|
3228
3227
|
output: {
|
|
3229
3228
|
error: string;
|
|
3229
|
+
exists: true;
|
|
3230
3230
|
};
|
|
3231
3231
|
outputFormat: "json";
|
|
3232
|
-
status:
|
|
3232
|
+
status: 409;
|
|
3233
3233
|
input: {
|
|
3234
3234
|
json: {
|
|
3235
3235
|
name: string;
|
|
@@ -3256,10 +3256,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3256
3256
|
} | {
|
|
3257
3257
|
output: {
|
|
3258
3258
|
error: string;
|
|
3259
|
-
exists: true;
|
|
3260
3259
|
};
|
|
3261
3260
|
outputFormat: "json";
|
|
3262
|
-
status:
|
|
3261
|
+
status: 500;
|
|
3263
3262
|
input: {
|
|
3264
3263
|
json: {
|
|
3265
3264
|
name: string;
|
|
@@ -3285,10 +3284,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3285
3284
|
};
|
|
3286
3285
|
} | {
|
|
3287
3286
|
output: {
|
|
3288
|
-
|
|
3287
|
+
path: string;
|
|
3288
|
+
name: string;
|
|
3289
3289
|
};
|
|
3290
3290
|
outputFormat: "json";
|
|
3291
|
-
status:
|
|
3291
|
+
status: 201;
|
|
3292
3292
|
input: {
|
|
3293
3293
|
json: {
|
|
3294
3294
|
name: string;
|
|
@@ -3321,7 +3321,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3321
3321
|
error: string;
|
|
3322
3322
|
};
|
|
3323
3323
|
outputFormat: "json";
|
|
3324
|
-
status:
|
|
3324
|
+
status: 404;
|
|
3325
3325
|
input: {
|
|
3326
3326
|
param: {
|
|
3327
3327
|
name: string;
|
|
@@ -3332,7 +3332,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3332
3332
|
error: string;
|
|
3333
3333
|
};
|
|
3334
3334
|
outputFormat: "json";
|
|
3335
|
-
status:
|
|
3335
|
+
status: 400;
|
|
3336
3336
|
input: {
|
|
3337
3337
|
param: {
|
|
3338
3338
|
name: string;
|
|
@@ -3469,21 +3469,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3469
3469
|
sha: string;
|
|
3470
3470
|
};
|
|
3471
3471
|
};
|
|
3472
|
-
} | {
|
|
3473
|
-
output: {
|
|
3474
|
-
error: string;
|
|
3475
|
-
};
|
|
3476
|
-
outputFormat: "json";
|
|
3477
|
-
status: 409;
|
|
3478
|
-
input: {
|
|
3479
|
-
query: {
|
|
3480
|
-
structured?: string | undefined;
|
|
3481
|
-
};
|
|
3482
|
-
} & {
|
|
3483
|
-
param: {
|
|
3484
|
-
sha: string;
|
|
3485
|
-
};
|
|
3486
|
-
};
|
|
3487
3472
|
} | {
|
|
3488
3473
|
output: {
|
|
3489
3474
|
sha: string;
|
|
@@ -3517,6 +3502,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3517
3502
|
sha: string;
|
|
3518
3503
|
};
|
|
3519
3504
|
};
|
|
3505
|
+
} | {
|
|
3506
|
+
output: {
|
|
3507
|
+
error: string;
|
|
3508
|
+
};
|
|
3509
|
+
outputFormat: "json";
|
|
3510
|
+
status: 409;
|
|
3511
|
+
input: {
|
|
3512
|
+
query: {
|
|
3513
|
+
structured?: string | undefined;
|
|
3514
|
+
};
|
|
3515
|
+
} & {
|
|
3516
|
+
param: {
|
|
3517
|
+
sha: string;
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3520
3520
|
} | {
|
|
3521
3521
|
output: string;
|
|
3522
3522
|
outputFormat: "text";
|
|
@@ -3535,13 +3535,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3535
3535
|
} & {
|
|
3536
3536
|
"/repo/changes": {
|
|
3537
3537
|
$get: {
|
|
3538
|
-
output: {
|
|
3539
|
-
error: string;
|
|
3540
|
-
};
|
|
3541
|
-
outputFormat: "json";
|
|
3542
|
-
status: 409;
|
|
3543
|
-
input: {};
|
|
3544
|
-
} | {
|
|
3545
3538
|
output: {
|
|
3546
3539
|
files: {
|
|
3547
3540
|
path: string;
|
|
@@ -3566,6 +3559,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3566
3559
|
outputFormat: "json";
|
|
3567
3560
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3568
3561
|
input: {};
|
|
3562
|
+
} | {
|
|
3563
|
+
output: {
|
|
3564
|
+
error: string;
|
|
3565
|
+
};
|
|
3566
|
+
outputFormat: "json";
|
|
3567
|
+
status: 409;
|
|
3568
|
+
input: {};
|
|
3569
3569
|
};
|
|
3570
3570
|
};
|
|
3571
3571
|
} & {
|
|
@@ -4202,28 +4202,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4202
4202
|
"/automations": {
|
|
4203
4203
|
$post: {
|
|
4204
4204
|
output: {
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4205
|
+
error: string;
|
|
4206
|
+
};
|
|
4207
|
+
outputFormat: "json";
|
|
4208
|
+
status: 400;
|
|
4209
|
+
input: {
|
|
4210
|
+
json: {
|
|
4209
4211
|
name: string;
|
|
4210
4212
|
description?: string | undefined;
|
|
4211
|
-
enabled
|
|
4213
|
+
enabled?: boolean | undefined;
|
|
4212
4214
|
events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
|
|
4213
4215
|
intervalSeconds: number;
|
|
4214
4216
|
filters: {
|
|
4215
|
-
[x: string]:
|
|
4217
|
+
[x: string]: unknown;
|
|
4216
4218
|
authors?: string[] | undefined;
|
|
4217
4219
|
assignees?: string[] | undefined;
|
|
4218
4220
|
allLabels?: string[] | undefined;
|
|
4219
4221
|
anyLabels?: string[] | undefined;
|
|
4220
4222
|
excludeLabels?: string[] | undefined;
|
|
4221
4223
|
changedLabels?: string[] | undefined;
|
|
4222
|
-
lookbackDays
|
|
4223
|
-
maxRecords
|
|
4224
|
+
lookbackDays?: number | undefined;
|
|
4225
|
+
maxRecords?: number | undefined;
|
|
4224
4226
|
};
|
|
4225
4227
|
task: {
|
|
4226
|
-
[x: string]:
|
|
4228
|
+
[x: string]: unknown;
|
|
4227
4229
|
prompt: string;
|
|
4228
4230
|
workflow?: string | undefined;
|
|
4229
4231
|
steps?: {
|
|
@@ -4238,7 +4240,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4238
4240
|
command?: string | undefined;
|
|
4239
4241
|
onFail?: {
|
|
4240
4242
|
retry: string;
|
|
4241
|
-
max
|
|
4243
|
+
max?: number | undefined;
|
|
4242
4244
|
} | undefined;
|
|
4243
4245
|
}[] | undefined;
|
|
4244
4246
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -4249,32 +4251,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4249
4251
|
autonomous?: boolean | undefined;
|
|
4250
4252
|
systemPrompt?: string | undefined;
|
|
4251
4253
|
};
|
|
4252
|
-
|
|
4253
|
-
updatedAt: string;
|
|
4254
|
+
enable?: boolean | undefined;
|
|
4254
4255
|
};
|
|
4255
4256
|
};
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4257
|
+
} | {
|
|
4258
|
+
output: {
|
|
4259
|
+
automation: {
|
|
4260
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4261
|
+
id: string;
|
|
4262
|
+
revision: number;
|
|
4260
4263
|
name: string;
|
|
4261
4264
|
description?: string | undefined;
|
|
4262
|
-
enabled
|
|
4265
|
+
enabled: boolean;
|
|
4263
4266
|
events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
|
|
4264
4267
|
intervalSeconds: number;
|
|
4265
4268
|
filters: {
|
|
4266
|
-
[x: string]:
|
|
4269
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4267
4270
|
authors?: string[] | undefined;
|
|
4268
4271
|
assignees?: string[] | undefined;
|
|
4269
4272
|
allLabels?: string[] | undefined;
|
|
4270
4273
|
anyLabels?: string[] | undefined;
|
|
4271
4274
|
excludeLabels?: string[] | undefined;
|
|
4272
4275
|
changedLabels?: string[] | undefined;
|
|
4273
|
-
lookbackDays
|
|
4274
|
-
maxRecords
|
|
4276
|
+
lookbackDays: number;
|
|
4277
|
+
maxRecords: number;
|
|
4275
4278
|
};
|
|
4276
4279
|
task: {
|
|
4277
|
-
[x: string]:
|
|
4280
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4278
4281
|
prompt: string;
|
|
4279
4282
|
workflow?: string | undefined;
|
|
4280
4283
|
steps?: {
|
|
@@ -4289,7 +4292,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4289
4292
|
command?: string | undefined;
|
|
4290
4293
|
onFail?: {
|
|
4291
4294
|
retry: string;
|
|
4292
|
-
max
|
|
4295
|
+
max: number;
|
|
4293
4296
|
} | undefined;
|
|
4294
4297
|
}[] | undefined;
|
|
4295
4298
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -4300,15 +4303,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4300
4303
|
autonomous?: boolean | undefined;
|
|
4301
4304
|
systemPrompt?: string | undefined;
|
|
4302
4305
|
};
|
|
4303
|
-
|
|
4306
|
+
createdAt: string;
|
|
4307
|
+
updatedAt: string;
|
|
4304
4308
|
};
|
|
4305
4309
|
};
|
|
4306
|
-
} | {
|
|
4307
|
-
output: {
|
|
4308
|
-
error: string;
|
|
4309
|
-
};
|
|
4310
4310
|
outputFormat: "json";
|
|
4311
|
-
status:
|
|
4311
|
+
status: 201;
|
|
4312
4312
|
input: {
|
|
4313
4313
|
json: {
|
|
4314
4314
|
name: string;
|
|
@@ -4888,10 +4888,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4888
4888
|
"/automations/:id/check": {
|
|
4889
4889
|
$post: {
|
|
4890
4890
|
output: {
|
|
4891
|
-
|
|
4891
|
+
error: string;
|
|
4892
4892
|
};
|
|
4893
4893
|
outputFormat: "json";
|
|
4894
|
-
status:
|
|
4894
|
+
status: 404;
|
|
4895
4895
|
input: {
|
|
4896
4896
|
json: {
|
|
4897
4897
|
mode: "execute" | "preview";
|
|
@@ -4903,10 +4903,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4903
4903
|
};
|
|
4904
4904
|
} | {
|
|
4905
4905
|
output: {
|
|
4906
|
-
|
|
4906
|
+
checkId: string;
|
|
4907
4907
|
};
|
|
4908
4908
|
outputFormat: "json";
|
|
4909
|
-
status:
|
|
4909
|
+
status: 202;
|
|
4910
4910
|
input: {
|
|
4911
4911
|
json: {
|
|
4912
4912
|
mode: "execute" | "preview";
|
|
@@ -4979,11 +4979,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4979
4979
|
"/automation-log/:receiptId/retry": {
|
|
4980
4980
|
$post: {
|
|
4981
4981
|
output: {
|
|
4982
|
-
|
|
4983
|
-
runId: string;
|
|
4982
|
+
error: string;
|
|
4984
4983
|
};
|
|
4985
4984
|
outputFormat: "json";
|
|
4986
|
-
status:
|
|
4985
|
+
status: 404;
|
|
4987
4986
|
input: {
|
|
4988
4987
|
param: {
|
|
4989
4988
|
receiptId: string;
|
|
@@ -4994,7 +4993,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4994
4993
|
error: string;
|
|
4995
4994
|
};
|
|
4996
4995
|
outputFormat: "json";
|
|
4997
|
-
status:
|
|
4996
|
+
status: 409;
|
|
4998
4997
|
input: {
|
|
4999
4998
|
param: {
|
|
5000
4999
|
receiptId: string;
|
|
@@ -5002,10 +5001,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5002
5001
|
};
|
|
5003
5002
|
} | {
|
|
5004
5003
|
output: {
|
|
5005
|
-
|
|
5004
|
+
receiptId: string;
|
|
5005
|
+
runId: string;
|
|
5006
5006
|
};
|
|
5007
5007
|
outputFormat: "json";
|
|
5008
|
-
status:
|
|
5008
|
+
status: 202;
|
|
5009
5009
|
input: {
|
|
5010
5010
|
param: {
|
|
5011
5011
|
receiptId: string;
|
|
@@ -5164,21 +5164,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5164
5164
|
} & {
|
|
5165
5165
|
"/runs/:id/archive": {
|
|
5166
5166
|
$post: {
|
|
5167
|
-
output: {
|
|
5168
|
-
error: string;
|
|
5169
|
-
};
|
|
5170
|
-
outputFormat: "json";
|
|
5171
|
-
status: 404;
|
|
5172
|
-
input: {
|
|
5173
|
-
json: {
|
|
5174
|
-
archived?: boolean | undefined;
|
|
5175
|
-
};
|
|
5176
|
-
} & {
|
|
5177
|
-
param: {
|
|
5178
|
-
id: string;
|
|
5179
|
-
};
|
|
5180
|
-
};
|
|
5181
|
-
} | {
|
|
5182
5167
|
output: {
|
|
5183
5168
|
id: string;
|
|
5184
5169
|
title: string;
|
|
@@ -5307,6 +5292,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5307
5292
|
id: string;
|
|
5308
5293
|
};
|
|
5309
5294
|
};
|
|
5295
|
+
} | {
|
|
5296
|
+
output: {
|
|
5297
|
+
error: string;
|
|
5298
|
+
};
|
|
5299
|
+
outputFormat: "json";
|
|
5300
|
+
status: 404;
|
|
5301
|
+
input: {
|
|
5302
|
+
json: {
|
|
5303
|
+
archived?: boolean | undefined;
|
|
5304
|
+
};
|
|
5305
|
+
} & {
|
|
5306
|
+
param: {
|
|
5307
|
+
id: string;
|
|
5308
|
+
};
|
|
5309
|
+
};
|
|
5310
5310
|
};
|
|
5311
5311
|
};
|
|
5312
5312
|
} & {
|
|
@@ -5338,17 +5338,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5338
5338
|
} & {
|
|
5339
5339
|
"/runs/:id/read": {
|
|
5340
5340
|
$post: {
|
|
5341
|
-
output: {
|
|
5342
|
-
error: string;
|
|
5343
|
-
};
|
|
5344
|
-
outputFormat: "json";
|
|
5345
|
-
status: 404;
|
|
5346
|
-
input: {
|
|
5347
|
-
param: {
|
|
5348
|
-
id: string;
|
|
5349
|
-
};
|
|
5350
|
-
};
|
|
5351
|
-
} | {
|
|
5352
5341
|
output: {
|
|
5353
5342
|
id: string;
|
|
5354
5343
|
title: string;
|
|
@@ -5473,11 +5462,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5473
5462
|
id: string;
|
|
5474
5463
|
};
|
|
5475
5464
|
};
|
|
5476
|
-
}
|
|
5477
|
-
};
|
|
5478
|
-
} & {
|
|
5479
|
-
"/runs/:id/unread": {
|
|
5480
|
-
$post: {
|
|
5465
|
+
} | {
|
|
5481
5466
|
output: {
|
|
5482
5467
|
error: string;
|
|
5483
5468
|
};
|
|
@@ -5488,7 +5473,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5488
5473
|
id: string;
|
|
5489
5474
|
};
|
|
5490
5475
|
};
|
|
5491
|
-
}
|
|
5476
|
+
};
|
|
5477
|
+
};
|
|
5478
|
+
} & {
|
|
5479
|
+
"/runs/:id/unread": {
|
|
5480
|
+
$post: {
|
|
5492
5481
|
output: {
|
|
5493
5482
|
id: string;
|
|
5494
5483
|
title: string;
|
|
@@ -5613,6 +5602,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5613
5602
|
id: string;
|
|
5614
5603
|
};
|
|
5615
5604
|
};
|
|
5605
|
+
} | {
|
|
5606
|
+
output: {
|
|
5607
|
+
error: string;
|
|
5608
|
+
};
|
|
5609
|
+
outputFormat: "json";
|
|
5610
|
+
status: 404;
|
|
5611
|
+
input: {
|
|
5612
|
+
param: {
|
|
5613
|
+
id: string;
|
|
5614
|
+
};
|
|
5615
|
+
};
|
|
5616
5616
|
};
|
|
5617
5617
|
};
|
|
5618
5618
|
} & {
|
|
@@ -5773,150 +5773,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5773
5773
|
};
|
|
5774
5774
|
} | {
|
|
5775
5775
|
output: {
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
repointed?: boolean | undefined;
|
|
5785
|
-
} | undefined;
|
|
5786
|
-
workflow: string;
|
|
5787
|
-
task: string;
|
|
5788
|
-
queuedMessages?: {
|
|
5776
|
+
error: string;
|
|
5777
|
+
};
|
|
5778
|
+
outputFormat: "json";
|
|
5779
|
+
status: 409;
|
|
5780
|
+
input: {
|
|
5781
|
+
json: {
|
|
5782
|
+
workflow?: string | undefined;
|
|
5783
|
+
steps?: {
|
|
5789
5784
|
id: string;
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5785
|
+
name?: string | undefined;
|
|
5786
|
+
prompt?: string | undefined;
|
|
5787
|
+
skill?: string | undefined;
|
|
5788
|
+
model?: string | undefined;
|
|
5789
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5790
|
+
allowedTools?: string[] | undefined;
|
|
5791
|
+
bashAllowlist?: string[] | undefined;
|
|
5792
|
+
command?: string | undefined;
|
|
5793
|
+
onFail?: {
|
|
5794
|
+
retry: string;
|
|
5795
|
+
max?: number | undefined;
|
|
5796
|
+
} | undefined;
|
|
5793
5797
|
}[] | undefined;
|
|
5794
|
-
|
|
5798
|
+
task: string;
|
|
5795
5799
|
model?: string | undefined;
|
|
5796
|
-
modelIdentity?: string | undefined;
|
|
5797
5800
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5798
5801
|
agentProfile?: string | undefined;
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
autonomous?: boolean | undefined;
|
|
5802
|
-
automation?: {
|
|
5803
|
-
automationId: string;
|
|
5804
|
-
automationRevision: number;
|
|
5805
|
-
receiptId: string;
|
|
5806
|
-
event: string;
|
|
5807
|
-
githubUrl: string;
|
|
5808
|
-
} | undefined;
|
|
5809
|
-
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
5810
|
-
activity?: "monitoring" | undefined;
|
|
5811
|
-
monitoringWakeAt?: string | undefined;
|
|
5812
|
-
monitoringWakeCapReached?: boolean | undefined;
|
|
5813
|
-
autoResumeAt?: string | undefined;
|
|
5814
|
-
autoResumeAttempts?: number | undefined;
|
|
5815
|
-
createdAt: string;
|
|
5816
|
-
startedAt?: string | undefined;
|
|
5817
|
-
finishedAt?: string | undefined;
|
|
5818
|
-
tokensUsed: number;
|
|
5819
|
-
inputTokens?: number | undefined;
|
|
5820
|
-
outputTokens?: number | undefined;
|
|
5821
|
-
costUsd?: number | undefined;
|
|
5822
|
-
pullRequestUrl?: string | undefined;
|
|
5823
|
-
referencedPullRequestUrl?: string | undefined;
|
|
5824
|
-
prNumber?: number | undefined;
|
|
5825
|
-
issueNumber?: number | undefined;
|
|
5826
|
-
referencedIssueNumberSeeded?: boolean | undefined;
|
|
5827
|
-
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
5828
|
-
markerRefs?: {
|
|
5829
|
-
pr?: number | undefined;
|
|
5830
|
-
issue?: number | undefined;
|
|
5831
|
-
} | undefined;
|
|
5832
|
-
referencedPrCandidates?: string[] | undefined;
|
|
5833
|
-
referencedIssueUrl?: string | undefined;
|
|
5834
|
-
referencedIssueCandidates?: string[] | undefined;
|
|
5835
|
-
worktree?: false | undefined;
|
|
5836
|
-
worktreePath?: string | undefined;
|
|
5837
|
-
branch?: string | undefined;
|
|
5838
|
-
baseBranch?: string | undefined;
|
|
5839
|
-
worktreeReclaimedAt?: string | undefined;
|
|
5840
|
-
groupId?: string | undefined;
|
|
5841
|
-
variant?: string | undefined;
|
|
5842
|
-
peakRssBytes?: number | undefined;
|
|
5843
|
-
peakProcCount?: number | undefined;
|
|
5844
|
-
archived: boolean;
|
|
5845
|
-
archivedAt?: string | undefined;
|
|
5846
|
-
seenAt?: string | undefined;
|
|
5847
|
-
currentStepId?: string | undefined;
|
|
5848
|
-
error?: string | undefined;
|
|
5849
|
-
steps: {
|
|
5850
|
-
id: string;
|
|
5851
|
-
name: string;
|
|
5852
|
-
kind: "agent" | "check";
|
|
5853
|
-
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
5854
|
-
iterations: number;
|
|
5855
|
-
tokensUsed: number;
|
|
5856
|
-
inputTokens?: number | undefined;
|
|
5857
|
-
outputTokens?: number | undefined;
|
|
5858
|
-
usageInvocationsStarted?: number | undefined;
|
|
5859
|
-
usageInvocationsObserved?: number | undefined;
|
|
5860
|
-
usageTurnsStarted?: number | undefined;
|
|
5861
|
-
usageTurnsRecorded?: number | undefined;
|
|
5862
|
-
usageInvocationEpoch?: number | undefined;
|
|
5863
|
-
startedAt?: string | undefined;
|
|
5864
|
-
finishedAt?: string | undefined;
|
|
5865
|
-
error?: string | undefined;
|
|
5866
|
-
sessionId?: string | undefined;
|
|
5867
|
-
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5868
|
-
profileId?: string | undefined;
|
|
5869
|
-
costUsd?: number | undefined;
|
|
5870
|
-
}[];
|
|
5871
|
-
workflowDef?: {
|
|
5872
|
-
name: string;
|
|
5873
|
-
description?: string | undefined;
|
|
5874
|
-
steps: {
|
|
5875
|
-
id: string;
|
|
5876
|
-
name?: string | undefined;
|
|
5877
|
-
prompt?: string | undefined;
|
|
5878
|
-
skill?: string | undefined;
|
|
5879
|
-
model?: string | undefined;
|
|
5880
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5881
|
-
allowedTools?: string[] | undefined;
|
|
5882
|
-
bashAllowlist?: string[] | undefined;
|
|
5883
|
-
command?: string | undefined;
|
|
5884
|
-
onFail?: {
|
|
5885
|
-
retry: string;
|
|
5886
|
-
max: number;
|
|
5887
|
-
} | undefined;
|
|
5888
|
-
}[];
|
|
5889
|
-
source: "built-in" | "file";
|
|
5890
|
-
path?: string | undefined;
|
|
5891
|
-
} | undefined;
|
|
5892
|
-
}[];
|
|
5893
|
-
};
|
|
5894
|
-
outputFormat: "json";
|
|
5895
|
-
status: 201;
|
|
5896
|
-
input: {
|
|
5897
|
-
json: {
|
|
5898
|
-
workflow?: string | undefined;
|
|
5899
|
-
steps?: {
|
|
5900
|
-
id: string;
|
|
5901
|
-
name?: string | undefined;
|
|
5902
|
-
prompt?: string | undefined;
|
|
5903
|
-
skill?: string | undefined;
|
|
5904
|
-
model?: string | undefined;
|
|
5905
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5906
|
-
allowedTools?: string[] | undefined;
|
|
5907
|
-
bashAllowlist?: string[] | undefined;
|
|
5908
|
-
command?: string | undefined;
|
|
5909
|
-
onFail?: {
|
|
5910
|
-
retry: string;
|
|
5911
|
-
max?: number | undefined;
|
|
5912
|
-
} | undefined;
|
|
5913
|
-
}[] | undefined;
|
|
5914
|
-
task: string;
|
|
5915
|
-
model?: string | undefined;
|
|
5916
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5917
|
-
agentProfile?: string | undefined;
|
|
5918
|
-
variants?: number | undefined;
|
|
5919
|
-
worktree?: boolean | undefined;
|
|
5802
|
+
variants?: number | undefined;
|
|
5803
|
+
worktree?: boolean | undefined;
|
|
5920
5804
|
autonomous?: boolean | undefined;
|
|
5921
5805
|
generateFollowups?: boolean | undefined;
|
|
5922
5806
|
systemPrompt?: string | undefined;
|
|
@@ -6009,10 +5893,126 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6009
5893
|
};
|
|
6010
5894
|
} | {
|
|
6011
5895
|
output: {
|
|
6012
|
-
|
|
5896
|
+
runs: {
|
|
5897
|
+
id: string;
|
|
5898
|
+
title: string;
|
|
5899
|
+
titleSummary?: string | undefined;
|
|
5900
|
+
diffStat?: {
|
|
5901
|
+
adds: number;
|
|
5902
|
+
dels: number;
|
|
5903
|
+
files: number;
|
|
5904
|
+
repointed?: boolean | undefined;
|
|
5905
|
+
} | undefined;
|
|
5906
|
+
workflow: string;
|
|
5907
|
+
task: string;
|
|
5908
|
+
queuedMessages?: {
|
|
5909
|
+
id: string;
|
|
5910
|
+
text: string;
|
|
5911
|
+
images?: string[] | undefined;
|
|
5912
|
+
createdAt: string;
|
|
5913
|
+
}[] | undefined;
|
|
5914
|
+
taskImages?: string[] | undefined;
|
|
5915
|
+
model?: string | undefined;
|
|
5916
|
+
modelIdentity?: string | undefined;
|
|
5917
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5918
|
+
agentProfile?: string | undefined;
|
|
5919
|
+
systemPrompt?: string | undefined;
|
|
5920
|
+
generateFollowups?: boolean | undefined;
|
|
5921
|
+
autonomous?: boolean | undefined;
|
|
5922
|
+
automation?: {
|
|
5923
|
+
automationId: string;
|
|
5924
|
+
automationRevision: number;
|
|
5925
|
+
receiptId: string;
|
|
5926
|
+
event: string;
|
|
5927
|
+
githubUrl: string;
|
|
5928
|
+
} | undefined;
|
|
5929
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
5930
|
+
activity?: "monitoring" | undefined;
|
|
5931
|
+
monitoringWakeAt?: string | undefined;
|
|
5932
|
+
monitoringWakeCapReached?: boolean | undefined;
|
|
5933
|
+
autoResumeAt?: string | undefined;
|
|
5934
|
+
autoResumeAttempts?: number | undefined;
|
|
5935
|
+
createdAt: string;
|
|
5936
|
+
startedAt?: string | undefined;
|
|
5937
|
+
finishedAt?: string | undefined;
|
|
5938
|
+
tokensUsed: number;
|
|
5939
|
+
inputTokens?: number | undefined;
|
|
5940
|
+
outputTokens?: number | undefined;
|
|
5941
|
+
costUsd?: number | undefined;
|
|
5942
|
+
pullRequestUrl?: string | undefined;
|
|
5943
|
+
referencedPullRequestUrl?: string | undefined;
|
|
5944
|
+
prNumber?: number | undefined;
|
|
5945
|
+
issueNumber?: number | undefined;
|
|
5946
|
+
referencedIssueNumberSeeded?: boolean | undefined;
|
|
5947
|
+
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
5948
|
+
markerRefs?: {
|
|
5949
|
+
pr?: number | undefined;
|
|
5950
|
+
issue?: number | undefined;
|
|
5951
|
+
} | undefined;
|
|
5952
|
+
referencedPrCandidates?: string[] | undefined;
|
|
5953
|
+
referencedIssueUrl?: string | undefined;
|
|
5954
|
+
referencedIssueCandidates?: string[] | undefined;
|
|
5955
|
+
worktree?: false | undefined;
|
|
5956
|
+
worktreePath?: string | undefined;
|
|
5957
|
+
branch?: string | undefined;
|
|
5958
|
+
baseBranch?: string | undefined;
|
|
5959
|
+
worktreeReclaimedAt?: string | undefined;
|
|
5960
|
+
groupId?: string | undefined;
|
|
5961
|
+
variant?: string | undefined;
|
|
5962
|
+
peakRssBytes?: number | undefined;
|
|
5963
|
+
peakProcCount?: number | undefined;
|
|
5964
|
+
archived: boolean;
|
|
5965
|
+
archivedAt?: string | undefined;
|
|
5966
|
+
seenAt?: string | undefined;
|
|
5967
|
+
currentStepId?: string | undefined;
|
|
5968
|
+
error?: string | undefined;
|
|
5969
|
+
steps: {
|
|
5970
|
+
id: string;
|
|
5971
|
+
name: string;
|
|
5972
|
+
kind: "agent" | "check";
|
|
5973
|
+
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
5974
|
+
iterations: number;
|
|
5975
|
+
tokensUsed: number;
|
|
5976
|
+
inputTokens?: number | undefined;
|
|
5977
|
+
outputTokens?: number | undefined;
|
|
5978
|
+
usageInvocationsStarted?: number | undefined;
|
|
5979
|
+
usageInvocationsObserved?: number | undefined;
|
|
5980
|
+
usageTurnsStarted?: number | undefined;
|
|
5981
|
+
usageTurnsRecorded?: number | undefined;
|
|
5982
|
+
usageInvocationEpoch?: number | undefined;
|
|
5983
|
+
startedAt?: string | undefined;
|
|
5984
|
+
finishedAt?: string | undefined;
|
|
5985
|
+
error?: string | undefined;
|
|
5986
|
+
sessionId?: string | undefined;
|
|
5987
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5988
|
+
profileId?: string | undefined;
|
|
5989
|
+
costUsd?: number | undefined;
|
|
5990
|
+
}[];
|
|
5991
|
+
workflowDef?: {
|
|
5992
|
+
name: string;
|
|
5993
|
+
description?: string | undefined;
|
|
5994
|
+
steps: {
|
|
5995
|
+
id: string;
|
|
5996
|
+
name?: string | undefined;
|
|
5997
|
+
prompt?: string | undefined;
|
|
5998
|
+
skill?: string | undefined;
|
|
5999
|
+
model?: string | undefined;
|
|
6000
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6001
|
+
allowedTools?: string[] | undefined;
|
|
6002
|
+
bashAllowlist?: string[] | undefined;
|
|
6003
|
+
command?: string | undefined;
|
|
6004
|
+
onFail?: {
|
|
6005
|
+
retry: string;
|
|
6006
|
+
max: number;
|
|
6007
|
+
} | undefined;
|
|
6008
|
+
}[];
|
|
6009
|
+
source: "built-in" | "file";
|
|
6010
|
+
path?: string | undefined;
|
|
6011
|
+
} | undefined;
|
|
6012
|
+
}[];
|
|
6013
6013
|
};
|
|
6014
6014
|
outputFormat: "json";
|
|
6015
|
-
status:
|
|
6015
|
+
status: 201;
|
|
6016
6016
|
input: {
|
|
6017
6017
|
json: {
|
|
6018
6018
|
workflow?: string | undefined;
|
|
@@ -6052,17 +6052,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6052
6052
|
} & {
|
|
6053
6053
|
"/runs/:id": {
|
|
6054
6054
|
$get: {
|
|
6055
|
-
output: {
|
|
6056
|
-
error: string;
|
|
6057
|
-
};
|
|
6058
|
-
outputFormat: "json";
|
|
6059
|
-
status: 404;
|
|
6060
|
-
input: {
|
|
6061
|
-
param: {
|
|
6062
|
-
id: string;
|
|
6063
|
-
};
|
|
6064
|
-
};
|
|
6065
|
-
} | {
|
|
6066
6055
|
output: {
|
|
6067
6056
|
id: string;
|
|
6068
6057
|
title: string;
|
|
@@ -6188,6 +6177,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6188
6177
|
id: string;
|
|
6189
6178
|
};
|
|
6190
6179
|
};
|
|
6180
|
+
} | {
|
|
6181
|
+
output: {
|
|
6182
|
+
error: string;
|
|
6183
|
+
};
|
|
6184
|
+
outputFormat: "json";
|
|
6185
|
+
status: 404;
|
|
6186
|
+
input: {
|
|
6187
|
+
param: {
|
|
6188
|
+
id: string;
|
|
6189
|
+
};
|
|
6190
|
+
};
|
|
6191
6191
|
};
|
|
6192
6192
|
};
|
|
6193
6193
|
} & {
|
|
@@ -6313,54 +6313,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6313
6313
|
} & {
|
|
6314
6314
|
"/runs/:id": {
|
|
6315
6315
|
$patch: {
|
|
6316
|
-
output: {
|
|
6317
|
-
error: string;
|
|
6318
|
-
};
|
|
6319
|
-
outputFormat: "json";
|
|
6320
|
-
status: 400;
|
|
6321
|
-
input: {
|
|
6322
|
-
json: {
|
|
6323
|
-
title?: string | undefined;
|
|
6324
|
-
task?: string | undefined;
|
|
6325
|
-
};
|
|
6326
|
-
} & {
|
|
6327
|
-
param: {
|
|
6328
|
-
id: string;
|
|
6329
|
-
};
|
|
6330
|
-
};
|
|
6331
|
-
} | {
|
|
6332
|
-
output: {
|
|
6333
|
-
error: string;
|
|
6334
|
-
};
|
|
6335
|
-
outputFormat: "json";
|
|
6336
|
-
status: 404;
|
|
6337
|
-
input: {
|
|
6338
|
-
json: {
|
|
6339
|
-
title?: string | undefined;
|
|
6340
|
-
task?: string | undefined;
|
|
6341
|
-
};
|
|
6342
|
-
} & {
|
|
6343
|
-
param: {
|
|
6344
|
-
id: string;
|
|
6345
|
-
};
|
|
6346
|
-
};
|
|
6347
|
-
} | {
|
|
6348
|
-
output: {
|
|
6349
|
-
error: string;
|
|
6350
|
-
};
|
|
6351
|
-
outputFormat: "json";
|
|
6352
|
-
status: 409;
|
|
6353
|
-
input: {
|
|
6354
|
-
json: {
|
|
6355
|
-
title?: string | undefined;
|
|
6356
|
-
task?: string | undefined;
|
|
6357
|
-
};
|
|
6358
|
-
} & {
|
|
6359
|
-
param: {
|
|
6360
|
-
id: string;
|
|
6361
|
-
};
|
|
6362
|
-
};
|
|
6363
|
-
} | {
|
|
6364
6316
|
output: {
|
|
6365
6317
|
id: string;
|
|
6366
6318
|
title: string;
|
|
@@ -6490,6 +6442,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6490
6442
|
id: string;
|
|
6491
6443
|
};
|
|
6492
6444
|
};
|
|
6445
|
+
} | {
|
|
6446
|
+
output: {
|
|
6447
|
+
error: string;
|
|
6448
|
+
};
|
|
6449
|
+
outputFormat: "json";
|
|
6450
|
+
status: 404;
|
|
6451
|
+
input: {
|
|
6452
|
+
json: {
|
|
6453
|
+
title?: string | undefined;
|
|
6454
|
+
task?: string | undefined;
|
|
6455
|
+
};
|
|
6456
|
+
} & {
|
|
6457
|
+
param: {
|
|
6458
|
+
id: string;
|
|
6459
|
+
};
|
|
6460
|
+
};
|
|
6461
|
+
} | {
|
|
6462
|
+
output: {
|
|
6463
|
+
error: string;
|
|
6464
|
+
};
|
|
6465
|
+
outputFormat: "json";
|
|
6466
|
+
status: 400;
|
|
6467
|
+
input: {
|
|
6468
|
+
json: {
|
|
6469
|
+
title?: string | undefined;
|
|
6470
|
+
task?: string | undefined;
|
|
6471
|
+
};
|
|
6472
|
+
} & {
|
|
6473
|
+
param: {
|
|
6474
|
+
id: string;
|
|
6475
|
+
};
|
|
6476
|
+
};
|
|
6477
|
+
} | {
|
|
6478
|
+
output: {
|
|
6479
|
+
error: string;
|
|
6480
|
+
};
|
|
6481
|
+
outputFormat: "json";
|
|
6482
|
+
status: 409;
|
|
6483
|
+
input: {
|
|
6484
|
+
json: {
|
|
6485
|
+
title?: string | undefined;
|
|
6486
|
+
task?: string | undefined;
|
|
6487
|
+
};
|
|
6488
|
+
} & {
|
|
6489
|
+
param: {
|
|
6490
|
+
id: string;
|
|
6491
|
+
};
|
|
6492
|
+
};
|
|
6493
6493
|
};
|
|
6494
6494
|
};
|
|
6495
6495
|
} & {
|
|
@@ -6525,7 +6525,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6525
6525
|
error: string;
|
|
6526
6526
|
};
|
|
6527
6527
|
outputFormat: "json";
|
|
6528
|
-
status:
|
|
6528
|
+
status: 404;
|
|
6529
6529
|
input: {
|
|
6530
6530
|
json: {
|
|
6531
6531
|
text?: string | undefined;
|
|
@@ -6544,7 +6544,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6544
6544
|
error: string;
|
|
6545
6545
|
};
|
|
6546
6546
|
outputFormat: "json";
|
|
6547
|
-
status:
|
|
6547
|
+
status: 409;
|
|
6548
6548
|
input: {
|
|
6549
6549
|
json: {
|
|
6550
6550
|
text?: string | undefined;
|
|
@@ -6560,10 +6560,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6560
6560
|
};
|
|
6561
6561
|
} | {
|
|
6562
6562
|
output: {
|
|
6563
|
-
|
|
6563
|
+
delivered: true;
|
|
6564
6564
|
};
|
|
6565
6565
|
outputFormat: "json";
|
|
6566
|
-
status:
|
|
6566
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6567
6567
|
input: {
|
|
6568
6568
|
json: {
|
|
6569
6569
|
text?: string | undefined;
|
|
@@ -6579,10 +6579,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6579
6579
|
};
|
|
6580
6580
|
} | {
|
|
6581
6581
|
output: {
|
|
6582
|
-
|
|
6582
|
+
error: string;
|
|
6583
6583
|
};
|
|
6584
6584
|
outputFormat: "json";
|
|
6585
|
-
status:
|
|
6585
|
+
status: 400;
|
|
6586
6586
|
input: {
|
|
6587
6587
|
json: {
|
|
6588
6588
|
text?: string | undefined;
|
|
@@ -6649,7 +6649,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6649
6649
|
error: string;
|
|
6650
6650
|
};
|
|
6651
6651
|
outputFormat: "json";
|
|
6652
|
-
status:
|
|
6652
|
+
status: 404;
|
|
6653
6653
|
input: {
|
|
6654
6654
|
json: {
|
|
6655
6655
|
text?: string | undefined;
|
|
@@ -6670,7 +6670,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6670
6670
|
error: string;
|
|
6671
6671
|
};
|
|
6672
6672
|
outputFormat: "json";
|
|
6673
|
-
status:
|
|
6673
|
+
status: 400;
|
|
6674
6674
|
input: {
|
|
6675
6675
|
json: {
|
|
6676
6676
|
text?: string | undefined;
|
|
@@ -6822,7 +6822,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6822
6822
|
error: string;
|
|
6823
6823
|
};
|
|
6824
6824
|
outputFormat: "json";
|
|
6825
|
-
status:
|
|
6825
|
+
status: 404;
|
|
6826
6826
|
input: {
|
|
6827
6827
|
json: {
|
|
6828
6828
|
text?: string | undefined;
|
|
@@ -6844,7 +6844,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6844
6844
|
error: string;
|
|
6845
6845
|
};
|
|
6846
6846
|
outputFormat: "json";
|
|
6847
|
-
status:
|
|
6847
|
+
status: 400;
|
|
6848
6848
|
input: {
|
|
6849
6849
|
json: {
|
|
6850
6850
|
text?: string | undefined;
|
|
@@ -6952,7 +6952,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6952
6952
|
error: string;
|
|
6953
6953
|
};
|
|
6954
6954
|
outputFormat: "json";
|
|
6955
|
-
status:
|
|
6955
|
+
status: 404;
|
|
6956
6956
|
input: {
|
|
6957
6957
|
json: {
|
|
6958
6958
|
target: string;
|
|
@@ -6968,7 +6968,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6968
6968
|
error: string;
|
|
6969
6969
|
};
|
|
6970
6970
|
outputFormat: "json";
|
|
6971
|
-
status:
|
|
6971
|
+
status: 409;
|
|
6972
6972
|
input: {
|
|
6973
6973
|
json: {
|
|
6974
6974
|
target: string;
|
|
@@ -6984,7 +6984,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6984
6984
|
error: string;
|
|
6985
6985
|
};
|
|
6986
6986
|
outputFormat: "json";
|
|
6987
|
-
status:
|
|
6987
|
+
status: 400;
|
|
6988
6988
|
input: {
|
|
6989
6989
|
json: {
|
|
6990
6990
|
target: string;
|
|
@@ -7017,20 +7017,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7017
7017
|
} & {
|
|
7018
7018
|
"/runs/:id/handoff": {
|
|
7019
7019
|
$get: {
|
|
7020
|
-
output:
|
|
7021
|
-
|
|
7022
|
-
|
|
7020
|
+
output: {
|
|
7021
|
+
error: string;
|
|
7022
|
+
};
|
|
7023
|
+
outputFormat: "json";
|
|
7024
|
+
status: 404;
|
|
7023
7025
|
input: {
|
|
7024
7026
|
param: {
|
|
7025
7027
|
id: string;
|
|
7026
7028
|
};
|
|
7027
7029
|
};
|
|
7028
7030
|
} | {
|
|
7029
|
-
output:
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
outputFormat: "json";
|
|
7033
|
-
status: 404;
|
|
7031
|
+
output: string;
|
|
7032
|
+
outputFormat: "text";
|
|
7033
|
+
status: 200;
|
|
7034
7034
|
input: {
|
|
7035
7035
|
param: {
|
|
7036
7036
|
id: string;
|
|
@@ -7438,11 +7438,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7438
7438
|
"/runs/:id/pr": {
|
|
7439
7439
|
$post: {
|
|
7440
7440
|
output: {
|
|
7441
|
-
|
|
7442
|
-
dryRun: boolean;
|
|
7441
|
+
error: string;
|
|
7443
7442
|
};
|
|
7444
7443
|
outputFormat: "json";
|
|
7445
|
-
status:
|
|
7444
|
+
status: 404;
|
|
7446
7445
|
input: {
|
|
7447
7446
|
param: {
|
|
7448
7447
|
id: string;
|
|
@@ -7453,7 +7452,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7453
7452
|
error: string;
|
|
7454
7453
|
};
|
|
7455
7454
|
outputFormat: "json";
|
|
7456
|
-
status:
|
|
7455
|
+
status: 409;
|
|
7457
7456
|
input: {
|
|
7458
7457
|
param: {
|
|
7459
7458
|
id: string;
|
|
@@ -7464,7 +7463,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7464
7463
|
error: string;
|
|
7465
7464
|
};
|
|
7466
7465
|
outputFormat: "json";
|
|
7467
|
-
status:
|
|
7466
|
+
status: 400;
|
|
7468
7467
|
input: {
|
|
7469
7468
|
param: {
|
|
7470
7469
|
id: string;
|
|
@@ -7472,10 +7471,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7472
7471
|
};
|
|
7473
7472
|
} | {
|
|
7474
7473
|
output: {
|
|
7475
|
-
|
|
7474
|
+
url: string;
|
|
7475
|
+
dryRun: boolean;
|
|
7476
7476
|
};
|
|
7477
7477
|
outputFormat: "json";
|
|
7478
|
-
status:
|
|
7478
|
+
status: 201;
|
|
7479
7479
|
input: {
|
|
7480
7480
|
param: {
|
|
7481
7481
|
id: string;
|
|
@@ -7527,7 +7527,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7527
7527
|
error: string;
|
|
7528
7528
|
};
|
|
7529
7529
|
outputFormat: "json";
|
|
7530
|
-
status:
|
|
7530
|
+
status: 409;
|
|
7531
7531
|
input: {
|
|
7532
7532
|
param: {
|
|
7533
7533
|
id: string;
|
|
@@ -7538,7 +7538,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7538
7538
|
error: string;
|
|
7539
7539
|
};
|
|
7540
7540
|
outputFormat: "json";
|
|
7541
|
-
status:
|
|
7541
|
+
status: 404;
|
|
7542
7542
|
input: {
|
|
7543
7543
|
param: {
|
|
7544
7544
|
id: string;
|
|
@@ -7982,7 +7982,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7982
7982
|
error: string;
|
|
7983
7983
|
};
|
|
7984
7984
|
outputFormat: "json";
|
|
7985
|
-
status:
|
|
7985
|
+
status: 409;
|
|
7986
7986
|
input: {
|
|
7987
7987
|
json: {
|
|
7988
7988
|
target: string;
|
|
@@ -7993,7 +7993,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7993
7993
|
error: string;
|
|
7994
7994
|
};
|
|
7995
7995
|
outputFormat: "json";
|
|
7996
|
-
status:
|
|
7996
|
+
status: 400;
|
|
7997
7997
|
input: {
|
|
7998
7998
|
json: {
|
|
7999
7999
|
target: string;
|
|
@@ -8052,11 +8052,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8052
8052
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
8053
8053
|
"/runs/:id/events": {
|
|
8054
8054
|
$get: {
|
|
8055
|
-
output: {
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
outputFormat: "json";
|
|
8059
|
-
status: 400;
|
|
8055
|
+
output: {};
|
|
8056
|
+
outputFormat: string;
|
|
8057
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
8060
8058
|
input: {
|
|
8061
8059
|
param: {
|
|
8062
8060
|
id: string;
|
|
@@ -8068,9 +8066,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8068
8066
|
};
|
|
8069
8067
|
};
|
|
8070
8068
|
} | {
|
|
8071
|
-
output: {
|
|
8072
|
-
|
|
8073
|
-
|
|
8069
|
+
output: {
|
|
8070
|
+
error: string;
|
|
8071
|
+
};
|
|
8072
|
+
outputFormat: "json";
|
|
8073
|
+
status: 400;
|
|
8074
8074
|
input: {
|
|
8075
8075
|
param: {
|
|
8076
8076
|
id: string;
|
|
@@ -8121,10 +8121,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8121
8121
|
"/config": {
|
|
8122
8122
|
$put: {
|
|
8123
8123
|
output: {
|
|
8124
|
-
|
|
8124
|
+
baseBranch: string | null;
|
|
8125
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
8126
|
+
systemPrompt: string | null;
|
|
8127
|
+
defaultModels: {
|
|
8128
|
+
claude?: string | undefined;
|
|
8129
|
+
codex?: string | undefined;
|
|
8130
|
+
opencode?: string | undefined;
|
|
8131
|
+
pi?: string | undefined;
|
|
8132
|
+
};
|
|
8133
|
+
modelsLocked: boolean;
|
|
8134
|
+
maxParallel: number;
|
|
8135
|
+
memoryLimitMb: number | null;
|
|
8136
|
+
worktreeRetention: number;
|
|
8137
|
+
liveTitleUpdates: boolean | null;
|
|
8138
|
+
reviewGate: boolean | null;
|
|
8125
8139
|
};
|
|
8126
8140
|
outputFormat: "json";
|
|
8127
|
-
status:
|
|
8141
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8128
8142
|
input: {
|
|
8129
8143
|
json: {
|
|
8130
8144
|
baseBranch?: string | null | undefined;
|
|
@@ -8148,7 +8162,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8148
8162
|
error: string;
|
|
8149
8163
|
};
|
|
8150
8164
|
outputFormat: "json";
|
|
8151
|
-
status:
|
|
8165
|
+
status: 409;
|
|
8152
8166
|
input: {
|
|
8153
8167
|
json: {
|
|
8154
8168
|
baseBranch?: string | null | undefined;
|
|
@@ -8169,24 +8183,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8169
8183
|
};
|
|
8170
8184
|
} | {
|
|
8171
8185
|
output: {
|
|
8172
|
-
|
|
8173
|
-
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
8174
|
-
systemPrompt: string | null;
|
|
8175
|
-
defaultModels: {
|
|
8176
|
-
claude?: string | undefined;
|
|
8177
|
-
codex?: string | undefined;
|
|
8178
|
-
opencode?: string | undefined;
|
|
8179
|
-
pi?: string | undefined;
|
|
8180
|
-
};
|
|
8181
|
-
modelsLocked: boolean;
|
|
8182
|
-
maxParallel: number;
|
|
8183
|
-
memoryLimitMb: number | null;
|
|
8184
|
-
worktreeRetention: number;
|
|
8185
|
-
liveTitleUpdates: boolean | null;
|
|
8186
|
-
reviewGate: boolean | null;
|
|
8186
|
+
error: string;
|
|
8187
8187
|
};
|
|
8188
8188
|
outputFormat: "json";
|
|
8189
|
-
status:
|
|
8189
|
+
status: 500;
|
|
8190
8190
|
input: {
|
|
8191
8191
|
json: {
|
|
8192
8192
|
baseBranch?: string | null | undefined;
|
|
@@ -8210,17 +8210,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8210
8210
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
8211
8211
|
"/skills": {
|
|
8212
8212
|
$get: {
|
|
8213
|
-
output: {
|
|
8214
|
-
error: string;
|
|
8215
|
-
};
|
|
8216
|
-
outputFormat: "json";
|
|
8217
|
-
status: 400;
|
|
8218
|
-
input: {
|
|
8219
|
-
query: {
|
|
8220
|
-
wait?: string | undefined;
|
|
8221
|
-
};
|
|
8222
|
-
};
|
|
8223
|
-
} | {
|
|
8224
8213
|
output: {
|
|
8225
8214
|
name: string;
|
|
8226
8215
|
description?: string;
|
|
@@ -8243,16 +8232,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8243
8232
|
wait?: string | undefined;
|
|
8244
8233
|
};
|
|
8245
8234
|
};
|
|
8235
|
+
} | {
|
|
8236
|
+
output: {
|
|
8237
|
+
error: string;
|
|
8238
|
+
};
|
|
8239
|
+
outputFormat: "json";
|
|
8240
|
+
status: 400;
|
|
8241
|
+
input: {
|
|
8242
|
+
query: {
|
|
8243
|
+
wait?: string | undefined;
|
|
8244
|
+
};
|
|
8245
|
+
};
|
|
8246
8246
|
};
|
|
8247
8247
|
};
|
|
8248
8248
|
} & {
|
|
8249
8249
|
"/skills/importable": {
|
|
8250
8250
|
$get: {
|
|
8251
8251
|
output: {
|
|
8252
|
-
|
|
8253
|
-
|
|
8252
|
+
name: string;
|
|
8253
|
+
description?: string | undefined;
|
|
8254
|
+
}[];
|
|
8254
8255
|
outputFormat: "json";
|
|
8255
|
-
status:
|
|
8256
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8256
8257
|
input: {
|
|
8257
8258
|
query: {
|
|
8258
8259
|
wait?: string | undefined;
|
|
@@ -8260,11 +8261,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8260
8261
|
};
|
|
8261
8262
|
} | {
|
|
8262
8263
|
output: {
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
}[];
|
|
8264
|
+
error: string;
|
|
8265
|
+
};
|
|
8266
8266
|
outputFormat: "json";
|
|
8267
|
-
status:
|
|
8267
|
+
status: 400;
|
|
8268
8268
|
input: {
|
|
8269
8269
|
query: {
|
|
8270
8270
|
wait?: string | undefined;
|
|
@@ -8323,7 +8323,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8323
8323
|
error: string;
|
|
8324
8324
|
};
|
|
8325
8325
|
outputFormat: "json";
|
|
8326
|
-
status:
|
|
8326
|
+
status: 409;
|
|
8327
8327
|
input: {
|
|
8328
8328
|
param: {
|
|
8329
8329
|
id: string;
|
|
@@ -8331,10 +8331,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8331
8331
|
};
|
|
8332
8332
|
} | {
|
|
8333
8333
|
output: {
|
|
8334
|
-
|
|
8334
|
+
removed: true;
|
|
8335
8335
|
};
|
|
8336
8336
|
outputFormat: "json";
|
|
8337
|
-
status:
|
|
8337
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8338
8338
|
input: {
|
|
8339
8339
|
param: {
|
|
8340
8340
|
id: string;
|
|
@@ -8342,10 +8342,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8342
8342
|
};
|
|
8343
8343
|
} | {
|
|
8344
8344
|
output: {
|
|
8345
|
-
|
|
8345
|
+
error: string;
|
|
8346
8346
|
};
|
|
8347
8347
|
outputFormat: "json";
|
|
8348
|
-
status:
|
|
8348
|
+
status: 404;
|
|
8349
8349
|
input: {
|
|
8350
8350
|
param: {
|
|
8351
8351
|
id: string;
|
|
@@ -8356,6 +8356,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8356
8356
|
} & {
|
|
8357
8357
|
"/todos/:id/start": {
|
|
8358
8358
|
$post: {
|
|
8359
|
+
output: {
|
|
8360
|
+
error: string;
|
|
8361
|
+
};
|
|
8362
|
+
outputFormat: "json";
|
|
8363
|
+
status: 409;
|
|
8364
|
+
input: {
|
|
8365
|
+
json: {
|
|
8366
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8367
|
+
model?: string | undefined;
|
|
8368
|
+
prompt?: string | undefined;
|
|
8369
|
+
} | undefined;
|
|
8370
|
+
} & {
|
|
8371
|
+
param: {
|
|
8372
|
+
id: string;
|
|
8373
|
+
};
|
|
8374
|
+
};
|
|
8375
|
+
} | {
|
|
8359
8376
|
output: {
|
|
8360
8377
|
run: {
|
|
8361
8378
|
id: string;
|
|
@@ -8488,23 +8505,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8488
8505
|
id: string;
|
|
8489
8506
|
};
|
|
8490
8507
|
};
|
|
8491
|
-
} | {
|
|
8492
|
-
output: {
|
|
8493
|
-
error: string;
|
|
8494
|
-
};
|
|
8495
|
-
outputFormat: "json";
|
|
8496
|
-
status: 404;
|
|
8497
|
-
input: {
|
|
8498
|
-
json: {
|
|
8499
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8500
|
-
model?: string | undefined;
|
|
8501
|
-
prompt?: string | undefined;
|
|
8502
|
-
} | undefined;
|
|
8503
|
-
} & {
|
|
8504
|
-
param: {
|
|
8505
|
-
id: string;
|
|
8506
|
-
};
|
|
8507
|
-
};
|
|
8508
8508
|
} | {
|
|
8509
8509
|
output: {
|
|
8510
8510
|
error: string;
|
|
@@ -8527,7 +8527,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8527
8527
|
error: string;
|
|
8528
8528
|
};
|
|
8529
8529
|
outputFormat: "json";
|
|
8530
|
-
status:
|
|
8530
|
+
status: 404;
|
|
8531
8531
|
input: {
|
|
8532
8532
|
json: {
|
|
8533
8533
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -8629,10 +8629,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8629
8629
|
"/agent-config/:id": {
|
|
8630
8630
|
$put: {
|
|
8631
8631
|
output: {
|
|
8632
|
-
|
|
8632
|
+
id: string;
|
|
8633
|
+
path: string;
|
|
8634
|
+
exists: boolean;
|
|
8635
|
+
content: string;
|
|
8636
|
+
version: string | null;
|
|
8633
8637
|
};
|
|
8634
8638
|
outputFormat: "json";
|
|
8635
|
-
status:
|
|
8639
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8636
8640
|
input: {
|
|
8637
8641
|
json: {
|
|
8638
8642
|
content: string;
|
|
@@ -8645,14 +8649,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8645
8649
|
};
|
|
8646
8650
|
} | {
|
|
8647
8651
|
output: {
|
|
8648
|
-
|
|
8649
|
-
path: string;
|
|
8650
|
-
exists: boolean;
|
|
8651
|
-
content: string;
|
|
8652
|
-
version: string | null;
|
|
8652
|
+
error: string;
|
|
8653
8653
|
};
|
|
8654
8654
|
outputFormat: "json";
|
|
8655
|
-
status:
|
|
8655
|
+
status: 404;
|
|
8656
8656
|
input: {
|
|
8657
8657
|
json: {
|
|
8658
8658
|
content: string;
|
|
@@ -8720,11 +8720,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8720
8720
|
"/workflows": {
|
|
8721
8721
|
$post: {
|
|
8722
8722
|
output: {
|
|
8723
|
-
|
|
8724
|
-
name: string;
|
|
8723
|
+
error: string;
|
|
8725
8724
|
};
|
|
8726
8725
|
outputFormat: "json";
|
|
8727
|
-
status:
|
|
8726
|
+
status: 400;
|
|
8728
8727
|
input: {
|
|
8729
8728
|
json: {
|
|
8730
8729
|
name: string;
|
|
@@ -8751,9 +8750,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8751
8750
|
} | {
|
|
8752
8751
|
output: {
|
|
8753
8752
|
error: string;
|
|
8753
|
+
exists: true;
|
|
8754
8754
|
};
|
|
8755
8755
|
outputFormat: "json";
|
|
8756
|
-
status:
|
|
8756
|
+
status: 409;
|
|
8757
8757
|
input: {
|
|
8758
8758
|
json: {
|
|
8759
8759
|
name: string;
|
|
@@ -8780,10 +8780,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8780
8780
|
} | {
|
|
8781
8781
|
output: {
|
|
8782
8782
|
error: string;
|
|
8783
|
-
exists: true;
|
|
8784
8783
|
};
|
|
8785
8784
|
outputFormat: "json";
|
|
8786
|
-
status:
|
|
8785
|
+
status: 500;
|
|
8787
8786
|
input: {
|
|
8788
8787
|
json: {
|
|
8789
8788
|
name: string;
|
|
@@ -8809,10 +8808,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8809
8808
|
};
|
|
8810
8809
|
} | {
|
|
8811
8810
|
output: {
|
|
8812
|
-
|
|
8811
|
+
path: string;
|
|
8812
|
+
name: string;
|
|
8813
8813
|
};
|
|
8814
8814
|
outputFormat: "json";
|
|
8815
|
-
status:
|
|
8815
|
+
status: 201;
|
|
8816
8816
|
input: {
|
|
8817
8817
|
json: {
|
|
8818
8818
|
name: string;
|
|
@@ -8845,7 +8845,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8845
8845
|
error: string;
|
|
8846
8846
|
};
|
|
8847
8847
|
outputFormat: "json";
|
|
8848
|
-
status:
|
|
8848
|
+
status: 404;
|
|
8849
8849
|
input: {
|
|
8850
8850
|
param: {
|
|
8851
8851
|
name: string;
|
|
@@ -8856,7 +8856,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8856
8856
|
error: string;
|
|
8857
8857
|
};
|
|
8858
8858
|
outputFormat: "json";
|
|
8859
|
-
status:
|
|
8859
|
+
status: 400;
|
|
8860
8860
|
input: {
|
|
8861
8861
|
param: {
|
|
8862
8862
|
name: string;
|
|
@@ -8993,21 +8993,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8993
8993
|
sha: string;
|
|
8994
8994
|
};
|
|
8995
8995
|
};
|
|
8996
|
-
} | {
|
|
8997
|
-
output: {
|
|
8998
|
-
error: string;
|
|
8999
|
-
};
|
|
9000
|
-
outputFormat: "json";
|
|
9001
|
-
status: 409;
|
|
9002
|
-
input: {
|
|
9003
|
-
query: {
|
|
9004
|
-
structured?: string | undefined;
|
|
9005
|
-
};
|
|
9006
|
-
} & {
|
|
9007
|
-
param: {
|
|
9008
|
-
sha: string;
|
|
9009
|
-
};
|
|
9010
|
-
};
|
|
9011
8996
|
} | {
|
|
9012
8997
|
output: {
|
|
9013
8998
|
sha: string;
|
|
@@ -9041,6 +9026,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9041
9026
|
sha: string;
|
|
9042
9027
|
};
|
|
9043
9028
|
};
|
|
9029
|
+
} | {
|
|
9030
|
+
output: {
|
|
9031
|
+
error: string;
|
|
9032
|
+
};
|
|
9033
|
+
outputFormat: "json";
|
|
9034
|
+
status: 409;
|
|
9035
|
+
input: {
|
|
9036
|
+
query: {
|
|
9037
|
+
structured?: string | undefined;
|
|
9038
|
+
};
|
|
9039
|
+
} & {
|
|
9040
|
+
param: {
|
|
9041
|
+
sha: string;
|
|
9042
|
+
};
|
|
9043
|
+
};
|
|
9044
9044
|
} | {
|
|
9045
9045
|
output: string;
|
|
9046
9046
|
outputFormat: "text";
|
|
@@ -9059,13 +9059,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9059
9059
|
} & {
|
|
9060
9060
|
"/repo/changes": {
|
|
9061
9061
|
$get: {
|
|
9062
|
-
output: {
|
|
9063
|
-
error: string;
|
|
9064
|
-
};
|
|
9065
|
-
outputFormat: "json";
|
|
9066
|
-
status: 409;
|
|
9067
|
-
input: {};
|
|
9068
|
-
} | {
|
|
9069
9062
|
output: {
|
|
9070
9063
|
files: {
|
|
9071
9064
|
path: string;
|
|
@@ -9090,6 +9083,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9090
9083
|
outputFormat: "json";
|
|
9091
9084
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
9092
9085
|
input: {};
|
|
9086
|
+
} | {
|
|
9087
|
+
output: {
|
|
9088
|
+
error: string;
|
|
9089
|
+
};
|
|
9090
|
+
outputFormat: "json";
|
|
9091
|
+
status: 409;
|
|
9092
|
+
input: {};
|
|
9093
9093
|
};
|
|
9094
9094
|
};
|
|
9095
9095
|
} & {
|
|
@@ -9726,28 +9726,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9726
9726
|
"/automations": {
|
|
9727
9727
|
$post: {
|
|
9728
9728
|
output: {
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9732
|
-
|
|
9729
|
+
error: string;
|
|
9730
|
+
};
|
|
9731
|
+
outputFormat: "json";
|
|
9732
|
+
status: 400;
|
|
9733
|
+
input: {
|
|
9734
|
+
json: {
|
|
9733
9735
|
name: string;
|
|
9734
9736
|
description?: string | undefined;
|
|
9735
|
-
enabled
|
|
9737
|
+
enabled?: boolean | undefined;
|
|
9736
9738
|
events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
|
|
9737
9739
|
intervalSeconds: number;
|
|
9738
9740
|
filters: {
|
|
9739
|
-
[x: string]:
|
|
9741
|
+
[x: string]: unknown;
|
|
9740
9742
|
authors?: string[] | undefined;
|
|
9741
9743
|
assignees?: string[] | undefined;
|
|
9742
9744
|
allLabels?: string[] | undefined;
|
|
9743
9745
|
anyLabels?: string[] | undefined;
|
|
9744
9746
|
excludeLabels?: string[] | undefined;
|
|
9745
9747
|
changedLabels?: string[] | undefined;
|
|
9746
|
-
lookbackDays
|
|
9747
|
-
maxRecords
|
|
9748
|
+
lookbackDays?: number | undefined;
|
|
9749
|
+
maxRecords?: number | undefined;
|
|
9748
9750
|
};
|
|
9749
9751
|
task: {
|
|
9750
|
-
[x: string]:
|
|
9752
|
+
[x: string]: unknown;
|
|
9751
9753
|
prompt: string;
|
|
9752
9754
|
workflow?: string | undefined;
|
|
9753
9755
|
steps?: {
|
|
@@ -9762,7 +9764,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9762
9764
|
command?: string | undefined;
|
|
9763
9765
|
onFail?: {
|
|
9764
9766
|
retry: string;
|
|
9765
|
-
max
|
|
9767
|
+
max?: number | undefined;
|
|
9766
9768
|
} | undefined;
|
|
9767
9769
|
}[] | undefined;
|
|
9768
9770
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -9773,32 +9775,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9773
9775
|
autonomous?: boolean | undefined;
|
|
9774
9776
|
systemPrompt?: string | undefined;
|
|
9775
9777
|
};
|
|
9776
|
-
|
|
9777
|
-
updatedAt: string;
|
|
9778
|
+
enable?: boolean | undefined;
|
|
9778
9779
|
};
|
|
9779
9780
|
};
|
|
9780
|
-
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9781
|
+
} | {
|
|
9782
|
+
output: {
|
|
9783
|
+
automation: {
|
|
9784
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
9785
|
+
id: string;
|
|
9786
|
+
revision: number;
|
|
9784
9787
|
name: string;
|
|
9785
9788
|
description?: string | undefined;
|
|
9786
|
-
enabled
|
|
9789
|
+
enabled: boolean;
|
|
9787
9790
|
events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
|
|
9788
9791
|
intervalSeconds: number;
|
|
9789
9792
|
filters: {
|
|
9790
|
-
[x: string]:
|
|
9793
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
9791
9794
|
authors?: string[] | undefined;
|
|
9792
9795
|
assignees?: string[] | undefined;
|
|
9793
9796
|
allLabels?: string[] | undefined;
|
|
9794
9797
|
anyLabels?: string[] | undefined;
|
|
9795
9798
|
excludeLabels?: string[] | undefined;
|
|
9796
9799
|
changedLabels?: string[] | undefined;
|
|
9797
|
-
lookbackDays
|
|
9798
|
-
maxRecords
|
|
9800
|
+
lookbackDays: number;
|
|
9801
|
+
maxRecords: number;
|
|
9799
9802
|
};
|
|
9800
9803
|
task: {
|
|
9801
|
-
[x: string]:
|
|
9804
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
9802
9805
|
prompt: string;
|
|
9803
9806
|
workflow?: string | undefined;
|
|
9804
9807
|
steps?: {
|
|
@@ -9813,7 +9816,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9813
9816
|
command?: string | undefined;
|
|
9814
9817
|
onFail?: {
|
|
9815
9818
|
retry: string;
|
|
9816
|
-
max
|
|
9819
|
+
max: number;
|
|
9817
9820
|
} | undefined;
|
|
9818
9821
|
}[] | undefined;
|
|
9819
9822
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -9824,15 +9827,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9824
9827
|
autonomous?: boolean | undefined;
|
|
9825
9828
|
systemPrompt?: string | undefined;
|
|
9826
9829
|
};
|
|
9827
|
-
|
|
9830
|
+
createdAt: string;
|
|
9831
|
+
updatedAt: string;
|
|
9828
9832
|
};
|
|
9829
9833
|
};
|
|
9830
|
-
} | {
|
|
9831
|
-
output: {
|
|
9832
|
-
error: string;
|
|
9833
|
-
};
|
|
9834
9834
|
outputFormat: "json";
|
|
9835
|
-
status:
|
|
9835
|
+
status: 201;
|
|
9836
9836
|
input: {
|
|
9837
9837
|
json: {
|
|
9838
9838
|
name: string;
|
|
@@ -10412,10 +10412,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10412
10412
|
"/automations/:id/check": {
|
|
10413
10413
|
$post: {
|
|
10414
10414
|
output: {
|
|
10415
|
-
|
|
10415
|
+
error: string;
|
|
10416
10416
|
};
|
|
10417
10417
|
outputFormat: "json";
|
|
10418
|
-
status:
|
|
10418
|
+
status: 404;
|
|
10419
10419
|
input: {
|
|
10420
10420
|
json: {
|
|
10421
10421
|
mode: "execute" | "preview";
|
|
@@ -10427,10 +10427,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10427
10427
|
};
|
|
10428
10428
|
} | {
|
|
10429
10429
|
output: {
|
|
10430
|
-
|
|
10430
|
+
checkId: string;
|
|
10431
10431
|
};
|
|
10432
10432
|
outputFormat: "json";
|
|
10433
|
-
status:
|
|
10433
|
+
status: 202;
|
|
10434
10434
|
input: {
|
|
10435
10435
|
json: {
|
|
10436
10436
|
mode: "execute" | "preview";
|
|
@@ -10503,11 +10503,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10503
10503
|
"/automation-log/:receiptId/retry": {
|
|
10504
10504
|
$post: {
|
|
10505
10505
|
output: {
|
|
10506
|
-
|
|
10507
|
-
runId: string;
|
|
10506
|
+
error: string;
|
|
10508
10507
|
};
|
|
10509
10508
|
outputFormat: "json";
|
|
10510
|
-
status:
|
|
10509
|
+
status: 404;
|
|
10511
10510
|
input: {
|
|
10512
10511
|
param: {
|
|
10513
10512
|
receiptId: string;
|
|
@@ -10518,7 +10517,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10518
10517
|
error: string;
|
|
10519
10518
|
};
|
|
10520
10519
|
outputFormat: "json";
|
|
10521
|
-
status:
|
|
10520
|
+
status: 409;
|
|
10522
10521
|
input: {
|
|
10523
10522
|
param: {
|
|
10524
10523
|
receiptId: string;
|
|
@@ -10526,10 +10525,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10526
10525
|
};
|
|
10527
10526
|
} | {
|
|
10528
10527
|
output: {
|
|
10529
|
-
|
|
10528
|
+
receiptId: string;
|
|
10529
|
+
runId: string;
|
|
10530
10530
|
};
|
|
10531
10531
|
outputFormat: "json";
|
|
10532
|
-
status:
|
|
10532
|
+
status: 202;
|
|
10533
10533
|
input: {
|
|
10534
10534
|
param: {
|
|
10535
10535
|
receiptId: string;
|
|
@@ -10688,21 +10688,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10688
10688
|
} & {
|
|
10689
10689
|
"/runs/:id/archive": {
|
|
10690
10690
|
$post: {
|
|
10691
|
-
output: {
|
|
10692
|
-
error: string;
|
|
10693
|
-
};
|
|
10694
|
-
outputFormat: "json";
|
|
10695
|
-
status: 404;
|
|
10696
|
-
input: {
|
|
10697
|
-
json: {
|
|
10698
|
-
archived?: boolean | undefined;
|
|
10699
|
-
};
|
|
10700
|
-
} & {
|
|
10701
|
-
param: {
|
|
10702
|
-
id: string;
|
|
10703
|
-
};
|
|
10704
|
-
};
|
|
10705
|
-
} | {
|
|
10706
10691
|
output: {
|
|
10707
10692
|
id: string;
|
|
10708
10693
|
title: string;
|
|
@@ -10831,48 +10816,52 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10831
10816
|
id: string;
|
|
10832
10817
|
};
|
|
10833
10818
|
};
|
|
10834
|
-
}
|
|
10835
|
-
};
|
|
10836
|
-
} & {
|
|
10837
|
-
"/runs/:id/auto-resume": {
|
|
10838
|
-
$delete: {
|
|
10819
|
+
} | {
|
|
10839
10820
|
output: {
|
|
10840
10821
|
error: string;
|
|
10841
10822
|
};
|
|
10842
10823
|
outputFormat: "json";
|
|
10843
10824
|
status: 404;
|
|
10844
10825
|
input: {
|
|
10826
|
+
json: {
|
|
10827
|
+
archived?: boolean | undefined;
|
|
10828
|
+
};
|
|
10829
|
+
} & {
|
|
10845
10830
|
param: {
|
|
10846
10831
|
id: string;
|
|
10847
10832
|
};
|
|
10848
10833
|
};
|
|
10849
|
-
}
|
|
10834
|
+
};
|
|
10835
|
+
};
|
|
10836
|
+
} & {
|
|
10837
|
+
"/runs/:id/auto-resume": {
|
|
10838
|
+
$delete: {
|
|
10850
10839
|
output: {
|
|
10851
|
-
|
|
10840
|
+
error: string;
|
|
10852
10841
|
};
|
|
10853
10842
|
outputFormat: "json";
|
|
10854
|
-
status:
|
|
10843
|
+
status: 404;
|
|
10855
10844
|
input: {
|
|
10856
10845
|
param: {
|
|
10857
10846
|
id: string;
|
|
10858
10847
|
};
|
|
10859
10848
|
};
|
|
10860
|
-
}
|
|
10861
|
-
};
|
|
10862
|
-
} & {
|
|
10863
|
-
"/runs/:id/read": {
|
|
10864
|
-
$post: {
|
|
10849
|
+
} | {
|
|
10865
10850
|
output: {
|
|
10866
|
-
|
|
10851
|
+
cancelled: true;
|
|
10867
10852
|
};
|
|
10868
10853
|
outputFormat: "json";
|
|
10869
|
-
status:
|
|
10854
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10870
10855
|
input: {
|
|
10871
10856
|
param: {
|
|
10872
10857
|
id: string;
|
|
10873
10858
|
};
|
|
10874
10859
|
};
|
|
10875
|
-
}
|
|
10860
|
+
};
|
|
10861
|
+
};
|
|
10862
|
+
} & {
|
|
10863
|
+
"/runs/:id/read": {
|
|
10864
|
+
$post: {
|
|
10876
10865
|
output: {
|
|
10877
10866
|
id: string;
|
|
10878
10867
|
title: string;
|
|
@@ -10997,11 +10986,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10997
10986
|
id: string;
|
|
10998
10987
|
};
|
|
10999
10988
|
};
|
|
11000
|
-
}
|
|
11001
|
-
};
|
|
11002
|
-
} & {
|
|
11003
|
-
"/runs/:id/unread": {
|
|
11004
|
-
$post: {
|
|
10989
|
+
} | {
|
|
11005
10990
|
output: {
|
|
11006
10991
|
error: string;
|
|
11007
10992
|
};
|
|
@@ -11012,7 +10997,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11012
10997
|
id: string;
|
|
11013
10998
|
};
|
|
11014
10999
|
};
|
|
11015
|
-
}
|
|
11000
|
+
};
|
|
11001
|
+
};
|
|
11002
|
+
} & {
|
|
11003
|
+
"/runs/:id/unread": {
|
|
11004
|
+
$post: {
|
|
11016
11005
|
output: {
|
|
11017
11006
|
id: string;
|
|
11018
11007
|
title: string;
|
|
@@ -11137,6 +11126,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11137
11126
|
id: string;
|
|
11138
11127
|
};
|
|
11139
11128
|
};
|
|
11129
|
+
} | {
|
|
11130
|
+
output: {
|
|
11131
|
+
error: string;
|
|
11132
|
+
};
|
|
11133
|
+
outputFormat: "json";
|
|
11134
|
+
status: 404;
|
|
11135
|
+
input: {
|
|
11136
|
+
param: {
|
|
11137
|
+
id: string;
|
|
11138
|
+
};
|
|
11139
|
+
};
|
|
11140
11140
|
};
|
|
11141
11141
|
};
|
|
11142
11142
|
} & {
|
|
@@ -11297,126 +11297,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11297
11297
|
};
|
|
11298
11298
|
} | {
|
|
11299
11299
|
output: {
|
|
11300
|
-
|
|
11301
|
-
id: string;
|
|
11302
|
-
title: string;
|
|
11303
|
-
titleSummary?: string | undefined;
|
|
11304
|
-
diffStat?: {
|
|
11305
|
-
adds: number;
|
|
11306
|
-
dels: number;
|
|
11307
|
-
files: number;
|
|
11308
|
-
repointed?: boolean | undefined;
|
|
11309
|
-
} | undefined;
|
|
11310
|
-
workflow: string;
|
|
11311
|
-
task: string;
|
|
11312
|
-
queuedMessages?: {
|
|
11313
|
-
id: string;
|
|
11314
|
-
text: string;
|
|
11315
|
-
images?: string[] | undefined;
|
|
11316
|
-
createdAt: string;
|
|
11317
|
-
}[] | undefined;
|
|
11318
|
-
taskImages?: string[] | undefined;
|
|
11319
|
-
model?: string | undefined;
|
|
11320
|
-
modelIdentity?: string | undefined;
|
|
11321
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11322
|
-
agentProfile?: string | undefined;
|
|
11323
|
-
systemPrompt?: string | undefined;
|
|
11324
|
-
generateFollowups?: boolean | undefined;
|
|
11325
|
-
autonomous?: boolean | undefined;
|
|
11326
|
-
automation?: {
|
|
11327
|
-
automationId: string;
|
|
11328
|
-
automationRevision: number;
|
|
11329
|
-
receiptId: string;
|
|
11330
|
-
event: string;
|
|
11331
|
-
githubUrl: string;
|
|
11332
|
-
} | undefined;
|
|
11333
|
-
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
11334
|
-
activity?: "monitoring" | undefined;
|
|
11335
|
-
monitoringWakeAt?: string | undefined;
|
|
11336
|
-
monitoringWakeCapReached?: boolean | undefined;
|
|
11337
|
-
autoResumeAt?: string | undefined;
|
|
11338
|
-
autoResumeAttempts?: number | undefined;
|
|
11339
|
-
createdAt: string;
|
|
11340
|
-
startedAt?: string | undefined;
|
|
11341
|
-
finishedAt?: string | undefined;
|
|
11342
|
-
tokensUsed: number;
|
|
11343
|
-
inputTokens?: number | undefined;
|
|
11344
|
-
outputTokens?: number | undefined;
|
|
11345
|
-
costUsd?: number | undefined;
|
|
11346
|
-
pullRequestUrl?: string | undefined;
|
|
11347
|
-
referencedPullRequestUrl?: string | undefined;
|
|
11348
|
-
prNumber?: number | undefined;
|
|
11349
|
-
issueNumber?: number | undefined;
|
|
11350
|
-
referencedIssueNumberSeeded?: boolean | undefined;
|
|
11351
|
-
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
11352
|
-
markerRefs?: {
|
|
11353
|
-
pr?: number | undefined;
|
|
11354
|
-
issue?: number | undefined;
|
|
11355
|
-
} | undefined;
|
|
11356
|
-
referencedPrCandidates?: string[] | undefined;
|
|
11357
|
-
referencedIssueUrl?: string | undefined;
|
|
11358
|
-
referencedIssueCandidates?: string[] | undefined;
|
|
11359
|
-
worktree?: false | undefined;
|
|
11360
|
-
worktreePath?: string | undefined;
|
|
11361
|
-
branch?: string | undefined;
|
|
11362
|
-
baseBranch?: string | undefined;
|
|
11363
|
-
worktreeReclaimedAt?: string | undefined;
|
|
11364
|
-
groupId?: string | undefined;
|
|
11365
|
-
variant?: string | undefined;
|
|
11366
|
-
peakRssBytes?: number | undefined;
|
|
11367
|
-
peakProcCount?: number | undefined;
|
|
11368
|
-
archived: boolean;
|
|
11369
|
-
archivedAt?: string | undefined;
|
|
11370
|
-
seenAt?: string | undefined;
|
|
11371
|
-
currentStepId?: string | undefined;
|
|
11372
|
-
error?: string | undefined;
|
|
11373
|
-
steps: {
|
|
11374
|
-
id: string;
|
|
11375
|
-
name: string;
|
|
11376
|
-
kind: "agent" | "check";
|
|
11377
|
-
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
11378
|
-
iterations: number;
|
|
11379
|
-
tokensUsed: number;
|
|
11380
|
-
inputTokens?: number | undefined;
|
|
11381
|
-
outputTokens?: number | undefined;
|
|
11382
|
-
usageInvocationsStarted?: number | undefined;
|
|
11383
|
-
usageInvocationsObserved?: number | undefined;
|
|
11384
|
-
usageTurnsStarted?: number | undefined;
|
|
11385
|
-
usageTurnsRecorded?: number | undefined;
|
|
11386
|
-
usageInvocationEpoch?: number | undefined;
|
|
11387
|
-
startedAt?: string | undefined;
|
|
11388
|
-
finishedAt?: string | undefined;
|
|
11389
|
-
error?: string | undefined;
|
|
11390
|
-
sessionId?: string | undefined;
|
|
11391
|
-
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11392
|
-
profileId?: string | undefined;
|
|
11393
|
-
costUsd?: number | undefined;
|
|
11394
|
-
}[];
|
|
11395
|
-
workflowDef?: {
|
|
11396
|
-
name: string;
|
|
11397
|
-
description?: string | undefined;
|
|
11398
|
-
steps: {
|
|
11399
|
-
id: string;
|
|
11400
|
-
name?: string | undefined;
|
|
11401
|
-
prompt?: string | undefined;
|
|
11402
|
-
skill?: string | undefined;
|
|
11403
|
-
model?: string | undefined;
|
|
11404
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11405
|
-
allowedTools?: string[] | undefined;
|
|
11406
|
-
bashAllowlist?: string[] | undefined;
|
|
11407
|
-
command?: string | undefined;
|
|
11408
|
-
onFail?: {
|
|
11409
|
-
retry: string;
|
|
11410
|
-
max: number;
|
|
11411
|
-
} | undefined;
|
|
11412
|
-
}[];
|
|
11413
|
-
source: "built-in" | "file";
|
|
11414
|
-
path?: string | undefined;
|
|
11415
|
-
} | undefined;
|
|
11416
|
-
}[];
|
|
11300
|
+
error: string;
|
|
11417
11301
|
};
|
|
11418
11302
|
outputFormat: "json";
|
|
11419
|
-
status:
|
|
11303
|
+
status: 409;
|
|
11420
11304
|
input: {
|
|
11421
11305
|
json: {
|
|
11422
11306
|
workflow?: string | undefined;
|
|
@@ -11502,41 +11386,157 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11502
11386
|
workflow?: string | undefined;
|
|
11503
11387
|
steps?: {
|
|
11504
11388
|
id: string;
|
|
11505
|
-
name?: string | undefined;
|
|
11506
|
-
prompt?: string | undefined;
|
|
11507
|
-
skill?: string | undefined;
|
|
11508
|
-
model?: string | undefined;
|
|
11509
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11510
|
-
allowedTools?: string[] | undefined;
|
|
11511
|
-
bashAllowlist?: string[] | undefined;
|
|
11512
|
-
command?: string | undefined;
|
|
11513
|
-
onFail?: {
|
|
11514
|
-
retry: string;
|
|
11515
|
-
max?: number | undefined;
|
|
11516
|
-
} | undefined;
|
|
11517
|
-
}[] | undefined;
|
|
11518
|
-
task: string;
|
|
11519
|
-
model?: string | undefined;
|
|
11520
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11521
|
-
agentProfile?: string | undefined;
|
|
11522
|
-
variants?: number | undefined;
|
|
11523
|
-
worktree?: boolean | undefined;
|
|
11524
|
-
autonomous?: boolean | undefined;
|
|
11525
|
-
generateFollowups?: boolean | undefined;
|
|
11526
|
-
systemPrompt?: string | undefined;
|
|
11527
|
-
images?: {
|
|
11528
|
-
mediaType: string;
|
|
11529
|
-
data: string;
|
|
11530
|
-
}[] | undefined;
|
|
11531
|
-
todoId?: string | undefined;
|
|
11532
|
-
};
|
|
11533
|
-
};
|
|
11534
|
-
} | {
|
|
11535
|
-
output: {
|
|
11536
|
-
|
|
11389
|
+
name?: string | undefined;
|
|
11390
|
+
prompt?: string | undefined;
|
|
11391
|
+
skill?: string | undefined;
|
|
11392
|
+
model?: string | undefined;
|
|
11393
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11394
|
+
allowedTools?: string[] | undefined;
|
|
11395
|
+
bashAllowlist?: string[] | undefined;
|
|
11396
|
+
command?: string | undefined;
|
|
11397
|
+
onFail?: {
|
|
11398
|
+
retry: string;
|
|
11399
|
+
max?: number | undefined;
|
|
11400
|
+
} | undefined;
|
|
11401
|
+
}[] | undefined;
|
|
11402
|
+
task: string;
|
|
11403
|
+
model?: string | undefined;
|
|
11404
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11405
|
+
agentProfile?: string | undefined;
|
|
11406
|
+
variants?: number | undefined;
|
|
11407
|
+
worktree?: boolean | undefined;
|
|
11408
|
+
autonomous?: boolean | undefined;
|
|
11409
|
+
generateFollowups?: boolean | undefined;
|
|
11410
|
+
systemPrompt?: string | undefined;
|
|
11411
|
+
images?: {
|
|
11412
|
+
mediaType: string;
|
|
11413
|
+
data: string;
|
|
11414
|
+
}[] | undefined;
|
|
11415
|
+
todoId?: string | undefined;
|
|
11416
|
+
};
|
|
11417
|
+
};
|
|
11418
|
+
} | {
|
|
11419
|
+
output: {
|
|
11420
|
+
runs: {
|
|
11421
|
+
id: string;
|
|
11422
|
+
title: string;
|
|
11423
|
+
titleSummary?: string | undefined;
|
|
11424
|
+
diffStat?: {
|
|
11425
|
+
adds: number;
|
|
11426
|
+
dels: number;
|
|
11427
|
+
files: number;
|
|
11428
|
+
repointed?: boolean | undefined;
|
|
11429
|
+
} | undefined;
|
|
11430
|
+
workflow: string;
|
|
11431
|
+
task: string;
|
|
11432
|
+
queuedMessages?: {
|
|
11433
|
+
id: string;
|
|
11434
|
+
text: string;
|
|
11435
|
+
images?: string[] | undefined;
|
|
11436
|
+
createdAt: string;
|
|
11437
|
+
}[] | undefined;
|
|
11438
|
+
taskImages?: string[] | undefined;
|
|
11439
|
+
model?: string | undefined;
|
|
11440
|
+
modelIdentity?: string | undefined;
|
|
11441
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11442
|
+
agentProfile?: string | undefined;
|
|
11443
|
+
systemPrompt?: string | undefined;
|
|
11444
|
+
generateFollowups?: boolean | undefined;
|
|
11445
|
+
autonomous?: boolean | undefined;
|
|
11446
|
+
automation?: {
|
|
11447
|
+
automationId: string;
|
|
11448
|
+
automationRevision: number;
|
|
11449
|
+
receiptId: string;
|
|
11450
|
+
event: string;
|
|
11451
|
+
githubUrl: string;
|
|
11452
|
+
} | undefined;
|
|
11453
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
11454
|
+
activity?: "monitoring" | undefined;
|
|
11455
|
+
monitoringWakeAt?: string | undefined;
|
|
11456
|
+
monitoringWakeCapReached?: boolean | undefined;
|
|
11457
|
+
autoResumeAt?: string | undefined;
|
|
11458
|
+
autoResumeAttempts?: number | undefined;
|
|
11459
|
+
createdAt: string;
|
|
11460
|
+
startedAt?: string | undefined;
|
|
11461
|
+
finishedAt?: string | undefined;
|
|
11462
|
+
tokensUsed: number;
|
|
11463
|
+
inputTokens?: number | undefined;
|
|
11464
|
+
outputTokens?: number | undefined;
|
|
11465
|
+
costUsd?: number | undefined;
|
|
11466
|
+
pullRequestUrl?: string | undefined;
|
|
11467
|
+
referencedPullRequestUrl?: string | undefined;
|
|
11468
|
+
prNumber?: number | undefined;
|
|
11469
|
+
issueNumber?: number | undefined;
|
|
11470
|
+
referencedIssueNumberSeeded?: boolean | undefined;
|
|
11471
|
+
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
11472
|
+
markerRefs?: {
|
|
11473
|
+
pr?: number | undefined;
|
|
11474
|
+
issue?: number | undefined;
|
|
11475
|
+
} | undefined;
|
|
11476
|
+
referencedPrCandidates?: string[] | undefined;
|
|
11477
|
+
referencedIssueUrl?: string | undefined;
|
|
11478
|
+
referencedIssueCandidates?: string[] | undefined;
|
|
11479
|
+
worktree?: false | undefined;
|
|
11480
|
+
worktreePath?: string | undefined;
|
|
11481
|
+
branch?: string | undefined;
|
|
11482
|
+
baseBranch?: string | undefined;
|
|
11483
|
+
worktreeReclaimedAt?: string | undefined;
|
|
11484
|
+
groupId?: string | undefined;
|
|
11485
|
+
variant?: string | undefined;
|
|
11486
|
+
peakRssBytes?: number | undefined;
|
|
11487
|
+
peakProcCount?: number | undefined;
|
|
11488
|
+
archived: boolean;
|
|
11489
|
+
archivedAt?: string | undefined;
|
|
11490
|
+
seenAt?: string | undefined;
|
|
11491
|
+
currentStepId?: string | undefined;
|
|
11492
|
+
error?: string | undefined;
|
|
11493
|
+
steps: {
|
|
11494
|
+
id: string;
|
|
11495
|
+
name: string;
|
|
11496
|
+
kind: "agent" | "check";
|
|
11497
|
+
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
11498
|
+
iterations: number;
|
|
11499
|
+
tokensUsed: number;
|
|
11500
|
+
inputTokens?: number | undefined;
|
|
11501
|
+
outputTokens?: number | undefined;
|
|
11502
|
+
usageInvocationsStarted?: number | undefined;
|
|
11503
|
+
usageInvocationsObserved?: number | undefined;
|
|
11504
|
+
usageTurnsStarted?: number | undefined;
|
|
11505
|
+
usageTurnsRecorded?: number | undefined;
|
|
11506
|
+
usageInvocationEpoch?: number | undefined;
|
|
11507
|
+
startedAt?: string | undefined;
|
|
11508
|
+
finishedAt?: string | undefined;
|
|
11509
|
+
error?: string | undefined;
|
|
11510
|
+
sessionId?: string | undefined;
|
|
11511
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11512
|
+
profileId?: string | undefined;
|
|
11513
|
+
costUsd?: number | undefined;
|
|
11514
|
+
}[];
|
|
11515
|
+
workflowDef?: {
|
|
11516
|
+
name: string;
|
|
11517
|
+
description?: string | undefined;
|
|
11518
|
+
steps: {
|
|
11519
|
+
id: string;
|
|
11520
|
+
name?: string | undefined;
|
|
11521
|
+
prompt?: string | undefined;
|
|
11522
|
+
skill?: string | undefined;
|
|
11523
|
+
model?: string | undefined;
|
|
11524
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11525
|
+
allowedTools?: string[] | undefined;
|
|
11526
|
+
bashAllowlist?: string[] | undefined;
|
|
11527
|
+
command?: string | undefined;
|
|
11528
|
+
onFail?: {
|
|
11529
|
+
retry: string;
|
|
11530
|
+
max: number;
|
|
11531
|
+
} | undefined;
|
|
11532
|
+
}[];
|
|
11533
|
+
source: "built-in" | "file";
|
|
11534
|
+
path?: string | undefined;
|
|
11535
|
+
} | undefined;
|
|
11536
|
+
}[];
|
|
11537
11537
|
};
|
|
11538
11538
|
outputFormat: "json";
|
|
11539
|
-
status:
|
|
11539
|
+
status: 201;
|
|
11540
11540
|
input: {
|
|
11541
11541
|
json: {
|
|
11542
11542
|
workflow?: string | undefined;
|
|
@@ -11576,17 +11576,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11576
11576
|
} & {
|
|
11577
11577
|
"/runs/:id": {
|
|
11578
11578
|
$get: {
|
|
11579
|
-
output: {
|
|
11580
|
-
error: string;
|
|
11581
|
-
};
|
|
11582
|
-
outputFormat: "json";
|
|
11583
|
-
status: 404;
|
|
11584
|
-
input: {
|
|
11585
|
-
param: {
|
|
11586
|
-
id: string;
|
|
11587
|
-
};
|
|
11588
|
-
};
|
|
11589
|
-
} | {
|
|
11590
11579
|
output: {
|
|
11591
11580
|
id: string;
|
|
11592
11581
|
title: string;
|
|
@@ -11712,6 +11701,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11712
11701
|
id: string;
|
|
11713
11702
|
};
|
|
11714
11703
|
};
|
|
11704
|
+
} | {
|
|
11705
|
+
output: {
|
|
11706
|
+
error: string;
|
|
11707
|
+
};
|
|
11708
|
+
outputFormat: "json";
|
|
11709
|
+
status: 404;
|
|
11710
|
+
input: {
|
|
11711
|
+
param: {
|
|
11712
|
+
id: string;
|
|
11713
|
+
};
|
|
11714
|
+
};
|
|
11715
11715
|
};
|
|
11716
11716
|
};
|
|
11717
11717
|
} & {
|
|
@@ -11837,54 +11837,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11837
11837
|
} & {
|
|
11838
11838
|
"/runs/:id": {
|
|
11839
11839
|
$patch: {
|
|
11840
|
-
output: {
|
|
11841
|
-
error: string;
|
|
11842
|
-
};
|
|
11843
|
-
outputFormat: "json";
|
|
11844
|
-
status: 400;
|
|
11845
|
-
input: {
|
|
11846
|
-
json: {
|
|
11847
|
-
title?: string | undefined;
|
|
11848
|
-
task?: string | undefined;
|
|
11849
|
-
};
|
|
11850
|
-
} & {
|
|
11851
|
-
param: {
|
|
11852
|
-
id: string;
|
|
11853
|
-
};
|
|
11854
|
-
};
|
|
11855
|
-
} | {
|
|
11856
|
-
output: {
|
|
11857
|
-
error: string;
|
|
11858
|
-
};
|
|
11859
|
-
outputFormat: "json";
|
|
11860
|
-
status: 404;
|
|
11861
|
-
input: {
|
|
11862
|
-
json: {
|
|
11863
|
-
title?: string | undefined;
|
|
11864
|
-
task?: string | undefined;
|
|
11865
|
-
};
|
|
11866
|
-
} & {
|
|
11867
|
-
param: {
|
|
11868
|
-
id: string;
|
|
11869
|
-
};
|
|
11870
|
-
};
|
|
11871
|
-
} | {
|
|
11872
|
-
output: {
|
|
11873
|
-
error: string;
|
|
11874
|
-
};
|
|
11875
|
-
outputFormat: "json";
|
|
11876
|
-
status: 409;
|
|
11877
|
-
input: {
|
|
11878
|
-
json: {
|
|
11879
|
-
title?: string | undefined;
|
|
11880
|
-
task?: string | undefined;
|
|
11881
|
-
};
|
|
11882
|
-
} & {
|
|
11883
|
-
param: {
|
|
11884
|
-
id: string;
|
|
11885
|
-
};
|
|
11886
|
-
};
|
|
11887
|
-
} | {
|
|
11888
11840
|
output: {
|
|
11889
11841
|
id: string;
|
|
11890
11842
|
title: string;
|
|
@@ -12014,6 +11966,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12014
11966
|
id: string;
|
|
12015
11967
|
};
|
|
12016
11968
|
};
|
|
11969
|
+
} | {
|
|
11970
|
+
output: {
|
|
11971
|
+
error: string;
|
|
11972
|
+
};
|
|
11973
|
+
outputFormat: "json";
|
|
11974
|
+
status: 404;
|
|
11975
|
+
input: {
|
|
11976
|
+
json: {
|
|
11977
|
+
title?: string | undefined;
|
|
11978
|
+
task?: string | undefined;
|
|
11979
|
+
};
|
|
11980
|
+
} & {
|
|
11981
|
+
param: {
|
|
11982
|
+
id: string;
|
|
11983
|
+
};
|
|
11984
|
+
};
|
|
11985
|
+
} | {
|
|
11986
|
+
output: {
|
|
11987
|
+
error: string;
|
|
11988
|
+
};
|
|
11989
|
+
outputFormat: "json";
|
|
11990
|
+
status: 400;
|
|
11991
|
+
input: {
|
|
11992
|
+
json: {
|
|
11993
|
+
title?: string | undefined;
|
|
11994
|
+
task?: string | undefined;
|
|
11995
|
+
};
|
|
11996
|
+
} & {
|
|
11997
|
+
param: {
|
|
11998
|
+
id: string;
|
|
11999
|
+
};
|
|
12000
|
+
};
|
|
12001
|
+
} | {
|
|
12002
|
+
output: {
|
|
12003
|
+
error: string;
|
|
12004
|
+
};
|
|
12005
|
+
outputFormat: "json";
|
|
12006
|
+
status: 409;
|
|
12007
|
+
input: {
|
|
12008
|
+
json: {
|
|
12009
|
+
title?: string | undefined;
|
|
12010
|
+
task?: string | undefined;
|
|
12011
|
+
};
|
|
12012
|
+
} & {
|
|
12013
|
+
param: {
|
|
12014
|
+
id: string;
|
|
12015
|
+
};
|
|
12016
|
+
};
|
|
12017
12017
|
};
|
|
12018
12018
|
};
|
|
12019
12019
|
} & {
|
|
@@ -12049,7 +12049,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12049
12049
|
error: string;
|
|
12050
12050
|
};
|
|
12051
12051
|
outputFormat: "json";
|
|
12052
|
-
status:
|
|
12052
|
+
status: 404;
|
|
12053
12053
|
input: {
|
|
12054
12054
|
json: {
|
|
12055
12055
|
text?: string | undefined;
|
|
@@ -12068,7 +12068,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12068
12068
|
error: string;
|
|
12069
12069
|
};
|
|
12070
12070
|
outputFormat: "json";
|
|
12071
|
-
status:
|
|
12071
|
+
status: 409;
|
|
12072
12072
|
input: {
|
|
12073
12073
|
json: {
|
|
12074
12074
|
text?: string | undefined;
|
|
@@ -12084,10 +12084,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12084
12084
|
};
|
|
12085
12085
|
} | {
|
|
12086
12086
|
output: {
|
|
12087
|
-
|
|
12087
|
+
delivered: true;
|
|
12088
12088
|
};
|
|
12089
12089
|
outputFormat: "json";
|
|
12090
|
-
status:
|
|
12090
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12091
12091
|
input: {
|
|
12092
12092
|
json: {
|
|
12093
12093
|
text?: string | undefined;
|
|
@@ -12103,10 +12103,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12103
12103
|
};
|
|
12104
12104
|
} | {
|
|
12105
12105
|
output: {
|
|
12106
|
-
|
|
12106
|
+
error: string;
|
|
12107
12107
|
};
|
|
12108
12108
|
outputFormat: "json";
|
|
12109
|
-
status:
|
|
12109
|
+
status: 400;
|
|
12110
12110
|
input: {
|
|
12111
12111
|
json: {
|
|
12112
12112
|
text?: string | undefined;
|
|
@@ -12173,7 +12173,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12173
12173
|
error: string;
|
|
12174
12174
|
};
|
|
12175
12175
|
outputFormat: "json";
|
|
12176
|
-
status:
|
|
12176
|
+
status: 404;
|
|
12177
12177
|
input: {
|
|
12178
12178
|
json: {
|
|
12179
12179
|
text?: string | undefined;
|
|
@@ -12194,7 +12194,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12194
12194
|
error: string;
|
|
12195
12195
|
};
|
|
12196
12196
|
outputFormat: "json";
|
|
12197
|
-
status:
|
|
12197
|
+
status: 400;
|
|
12198
12198
|
input: {
|
|
12199
12199
|
json: {
|
|
12200
12200
|
text?: string | undefined;
|
|
@@ -12346,7 +12346,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12346
12346
|
error: string;
|
|
12347
12347
|
};
|
|
12348
12348
|
outputFormat: "json";
|
|
12349
|
-
status:
|
|
12349
|
+
status: 404;
|
|
12350
12350
|
input: {
|
|
12351
12351
|
json: {
|
|
12352
12352
|
text?: string | undefined;
|
|
@@ -12368,7 +12368,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12368
12368
|
error: string;
|
|
12369
12369
|
};
|
|
12370
12370
|
outputFormat: "json";
|
|
12371
|
-
status:
|
|
12371
|
+
status: 400;
|
|
12372
12372
|
input: {
|
|
12373
12373
|
json: {
|
|
12374
12374
|
text?: string | undefined;
|
|
@@ -12476,7 +12476,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12476
12476
|
error: string;
|
|
12477
12477
|
};
|
|
12478
12478
|
outputFormat: "json";
|
|
12479
|
-
status:
|
|
12479
|
+
status: 404;
|
|
12480
12480
|
input: {
|
|
12481
12481
|
json: {
|
|
12482
12482
|
target: string;
|
|
@@ -12492,7 +12492,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12492
12492
|
error: string;
|
|
12493
12493
|
};
|
|
12494
12494
|
outputFormat: "json";
|
|
12495
|
-
status:
|
|
12495
|
+
status: 409;
|
|
12496
12496
|
input: {
|
|
12497
12497
|
json: {
|
|
12498
12498
|
target: string;
|
|
@@ -12508,7 +12508,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12508
12508
|
error: string;
|
|
12509
12509
|
};
|
|
12510
12510
|
outputFormat: "json";
|
|
12511
|
-
status:
|
|
12511
|
+
status: 400;
|
|
12512
12512
|
input: {
|
|
12513
12513
|
json: {
|
|
12514
12514
|
target: string;
|
|
@@ -12541,20 +12541,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12541
12541
|
} & {
|
|
12542
12542
|
"/runs/:id/handoff": {
|
|
12543
12543
|
$get: {
|
|
12544
|
-
output:
|
|
12545
|
-
|
|
12546
|
-
|
|
12544
|
+
output: {
|
|
12545
|
+
error: string;
|
|
12546
|
+
};
|
|
12547
|
+
outputFormat: "json";
|
|
12548
|
+
status: 404;
|
|
12547
12549
|
input: {
|
|
12548
12550
|
param: {
|
|
12549
12551
|
id: string;
|
|
12550
12552
|
};
|
|
12551
12553
|
};
|
|
12552
12554
|
} | {
|
|
12553
|
-
output:
|
|
12554
|
-
|
|
12555
|
-
|
|
12556
|
-
outputFormat: "json";
|
|
12557
|
-
status: 404;
|
|
12555
|
+
output: string;
|
|
12556
|
+
outputFormat: "text";
|
|
12557
|
+
status: 200;
|
|
12558
12558
|
input: {
|
|
12559
12559
|
param: {
|
|
12560
12560
|
id: string;
|
|
@@ -12962,11 +12962,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12962
12962
|
"/runs/:id/pr": {
|
|
12963
12963
|
$post: {
|
|
12964
12964
|
output: {
|
|
12965
|
-
|
|
12966
|
-
dryRun: boolean;
|
|
12965
|
+
error: string;
|
|
12967
12966
|
};
|
|
12968
12967
|
outputFormat: "json";
|
|
12969
|
-
status:
|
|
12968
|
+
status: 404;
|
|
12970
12969
|
input: {
|
|
12971
12970
|
param: {
|
|
12972
12971
|
id: string;
|
|
@@ -12977,7 +12976,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12977
12976
|
error: string;
|
|
12978
12977
|
};
|
|
12979
12978
|
outputFormat: "json";
|
|
12980
|
-
status:
|
|
12979
|
+
status: 409;
|
|
12981
12980
|
input: {
|
|
12982
12981
|
param: {
|
|
12983
12982
|
id: string;
|
|
@@ -12988,7 +12987,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12988
12987
|
error: string;
|
|
12989
12988
|
};
|
|
12990
12989
|
outputFormat: "json";
|
|
12991
|
-
status:
|
|
12990
|
+
status: 400;
|
|
12992
12991
|
input: {
|
|
12993
12992
|
param: {
|
|
12994
12993
|
id: string;
|
|
@@ -12996,10 +12995,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12996
12995
|
};
|
|
12997
12996
|
} | {
|
|
12998
12997
|
output: {
|
|
12999
|
-
|
|
12998
|
+
url: string;
|
|
12999
|
+
dryRun: boolean;
|
|
13000
13000
|
};
|
|
13001
13001
|
outputFormat: "json";
|
|
13002
|
-
status:
|
|
13002
|
+
status: 201;
|
|
13003
13003
|
input: {
|
|
13004
13004
|
param: {
|
|
13005
13005
|
id: string;
|
|
@@ -13051,7 +13051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13051
13051
|
error: string;
|
|
13052
13052
|
};
|
|
13053
13053
|
outputFormat: "json";
|
|
13054
|
-
status:
|
|
13054
|
+
status: 409;
|
|
13055
13055
|
input: {
|
|
13056
13056
|
param: {
|
|
13057
13057
|
id: string;
|
|
@@ -13062,7 +13062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13062
13062
|
error: string;
|
|
13063
13063
|
};
|
|
13064
13064
|
outputFormat: "json";
|
|
13065
|
-
status:
|
|
13065
|
+
status: 404;
|
|
13066
13066
|
input: {
|
|
13067
13067
|
param: {
|
|
13068
13068
|
id: string;
|