@hearsay-tools/squawk 0.19.0-pr4599.9140 → 0.19.0-pr4604.9147
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/contract/hosts.d.ts +254 -0
- package/dist/contract/index.js +35 -0
- package/dist/core/http-route-registry.d.ts +7 -4
- package/dist/core/http-route-registry.js +6 -0
- package/dist/core/http-route-registry.js.map +1 -1
- package/dist/delegation/transport.d.ts +78 -78
- package/dist/features/automations/automations-routes.d.ts +150 -150
- package/dist/features/automations/server-plugin.js.map +1 -1
- package/dist/features/github/github-comments.js +19 -6
- package/dist/features/github/github-comments.js.map +1 -1
- package/dist/features/hosts/bootstrap.d.ts +1 -0
- package/dist/features/hosts/bootstrap.js +18 -6
- package/dist/features/hosts/bootstrap.js.map +1 -1
- package/dist/features/hosts/gateway-routes.d.ts +14 -0
- package/dist/features/hosts/gateway-routes.js +20 -0
- package/dist/features/hosts/gateway-routes.js.map +1 -0
- package/dist/features/hosts/gateway.d.ts +105 -0
- package/dist/features/hosts/gateway.js +800 -0
- package/dist/features/hosts/gateway.js.map +1 -0
- package/dist/features/hosts/index.d.ts +7 -1
- package/dist/features/hosts/index.js +23 -16
- package/dist/features/hosts/index.js.map +1 -1
- package/dist/features/hosts/routes.d.ts +91 -2
- package/dist/features/hosts/routes.js +142 -11
- package/dist/features/hosts/routes.js.map +1 -1
- package/dist/features/hosts/supervisor.d.ts +22 -8
- package/dist/features/hosts/supervisor.js +94 -37
- package/dist/features/hosts/supervisor.js.map +1 -1
- package/dist/features/webhooks/server-plugin.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -1
- package/dist/plugin/index.js.map +1 -1
- package/dist/server/checkout.d.ts +10 -0
- package/dist/server/checkout.js +1 -1
- package/dist/server/checkout.js.map +1 -1
- package/dist/server/create-project.d.ts +6 -0
- package/dist/server/create-project.js +1 -1
- package/dist/server/create-project.js.map +1 -1
- package/dist/server/plugin-http-routes.d.ts +18 -6
- package/dist/server/plugin-http-routes.js +30 -14
- package/dist/server/plugin-http-routes.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/server.d.ts +1170 -1170
- package/dist/server/server.js +10 -8
- package/dist/server/server.js.map +1 -1
- package/dist/server/workspace-identity-routes.d.ts +5 -5
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-BXIfRpqn.js → accounts-section-BsgnDmow.js} +1 -1
- package/web/dist/assets/{activity-motion-CiMnzmaL.js → activity-motion-Ckq9kC3I.js} +1 -1
- package/web/dist/assets/{activity-route-7rgwez-p.js → activity-route-5S9WhN9U.js} +1 -1
- package/web/dist/assets/{agent-config-section-D35Gh915.js → agent-config-section-D8pxNy2V.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-qela9Lh0.js → agent-defaults-section-et5LHv9W.js} +1 -1
- package/web/dist/assets/{appearance-PSBR-L16.js → appearance-D_t3wCjY.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-BJFWDQ73.js → archive-on-merge-field-C63xRNFZ.js} +1 -1
- package/web/dist/assets/ask-card-kqWOqKIc.js +9 -0
- package/web/dist/assets/{automations-route-DvhHg4fm.js → automations-route-B5YBpGMc.js} +1 -1
- package/web/dist/assets/{commit-list-DebGaysy.js → commit-list-Bjc-pQxv.js} +1 -1
- package/web/dist/assets/{diff-controls-BBgyFS1R.js → diff-controls-CaCUSyxs.js} +1 -1
- package/web/dist/assets/{diff-BSfVn71B.js → diff-lwWO-At7.js} +2 -2
- package/web/dist/assets/{diff-view-CmGMWIlZ.js → diff-view-4wxDvYXE.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-C6sD9mz8.js → discard-changes-dialog-B3gvm7lX.js} +1 -1
- package/web/dist/assets/{file-preview-Clm9psfR.js → file-preview-98pJhZJj.js} +1 -1
- package/web/dist/assets/{git-toolbar-G_q1J1Qo.js → git-toolbar-CepvG0Ng.js} +1 -1
- package/web/dist/assets/{github-S25ca8_M.js → github-4Jhl7lLG.js} +1 -1
- package/web/dist/assets/{global-activity-route-C6wsa2VH.js → global-activity-route-DhmrWj31.js} +1 -1
- package/web/dist/assets/index-BK1FcZrA.css +1 -0
- package/web/dist/assets/{index-n7br_LJj.js → index-DJB0lid-.js} +4 -4
- package/web/dist/assets/{markdown-DBTrMXVS.js → markdown-BAPhDASs.js} +1 -1
- package/web/dist/assets/{option-select-lxOL23-m.js → option-select-BwSkbCrQ.js} +1 -1
- package/web/dist/assets/{preferences-section-BjUffanB.js → preferences-section-Cvh644K0.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-DzT-ebVU.js → preview-pane-connected-B08ZdGux.js} +1 -1
- package/web/dist/assets/{project-location-BEdaj_mZ.js → project-location-DR8go8oL.js} +1 -1
- package/web/dist/assets/{projects-section-DBfKeeqR.js → projects-section-XDboHBFP.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-D7SvCECE.js → prompt-templates-section-DcxD28iA.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-BFW5hckZ.js → remote-settings-notice-Dtaa3ovl.js} +1 -1
- package/web/dist/assets/{repo-git-DufonnxZ.js → repo-git-Dp9R2TuI.js} +1 -1
- package/web/dist/assets/{report-reader-BNeaSf9l.js → report-reader-mbkd2DKt.js} +1 -1
- package/web/dist/assets/{reports-Dg96OgK_.js → reports-ya2OW-iR.js} +1 -1
- package/web/dist/assets/{resources-section-mlWGic7N.js → resources-section-g5XRlefz.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-B8XEe0To.js → review-notes-drafts-BdBvLP6E.js} +1 -1
- package/web/dist/assets/{review-panel-DeGoLgcB.js → review-panel-Ba8yb8Fu.js} +1 -1
- package/web/dist/assets/{review-strip-B0dxLGVX.js → review-strip-CdlMeV2i.js} +1 -1
- package/web/dist/assets/{run-header-CO7X2ksL.js → run-header-BTRXYB4W.js} +1 -1
- package/web/dist/assets/{select-BCP0bQL_.js → select-DdH25sWT.js} +1 -1
- package/web/dist/assets/{session-context-section-DNHeVwaW.js → session-context-section-BqEdLdTv.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-DpNZjBNf.js → settings-agent-picker-b4M6fQ8m.js} +1 -1
- package/web/dist/assets/{settings-save-bar-DTuXtrOh.js → settings-save-bar-DFY_Km4X.js} +1 -1
- package/web/dist/assets/{settings-shell-DA8Ljpv9.js → settings-shell-BUwdvhI9.js} +1 -1
- package/web/dist/assets/{sidebar-section-CXPEyE4l.js → sidebar-section-CcucfASN.js} +1 -1
- package/web/dist/assets/{skills-CNCCc6b5.js → skills-BLkPhZO8.js} +1 -1
- package/web/dist/assets/{task-changes-BIdArX0Y.js → task-changes-Drvnew5P.js} +1 -1
- package/web/dist/assets/{task-commits-BMEqcu53.js → task-commits-1MJHuX1i.js} +1 -1
- package/web/dist/assets/{task-file-scope-DHm_aCX9.js → task-file-scope-CB3L3KQl.js} +1 -1
- package/web/dist/assets/{task-files-Dmc9mysp.js → task-files-B9okW1TC.js} +1 -1
- package/web/dist/assets/{task-github-item-BVQHPtmd.js → task-github-item-CMNk7FxR.js} +1 -1
- package/web/dist/assets/task-thread-_2ch8BRt.js +2 -0
- package/web/dist/assets/{task-thread-BObu0KsD.css → task-thread-a6CXLxwn.css} +1 -1
- package/web/dist/assets/{thread-state-qIdHMY4r.js → thread-state-qNczqxZQ.js} +1 -1
- package/web/dist/assets/{use-finish-run-BRlt2Xcp.js → use-finish-run-Dvm4JnAH.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DA5WLXGY.js → use-hand-to-agent-state-CBJvP-US.js} +1 -1
- package/web/dist/assets/use-path-bases-C9yvZF5B.js +1 -0
- package/web/dist/assets/{workflows-BGZZkVU_.js → workflows-BUcx-n8J.js} +1 -1
- package/web/dist/assets/{workspace-tools-DIcwDrFd.js → workspace-tools-dbiR1fzO.js} +1 -1
- package/web/dist/assets/{worktrees-section-BTKs5R9c.js → worktrees-section-Dyb_QkSd.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/ask-card-BOsa7Rhk.js +0 -9
- package/web/dist/assets/index-QckSsk-V.css +0 -1
- package/web/dist/assets/task-thread-DonhRFPP.js +0 -2
- package/web/dist/assets/use-path-bases-DJciTjQE.js +0 -1
|
@@ -220,18 +220,20 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
220
220
|
"/automations": {
|
|
221
221
|
$post: {
|
|
222
222
|
output: {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
error: string;
|
|
224
|
+
};
|
|
225
|
+
outputFormat: "json";
|
|
226
|
+
status: 400 | 404 | 409;
|
|
227
|
+
input: {
|
|
228
|
+
json: {
|
|
227
229
|
name: string;
|
|
228
230
|
description?: string | undefined;
|
|
229
|
-
enabled
|
|
230
|
-
kind
|
|
231
|
+
enabled?: boolean | undefined;
|
|
232
|
+
kind?: "github" | "schedule" | undefined;
|
|
231
233
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
232
234
|
intervalSeconds?: number | undefined;
|
|
233
235
|
filters?: {
|
|
234
|
-
[x: string]:
|
|
236
|
+
[x: string]: unknown;
|
|
235
237
|
includeExisting?: boolean | undefined;
|
|
236
238
|
requireCurrentLabels?: boolean | undefined;
|
|
237
239
|
authors?: string[] | undefined;
|
|
@@ -240,11 +242,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
240
242
|
anyLabels?: string[] | undefined;
|
|
241
243
|
excludeLabels?: string[] | undefined;
|
|
242
244
|
changedLabels?: string[] | undefined;
|
|
243
|
-
lookbackDays
|
|
244
|
-
maxRecords
|
|
245
|
+
lookbackDays?: number | undefined;
|
|
246
|
+
maxRecords?: number | undefined;
|
|
245
247
|
} | undefined;
|
|
246
248
|
schedule?: {
|
|
247
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
248
249
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
249
250
|
hour?: number | undefined;
|
|
250
251
|
minute?: number | undefined;
|
|
@@ -255,7 +256,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
255
256
|
latestStartMinutes?: number | undefined;
|
|
256
257
|
} | undefined;
|
|
257
258
|
task: {
|
|
258
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
259
259
|
archiveWhenDone?: boolean | undefined;
|
|
260
260
|
autoMergePr?: boolean | undefined;
|
|
261
261
|
allowWorkers?: boolean | undefined;
|
|
@@ -276,53 +276,37 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
276
276
|
bashAllowlist?: string[] | undefined;
|
|
277
277
|
kind?: "plugin" | undefined;
|
|
278
278
|
pluginKind?: string | undefined;
|
|
279
|
-
config?:
|
|
280
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
281
|
-
} | undefined;
|
|
279
|
+
config?: Record<string, unknown> | undefined;
|
|
282
280
|
command?: string | undefined;
|
|
283
281
|
onFail?: {
|
|
284
282
|
retry: string;
|
|
285
|
-
max
|
|
283
|
+
max?: number | undefined;
|
|
286
284
|
} | undefined;
|
|
287
285
|
}[] | undefined;
|
|
288
286
|
runner?: string | undefined;
|
|
289
287
|
model?: string | undefined;
|
|
290
288
|
effort?: string | undefined;
|
|
291
|
-
variants?: 1 | 2 | 3 | undefined;
|
|
292
289
|
worktree?: boolean | undefined;
|
|
293
290
|
autonomous?: boolean | undefined;
|
|
294
291
|
systemPrompt?: string | undefined;
|
|
295
292
|
};
|
|
296
|
-
|
|
297
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
298
|
-
at: string;
|
|
299
|
-
outcome: "cancelled" | "launched";
|
|
300
|
-
runId?: string | undefined;
|
|
301
|
-
receiptId?: string | undefined;
|
|
302
|
-
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
303
|
-
} | undefined;
|
|
304
|
-
createdAt: string;
|
|
305
|
-
updatedAt: string;
|
|
293
|
+
enable?: boolean | undefined;
|
|
306
294
|
};
|
|
307
|
-
once?: {
|
|
308
|
-
dueAt: string;
|
|
309
|
-
timeZone: string;
|
|
310
|
-
resolvedInstant: string;
|
|
311
|
-
note: string;
|
|
312
|
-
} | undefined;
|
|
313
295
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
296
|
+
} | {
|
|
297
|
+
output: {
|
|
298
|
+
automation: {
|
|
299
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
300
|
+
id: string;
|
|
301
|
+
revision: number;
|
|
318
302
|
name: string;
|
|
319
303
|
description?: string | undefined;
|
|
320
|
-
enabled
|
|
321
|
-
kind
|
|
304
|
+
enabled: boolean;
|
|
305
|
+
kind: "github" | "schedule";
|
|
322
306
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
323
307
|
intervalSeconds?: number | undefined;
|
|
324
308
|
filters?: {
|
|
325
|
-
[x: string]:
|
|
309
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
326
310
|
includeExisting?: boolean | undefined;
|
|
327
311
|
requireCurrentLabels?: boolean | undefined;
|
|
328
312
|
authors?: string[] | undefined;
|
|
@@ -331,10 +315,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
331
315
|
anyLabels?: string[] | undefined;
|
|
332
316
|
excludeLabels?: string[] | undefined;
|
|
333
317
|
changedLabels?: string[] | undefined;
|
|
334
|
-
lookbackDays
|
|
335
|
-
maxRecords
|
|
318
|
+
lookbackDays: number;
|
|
319
|
+
maxRecords: number;
|
|
336
320
|
} | undefined;
|
|
337
321
|
schedule?: {
|
|
322
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
338
323
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
339
324
|
hour?: number | undefined;
|
|
340
325
|
minute?: number | undefined;
|
|
@@ -345,6 +330,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
345
330
|
latestStartMinutes?: number | undefined;
|
|
346
331
|
} | undefined;
|
|
347
332
|
task: {
|
|
333
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
348
334
|
archiveWhenDone?: boolean | undefined;
|
|
349
335
|
autoMergePr?: boolean | undefined;
|
|
350
336
|
allowWorkers?: boolean | undefined;
|
|
@@ -365,29 +351,43 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
365
351
|
bashAllowlist?: string[] | undefined;
|
|
366
352
|
kind?: "plugin" | undefined;
|
|
367
353
|
pluginKind?: string | undefined;
|
|
368
|
-
config?:
|
|
354
|
+
config?: {
|
|
355
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
356
|
+
} | undefined;
|
|
369
357
|
command?: string | undefined;
|
|
370
358
|
onFail?: {
|
|
371
359
|
retry: string;
|
|
372
|
-
max
|
|
360
|
+
max: number;
|
|
373
361
|
} | undefined;
|
|
374
362
|
}[] | undefined;
|
|
375
363
|
runner?: string | undefined;
|
|
376
364
|
model?: string | undefined;
|
|
377
365
|
effort?: string | undefined;
|
|
366
|
+
variants?: 1 | 2 | 3 | undefined;
|
|
378
367
|
worktree?: boolean | undefined;
|
|
379
368
|
autonomous?: boolean | undefined;
|
|
380
369
|
systemPrompt?: string | undefined;
|
|
381
370
|
};
|
|
382
|
-
|
|
371
|
+
archived?: {
|
|
372
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
373
|
+
at: string;
|
|
374
|
+
outcome: "cancelled" | "launched";
|
|
375
|
+
runId?: string | undefined;
|
|
376
|
+
receiptId?: string | undefined;
|
|
377
|
+
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
378
|
+
} | undefined;
|
|
379
|
+
createdAt: string;
|
|
380
|
+
updatedAt: string;
|
|
383
381
|
};
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
382
|
+
once?: {
|
|
383
|
+
dueAt: string;
|
|
384
|
+
timeZone: string;
|
|
385
|
+
resolvedInstant: string;
|
|
386
|
+
note: string;
|
|
387
|
+
} | undefined;
|
|
388
388
|
};
|
|
389
389
|
outputFormat: "json";
|
|
390
|
-
status:
|
|
390
|
+
status: 201;
|
|
391
391
|
input: {
|
|
392
392
|
json: {
|
|
393
393
|
name: string;
|
|
@@ -462,6 +462,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
462
462
|
} & {
|
|
463
463
|
"/automations/:id": {
|
|
464
464
|
$get: {
|
|
465
|
+
output: {
|
|
466
|
+
error: string;
|
|
467
|
+
};
|
|
468
|
+
outputFormat: "json";
|
|
469
|
+
status: 400 | 404 | 409;
|
|
470
|
+
input: {
|
|
471
|
+
param: {
|
|
472
|
+
id: string;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
} | {
|
|
465
476
|
output: {
|
|
466
477
|
automation: {
|
|
467
478
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -624,35 +635,26 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
624
635
|
id: string;
|
|
625
636
|
};
|
|
626
637
|
};
|
|
627
|
-
} | {
|
|
628
|
-
output: {
|
|
629
|
-
error: string;
|
|
630
|
-
};
|
|
631
|
-
outputFormat: "json";
|
|
632
|
-
status: 400 | 404 | 409;
|
|
633
|
-
input: {
|
|
634
|
-
param: {
|
|
635
|
-
id: string;
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
638
|
};
|
|
639
639
|
};
|
|
640
640
|
} & {
|
|
641
641
|
"/automations/:id": {
|
|
642
642
|
$put: {
|
|
643
643
|
output: {
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
644
|
+
error: string;
|
|
645
|
+
};
|
|
646
|
+
outputFormat: "json";
|
|
647
|
+
status: 400 | 404 | 409;
|
|
648
|
+
input: {
|
|
649
|
+
json: {
|
|
648
650
|
name: string;
|
|
649
651
|
description?: string | undefined;
|
|
650
|
-
enabled
|
|
651
|
-
kind
|
|
652
|
+
enabled?: boolean | undefined;
|
|
653
|
+
kind?: "github" | "schedule" | undefined;
|
|
652
654
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
653
655
|
intervalSeconds?: number | undefined;
|
|
654
656
|
filters?: {
|
|
655
|
-
[x: string]:
|
|
657
|
+
[x: string]: unknown;
|
|
656
658
|
includeExisting?: boolean | undefined;
|
|
657
659
|
requireCurrentLabels?: boolean | undefined;
|
|
658
660
|
authors?: string[] | undefined;
|
|
@@ -661,11 +663,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
661
663
|
anyLabels?: string[] | undefined;
|
|
662
664
|
excludeLabels?: string[] | undefined;
|
|
663
665
|
changedLabels?: string[] | undefined;
|
|
664
|
-
lookbackDays
|
|
665
|
-
maxRecords
|
|
666
|
+
lookbackDays?: number | undefined;
|
|
667
|
+
maxRecords?: number | undefined;
|
|
666
668
|
} | undefined;
|
|
667
669
|
schedule?: {
|
|
668
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
669
670
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
670
671
|
hour?: number | undefined;
|
|
671
672
|
minute?: number | undefined;
|
|
@@ -676,7 +677,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
676
677
|
latestStartMinutes?: number | undefined;
|
|
677
678
|
} | undefined;
|
|
678
679
|
task: {
|
|
679
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
680
680
|
archiveWhenDone?: boolean | undefined;
|
|
681
681
|
autoMergePr?: boolean | undefined;
|
|
682
682
|
allowWorkers?: boolean | undefined;
|
|
@@ -697,47 +697,41 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
697
697
|
bashAllowlist?: string[] | undefined;
|
|
698
698
|
kind?: "plugin" | undefined;
|
|
699
699
|
pluginKind?: string | undefined;
|
|
700
|
-
config?:
|
|
701
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
702
|
-
} | undefined;
|
|
700
|
+
config?: Record<string, unknown> | undefined;
|
|
703
701
|
command?: string | undefined;
|
|
704
702
|
onFail?: {
|
|
705
703
|
retry: string;
|
|
706
|
-
max
|
|
704
|
+
max?: number | undefined;
|
|
707
705
|
} | undefined;
|
|
708
706
|
}[] | undefined;
|
|
709
707
|
runner?: string | undefined;
|
|
710
708
|
model?: string | undefined;
|
|
711
709
|
effort?: string | undefined;
|
|
712
|
-
variants?: 1 | 2 | 3 | undefined;
|
|
713
710
|
worktree?: boolean | undefined;
|
|
714
711
|
autonomous?: boolean | undefined;
|
|
715
712
|
systemPrompt?: string | undefined;
|
|
716
713
|
};
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
receiptId?: string | undefined;
|
|
723
|
-
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
724
|
-
} | undefined;
|
|
725
|
-
createdAt: string;
|
|
726
|
-
updatedAt: string;
|
|
714
|
+
expectedRevision: number;
|
|
715
|
+
};
|
|
716
|
+
} & {
|
|
717
|
+
param: {
|
|
718
|
+
id: string;
|
|
727
719
|
};
|
|
728
720
|
};
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
721
|
+
} | {
|
|
722
|
+
output: {
|
|
723
|
+
automation: {
|
|
724
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
725
|
+
id: string;
|
|
726
|
+
revision: number;
|
|
733
727
|
name: string;
|
|
734
728
|
description?: string | undefined;
|
|
735
|
-
enabled
|
|
736
|
-
kind
|
|
729
|
+
enabled: boolean;
|
|
730
|
+
kind: "github" | "schedule";
|
|
737
731
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
738
732
|
intervalSeconds?: number | undefined;
|
|
739
733
|
filters?: {
|
|
740
|
-
[x: string]:
|
|
734
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
741
735
|
includeExisting?: boolean | undefined;
|
|
742
736
|
requireCurrentLabels?: boolean | undefined;
|
|
743
737
|
authors?: string[] | undefined;
|
|
@@ -746,10 +740,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
746
740
|
anyLabels?: string[] | undefined;
|
|
747
741
|
excludeLabels?: string[] | undefined;
|
|
748
742
|
changedLabels?: string[] | undefined;
|
|
749
|
-
lookbackDays
|
|
750
|
-
maxRecords
|
|
743
|
+
lookbackDays: number;
|
|
744
|
+
maxRecords: number;
|
|
751
745
|
} | undefined;
|
|
752
746
|
schedule?: {
|
|
747
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
753
748
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
754
749
|
hour?: number | undefined;
|
|
755
750
|
minute?: number | undefined;
|
|
@@ -760,6 +755,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
760
755
|
latestStartMinutes?: number | undefined;
|
|
761
756
|
} | undefined;
|
|
762
757
|
task: {
|
|
758
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
763
759
|
archiveWhenDone?: boolean | undefined;
|
|
764
760
|
autoMergePr?: boolean | undefined;
|
|
765
761
|
allowWorkers?: boolean | undefined;
|
|
@@ -780,33 +776,37 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
780
776
|
bashAllowlist?: string[] | undefined;
|
|
781
777
|
kind?: "plugin" | undefined;
|
|
782
778
|
pluginKind?: string | undefined;
|
|
783
|
-
config?:
|
|
779
|
+
config?: {
|
|
780
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
781
|
+
} | undefined;
|
|
784
782
|
command?: string | undefined;
|
|
785
783
|
onFail?: {
|
|
786
784
|
retry: string;
|
|
787
|
-
max
|
|
785
|
+
max: number;
|
|
788
786
|
} | undefined;
|
|
789
787
|
}[] | undefined;
|
|
790
788
|
runner?: string | undefined;
|
|
791
789
|
model?: string | undefined;
|
|
792
790
|
effort?: string | undefined;
|
|
791
|
+
variants?: 1 | 2 | 3 | undefined;
|
|
793
792
|
worktree?: boolean | undefined;
|
|
794
793
|
autonomous?: boolean | undefined;
|
|
795
794
|
systemPrompt?: string | undefined;
|
|
796
795
|
};
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
796
|
+
archived?: {
|
|
797
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
798
|
+
at: string;
|
|
799
|
+
outcome: "cancelled" | "launched";
|
|
800
|
+
runId?: string | undefined;
|
|
801
|
+
receiptId?: string | undefined;
|
|
802
|
+
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
803
|
+
} | undefined;
|
|
804
|
+
createdAt: string;
|
|
805
|
+
updatedAt: string;
|
|
802
806
|
};
|
|
803
807
|
};
|
|
804
|
-
} | {
|
|
805
|
-
output: {
|
|
806
|
-
error: string;
|
|
807
|
-
};
|
|
808
808
|
outputFormat: "json";
|
|
809
|
-
status:
|
|
809
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
810
810
|
input: {
|
|
811
811
|
json: {
|
|
812
812
|
name: string;
|
|
@@ -909,6 +909,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
909
909
|
} & {
|
|
910
910
|
"/automations/:id/enable": {
|
|
911
911
|
$post: {
|
|
912
|
+
output: {
|
|
913
|
+
error: string;
|
|
914
|
+
};
|
|
915
|
+
outputFormat: "json";
|
|
916
|
+
status: 400 | 404 | 409;
|
|
917
|
+
input: {
|
|
918
|
+
param: {
|
|
919
|
+
id: string;
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
} | {
|
|
912
923
|
output: {
|
|
913
924
|
automation: {
|
|
914
925
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1002,7 +1013,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1002
1013
|
id: string;
|
|
1003
1014
|
};
|
|
1004
1015
|
};
|
|
1005
|
-
}
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
} & {
|
|
1019
|
+
"/automations/:id/pause": {
|
|
1020
|
+
$post: {
|
|
1006
1021
|
output: {
|
|
1007
1022
|
error: string;
|
|
1008
1023
|
};
|
|
@@ -1013,11 +1028,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1013
1028
|
id: string;
|
|
1014
1029
|
};
|
|
1015
1030
|
};
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
} & {
|
|
1019
|
-
"/automations/:id/pause": {
|
|
1020
|
-
$post: {
|
|
1031
|
+
} | {
|
|
1021
1032
|
output: {
|
|
1022
1033
|
automation: {
|
|
1023
1034
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1111,7 +1122,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1111
1122
|
id: string;
|
|
1112
1123
|
};
|
|
1113
1124
|
};
|
|
1114
|
-
}
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
} & {
|
|
1128
|
+
"/automations/:id/cancel": {
|
|
1129
|
+
$post: {
|
|
1115
1130
|
output: {
|
|
1116
1131
|
error: string;
|
|
1117
1132
|
};
|
|
@@ -1122,11 +1137,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1122
1137
|
id: string;
|
|
1123
1138
|
};
|
|
1124
1139
|
};
|
|
1125
|
-
}
|
|
1126
|
-
};
|
|
1127
|
-
} & {
|
|
1128
|
-
"/automations/:id/cancel": {
|
|
1129
|
-
$post: {
|
|
1140
|
+
} | {
|
|
1130
1141
|
output: {
|
|
1131
1142
|
automation: {
|
|
1132
1143
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1220,27 +1231,16 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1220
1231
|
id: string;
|
|
1221
1232
|
};
|
|
1222
1233
|
};
|
|
1223
|
-
} | {
|
|
1224
|
-
output: {
|
|
1225
|
-
error: string;
|
|
1226
|
-
};
|
|
1227
|
-
outputFormat: "json";
|
|
1228
|
-
status: 400 | 404 | 409;
|
|
1229
|
-
input: {
|
|
1230
|
-
param: {
|
|
1231
|
-
id: string;
|
|
1232
|
-
};
|
|
1233
|
-
};
|
|
1234
1234
|
};
|
|
1235
1235
|
};
|
|
1236
1236
|
} & {
|
|
1237
1237
|
"/automations/:id/run": {
|
|
1238
1238
|
$post: {
|
|
1239
1239
|
output: {
|
|
1240
|
-
|
|
1240
|
+
error: string;
|
|
1241
1241
|
};
|
|
1242
1242
|
outputFormat: "json";
|
|
1243
|
-
status:
|
|
1243
|
+
status: 400 | 404 | 409;
|
|
1244
1244
|
input: {
|
|
1245
1245
|
param: {
|
|
1246
1246
|
id: string;
|
|
@@ -1248,10 +1248,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1248
1248
|
};
|
|
1249
1249
|
} | {
|
|
1250
1250
|
output: {
|
|
1251
|
-
|
|
1251
|
+
runId: string;
|
|
1252
1252
|
};
|
|
1253
1253
|
outputFormat: "json";
|
|
1254
|
-
status:
|
|
1254
|
+
status: 202;
|
|
1255
1255
|
input: {
|
|
1256
1256
|
param: {
|
|
1257
1257
|
id: string;
|
|
@@ -1263,10 +1263,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1263
1263
|
"/automations/:id/check": {
|
|
1264
1264
|
$post: {
|
|
1265
1265
|
output: {
|
|
1266
|
-
|
|
1266
|
+
error: string;
|
|
1267
1267
|
};
|
|
1268
1268
|
outputFormat: "json";
|
|
1269
|
-
status:
|
|
1269
|
+
status: 404;
|
|
1270
1270
|
input: {
|
|
1271
1271
|
json: {
|
|
1272
1272
|
mode: "execute" | "preview";
|
|
@@ -1281,7 +1281,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1281
1281
|
error: string;
|
|
1282
1282
|
};
|
|
1283
1283
|
outputFormat: "json";
|
|
1284
|
-
status:
|
|
1284
|
+
status: 409;
|
|
1285
1285
|
input: {
|
|
1286
1286
|
json: {
|
|
1287
1287
|
mode: "execute" | "preview";
|
|
@@ -1293,10 +1293,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1293
1293
|
};
|
|
1294
1294
|
} | {
|
|
1295
1295
|
output: {
|
|
1296
|
-
|
|
1296
|
+
checkId: string;
|
|
1297
1297
|
};
|
|
1298
1298
|
outputFormat: "json";
|
|
1299
|
-
status:
|
|
1299
|
+
status: 202;
|
|
1300
1300
|
input: {
|
|
1301
1301
|
json: {
|
|
1302
1302
|
mode: "execute" | "preview";
|
|
@@ -1408,17 +1408,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1408
1408
|
automationChecksRoutes: import("hono/hono-base").HonoBase<{}, {
|
|
1409
1409
|
"/automation-checks/:checkId": {
|
|
1410
1410
|
$get: {
|
|
1411
|
-
output: {
|
|
1412
|
-
error: string;
|
|
1413
|
-
};
|
|
1414
|
-
outputFormat: "json";
|
|
1415
|
-
status: 404;
|
|
1416
|
-
input: {
|
|
1417
|
-
param: {
|
|
1418
|
-
checkId: string;
|
|
1419
|
-
};
|
|
1420
|
-
};
|
|
1421
|
-
} | {
|
|
1422
1411
|
output: {
|
|
1423
1412
|
id: string;
|
|
1424
1413
|
automationId: string;
|
|
@@ -1437,6 +1426,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1437
1426
|
checkId: string;
|
|
1438
1427
|
};
|
|
1439
1428
|
};
|
|
1429
|
+
} | {
|
|
1430
|
+
output: {
|
|
1431
|
+
error: string;
|
|
1432
|
+
};
|
|
1433
|
+
outputFormat: "json";
|
|
1434
|
+
status: 404;
|
|
1435
|
+
input: {
|
|
1436
|
+
param: {
|
|
1437
|
+
checkId: string;
|
|
1438
|
+
};
|
|
1439
|
+
};
|
|
1440
1440
|
};
|
|
1441
1441
|
};
|
|
1442
1442
|
}, "/", "/automation-checks/:checkId">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-plugin.js","sourceRoot":"","sources":["../../../src/features/automations/server-plugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAEtE,SAAS,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"server-plugin.js","sourceRoot":"","sources":["../../../src/features/automations/server-plugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAEtE,SAAS,kBAAkB,CAAC,OAAyB;IACnD,IAAI,CAAC,OAAO,CAAC,MAAM;QAAE,MAAM,IAAI,KAAK,CAAC,iEAAiE,CAAC,CAAC;IACxG,OAAO,2BAA2B,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;AAC7D,CAAC;AAED,+EAA+E;AAC/E,MAAM,CAAC,MAAM,oBAAoB,GAA8B;IAC7D,IAAI,EAAE,QAAQ;IACd,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,SAAS;IAChB,YAAY,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,iBAAiB;CACzE,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,yBAAyB,GAA8B;IAClE,IAAI,EAAE,QAAQ;IACd,EAAE,EAAE,mBAAmB;IACvB,KAAK,EAAE,WAAW;IAClB,YAAY,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,sBAAsB;CAC9E,CAAC;AAEF,uGAAuG;AACvG,MAAM,CAAC,MAAM,qBAAqB,GAAyB;IACzD,EAAE,EAAE,aAAa;IACjB,YAAY,EAAE,CAAC,OAAO,EAAE,EAAE,GAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACpE,qBAAqB,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC;IAChH,wBAAwB,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC,wBAAwB,CAAC,OAAO,CAAC;IACtH,aAAa,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC;IAC5F,YAAY,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC,YAAY,EAAE;IAC9E,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,OAAO,CAAC;CACrG,CAAC"}
|