@hearsay-tools/squawk 0.19.0-pr4603.9151 → 0.19.0-pr4606.9153
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/delegation/transport.d.ts +78 -78
- package/dist/delegation/workspace-removal.d.ts +1 -1
- package/dist/delegation/workspace-removal.js +1 -1
- package/dist/delegation/workspace-removal.js.map +1 -1
- package/dist/features/automations/automations-routes.d.ts +150 -150
- package/dist/features/hosts/index.d.ts +1 -1
- package/dist/features/hosts/index.js +1 -1
- package/dist/features/hosts/index.js.map +1 -1
- package/dist/features/hosts/routes.d.ts +2 -2
- package/dist/features/hosts/routes.js +4 -4
- package/dist/features/hosts/routes.js.map +1 -1
- package/dist/git-command.d.ts +0 -11
- package/dist/git-command.js +0 -14
- package/dist/git-command.js.map +1 -1
- package/dist/git-worktree-lock-helper.d.ts +30 -0
- package/dist/git-worktree-lock-helper.js +300 -0
- package/dist/git-worktree-lock-helper.js.map +1 -0
- package/dist/git-worktree-lock.d.ts +3 -4
- package/dist/git-worktree-lock.js +66 -220
- package/dist/git-worktree-lock.js.map +1 -1
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +16 -16
- package/dist/server/server.d.ts +1170 -1170
- package/dist/server/workspace-identity-routes.d.ts +5 -5
- package/package.json +4 -4
- package/dist/git-worktree-claims.d.ts +0 -96
- package/dist/git-worktree-claims.js +0 -219
- package/dist/git-worktree-claims.js.map +0 -1
|
@@ -112,42 +112,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
112
112
|
"/ui-state": {
|
|
113
113
|
$put: {
|
|
114
114
|
output: {
|
|
115
|
-
|
|
116
|
-
sidebarLimits?: {
|
|
117
|
-
overall?: number | null | undefined;
|
|
118
|
-
needsYou?: number | null | undefined;
|
|
119
|
-
finished?: number | null | undefined;
|
|
120
|
-
working?: number | null | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
lastTask?: {
|
|
123
|
-
source: "skill" | "workflow";
|
|
124
|
-
ref: string;
|
|
125
|
-
} | null | undefined;
|
|
126
|
-
recentSources?: {
|
|
127
|
-
source: "skill" | "workflow";
|
|
128
|
-
ref: string;
|
|
129
|
-
}[] | undefined;
|
|
130
|
-
lastWorktree?: boolean | undefined;
|
|
131
|
-
lastAutonomous?: boolean | undefined;
|
|
132
|
-
skillUsage?: {
|
|
133
|
-
[x: string]: number;
|
|
134
|
-
} | undefined;
|
|
135
|
-
runsView?: "list" | "table" | undefined;
|
|
136
|
-
githubView?: "issues" | "prs" | undefined;
|
|
137
|
-
appearance?: {
|
|
138
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
139
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
140
|
-
width?: "narrow" | "wide" | undefined;
|
|
141
|
-
} | undefined;
|
|
142
|
-
promptTemplates?: {
|
|
143
|
-
id: string;
|
|
144
|
-
label: string;
|
|
145
|
-
text: string;
|
|
146
|
-
skills?: string[] | undefined;
|
|
147
|
-
}[] | undefined;
|
|
115
|
+
error: string;
|
|
148
116
|
};
|
|
149
117
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
118
|
+
status: 500;
|
|
151
119
|
input: {
|
|
152
120
|
json: {
|
|
153
121
|
[x: string]: unknown;
|
|
@@ -185,10 +153,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
185
153
|
};
|
|
186
154
|
} | {
|
|
187
155
|
output: {
|
|
188
|
-
|
|
156
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
157
|
+
sidebarLimits?: {
|
|
158
|
+
overall?: number | null | undefined;
|
|
159
|
+
needsYou?: number | null | undefined;
|
|
160
|
+
finished?: number | null | undefined;
|
|
161
|
+
working?: number | null | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
lastTask?: {
|
|
164
|
+
source: "skill" | "workflow";
|
|
165
|
+
ref: string;
|
|
166
|
+
} | null | undefined;
|
|
167
|
+
recentSources?: {
|
|
168
|
+
source: "skill" | "workflow";
|
|
169
|
+
ref: string;
|
|
170
|
+
}[] | undefined;
|
|
171
|
+
lastWorktree?: boolean | undefined;
|
|
172
|
+
lastAutonomous?: boolean | undefined;
|
|
173
|
+
skillUsage?: {
|
|
174
|
+
[x: string]: number;
|
|
175
|
+
} | undefined;
|
|
176
|
+
runsView?: "list" | "table" | undefined;
|
|
177
|
+
githubView?: "issues" | "prs" | undefined;
|
|
178
|
+
appearance?: {
|
|
179
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
180
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
181
|
+
width?: "narrow" | "wide" | undefined;
|
|
182
|
+
} | undefined;
|
|
183
|
+
promptTemplates?: {
|
|
184
|
+
id: string;
|
|
185
|
+
label: string;
|
|
186
|
+
text: string;
|
|
187
|
+
skills?: string[] | undefined;
|
|
188
|
+
}[] | undefined;
|
|
189
189
|
};
|
|
190
190
|
outputFormat: "json";
|
|
191
|
-
status:
|
|
191
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
192
192
|
input: {
|
|
193
193
|
json: {
|
|
194
194
|
[x: string]: unknown;
|
|
@@ -274,10 +274,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
274
274
|
"/workflows": {
|
|
275
275
|
$post: {
|
|
276
276
|
output: {
|
|
277
|
-
|
|
277
|
+
path: string;
|
|
278
|
+
name: string;
|
|
278
279
|
};
|
|
279
280
|
outputFormat: "json";
|
|
280
|
-
status:
|
|
281
|
+
status: 201;
|
|
281
282
|
input: {
|
|
282
283
|
json: {
|
|
283
284
|
name: string;
|
|
@@ -310,10 +311,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
310
311
|
} | {
|
|
311
312
|
output: {
|
|
312
313
|
error: string;
|
|
313
|
-
exists: true;
|
|
314
314
|
};
|
|
315
315
|
outputFormat: "json";
|
|
316
|
-
status:
|
|
316
|
+
status: 400;
|
|
317
317
|
input: {
|
|
318
318
|
json: {
|
|
319
319
|
name: string;
|
|
@@ -346,9 +346,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
346
346
|
} | {
|
|
347
347
|
output: {
|
|
348
348
|
error: string;
|
|
349
|
+
exists: true;
|
|
349
350
|
};
|
|
350
351
|
outputFormat: "json";
|
|
351
|
-
status:
|
|
352
|
+
status: 409;
|
|
352
353
|
input: {
|
|
353
354
|
json: {
|
|
354
355
|
name: string;
|
|
@@ -380,11 +381,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
380
381
|
};
|
|
381
382
|
} | {
|
|
382
383
|
output: {
|
|
383
|
-
|
|
384
|
-
name: string;
|
|
384
|
+
error: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 500;
|
|
388
388
|
input: {
|
|
389
389
|
json: {
|
|
390
390
|
name: string;
|
|
@@ -420,10 +420,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
420
420
|
"/workflows/:name": {
|
|
421
421
|
$delete: {
|
|
422
422
|
output: {
|
|
423
|
-
|
|
423
|
+
ok: true;
|
|
424
|
+
path: string;
|
|
424
425
|
};
|
|
425
426
|
outputFormat: "json";
|
|
426
|
-
status:
|
|
427
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
427
428
|
input: {
|
|
428
429
|
param: {
|
|
429
430
|
name: string;
|
|
@@ -431,11 +432,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
431
432
|
};
|
|
432
433
|
} | {
|
|
433
434
|
output: {
|
|
434
|
-
|
|
435
|
-
path: string;
|
|
435
|
+
error: string;
|
|
436
436
|
};
|
|
437
437
|
outputFormat: "json";
|
|
438
|
-
status:
|
|
438
|
+
status: 400 | 404 | 409 | 500;
|
|
439
439
|
input: {
|
|
440
440
|
param: {
|
|
441
441
|
name: string;
|
|
@@ -503,18 +503,6 @@ export interface PlanRouteDeps {
|
|
|
503
503
|
export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
504
504
|
"/plan": {
|
|
505
505
|
$post: {
|
|
506
|
-
output: {
|
|
507
|
-
error: string;
|
|
508
|
-
};
|
|
509
|
-
outputFormat: "json";
|
|
510
|
-
status: 400 | 404 | 409;
|
|
511
|
-
input: {
|
|
512
|
-
json: {
|
|
513
|
-
task: string;
|
|
514
|
-
agentProfile?: string | undefined;
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
} | {
|
|
518
506
|
output: {
|
|
519
507
|
name?: string;
|
|
520
508
|
steps: {
|
|
@@ -551,6 +539,18 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
|
|
|
551
539
|
agentProfile?: string | undefined;
|
|
552
540
|
};
|
|
553
541
|
};
|
|
542
|
+
} | {
|
|
543
|
+
output: {
|
|
544
|
+
error: string;
|
|
545
|
+
};
|
|
546
|
+
outputFormat: "json";
|
|
547
|
+
status: 400 | 404 | 409;
|
|
548
|
+
input: {
|
|
549
|
+
json: {
|
|
550
|
+
task: string;
|
|
551
|
+
agentProfile?: string | undefined;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
554
|
};
|
|
555
555
|
};
|
|
556
556
|
}, "/", "/plan">;
|
|
@@ -598,34 +598,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
598
598
|
"/config": {
|
|
599
599
|
$put: {
|
|
600
600
|
output: {
|
|
601
|
-
|
|
602
|
-
effectiveArchiveOnMerge: boolean;
|
|
603
|
-
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
604
|
-
baseBranch: string | null;
|
|
605
|
-
defaultRunner: string;
|
|
606
|
-
systemPrompt: string | null;
|
|
607
|
-
defaultModels: {
|
|
608
|
-
[x: string]: string | undefined;
|
|
609
|
-
};
|
|
610
|
-
modelsLocked: boolean;
|
|
611
|
-
maxParallel: number;
|
|
612
|
-
memoryLimitMb: number | null;
|
|
613
|
-
worktreeRetention: number;
|
|
614
|
-
liveTitleUpdates: boolean | null;
|
|
615
|
-
reviewGate: boolean | null;
|
|
616
|
-
worktreeSetup: {
|
|
617
|
-
commands: string[];
|
|
618
|
-
timeoutSeconds: number;
|
|
619
|
-
} | null;
|
|
620
|
-
worktreeSetupIssue: string | null;
|
|
621
|
-
worktreeTeardown: {
|
|
622
|
-
commands: string[];
|
|
623
|
-
timeoutSeconds: number;
|
|
624
|
-
} | null;
|
|
625
|
-
worktreeTeardownIssue: string | null;
|
|
601
|
+
error: string;
|
|
626
602
|
};
|
|
627
603
|
outputFormat: "json";
|
|
628
|
-
status:
|
|
604
|
+
status: 409;
|
|
629
605
|
input: {
|
|
630
606
|
json: {
|
|
631
607
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -653,7 +629,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
653
629
|
error: string;
|
|
654
630
|
};
|
|
655
631
|
outputFormat: "json";
|
|
656
|
-
status:
|
|
632
|
+
status: 500;
|
|
657
633
|
input: {
|
|
658
634
|
json: {
|
|
659
635
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -678,10 +654,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
678
654
|
};
|
|
679
655
|
} | {
|
|
680
656
|
output: {
|
|
681
|
-
|
|
657
|
+
archiveOnMerge: boolean | null;
|
|
658
|
+
effectiveArchiveOnMerge: boolean;
|
|
659
|
+
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
660
|
+
baseBranch: string | null;
|
|
661
|
+
defaultRunner: string;
|
|
662
|
+
systemPrompt: string | null;
|
|
663
|
+
defaultModels: {
|
|
664
|
+
[x: string]: string | undefined;
|
|
665
|
+
};
|
|
666
|
+
modelsLocked: boolean;
|
|
667
|
+
maxParallel: number;
|
|
668
|
+
memoryLimitMb: number | null;
|
|
669
|
+
worktreeRetention: number;
|
|
670
|
+
liveTitleUpdates: boolean | null;
|
|
671
|
+
reviewGate: boolean | null;
|
|
672
|
+
worktreeSetup: {
|
|
673
|
+
commands: string[];
|
|
674
|
+
timeoutSeconds: number;
|
|
675
|
+
} | null;
|
|
676
|
+
worktreeSetupIssue: string | null;
|
|
677
|
+
worktreeTeardown: {
|
|
678
|
+
commands: string[];
|
|
679
|
+
timeoutSeconds: number;
|
|
680
|
+
} | null;
|
|
681
|
+
worktreeTeardownIssue: string | null;
|
|
682
682
|
};
|
|
683
683
|
outputFormat: "json";
|
|
684
|
-
status:
|
|
684
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
685
685
|
input: {
|
|
686
686
|
json: {
|
|
687
687
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -795,14 +795,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
795
795
|
"/agent-config/:id": {
|
|
796
796
|
$put: {
|
|
797
797
|
output: {
|
|
798
|
-
|
|
799
|
-
path: string;
|
|
800
|
-
exists: boolean;
|
|
801
|
-
content: string;
|
|
802
|
-
version: string | null;
|
|
798
|
+
error: string;
|
|
803
799
|
};
|
|
804
800
|
outputFormat: "json";
|
|
805
|
-
status:
|
|
801
|
+
status: 404;
|
|
806
802
|
input: {
|
|
807
803
|
json: {
|
|
808
804
|
content: string;
|
|
@@ -815,10 +811,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
815
811
|
};
|
|
816
812
|
} | {
|
|
817
813
|
output: {
|
|
818
|
-
|
|
814
|
+
id: string;
|
|
815
|
+
path: string;
|
|
816
|
+
exists: boolean;
|
|
817
|
+
content: string;
|
|
818
|
+
version: string | null;
|
|
819
819
|
};
|
|
820
820
|
outputFormat: "json";
|
|
821
|
-
status:
|
|
821
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
822
822
|
input: {
|
|
823
823
|
json: {
|
|
824
824
|
content: string;
|
|
@@ -851,9 +851,12 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
851
851
|
export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
852
852
|
"/runs/:id/events": {
|
|
853
853
|
$get: {
|
|
854
|
-
output: {
|
|
855
|
-
|
|
856
|
-
|
|
854
|
+
output: {
|
|
855
|
+
error: string;
|
|
856
|
+
code?: "invalid_input" | undefined;
|
|
857
|
+
};
|
|
858
|
+
outputFormat: "json";
|
|
859
|
+
status: 400;
|
|
857
860
|
input: {
|
|
858
861
|
param: {
|
|
859
862
|
id: string;
|
|
@@ -865,12 +868,9 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
|
|
|
865
868
|
};
|
|
866
869
|
};
|
|
867
870
|
} | {
|
|
868
|
-
output: {
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
};
|
|
872
|
-
outputFormat: "json";
|
|
873
|
-
status: 400;
|
|
871
|
+
output: {};
|
|
872
|
+
outputFormat: string;
|
|
873
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
874
874
|
input: {
|
|
875
875
|
param: {
|
|
876
876
|
id: string;
|
|
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
20
|
outputFormat: "json";
|
|
21
|
-
status:
|
|
21
|
+
status: 400;
|
|
22
22
|
input: {
|
|
23
23
|
json: {
|
|
24
24
|
provider: string;
|
|
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
30
30
|
error: string;
|
|
31
31
|
};
|
|
32
32
|
outputFormat: "json";
|
|
33
|
-
status:
|
|
33
|
+
status: 409;
|
|
34
34
|
input: {
|
|
35
35
|
json: {
|
|
36
36
|
provider: string;
|
|
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
31
31
|
error: string;
|
|
32
32
|
};
|
|
33
33
|
outputFormat: "json";
|
|
34
|
-
status:
|
|
34
|
+
status: 400;
|
|
35
35
|
input: {
|
|
36
36
|
json: {
|
|
37
37
|
target: string;
|
|
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 409;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,10 +138,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
141
|
+
runId: string;
|
|
142
|
+
worktreeReclaimedAt: string;
|
|
142
143
|
};
|
|
143
144
|
outputFormat: "json";
|
|
144
|
-
status:
|
|
145
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
145
146
|
input: {
|
|
146
147
|
param: {
|
|
147
148
|
runId: string;
|
|
@@ -153,11 +154,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
153
154
|
};
|
|
154
155
|
} | {
|
|
155
156
|
output: {
|
|
156
|
-
|
|
157
|
-
worktreeReclaimedAt: string;
|
|
157
|
+
error: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: 404 | 409;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -296,14 +296,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
296
296
|
"/repo/branches/delete": {
|
|
297
297
|
$post: {
|
|
298
298
|
output: {
|
|
299
|
-
|
|
299
|
+
deleted: string[];
|
|
300
300
|
refused: {
|
|
301
301
|
name: string;
|
|
302
302
|
reason: string;
|
|
303
303
|
}[];
|
|
304
|
+
dropped?: {
|
|
305
|
+
sha: string;
|
|
306
|
+
subject: string;
|
|
307
|
+
}[] | undefined;
|
|
304
308
|
};
|
|
305
309
|
outputFormat: "json";
|
|
306
|
-
status:
|
|
310
|
+
status: 200;
|
|
307
311
|
input: {
|
|
308
312
|
json: {
|
|
309
313
|
names: string[];
|
|
@@ -312,18 +316,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
312
316
|
};
|
|
313
317
|
} | {
|
|
314
318
|
output: {
|
|
315
|
-
|
|
319
|
+
error: string;
|
|
316
320
|
refused: {
|
|
317
321
|
name: string;
|
|
318
322
|
reason: string;
|
|
319
323
|
}[];
|
|
320
|
-
dropped?: {
|
|
321
|
-
sha: string;
|
|
322
|
-
subject: string;
|
|
323
|
-
}[] | undefined;
|
|
324
324
|
};
|
|
325
325
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
326
|
+
status: 409;
|
|
327
327
|
input: {
|
|
328
328
|
json: {
|
|
329
329
|
names: string[];
|
|
@@ -344,19 +344,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: string;
|
|
348
|
-
outputFormat: "text";
|
|
349
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
-
input: {
|
|
351
|
-
query: {
|
|
352
|
-
structured?: string | undefined;
|
|
353
|
-
};
|
|
354
|
-
} & {
|
|
355
|
-
param: {
|
|
356
|
-
sha: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
} | {
|
|
360
347
|
output: {
|
|
361
348
|
error: string;
|
|
362
349
|
code?: "invalid_input" | undefined;
|
|
@@ -420,6 +407,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
420
407
|
sha: string;
|
|
421
408
|
};
|
|
422
409
|
};
|
|
410
|
+
} | {
|
|
411
|
+
output: string;
|
|
412
|
+
outputFormat: "text";
|
|
413
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
+
input: {
|
|
415
|
+
query: {
|
|
416
|
+
structured?: string | undefined;
|
|
417
|
+
};
|
|
418
|
+
} & {
|
|
419
|
+
param: {
|
|
420
|
+
sha: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -442,15 +442,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
442
442
|
};
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
446
|
-
path: string;
|
|
447
|
-
size: number;
|
|
448
|
-
binary: boolean;
|
|
449
|
-
tooLarge: boolean;
|
|
450
|
-
content?: string | undefined;
|
|
445
|
+
error: string;
|
|
451
446
|
};
|
|
452
447
|
outputFormat: "json";
|
|
453
|
-
status:
|
|
448
|
+
status: 409;
|
|
454
449
|
input: {
|
|
455
450
|
param: {
|
|
456
451
|
sha: string;
|
|
@@ -462,10 +457,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
462
457
|
};
|
|
463
458
|
} | {
|
|
464
459
|
output: {
|
|
465
|
-
|
|
460
|
+
type: 'file';
|
|
461
|
+
path: string;
|
|
462
|
+
size: number;
|
|
463
|
+
binary: boolean;
|
|
464
|
+
tooLarge: boolean;
|
|
465
|
+
content?: string | undefined;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
469
469
|
input: {
|
|
470
470
|
param: {
|
|
471
471
|
sha: string;
|
|
@@ -493,15 +493,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
493
493
|
};
|
|
494
494
|
} | {
|
|
495
495
|
output: {
|
|
496
|
-
|
|
497
|
-
path: string;
|
|
498
|
-
size: number;
|
|
499
|
-
binary: boolean;
|
|
500
|
-
tooLarge: boolean;
|
|
501
|
-
content?: string | undefined;
|
|
496
|
+
error: string;
|
|
502
497
|
};
|
|
503
498
|
outputFormat: "json";
|
|
504
|
-
status:
|
|
499
|
+
status: 409;
|
|
505
500
|
input: {
|
|
506
501
|
query: {
|
|
507
502
|
path: string | string[];
|
|
@@ -509,10 +504,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
509
504
|
};
|
|
510
505
|
} | {
|
|
511
506
|
output: {
|
|
512
|
-
|
|
507
|
+
type: 'file';
|
|
508
|
+
path: string;
|
|
509
|
+
size: number;
|
|
510
|
+
binary: boolean;
|
|
511
|
+
tooLarge: boolean;
|
|
512
|
+
content?: string | undefined;
|
|
513
513
|
};
|
|
514
514
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
515
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
516
516
|
input: {
|
|
517
517
|
query: {
|
|
518
518
|
path: string | string[];
|
|
@@ -578,10 +578,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
578
578
|
"/repo/pull": {
|
|
579
579
|
$post: {
|
|
580
580
|
output: {
|
|
581
|
-
|
|
581
|
+
branch: string;
|
|
582
|
+
pulled: true;
|
|
583
|
+
summary: string;
|
|
582
584
|
};
|
|
583
585
|
outputFormat: "json";
|
|
584
|
-
status:
|
|
586
|
+
status: 200;
|
|
585
587
|
input: {
|
|
586
588
|
json: {
|
|
587
589
|
branch?: string | undefined;
|
|
@@ -590,12 +592,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
590
592
|
};
|
|
591
593
|
} | {
|
|
592
594
|
output: {
|
|
593
|
-
|
|
594
|
-
pulled: true;
|
|
595
|
-
summary: string;
|
|
595
|
+
error: string;
|
|
596
596
|
};
|
|
597
597
|
outputFormat: "json";
|
|
598
|
-
status:
|
|
598
|
+
status: 409;
|
|
599
599
|
input: {
|
|
600
600
|
json: {
|
|
601
601
|
branch?: string | undefined;
|
|
@@ -52,11 +52,15 @@ export declare function createRunnerInstallRoutes(options: {
|
|
|
52
52
|
"/runner-install/:runner": {
|
|
53
53
|
$post: {
|
|
54
54
|
output: {
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
supported: boolean;
|
|
56
|
+
installedVersion: string | null;
|
|
57
|
+
latestVersion: string | null;
|
|
58
|
+
updateAvailable: boolean;
|
|
59
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
60
|
+
error: string | null;
|
|
57
61
|
};
|
|
58
62
|
outputFormat: "json";
|
|
59
|
-
status:
|
|
63
|
+
status: 202;
|
|
60
64
|
input: {
|
|
61
65
|
param: {
|
|
62
66
|
runner: string;
|
|
@@ -68,15 +72,11 @@ export declare function createRunnerInstallRoutes(options: {
|
|
|
68
72
|
};
|
|
69
73
|
} | {
|
|
70
74
|
output: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
latestVersion: string | null;
|
|
74
|
-
updateAvailable: boolean;
|
|
75
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
76
|
-
error: string | null;
|
|
75
|
+
error: string;
|
|
76
|
+
code?: "invalid_input" | undefined;
|
|
77
77
|
};
|
|
78
78
|
outputFormat: "json";
|
|
79
|
-
status:
|
|
79
|
+
status: 400;
|
|
80
80
|
input: {
|
|
81
81
|
param: {
|
|
82
82
|
runner: string;
|