@hearsay-tools/squawk 0.19.0-dev.8721 → 0.19.0-dev.8731
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/index.js +32 -2
- package/dist/contract/repo-requests.d.ts +9 -1
- package/dist/contract/repo.d.ts +39 -2
- package/dist/delegation/routes.d.ts +65 -65
- package/dist/git-worktree.d.ts +9 -0
- package/dist/git-worktree.js +118 -3
- package/dist/git-worktree.js.map +1 -1
- package/dist/runners/codex/codex-app-server-runner.js +2 -42
- package/dist/runners/codex/codex-app-server-runner.js.map +1 -1
- package/dist/runners/codex/codex-questions.d.ts +5 -0
- package/dist/runners/codex/codex-questions.js +55 -0
- package/dist/runners/codex/codex-questions.js.map +1 -0
- package/dist/runners/opencode/opencode-questions.js +9 -1
- package/dist/runners/opencode/opencode-questions.js.map +1 -1
- package/dist/runs/retention.d.ts +6 -0
- package/dist/runs/retention.js +7 -3
- package/dist/runs/retention.js.map +1 -1
- package/dist/server/automations-routes.d.ts +150 -150
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/repo-routes.d.ts +40 -14
- package/dist/server/repo-routes.js +30 -15
- package/dist/server/repo-routes.js.map +1 -1
- package/dist/server/run-checkout.d.ts +1 -1
- package/dist/server/run-checkout.js +20 -7
- package/dist/server/run-checkout.js.map +1 -1
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/server.d.ts +120 -68
- package/dist/server/worktree-size-cache.d.ts +11 -0
- package/dist/server/worktree-size-cache.js +3 -1
- package/dist/server/worktree-size-cache.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-DVJon113.js +1 -0
- package/web/dist/assets/{activity-motion-C8V7jGPP.js → activity-motion-D_Mig_D4.js} +1 -1
- package/web/dist/assets/{activity-route-CCOvPI4k.js → activity-route-BvYIEdOs.js} +1 -1
- package/web/dist/assets/{agent-config-section-DkJsuQeu.js → agent-config-section-BImy20b0.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-BqGJuaw_.js → agent-defaults-section-D30dOTKu.js} +1 -1
- package/web/dist/assets/{appearance-BnvyVZZH.js → appearance-CHsrT2VO.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-D7-FuLiL.js → archive-on-merge-field-BT4e_k9f.js} +1 -1
- package/web/dist/assets/attention-CGsbqL2t.js +1 -0
- package/web/dist/assets/{automations-route-C9Gcx3ov.js → automations-route-BEhmjeVF.js} +2 -2
- package/web/dist/assets/{commit-list-DNiFNJqd.js → commit-list-02HM16KN.js} +1 -1
- package/web/dist/assets/{diff-B60FGSvK.js → diff-BmDcJsHL.js} +2 -2
- package/web/dist/assets/{diff-controls-D6LIYMhn.js → diff-controls-HmgYRhy7.js} +1 -1
- package/web/dist/assets/{diff-view-Blyp1vQ3.js → diff-view-CRx2ZNOd.js} +1 -1
- package/web/dist/assets/{file-preview-C0EtwJYH.js → file-preview-B361k1Oo.js} +1 -1
- package/web/dist/assets/{folder-browser-6stmlyVQ.js → folder-browser-BJ3aXo9k.js} +1 -1
- package/web/dist/assets/{git-toolbar-CRj5dZa2.js → git-toolbar-DsNQUL5f.js} +1 -1
- package/web/dist/assets/github-DP2REdU5.js +1 -0
- package/web/dist/assets/{global-activity-route-Db2_yTAR.js → global-activity-route-Iv0uN7Wy.js} +1 -1
- package/web/dist/assets/index-CVz-Ls8s.css +1 -0
- package/web/dist/assets/{index-BX94wp6m.js → index-mCjln54E.js} +6 -6
- package/web/dist/assets/{label-BKUl84DF.js → label-CH-a6Jyv.js} +1 -1
- package/web/dist/assets/{markdown-DK1FZN4x.js → markdown-DiMerfHU.js} +1 -1
- package/web/dist/assets/{notifications-section-dI7sOt8i.js → notifications-section-DGH8tp1N.js} +1 -1
- package/web/dist/assets/{open-in-menu-N8rXgYSG.js → open-in-menu-CML2QKil.js} +1 -1
- package/web/dist/assets/{popover-BPgUYFyu.js → popover-CZV6tz9i.js} +1 -1
- package/web/dist/assets/preview-pane-connected-Cl_6DHNm.js +3 -0
- package/web/dist/assets/{project-location-CcmuGA5W.js → project-location-CZNz3wYW.js} +1 -1
- package/web/dist/assets/{project-router-CT6gVIcC.js → project-router-BvBqllk2.js} +1 -1
- package/web/dist/assets/{projects-section-B-eMkZf3.js → projects-section-D3h_nr6-.js} +1 -1
- package/web/dist/assets/prompt-templates-section-DelsVm7I.js +1 -0
- package/web/dist/assets/{queries-ClkIgWFx.js → queries-CYWRnyM5.js} +1 -1
- package/web/dist/assets/{reference-chip-B8bfD56G.js → reference-chip-BdikRjql.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-BxFlEKfC.js → remote-settings-notice-D2x0qeKt.js} +1 -1
- package/web/dist/assets/repo-git-DKkOxBOJ.js +1 -0
- package/web/dist/assets/{report-reader-DT6V1PE1.js → report-reader-D2b9baRm.js} +1 -1
- package/web/dist/assets/{report-selection-D9xJZoKb.js → report-selection-D2RvkiGX.js} +1 -1
- package/web/dist/assets/{reports-pCaOIoVC.js → reports-CBP54u9k.js} +1 -1
- package/web/dist/assets/{resources-section-Dr0YbhlY.js → resources-section-D86nQvrk.js} +1 -1
- package/web/dist/assets/review-panel-BcuyfiuF.js +11 -0
- package/web/dist/assets/{run-detail-refresh-Bo51TspT.js → run-detail-refresh-BNI7eMgG.js} +1 -1
- package/web/dist/assets/run-header-B2AfxeyZ.js +2 -0
- package/web/dist/assets/{select-DzxGxxTm.js → select-KMLdkF0Y.js} +1 -1
- package/web/dist/assets/{session-context-section-BxrtJ6og.js → session-context-section-Do5bNw8y.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-CDt7Ns8e.js → settings-agent-picker-Dtqb26Hz.js} +1 -1
- package/web/dist/assets/{settings-shell-B9ladcQ_.js → settings-shell-CWPwhUDh.js} +1 -1
- package/web/dist/assets/{sidebar-section-CRUJRrAR.js → sidebar-section-pLjtUKHT.js} +1 -1
- package/web/dist/assets/{skills-Co7HupH_.js → skills-CaXsJiUU.js} +1 -1
- package/web/dist/assets/{tab-link-BMblA2WK.js → tab-link-B0pNjKxZ.js} +1 -1
- package/web/dist/assets/task-changes-oogngDub.js +1 -0
- package/web/dist/assets/{task-commits-ISUoukSa.js → task-commits-_Aa8bkJq.js} +1 -1
- package/web/dist/assets/task-file-scope-DY0ozMDn.js +1 -0
- package/web/dist/assets/task-files-DxFFK3zI.js +1 -0
- package/web/dist/assets/{task-github-item-Cg8gVOKX.js → task-github-item-LSzJuoiu.js} +1 -1
- package/web/dist/assets/{task-groups-aquji1Kv.js → task-groups-lh9gz7TP.js} +1 -1
- package/web/dist/assets/task-thread-BlThx_dR.js +2 -0
- package/web/dist/assets/task-thread-PDeU-fL6.css +1 -0
- package/web/dist/assets/{tasks-table-BkjZYg2J.js → tasks-table-k18AuMR5.js} +1 -1
- package/web/dist/assets/thread-state-DA2aAkKF.js +4 -0
- package/web/dist/assets/{toaster-C-xqAWVX.js → toaster-B0kvcFif.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-ibAi0h18.js → use-hand-to-agent-state-dgiJEULj.js} +1 -1
- package/web/dist/assets/workflows-DNs9e08u.js +7 -0
- package/web/dist/assets/{workspace-tools-HU7VkLIs.js → workspace-tools-DHek4GFd.js} +1 -1
- package/web/dist/assets/{worktrees-section-uDWkAqqs.js → worktrees-section-fLfqff8U.js} +1 -1
- package/web/dist/index.html +15 -15
- package/web/dist/assets/accounts-section-BObx1Wc5.js +0 -1
- package/web/dist/assets/attention--Y0CyzCN.js +0 -1
- package/web/dist/assets/github-DjD-J1Cb.js +0 -1
- package/web/dist/assets/index-BtmQDC_G.css +0 -1
- package/web/dist/assets/preview-pane-connected-B37RWFUW.js +0 -3
- package/web/dist/assets/prompt-templates-section-BNbYFE3y.js +0 -1
- package/web/dist/assets/repo-git-CEYHupW1.js +0 -1
- package/web/dist/assets/review-panel-wprTeofI.js +0 -8
- package/web/dist/assets/run-header-GiajAH1E.js +0 -2
- package/web/dist/assets/task-changes-Dwcer1B-.js +0 -1
- package/web/dist/assets/task-files-Bek9A4TF.js +0 -1
- package/web/dist/assets/task-thread-DbBtpcw3.js +0 -2
- package/web/dist/assets/task-thread-DzADOhZd.css +0 -1
- package/web/dist/assets/thread-state-CEVwXFWy.js +0 -4
- package/web/dist/assets/workflows-Dy_qXVKT.js +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retention.js","sourceRoot":"","sources":["../../src/runs/retention.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC1E,6EAA6E;AAC7E,iFAAiF;AACjF,+EAA+E;AAC/E,iFAAiF;AACjF,iFAAiF;AACjF,4EAA4E;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,cAAc,EAAqB,MAAM,oBAAoB,CAAC;AAC9G,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIzD;;2EAE2E;AAC3E,MAAM,QAAQ,GAA2B,IAAI,GAAG,CAAY,CAAC,MAAM,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;AAE7F;;kFAEkF;AAClF,SAAS,UAAU,CAAC,GAAc;IAChC,OAAO,GAAG,CAAC,UAAU,IAAI,GAAG,CAAC,SAAS,CAAC;AACzC,CAAC;AAED;4EAC4E;AAC5E,MAAM,UAAU,iBAAiB,CAAC,GAAc,EAAE,MAA6C;IAC7F,IAAI,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACpD,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAClD,OAAO,MAAM,KAAK,SA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GAAG,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;YAAE,OAAO,IAAI,CAAC;QACjG,IAAI,IAAI,CAAC,MAAM;YAAE,UAAU,EAAE,CAAC,CAAC,2CAA2C;QAC1E,MAAM,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC;QACzC,IAAI,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;YAAE,OAAO,IAAI,CAAC,CAAC,kCAAkC;QACjF,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC;QACpB,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,mBAAmB,EAAE,KAAK,EAAE,CAAC,CAAC;QACxD,OAAO,KAAK,CAAC;IACf,CAAC;IAAC,MAAM,CAAC;QACP,2EAA2E;QAC3E,OAAO,IAAI,CAAC;IACd,CAAC;YAAS,CAAC;QACT,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;QACzC,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
|
|
@@ -212,20 +212,18 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
212
212
|
"/automations": {
|
|
213
213
|
$post: {
|
|
214
214
|
output: {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
input: {
|
|
220
|
-
json: {
|
|
215
|
+
automation: {
|
|
216
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
217
|
+
id: string;
|
|
218
|
+
revision: number;
|
|
221
219
|
name: string;
|
|
222
220
|
description?: string | undefined;
|
|
223
|
-
enabled
|
|
224
|
-
kind
|
|
221
|
+
enabled: boolean;
|
|
222
|
+
kind: "github" | "schedule";
|
|
225
223
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
226
224
|
intervalSeconds?: number | undefined;
|
|
227
225
|
filters?: {
|
|
228
|
-
[x: string]:
|
|
226
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
229
227
|
includeExisting?: boolean | undefined;
|
|
230
228
|
requireCurrentLabels?: boolean | undefined;
|
|
231
229
|
authors?: string[] | undefined;
|
|
@@ -234,10 +232,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
234
232
|
anyLabels?: string[] | undefined;
|
|
235
233
|
excludeLabels?: string[] | undefined;
|
|
236
234
|
changedLabels?: string[] | undefined;
|
|
237
|
-
lookbackDays
|
|
238
|
-
maxRecords
|
|
235
|
+
lookbackDays: number;
|
|
236
|
+
maxRecords: number;
|
|
239
237
|
} | undefined;
|
|
240
238
|
schedule?: {
|
|
239
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
241
240
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
242
241
|
hour?: number | undefined;
|
|
243
242
|
minute?: number | undefined;
|
|
@@ -248,6 +247,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
248
247
|
latestStartMinutes?: number | undefined;
|
|
249
248
|
} | undefined;
|
|
250
249
|
task: {
|
|
250
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
251
251
|
archiveWhenDone?: boolean | undefined;
|
|
252
252
|
autoMergePr?: boolean | undefined;
|
|
253
253
|
allowWorkers?: boolean | undefined;
|
|
@@ -268,37 +268,53 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
268
268
|
bashAllowlist?: string[] | undefined;
|
|
269
269
|
kind?: "plugin" | undefined;
|
|
270
270
|
pluginKind?: string | undefined;
|
|
271
|
-
config?:
|
|
271
|
+
config?: {
|
|
272
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
273
|
+
} | undefined;
|
|
272
274
|
command?: string | undefined;
|
|
273
275
|
onFail?: {
|
|
274
276
|
retry: string;
|
|
275
|
-
max
|
|
277
|
+
max: number;
|
|
276
278
|
} | undefined;
|
|
277
279
|
}[] | undefined;
|
|
278
280
|
runner?: string | undefined;
|
|
279
281
|
model?: string | undefined;
|
|
280
282
|
effort?: string | undefined;
|
|
283
|
+
variants?: 1 | 2 | 3 | undefined;
|
|
281
284
|
worktree?: boolean | undefined;
|
|
282
285
|
autonomous?: boolean | undefined;
|
|
283
286
|
systemPrompt?: string | undefined;
|
|
284
287
|
};
|
|
285
|
-
|
|
288
|
+
archived?: {
|
|
289
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
290
|
+
at: string;
|
|
291
|
+
outcome: "cancelled" | "launched";
|
|
292
|
+
runId?: string | undefined;
|
|
293
|
+
receiptId?: string | undefined;
|
|
294
|
+
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
295
|
+
} | undefined;
|
|
296
|
+
createdAt: string;
|
|
297
|
+
updatedAt: string;
|
|
286
298
|
};
|
|
299
|
+
once?: {
|
|
300
|
+
dueAt: string;
|
|
301
|
+
timeZone: string;
|
|
302
|
+
resolvedInstant: string;
|
|
303
|
+
note: string;
|
|
304
|
+
} | undefined;
|
|
287
305
|
};
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
id: string;
|
|
293
|
-
revision: number;
|
|
306
|
+
outputFormat: "json";
|
|
307
|
+
status: 201;
|
|
308
|
+
input: {
|
|
309
|
+
json: {
|
|
294
310
|
name: string;
|
|
295
311
|
description?: string | undefined;
|
|
296
|
-
enabled
|
|
297
|
-
kind
|
|
312
|
+
enabled?: boolean | undefined;
|
|
313
|
+
kind?: "github" | "schedule" | undefined;
|
|
298
314
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
299
315
|
intervalSeconds?: number | undefined;
|
|
300
316
|
filters?: {
|
|
301
|
-
[x: string]:
|
|
317
|
+
[x: string]: unknown;
|
|
302
318
|
includeExisting?: boolean | undefined;
|
|
303
319
|
requireCurrentLabels?: boolean | undefined;
|
|
304
320
|
authors?: string[] | undefined;
|
|
@@ -307,11 +323,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
307
323
|
anyLabels?: string[] | undefined;
|
|
308
324
|
excludeLabels?: string[] | undefined;
|
|
309
325
|
changedLabels?: string[] | undefined;
|
|
310
|
-
lookbackDays
|
|
311
|
-
maxRecords
|
|
326
|
+
lookbackDays?: number | undefined;
|
|
327
|
+
maxRecords?: number | undefined;
|
|
312
328
|
} | undefined;
|
|
313
329
|
schedule?: {
|
|
314
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
315
330
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
316
331
|
hour?: number | undefined;
|
|
317
332
|
minute?: number | undefined;
|
|
@@ -322,7 +337,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
322
337
|
latestStartMinutes?: number | undefined;
|
|
323
338
|
} | undefined;
|
|
324
339
|
task: {
|
|
325
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
326
340
|
archiveWhenDone?: boolean | undefined;
|
|
327
341
|
autoMergePr?: boolean | undefined;
|
|
328
342
|
allowWorkers?: boolean | undefined;
|
|
@@ -343,43 +357,29 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
343
357
|
bashAllowlist?: string[] | undefined;
|
|
344
358
|
kind?: "plugin" | undefined;
|
|
345
359
|
pluginKind?: string | undefined;
|
|
346
|
-
config?:
|
|
347
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
348
|
-
} | undefined;
|
|
360
|
+
config?: Record<string, unknown> | undefined;
|
|
349
361
|
command?: string | undefined;
|
|
350
362
|
onFail?: {
|
|
351
363
|
retry: string;
|
|
352
|
-
max
|
|
364
|
+
max?: number | undefined;
|
|
353
365
|
} | undefined;
|
|
354
366
|
}[] | undefined;
|
|
355
367
|
runner?: string | undefined;
|
|
356
368
|
model?: string | undefined;
|
|
357
369
|
effort?: string | undefined;
|
|
358
|
-
variants?: 1 | 2 | 3 | undefined;
|
|
359
370
|
worktree?: boolean | undefined;
|
|
360
371
|
autonomous?: boolean | undefined;
|
|
361
372
|
systemPrompt?: string | undefined;
|
|
362
373
|
};
|
|
363
|
-
|
|
364
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
365
|
-
at: string;
|
|
366
|
-
outcome: "cancelled" | "launched";
|
|
367
|
-
runId?: string | undefined;
|
|
368
|
-
receiptId?: string | undefined;
|
|
369
|
-
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
370
|
-
} | undefined;
|
|
371
|
-
createdAt: string;
|
|
372
|
-
updatedAt: string;
|
|
374
|
+
enable?: boolean | undefined;
|
|
373
375
|
};
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
note: string;
|
|
379
|
-
} | undefined;
|
|
376
|
+
};
|
|
377
|
+
} | {
|
|
378
|
+
output: {
|
|
379
|
+
error: string;
|
|
380
380
|
};
|
|
381
381
|
outputFormat: "json";
|
|
382
|
-
status:
|
|
382
|
+
status: 400 | 404 | 409;
|
|
383
383
|
input: {
|
|
384
384
|
json: {
|
|
385
385
|
name: string;
|
|
@@ -454,17 +454,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
454
454
|
} & {
|
|
455
455
|
"/automations/:id": {
|
|
456
456
|
$get: {
|
|
457
|
-
output: {
|
|
458
|
-
error: string;
|
|
459
|
-
};
|
|
460
|
-
outputFormat: "json";
|
|
461
|
-
status: 400 | 404 | 409;
|
|
462
|
-
input: {
|
|
463
|
-
param: {
|
|
464
|
-
id: string;
|
|
465
|
-
};
|
|
466
|
-
};
|
|
467
|
-
} | {
|
|
468
457
|
output: {
|
|
469
458
|
automation: {
|
|
470
459
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -627,26 +616,35 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
627
616
|
id: string;
|
|
628
617
|
};
|
|
629
618
|
};
|
|
630
|
-
}
|
|
631
|
-
};
|
|
632
|
-
} & {
|
|
633
|
-
"/automations/:id": {
|
|
634
|
-
$put: {
|
|
619
|
+
} | {
|
|
635
620
|
output: {
|
|
636
621
|
error: string;
|
|
637
622
|
};
|
|
638
623
|
outputFormat: "json";
|
|
639
624
|
status: 400 | 404 | 409;
|
|
640
625
|
input: {
|
|
641
|
-
|
|
626
|
+
param: {
|
|
627
|
+
id: string;
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
} & {
|
|
633
|
+
"/automations/:id": {
|
|
634
|
+
$put: {
|
|
635
|
+
output: {
|
|
636
|
+
automation: {
|
|
637
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
638
|
+
id: string;
|
|
639
|
+
revision: number;
|
|
642
640
|
name: string;
|
|
643
641
|
description?: string | undefined;
|
|
644
|
-
enabled
|
|
645
|
-
kind
|
|
642
|
+
enabled: boolean;
|
|
643
|
+
kind: "github" | "schedule";
|
|
646
644
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
647
645
|
intervalSeconds?: number | undefined;
|
|
648
646
|
filters?: {
|
|
649
|
-
[x: string]:
|
|
647
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
650
648
|
includeExisting?: boolean | undefined;
|
|
651
649
|
requireCurrentLabels?: boolean | undefined;
|
|
652
650
|
authors?: string[] | undefined;
|
|
@@ -655,10 +653,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
655
653
|
anyLabels?: string[] | undefined;
|
|
656
654
|
excludeLabels?: string[] | undefined;
|
|
657
655
|
changedLabels?: string[] | undefined;
|
|
658
|
-
lookbackDays
|
|
659
|
-
maxRecords
|
|
656
|
+
lookbackDays: number;
|
|
657
|
+
maxRecords: number;
|
|
660
658
|
} | undefined;
|
|
661
659
|
schedule?: {
|
|
660
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
662
661
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
663
662
|
hour?: number | undefined;
|
|
664
663
|
minute?: number | undefined;
|
|
@@ -669,6 +668,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
669
668
|
latestStartMinutes?: number | undefined;
|
|
670
669
|
} | undefined;
|
|
671
670
|
task: {
|
|
671
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
672
672
|
archiveWhenDone?: boolean | undefined;
|
|
673
673
|
autoMergePr?: boolean | undefined;
|
|
674
674
|
allowWorkers?: boolean | undefined;
|
|
@@ -689,41 +689,47 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
689
689
|
bashAllowlist?: string[] | undefined;
|
|
690
690
|
kind?: "plugin" | undefined;
|
|
691
691
|
pluginKind?: string | undefined;
|
|
692
|
-
config?:
|
|
692
|
+
config?: {
|
|
693
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
694
|
+
} | undefined;
|
|
693
695
|
command?: string | undefined;
|
|
694
696
|
onFail?: {
|
|
695
697
|
retry: string;
|
|
696
|
-
max
|
|
698
|
+
max: number;
|
|
697
699
|
} | undefined;
|
|
698
700
|
}[] | undefined;
|
|
699
701
|
runner?: string | undefined;
|
|
700
702
|
model?: string | undefined;
|
|
701
703
|
effort?: string | undefined;
|
|
704
|
+
variants?: 1 | 2 | 3 | undefined;
|
|
702
705
|
worktree?: boolean | undefined;
|
|
703
706
|
autonomous?: boolean | undefined;
|
|
704
707
|
systemPrompt?: string | undefined;
|
|
705
708
|
};
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
709
|
+
archived?: {
|
|
710
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
711
|
+
at: string;
|
|
712
|
+
outcome: "cancelled" | "launched";
|
|
713
|
+
runId?: string | undefined;
|
|
714
|
+
receiptId?: string | undefined;
|
|
715
|
+
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
716
|
+
} | undefined;
|
|
717
|
+
createdAt: string;
|
|
718
|
+
updatedAt: string;
|
|
711
719
|
};
|
|
712
720
|
};
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
id: string;
|
|
718
|
-
revision: number;
|
|
721
|
+
outputFormat: "json";
|
|
722
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
723
|
+
input: {
|
|
724
|
+
json: {
|
|
719
725
|
name: string;
|
|
720
726
|
description?: string | undefined;
|
|
721
|
-
enabled
|
|
722
|
-
kind
|
|
727
|
+
enabled?: boolean | undefined;
|
|
728
|
+
kind?: "github" | "schedule" | undefined;
|
|
723
729
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
724
730
|
intervalSeconds?: number | undefined;
|
|
725
731
|
filters?: {
|
|
726
|
-
[x: string]:
|
|
732
|
+
[x: string]: unknown;
|
|
727
733
|
includeExisting?: boolean | undefined;
|
|
728
734
|
requireCurrentLabels?: boolean | undefined;
|
|
729
735
|
authors?: string[] | undefined;
|
|
@@ -732,11 +738,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
732
738
|
anyLabels?: string[] | undefined;
|
|
733
739
|
excludeLabels?: string[] | undefined;
|
|
734
740
|
changedLabels?: string[] | undefined;
|
|
735
|
-
lookbackDays
|
|
736
|
-
maxRecords
|
|
741
|
+
lookbackDays?: number | undefined;
|
|
742
|
+
maxRecords?: number | undefined;
|
|
737
743
|
} | undefined;
|
|
738
744
|
schedule?: {
|
|
739
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
740
745
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
741
746
|
hour?: number | undefined;
|
|
742
747
|
minute?: number | undefined;
|
|
@@ -747,7 +752,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
747
752
|
latestStartMinutes?: number | undefined;
|
|
748
753
|
} | undefined;
|
|
749
754
|
task: {
|
|
750
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
751
755
|
archiveWhenDone?: boolean | undefined;
|
|
752
756
|
autoMergePr?: boolean | undefined;
|
|
753
757
|
allowWorkers?: boolean | undefined;
|
|
@@ -768,37 +772,33 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
768
772
|
bashAllowlist?: string[] | undefined;
|
|
769
773
|
kind?: "plugin" | undefined;
|
|
770
774
|
pluginKind?: string | undefined;
|
|
771
|
-
config?:
|
|
772
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
773
|
-
} | undefined;
|
|
775
|
+
config?: Record<string, unknown> | undefined;
|
|
774
776
|
command?: string | undefined;
|
|
775
777
|
onFail?: {
|
|
776
778
|
retry: string;
|
|
777
|
-
max
|
|
779
|
+
max?: number | undefined;
|
|
778
780
|
} | undefined;
|
|
779
781
|
}[] | undefined;
|
|
780
782
|
runner?: string | undefined;
|
|
781
783
|
model?: string | undefined;
|
|
782
784
|
effort?: string | undefined;
|
|
783
|
-
variants?: 1 | 2 | 3 | undefined;
|
|
784
785
|
worktree?: boolean | undefined;
|
|
785
786
|
autonomous?: boolean | undefined;
|
|
786
787
|
systemPrompt?: string | undefined;
|
|
787
788
|
};
|
|
788
|
-
|
|
789
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
790
|
-
at: string;
|
|
791
|
-
outcome: "cancelled" | "launched";
|
|
792
|
-
runId?: string | undefined;
|
|
793
|
-
receiptId?: string | undefined;
|
|
794
|
-
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
795
|
-
} | undefined;
|
|
796
|
-
createdAt: string;
|
|
797
|
-
updatedAt: string;
|
|
789
|
+
expectedRevision: number;
|
|
798
790
|
};
|
|
791
|
+
} & {
|
|
792
|
+
param: {
|
|
793
|
+
id: string;
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
} | {
|
|
797
|
+
output: {
|
|
798
|
+
error: string;
|
|
799
799
|
};
|
|
800
800
|
outputFormat: "json";
|
|
801
|
-
status:
|
|
801
|
+
status: 400 | 404 | 409;
|
|
802
802
|
input: {
|
|
803
803
|
json: {
|
|
804
804
|
name: string;
|
|
@@ -901,17 +901,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
901
901
|
} & {
|
|
902
902
|
"/automations/:id/enable": {
|
|
903
903
|
$post: {
|
|
904
|
-
output: {
|
|
905
|
-
error: string;
|
|
906
|
-
};
|
|
907
|
-
outputFormat: "json";
|
|
908
|
-
status: 400 | 404 | 409;
|
|
909
|
-
input: {
|
|
910
|
-
param: {
|
|
911
|
-
id: string;
|
|
912
|
-
};
|
|
913
|
-
};
|
|
914
|
-
} | {
|
|
915
904
|
output: {
|
|
916
905
|
automation: {
|
|
917
906
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1005,11 +994,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1005
994
|
id: string;
|
|
1006
995
|
};
|
|
1007
996
|
};
|
|
1008
|
-
}
|
|
1009
|
-
};
|
|
1010
|
-
} & {
|
|
1011
|
-
"/automations/:id/pause": {
|
|
1012
|
-
$post: {
|
|
997
|
+
} | {
|
|
1013
998
|
output: {
|
|
1014
999
|
error: string;
|
|
1015
1000
|
};
|
|
@@ -1020,7 +1005,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1020
1005
|
id: string;
|
|
1021
1006
|
};
|
|
1022
1007
|
};
|
|
1023
|
-
}
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
} & {
|
|
1011
|
+
"/automations/:id/pause": {
|
|
1012
|
+
$post: {
|
|
1024
1013
|
output: {
|
|
1025
1014
|
automation: {
|
|
1026
1015
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1114,11 +1103,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1114
1103
|
id: string;
|
|
1115
1104
|
};
|
|
1116
1105
|
};
|
|
1117
|
-
}
|
|
1118
|
-
};
|
|
1119
|
-
} & {
|
|
1120
|
-
"/automations/:id/cancel": {
|
|
1121
|
-
$post: {
|
|
1106
|
+
} | {
|
|
1122
1107
|
output: {
|
|
1123
1108
|
error: string;
|
|
1124
1109
|
};
|
|
@@ -1129,7 +1114,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1129
1114
|
id: string;
|
|
1130
1115
|
};
|
|
1131
1116
|
};
|
|
1132
|
-
}
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
} & {
|
|
1120
|
+
"/automations/:id/cancel": {
|
|
1121
|
+
$post: {
|
|
1133
1122
|
output: {
|
|
1134
1123
|
automation: {
|
|
1135
1124
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1223,16 +1212,27 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1223
1212
|
id: string;
|
|
1224
1213
|
};
|
|
1225
1214
|
};
|
|
1215
|
+
} | {
|
|
1216
|
+
output: {
|
|
1217
|
+
error: string;
|
|
1218
|
+
};
|
|
1219
|
+
outputFormat: "json";
|
|
1220
|
+
status: 400 | 404 | 409;
|
|
1221
|
+
input: {
|
|
1222
|
+
param: {
|
|
1223
|
+
id: string;
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
1226
|
};
|
|
1227
1227
|
};
|
|
1228
1228
|
} & {
|
|
1229
1229
|
"/automations/:id/run": {
|
|
1230
1230
|
$post: {
|
|
1231
1231
|
output: {
|
|
1232
|
-
|
|
1232
|
+
runId: string;
|
|
1233
1233
|
};
|
|
1234
1234
|
outputFormat: "json";
|
|
1235
|
-
status:
|
|
1235
|
+
status: 202;
|
|
1236
1236
|
input: {
|
|
1237
1237
|
param: {
|
|
1238
1238
|
id: string;
|
|
@@ -1240,10 +1240,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1240
1240
|
};
|
|
1241
1241
|
} | {
|
|
1242
1242
|
output: {
|
|
1243
|
-
|
|
1243
|
+
error: string;
|
|
1244
1244
|
};
|
|
1245
1245
|
outputFormat: "json";
|
|
1246
|
-
status:
|
|
1246
|
+
status: 400 | 404 | 409;
|
|
1247
1247
|
input: {
|
|
1248
1248
|
param: {
|
|
1249
1249
|
id: string;
|
|
@@ -1255,10 +1255,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1255
1255
|
"/automations/:id/check": {
|
|
1256
1256
|
$post: {
|
|
1257
1257
|
output: {
|
|
1258
|
-
|
|
1258
|
+
checkId: string;
|
|
1259
1259
|
};
|
|
1260
1260
|
outputFormat: "json";
|
|
1261
|
-
status:
|
|
1261
|
+
status: 202;
|
|
1262
1262
|
input: {
|
|
1263
1263
|
json: {
|
|
1264
1264
|
mode: "execute" | "preview";
|
|
@@ -1273,7 +1273,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1273
1273
|
error: string;
|
|
1274
1274
|
};
|
|
1275
1275
|
outputFormat: "json";
|
|
1276
|
-
status:
|
|
1276
|
+
status: 404;
|
|
1277
1277
|
input: {
|
|
1278
1278
|
json: {
|
|
1279
1279
|
mode: "execute" | "preview";
|
|
@@ -1285,10 +1285,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1285
1285
|
};
|
|
1286
1286
|
} | {
|
|
1287
1287
|
output: {
|
|
1288
|
-
|
|
1288
|
+
error: string;
|
|
1289
1289
|
};
|
|
1290
1290
|
outputFormat: "json";
|
|
1291
|
-
status:
|
|
1291
|
+
status: 409;
|
|
1292
1292
|
input: {
|
|
1293
1293
|
json: {
|
|
1294
1294
|
mode: "execute" | "preview";
|
|
@@ -1400,6 +1400,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1400
1400
|
automationChecksRoutes: import("hono/hono-base").HonoBase<{}, {
|
|
1401
1401
|
"/automation-checks/:checkId": {
|
|
1402
1402
|
$get: {
|
|
1403
|
+
output: {
|
|
1404
|
+
error: string;
|
|
1405
|
+
};
|
|
1406
|
+
outputFormat: "json";
|
|
1407
|
+
status: 404;
|
|
1408
|
+
input: {
|
|
1409
|
+
param: {
|
|
1410
|
+
checkId: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
} | {
|
|
1403
1414
|
output: {
|
|
1404
1415
|
id: string;
|
|
1405
1416
|
automationId: string;
|
|
@@ -1418,17 +1429,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1418
1429
|
checkId: string;
|
|
1419
1430
|
};
|
|
1420
1431
|
};
|
|
1421
|
-
} | {
|
|
1422
|
-
output: {
|
|
1423
|
-
error: string;
|
|
1424
|
-
};
|
|
1425
|
-
outputFormat: "json";
|
|
1426
|
-
status: 404;
|
|
1427
|
-
input: {
|
|
1428
|
-
param: {
|
|
1429
|
-
checkId: string;
|
|
1430
|
-
};
|
|
1431
|
-
};
|
|
1432
1432
|
};
|
|
1433
1433
|
};
|
|
1434
1434
|
}, "/", "/automation-checks/:checkId">;
|