@wjarka/cezarion 0.11.3-pr63.97.2 → 0.11.4
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 +1021 -1021
- package/package.json +3 -3
package/dist/server/server.d.ts
CHANGED
|
@@ -310,17 +310,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
310
310
|
};
|
|
311
311
|
} | {
|
|
312
312
|
output: {
|
|
313
|
-
|
|
314
|
-
parent: string | null;
|
|
315
|
-
dirs: {
|
|
316
|
-
name: string;
|
|
317
|
-
path: string;
|
|
318
|
-
isRepo: boolean;
|
|
319
|
-
}[];
|
|
320
|
-
truncated: boolean;
|
|
313
|
+
error: string;
|
|
321
314
|
};
|
|
322
315
|
outputFormat: "json";
|
|
323
|
-
status:
|
|
316
|
+
status: 400 | 404;
|
|
324
317
|
input: {
|
|
325
318
|
query: {
|
|
326
319
|
path?: string | undefined;
|
|
@@ -329,10 +322,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
329
322
|
};
|
|
330
323
|
} | {
|
|
331
324
|
output: {
|
|
332
|
-
|
|
325
|
+
path: string;
|
|
326
|
+
parent: string | null;
|
|
327
|
+
dirs: {
|
|
328
|
+
name: string;
|
|
329
|
+
path: string;
|
|
330
|
+
isRepo: boolean;
|
|
331
|
+
}[];
|
|
332
|
+
truncated: boolean;
|
|
333
333
|
};
|
|
334
334
|
outputFormat: "json";
|
|
335
|
-
status:
|
|
335
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
336
336
|
input: {
|
|
337
337
|
query: {
|
|
338
338
|
path?: string | undefined;
|
|
@@ -344,17 +344,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
344
344
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
345
345
|
"/automation-checks/:checkId": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: {
|
|
348
|
-
error: string;
|
|
349
|
-
};
|
|
350
|
-
outputFormat: "json";
|
|
351
|
-
status: 404;
|
|
352
|
-
input: {
|
|
353
|
-
param: {
|
|
354
|
-
checkId: string;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
} | {
|
|
358
347
|
output: {
|
|
359
348
|
id: string;
|
|
360
349
|
automationId: string;
|
|
@@ -373,6 +362,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
373
362
|
checkId: string;
|
|
374
363
|
};
|
|
375
364
|
};
|
|
365
|
+
} | {
|
|
366
|
+
output: {
|
|
367
|
+
error: string;
|
|
368
|
+
};
|
|
369
|
+
outputFormat: "json";
|
|
370
|
+
status: 404;
|
|
371
|
+
input: {
|
|
372
|
+
param: {
|
|
373
|
+
checkId: string;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
376
|
};
|
|
377
377
|
};
|
|
378
378
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -453,6 +453,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
453
453
|
projectId: string | string[];
|
|
454
454
|
};
|
|
455
455
|
};
|
|
456
|
+
} | {
|
|
457
|
+
output: {
|
|
458
|
+
error: string;
|
|
459
|
+
};
|
|
460
|
+
outputFormat: "json";
|
|
461
|
+
status: 404 | 409;
|
|
462
|
+
input: {
|
|
463
|
+
query: {
|
|
464
|
+
projectId: string | string[];
|
|
465
|
+
};
|
|
466
|
+
};
|
|
456
467
|
} | {
|
|
457
468
|
output: {
|
|
458
469
|
status: import("../skills-update.ts").SkillsUpdateStatus;
|
|
@@ -479,17 +490,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
479
490
|
projectId: string | string[];
|
|
480
491
|
};
|
|
481
492
|
};
|
|
482
|
-
} | {
|
|
483
|
-
output: {
|
|
484
|
-
error: string;
|
|
485
|
-
};
|
|
486
|
-
outputFormat: "json";
|
|
487
|
-
status: 404 | 409;
|
|
488
|
-
input: {
|
|
489
|
-
query: {
|
|
490
|
-
projectId: string | string[];
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
493
|
};
|
|
494
494
|
};
|
|
495
495
|
} & {
|
|
@@ -626,10 +626,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
626
626
|
};
|
|
627
627
|
} | {
|
|
628
628
|
output: {
|
|
629
|
-
|
|
629
|
+
providers: {
|
|
630
|
+
provider: ProviderId;
|
|
631
|
+
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
632
|
+
enabled?: boolean;
|
|
633
|
+
hint?: string;
|
|
634
|
+
authFailureId?: string;
|
|
635
|
+
profileId?: string;
|
|
636
|
+
}[];
|
|
630
637
|
};
|
|
631
638
|
outputFormat: "json";
|
|
632
|
-
status:
|
|
639
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
633
640
|
input: {
|
|
634
641
|
param: {
|
|
635
642
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -641,17 +648,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
641
648
|
};
|
|
642
649
|
} | {
|
|
643
650
|
output: {
|
|
644
|
-
|
|
645
|
-
provider: ProviderId;
|
|
646
|
-
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
647
|
-
enabled?: boolean;
|
|
648
|
-
hint?: string;
|
|
649
|
-
authFailureId?: string;
|
|
650
|
-
profileId?: string;
|
|
651
|
-
}[];
|
|
651
|
+
error: string;
|
|
652
652
|
};
|
|
653
653
|
outputFormat: "json";
|
|
654
|
-
status:
|
|
654
|
+
status: 500;
|
|
655
655
|
input: {
|
|
656
656
|
param: {
|
|
657
657
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -682,10 +682,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
682
682
|
};
|
|
683
683
|
} | {
|
|
684
684
|
output: {
|
|
685
|
-
|
|
685
|
+
providers: {
|
|
686
|
+
provider: ProviderId;
|
|
687
|
+
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
688
|
+
enabled?: boolean;
|
|
689
|
+
hint?: string;
|
|
690
|
+
authFailureId?: string;
|
|
691
|
+
profileId?: string;
|
|
692
|
+
}[];
|
|
686
693
|
};
|
|
687
694
|
outputFormat: "json";
|
|
688
|
-
status:
|
|
695
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
689
696
|
input: {
|
|
690
697
|
param: {
|
|
691
698
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -697,17 +704,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
697
704
|
};
|
|
698
705
|
} | {
|
|
699
706
|
output: {
|
|
700
|
-
|
|
701
|
-
provider: ProviderId;
|
|
702
|
-
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
703
|
-
enabled?: boolean;
|
|
704
|
-
hint?: string;
|
|
705
|
-
authFailureId?: string;
|
|
706
|
-
profileId?: string;
|
|
707
|
-
}[];
|
|
707
|
+
error: string;
|
|
708
708
|
};
|
|
709
709
|
outputFormat: "json";
|
|
710
|
-
status:
|
|
710
|
+
status: 409;
|
|
711
711
|
input: {
|
|
712
712
|
param: {
|
|
713
713
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -726,7 +726,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
726
726
|
error: string;
|
|
727
727
|
};
|
|
728
728
|
outputFormat: "json";
|
|
729
|
-
status:
|
|
729
|
+
status: 409;
|
|
730
730
|
input: {
|
|
731
731
|
json: {
|
|
732
732
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -738,7 +738,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
738
738
|
error: string;
|
|
739
739
|
};
|
|
740
740
|
outputFormat: "json";
|
|
741
|
-
status:
|
|
741
|
+
status: 400;
|
|
742
742
|
input: {
|
|
743
743
|
json: {
|
|
744
744
|
provider: "claude" | "codex" | "opencode" | "pi";
|
|
@@ -826,10 +826,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
826
826
|
"/workspace/config": {
|
|
827
827
|
$put: {
|
|
828
828
|
output: {
|
|
829
|
-
|
|
829
|
+
browseRoot: string;
|
|
830
|
+
projectsDir: string;
|
|
831
|
+
skillsAutoUpdate: boolean | null;
|
|
832
|
+
effectiveSkillsAutoUpdate: boolean;
|
|
833
|
+
composerDefaults: {
|
|
834
|
+
autonomous: boolean | null;
|
|
835
|
+
worktree: boolean | null;
|
|
836
|
+
inheritedAutonomous: boolean | 'source-dependent';
|
|
837
|
+
inheritedWorktree: boolean;
|
|
838
|
+
};
|
|
839
|
+
resources: {
|
|
840
|
+
maxParallel: number;
|
|
841
|
+
maxMonitoringSessions: number;
|
|
842
|
+
monitoringWakeIntervalMinutes: number | null;
|
|
843
|
+
autoResumeOnUsageLimit: boolean;
|
|
844
|
+
memoryLimitMb: number | null;
|
|
845
|
+
worktreeRetentionDefault: number;
|
|
846
|
+
};
|
|
847
|
+
agentDefaults: {
|
|
848
|
+
runner?: ProviderId;
|
|
849
|
+
models?: {
|
|
850
|
+
claude?: string;
|
|
851
|
+
codex?: string;
|
|
852
|
+
opencode?: string;
|
|
853
|
+
} | undefined;
|
|
854
|
+
};
|
|
830
855
|
};
|
|
831
856
|
outputFormat: "json";
|
|
832
|
-
status:
|
|
857
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
833
858
|
input: {
|
|
834
859
|
json: {
|
|
835
860
|
browseRoot?: string | undefined;
|
|
@@ -863,7 +888,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
863
888
|
error: string;
|
|
864
889
|
};
|
|
865
890
|
outputFormat: "json";
|
|
866
|
-
status:
|
|
891
|
+
status: 400;
|
|
867
892
|
input: {
|
|
868
893
|
json: {
|
|
869
894
|
browseRoot?: string | undefined;
|
|
@@ -894,35 +919,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
894
919
|
};
|
|
895
920
|
} | {
|
|
896
921
|
output: {
|
|
897
|
-
|
|
898
|
-
projectsDir: string;
|
|
899
|
-
skillsAutoUpdate: boolean | null;
|
|
900
|
-
effectiveSkillsAutoUpdate: boolean;
|
|
901
|
-
composerDefaults: {
|
|
902
|
-
autonomous: boolean | null;
|
|
903
|
-
worktree: boolean | null;
|
|
904
|
-
inheritedAutonomous: boolean | 'source-dependent';
|
|
905
|
-
inheritedWorktree: boolean;
|
|
906
|
-
};
|
|
907
|
-
resources: {
|
|
908
|
-
maxParallel: number;
|
|
909
|
-
maxMonitoringSessions: number;
|
|
910
|
-
monitoringWakeIntervalMinutes: number | null;
|
|
911
|
-
autoResumeOnUsageLimit: boolean;
|
|
912
|
-
memoryLimitMb: number | null;
|
|
913
|
-
worktreeRetentionDefault: number;
|
|
914
|
-
};
|
|
915
|
-
agentDefaults: {
|
|
916
|
-
runner?: ProviderId;
|
|
917
|
-
models?: {
|
|
918
|
-
claude?: string;
|
|
919
|
-
codex?: string;
|
|
920
|
-
opencode?: string;
|
|
921
|
-
} | undefined;
|
|
922
|
-
};
|
|
922
|
+
error: string;
|
|
923
923
|
};
|
|
924
924
|
outputFormat: "json";
|
|
925
|
-
status:
|
|
925
|
+
status: 500;
|
|
926
926
|
input: {
|
|
927
927
|
json: {
|
|
928
928
|
browseRoot?: string | undefined;
|
|
@@ -1002,10 +1002,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1002
1002
|
"/workspace/ui-state": {
|
|
1003
1003
|
$put: {
|
|
1004
1004
|
output: {
|
|
1005
|
-
|
|
1005
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1006
|
+
sidebar?: {
|
|
1007
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1008
|
+
collapsed?: {
|
|
1009
|
+
[x: string]: boolean;
|
|
1010
|
+
} | undefined;
|
|
1011
|
+
} | undefined;
|
|
1012
|
+
dismissedProviderAuthFailures?: {
|
|
1013
|
+
claude?: string | undefined;
|
|
1014
|
+
codex?: string | undefined;
|
|
1015
|
+
opencode?: string | undefined;
|
|
1016
|
+
pi?: string | undefined;
|
|
1017
|
+
} | undefined;
|
|
1018
|
+
appearance?: {
|
|
1019
|
+
accent?: "lime" | "violet" | undefined;
|
|
1020
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
1021
|
+
width?: "narrow" | "wide" | undefined;
|
|
1022
|
+
} | undefined;
|
|
1023
|
+
notifications?: {
|
|
1024
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1025
|
+
enabled?: boolean | undefined;
|
|
1026
|
+
} | undefined;
|
|
1027
|
+
taskTable?: {
|
|
1028
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1029
|
+
expandedColumns?: {
|
|
1030
|
+
[x: string]: boolean;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
} | undefined;
|
|
1033
|
+
lastLocation?: {
|
|
1034
|
+
projectId: string;
|
|
1035
|
+
pathname: string;
|
|
1036
|
+
search?: string | undefined;
|
|
1037
|
+
hash?: string | undefined;
|
|
1038
|
+
} | undefined;
|
|
1039
|
+
importedSkills?: string[] | undefined;
|
|
1006
1040
|
};
|
|
1007
1041
|
outputFormat: "json";
|
|
1008
|
-
status:
|
|
1042
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1009
1043
|
input: {
|
|
1010
1044
|
json: {
|
|
1011
1045
|
[x: string]: unknown;
|
|
@@ -1043,44 +1077,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1043
1077
|
};
|
|
1044
1078
|
} | {
|
|
1045
1079
|
output: {
|
|
1046
|
-
|
|
1047
|
-
sidebar?: {
|
|
1048
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1049
|
-
collapsed?: {
|
|
1050
|
-
[x: string]: boolean;
|
|
1051
|
-
} | undefined;
|
|
1052
|
-
} | undefined;
|
|
1053
|
-
dismissedProviderAuthFailures?: {
|
|
1054
|
-
claude?: string | undefined;
|
|
1055
|
-
codex?: string | undefined;
|
|
1056
|
-
opencode?: string | undefined;
|
|
1057
|
-
pi?: string | undefined;
|
|
1058
|
-
} | undefined;
|
|
1059
|
-
appearance?: {
|
|
1060
|
-
accent?: "lime" | "violet" | undefined;
|
|
1061
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
1062
|
-
width?: "narrow" | "wide" | undefined;
|
|
1063
|
-
} | undefined;
|
|
1064
|
-
notifications?: {
|
|
1065
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1066
|
-
enabled?: boolean | undefined;
|
|
1067
|
-
} | undefined;
|
|
1068
|
-
taskTable?: {
|
|
1069
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1070
|
-
expandedColumns?: {
|
|
1071
|
-
[x: string]: boolean;
|
|
1072
|
-
} | undefined;
|
|
1073
|
-
} | undefined;
|
|
1074
|
-
lastLocation?: {
|
|
1075
|
-
projectId: string;
|
|
1076
|
-
pathname: string;
|
|
1077
|
-
search?: string | undefined;
|
|
1078
|
-
hash?: string | undefined;
|
|
1079
|
-
} | undefined;
|
|
1080
|
-
importedSkills?: string[] | undefined;
|
|
1080
|
+
error: string;
|
|
1081
1081
|
};
|
|
1082
1082
|
outputFormat: "json";
|
|
1083
|
-
status:
|
|
1083
|
+
status: 500;
|
|
1084
1084
|
input: {
|
|
1085
1085
|
json: {
|
|
1086
1086
|
[x: string]: unknown;
|
|
@@ -1210,7 +1210,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1210
1210
|
error: string;
|
|
1211
1211
|
};
|
|
1212
1212
|
outputFormat: "json";
|
|
1213
|
-
status:
|
|
1213
|
+
status: 409;
|
|
1214
1214
|
input: {
|
|
1215
1215
|
param: {
|
|
1216
1216
|
projectId: string;
|
|
@@ -1221,7 +1221,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1221
1221
|
error: string;
|
|
1222
1222
|
};
|
|
1223
1223
|
outputFormat: "json";
|
|
1224
|
-
status:
|
|
1224
|
+
status: 404;
|
|
1225
1225
|
input: {
|
|
1226
1226
|
param: {
|
|
1227
1227
|
projectId: string;
|
|
@@ -1259,7 +1259,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1259
1259
|
error: string;
|
|
1260
1260
|
};
|
|
1261
1261
|
outputFormat: "json";
|
|
1262
|
-
status:
|
|
1262
|
+
status: 409;
|
|
1263
1263
|
input: {
|
|
1264
1264
|
json: {
|
|
1265
1265
|
maxParallel?: number | null | undefined;
|
|
@@ -1275,7 +1275,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1275
1275
|
error: string;
|
|
1276
1276
|
};
|
|
1277
1277
|
outputFormat: "json";
|
|
1278
|
-
status:
|
|
1278
|
+
status: 404;
|
|
1279
1279
|
input: {
|
|
1280
1280
|
json: {
|
|
1281
1281
|
maxParallel?: number | null | undefined;
|
|
@@ -1452,6 +1452,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1452
1452
|
} & {
|
|
1453
1453
|
"/workspace/agent-profiles": {
|
|
1454
1454
|
$post: {
|
|
1455
|
+
output: {
|
|
1456
|
+
error: string;
|
|
1457
|
+
};
|
|
1458
|
+
outputFormat: "json";
|
|
1459
|
+
status: 409;
|
|
1460
|
+
input: {
|
|
1461
|
+
json: {
|
|
1462
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1463
|
+
label?: string | undefined;
|
|
1464
|
+
configDir: string;
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
} | {
|
|
1468
|
+
output: {
|
|
1469
|
+
error: string;
|
|
1470
|
+
};
|
|
1471
|
+
outputFormat: "json";
|
|
1472
|
+
status: 400;
|
|
1473
|
+
input: {
|
|
1474
|
+
json: {
|
|
1475
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1476
|
+
label?: string | undefined;
|
|
1477
|
+
configDir: string;
|
|
1478
|
+
};
|
|
1479
|
+
};
|
|
1480
|
+
} | {
|
|
1481
|
+
output: {
|
|
1482
|
+
error: string;
|
|
1483
|
+
};
|
|
1484
|
+
outputFormat: "json";
|
|
1485
|
+
status: 500;
|
|
1486
|
+
input: {
|
|
1487
|
+
json: {
|
|
1488
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1489
|
+
label?: string | undefined;
|
|
1490
|
+
configDir: string;
|
|
1491
|
+
};
|
|
1492
|
+
};
|
|
1493
|
+
} | {
|
|
1455
1494
|
output: {
|
|
1456
1495
|
profile: {
|
|
1457
1496
|
exists: boolean;
|
|
@@ -1502,45 +1541,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1502
1541
|
configDir: string;
|
|
1503
1542
|
};
|
|
1504
1543
|
};
|
|
1505
|
-
} | {
|
|
1506
|
-
output: {
|
|
1507
|
-
error: string;
|
|
1508
|
-
};
|
|
1509
|
-
outputFormat: "json";
|
|
1510
|
-
status: 400;
|
|
1511
|
-
input: {
|
|
1512
|
-
json: {
|
|
1513
|
-
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1514
|
-
label?: string | undefined;
|
|
1515
|
-
configDir: string;
|
|
1516
|
-
};
|
|
1517
|
-
};
|
|
1518
|
-
} | {
|
|
1519
|
-
output: {
|
|
1520
|
-
error: string;
|
|
1521
|
-
};
|
|
1522
|
-
outputFormat: "json";
|
|
1523
|
-
status: 409;
|
|
1524
|
-
input: {
|
|
1525
|
-
json: {
|
|
1526
|
-
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1527
|
-
label?: string | undefined;
|
|
1528
|
-
configDir: string;
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1531
|
-
} | {
|
|
1532
|
-
output: {
|
|
1533
|
-
error: string;
|
|
1534
|
-
};
|
|
1535
|
-
outputFormat: "json";
|
|
1536
|
-
status: 500;
|
|
1537
|
-
input: {
|
|
1538
|
-
json: {
|
|
1539
|
-
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1540
|
-
label?: string | undefined;
|
|
1541
|
-
configDir: string;
|
|
1542
|
-
};
|
|
1543
|
-
};
|
|
1544
1544
|
};
|
|
1545
1545
|
};
|
|
1546
1546
|
} & {
|
|
@@ -1566,7 +1566,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1566
1566
|
error: string;
|
|
1567
1567
|
};
|
|
1568
1568
|
outputFormat: "json";
|
|
1569
|
-
status:
|
|
1569
|
+
status: 409;
|
|
1570
1570
|
input: {
|
|
1571
1571
|
param: {
|
|
1572
1572
|
id: string;
|
|
@@ -1582,7 +1582,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1582
1582
|
error: string;
|
|
1583
1583
|
};
|
|
1584
1584
|
outputFormat: "json";
|
|
1585
|
-
status:
|
|
1585
|
+
status: 400;
|
|
1586
1586
|
input: {
|
|
1587
1587
|
param: {
|
|
1588
1588
|
id: string;
|
|
@@ -1598,7 +1598,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1598
1598
|
error: string;
|
|
1599
1599
|
};
|
|
1600
1600
|
outputFormat: "json";
|
|
1601
|
-
status:
|
|
1601
|
+
status: 404;
|
|
1602
1602
|
input: {
|
|
1603
1603
|
param: {
|
|
1604
1604
|
id: string;
|
|
@@ -1703,7 +1703,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1703
1703
|
error: string;
|
|
1704
1704
|
};
|
|
1705
1705
|
outputFormat: "json";
|
|
1706
|
-
status:
|
|
1706
|
+
status: 409;
|
|
1707
1707
|
input: {
|
|
1708
1708
|
param: {
|
|
1709
1709
|
id: string;
|
|
@@ -1718,7 +1718,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1718
1718
|
error: string;
|
|
1719
1719
|
};
|
|
1720
1720
|
outputFormat: "json";
|
|
1721
|
-
status:
|
|
1721
|
+
status: 404;
|
|
1722
1722
|
input: {
|
|
1723
1723
|
param: {
|
|
1724
1724
|
id: string;
|
|
@@ -1770,7 +1770,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1770
1770
|
error: string;
|
|
1771
1771
|
};
|
|
1772
1772
|
outputFormat: "json";
|
|
1773
|
-
status:
|
|
1773
|
+
status: 409;
|
|
1774
1774
|
input: {
|
|
1775
1775
|
param: {
|
|
1776
1776
|
id: string;
|
|
@@ -1781,7 +1781,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1781
1781
|
error: string;
|
|
1782
1782
|
};
|
|
1783
1783
|
outputFormat: "json";
|
|
1784
|
-
status:
|
|
1784
|
+
status: 404;
|
|
1785
1785
|
input: {
|
|
1786
1786
|
param: {
|
|
1787
1787
|
id: string;
|
|
@@ -1828,7 +1828,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1828
1828
|
error: string;
|
|
1829
1829
|
};
|
|
1830
1830
|
outputFormat: "json";
|
|
1831
|
-
status:
|
|
1831
|
+
status: 409;
|
|
1832
1832
|
input: {
|
|
1833
1833
|
param: {
|
|
1834
1834
|
id: string;
|
|
@@ -1860,7 +1860,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1860
1860
|
error: string;
|
|
1861
1861
|
};
|
|
1862
1862
|
outputFormat: "json";
|
|
1863
|
-
status:
|
|
1863
|
+
status: 400;
|
|
1864
1864
|
input: {
|
|
1865
1865
|
param: {
|
|
1866
1866
|
id: string;
|
|
@@ -1897,7 +1897,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1897
1897
|
error: string;
|
|
1898
1898
|
};
|
|
1899
1899
|
outputFormat: "json";
|
|
1900
|
-
status:
|
|
1900
|
+
status: 409;
|
|
1901
1901
|
input: {
|
|
1902
1902
|
json: {
|
|
1903
1903
|
projectId: string | null;
|
|
@@ -1923,7 +1923,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1923
1923
|
error: string;
|
|
1924
1924
|
};
|
|
1925
1925
|
outputFormat: "json";
|
|
1926
|
-
status:
|
|
1926
|
+
status: 400;
|
|
1927
1927
|
input: {
|
|
1928
1928
|
json: {
|
|
1929
1929
|
projectId: string | null;
|
|
@@ -1992,7 +1992,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1992
1992
|
error: string;
|
|
1993
1993
|
};
|
|
1994
1994
|
outputFormat: "json";
|
|
1995
|
-
status:
|
|
1995
|
+
status: 409;
|
|
1996
1996
|
input: {
|
|
1997
1997
|
param: {
|
|
1998
1998
|
id: string;
|
|
@@ -2003,7 +2003,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2003
2003
|
error: string;
|
|
2004
2004
|
};
|
|
2005
2005
|
outputFormat: "json";
|
|
2006
|
-
status:
|
|
2006
|
+
status: 500;
|
|
2007
2007
|
input: {
|
|
2008
2008
|
param: {
|
|
2009
2009
|
id: string;
|
|
@@ -2014,7 +2014,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2014
2014
|
error: string;
|
|
2015
2015
|
};
|
|
2016
2016
|
outputFormat: "json";
|
|
2017
|
-
status:
|
|
2017
|
+
status: 404;
|
|
2018
2018
|
input: {
|
|
2019
2019
|
param: {
|
|
2020
2020
|
id: string;
|
|
@@ -2460,7 +2460,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2460
2460
|
error: string;
|
|
2461
2461
|
};
|
|
2462
2462
|
outputFormat: "json";
|
|
2463
|
-
status:
|
|
2463
|
+
status: 409;
|
|
2464
2464
|
input: {
|
|
2465
2465
|
json: {
|
|
2466
2466
|
target: string;
|
|
@@ -2471,7 +2471,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2471
2471
|
error: string;
|
|
2472
2472
|
};
|
|
2473
2473
|
outputFormat: "json";
|
|
2474
|
-
status:
|
|
2474
|
+
status: 400;
|
|
2475
2475
|
input: {
|
|
2476
2476
|
json: {
|
|
2477
2477
|
target: string;
|
|
@@ -2530,11 +2530,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2530
2530
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2531
2531
|
"/runs/:id/events": {
|
|
2532
2532
|
$get: {
|
|
2533
|
-
output: {
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
outputFormat: "json";
|
|
2537
|
-
status: 400;
|
|
2533
|
+
output: {};
|
|
2534
|
+
outputFormat: string;
|
|
2535
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
2538
2536
|
input: {
|
|
2539
2537
|
param: {
|
|
2540
2538
|
id: string;
|
|
@@ -2546,9 +2544,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2546
2544
|
};
|
|
2547
2545
|
};
|
|
2548
2546
|
} | {
|
|
2549
|
-
output: {
|
|
2550
|
-
|
|
2551
|
-
|
|
2547
|
+
output: {
|
|
2548
|
+
error: string;
|
|
2549
|
+
};
|
|
2550
|
+
outputFormat: "json";
|
|
2551
|
+
status: 400;
|
|
2552
2552
|
input: {
|
|
2553
2553
|
param: {
|
|
2554
2554
|
id: string;
|
|
@@ -2599,10 +2599,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2599
2599
|
"/config": {
|
|
2600
2600
|
$put: {
|
|
2601
2601
|
output: {
|
|
2602
|
-
|
|
2602
|
+
baseBranch: string | null;
|
|
2603
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
2604
|
+
systemPrompt: string | null;
|
|
2605
|
+
defaultModels: {
|
|
2606
|
+
claude?: string | undefined;
|
|
2607
|
+
codex?: string | undefined;
|
|
2608
|
+
opencode?: string | undefined;
|
|
2609
|
+
pi?: string | undefined;
|
|
2610
|
+
};
|
|
2611
|
+
modelsLocked: boolean;
|
|
2612
|
+
maxParallel: number;
|
|
2613
|
+
memoryLimitMb: number | null;
|
|
2614
|
+
worktreeRetention: number;
|
|
2615
|
+
liveTitleUpdates: boolean | null;
|
|
2616
|
+
reviewGate: boolean | null;
|
|
2603
2617
|
};
|
|
2604
2618
|
outputFormat: "json";
|
|
2605
|
-
status:
|
|
2619
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2606
2620
|
input: {
|
|
2607
2621
|
json: {
|
|
2608
2622
|
baseBranch?: string | null | undefined;
|
|
@@ -2626,7 +2640,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2626
2640
|
error: string;
|
|
2627
2641
|
};
|
|
2628
2642
|
outputFormat: "json";
|
|
2629
|
-
status:
|
|
2643
|
+
status: 409;
|
|
2630
2644
|
input: {
|
|
2631
2645
|
json: {
|
|
2632
2646
|
baseBranch?: string | null | undefined;
|
|
@@ -2647,24 +2661,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2647
2661
|
};
|
|
2648
2662
|
} | {
|
|
2649
2663
|
output: {
|
|
2650
|
-
|
|
2651
|
-
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
2652
|
-
systemPrompt: string | null;
|
|
2653
|
-
defaultModels: {
|
|
2654
|
-
claude?: string | undefined;
|
|
2655
|
-
codex?: string | undefined;
|
|
2656
|
-
opencode?: string | undefined;
|
|
2657
|
-
pi?: string | undefined;
|
|
2658
|
-
};
|
|
2659
|
-
modelsLocked: boolean;
|
|
2660
|
-
maxParallel: number;
|
|
2661
|
-
memoryLimitMb: number | null;
|
|
2662
|
-
worktreeRetention: number;
|
|
2663
|
-
liveTitleUpdates: boolean | null;
|
|
2664
|
-
reviewGate: boolean | null;
|
|
2664
|
+
error: string;
|
|
2665
2665
|
};
|
|
2666
2666
|
outputFormat: "json";
|
|
2667
|
-
status:
|
|
2667
|
+
status: 500;
|
|
2668
2668
|
input: {
|
|
2669
2669
|
json: {
|
|
2670
2670
|
baseBranch?: string | null | undefined;
|
|
@@ -2688,17 +2688,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2688
2688
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2689
2689
|
"/skills": {
|
|
2690
2690
|
$get: {
|
|
2691
|
-
output: {
|
|
2692
|
-
error: string;
|
|
2693
|
-
};
|
|
2694
|
-
outputFormat: "json";
|
|
2695
|
-
status: 400;
|
|
2696
|
-
input: {
|
|
2697
|
-
query: {
|
|
2698
|
-
wait?: string | undefined;
|
|
2699
|
-
};
|
|
2700
|
-
};
|
|
2701
|
-
} | {
|
|
2702
2691
|
output: {
|
|
2703
2692
|
name: string;
|
|
2704
2693
|
description?: string;
|
|
@@ -2721,11 +2710,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2721
2710
|
wait?: string | undefined;
|
|
2722
2711
|
};
|
|
2723
2712
|
};
|
|
2724
|
-
}
|
|
2725
|
-
};
|
|
2726
|
-
} & {
|
|
2727
|
-
"/skills/importable": {
|
|
2728
|
-
$get: {
|
|
2713
|
+
} | {
|
|
2729
2714
|
output: {
|
|
2730
2715
|
error: string;
|
|
2731
2716
|
};
|
|
@@ -2736,7 +2721,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2736
2721
|
wait?: string | undefined;
|
|
2737
2722
|
};
|
|
2738
2723
|
};
|
|
2739
|
-
}
|
|
2724
|
+
};
|
|
2725
|
+
};
|
|
2726
|
+
} & {
|
|
2727
|
+
"/skills/importable": {
|
|
2728
|
+
$get: {
|
|
2740
2729
|
output: {
|
|
2741
2730
|
name: string;
|
|
2742
2731
|
description?: string | undefined;
|
|
@@ -2748,6 +2737,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2748
2737
|
wait?: string | undefined;
|
|
2749
2738
|
};
|
|
2750
2739
|
};
|
|
2740
|
+
} | {
|
|
2741
|
+
output: {
|
|
2742
|
+
error: string;
|
|
2743
|
+
};
|
|
2744
|
+
outputFormat: "json";
|
|
2745
|
+
status: 400;
|
|
2746
|
+
input: {
|
|
2747
|
+
query: {
|
|
2748
|
+
wait?: string | undefined;
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2751
2751
|
};
|
|
2752
2752
|
};
|
|
2753
2753
|
} & {
|
|
@@ -2801,7 +2801,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2801
2801
|
error: string;
|
|
2802
2802
|
};
|
|
2803
2803
|
outputFormat: "json";
|
|
2804
|
-
status:
|
|
2804
|
+
status: 409;
|
|
2805
2805
|
input: {
|
|
2806
2806
|
param: {
|
|
2807
2807
|
id: string;
|
|
@@ -2809,10 +2809,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2809
2809
|
};
|
|
2810
2810
|
} | {
|
|
2811
2811
|
output: {
|
|
2812
|
-
|
|
2812
|
+
removed: true;
|
|
2813
2813
|
};
|
|
2814
2814
|
outputFormat: "json";
|
|
2815
|
-
status:
|
|
2815
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2816
2816
|
input: {
|
|
2817
2817
|
param: {
|
|
2818
2818
|
id: string;
|
|
@@ -2820,10 +2820,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2820
2820
|
};
|
|
2821
2821
|
} | {
|
|
2822
2822
|
output: {
|
|
2823
|
-
|
|
2823
|
+
error: string;
|
|
2824
2824
|
};
|
|
2825
2825
|
outputFormat: "json";
|
|
2826
|
-
status:
|
|
2826
|
+
status: 404;
|
|
2827
2827
|
input: {
|
|
2828
2828
|
param: {
|
|
2829
2829
|
id: string;
|
|
@@ -2834,6 +2834,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2834
2834
|
} & {
|
|
2835
2835
|
"/todos/:id/start": {
|
|
2836
2836
|
$post: {
|
|
2837
|
+
output: {
|
|
2838
|
+
error: string;
|
|
2839
|
+
};
|
|
2840
|
+
outputFormat: "json";
|
|
2841
|
+
status: 409;
|
|
2842
|
+
input: {
|
|
2843
|
+
json: {
|
|
2844
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2845
|
+
model?: string | undefined;
|
|
2846
|
+
effort?: string | undefined;
|
|
2847
|
+
prompt?: string | undefined;
|
|
2848
|
+
} | undefined;
|
|
2849
|
+
} & {
|
|
2850
|
+
param: {
|
|
2851
|
+
id: string;
|
|
2852
|
+
};
|
|
2853
|
+
};
|
|
2854
|
+
} | {
|
|
2837
2855
|
output: {
|
|
2838
2856
|
run: {
|
|
2839
2857
|
id: string;
|
|
@@ -2968,24 +2986,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2968
2986
|
id: string;
|
|
2969
2987
|
};
|
|
2970
2988
|
};
|
|
2971
|
-
} | {
|
|
2972
|
-
output: {
|
|
2973
|
-
error: string;
|
|
2974
|
-
};
|
|
2975
|
-
outputFormat: "json";
|
|
2976
|
-
status: 404;
|
|
2977
|
-
input: {
|
|
2978
|
-
json: {
|
|
2979
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2980
|
-
model?: string | undefined;
|
|
2981
|
-
effort?: string | undefined;
|
|
2982
|
-
prompt?: string | undefined;
|
|
2983
|
-
} | undefined;
|
|
2984
|
-
} & {
|
|
2985
|
-
param: {
|
|
2986
|
-
id: string;
|
|
2987
|
-
};
|
|
2988
|
-
};
|
|
2989
2989
|
} | {
|
|
2990
2990
|
output: {
|
|
2991
2991
|
error: string;
|
|
@@ -3009,7 +3009,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3009
3009
|
error: string;
|
|
3010
3010
|
};
|
|
3011
3011
|
outputFormat: "json";
|
|
3012
|
-
status:
|
|
3012
|
+
status: 404;
|
|
3013
3013
|
input: {
|
|
3014
3014
|
json: {
|
|
3015
3015
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -3112,10 +3112,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3112
3112
|
"/agent-config/:id": {
|
|
3113
3113
|
$put: {
|
|
3114
3114
|
output: {
|
|
3115
|
-
|
|
3115
|
+
id: string;
|
|
3116
|
+
path: string;
|
|
3117
|
+
exists: boolean;
|
|
3118
|
+
content: string;
|
|
3119
|
+
version: string | null;
|
|
3116
3120
|
};
|
|
3117
3121
|
outputFormat: "json";
|
|
3118
|
-
status:
|
|
3122
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3119
3123
|
input: {
|
|
3120
3124
|
json: {
|
|
3121
3125
|
content: string;
|
|
@@ -3128,14 +3132,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3128
3132
|
};
|
|
3129
3133
|
} | {
|
|
3130
3134
|
output: {
|
|
3131
|
-
|
|
3132
|
-
path: string;
|
|
3133
|
-
exists: boolean;
|
|
3134
|
-
content: string;
|
|
3135
|
-
version: string | null;
|
|
3135
|
+
error: string;
|
|
3136
3136
|
};
|
|
3137
3137
|
outputFormat: "json";
|
|
3138
|
-
status:
|
|
3138
|
+
status: 404;
|
|
3139
3139
|
input: {
|
|
3140
3140
|
json: {
|
|
3141
3141
|
content: string;
|
|
@@ -3203,11 +3203,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3203
3203
|
"/workflows": {
|
|
3204
3204
|
$post: {
|
|
3205
3205
|
output: {
|
|
3206
|
-
|
|
3207
|
-
name: string;
|
|
3206
|
+
error: string;
|
|
3208
3207
|
};
|
|
3209
3208
|
outputFormat: "json";
|
|
3210
|
-
status:
|
|
3209
|
+
status: 400;
|
|
3211
3210
|
input: {
|
|
3212
3211
|
json: {
|
|
3213
3212
|
name: string;
|
|
@@ -3234,9 +3233,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3234
3233
|
} | {
|
|
3235
3234
|
output: {
|
|
3236
3235
|
error: string;
|
|
3236
|
+
exists: true;
|
|
3237
3237
|
};
|
|
3238
3238
|
outputFormat: "json";
|
|
3239
|
-
status:
|
|
3239
|
+
status: 409;
|
|
3240
3240
|
input: {
|
|
3241
3241
|
json: {
|
|
3242
3242
|
name: string;
|
|
@@ -3263,10 +3263,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3263
3263
|
} | {
|
|
3264
3264
|
output: {
|
|
3265
3265
|
error: string;
|
|
3266
|
-
exists: true;
|
|
3267
3266
|
};
|
|
3268
3267
|
outputFormat: "json";
|
|
3269
|
-
status:
|
|
3268
|
+
status: 500;
|
|
3270
3269
|
input: {
|
|
3271
3270
|
json: {
|
|
3272
3271
|
name: string;
|
|
@@ -3292,10 +3291,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3292
3291
|
};
|
|
3293
3292
|
} | {
|
|
3294
3293
|
output: {
|
|
3295
|
-
|
|
3294
|
+
path: string;
|
|
3295
|
+
name: string;
|
|
3296
3296
|
};
|
|
3297
3297
|
outputFormat: "json";
|
|
3298
|
-
status:
|
|
3298
|
+
status: 201;
|
|
3299
3299
|
input: {
|
|
3300
3300
|
json: {
|
|
3301
3301
|
name: string;
|
|
@@ -3328,7 +3328,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3328
3328
|
error: string;
|
|
3329
3329
|
};
|
|
3330
3330
|
outputFormat: "json";
|
|
3331
|
-
status:
|
|
3331
|
+
status: 404;
|
|
3332
3332
|
input: {
|
|
3333
3333
|
param: {
|
|
3334
3334
|
name: string;
|
|
@@ -3339,7 +3339,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3339
3339
|
error: string;
|
|
3340
3340
|
};
|
|
3341
3341
|
outputFormat: "json";
|
|
3342
|
-
status:
|
|
3342
|
+
status: 400;
|
|
3343
3343
|
input: {
|
|
3344
3344
|
param: {
|
|
3345
3345
|
name: string;
|
|
@@ -3476,21 +3476,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3476
3476
|
sha: string;
|
|
3477
3477
|
};
|
|
3478
3478
|
};
|
|
3479
|
-
} | {
|
|
3480
|
-
output: {
|
|
3481
|
-
error: string;
|
|
3482
|
-
};
|
|
3483
|
-
outputFormat: "json";
|
|
3484
|
-
status: 409;
|
|
3485
|
-
input: {
|
|
3486
|
-
query: {
|
|
3487
|
-
structured?: string | undefined;
|
|
3488
|
-
};
|
|
3489
|
-
} & {
|
|
3490
|
-
param: {
|
|
3491
|
-
sha: string;
|
|
3492
|
-
};
|
|
3493
|
-
};
|
|
3494
3479
|
} | {
|
|
3495
3480
|
output: {
|
|
3496
3481
|
sha: string;
|
|
@@ -3524,6 +3509,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3524
3509
|
sha: string;
|
|
3525
3510
|
};
|
|
3526
3511
|
};
|
|
3512
|
+
} | {
|
|
3513
|
+
output: {
|
|
3514
|
+
error: string;
|
|
3515
|
+
};
|
|
3516
|
+
outputFormat: "json";
|
|
3517
|
+
status: 409;
|
|
3518
|
+
input: {
|
|
3519
|
+
query: {
|
|
3520
|
+
structured?: string | undefined;
|
|
3521
|
+
};
|
|
3522
|
+
} & {
|
|
3523
|
+
param: {
|
|
3524
|
+
sha: string;
|
|
3525
|
+
};
|
|
3526
|
+
};
|
|
3527
3527
|
} | {
|
|
3528
3528
|
output: string;
|
|
3529
3529
|
outputFormat: "text";
|
|
@@ -3542,13 +3542,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3542
3542
|
} & {
|
|
3543
3543
|
"/repo/changes": {
|
|
3544
3544
|
$get: {
|
|
3545
|
-
output: {
|
|
3546
|
-
error: string;
|
|
3547
|
-
};
|
|
3548
|
-
outputFormat: "json";
|
|
3549
|
-
status: 409;
|
|
3550
|
-
input: {};
|
|
3551
|
-
} | {
|
|
3552
3545
|
output: {
|
|
3553
3546
|
files: {
|
|
3554
3547
|
path: string;
|
|
@@ -3573,6 +3566,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3573
3566
|
outputFormat: "json";
|
|
3574
3567
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3575
3568
|
input: {};
|
|
3569
|
+
} | {
|
|
3570
|
+
output: {
|
|
3571
|
+
error: string;
|
|
3572
|
+
};
|
|
3573
|
+
outputFormat: "json";
|
|
3574
|
+
status: 409;
|
|
3575
|
+
input: {};
|
|
3576
3576
|
};
|
|
3577
3577
|
};
|
|
3578
3578
|
} & {
|
|
@@ -4210,28 +4210,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4210
4210
|
"/automations": {
|
|
4211
4211
|
$post: {
|
|
4212
4212
|
output: {
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4213
|
+
error: string;
|
|
4214
|
+
};
|
|
4215
|
+
outputFormat: "json";
|
|
4216
|
+
status: 400;
|
|
4217
|
+
input: {
|
|
4218
|
+
json: {
|
|
4217
4219
|
name: string;
|
|
4218
4220
|
description?: string | undefined;
|
|
4219
|
-
enabled
|
|
4221
|
+
enabled?: boolean | undefined;
|
|
4220
4222
|
events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
|
|
4221
4223
|
intervalSeconds: number;
|
|
4222
4224
|
filters: {
|
|
4223
|
-
[x: string]:
|
|
4225
|
+
[x: string]: unknown;
|
|
4224
4226
|
authors?: string[] | undefined;
|
|
4225
4227
|
assignees?: string[] | undefined;
|
|
4226
4228
|
allLabels?: string[] | undefined;
|
|
4227
4229
|
anyLabels?: string[] | undefined;
|
|
4228
4230
|
excludeLabels?: string[] | undefined;
|
|
4229
4231
|
changedLabels?: string[] | undefined;
|
|
4230
|
-
lookbackDays
|
|
4231
|
-
maxRecords
|
|
4232
|
+
lookbackDays?: number | undefined;
|
|
4233
|
+
maxRecords?: number | undefined;
|
|
4232
4234
|
};
|
|
4233
4235
|
task: {
|
|
4234
|
-
[x: string]:
|
|
4236
|
+
[x: string]: unknown;
|
|
4235
4237
|
prompt: string;
|
|
4236
4238
|
workflow?: string | undefined;
|
|
4237
4239
|
steps?: {
|
|
@@ -4246,7 +4248,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4246
4248
|
command?: string | undefined;
|
|
4247
4249
|
onFail?: {
|
|
4248
4250
|
retry: string;
|
|
4249
|
-
max
|
|
4251
|
+
max?: number | undefined;
|
|
4250
4252
|
} | undefined;
|
|
4251
4253
|
}[] | undefined;
|
|
4252
4254
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -4258,32 +4260,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4258
4260
|
autonomous?: boolean | undefined;
|
|
4259
4261
|
systemPrompt?: string | undefined;
|
|
4260
4262
|
};
|
|
4261
|
-
|
|
4262
|
-
updatedAt: string;
|
|
4263
|
+
enable?: boolean | undefined;
|
|
4263
4264
|
};
|
|
4264
4265
|
};
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4266
|
+
} | {
|
|
4267
|
+
output: {
|
|
4268
|
+
automation: {
|
|
4269
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4270
|
+
id: string;
|
|
4271
|
+
revision: number;
|
|
4269
4272
|
name: string;
|
|
4270
4273
|
description?: string | undefined;
|
|
4271
|
-
enabled
|
|
4274
|
+
enabled: boolean;
|
|
4272
4275
|
events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
|
|
4273
4276
|
intervalSeconds: number;
|
|
4274
4277
|
filters: {
|
|
4275
|
-
[x: string]:
|
|
4278
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4276
4279
|
authors?: string[] | undefined;
|
|
4277
4280
|
assignees?: string[] | undefined;
|
|
4278
4281
|
allLabels?: string[] | undefined;
|
|
4279
4282
|
anyLabels?: string[] | undefined;
|
|
4280
4283
|
excludeLabels?: string[] | undefined;
|
|
4281
4284
|
changedLabels?: string[] | undefined;
|
|
4282
|
-
lookbackDays
|
|
4283
|
-
maxRecords
|
|
4285
|
+
lookbackDays: number;
|
|
4286
|
+
maxRecords: number;
|
|
4284
4287
|
};
|
|
4285
4288
|
task: {
|
|
4286
|
-
[x: string]:
|
|
4289
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4287
4290
|
prompt: string;
|
|
4288
4291
|
workflow?: string | undefined;
|
|
4289
4292
|
steps?: {
|
|
@@ -4298,7 +4301,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4298
4301
|
command?: string | undefined;
|
|
4299
4302
|
onFail?: {
|
|
4300
4303
|
retry: string;
|
|
4301
|
-
max
|
|
4304
|
+
max: number;
|
|
4302
4305
|
} | undefined;
|
|
4303
4306
|
}[] | undefined;
|
|
4304
4307
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -4310,15 +4313,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4310
4313
|
autonomous?: boolean | undefined;
|
|
4311
4314
|
systemPrompt?: string | undefined;
|
|
4312
4315
|
};
|
|
4313
|
-
|
|
4316
|
+
createdAt: string;
|
|
4317
|
+
updatedAt: string;
|
|
4314
4318
|
};
|
|
4315
4319
|
};
|
|
4316
|
-
} | {
|
|
4317
|
-
output: {
|
|
4318
|
-
error: string;
|
|
4319
|
-
};
|
|
4320
4320
|
outputFormat: "json";
|
|
4321
|
-
status:
|
|
4321
|
+
status: 201;
|
|
4322
4322
|
input: {
|
|
4323
4323
|
json: {
|
|
4324
4324
|
name: string;
|
|
@@ -4906,10 +4906,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4906
4906
|
"/automations/:id/check": {
|
|
4907
4907
|
$post: {
|
|
4908
4908
|
output: {
|
|
4909
|
-
|
|
4909
|
+
error: string;
|
|
4910
4910
|
};
|
|
4911
4911
|
outputFormat: "json";
|
|
4912
|
-
status:
|
|
4912
|
+
status: 404;
|
|
4913
4913
|
input: {
|
|
4914
4914
|
json: {
|
|
4915
4915
|
mode: "execute" | "preview";
|
|
@@ -4921,10 +4921,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4921
4921
|
};
|
|
4922
4922
|
} | {
|
|
4923
4923
|
output: {
|
|
4924
|
-
|
|
4924
|
+
checkId: string;
|
|
4925
4925
|
};
|
|
4926
4926
|
outputFormat: "json";
|
|
4927
|
-
status:
|
|
4927
|
+
status: 202;
|
|
4928
4928
|
input: {
|
|
4929
4929
|
json: {
|
|
4930
4930
|
mode: "execute" | "preview";
|
|
@@ -4997,11 +4997,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4997
4997
|
"/automation-log/:receiptId/retry": {
|
|
4998
4998
|
$post: {
|
|
4999
4999
|
output: {
|
|
5000
|
-
|
|
5001
|
-
runId: string;
|
|
5000
|
+
error: string;
|
|
5002
5001
|
};
|
|
5003
5002
|
outputFormat: "json";
|
|
5004
|
-
status:
|
|
5003
|
+
status: 404;
|
|
5005
5004
|
input: {
|
|
5006
5005
|
param: {
|
|
5007
5006
|
receiptId: string;
|
|
@@ -5012,7 +5011,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5012
5011
|
error: string;
|
|
5013
5012
|
};
|
|
5014
5013
|
outputFormat: "json";
|
|
5015
|
-
status:
|
|
5014
|
+
status: 409;
|
|
5016
5015
|
input: {
|
|
5017
5016
|
param: {
|
|
5018
5017
|
receiptId: string;
|
|
@@ -5020,10 +5019,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5020
5019
|
};
|
|
5021
5020
|
} | {
|
|
5022
5021
|
output: {
|
|
5023
|
-
|
|
5022
|
+
receiptId: string;
|
|
5023
|
+
runId: string;
|
|
5024
5024
|
};
|
|
5025
5025
|
outputFormat: "json";
|
|
5026
|
-
status:
|
|
5026
|
+
status: 202;
|
|
5027
5027
|
input: {
|
|
5028
5028
|
param: {
|
|
5029
5029
|
receiptId: string;
|
|
@@ -5183,21 +5183,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5183
5183
|
} & {
|
|
5184
5184
|
"/runs/:id/archive": {
|
|
5185
5185
|
$post: {
|
|
5186
|
-
output: {
|
|
5187
|
-
error: string;
|
|
5188
|
-
};
|
|
5189
|
-
outputFormat: "json";
|
|
5190
|
-
status: 404;
|
|
5191
|
-
input: {
|
|
5192
|
-
json: {
|
|
5193
|
-
archived?: boolean | undefined;
|
|
5194
|
-
};
|
|
5195
|
-
} & {
|
|
5196
|
-
param: {
|
|
5197
|
-
id: string;
|
|
5198
|
-
};
|
|
5199
|
-
};
|
|
5200
|
-
} | {
|
|
5201
5186
|
output: {
|
|
5202
5187
|
id: string;
|
|
5203
5188
|
title: string;
|
|
@@ -5327,6 +5312,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5327
5312
|
id: string;
|
|
5328
5313
|
};
|
|
5329
5314
|
};
|
|
5315
|
+
} | {
|
|
5316
|
+
output: {
|
|
5317
|
+
error: string;
|
|
5318
|
+
};
|
|
5319
|
+
outputFormat: "json";
|
|
5320
|
+
status: 404;
|
|
5321
|
+
input: {
|
|
5322
|
+
json: {
|
|
5323
|
+
archived?: boolean | undefined;
|
|
5324
|
+
};
|
|
5325
|
+
} & {
|
|
5326
|
+
param: {
|
|
5327
|
+
id: string;
|
|
5328
|
+
};
|
|
5329
|
+
};
|
|
5330
5330
|
};
|
|
5331
5331
|
};
|
|
5332
5332
|
} & {
|
|
@@ -5358,17 +5358,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5358
5358
|
} & {
|
|
5359
5359
|
"/runs/:id/read": {
|
|
5360
5360
|
$post: {
|
|
5361
|
-
output: {
|
|
5362
|
-
error: string;
|
|
5363
|
-
};
|
|
5364
|
-
outputFormat: "json";
|
|
5365
|
-
status: 404;
|
|
5366
|
-
input: {
|
|
5367
|
-
param: {
|
|
5368
|
-
id: string;
|
|
5369
|
-
};
|
|
5370
|
-
};
|
|
5371
|
-
} | {
|
|
5372
5361
|
output: {
|
|
5373
5362
|
id: string;
|
|
5374
5363
|
title: string;
|
|
@@ -5494,11 +5483,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5494
5483
|
id: string;
|
|
5495
5484
|
};
|
|
5496
5485
|
};
|
|
5497
|
-
}
|
|
5498
|
-
};
|
|
5499
|
-
} & {
|
|
5500
|
-
"/runs/:id/unread": {
|
|
5501
|
-
$post: {
|
|
5486
|
+
} | {
|
|
5502
5487
|
output: {
|
|
5503
5488
|
error: string;
|
|
5504
5489
|
};
|
|
@@ -5509,7 +5494,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5509
5494
|
id: string;
|
|
5510
5495
|
};
|
|
5511
5496
|
};
|
|
5512
|
-
}
|
|
5497
|
+
};
|
|
5498
|
+
};
|
|
5499
|
+
} & {
|
|
5500
|
+
"/runs/:id/unread": {
|
|
5501
|
+
$post: {
|
|
5513
5502
|
output: {
|
|
5514
5503
|
id: string;
|
|
5515
5504
|
title: string;
|
|
@@ -5635,6 +5624,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5635
5624
|
id: string;
|
|
5636
5625
|
};
|
|
5637
5626
|
};
|
|
5627
|
+
} | {
|
|
5628
|
+
output: {
|
|
5629
|
+
error: string;
|
|
5630
|
+
};
|
|
5631
|
+
outputFormat: "json";
|
|
5632
|
+
status: 404;
|
|
5633
|
+
input: {
|
|
5634
|
+
param: {
|
|
5635
|
+
id: string;
|
|
5636
|
+
};
|
|
5637
|
+
};
|
|
5638
5638
|
};
|
|
5639
5639
|
};
|
|
5640
5640
|
} & {
|
|
@@ -5797,152 +5797,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5797
5797
|
};
|
|
5798
5798
|
} | {
|
|
5799
5799
|
output: {
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
repointed?: boolean | undefined;
|
|
5809
|
-
} | undefined;
|
|
5810
|
-
workflow: string;
|
|
5811
|
-
task: string;
|
|
5812
|
-
queuedMessages?: {
|
|
5800
|
+
error: string;
|
|
5801
|
+
};
|
|
5802
|
+
outputFormat: "json";
|
|
5803
|
+
status: 409;
|
|
5804
|
+
input: {
|
|
5805
|
+
json: {
|
|
5806
|
+
workflow?: string | undefined;
|
|
5807
|
+
steps?: {
|
|
5813
5808
|
id: string;
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5809
|
+
name?: string | undefined;
|
|
5810
|
+
prompt?: string | undefined;
|
|
5811
|
+
skill?: string | undefined;
|
|
5812
|
+
model?: string | undefined;
|
|
5813
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5814
|
+
allowedTools?: string[] | undefined;
|
|
5815
|
+
bashAllowlist?: string[] | undefined;
|
|
5816
|
+
command?: string | undefined;
|
|
5817
|
+
onFail?: {
|
|
5818
|
+
retry: string;
|
|
5819
|
+
max?: number | undefined;
|
|
5820
|
+
} | undefined;
|
|
5817
5821
|
}[] | undefined;
|
|
5818
|
-
|
|
5822
|
+
task: string;
|
|
5819
5823
|
model?: string | undefined;
|
|
5820
5824
|
effort?: string | undefined;
|
|
5821
|
-
modelIdentity?: string | undefined;
|
|
5822
5825
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5823
5826
|
agentProfile?: string | undefined;
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
autonomous?: boolean | undefined;
|
|
5827
|
-
automation?: {
|
|
5828
|
-
automationId: string;
|
|
5829
|
-
automationRevision: number;
|
|
5830
|
-
receiptId: string;
|
|
5831
|
-
event: string;
|
|
5832
|
-
githubUrl: string;
|
|
5833
|
-
} | undefined;
|
|
5834
|
-
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
5835
|
-
activity?: "monitoring" | undefined;
|
|
5836
|
-
monitoringWakeAt?: string | undefined;
|
|
5837
|
-
monitoringWakeCapReached?: boolean | undefined;
|
|
5838
|
-
autoResumeAt?: string | undefined;
|
|
5839
|
-
autoResumeAttempts?: number | undefined;
|
|
5840
|
-
createdAt: string;
|
|
5841
|
-
startedAt?: string | undefined;
|
|
5842
|
-
finishedAt?: string | undefined;
|
|
5843
|
-
tokensUsed: number;
|
|
5844
|
-
inputTokens?: number | undefined;
|
|
5845
|
-
outputTokens?: number | undefined;
|
|
5846
|
-
costUsd?: number | undefined;
|
|
5847
|
-
pullRequestUrl?: string | undefined;
|
|
5848
|
-
referencedPullRequestUrl?: string | undefined;
|
|
5849
|
-
prNumber?: number | undefined;
|
|
5850
|
-
issueNumber?: number | undefined;
|
|
5851
|
-
referencedIssueNumberSeeded?: boolean | undefined;
|
|
5852
|
-
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
5853
|
-
markerRefs?: {
|
|
5854
|
-
pr?: number | undefined;
|
|
5855
|
-
issue?: number | undefined;
|
|
5856
|
-
} | undefined;
|
|
5857
|
-
referencedPrCandidates?: string[] | undefined;
|
|
5858
|
-
referencedIssueUrl?: string | undefined;
|
|
5859
|
-
referencedIssueCandidates?: string[] | undefined;
|
|
5860
|
-
worktree?: false | undefined;
|
|
5861
|
-
worktreePath?: string | undefined;
|
|
5862
|
-
branch?: string | undefined;
|
|
5863
|
-
baseBranch?: string | undefined;
|
|
5864
|
-
worktreeReclaimedAt?: string | undefined;
|
|
5865
|
-
groupId?: string | undefined;
|
|
5866
|
-
variant?: string | undefined;
|
|
5867
|
-
peakRssBytes?: number | undefined;
|
|
5868
|
-
peakProcCount?: number | undefined;
|
|
5869
|
-
archived: boolean;
|
|
5870
|
-
archivedAt?: string | undefined;
|
|
5871
|
-
seenAt?: string | undefined;
|
|
5872
|
-
currentStepId?: string | undefined;
|
|
5873
|
-
error?: string | undefined;
|
|
5874
|
-
steps: {
|
|
5875
|
-
id: string;
|
|
5876
|
-
name: string;
|
|
5877
|
-
kind: "agent" | "check";
|
|
5878
|
-
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
5879
|
-
iterations: number;
|
|
5880
|
-
tokensUsed: number;
|
|
5881
|
-
inputTokens?: number | undefined;
|
|
5882
|
-
outputTokens?: number | undefined;
|
|
5883
|
-
usageInvocationsStarted?: number | undefined;
|
|
5884
|
-
usageInvocationsObserved?: number | undefined;
|
|
5885
|
-
usageTurnsStarted?: number | undefined;
|
|
5886
|
-
usageTurnsRecorded?: number | undefined;
|
|
5887
|
-
usageInvocationEpoch?: number | undefined;
|
|
5888
|
-
startedAt?: string | undefined;
|
|
5889
|
-
finishedAt?: string | undefined;
|
|
5890
|
-
error?: string | undefined;
|
|
5891
|
-
sessionId?: string | undefined;
|
|
5892
|
-
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5893
|
-
profileId?: string | undefined;
|
|
5894
|
-
costUsd?: number | undefined;
|
|
5895
|
-
}[];
|
|
5896
|
-
workflowDef?: {
|
|
5897
|
-
name: string;
|
|
5898
|
-
description?: 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;
|
|
5912
|
-
} | undefined;
|
|
5913
|
-
}[];
|
|
5914
|
-
source: "built-in" | "file";
|
|
5915
|
-
path?: string | undefined;
|
|
5916
|
-
} | undefined;
|
|
5917
|
-
}[];
|
|
5918
|
-
};
|
|
5919
|
-
outputFormat: "json";
|
|
5920
|
-
status: 201;
|
|
5921
|
-
input: {
|
|
5922
|
-
json: {
|
|
5923
|
-
workflow?: string | undefined;
|
|
5924
|
-
steps?: {
|
|
5925
|
-
id: string;
|
|
5926
|
-
name?: string | undefined;
|
|
5927
|
-
prompt?: string | undefined;
|
|
5928
|
-
skill?: string | undefined;
|
|
5929
|
-
model?: string | undefined;
|
|
5930
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5931
|
-
allowedTools?: string[] | undefined;
|
|
5932
|
-
bashAllowlist?: string[] | undefined;
|
|
5933
|
-
command?: string | undefined;
|
|
5934
|
-
onFail?: {
|
|
5935
|
-
retry: string;
|
|
5936
|
-
max?: number | undefined;
|
|
5937
|
-
} | undefined;
|
|
5938
|
-
}[] | undefined;
|
|
5939
|
-
task: string;
|
|
5940
|
-
model?: string | undefined;
|
|
5941
|
-
effort?: string | undefined;
|
|
5942
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5943
|
-
agentProfile?: string | undefined;
|
|
5944
|
-
variants?: number | undefined;
|
|
5945
|
-
worktree?: boolean | undefined;
|
|
5827
|
+
variants?: number | undefined;
|
|
5828
|
+
worktree?: boolean | undefined;
|
|
5946
5829
|
autonomous?: boolean | undefined;
|
|
5947
5830
|
generateFollowups?: boolean | undefined;
|
|
5948
5831
|
systemPrompt?: string | undefined;
|
|
@@ -6037,10 +5920,127 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6037
5920
|
};
|
|
6038
5921
|
} | {
|
|
6039
5922
|
output: {
|
|
6040
|
-
|
|
5923
|
+
runs: {
|
|
5924
|
+
id: string;
|
|
5925
|
+
title: string;
|
|
5926
|
+
titleSummary?: string | undefined;
|
|
5927
|
+
diffStat?: {
|
|
5928
|
+
adds: number;
|
|
5929
|
+
dels: number;
|
|
5930
|
+
files: number;
|
|
5931
|
+
repointed?: boolean | undefined;
|
|
5932
|
+
} | undefined;
|
|
5933
|
+
workflow: string;
|
|
5934
|
+
task: string;
|
|
5935
|
+
queuedMessages?: {
|
|
5936
|
+
id: string;
|
|
5937
|
+
text: string;
|
|
5938
|
+
images?: string[] | undefined;
|
|
5939
|
+
createdAt: string;
|
|
5940
|
+
}[] | undefined;
|
|
5941
|
+
taskImages?: string[] | undefined;
|
|
5942
|
+
model?: string | undefined;
|
|
5943
|
+
effort?: string | undefined;
|
|
5944
|
+
modelIdentity?: string | undefined;
|
|
5945
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5946
|
+
agentProfile?: string | undefined;
|
|
5947
|
+
systemPrompt?: string | undefined;
|
|
5948
|
+
generateFollowups?: boolean | undefined;
|
|
5949
|
+
autonomous?: boolean | undefined;
|
|
5950
|
+
automation?: {
|
|
5951
|
+
automationId: string;
|
|
5952
|
+
automationRevision: number;
|
|
5953
|
+
receiptId: string;
|
|
5954
|
+
event: string;
|
|
5955
|
+
githubUrl: string;
|
|
5956
|
+
} | undefined;
|
|
5957
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
5958
|
+
activity?: "monitoring" | undefined;
|
|
5959
|
+
monitoringWakeAt?: string | undefined;
|
|
5960
|
+
monitoringWakeCapReached?: boolean | undefined;
|
|
5961
|
+
autoResumeAt?: string | undefined;
|
|
5962
|
+
autoResumeAttempts?: number | undefined;
|
|
5963
|
+
createdAt: string;
|
|
5964
|
+
startedAt?: string | undefined;
|
|
5965
|
+
finishedAt?: string | undefined;
|
|
5966
|
+
tokensUsed: number;
|
|
5967
|
+
inputTokens?: number | undefined;
|
|
5968
|
+
outputTokens?: number | undefined;
|
|
5969
|
+
costUsd?: number | undefined;
|
|
5970
|
+
pullRequestUrl?: string | undefined;
|
|
5971
|
+
referencedPullRequestUrl?: string | undefined;
|
|
5972
|
+
prNumber?: number | undefined;
|
|
5973
|
+
issueNumber?: number | undefined;
|
|
5974
|
+
referencedIssueNumberSeeded?: boolean | undefined;
|
|
5975
|
+
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
5976
|
+
markerRefs?: {
|
|
5977
|
+
pr?: number | undefined;
|
|
5978
|
+
issue?: number | undefined;
|
|
5979
|
+
} | undefined;
|
|
5980
|
+
referencedPrCandidates?: string[] | undefined;
|
|
5981
|
+
referencedIssueUrl?: string | undefined;
|
|
5982
|
+
referencedIssueCandidates?: string[] | undefined;
|
|
5983
|
+
worktree?: false | undefined;
|
|
5984
|
+
worktreePath?: string | undefined;
|
|
5985
|
+
branch?: string | undefined;
|
|
5986
|
+
baseBranch?: string | undefined;
|
|
5987
|
+
worktreeReclaimedAt?: string | undefined;
|
|
5988
|
+
groupId?: string | undefined;
|
|
5989
|
+
variant?: string | undefined;
|
|
5990
|
+
peakRssBytes?: number | undefined;
|
|
5991
|
+
peakProcCount?: number | undefined;
|
|
5992
|
+
archived: boolean;
|
|
5993
|
+
archivedAt?: string | undefined;
|
|
5994
|
+
seenAt?: string | undefined;
|
|
5995
|
+
currentStepId?: string | undefined;
|
|
5996
|
+
error?: string | undefined;
|
|
5997
|
+
steps: {
|
|
5998
|
+
id: string;
|
|
5999
|
+
name: string;
|
|
6000
|
+
kind: "agent" | "check";
|
|
6001
|
+
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
6002
|
+
iterations: number;
|
|
6003
|
+
tokensUsed: number;
|
|
6004
|
+
inputTokens?: number | undefined;
|
|
6005
|
+
outputTokens?: number | undefined;
|
|
6006
|
+
usageInvocationsStarted?: number | undefined;
|
|
6007
|
+
usageInvocationsObserved?: number | undefined;
|
|
6008
|
+
usageTurnsStarted?: number | undefined;
|
|
6009
|
+
usageTurnsRecorded?: number | undefined;
|
|
6010
|
+
usageInvocationEpoch?: number | undefined;
|
|
6011
|
+
startedAt?: string | undefined;
|
|
6012
|
+
finishedAt?: string | undefined;
|
|
6013
|
+
error?: string | undefined;
|
|
6014
|
+
sessionId?: string | undefined;
|
|
6015
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6016
|
+
profileId?: string | undefined;
|
|
6017
|
+
costUsd?: number | undefined;
|
|
6018
|
+
}[];
|
|
6019
|
+
workflowDef?: {
|
|
6020
|
+
name: string;
|
|
6021
|
+
description?: string | undefined;
|
|
6022
|
+
steps: {
|
|
6023
|
+
id: string;
|
|
6024
|
+
name?: string | undefined;
|
|
6025
|
+
prompt?: string | undefined;
|
|
6026
|
+
skill?: string | undefined;
|
|
6027
|
+
model?: string | undefined;
|
|
6028
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6029
|
+
allowedTools?: string[] | undefined;
|
|
6030
|
+
bashAllowlist?: string[] | undefined;
|
|
6031
|
+
command?: string | undefined;
|
|
6032
|
+
onFail?: {
|
|
6033
|
+
retry: string;
|
|
6034
|
+
max: number;
|
|
6035
|
+
} | undefined;
|
|
6036
|
+
}[];
|
|
6037
|
+
source: "built-in" | "file";
|
|
6038
|
+
path?: string | undefined;
|
|
6039
|
+
} | undefined;
|
|
6040
|
+
}[];
|
|
6041
6041
|
};
|
|
6042
6042
|
outputFormat: "json";
|
|
6043
|
-
status:
|
|
6043
|
+
status: 201;
|
|
6044
6044
|
input: {
|
|
6045
6045
|
json: {
|
|
6046
6046
|
workflow?: string | undefined;
|
|
@@ -6081,17 +6081,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6081
6081
|
} & {
|
|
6082
6082
|
"/runs/:id": {
|
|
6083
6083
|
$get: {
|
|
6084
|
-
output: {
|
|
6085
|
-
error: string;
|
|
6086
|
-
};
|
|
6087
|
-
outputFormat: "json";
|
|
6088
|
-
status: 404;
|
|
6089
|
-
input: {
|
|
6090
|
-
param: {
|
|
6091
|
-
id: string;
|
|
6092
|
-
};
|
|
6093
|
-
};
|
|
6094
|
-
} | {
|
|
6095
6084
|
output: {
|
|
6096
6085
|
id: string;
|
|
6097
6086
|
title: string;
|
|
@@ -6218,6 +6207,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6218
6207
|
id: string;
|
|
6219
6208
|
};
|
|
6220
6209
|
};
|
|
6210
|
+
} | {
|
|
6211
|
+
output: {
|
|
6212
|
+
error: string;
|
|
6213
|
+
};
|
|
6214
|
+
outputFormat: "json";
|
|
6215
|
+
status: 404;
|
|
6216
|
+
input: {
|
|
6217
|
+
param: {
|
|
6218
|
+
id: string;
|
|
6219
|
+
};
|
|
6220
|
+
};
|
|
6221
6221
|
};
|
|
6222
6222
|
};
|
|
6223
6223
|
} & {
|
|
@@ -6343,54 +6343,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6343
6343
|
} & {
|
|
6344
6344
|
"/runs/:id": {
|
|
6345
6345
|
$patch: {
|
|
6346
|
-
output: {
|
|
6347
|
-
error: string;
|
|
6348
|
-
};
|
|
6349
|
-
outputFormat: "json";
|
|
6350
|
-
status: 400;
|
|
6351
|
-
input: {
|
|
6352
|
-
json: {
|
|
6353
|
-
title?: string | undefined;
|
|
6354
|
-
task?: string | undefined;
|
|
6355
|
-
};
|
|
6356
|
-
} & {
|
|
6357
|
-
param: {
|
|
6358
|
-
id: string;
|
|
6359
|
-
};
|
|
6360
|
-
};
|
|
6361
|
-
} | {
|
|
6362
|
-
output: {
|
|
6363
|
-
error: string;
|
|
6364
|
-
};
|
|
6365
|
-
outputFormat: "json";
|
|
6366
|
-
status: 404;
|
|
6367
|
-
input: {
|
|
6368
|
-
json: {
|
|
6369
|
-
title?: string | undefined;
|
|
6370
|
-
task?: string | undefined;
|
|
6371
|
-
};
|
|
6372
|
-
} & {
|
|
6373
|
-
param: {
|
|
6374
|
-
id: string;
|
|
6375
|
-
};
|
|
6376
|
-
};
|
|
6377
|
-
} | {
|
|
6378
|
-
output: {
|
|
6379
|
-
error: string;
|
|
6380
|
-
};
|
|
6381
|
-
outputFormat: "json";
|
|
6382
|
-
status: 409;
|
|
6383
|
-
input: {
|
|
6384
|
-
json: {
|
|
6385
|
-
title?: string | undefined;
|
|
6386
|
-
task?: string | undefined;
|
|
6387
|
-
};
|
|
6388
|
-
} & {
|
|
6389
|
-
param: {
|
|
6390
|
-
id: string;
|
|
6391
|
-
};
|
|
6392
|
-
};
|
|
6393
|
-
} | {
|
|
6394
6346
|
output: {
|
|
6395
6347
|
id: string;
|
|
6396
6348
|
title: string;
|
|
@@ -6521,6 +6473,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6521
6473
|
id: string;
|
|
6522
6474
|
};
|
|
6523
6475
|
};
|
|
6476
|
+
} | {
|
|
6477
|
+
output: {
|
|
6478
|
+
error: string;
|
|
6479
|
+
};
|
|
6480
|
+
outputFormat: "json";
|
|
6481
|
+
status: 404;
|
|
6482
|
+
input: {
|
|
6483
|
+
json: {
|
|
6484
|
+
title?: string | undefined;
|
|
6485
|
+
task?: string | undefined;
|
|
6486
|
+
};
|
|
6487
|
+
} & {
|
|
6488
|
+
param: {
|
|
6489
|
+
id: string;
|
|
6490
|
+
};
|
|
6491
|
+
};
|
|
6492
|
+
} | {
|
|
6493
|
+
output: {
|
|
6494
|
+
error: string;
|
|
6495
|
+
};
|
|
6496
|
+
outputFormat: "json";
|
|
6497
|
+
status: 400;
|
|
6498
|
+
input: {
|
|
6499
|
+
json: {
|
|
6500
|
+
title?: string | undefined;
|
|
6501
|
+
task?: string | undefined;
|
|
6502
|
+
};
|
|
6503
|
+
} & {
|
|
6504
|
+
param: {
|
|
6505
|
+
id: string;
|
|
6506
|
+
};
|
|
6507
|
+
};
|
|
6508
|
+
} | {
|
|
6509
|
+
output: {
|
|
6510
|
+
error: string;
|
|
6511
|
+
};
|
|
6512
|
+
outputFormat: "json";
|
|
6513
|
+
status: 409;
|
|
6514
|
+
input: {
|
|
6515
|
+
json: {
|
|
6516
|
+
title?: string | undefined;
|
|
6517
|
+
task?: string | undefined;
|
|
6518
|
+
};
|
|
6519
|
+
} & {
|
|
6520
|
+
param: {
|
|
6521
|
+
id: string;
|
|
6522
|
+
};
|
|
6523
|
+
};
|
|
6524
6524
|
};
|
|
6525
6525
|
};
|
|
6526
6526
|
} & {
|
|
@@ -6556,7 +6556,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6556
6556
|
error: string;
|
|
6557
6557
|
};
|
|
6558
6558
|
outputFormat: "json";
|
|
6559
|
-
status:
|
|
6559
|
+
status: 404;
|
|
6560
6560
|
input: {
|
|
6561
6561
|
json: {
|
|
6562
6562
|
text?: string | undefined;
|
|
@@ -6575,7 +6575,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6575
6575
|
error: string;
|
|
6576
6576
|
};
|
|
6577
6577
|
outputFormat: "json";
|
|
6578
|
-
status:
|
|
6578
|
+
status: 409;
|
|
6579
6579
|
input: {
|
|
6580
6580
|
json: {
|
|
6581
6581
|
text?: string | undefined;
|
|
@@ -6591,10 +6591,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6591
6591
|
};
|
|
6592
6592
|
} | {
|
|
6593
6593
|
output: {
|
|
6594
|
-
|
|
6594
|
+
delivered: true;
|
|
6595
6595
|
};
|
|
6596
6596
|
outputFormat: "json";
|
|
6597
|
-
status:
|
|
6597
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6598
6598
|
input: {
|
|
6599
6599
|
json: {
|
|
6600
6600
|
text?: string | undefined;
|
|
@@ -6610,10 +6610,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6610
6610
|
};
|
|
6611
6611
|
} | {
|
|
6612
6612
|
output: {
|
|
6613
|
-
|
|
6613
|
+
error: string;
|
|
6614
6614
|
};
|
|
6615
6615
|
outputFormat: "json";
|
|
6616
|
-
status:
|
|
6616
|
+
status: 400;
|
|
6617
6617
|
input: {
|
|
6618
6618
|
json: {
|
|
6619
6619
|
text?: string | undefined;
|
|
@@ -6680,7 +6680,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6680
6680
|
error: string;
|
|
6681
6681
|
};
|
|
6682
6682
|
outputFormat: "json";
|
|
6683
|
-
status:
|
|
6683
|
+
status: 404;
|
|
6684
6684
|
input: {
|
|
6685
6685
|
json: {
|
|
6686
6686
|
text?: string | undefined;
|
|
@@ -6701,7 +6701,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6701
6701
|
error: string;
|
|
6702
6702
|
};
|
|
6703
6703
|
outputFormat: "json";
|
|
6704
|
-
status:
|
|
6704
|
+
status: 400;
|
|
6705
6705
|
input: {
|
|
6706
6706
|
json: {
|
|
6707
6707
|
text?: string | undefined;
|
|
@@ -6853,7 +6853,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6853
6853
|
error: string;
|
|
6854
6854
|
};
|
|
6855
6855
|
outputFormat: "json";
|
|
6856
|
-
status:
|
|
6856
|
+
status: 404;
|
|
6857
6857
|
input: {
|
|
6858
6858
|
json: {
|
|
6859
6859
|
text?: string | undefined;
|
|
@@ -6876,7 +6876,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6876
6876
|
error: string;
|
|
6877
6877
|
};
|
|
6878
6878
|
outputFormat: "json";
|
|
6879
|
-
status:
|
|
6879
|
+
status: 400;
|
|
6880
6880
|
input: {
|
|
6881
6881
|
json: {
|
|
6882
6882
|
text?: string | undefined;
|
|
@@ -6987,7 +6987,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6987
6987
|
error: string;
|
|
6988
6988
|
};
|
|
6989
6989
|
outputFormat: "json";
|
|
6990
|
-
status:
|
|
6990
|
+
status: 404;
|
|
6991
6991
|
input: {
|
|
6992
6992
|
json: {
|
|
6993
6993
|
target: string;
|
|
@@ -7003,7 +7003,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7003
7003
|
error: string;
|
|
7004
7004
|
};
|
|
7005
7005
|
outputFormat: "json";
|
|
7006
|
-
status:
|
|
7006
|
+
status: 409;
|
|
7007
7007
|
input: {
|
|
7008
7008
|
json: {
|
|
7009
7009
|
target: string;
|
|
@@ -7019,7 +7019,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7019
7019
|
error: string;
|
|
7020
7020
|
};
|
|
7021
7021
|
outputFormat: "json";
|
|
7022
|
-
status:
|
|
7022
|
+
status: 400;
|
|
7023
7023
|
input: {
|
|
7024
7024
|
json: {
|
|
7025
7025
|
target: string;
|
|
@@ -7052,20 +7052,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7052
7052
|
} & {
|
|
7053
7053
|
"/runs/:id/handoff": {
|
|
7054
7054
|
$get: {
|
|
7055
|
-
output:
|
|
7056
|
-
|
|
7057
|
-
|
|
7055
|
+
output: {
|
|
7056
|
+
error: string;
|
|
7057
|
+
};
|
|
7058
|
+
outputFormat: "json";
|
|
7059
|
+
status: 404;
|
|
7058
7060
|
input: {
|
|
7059
7061
|
param: {
|
|
7060
7062
|
id: string;
|
|
7061
7063
|
};
|
|
7062
7064
|
};
|
|
7063
7065
|
} | {
|
|
7064
|
-
output:
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
outputFormat: "json";
|
|
7068
|
-
status: 404;
|
|
7066
|
+
output: string;
|
|
7067
|
+
outputFormat: "text";
|
|
7068
|
+
status: 200;
|
|
7069
7069
|
input: {
|
|
7070
7070
|
param: {
|
|
7071
7071
|
id: string;
|
|
@@ -7473,11 +7473,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7473
7473
|
"/runs/:id/pr": {
|
|
7474
7474
|
$post: {
|
|
7475
7475
|
output: {
|
|
7476
|
-
|
|
7477
|
-
dryRun: boolean;
|
|
7476
|
+
error: string;
|
|
7478
7477
|
};
|
|
7479
7478
|
outputFormat: "json";
|
|
7480
|
-
status:
|
|
7479
|
+
status: 404;
|
|
7481
7480
|
input: {
|
|
7482
7481
|
param: {
|
|
7483
7482
|
id: string;
|
|
@@ -7488,7 +7487,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7488
7487
|
error: string;
|
|
7489
7488
|
};
|
|
7490
7489
|
outputFormat: "json";
|
|
7491
|
-
status:
|
|
7490
|
+
status: 409;
|
|
7492
7491
|
input: {
|
|
7493
7492
|
param: {
|
|
7494
7493
|
id: string;
|
|
@@ -7499,7 +7498,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7499
7498
|
error: string;
|
|
7500
7499
|
};
|
|
7501
7500
|
outputFormat: "json";
|
|
7502
|
-
status:
|
|
7501
|
+
status: 400;
|
|
7503
7502
|
input: {
|
|
7504
7503
|
param: {
|
|
7505
7504
|
id: string;
|
|
@@ -7507,10 +7506,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7507
7506
|
};
|
|
7508
7507
|
} | {
|
|
7509
7508
|
output: {
|
|
7510
|
-
|
|
7509
|
+
url: string;
|
|
7510
|
+
dryRun: boolean;
|
|
7511
7511
|
};
|
|
7512
7512
|
outputFormat: "json";
|
|
7513
|
-
status:
|
|
7513
|
+
status: 201;
|
|
7514
7514
|
input: {
|
|
7515
7515
|
param: {
|
|
7516
7516
|
id: string;
|
|
@@ -7562,7 +7562,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7562
7562
|
error: string;
|
|
7563
7563
|
};
|
|
7564
7564
|
outputFormat: "json";
|
|
7565
|
-
status:
|
|
7565
|
+
status: 409;
|
|
7566
7566
|
input: {
|
|
7567
7567
|
param: {
|
|
7568
7568
|
id: string;
|
|
@@ -7573,7 +7573,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7573
7573
|
error: string;
|
|
7574
7574
|
};
|
|
7575
7575
|
outputFormat: "json";
|
|
7576
|
-
status:
|
|
7576
|
+
status: 404;
|
|
7577
7577
|
input: {
|
|
7578
7578
|
param: {
|
|
7579
7579
|
id: string;
|
|
@@ -8018,7 +8018,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8018
8018
|
error: string;
|
|
8019
8019
|
};
|
|
8020
8020
|
outputFormat: "json";
|
|
8021
|
-
status:
|
|
8021
|
+
status: 409;
|
|
8022
8022
|
input: {
|
|
8023
8023
|
json: {
|
|
8024
8024
|
target: string;
|
|
@@ -8029,7 +8029,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8029
8029
|
error: string;
|
|
8030
8030
|
};
|
|
8031
8031
|
outputFormat: "json";
|
|
8032
|
-
status:
|
|
8032
|
+
status: 400;
|
|
8033
8033
|
input: {
|
|
8034
8034
|
json: {
|
|
8035
8035
|
target: string;
|
|
@@ -8088,11 +8088,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8088
8088
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
8089
8089
|
"/runs/:id/events": {
|
|
8090
8090
|
$get: {
|
|
8091
|
-
output: {
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
outputFormat: "json";
|
|
8095
|
-
status: 400;
|
|
8091
|
+
output: {};
|
|
8092
|
+
outputFormat: string;
|
|
8093
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
8096
8094
|
input: {
|
|
8097
8095
|
param: {
|
|
8098
8096
|
id: string;
|
|
@@ -8104,9 +8102,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8104
8102
|
};
|
|
8105
8103
|
};
|
|
8106
8104
|
} | {
|
|
8107
|
-
output: {
|
|
8108
|
-
|
|
8109
|
-
|
|
8105
|
+
output: {
|
|
8106
|
+
error: string;
|
|
8107
|
+
};
|
|
8108
|
+
outputFormat: "json";
|
|
8109
|
+
status: 400;
|
|
8110
8110
|
input: {
|
|
8111
8111
|
param: {
|
|
8112
8112
|
id: string;
|
|
@@ -8157,10 +8157,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8157
8157
|
"/config": {
|
|
8158
8158
|
$put: {
|
|
8159
8159
|
output: {
|
|
8160
|
-
|
|
8160
|
+
baseBranch: string | null;
|
|
8161
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
8162
|
+
systemPrompt: string | null;
|
|
8163
|
+
defaultModels: {
|
|
8164
|
+
claude?: string | undefined;
|
|
8165
|
+
codex?: string | undefined;
|
|
8166
|
+
opencode?: string | undefined;
|
|
8167
|
+
pi?: string | undefined;
|
|
8168
|
+
};
|
|
8169
|
+
modelsLocked: boolean;
|
|
8170
|
+
maxParallel: number;
|
|
8171
|
+
memoryLimitMb: number | null;
|
|
8172
|
+
worktreeRetention: number;
|
|
8173
|
+
liveTitleUpdates: boolean | null;
|
|
8174
|
+
reviewGate: boolean | null;
|
|
8161
8175
|
};
|
|
8162
8176
|
outputFormat: "json";
|
|
8163
|
-
status:
|
|
8177
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8164
8178
|
input: {
|
|
8165
8179
|
json: {
|
|
8166
8180
|
baseBranch?: string | null | undefined;
|
|
@@ -8184,7 +8198,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8184
8198
|
error: string;
|
|
8185
8199
|
};
|
|
8186
8200
|
outputFormat: "json";
|
|
8187
|
-
status:
|
|
8201
|
+
status: 409;
|
|
8188
8202
|
input: {
|
|
8189
8203
|
json: {
|
|
8190
8204
|
baseBranch?: string | null | undefined;
|
|
@@ -8205,24 +8219,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8205
8219
|
};
|
|
8206
8220
|
} | {
|
|
8207
8221
|
output: {
|
|
8208
|
-
|
|
8209
|
-
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
8210
|
-
systemPrompt: string | null;
|
|
8211
|
-
defaultModels: {
|
|
8212
|
-
claude?: string | undefined;
|
|
8213
|
-
codex?: string | undefined;
|
|
8214
|
-
opencode?: string | undefined;
|
|
8215
|
-
pi?: string | undefined;
|
|
8216
|
-
};
|
|
8217
|
-
modelsLocked: boolean;
|
|
8218
|
-
maxParallel: number;
|
|
8219
|
-
memoryLimitMb: number | null;
|
|
8220
|
-
worktreeRetention: number;
|
|
8221
|
-
liveTitleUpdates: boolean | null;
|
|
8222
|
-
reviewGate: boolean | null;
|
|
8222
|
+
error: string;
|
|
8223
8223
|
};
|
|
8224
8224
|
outputFormat: "json";
|
|
8225
|
-
status:
|
|
8225
|
+
status: 500;
|
|
8226
8226
|
input: {
|
|
8227
8227
|
json: {
|
|
8228
8228
|
baseBranch?: string | null | undefined;
|
|
@@ -8246,17 +8246,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8246
8246
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
8247
8247
|
"/skills": {
|
|
8248
8248
|
$get: {
|
|
8249
|
-
output: {
|
|
8250
|
-
error: string;
|
|
8251
|
-
};
|
|
8252
|
-
outputFormat: "json";
|
|
8253
|
-
status: 400;
|
|
8254
|
-
input: {
|
|
8255
|
-
query: {
|
|
8256
|
-
wait?: string | undefined;
|
|
8257
|
-
};
|
|
8258
|
-
};
|
|
8259
|
-
} | {
|
|
8260
8249
|
output: {
|
|
8261
8250
|
name: string;
|
|
8262
8251
|
description?: string;
|
|
@@ -8279,11 +8268,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8279
8268
|
wait?: string | undefined;
|
|
8280
8269
|
};
|
|
8281
8270
|
};
|
|
8282
|
-
}
|
|
8283
|
-
};
|
|
8284
|
-
} & {
|
|
8285
|
-
"/skills/importable": {
|
|
8286
|
-
$get: {
|
|
8271
|
+
} | {
|
|
8287
8272
|
output: {
|
|
8288
8273
|
error: string;
|
|
8289
8274
|
};
|
|
@@ -8294,13 +8279,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8294
8279
|
wait?: string | undefined;
|
|
8295
8280
|
};
|
|
8296
8281
|
};
|
|
8297
|
-
}
|
|
8282
|
+
};
|
|
8283
|
+
};
|
|
8284
|
+
} & {
|
|
8285
|
+
"/skills/importable": {
|
|
8286
|
+
$get: {
|
|
8298
8287
|
output: {
|
|
8299
8288
|
name: string;
|
|
8300
8289
|
description?: string | undefined;
|
|
8301
8290
|
}[];
|
|
8302
8291
|
outputFormat: "json";
|
|
8303
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8292
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8293
|
+
input: {
|
|
8294
|
+
query: {
|
|
8295
|
+
wait?: string | undefined;
|
|
8296
|
+
};
|
|
8297
|
+
};
|
|
8298
|
+
} | {
|
|
8299
|
+
output: {
|
|
8300
|
+
error: string;
|
|
8301
|
+
};
|
|
8302
|
+
outputFormat: "json";
|
|
8303
|
+
status: 400;
|
|
8304
8304
|
input: {
|
|
8305
8305
|
query: {
|
|
8306
8306
|
wait?: string | undefined;
|
|
@@ -8359,7 +8359,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8359
8359
|
error: string;
|
|
8360
8360
|
};
|
|
8361
8361
|
outputFormat: "json";
|
|
8362
|
-
status:
|
|
8362
|
+
status: 409;
|
|
8363
8363
|
input: {
|
|
8364
8364
|
param: {
|
|
8365
8365
|
id: string;
|
|
@@ -8367,10 +8367,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8367
8367
|
};
|
|
8368
8368
|
} | {
|
|
8369
8369
|
output: {
|
|
8370
|
-
|
|
8370
|
+
removed: true;
|
|
8371
8371
|
};
|
|
8372
8372
|
outputFormat: "json";
|
|
8373
|
-
status:
|
|
8373
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8374
8374
|
input: {
|
|
8375
8375
|
param: {
|
|
8376
8376
|
id: string;
|
|
@@ -8378,10 +8378,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8378
8378
|
};
|
|
8379
8379
|
} | {
|
|
8380
8380
|
output: {
|
|
8381
|
-
|
|
8381
|
+
error: string;
|
|
8382
8382
|
};
|
|
8383
8383
|
outputFormat: "json";
|
|
8384
|
-
status:
|
|
8384
|
+
status: 404;
|
|
8385
8385
|
input: {
|
|
8386
8386
|
param: {
|
|
8387
8387
|
id: string;
|
|
@@ -8392,6 +8392,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8392
8392
|
} & {
|
|
8393
8393
|
"/todos/:id/start": {
|
|
8394
8394
|
$post: {
|
|
8395
|
+
output: {
|
|
8396
|
+
error: string;
|
|
8397
|
+
};
|
|
8398
|
+
outputFormat: "json";
|
|
8399
|
+
status: 409;
|
|
8400
|
+
input: {
|
|
8401
|
+
json: {
|
|
8402
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8403
|
+
model?: string | undefined;
|
|
8404
|
+
effort?: string | undefined;
|
|
8405
|
+
prompt?: string | undefined;
|
|
8406
|
+
} | undefined;
|
|
8407
|
+
} & {
|
|
8408
|
+
param: {
|
|
8409
|
+
id: string;
|
|
8410
|
+
};
|
|
8411
|
+
};
|
|
8412
|
+
} | {
|
|
8395
8413
|
output: {
|
|
8396
8414
|
run: {
|
|
8397
8415
|
id: string;
|
|
@@ -8526,24 +8544,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8526
8544
|
id: string;
|
|
8527
8545
|
};
|
|
8528
8546
|
};
|
|
8529
|
-
} | {
|
|
8530
|
-
output: {
|
|
8531
|
-
error: string;
|
|
8532
|
-
};
|
|
8533
|
-
outputFormat: "json";
|
|
8534
|
-
status: 404;
|
|
8535
|
-
input: {
|
|
8536
|
-
json: {
|
|
8537
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8538
|
-
model?: string | undefined;
|
|
8539
|
-
effort?: string | undefined;
|
|
8540
|
-
prompt?: string | undefined;
|
|
8541
|
-
} | undefined;
|
|
8542
|
-
} & {
|
|
8543
|
-
param: {
|
|
8544
|
-
id: string;
|
|
8545
|
-
};
|
|
8546
|
-
};
|
|
8547
8547
|
} | {
|
|
8548
8548
|
output: {
|
|
8549
8549
|
error: string;
|
|
@@ -8567,7 +8567,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8567
8567
|
error: string;
|
|
8568
8568
|
};
|
|
8569
8569
|
outputFormat: "json";
|
|
8570
|
-
status:
|
|
8570
|
+
status: 404;
|
|
8571
8571
|
input: {
|
|
8572
8572
|
json: {
|
|
8573
8573
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -8670,10 +8670,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8670
8670
|
"/agent-config/:id": {
|
|
8671
8671
|
$put: {
|
|
8672
8672
|
output: {
|
|
8673
|
-
|
|
8673
|
+
id: string;
|
|
8674
|
+
path: string;
|
|
8675
|
+
exists: boolean;
|
|
8676
|
+
content: string;
|
|
8677
|
+
version: string | null;
|
|
8674
8678
|
};
|
|
8675
8679
|
outputFormat: "json";
|
|
8676
|
-
status:
|
|
8680
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8677
8681
|
input: {
|
|
8678
8682
|
json: {
|
|
8679
8683
|
content: string;
|
|
@@ -8686,14 +8690,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8686
8690
|
};
|
|
8687
8691
|
} | {
|
|
8688
8692
|
output: {
|
|
8689
|
-
|
|
8690
|
-
path: string;
|
|
8691
|
-
exists: boolean;
|
|
8692
|
-
content: string;
|
|
8693
|
-
version: string | null;
|
|
8693
|
+
error: string;
|
|
8694
8694
|
};
|
|
8695
8695
|
outputFormat: "json";
|
|
8696
|
-
status:
|
|
8696
|
+
status: 404;
|
|
8697
8697
|
input: {
|
|
8698
8698
|
json: {
|
|
8699
8699
|
content: string;
|
|
@@ -8761,11 +8761,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8761
8761
|
"/workflows": {
|
|
8762
8762
|
$post: {
|
|
8763
8763
|
output: {
|
|
8764
|
-
|
|
8765
|
-
name: string;
|
|
8764
|
+
error: string;
|
|
8766
8765
|
};
|
|
8767
8766
|
outputFormat: "json";
|
|
8768
|
-
status:
|
|
8767
|
+
status: 400;
|
|
8769
8768
|
input: {
|
|
8770
8769
|
json: {
|
|
8771
8770
|
name: string;
|
|
@@ -8792,9 +8791,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8792
8791
|
} | {
|
|
8793
8792
|
output: {
|
|
8794
8793
|
error: string;
|
|
8794
|
+
exists: true;
|
|
8795
8795
|
};
|
|
8796
8796
|
outputFormat: "json";
|
|
8797
|
-
status:
|
|
8797
|
+
status: 409;
|
|
8798
8798
|
input: {
|
|
8799
8799
|
json: {
|
|
8800
8800
|
name: string;
|
|
@@ -8821,10 +8821,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8821
8821
|
} | {
|
|
8822
8822
|
output: {
|
|
8823
8823
|
error: string;
|
|
8824
|
-
exists: true;
|
|
8825
8824
|
};
|
|
8826
8825
|
outputFormat: "json";
|
|
8827
|
-
status:
|
|
8826
|
+
status: 500;
|
|
8828
8827
|
input: {
|
|
8829
8828
|
json: {
|
|
8830
8829
|
name: string;
|
|
@@ -8850,10 +8849,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8850
8849
|
};
|
|
8851
8850
|
} | {
|
|
8852
8851
|
output: {
|
|
8853
|
-
|
|
8852
|
+
path: string;
|
|
8853
|
+
name: string;
|
|
8854
8854
|
};
|
|
8855
8855
|
outputFormat: "json";
|
|
8856
|
-
status:
|
|
8856
|
+
status: 201;
|
|
8857
8857
|
input: {
|
|
8858
8858
|
json: {
|
|
8859
8859
|
name: string;
|
|
@@ -8886,7 +8886,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8886
8886
|
error: string;
|
|
8887
8887
|
};
|
|
8888
8888
|
outputFormat: "json";
|
|
8889
|
-
status:
|
|
8889
|
+
status: 404;
|
|
8890
8890
|
input: {
|
|
8891
8891
|
param: {
|
|
8892
8892
|
name: string;
|
|
@@ -8897,7 +8897,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8897
8897
|
error: string;
|
|
8898
8898
|
};
|
|
8899
8899
|
outputFormat: "json";
|
|
8900
|
-
status:
|
|
8900
|
+
status: 400;
|
|
8901
8901
|
input: {
|
|
8902
8902
|
param: {
|
|
8903
8903
|
name: string;
|
|
@@ -9034,21 +9034,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9034
9034
|
sha: string;
|
|
9035
9035
|
};
|
|
9036
9036
|
};
|
|
9037
|
-
} | {
|
|
9038
|
-
output: {
|
|
9039
|
-
error: string;
|
|
9040
|
-
};
|
|
9041
|
-
outputFormat: "json";
|
|
9042
|
-
status: 409;
|
|
9043
|
-
input: {
|
|
9044
|
-
query: {
|
|
9045
|
-
structured?: string | undefined;
|
|
9046
|
-
};
|
|
9047
|
-
} & {
|
|
9048
|
-
param: {
|
|
9049
|
-
sha: string;
|
|
9050
|
-
};
|
|
9051
|
-
};
|
|
9052
9037
|
} | {
|
|
9053
9038
|
output: {
|
|
9054
9039
|
sha: string;
|
|
@@ -9082,6 +9067,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9082
9067
|
sha: string;
|
|
9083
9068
|
};
|
|
9084
9069
|
};
|
|
9070
|
+
} | {
|
|
9071
|
+
output: {
|
|
9072
|
+
error: string;
|
|
9073
|
+
};
|
|
9074
|
+
outputFormat: "json";
|
|
9075
|
+
status: 409;
|
|
9076
|
+
input: {
|
|
9077
|
+
query: {
|
|
9078
|
+
structured?: string | undefined;
|
|
9079
|
+
};
|
|
9080
|
+
} & {
|
|
9081
|
+
param: {
|
|
9082
|
+
sha: string;
|
|
9083
|
+
};
|
|
9084
|
+
};
|
|
9085
9085
|
} | {
|
|
9086
9086
|
output: string;
|
|
9087
9087
|
outputFormat: "text";
|
|
@@ -9100,13 +9100,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9100
9100
|
} & {
|
|
9101
9101
|
"/repo/changes": {
|
|
9102
9102
|
$get: {
|
|
9103
|
-
output: {
|
|
9104
|
-
error: string;
|
|
9105
|
-
};
|
|
9106
|
-
outputFormat: "json";
|
|
9107
|
-
status: 409;
|
|
9108
|
-
input: {};
|
|
9109
|
-
} | {
|
|
9110
9103
|
output: {
|
|
9111
9104
|
files: {
|
|
9112
9105
|
path: string;
|
|
@@ -9131,6 +9124,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9131
9124
|
outputFormat: "json";
|
|
9132
9125
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
9133
9126
|
input: {};
|
|
9127
|
+
} | {
|
|
9128
|
+
output: {
|
|
9129
|
+
error: string;
|
|
9130
|
+
};
|
|
9131
|
+
outputFormat: "json";
|
|
9132
|
+
status: 409;
|
|
9133
|
+
input: {};
|
|
9134
9134
|
};
|
|
9135
9135
|
};
|
|
9136
9136
|
} & {
|
|
@@ -9768,28 +9768,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9768
9768
|
"/automations": {
|
|
9769
9769
|
$post: {
|
|
9770
9770
|
output: {
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9771
|
+
error: string;
|
|
9772
|
+
};
|
|
9773
|
+
outputFormat: "json";
|
|
9774
|
+
status: 400;
|
|
9775
|
+
input: {
|
|
9776
|
+
json: {
|
|
9775
9777
|
name: string;
|
|
9776
9778
|
description?: string | undefined;
|
|
9777
|
-
enabled
|
|
9779
|
+
enabled?: boolean | undefined;
|
|
9778
9780
|
events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
|
|
9779
9781
|
intervalSeconds: number;
|
|
9780
9782
|
filters: {
|
|
9781
|
-
[x: string]:
|
|
9783
|
+
[x: string]: unknown;
|
|
9782
9784
|
authors?: string[] | undefined;
|
|
9783
9785
|
assignees?: string[] | undefined;
|
|
9784
9786
|
allLabels?: string[] | undefined;
|
|
9785
9787
|
anyLabels?: string[] | undefined;
|
|
9786
9788
|
excludeLabels?: string[] | undefined;
|
|
9787
9789
|
changedLabels?: string[] | undefined;
|
|
9788
|
-
lookbackDays
|
|
9789
|
-
maxRecords
|
|
9790
|
+
lookbackDays?: number | undefined;
|
|
9791
|
+
maxRecords?: number | undefined;
|
|
9790
9792
|
};
|
|
9791
9793
|
task: {
|
|
9792
|
-
[x: string]:
|
|
9794
|
+
[x: string]: unknown;
|
|
9793
9795
|
prompt: string;
|
|
9794
9796
|
workflow?: string | undefined;
|
|
9795
9797
|
steps?: {
|
|
@@ -9804,7 +9806,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9804
9806
|
command?: string | undefined;
|
|
9805
9807
|
onFail?: {
|
|
9806
9808
|
retry: string;
|
|
9807
|
-
max
|
|
9809
|
+
max?: number | undefined;
|
|
9808
9810
|
} | undefined;
|
|
9809
9811
|
}[] | undefined;
|
|
9810
9812
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -9816,32 +9818,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9816
9818
|
autonomous?: boolean | undefined;
|
|
9817
9819
|
systemPrompt?: string | undefined;
|
|
9818
9820
|
};
|
|
9819
|
-
|
|
9820
|
-
updatedAt: string;
|
|
9821
|
+
enable?: boolean | undefined;
|
|
9821
9822
|
};
|
|
9822
9823
|
};
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9824
|
+
} | {
|
|
9825
|
+
output: {
|
|
9826
|
+
automation: {
|
|
9827
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
9828
|
+
id: string;
|
|
9829
|
+
revision: number;
|
|
9827
9830
|
name: string;
|
|
9828
9831
|
description?: string | undefined;
|
|
9829
|
-
enabled
|
|
9832
|
+
enabled: boolean;
|
|
9830
9833
|
events: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[];
|
|
9831
9834
|
intervalSeconds: number;
|
|
9832
9835
|
filters: {
|
|
9833
|
-
[x: string]:
|
|
9836
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
9834
9837
|
authors?: string[] | undefined;
|
|
9835
9838
|
assignees?: string[] | undefined;
|
|
9836
9839
|
allLabels?: string[] | undefined;
|
|
9837
9840
|
anyLabels?: string[] | undefined;
|
|
9838
9841
|
excludeLabels?: string[] | undefined;
|
|
9839
9842
|
changedLabels?: string[] | undefined;
|
|
9840
|
-
lookbackDays
|
|
9841
|
-
maxRecords
|
|
9843
|
+
lookbackDays: number;
|
|
9844
|
+
maxRecords: number;
|
|
9842
9845
|
};
|
|
9843
9846
|
task: {
|
|
9844
|
-
[x: string]:
|
|
9847
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
9845
9848
|
prompt: string;
|
|
9846
9849
|
workflow?: string | undefined;
|
|
9847
9850
|
steps?: {
|
|
@@ -9856,7 +9859,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9856
9859
|
command?: string | undefined;
|
|
9857
9860
|
onFail?: {
|
|
9858
9861
|
retry: string;
|
|
9859
|
-
max
|
|
9862
|
+
max: number;
|
|
9860
9863
|
} | undefined;
|
|
9861
9864
|
}[] | undefined;
|
|
9862
9865
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
@@ -9868,15 +9871,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9868
9871
|
autonomous?: boolean | undefined;
|
|
9869
9872
|
systemPrompt?: string | undefined;
|
|
9870
9873
|
};
|
|
9871
|
-
|
|
9874
|
+
createdAt: string;
|
|
9875
|
+
updatedAt: string;
|
|
9872
9876
|
};
|
|
9873
9877
|
};
|
|
9874
|
-
} | {
|
|
9875
|
-
output: {
|
|
9876
|
-
error: string;
|
|
9877
|
-
};
|
|
9878
9878
|
outputFormat: "json";
|
|
9879
|
-
status:
|
|
9879
|
+
status: 201;
|
|
9880
9880
|
input: {
|
|
9881
9881
|
json: {
|
|
9882
9882
|
name: string;
|
|
@@ -10464,10 +10464,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10464
10464
|
"/automations/:id/check": {
|
|
10465
10465
|
$post: {
|
|
10466
10466
|
output: {
|
|
10467
|
-
|
|
10467
|
+
error: string;
|
|
10468
10468
|
};
|
|
10469
10469
|
outputFormat: "json";
|
|
10470
|
-
status:
|
|
10470
|
+
status: 404;
|
|
10471
10471
|
input: {
|
|
10472
10472
|
json: {
|
|
10473
10473
|
mode: "execute" | "preview";
|
|
@@ -10479,10 +10479,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10479
10479
|
};
|
|
10480
10480
|
} | {
|
|
10481
10481
|
output: {
|
|
10482
|
-
|
|
10482
|
+
checkId: string;
|
|
10483
10483
|
};
|
|
10484
10484
|
outputFormat: "json";
|
|
10485
|
-
status:
|
|
10485
|
+
status: 202;
|
|
10486
10486
|
input: {
|
|
10487
10487
|
json: {
|
|
10488
10488
|
mode: "execute" | "preview";
|
|
@@ -10555,11 +10555,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10555
10555
|
"/automation-log/:receiptId/retry": {
|
|
10556
10556
|
$post: {
|
|
10557
10557
|
output: {
|
|
10558
|
-
|
|
10559
|
-
runId: string;
|
|
10558
|
+
error: string;
|
|
10560
10559
|
};
|
|
10561
10560
|
outputFormat: "json";
|
|
10562
|
-
status:
|
|
10561
|
+
status: 404;
|
|
10563
10562
|
input: {
|
|
10564
10563
|
param: {
|
|
10565
10564
|
receiptId: string;
|
|
@@ -10570,7 +10569,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10570
10569
|
error: string;
|
|
10571
10570
|
};
|
|
10572
10571
|
outputFormat: "json";
|
|
10573
|
-
status:
|
|
10572
|
+
status: 409;
|
|
10574
10573
|
input: {
|
|
10575
10574
|
param: {
|
|
10576
10575
|
receiptId: string;
|
|
@@ -10578,10 +10577,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10578
10577
|
};
|
|
10579
10578
|
} | {
|
|
10580
10579
|
output: {
|
|
10581
|
-
|
|
10580
|
+
receiptId: string;
|
|
10581
|
+
runId: string;
|
|
10582
10582
|
};
|
|
10583
10583
|
outputFormat: "json";
|
|
10584
|
-
status:
|
|
10584
|
+
status: 202;
|
|
10585
10585
|
input: {
|
|
10586
10586
|
param: {
|
|
10587
10587
|
receiptId: string;
|
|
@@ -10741,21 +10741,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10741
10741
|
} & {
|
|
10742
10742
|
"/runs/:id/archive": {
|
|
10743
10743
|
$post: {
|
|
10744
|
-
output: {
|
|
10745
|
-
error: string;
|
|
10746
|
-
};
|
|
10747
|
-
outputFormat: "json";
|
|
10748
|
-
status: 404;
|
|
10749
|
-
input: {
|
|
10750
|
-
json: {
|
|
10751
|
-
archived?: boolean | undefined;
|
|
10752
|
-
};
|
|
10753
|
-
} & {
|
|
10754
|
-
param: {
|
|
10755
|
-
id: string;
|
|
10756
|
-
};
|
|
10757
|
-
};
|
|
10758
|
-
} | {
|
|
10759
10744
|
output: {
|
|
10760
10745
|
id: string;
|
|
10761
10746
|
title: string;
|
|
@@ -10885,48 +10870,52 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10885
10870
|
id: string;
|
|
10886
10871
|
};
|
|
10887
10872
|
};
|
|
10888
|
-
}
|
|
10889
|
-
};
|
|
10890
|
-
} & {
|
|
10891
|
-
"/runs/:id/auto-resume": {
|
|
10892
|
-
$delete: {
|
|
10873
|
+
} | {
|
|
10893
10874
|
output: {
|
|
10894
10875
|
error: string;
|
|
10895
10876
|
};
|
|
10896
10877
|
outputFormat: "json";
|
|
10897
10878
|
status: 404;
|
|
10898
10879
|
input: {
|
|
10880
|
+
json: {
|
|
10881
|
+
archived?: boolean | undefined;
|
|
10882
|
+
};
|
|
10883
|
+
} & {
|
|
10899
10884
|
param: {
|
|
10900
10885
|
id: string;
|
|
10901
10886
|
};
|
|
10902
10887
|
};
|
|
10903
|
-
}
|
|
10888
|
+
};
|
|
10889
|
+
};
|
|
10890
|
+
} & {
|
|
10891
|
+
"/runs/:id/auto-resume": {
|
|
10892
|
+
$delete: {
|
|
10904
10893
|
output: {
|
|
10905
|
-
|
|
10894
|
+
error: string;
|
|
10906
10895
|
};
|
|
10907
10896
|
outputFormat: "json";
|
|
10908
|
-
status:
|
|
10897
|
+
status: 404;
|
|
10909
10898
|
input: {
|
|
10910
10899
|
param: {
|
|
10911
10900
|
id: string;
|
|
10912
10901
|
};
|
|
10913
10902
|
};
|
|
10914
|
-
}
|
|
10915
|
-
};
|
|
10916
|
-
} & {
|
|
10917
|
-
"/runs/:id/read": {
|
|
10918
|
-
$post: {
|
|
10903
|
+
} | {
|
|
10919
10904
|
output: {
|
|
10920
|
-
|
|
10905
|
+
cancelled: true;
|
|
10921
10906
|
};
|
|
10922
10907
|
outputFormat: "json";
|
|
10923
|
-
status:
|
|
10908
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10924
10909
|
input: {
|
|
10925
10910
|
param: {
|
|
10926
10911
|
id: string;
|
|
10927
10912
|
};
|
|
10928
10913
|
};
|
|
10929
|
-
}
|
|
10914
|
+
};
|
|
10915
|
+
};
|
|
10916
|
+
} & {
|
|
10917
|
+
"/runs/:id/read": {
|
|
10918
|
+
$post: {
|
|
10930
10919
|
output: {
|
|
10931
10920
|
id: string;
|
|
10932
10921
|
title: string;
|
|
@@ -11052,11 +11041,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11052
11041
|
id: string;
|
|
11053
11042
|
};
|
|
11054
11043
|
};
|
|
11055
|
-
}
|
|
11056
|
-
};
|
|
11057
|
-
} & {
|
|
11058
|
-
"/runs/:id/unread": {
|
|
11059
|
-
$post: {
|
|
11044
|
+
} | {
|
|
11060
11045
|
output: {
|
|
11061
11046
|
error: string;
|
|
11062
11047
|
};
|
|
@@ -11067,7 +11052,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11067
11052
|
id: string;
|
|
11068
11053
|
};
|
|
11069
11054
|
};
|
|
11070
|
-
}
|
|
11055
|
+
};
|
|
11056
|
+
};
|
|
11057
|
+
} & {
|
|
11058
|
+
"/runs/:id/unread": {
|
|
11059
|
+
$post: {
|
|
11071
11060
|
output: {
|
|
11072
11061
|
id: string;
|
|
11073
11062
|
title: string;
|
|
@@ -11193,6 +11182,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11193
11182
|
id: string;
|
|
11194
11183
|
};
|
|
11195
11184
|
};
|
|
11185
|
+
} | {
|
|
11186
|
+
output: {
|
|
11187
|
+
error: string;
|
|
11188
|
+
};
|
|
11189
|
+
outputFormat: "json";
|
|
11190
|
+
status: 404;
|
|
11191
|
+
input: {
|
|
11192
|
+
param: {
|
|
11193
|
+
id: string;
|
|
11194
|
+
};
|
|
11195
|
+
};
|
|
11196
11196
|
};
|
|
11197
11197
|
};
|
|
11198
11198
|
} & {
|
|
@@ -11355,127 +11355,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11355
11355
|
};
|
|
11356
11356
|
} | {
|
|
11357
11357
|
output: {
|
|
11358
|
-
|
|
11359
|
-
id: string;
|
|
11360
|
-
title: string;
|
|
11361
|
-
titleSummary?: string | undefined;
|
|
11362
|
-
diffStat?: {
|
|
11363
|
-
adds: number;
|
|
11364
|
-
dels: number;
|
|
11365
|
-
files: number;
|
|
11366
|
-
repointed?: boolean | undefined;
|
|
11367
|
-
} | undefined;
|
|
11368
|
-
workflow: string;
|
|
11369
|
-
task: string;
|
|
11370
|
-
queuedMessages?: {
|
|
11371
|
-
id: string;
|
|
11372
|
-
text: string;
|
|
11373
|
-
images?: string[] | undefined;
|
|
11374
|
-
createdAt: string;
|
|
11375
|
-
}[] | undefined;
|
|
11376
|
-
taskImages?: string[] | undefined;
|
|
11377
|
-
model?: string | undefined;
|
|
11378
|
-
effort?: string | undefined;
|
|
11379
|
-
modelIdentity?: string | undefined;
|
|
11380
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11381
|
-
agentProfile?: string | undefined;
|
|
11382
|
-
systemPrompt?: string | undefined;
|
|
11383
|
-
generateFollowups?: boolean | undefined;
|
|
11384
|
-
autonomous?: boolean | undefined;
|
|
11385
|
-
automation?: {
|
|
11386
|
-
automationId: string;
|
|
11387
|
-
automationRevision: number;
|
|
11388
|
-
receiptId: string;
|
|
11389
|
-
event: string;
|
|
11390
|
-
githubUrl: string;
|
|
11391
|
-
} | undefined;
|
|
11392
|
-
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
11393
|
-
activity?: "monitoring" | undefined;
|
|
11394
|
-
monitoringWakeAt?: string | undefined;
|
|
11395
|
-
monitoringWakeCapReached?: boolean | undefined;
|
|
11396
|
-
autoResumeAt?: string | undefined;
|
|
11397
|
-
autoResumeAttempts?: number | undefined;
|
|
11398
|
-
createdAt: string;
|
|
11399
|
-
startedAt?: string | undefined;
|
|
11400
|
-
finishedAt?: string | undefined;
|
|
11401
|
-
tokensUsed: number;
|
|
11402
|
-
inputTokens?: number | undefined;
|
|
11403
|
-
outputTokens?: number | undefined;
|
|
11404
|
-
costUsd?: number | undefined;
|
|
11405
|
-
pullRequestUrl?: string | undefined;
|
|
11406
|
-
referencedPullRequestUrl?: string | undefined;
|
|
11407
|
-
prNumber?: number | undefined;
|
|
11408
|
-
issueNumber?: number | undefined;
|
|
11409
|
-
referencedIssueNumberSeeded?: boolean | undefined;
|
|
11410
|
-
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
11411
|
-
markerRefs?: {
|
|
11412
|
-
pr?: number | undefined;
|
|
11413
|
-
issue?: number | undefined;
|
|
11414
|
-
} | undefined;
|
|
11415
|
-
referencedPrCandidates?: string[] | undefined;
|
|
11416
|
-
referencedIssueUrl?: string | undefined;
|
|
11417
|
-
referencedIssueCandidates?: string[] | undefined;
|
|
11418
|
-
worktree?: false | undefined;
|
|
11419
|
-
worktreePath?: string | undefined;
|
|
11420
|
-
branch?: string | undefined;
|
|
11421
|
-
baseBranch?: string | undefined;
|
|
11422
|
-
worktreeReclaimedAt?: string | undefined;
|
|
11423
|
-
groupId?: string | undefined;
|
|
11424
|
-
variant?: string | undefined;
|
|
11425
|
-
peakRssBytes?: number | undefined;
|
|
11426
|
-
peakProcCount?: number | undefined;
|
|
11427
|
-
archived: boolean;
|
|
11428
|
-
archivedAt?: string | undefined;
|
|
11429
|
-
seenAt?: string | undefined;
|
|
11430
|
-
currentStepId?: string | undefined;
|
|
11431
|
-
error?: string | undefined;
|
|
11432
|
-
steps: {
|
|
11433
|
-
id: string;
|
|
11434
|
-
name: string;
|
|
11435
|
-
kind: "agent" | "check";
|
|
11436
|
-
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
11437
|
-
iterations: number;
|
|
11438
|
-
tokensUsed: number;
|
|
11439
|
-
inputTokens?: number | undefined;
|
|
11440
|
-
outputTokens?: number | undefined;
|
|
11441
|
-
usageInvocationsStarted?: number | undefined;
|
|
11442
|
-
usageInvocationsObserved?: number | undefined;
|
|
11443
|
-
usageTurnsStarted?: number | undefined;
|
|
11444
|
-
usageTurnsRecorded?: number | undefined;
|
|
11445
|
-
usageInvocationEpoch?: number | undefined;
|
|
11446
|
-
startedAt?: string | undefined;
|
|
11447
|
-
finishedAt?: string | undefined;
|
|
11448
|
-
error?: string | undefined;
|
|
11449
|
-
sessionId?: string | undefined;
|
|
11450
|
-
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11451
|
-
profileId?: string | undefined;
|
|
11452
|
-
costUsd?: number | undefined;
|
|
11453
|
-
}[];
|
|
11454
|
-
workflowDef?: {
|
|
11455
|
-
name: string;
|
|
11456
|
-
description?: string | undefined;
|
|
11457
|
-
steps: {
|
|
11458
|
-
id: string;
|
|
11459
|
-
name?: string | undefined;
|
|
11460
|
-
prompt?: string | undefined;
|
|
11461
|
-
skill?: string | undefined;
|
|
11462
|
-
model?: string | undefined;
|
|
11463
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11464
|
-
allowedTools?: string[] | undefined;
|
|
11465
|
-
bashAllowlist?: string[] | undefined;
|
|
11466
|
-
command?: string | undefined;
|
|
11467
|
-
onFail?: {
|
|
11468
|
-
retry: string;
|
|
11469
|
-
max: number;
|
|
11470
|
-
} | undefined;
|
|
11471
|
-
}[];
|
|
11472
|
-
source: "built-in" | "file";
|
|
11473
|
-
path?: string | undefined;
|
|
11474
|
-
} | undefined;
|
|
11475
|
-
}[];
|
|
11358
|
+
error: string;
|
|
11476
11359
|
};
|
|
11477
11360
|
outputFormat: "json";
|
|
11478
|
-
status:
|
|
11361
|
+
status: 409;
|
|
11479
11362
|
input: {
|
|
11480
11363
|
json: {
|
|
11481
11364
|
workflow?: string | undefined;
|
|
@@ -11563,42 +11446,159 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11563
11446
|
workflow?: string | undefined;
|
|
11564
11447
|
steps?: {
|
|
11565
11448
|
id: string;
|
|
11566
|
-
name?: string | undefined;
|
|
11567
|
-
prompt?: string | undefined;
|
|
11568
|
-
skill?: string | undefined;
|
|
11569
|
-
model?: string | undefined;
|
|
11570
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11571
|
-
allowedTools?: string[] | undefined;
|
|
11572
|
-
bashAllowlist?: string[] | undefined;
|
|
11573
|
-
command?: string | undefined;
|
|
11574
|
-
onFail?: {
|
|
11575
|
-
retry: string;
|
|
11576
|
-
max?: number | undefined;
|
|
11577
|
-
} | undefined;
|
|
11578
|
-
}[] | undefined;
|
|
11579
|
-
task: string;
|
|
11580
|
-
model?: string | undefined;
|
|
11581
|
-
effort?: string | undefined;
|
|
11582
|
-
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11583
|
-
agentProfile?: string | undefined;
|
|
11584
|
-
variants?: number | undefined;
|
|
11585
|
-
worktree?: boolean | undefined;
|
|
11586
|
-
autonomous?: boolean | undefined;
|
|
11587
|
-
generateFollowups?: boolean | undefined;
|
|
11588
|
-
systemPrompt?: string | undefined;
|
|
11589
|
-
images?: {
|
|
11590
|
-
mediaType: string;
|
|
11591
|
-
data: string;
|
|
11592
|
-
}[] | undefined;
|
|
11593
|
-
todoId?: string | undefined;
|
|
11594
|
-
};
|
|
11595
|
-
};
|
|
11596
|
-
} | {
|
|
11597
|
-
output: {
|
|
11598
|
-
|
|
11449
|
+
name?: string | undefined;
|
|
11450
|
+
prompt?: string | undefined;
|
|
11451
|
+
skill?: string | undefined;
|
|
11452
|
+
model?: string | undefined;
|
|
11453
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11454
|
+
allowedTools?: string[] | undefined;
|
|
11455
|
+
bashAllowlist?: string[] | undefined;
|
|
11456
|
+
command?: string | undefined;
|
|
11457
|
+
onFail?: {
|
|
11458
|
+
retry: string;
|
|
11459
|
+
max?: number | undefined;
|
|
11460
|
+
} | undefined;
|
|
11461
|
+
}[] | undefined;
|
|
11462
|
+
task: string;
|
|
11463
|
+
model?: string | undefined;
|
|
11464
|
+
effort?: string | undefined;
|
|
11465
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11466
|
+
agentProfile?: string | undefined;
|
|
11467
|
+
variants?: number | undefined;
|
|
11468
|
+
worktree?: boolean | undefined;
|
|
11469
|
+
autonomous?: boolean | undefined;
|
|
11470
|
+
generateFollowups?: boolean | undefined;
|
|
11471
|
+
systemPrompt?: string | undefined;
|
|
11472
|
+
images?: {
|
|
11473
|
+
mediaType: string;
|
|
11474
|
+
data: string;
|
|
11475
|
+
}[] | undefined;
|
|
11476
|
+
todoId?: string | undefined;
|
|
11477
|
+
};
|
|
11478
|
+
};
|
|
11479
|
+
} | {
|
|
11480
|
+
output: {
|
|
11481
|
+
runs: {
|
|
11482
|
+
id: string;
|
|
11483
|
+
title: string;
|
|
11484
|
+
titleSummary?: string | undefined;
|
|
11485
|
+
diffStat?: {
|
|
11486
|
+
adds: number;
|
|
11487
|
+
dels: number;
|
|
11488
|
+
files: number;
|
|
11489
|
+
repointed?: boolean | undefined;
|
|
11490
|
+
} | undefined;
|
|
11491
|
+
workflow: string;
|
|
11492
|
+
task: string;
|
|
11493
|
+
queuedMessages?: {
|
|
11494
|
+
id: string;
|
|
11495
|
+
text: string;
|
|
11496
|
+
images?: string[] | undefined;
|
|
11497
|
+
createdAt: string;
|
|
11498
|
+
}[] | undefined;
|
|
11499
|
+
taskImages?: string[] | undefined;
|
|
11500
|
+
model?: string | undefined;
|
|
11501
|
+
effort?: string | undefined;
|
|
11502
|
+
modelIdentity?: string | undefined;
|
|
11503
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11504
|
+
agentProfile?: string | undefined;
|
|
11505
|
+
systemPrompt?: string | undefined;
|
|
11506
|
+
generateFollowups?: boolean | undefined;
|
|
11507
|
+
autonomous?: boolean | undefined;
|
|
11508
|
+
automation?: {
|
|
11509
|
+
automationId: string;
|
|
11510
|
+
automationRevision: number;
|
|
11511
|
+
receiptId: string;
|
|
11512
|
+
event: string;
|
|
11513
|
+
githubUrl: string;
|
|
11514
|
+
} | undefined;
|
|
11515
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
11516
|
+
activity?: "monitoring" | undefined;
|
|
11517
|
+
monitoringWakeAt?: string | undefined;
|
|
11518
|
+
monitoringWakeCapReached?: boolean | undefined;
|
|
11519
|
+
autoResumeAt?: string | undefined;
|
|
11520
|
+
autoResumeAttempts?: number | undefined;
|
|
11521
|
+
createdAt: string;
|
|
11522
|
+
startedAt?: string | undefined;
|
|
11523
|
+
finishedAt?: string | undefined;
|
|
11524
|
+
tokensUsed: number;
|
|
11525
|
+
inputTokens?: number | undefined;
|
|
11526
|
+
outputTokens?: number | undefined;
|
|
11527
|
+
costUsd?: number | undefined;
|
|
11528
|
+
pullRequestUrl?: string | undefined;
|
|
11529
|
+
referencedPullRequestUrl?: string | undefined;
|
|
11530
|
+
prNumber?: number | undefined;
|
|
11531
|
+
issueNumber?: number | undefined;
|
|
11532
|
+
referencedIssueNumberSeeded?: boolean | undefined;
|
|
11533
|
+
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
11534
|
+
markerRefs?: {
|
|
11535
|
+
pr?: number | undefined;
|
|
11536
|
+
issue?: number | undefined;
|
|
11537
|
+
} | undefined;
|
|
11538
|
+
referencedPrCandidates?: string[] | undefined;
|
|
11539
|
+
referencedIssueUrl?: string | undefined;
|
|
11540
|
+
referencedIssueCandidates?: string[] | undefined;
|
|
11541
|
+
worktree?: false | undefined;
|
|
11542
|
+
worktreePath?: string | undefined;
|
|
11543
|
+
branch?: string | undefined;
|
|
11544
|
+
baseBranch?: string | undefined;
|
|
11545
|
+
worktreeReclaimedAt?: string | undefined;
|
|
11546
|
+
groupId?: string | undefined;
|
|
11547
|
+
variant?: string | undefined;
|
|
11548
|
+
peakRssBytes?: number | undefined;
|
|
11549
|
+
peakProcCount?: number | undefined;
|
|
11550
|
+
archived: boolean;
|
|
11551
|
+
archivedAt?: string | undefined;
|
|
11552
|
+
seenAt?: string | undefined;
|
|
11553
|
+
currentStepId?: string | undefined;
|
|
11554
|
+
error?: string | undefined;
|
|
11555
|
+
steps: {
|
|
11556
|
+
id: string;
|
|
11557
|
+
name: string;
|
|
11558
|
+
kind: "agent" | "check";
|
|
11559
|
+
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
11560
|
+
iterations: number;
|
|
11561
|
+
tokensUsed: number;
|
|
11562
|
+
inputTokens?: number | undefined;
|
|
11563
|
+
outputTokens?: number | undefined;
|
|
11564
|
+
usageInvocationsStarted?: number | undefined;
|
|
11565
|
+
usageInvocationsObserved?: number | undefined;
|
|
11566
|
+
usageTurnsStarted?: number | undefined;
|
|
11567
|
+
usageTurnsRecorded?: number | undefined;
|
|
11568
|
+
usageInvocationEpoch?: number | undefined;
|
|
11569
|
+
startedAt?: string | undefined;
|
|
11570
|
+
finishedAt?: string | undefined;
|
|
11571
|
+
error?: string | undefined;
|
|
11572
|
+
sessionId?: string | undefined;
|
|
11573
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11574
|
+
profileId?: string | undefined;
|
|
11575
|
+
costUsd?: number | undefined;
|
|
11576
|
+
}[];
|
|
11577
|
+
workflowDef?: {
|
|
11578
|
+
name: string;
|
|
11579
|
+
description?: string | undefined;
|
|
11580
|
+
steps: {
|
|
11581
|
+
id: string;
|
|
11582
|
+
name?: string | undefined;
|
|
11583
|
+
prompt?: string | undefined;
|
|
11584
|
+
skill?: string | undefined;
|
|
11585
|
+
model?: string | undefined;
|
|
11586
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11587
|
+
allowedTools?: string[] | undefined;
|
|
11588
|
+
bashAllowlist?: string[] | undefined;
|
|
11589
|
+
command?: string | undefined;
|
|
11590
|
+
onFail?: {
|
|
11591
|
+
retry: string;
|
|
11592
|
+
max: number;
|
|
11593
|
+
} | undefined;
|
|
11594
|
+
}[];
|
|
11595
|
+
source: "built-in" | "file";
|
|
11596
|
+
path?: string | undefined;
|
|
11597
|
+
} | undefined;
|
|
11598
|
+
}[];
|
|
11599
11599
|
};
|
|
11600
11600
|
outputFormat: "json";
|
|
11601
|
-
status:
|
|
11601
|
+
status: 201;
|
|
11602
11602
|
input: {
|
|
11603
11603
|
json: {
|
|
11604
11604
|
workflow?: string | undefined;
|
|
@@ -11639,17 +11639,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11639
11639
|
} & {
|
|
11640
11640
|
"/runs/:id": {
|
|
11641
11641
|
$get: {
|
|
11642
|
-
output: {
|
|
11643
|
-
error: string;
|
|
11644
|
-
};
|
|
11645
|
-
outputFormat: "json";
|
|
11646
|
-
status: 404;
|
|
11647
|
-
input: {
|
|
11648
|
-
param: {
|
|
11649
|
-
id: string;
|
|
11650
|
-
};
|
|
11651
|
-
};
|
|
11652
|
-
} | {
|
|
11653
11642
|
output: {
|
|
11654
11643
|
id: string;
|
|
11655
11644
|
title: string;
|
|
@@ -11776,6 +11765,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11776
11765
|
id: string;
|
|
11777
11766
|
};
|
|
11778
11767
|
};
|
|
11768
|
+
} | {
|
|
11769
|
+
output: {
|
|
11770
|
+
error: string;
|
|
11771
|
+
};
|
|
11772
|
+
outputFormat: "json";
|
|
11773
|
+
status: 404;
|
|
11774
|
+
input: {
|
|
11775
|
+
param: {
|
|
11776
|
+
id: string;
|
|
11777
|
+
};
|
|
11778
|
+
};
|
|
11779
11779
|
};
|
|
11780
11780
|
};
|
|
11781
11781
|
} & {
|
|
@@ -11901,54 +11901,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11901
11901
|
} & {
|
|
11902
11902
|
"/runs/:id": {
|
|
11903
11903
|
$patch: {
|
|
11904
|
-
output: {
|
|
11905
|
-
error: string;
|
|
11906
|
-
};
|
|
11907
|
-
outputFormat: "json";
|
|
11908
|
-
status: 400;
|
|
11909
|
-
input: {
|
|
11910
|
-
json: {
|
|
11911
|
-
title?: string | undefined;
|
|
11912
|
-
task?: string | undefined;
|
|
11913
|
-
};
|
|
11914
|
-
} & {
|
|
11915
|
-
param: {
|
|
11916
|
-
id: string;
|
|
11917
|
-
};
|
|
11918
|
-
};
|
|
11919
|
-
} | {
|
|
11920
|
-
output: {
|
|
11921
|
-
error: string;
|
|
11922
|
-
};
|
|
11923
|
-
outputFormat: "json";
|
|
11924
|
-
status: 404;
|
|
11925
|
-
input: {
|
|
11926
|
-
json: {
|
|
11927
|
-
title?: string | undefined;
|
|
11928
|
-
task?: string | undefined;
|
|
11929
|
-
};
|
|
11930
|
-
} & {
|
|
11931
|
-
param: {
|
|
11932
|
-
id: string;
|
|
11933
|
-
};
|
|
11934
|
-
};
|
|
11935
|
-
} | {
|
|
11936
|
-
output: {
|
|
11937
|
-
error: string;
|
|
11938
|
-
};
|
|
11939
|
-
outputFormat: "json";
|
|
11940
|
-
status: 409;
|
|
11941
|
-
input: {
|
|
11942
|
-
json: {
|
|
11943
|
-
title?: string | undefined;
|
|
11944
|
-
task?: string | undefined;
|
|
11945
|
-
};
|
|
11946
|
-
} & {
|
|
11947
|
-
param: {
|
|
11948
|
-
id: string;
|
|
11949
|
-
};
|
|
11950
|
-
};
|
|
11951
|
-
} | {
|
|
11952
11904
|
output: {
|
|
11953
11905
|
id: string;
|
|
11954
11906
|
title: string;
|
|
@@ -12079,6 +12031,54 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12079
12031
|
id: string;
|
|
12080
12032
|
};
|
|
12081
12033
|
};
|
|
12034
|
+
} | {
|
|
12035
|
+
output: {
|
|
12036
|
+
error: string;
|
|
12037
|
+
};
|
|
12038
|
+
outputFormat: "json";
|
|
12039
|
+
status: 404;
|
|
12040
|
+
input: {
|
|
12041
|
+
json: {
|
|
12042
|
+
title?: string | undefined;
|
|
12043
|
+
task?: string | undefined;
|
|
12044
|
+
};
|
|
12045
|
+
} & {
|
|
12046
|
+
param: {
|
|
12047
|
+
id: string;
|
|
12048
|
+
};
|
|
12049
|
+
};
|
|
12050
|
+
} | {
|
|
12051
|
+
output: {
|
|
12052
|
+
error: string;
|
|
12053
|
+
};
|
|
12054
|
+
outputFormat: "json";
|
|
12055
|
+
status: 400;
|
|
12056
|
+
input: {
|
|
12057
|
+
json: {
|
|
12058
|
+
title?: string | undefined;
|
|
12059
|
+
task?: string | undefined;
|
|
12060
|
+
};
|
|
12061
|
+
} & {
|
|
12062
|
+
param: {
|
|
12063
|
+
id: string;
|
|
12064
|
+
};
|
|
12065
|
+
};
|
|
12066
|
+
} | {
|
|
12067
|
+
output: {
|
|
12068
|
+
error: string;
|
|
12069
|
+
};
|
|
12070
|
+
outputFormat: "json";
|
|
12071
|
+
status: 409;
|
|
12072
|
+
input: {
|
|
12073
|
+
json: {
|
|
12074
|
+
title?: string | undefined;
|
|
12075
|
+
task?: string | undefined;
|
|
12076
|
+
};
|
|
12077
|
+
} & {
|
|
12078
|
+
param: {
|
|
12079
|
+
id: string;
|
|
12080
|
+
};
|
|
12081
|
+
};
|
|
12082
12082
|
};
|
|
12083
12083
|
};
|
|
12084
12084
|
} & {
|
|
@@ -12114,7 +12114,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12114
12114
|
error: string;
|
|
12115
12115
|
};
|
|
12116
12116
|
outputFormat: "json";
|
|
12117
|
-
status:
|
|
12117
|
+
status: 404;
|
|
12118
12118
|
input: {
|
|
12119
12119
|
json: {
|
|
12120
12120
|
text?: string | undefined;
|
|
@@ -12133,7 +12133,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12133
12133
|
error: string;
|
|
12134
12134
|
};
|
|
12135
12135
|
outputFormat: "json";
|
|
12136
|
-
status:
|
|
12136
|
+
status: 409;
|
|
12137
12137
|
input: {
|
|
12138
12138
|
json: {
|
|
12139
12139
|
text?: string | undefined;
|
|
@@ -12149,10 +12149,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12149
12149
|
};
|
|
12150
12150
|
} | {
|
|
12151
12151
|
output: {
|
|
12152
|
-
|
|
12152
|
+
delivered: true;
|
|
12153
12153
|
};
|
|
12154
12154
|
outputFormat: "json";
|
|
12155
|
-
status:
|
|
12155
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12156
12156
|
input: {
|
|
12157
12157
|
json: {
|
|
12158
12158
|
text?: string | undefined;
|
|
@@ -12168,10 +12168,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12168
12168
|
};
|
|
12169
12169
|
} | {
|
|
12170
12170
|
output: {
|
|
12171
|
-
|
|
12171
|
+
error: string;
|
|
12172
12172
|
};
|
|
12173
12173
|
outputFormat: "json";
|
|
12174
|
-
status:
|
|
12174
|
+
status: 400;
|
|
12175
12175
|
input: {
|
|
12176
12176
|
json: {
|
|
12177
12177
|
text?: string | undefined;
|
|
@@ -12238,7 +12238,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12238
12238
|
error: string;
|
|
12239
12239
|
};
|
|
12240
12240
|
outputFormat: "json";
|
|
12241
|
-
status:
|
|
12241
|
+
status: 404;
|
|
12242
12242
|
input: {
|
|
12243
12243
|
json: {
|
|
12244
12244
|
text?: string | undefined;
|
|
@@ -12259,7 +12259,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12259
12259
|
error: string;
|
|
12260
12260
|
};
|
|
12261
12261
|
outputFormat: "json";
|
|
12262
|
-
status:
|
|
12262
|
+
status: 400;
|
|
12263
12263
|
input: {
|
|
12264
12264
|
json: {
|
|
12265
12265
|
text?: string | undefined;
|
|
@@ -12411,7 +12411,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12411
12411
|
error: string;
|
|
12412
12412
|
};
|
|
12413
12413
|
outputFormat: "json";
|
|
12414
|
-
status:
|
|
12414
|
+
status: 404;
|
|
12415
12415
|
input: {
|
|
12416
12416
|
json: {
|
|
12417
12417
|
text?: string | undefined;
|
|
@@ -12434,7 +12434,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12434
12434
|
error: string;
|
|
12435
12435
|
};
|
|
12436
12436
|
outputFormat: "json";
|
|
12437
|
-
status:
|
|
12437
|
+
status: 400;
|
|
12438
12438
|
input: {
|
|
12439
12439
|
json: {
|
|
12440
12440
|
text?: string | undefined;
|
|
@@ -12545,7 +12545,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12545
12545
|
error: string;
|
|
12546
12546
|
};
|
|
12547
12547
|
outputFormat: "json";
|
|
12548
|
-
status:
|
|
12548
|
+
status: 404;
|
|
12549
12549
|
input: {
|
|
12550
12550
|
json: {
|
|
12551
12551
|
target: string;
|
|
@@ -12561,7 +12561,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12561
12561
|
error: string;
|
|
12562
12562
|
};
|
|
12563
12563
|
outputFormat: "json";
|
|
12564
|
-
status:
|
|
12564
|
+
status: 409;
|
|
12565
12565
|
input: {
|
|
12566
12566
|
json: {
|
|
12567
12567
|
target: string;
|
|
@@ -12577,7 +12577,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12577
12577
|
error: string;
|
|
12578
12578
|
};
|
|
12579
12579
|
outputFormat: "json";
|
|
12580
|
-
status:
|
|
12580
|
+
status: 400;
|
|
12581
12581
|
input: {
|
|
12582
12582
|
json: {
|
|
12583
12583
|
target: string;
|
|
@@ -12610,20 +12610,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12610
12610
|
} & {
|
|
12611
12611
|
"/runs/:id/handoff": {
|
|
12612
12612
|
$get: {
|
|
12613
|
-
output:
|
|
12614
|
-
|
|
12615
|
-
|
|
12613
|
+
output: {
|
|
12614
|
+
error: string;
|
|
12615
|
+
};
|
|
12616
|
+
outputFormat: "json";
|
|
12617
|
+
status: 404;
|
|
12616
12618
|
input: {
|
|
12617
12619
|
param: {
|
|
12618
12620
|
id: string;
|
|
12619
12621
|
};
|
|
12620
12622
|
};
|
|
12621
12623
|
} | {
|
|
12622
|
-
output:
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
outputFormat: "json";
|
|
12626
|
-
status: 404;
|
|
12624
|
+
output: string;
|
|
12625
|
+
outputFormat: "text";
|
|
12626
|
+
status: 200;
|
|
12627
12627
|
input: {
|
|
12628
12628
|
param: {
|
|
12629
12629
|
id: string;
|
|
@@ -13031,11 +13031,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13031
13031
|
"/runs/:id/pr": {
|
|
13032
13032
|
$post: {
|
|
13033
13033
|
output: {
|
|
13034
|
-
|
|
13035
|
-
dryRun: boolean;
|
|
13034
|
+
error: string;
|
|
13036
13035
|
};
|
|
13037
13036
|
outputFormat: "json";
|
|
13038
|
-
status:
|
|
13037
|
+
status: 404;
|
|
13039
13038
|
input: {
|
|
13040
13039
|
param: {
|
|
13041
13040
|
id: string;
|
|
@@ -13046,7 +13045,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13046
13045
|
error: string;
|
|
13047
13046
|
};
|
|
13048
13047
|
outputFormat: "json";
|
|
13049
|
-
status:
|
|
13048
|
+
status: 409;
|
|
13050
13049
|
input: {
|
|
13051
13050
|
param: {
|
|
13052
13051
|
id: string;
|
|
@@ -13057,7 +13056,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13057
13056
|
error: string;
|
|
13058
13057
|
};
|
|
13059
13058
|
outputFormat: "json";
|
|
13060
|
-
status:
|
|
13059
|
+
status: 400;
|
|
13061
13060
|
input: {
|
|
13062
13061
|
param: {
|
|
13063
13062
|
id: string;
|
|
@@ -13065,10 +13064,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13065
13064
|
};
|
|
13066
13065
|
} | {
|
|
13067
13066
|
output: {
|
|
13068
|
-
|
|
13067
|
+
url: string;
|
|
13068
|
+
dryRun: boolean;
|
|
13069
13069
|
};
|
|
13070
13070
|
outputFormat: "json";
|
|
13071
|
-
status:
|
|
13071
|
+
status: 201;
|
|
13072
13072
|
input: {
|
|
13073
13073
|
param: {
|
|
13074
13074
|
id: string;
|
|
@@ -13120,7 +13120,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13120
13120
|
error: string;
|
|
13121
13121
|
};
|
|
13122
13122
|
outputFormat: "json";
|
|
13123
|
-
status:
|
|
13123
|
+
status: 409;
|
|
13124
13124
|
input: {
|
|
13125
13125
|
param: {
|
|
13126
13126
|
id: string;
|
|
@@ -13131,7 +13131,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13131
13131
|
error: string;
|
|
13132
13132
|
};
|
|
13133
13133
|
outputFormat: "json";
|
|
13134
|
-
status:
|
|
13134
|
+
status: 404;
|
|
13135
13135
|
input: {
|
|
13136
13136
|
param: {
|
|
13137
13137
|
id: string;
|