@hearsay-tools/squawk 0.19.0-dev.8640 → 0.19.0-dev.8642
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/automations/tools.d.ts +8 -8
- package/dist/boot.js +2 -0
- package/dist/boot.js.map +1 -1
- package/dist/contract/index.js +1 -1
- package/dist/core/agent-env.js +2 -0
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/http-route-registry.d.ts +37 -0
- package/dist/core/http-route-registry.js +47 -0
- package/dist/core/http-route-registry.js.map +1 -0
- package/dist/core/product-env.d.ts +2 -0
- package/dist/core/product-env.js +4 -0
- package/dist/core/product-env.js.map +1 -1
- package/dist/core/secret-redaction.d.ts +10 -4
- package/dist/core/secret-redaction.js +37 -0
- package/dist/core/secret-redaction.js.map +1 -1
- package/dist/features/mcp/cli.d.ts +4 -0
- package/dist/features/mcp/cli.js +19 -4
- package/dist/features/mcp/cli.js.map +1 -1
- package/dist/features/mcp/http.d.ts +23 -0
- package/dist/features/mcp/http.js +236 -0
- package/dist/features/mcp/http.js.map +1 -0
- package/dist/features/mcp/index.d.ts +6 -4
- package/dist/features/mcp/index.js +16 -4
- package/dist/features/mcp/index.js.map +1 -1
- package/dist/features/mcp/token-cli.d.ts +9 -0
- package/dist/features/mcp/token-cli.js +188 -0
- package/dist/features/mcp/token-cli.js.map +1 -0
- package/dist/features/mcp/tools.d.ts +4 -0
- package/dist/features/mcp/tools.js +24 -3
- package/dist/features/mcp/tools.js.map +1 -1
- package/dist/home/entry-authorization.js +1 -1
- package/dist/home/entry-authorization.js.map +1 -1
- package/dist/home/home.d.ts +2 -0
- package/dist/home/home.js +1 -0
- package/dist/home/home.js.map +1 -1
- package/dist/home/legacy-source.js +1 -1
- package/dist/home/legacy-source.js.map +1 -1
- package/dist/home/migration-plan.js +4 -4
- package/dist/home/migration-plan.js.map +1 -1
- package/dist/home/recovery-watch.js +2 -2
- package/dist/home/recovery-watch.js.map +1 -1
- package/dist/home/recovery.js +1 -1
- package/dist/home/recovery.js.map +1 -1
- package/dist/home/store.js +3 -3
- package/dist/home/store.js.map +1 -1
- package/dist/mcp-tokens.d.ts +85 -0
- package/dist/mcp-tokens.js +356 -0
- package/dist/mcp-tokens.js.map +1 -0
- package/dist/plugin/api.d.ts +3 -0
- package/dist/plugin/api.js +20 -1
- package/dist/plugin/api.js.map +1 -1
- package/dist/plugin/cli.js +1 -1
- package/dist/plugin/cli.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -0
- package/dist/plugin/index.js.map +1 -1
- package/dist/runs/record-write-rules.js +2 -2
- package/dist/runs/record-write-rules.js.map +1 -1
- package/dist/runs/run-redaction.d.ts +1 -0
- package/dist/runs/run-redaction.js +18 -7
- package/dist/runs/run-redaction.js.map +1 -1
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/home-recovery-routes.js +7 -4
- package/dist/server/home-recovery-routes.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/plugin-http-routes.d.ts +21 -0
- package/dist/server/plugin-http-routes.js +52 -0
- package/dist/server/plugin-http-routes.js.map +1 -0
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +460 -457
- package/dist/server/server.js +15 -3
- package/dist/server/server.js.map +1 -1
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/server-install/engine.js +25 -1
- package/dist/server-install/engine.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps-nginx.d.ts +14 -0
- package/dist/server-install/platforms/ubuntu-vps-nginx.js +85 -0
- package/dist/server-install/platforms/ubuntu-vps-nginx.js.map +1 -0
- package/dist/server-install/platforms/ubuntu-vps.d.ts +2 -11
- package/dist/server-install/platforms/ubuntu-vps.js +2 -67
- package/dist/server-install/platforms/ubuntu-vps.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-D7EK3_7b.js → accounts-section-RDVTJfi7.js} +1 -1
- package/web/dist/assets/{activity-motion-2BQBW4lA.js → activity-motion-B7km8QVK.js} +1 -1
- package/web/dist/assets/{activity-route-Ct06t8Y9.js → activity-route-CjE0yxn0.js} +1 -1
- package/web/dist/assets/{agent-config-section-D6Lcc7c5.js → agent-config-section-DQ1RaVK2.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-BnDBbzuG.js → agent-defaults-section-Dzm7jIza.js} +1 -1
- package/web/dist/assets/{appearance-CM6ahUyy.js → appearance-DQLHHfI4.js} +1 -1
- package/web/dist/assets/{automations-route-7B_DF4O1.js → automations-route-BcdL5f0K.js} +1 -1
- package/web/dist/assets/{commit-list-O4ugJ12w.js → commit-list-CN1zX-0X.js} +1 -1
- package/web/dist/assets/{diff-controls-BpTFu29H.js → diff-controls-BRa3141W.js} +1 -1
- package/web/dist/assets/{diff-DKZvZQ2G.js → diff-hxqBOfZH.js} +2 -2
- package/web/dist/assets/{diff-view-D4yXb2w7.js → diff-view-CwlKCj5V.js} +1 -1
- package/web/dist/assets/{file-preview-CUhut4J9.js → file-preview-VvCzp02k.js} +1 -1
- package/web/dist/assets/{git-toolbar-po0QJciG.js → git-toolbar-BulcGzsv.js} +1 -1
- package/web/dist/assets/{github-TgLTixC7.js → github-By3yOcFH.js} +1 -1
- package/web/dist/assets/{global-activity-route-OHCmn0ZO.js → global-activity-route-C4-bmfh_.js} +1 -1
- package/web/dist/assets/{image-preview-Sisptm3b.js → image-preview-Pgf8bnzY.js} +1 -1
- package/web/dist/assets/{index-CvVmG4Yu.js → index-DNQcTHxV.js} +5 -5
- package/web/dist/assets/{markdown-jle_P0a2.js → markdown-9L65ixU6.js} +1 -1
- package/web/dist/assets/{notifications-section-Bhqr3yOz.js → notifications-section-QWmuj2j2.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CBt_nlmX.js → preview-pane-connected-DAM2Snwh.js} +1 -1
- package/web/dist/assets/{projects-section-DnGSWHZJ.js → projects-section-DxubjpZI.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-8kBTviSw.js → prompt-templates-section-CkQneT1G.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-D7G8cXSx.js → remote-settings-notice-COojb6XK.js} +1 -1
- package/web/dist/assets/{repo-git-DqBUjQMh.js → repo-git-Mgk4Qcmo.js} +1 -1
- package/web/dist/assets/{report-reader-DtSBGt0O.js → report-reader-zWwalJDN.js} +1 -1
- package/web/dist/assets/{reports-ea3-iuBm.js → reports-BCHWt3zy.js} +1 -1
- package/web/dist/assets/{resources-section-CpXFFHXl.js → resources-section-Cb2WIqNv.js} +1 -1
- package/web/dist/assets/{run-header-BWTrj0_2.js → run-header-DeprqSP7.js} +1 -1
- package/web/dist/assets/{select-aiSr0uTB.js → select-y3oRuA2s.js} +1 -1
- package/web/dist/assets/{session-context-section-BRaZbxVO.js → session-context-section-CiPNMiL7.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-DMIqQhkC.js → settings-agent-picker-CJJJncuA.js} +1 -1
- package/web/dist/assets/{settings-shell-DwMbZhxp.js → settings-shell-CLToW28f.js} +1 -1
- package/web/dist/assets/{sidebar-section-ClrORHpO.js → sidebar-section-VOYJarPd.js} +1 -1
- package/web/dist/assets/{skills-B97qjJ7j.js → skills-BySF3yBA.js} +1 -1
- package/web/dist/assets/{task-changes-BEfLx9dF.js → task-changes-NUwvUglx.js} +1 -1
- package/web/dist/assets/{task-commits-6f0GpNF7.js → task-commits-CpV1Hz9L.js} +1 -1
- package/web/dist/assets/{task-files-CA2xTRaM.js → task-files-Bu-L_NRW.js} +1 -1
- package/web/dist/assets/{task-github-item-BWapcDJr.js → task-github-item-DhiTqCjk.js} +1 -1
- package/web/dist/assets/{task-thread-0rKVutjQ.js → task-thread-CKkTeQdi.js} +1 -1
- package/web/dist/assets/{thread-state-C3eDWXYs.js → thread-state-B_ZqjjRr.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DrAmCxn8.js → use-hand-to-agent-state-K864D69i.js} +1 -1
- package/web/dist/assets/{workflows-CW-1K6tq.js → workflows-DlTkuM0J.js} +1 -1
- package/web/dist/assets/{workspace-tools-BzDQrP3y.js → workspace-tools-BRK7f1Hk.js} +1 -1
- package/web/dist/assets/{worktrees-section-ay1jJn_w.js → worktrees-section-BXI0-7HH.js} +1 -1
- package/web/dist/index.html +1 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { AutomationStore } from '../automations/store.ts';
|
|
|
9
9
|
import type { IncomingMessage } from 'node:http';
|
|
10
10
|
import { Hono } from 'hono';
|
|
11
11
|
import { TaskWebhooks } from '../runs/webhook.ts';
|
|
12
|
+
import type { HttpRouteDefinition } from '../core/http-route-registry.ts';
|
|
12
13
|
import { type detectEnvironment } from '../core/backend-detect.ts';
|
|
13
14
|
import { ProviderAuthService } from '../core/provider-auth.ts';
|
|
14
15
|
import { RunnerModelCatalog } from '../core/runner-model-catalog.ts';
|
|
@@ -138,6 +139,8 @@ export interface ServerDeps extends ActivityServerDeps {
|
|
|
138
139
|
/** Re-arm the workspace automation timer after definition mutations. */
|
|
139
140
|
automationsChanged?: () => void;
|
|
140
141
|
archiveOnMergeChanged?: () => void;
|
|
142
|
+
/** Non-RPC plugin HTTP routes override for isolated tests; defaults to sealed `registeredHttpRoutes()`. */
|
|
143
|
+
httpRoutes?: readonly HttpRouteDefinition[] | undefined;
|
|
141
144
|
}
|
|
142
145
|
export { WorkspaceEventBus, type ProjectApiEnv, type WorkspaceEventName } from './server-types.ts';
|
|
143
146
|
/** One row of the mirrored project-route table. */
|
|
@@ -156,6 +159,221 @@ export interface ProjectRouteInfo {
|
|
|
156
159
|
export declare function projectRouteManifest(app: Hono): ProjectRouteInfo[];
|
|
157
160
|
export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse, UpdateProjectResponse } from '../contract/index.js';
|
|
158
161
|
export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
162
|
+
"/models": {
|
|
163
|
+
$get: {
|
|
164
|
+
output: {
|
|
165
|
+
error: string;
|
|
166
|
+
code?: "invalid_input" | undefined;
|
|
167
|
+
};
|
|
168
|
+
outputFormat: "json";
|
|
169
|
+
status: 400;
|
|
170
|
+
input: {
|
|
171
|
+
query: {
|
|
172
|
+
runner: string | string[];
|
|
173
|
+
profileId?: string | undefined;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
} | {
|
|
177
|
+
output: {
|
|
178
|
+
runner: string;
|
|
179
|
+
models: {
|
|
180
|
+
id: string;
|
|
181
|
+
label: string;
|
|
182
|
+
description: string;
|
|
183
|
+
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
184
|
+
}[];
|
|
185
|
+
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
186
|
+
stale: boolean;
|
|
187
|
+
reason?: string;
|
|
188
|
+
};
|
|
189
|
+
outputFormat: "json";
|
|
190
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
191
|
+
input: {
|
|
192
|
+
query: {
|
|
193
|
+
runner: string | string[];
|
|
194
|
+
profileId?: string | undefined;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
} | {
|
|
198
|
+
output: {
|
|
199
|
+
error: string;
|
|
200
|
+
};
|
|
201
|
+
outputFormat: "json";
|
|
202
|
+
status: 400;
|
|
203
|
+
input: {
|
|
204
|
+
query: {
|
|
205
|
+
runner: string | string[];
|
|
206
|
+
profileId?: string | undefined;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
212
|
+
"/fs/browse": {
|
|
213
|
+
$get: {
|
|
214
|
+
output: {
|
|
215
|
+
error: string;
|
|
216
|
+
code?: "invalid_input" | undefined;
|
|
217
|
+
};
|
|
218
|
+
outputFormat: "json";
|
|
219
|
+
status: 400;
|
|
220
|
+
input: {
|
|
221
|
+
query: {
|
|
222
|
+
path?: string | undefined;
|
|
223
|
+
showHidden?: string | undefined;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
} | {
|
|
227
|
+
output: {
|
|
228
|
+
error: string;
|
|
229
|
+
};
|
|
230
|
+
outputFormat: "json";
|
|
231
|
+
status: 400 | 403 | 404;
|
|
232
|
+
input: {
|
|
233
|
+
query: {
|
|
234
|
+
path?: string | undefined;
|
|
235
|
+
showHidden?: string | undefined;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
} | {
|
|
239
|
+
output: {
|
|
240
|
+
path: string;
|
|
241
|
+
parent: string | null;
|
|
242
|
+
dirs: {
|
|
243
|
+
name: string;
|
|
244
|
+
path: string;
|
|
245
|
+
isRepo: boolean;
|
|
246
|
+
}[];
|
|
247
|
+
truncated: boolean;
|
|
248
|
+
};
|
|
249
|
+
outputFormat: "json";
|
|
250
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
251
|
+
input: {
|
|
252
|
+
query: {
|
|
253
|
+
path?: string | undefined;
|
|
254
|
+
showHidden?: string | undefined;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
260
|
+
"/workspace/events": {
|
|
261
|
+
$get: {
|
|
262
|
+
output: {};
|
|
263
|
+
outputFormat: string;
|
|
264
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
265
|
+
input: {
|
|
266
|
+
query: {
|
|
267
|
+
runs?: "summary" | undefined;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
} | {
|
|
271
|
+
output: {
|
|
272
|
+
error: string;
|
|
273
|
+
code?: "invalid_input" | undefined;
|
|
274
|
+
};
|
|
275
|
+
outputFormat: "json";
|
|
276
|
+
status: 400;
|
|
277
|
+
input: {
|
|
278
|
+
query: {
|
|
279
|
+
runs?: "summary" | undefined;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
285
|
+
"/health": {
|
|
286
|
+
$get: {
|
|
287
|
+
output: {
|
|
288
|
+
version: string;
|
|
289
|
+
latestVersion?: string | undefined;
|
|
290
|
+
repoRoot: string;
|
|
291
|
+
repo: {
|
|
292
|
+
root: string;
|
|
293
|
+
branch: string;
|
|
294
|
+
remote?: string | undefined;
|
|
295
|
+
} | null;
|
|
296
|
+
checks: {
|
|
297
|
+
name: string;
|
|
298
|
+
available: boolean;
|
|
299
|
+
version?: string;
|
|
300
|
+
hint?: string;
|
|
301
|
+
}[];
|
|
302
|
+
defaultRunner: string;
|
|
303
|
+
forge: {
|
|
304
|
+
available?: boolean | undefined;
|
|
305
|
+
reason?: string;
|
|
306
|
+
kind: "github";
|
|
307
|
+
} | null;
|
|
308
|
+
capabilities: {
|
|
309
|
+
localHandoff: boolean;
|
|
310
|
+
settingsAdmin: boolean;
|
|
311
|
+
remoteSettingsAdmin: boolean;
|
|
312
|
+
automations: boolean;
|
|
313
|
+
preview: boolean;
|
|
314
|
+
tokenMetrics: boolean;
|
|
315
|
+
tokenUsageMetrics: boolean;
|
|
316
|
+
costMetrics: boolean;
|
|
317
|
+
};
|
|
318
|
+
projects: {
|
|
319
|
+
id: string;
|
|
320
|
+
name: string;
|
|
321
|
+
}[];
|
|
322
|
+
bootProject: string;
|
|
323
|
+
plugins: {
|
|
324
|
+
loaded: {
|
|
325
|
+
name: string;
|
|
326
|
+
source: "bundled" | "host";
|
|
327
|
+
path?: string | undefined;
|
|
328
|
+
}[];
|
|
329
|
+
failed: {
|
|
330
|
+
name: string;
|
|
331
|
+
source: "bundled" | "host";
|
|
332
|
+
path?: string | undefined;
|
|
333
|
+
error: string;
|
|
334
|
+
}[];
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
outputFormat: "json";
|
|
338
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
339
|
+
input: {};
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
343
|
+
"/automation-checks/:checkId": {
|
|
344
|
+
$get: {
|
|
345
|
+
output: {
|
|
346
|
+
id: string;
|
|
347
|
+
automationId: string;
|
|
348
|
+
mode: 'preview' | 'execute';
|
|
349
|
+
status: 'queued' | 'running' | 'complete' | 'error';
|
|
350
|
+
createdAt: string;
|
|
351
|
+
completedAt?: string;
|
|
352
|
+
matches?: number;
|
|
353
|
+
truncated?: boolean;
|
|
354
|
+
error?: string;
|
|
355
|
+
};
|
|
356
|
+
outputFormat: "json";
|
|
357
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
358
|
+
input: {
|
|
359
|
+
param: {
|
|
360
|
+
checkId: string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
} | {
|
|
364
|
+
output: {
|
|
365
|
+
error: string;
|
|
366
|
+
};
|
|
367
|
+
outputFormat: "json";
|
|
368
|
+
status: 404;
|
|
369
|
+
input: {
|
|
370
|
+
param: {
|
|
371
|
+
checkId: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
159
377
|
"/workspace/activity": {
|
|
160
378
|
$get: {
|
|
161
379
|
output: {
|
|
@@ -429,221 +647,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
429
647
|
};
|
|
430
648
|
};
|
|
431
649
|
};
|
|
432
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
433
|
-
"/models": {
|
|
434
|
-
$get: {
|
|
435
|
-
output: {
|
|
436
|
-
error: string;
|
|
437
|
-
code?: "invalid_input" | undefined;
|
|
438
|
-
};
|
|
439
|
-
outputFormat: "json";
|
|
440
|
-
status: 400;
|
|
441
|
-
input: {
|
|
442
|
-
query: {
|
|
443
|
-
runner: string | string[];
|
|
444
|
-
profileId?: string | undefined;
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
} | {
|
|
448
|
-
output: {
|
|
449
|
-
runner: string;
|
|
450
|
-
models: {
|
|
451
|
-
id: string;
|
|
452
|
-
label: string;
|
|
453
|
-
description: string;
|
|
454
|
-
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
455
|
-
}[];
|
|
456
|
-
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
457
|
-
stale: boolean;
|
|
458
|
-
reason?: string;
|
|
459
|
-
};
|
|
460
|
-
outputFormat: "json";
|
|
461
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
462
|
-
input: {
|
|
463
|
-
query: {
|
|
464
|
-
runner: string | string[];
|
|
465
|
-
profileId?: string | undefined;
|
|
466
|
-
};
|
|
467
|
-
};
|
|
468
|
-
} | {
|
|
469
|
-
output: {
|
|
470
|
-
error: string;
|
|
471
|
-
};
|
|
472
|
-
outputFormat: "json";
|
|
473
|
-
status: 400;
|
|
474
|
-
input: {
|
|
475
|
-
query: {
|
|
476
|
-
runner: string | string[];
|
|
477
|
-
profileId?: string | undefined;
|
|
478
|
-
};
|
|
479
|
-
};
|
|
480
|
-
};
|
|
481
|
-
};
|
|
482
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
483
|
-
"/fs/browse": {
|
|
484
|
-
$get: {
|
|
485
|
-
output: {
|
|
486
|
-
error: string;
|
|
487
|
-
code?: "invalid_input" | undefined;
|
|
488
|
-
};
|
|
489
|
-
outputFormat: "json";
|
|
490
|
-
status: 400;
|
|
491
|
-
input: {
|
|
492
|
-
query: {
|
|
493
|
-
path?: string | undefined;
|
|
494
|
-
showHidden?: string | undefined;
|
|
495
|
-
};
|
|
496
|
-
};
|
|
497
|
-
} | {
|
|
498
|
-
output: {
|
|
499
|
-
error: string;
|
|
500
|
-
};
|
|
501
|
-
outputFormat: "json";
|
|
502
|
-
status: 400 | 403 | 404;
|
|
503
|
-
input: {
|
|
504
|
-
query: {
|
|
505
|
-
path?: string | undefined;
|
|
506
|
-
showHidden?: string | undefined;
|
|
507
|
-
};
|
|
508
|
-
};
|
|
509
|
-
} | {
|
|
510
|
-
output: {
|
|
511
|
-
path: string;
|
|
512
|
-
parent: string | null;
|
|
513
|
-
dirs: {
|
|
514
|
-
name: string;
|
|
515
|
-
path: string;
|
|
516
|
-
isRepo: boolean;
|
|
517
|
-
}[];
|
|
518
|
-
truncated: boolean;
|
|
519
|
-
};
|
|
520
|
-
outputFormat: "json";
|
|
521
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
522
|
-
input: {
|
|
523
|
-
query: {
|
|
524
|
-
path?: string | undefined;
|
|
525
|
-
showHidden?: string | undefined;
|
|
526
|
-
};
|
|
527
|
-
};
|
|
528
|
-
};
|
|
529
|
-
};
|
|
530
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
531
|
-
"/workspace/events": {
|
|
532
|
-
$get: {
|
|
533
|
-
output: {};
|
|
534
|
-
outputFormat: string;
|
|
535
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
536
|
-
input: {
|
|
537
|
-
query: {
|
|
538
|
-
runs?: "summary" | undefined;
|
|
539
|
-
};
|
|
540
|
-
};
|
|
541
|
-
} | {
|
|
542
|
-
output: {
|
|
543
|
-
error: string;
|
|
544
|
-
code?: "invalid_input" | undefined;
|
|
545
|
-
};
|
|
546
|
-
outputFormat: "json";
|
|
547
|
-
status: 400;
|
|
548
|
-
input: {
|
|
549
|
-
query: {
|
|
550
|
-
runs?: "summary" | undefined;
|
|
551
|
-
};
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
556
|
-
"/health": {
|
|
557
|
-
$get: {
|
|
558
|
-
output: {
|
|
559
|
-
version: string;
|
|
560
|
-
latestVersion?: string | undefined;
|
|
561
|
-
repoRoot: string;
|
|
562
|
-
repo: {
|
|
563
|
-
root: string;
|
|
564
|
-
branch: string;
|
|
565
|
-
remote?: string | undefined;
|
|
566
|
-
} | null;
|
|
567
|
-
checks: {
|
|
568
|
-
name: string;
|
|
569
|
-
available: boolean;
|
|
570
|
-
version?: string;
|
|
571
|
-
hint?: string;
|
|
572
|
-
}[];
|
|
573
|
-
defaultRunner: string;
|
|
574
|
-
forge: {
|
|
575
|
-
available?: boolean | undefined;
|
|
576
|
-
reason?: string;
|
|
577
|
-
kind: "github";
|
|
578
|
-
} | null;
|
|
579
|
-
capabilities: {
|
|
580
|
-
localHandoff: boolean;
|
|
581
|
-
settingsAdmin: boolean;
|
|
582
|
-
remoteSettingsAdmin: boolean;
|
|
583
|
-
automations: boolean;
|
|
584
|
-
preview: boolean;
|
|
585
|
-
tokenMetrics: boolean;
|
|
586
|
-
tokenUsageMetrics: boolean;
|
|
587
|
-
costMetrics: boolean;
|
|
588
|
-
};
|
|
589
|
-
projects: {
|
|
590
|
-
id: string;
|
|
591
|
-
name: string;
|
|
592
|
-
}[];
|
|
593
|
-
bootProject: string;
|
|
594
|
-
plugins: {
|
|
595
|
-
loaded: {
|
|
596
|
-
name: string;
|
|
597
|
-
source: "bundled" | "host";
|
|
598
|
-
path?: string | undefined;
|
|
599
|
-
}[];
|
|
600
|
-
failed: {
|
|
601
|
-
name: string;
|
|
602
|
-
source: "bundled" | "host";
|
|
603
|
-
path?: string | undefined;
|
|
604
|
-
error: string;
|
|
605
|
-
}[];
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
outputFormat: "json";
|
|
609
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
610
|
-
input: {};
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
614
|
-
"/automation-checks/:checkId": {
|
|
615
|
-
$get: {
|
|
616
|
-
output: {
|
|
617
|
-
id: string;
|
|
618
|
-
automationId: string;
|
|
619
|
-
mode: 'preview' | 'execute';
|
|
620
|
-
status: 'queued' | 'running' | 'complete' | 'error';
|
|
621
|
-
createdAt: string;
|
|
622
|
-
completedAt?: string;
|
|
623
|
-
matches?: number;
|
|
624
|
-
truncated?: boolean;
|
|
625
|
-
error?: string;
|
|
626
|
-
};
|
|
627
|
-
outputFormat: "json";
|
|
628
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
629
|
-
input: {
|
|
630
|
-
param: {
|
|
631
|
-
checkId: string;
|
|
632
|
-
};
|
|
633
|
-
};
|
|
634
|
-
} | {
|
|
635
|
-
output: {
|
|
636
|
-
error: string;
|
|
637
|
-
};
|
|
638
|
-
outputFormat: "json";
|
|
639
|
-
status: 404;
|
|
640
|
-
input: {
|
|
641
|
-
param: {
|
|
642
|
-
checkId: string;
|
|
643
|
-
};
|
|
644
|
-
};
|
|
645
|
-
};
|
|
646
|
-
};
|
|
647
650
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
648
651
|
"/workspace/runs-index": {
|
|
649
652
|
$get: {
|
|
@@ -3392,94 +3395,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3392
3395
|
};
|
|
3393
3396
|
};
|
|
3394
3397
|
};
|
|
3395
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3396
|
-
"/reports/state": {
|
|
3397
|
-
$get: {
|
|
3398
|
-
output: {
|
|
3399
|
-
error: string;
|
|
3400
|
-
};
|
|
3401
|
-
outputFormat: "json";
|
|
3402
|
-
status: 409;
|
|
3403
|
-
input: {};
|
|
3404
|
-
} | {
|
|
3405
|
-
output: {
|
|
3406
|
-
epoch: string;
|
|
3407
|
-
generation: number;
|
|
3408
|
-
metadataGeneration: number;
|
|
3409
|
-
};
|
|
3410
|
-
outputFormat: "json";
|
|
3411
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3412
|
-
input: {};
|
|
3413
|
-
};
|
|
3414
|
-
};
|
|
3415
|
-
} & {
|
|
3416
|
-
"/reports": {
|
|
3417
|
-
$get: {
|
|
3418
|
-
output: {
|
|
3419
|
-
error: string;
|
|
3420
|
-
code?: "invalid_input" | undefined;
|
|
3421
|
-
};
|
|
3422
|
-
outputFormat: "json";
|
|
3423
|
-
status: 400;
|
|
3424
|
-
input: {
|
|
3425
|
-
query: {
|
|
3426
|
-
q?: string | undefined;
|
|
3427
|
-
before?: string | undefined;
|
|
3428
|
-
limit?: number | undefined;
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
} | {
|
|
3432
|
-
output: {
|
|
3433
|
-
error: string;
|
|
3434
|
-
};
|
|
3435
|
-
outputFormat: "json";
|
|
3436
|
-
status: 409;
|
|
3437
|
-
input: {
|
|
3438
|
-
query: {
|
|
3439
|
-
q?: string | undefined;
|
|
3440
|
-
before?: string | undefined;
|
|
3441
|
-
limit?: number | undefined;
|
|
3442
|
-
};
|
|
3443
|
-
};
|
|
3444
|
-
} | {
|
|
3445
|
-
output: {
|
|
3446
|
-
error: string;
|
|
3447
|
-
};
|
|
3448
|
-
outputFormat: "json";
|
|
3449
|
-
status: 400;
|
|
3450
|
-
input: {
|
|
3451
|
-
query: {
|
|
3452
|
-
q?: string | undefined;
|
|
3453
|
-
before?: string | undefined;
|
|
3454
|
-
limit?: number | undefined;
|
|
3455
|
-
};
|
|
3456
|
-
};
|
|
3457
|
-
} | {
|
|
3458
|
-
output: {
|
|
3459
|
-
reports: {
|
|
3460
|
-
id: string;
|
|
3461
|
-
runId: string;
|
|
3462
|
-
name: string;
|
|
3463
|
-
title: string;
|
|
3464
|
-
createdAt: string;
|
|
3465
|
-
size: number;
|
|
3466
|
-
taskTitle: string;
|
|
3467
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3468
|
-
}[];
|
|
3469
|
-
nextCursor: string | null;
|
|
3470
|
-
total: number;
|
|
3471
|
-
};
|
|
3472
|
-
outputFormat: "json";
|
|
3473
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3474
|
-
input: {
|
|
3475
|
-
query: {
|
|
3476
|
-
q?: string | undefined;
|
|
3477
|
-
before?: string | undefined;
|
|
3478
|
-
limit?: number | undefined;
|
|
3479
|
-
};
|
|
3480
|
-
};
|
|
3481
|
-
};
|
|
3482
|
-
};
|
|
3483
3398
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3484
3399
|
"/open-targets": {
|
|
3485
3400
|
$get: {
|
|
@@ -3968,6 +3883,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3968
3883
|
};
|
|
3969
3884
|
};
|
|
3970
3885
|
};
|
|
3886
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3887
|
+
"/reports/state": {
|
|
3888
|
+
$get: {
|
|
3889
|
+
output: {
|
|
3890
|
+
error: string;
|
|
3891
|
+
};
|
|
3892
|
+
outputFormat: "json";
|
|
3893
|
+
status: 409;
|
|
3894
|
+
input: {};
|
|
3895
|
+
} | {
|
|
3896
|
+
output: {
|
|
3897
|
+
epoch: string;
|
|
3898
|
+
generation: number;
|
|
3899
|
+
metadataGeneration: number;
|
|
3900
|
+
};
|
|
3901
|
+
outputFormat: "json";
|
|
3902
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3903
|
+
input: {};
|
|
3904
|
+
};
|
|
3905
|
+
};
|
|
3906
|
+
} & {
|
|
3907
|
+
"/reports": {
|
|
3908
|
+
$get: {
|
|
3909
|
+
output: {
|
|
3910
|
+
error: string;
|
|
3911
|
+
code?: "invalid_input" | undefined;
|
|
3912
|
+
};
|
|
3913
|
+
outputFormat: "json";
|
|
3914
|
+
status: 400;
|
|
3915
|
+
input: {
|
|
3916
|
+
query: {
|
|
3917
|
+
q?: string | undefined;
|
|
3918
|
+
before?: string | undefined;
|
|
3919
|
+
limit?: number | undefined;
|
|
3920
|
+
};
|
|
3921
|
+
};
|
|
3922
|
+
} | {
|
|
3923
|
+
output: {
|
|
3924
|
+
error: string;
|
|
3925
|
+
};
|
|
3926
|
+
outputFormat: "json";
|
|
3927
|
+
status: 409;
|
|
3928
|
+
input: {
|
|
3929
|
+
query: {
|
|
3930
|
+
q?: string | undefined;
|
|
3931
|
+
before?: string | undefined;
|
|
3932
|
+
limit?: number | undefined;
|
|
3933
|
+
};
|
|
3934
|
+
};
|
|
3935
|
+
} | {
|
|
3936
|
+
output: {
|
|
3937
|
+
error: string;
|
|
3938
|
+
};
|
|
3939
|
+
outputFormat: "json";
|
|
3940
|
+
status: 400;
|
|
3941
|
+
input: {
|
|
3942
|
+
query: {
|
|
3943
|
+
q?: string | undefined;
|
|
3944
|
+
before?: string | undefined;
|
|
3945
|
+
limit?: number | undefined;
|
|
3946
|
+
};
|
|
3947
|
+
};
|
|
3948
|
+
} | {
|
|
3949
|
+
output: {
|
|
3950
|
+
reports: {
|
|
3951
|
+
id: string;
|
|
3952
|
+
runId: string;
|
|
3953
|
+
name: string;
|
|
3954
|
+
title: string;
|
|
3955
|
+
createdAt: string;
|
|
3956
|
+
size: number;
|
|
3957
|
+
taskTitle: string;
|
|
3958
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3959
|
+
}[];
|
|
3960
|
+
nextCursor: string | null;
|
|
3961
|
+
total: number;
|
|
3962
|
+
};
|
|
3963
|
+
outputFormat: "json";
|
|
3964
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3965
|
+
input: {
|
|
3966
|
+
query: {
|
|
3967
|
+
q?: string | undefined;
|
|
3968
|
+
before?: string | undefined;
|
|
3969
|
+
limit?: number | undefined;
|
|
3970
|
+
};
|
|
3971
|
+
};
|
|
3972
|
+
};
|
|
3973
|
+
};
|
|
3971
3974
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3972
3975
|
"/worktrees": {
|
|
3973
3976
|
$get: {
|
|
@@ -4717,19 +4720,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4717
4720
|
} & {
|
|
4718
4721
|
"/repo/commit/:sha": {
|
|
4719
4722
|
$get: {
|
|
4720
|
-
output: string;
|
|
4721
|
-
outputFormat: "text";
|
|
4722
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4723
|
-
input: {
|
|
4724
|
-
query: {
|
|
4725
|
-
structured?: string | undefined;
|
|
4726
|
-
};
|
|
4727
|
-
} & {
|
|
4728
|
-
param: {
|
|
4729
|
-
sha: string;
|
|
4730
|
-
};
|
|
4731
|
-
};
|
|
4732
|
-
} | {
|
|
4733
4723
|
output: {
|
|
4734
4724
|
error: string;
|
|
4735
4725
|
code?: "invalid_input" | undefined;
|
|
@@ -4793,6 +4783,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4793
4783
|
sha: string;
|
|
4794
4784
|
};
|
|
4795
4785
|
};
|
|
4786
|
+
} | {
|
|
4787
|
+
output: string;
|
|
4788
|
+
outputFormat: "text";
|
|
4789
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4790
|
+
input: {
|
|
4791
|
+
query: {
|
|
4792
|
+
structured?: string | undefined;
|
|
4793
|
+
};
|
|
4794
|
+
} & {
|
|
4795
|
+
param: {
|
|
4796
|
+
sha: string;
|
|
4797
|
+
};
|
|
4798
|
+
};
|
|
4796
4799
|
};
|
|
4797
4800
|
};
|
|
4798
4801
|
} & {
|
|
@@ -19287,20 +19290,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19287
19290
|
} & {
|
|
19288
19291
|
"/runs/:id/handoff": {
|
|
19289
19292
|
$get: {
|
|
19290
|
-
output:
|
|
19291
|
-
|
|
19292
|
-
|
|
19293
|
+
output: {
|
|
19294
|
+
error: string;
|
|
19295
|
+
};
|
|
19296
|
+
outputFormat: "json";
|
|
19297
|
+
status: 404;
|
|
19293
19298
|
input: {
|
|
19294
19299
|
param: {
|
|
19295
19300
|
id: string;
|
|
19296
19301
|
};
|
|
19297
19302
|
};
|
|
19298
19303
|
} | {
|
|
19299
|
-
output:
|
|
19300
|
-
|
|
19301
|
-
|
|
19302
|
-
outputFormat: "json";
|
|
19303
|
-
status: 404;
|
|
19304
|
+
output: string;
|
|
19305
|
+
outputFormat: "text";
|
|
19306
|
+
status: 200;
|
|
19304
19307
|
input: {
|
|
19305
19308
|
param: {
|
|
19306
19309
|
id: string;
|
|
@@ -19338,20 +19341,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19338
19341
|
} & {
|
|
19339
19342
|
"/runs/:id/diff": {
|
|
19340
19343
|
$get: {
|
|
19341
|
-
output:
|
|
19342
|
-
|
|
19343
|
-
|
|
19344
|
+
output: {
|
|
19345
|
+
error: string;
|
|
19346
|
+
};
|
|
19347
|
+
outputFormat: "json";
|
|
19348
|
+
status: 404 | 409;
|
|
19344
19349
|
input: {
|
|
19345
19350
|
param: {
|
|
19346
19351
|
id: string;
|
|
19347
19352
|
};
|
|
19348
19353
|
};
|
|
19349
19354
|
} | {
|
|
19350
|
-
output:
|
|
19351
|
-
|
|
19352
|
-
|
|
19353
|
-
outputFormat: "json";
|
|
19354
|
-
status: 404 | 409;
|
|
19355
|
+
output: string;
|
|
19356
|
+
outputFormat: "text";
|
|
19357
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19355
19358
|
input: {
|
|
19356
19359
|
param: {
|
|
19357
19360
|
id: string;
|
|
@@ -19444,9 +19447,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19444
19447
|
status: 404 | 409;
|
|
19445
19448
|
input: {
|
|
19446
19449
|
param: {
|
|
19447
|
-
id: string;
|
|
19448
|
-
} & {
|
|
19449
19450
|
sha: string;
|
|
19451
|
+
} & {
|
|
19452
|
+
id: string;
|
|
19450
19453
|
};
|
|
19451
19454
|
};
|
|
19452
19455
|
} | {
|
|
@@ -19475,9 +19478,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19475
19478
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19476
19479
|
input: {
|
|
19477
19480
|
param: {
|
|
19478
|
-
id: string;
|
|
19479
|
-
} & {
|
|
19480
19481
|
sha: string;
|
|
19482
|
+
} & {
|
|
19483
|
+
id: string;
|
|
19481
19484
|
};
|
|
19482
19485
|
};
|
|
19483
19486
|
};
|
|
@@ -20161,94 +20164,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20161
20164
|
};
|
|
20162
20165
|
};
|
|
20163
20166
|
};
|
|
20164
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20165
|
-
"/reports/state": {
|
|
20166
|
-
$get: {
|
|
20167
|
-
output: {
|
|
20168
|
-
error: string;
|
|
20169
|
-
};
|
|
20170
|
-
outputFormat: "json";
|
|
20171
|
-
status: 409;
|
|
20172
|
-
input: {};
|
|
20173
|
-
} | {
|
|
20174
|
-
output: {
|
|
20175
|
-
epoch: string;
|
|
20176
|
-
generation: number;
|
|
20177
|
-
metadataGeneration: number;
|
|
20178
|
-
};
|
|
20179
|
-
outputFormat: "json";
|
|
20180
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20181
|
-
input: {};
|
|
20182
|
-
};
|
|
20183
|
-
};
|
|
20184
|
-
} & {
|
|
20185
|
-
"/reports": {
|
|
20186
|
-
$get: {
|
|
20187
|
-
output: {
|
|
20188
|
-
error: string;
|
|
20189
|
-
code?: "invalid_input" | undefined;
|
|
20190
|
-
};
|
|
20191
|
-
outputFormat: "json";
|
|
20192
|
-
status: 400;
|
|
20193
|
-
input: {
|
|
20194
|
-
query: {
|
|
20195
|
-
q?: string | undefined;
|
|
20196
|
-
before?: string | undefined;
|
|
20197
|
-
limit?: number | undefined;
|
|
20198
|
-
};
|
|
20199
|
-
};
|
|
20200
|
-
} | {
|
|
20201
|
-
output: {
|
|
20202
|
-
error: string;
|
|
20203
|
-
};
|
|
20204
|
-
outputFormat: "json";
|
|
20205
|
-
status: 409;
|
|
20206
|
-
input: {
|
|
20207
|
-
query: {
|
|
20208
|
-
q?: string | undefined;
|
|
20209
|
-
before?: string | undefined;
|
|
20210
|
-
limit?: number | undefined;
|
|
20211
|
-
};
|
|
20212
|
-
};
|
|
20213
|
-
} | {
|
|
20214
|
-
output: {
|
|
20215
|
-
error: string;
|
|
20216
|
-
};
|
|
20217
|
-
outputFormat: "json";
|
|
20218
|
-
status: 400;
|
|
20219
|
-
input: {
|
|
20220
|
-
query: {
|
|
20221
|
-
q?: string | undefined;
|
|
20222
|
-
before?: string | undefined;
|
|
20223
|
-
limit?: number | undefined;
|
|
20224
|
-
};
|
|
20225
|
-
};
|
|
20226
|
-
} | {
|
|
20227
|
-
output: {
|
|
20228
|
-
reports: {
|
|
20229
|
-
id: string;
|
|
20230
|
-
runId: string;
|
|
20231
|
-
name: string;
|
|
20232
|
-
title: string;
|
|
20233
|
-
createdAt: string;
|
|
20234
|
-
size: number;
|
|
20235
|
-
taskTitle: string;
|
|
20236
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
20237
|
-
}[];
|
|
20238
|
-
nextCursor: string | null;
|
|
20239
|
-
total: number;
|
|
20240
|
-
};
|
|
20241
|
-
outputFormat: "json";
|
|
20242
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20243
|
-
input: {
|
|
20244
|
-
query: {
|
|
20245
|
-
q?: string | undefined;
|
|
20246
|
-
before?: string | undefined;
|
|
20247
|
-
limit?: number | undefined;
|
|
20248
|
-
};
|
|
20249
|
-
};
|
|
20250
|
-
};
|
|
20251
|
-
};
|
|
20252
20167
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20253
20168
|
"/open-targets": {
|
|
20254
20169
|
$get: {
|
|
@@ -20737,6 +20652,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20737
20652
|
};
|
|
20738
20653
|
};
|
|
20739
20654
|
};
|
|
20655
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20656
|
+
"/reports/state": {
|
|
20657
|
+
$get: {
|
|
20658
|
+
output: {
|
|
20659
|
+
error: string;
|
|
20660
|
+
};
|
|
20661
|
+
outputFormat: "json";
|
|
20662
|
+
status: 409;
|
|
20663
|
+
input: {};
|
|
20664
|
+
} | {
|
|
20665
|
+
output: {
|
|
20666
|
+
epoch: string;
|
|
20667
|
+
generation: number;
|
|
20668
|
+
metadataGeneration: number;
|
|
20669
|
+
};
|
|
20670
|
+
outputFormat: "json";
|
|
20671
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20672
|
+
input: {};
|
|
20673
|
+
};
|
|
20674
|
+
};
|
|
20675
|
+
} & {
|
|
20676
|
+
"/reports": {
|
|
20677
|
+
$get: {
|
|
20678
|
+
output: {
|
|
20679
|
+
error: string;
|
|
20680
|
+
code?: "invalid_input" | undefined;
|
|
20681
|
+
};
|
|
20682
|
+
outputFormat: "json";
|
|
20683
|
+
status: 400;
|
|
20684
|
+
input: {
|
|
20685
|
+
query: {
|
|
20686
|
+
q?: string | undefined;
|
|
20687
|
+
before?: string | undefined;
|
|
20688
|
+
limit?: number | undefined;
|
|
20689
|
+
};
|
|
20690
|
+
};
|
|
20691
|
+
} | {
|
|
20692
|
+
output: {
|
|
20693
|
+
error: string;
|
|
20694
|
+
};
|
|
20695
|
+
outputFormat: "json";
|
|
20696
|
+
status: 409;
|
|
20697
|
+
input: {
|
|
20698
|
+
query: {
|
|
20699
|
+
q?: string | undefined;
|
|
20700
|
+
before?: string | undefined;
|
|
20701
|
+
limit?: number | undefined;
|
|
20702
|
+
};
|
|
20703
|
+
};
|
|
20704
|
+
} | {
|
|
20705
|
+
output: {
|
|
20706
|
+
error: string;
|
|
20707
|
+
};
|
|
20708
|
+
outputFormat: "json";
|
|
20709
|
+
status: 400;
|
|
20710
|
+
input: {
|
|
20711
|
+
query: {
|
|
20712
|
+
q?: string | undefined;
|
|
20713
|
+
before?: string | undefined;
|
|
20714
|
+
limit?: number | undefined;
|
|
20715
|
+
};
|
|
20716
|
+
};
|
|
20717
|
+
} | {
|
|
20718
|
+
output: {
|
|
20719
|
+
reports: {
|
|
20720
|
+
id: string;
|
|
20721
|
+
runId: string;
|
|
20722
|
+
name: string;
|
|
20723
|
+
title: string;
|
|
20724
|
+
createdAt: string;
|
|
20725
|
+
size: number;
|
|
20726
|
+
taskTitle: string;
|
|
20727
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
20728
|
+
}[];
|
|
20729
|
+
nextCursor: string | null;
|
|
20730
|
+
total: number;
|
|
20731
|
+
};
|
|
20732
|
+
outputFormat: "json";
|
|
20733
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20734
|
+
input: {
|
|
20735
|
+
query: {
|
|
20736
|
+
q?: string | undefined;
|
|
20737
|
+
before?: string | undefined;
|
|
20738
|
+
limit?: number | undefined;
|
|
20739
|
+
};
|
|
20740
|
+
};
|
|
20741
|
+
};
|
|
20742
|
+
};
|
|
20740
20743
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20741
20744
|
"/worktrees": {
|
|
20742
20745
|
$get: {
|
|
@@ -21486,19 +21489,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21486
21489
|
} & {
|
|
21487
21490
|
"/repo/commit/:sha": {
|
|
21488
21491
|
$get: {
|
|
21489
|
-
output: string;
|
|
21490
|
-
outputFormat: "text";
|
|
21491
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21492
|
-
input: {
|
|
21493
|
-
query: {
|
|
21494
|
-
structured?: string | undefined;
|
|
21495
|
-
};
|
|
21496
|
-
} & {
|
|
21497
|
-
param: {
|
|
21498
|
-
sha: string;
|
|
21499
|
-
};
|
|
21500
|
-
};
|
|
21501
|
-
} | {
|
|
21502
21492
|
output: {
|
|
21503
21493
|
error: string;
|
|
21504
21494
|
code?: "invalid_input" | undefined;
|
|
@@ -21562,6 +21552,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21562
21552
|
sha: string;
|
|
21563
21553
|
};
|
|
21564
21554
|
};
|
|
21555
|
+
} | {
|
|
21556
|
+
output: string;
|
|
21557
|
+
outputFormat: "text";
|
|
21558
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21559
|
+
input: {
|
|
21560
|
+
query: {
|
|
21561
|
+
structured?: string | undefined;
|
|
21562
|
+
};
|
|
21563
|
+
} & {
|
|
21564
|
+
param: {
|
|
21565
|
+
sha: string;
|
|
21566
|
+
};
|
|
21567
|
+
};
|
|
21565
21568
|
};
|
|
21566
21569
|
};
|
|
21567
21570
|
} & {
|
|
@@ -36056,20 +36059,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
36056
36059
|
} & {
|
|
36057
36060
|
"/runs/:id/handoff": {
|
|
36058
36061
|
$get: {
|
|
36059
|
-
output:
|
|
36060
|
-
|
|
36061
|
-
|
|
36062
|
+
output: {
|
|
36063
|
+
error: string;
|
|
36064
|
+
};
|
|
36065
|
+
outputFormat: "json";
|
|
36066
|
+
status: 404;
|
|
36062
36067
|
input: {
|
|
36063
36068
|
param: {
|
|
36064
36069
|
id: string;
|
|
36065
36070
|
};
|
|
36066
36071
|
};
|
|
36067
36072
|
} | {
|
|
36068
|
-
output:
|
|
36069
|
-
|
|
36070
|
-
|
|
36071
|
-
outputFormat: "json";
|
|
36072
|
-
status: 404;
|
|
36073
|
+
output: string;
|
|
36074
|
+
outputFormat: "text";
|
|
36075
|
+
status: 200;
|
|
36073
36076
|
input: {
|
|
36074
36077
|
param: {
|
|
36075
36078
|
id: string;
|
|
@@ -36107,20 +36110,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
36107
36110
|
} & {
|
|
36108
36111
|
"/runs/:id/diff": {
|
|
36109
36112
|
$get: {
|
|
36110
|
-
output:
|
|
36111
|
-
|
|
36112
|
-
|
|
36113
|
+
output: {
|
|
36114
|
+
error: string;
|
|
36115
|
+
};
|
|
36116
|
+
outputFormat: "json";
|
|
36117
|
+
status: 404 | 409;
|
|
36113
36118
|
input: {
|
|
36114
36119
|
param: {
|
|
36115
36120
|
id: string;
|
|
36116
36121
|
};
|
|
36117
36122
|
};
|
|
36118
36123
|
} | {
|
|
36119
|
-
output:
|
|
36120
|
-
|
|
36121
|
-
|
|
36122
|
-
outputFormat: "json";
|
|
36123
|
-
status: 404 | 409;
|
|
36124
|
+
output: string;
|
|
36125
|
+
outputFormat: "text";
|
|
36126
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
36124
36127
|
input: {
|
|
36125
36128
|
param: {
|
|
36126
36129
|
id: string;
|
|
@@ -36213,9 +36216,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
36213
36216
|
status: 404 | 409;
|
|
36214
36217
|
input: {
|
|
36215
36218
|
param: {
|
|
36216
|
-
id: string;
|
|
36217
|
-
} & {
|
|
36218
36219
|
sha: string;
|
|
36220
|
+
} & {
|
|
36221
|
+
id: string;
|
|
36219
36222
|
};
|
|
36220
36223
|
};
|
|
36221
36224
|
} | {
|
|
@@ -36244,9 +36247,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
36244
36247
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
36245
36248
|
input: {
|
|
36246
36249
|
param: {
|
|
36247
|
-
id: string;
|
|
36248
|
-
} & {
|
|
36249
36250
|
sha: string;
|
|
36251
|
+
} & {
|
|
36252
|
+
id: string;
|
|
36250
36253
|
};
|
|
36251
36254
|
};
|
|
36252
36255
|
};
|