@hearsay-tools/squawk 0.19.0-dev.8843 → 0.19.0-dev.8846
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/boot.d.ts +1 -1
- package/dist/boot.js +4 -1
- package/dist/boot.js.map +1 -1
- package/dist/built-in-forges.d.ts +8 -0
- package/dist/built-in-forges.js +15 -0
- package/dist/built-in-forges.js.map +1 -0
- package/dist/contract/health.d.ts +2 -2
- package/dist/contract/index.d.ts +1 -0
- package/dist/contract/index.js +39 -11
- package/dist/contract/projects.d.ts +6 -6
- package/dist/contract/pull-request-urls.d.ts +20 -0
- package/dist/contract/runs.d.ts +10 -1
- package/dist/core/forge-registry.d.ts +113 -0
- package/dist/core/forge-registry.js +127 -0
- package/dist/core/forge-registry.js.map +1 -0
- package/dist/delegation/routes.d.ts +4 -4
- package/dist/delegation/transport.d.ts +69 -69
- package/dist/features/automations/github-repository.js +2 -1
- package/dist/features/automations/github-repository.js.map +1 -1
- package/dist/features/automations/task-template.js +1 -1
- package/dist/features/automations/task-template.js.map +1 -1
- package/dist/plugin/api.d.ts +4 -0
- package/dist/plugin/api.js +10 -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/pull-requests.d.ts +10 -0
- package/dist/runs/pull-requests.js +30 -19
- package/dist/runs/pull-requests.js.map +1 -1
- package/dist/runs/run-archive.d.ts +1 -0
- package/dist/runs/run-archive.js +14 -4
- package/dist/runs/run-archive.js.map +1 -1
- package/dist/runs/run-decode.d.ts +74 -72
- package/dist/runs/run-exits.d.ts +6 -0
- package/dist/runs/run-references.d.ts +1 -0
- package/dist/runs/run-references.js +7 -6
- package/dist/runs/run-references.js.map +1 -1
- package/dist/runs/store-open.d.ts +7 -1
- package/dist/runs/store-open.js +8 -2
- package/dist/runs/store-open.js.map +1 -1
- package/dist/runs/task-markers.js +1 -1
- package/dist/runs/task-markers.js.map +1 -1
- package/dist/runs/task-refs.d.ts +14 -7
- package/dist/runs/task-refs.js +32 -18
- package/dist/runs/task-refs.js.map +1 -1
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/completion-actions.js +3 -3
- package/dist/server/completion-actions.js.map +1 -1
- package/dist/server/forge/draft-pr.d.ts +6 -0
- package/dist/server/forge/draft-pr.js +11 -3
- package/dist/server/forge/draft-pr.js.map +1 -1
- package/dist/server/forge/github-forge.d.ts +4 -0
- package/dist/server/forge/github-forge.js +80 -0
- package/dist/server/forge/github-forge.js.map +1 -0
- package/dist/server/forge/github-mutations.js +4 -2
- package/dist/server/forge/github-mutations.js.map +1 -1
- package/dist/server/forge/index.d.ts +0 -19
- package/dist/server/forge/index.js +6 -29
- package/dist/server/forge/index.js.map +1 -1
- package/dist/server/forge/types.d.ts +2 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/projects-routes.d.ts +9 -9
- package/dist/server/repo-routes.d.ts +21 -21
- package/dist/server/runs-routes.d.ts +691 -682
- package/dist/server/server.d.ts +1257 -1239
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/server/workspace-routes.d.ts +84 -84
- package/dist/workflows/continuation-admission.d.ts +1 -0
- package/dist/workflows/run/wait-engine.d.ts +73 -72
- package/dist/workspace/projects.d.ts +4 -5
- package/dist/workspace/projects.js +1 -1
- package/dist/workspace/projects.js.map +1 -1
- package/package.json +4 -4
- package/scripts/benchmark-project-probes.mjs +4 -0
- package/web/dist/assets/{accounts-section-D1dia-hG.js → accounts-section-BDtqUWb3.js} +1 -1
- package/web/dist/assets/{activity-motion-fPvKJxvA.js → activity-motion-BXoeTgQ0.js} +1 -1
- package/web/dist/assets/{activity-route-CB5nog2G.js → activity-route-C6vB-67V.js} +1 -1
- package/web/dist/assets/{agent-config-section-D0_Hh9sa.js → agent-config-section-CYKtNSOq.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-Da8_EROm.js → agent-defaults-section-Cxi5hgqw.js} +1 -1
- package/web/dist/assets/{appearance-D6Jy-FOI.js → appearance-DpiBlg6s.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-C5WFm3HO.js → archive-on-merge-field-BkwRlcuT.js} +1 -1
- package/web/dist/assets/attention-ILOaW2-t.js +1 -0
- package/web/dist/assets/{automations-route-CctTxl3u.js → automations-route-B7pZjn4t.js} +1 -1
- package/web/dist/assets/{commit-list-FImAZR2z.js → commit-list-DmvUQRfc.js} +1 -1
- package/web/dist/assets/{diff-controls-DzbvRI1Q.js → diff-controls-DDd5C9KF.js} +1 -1
- package/web/dist/assets/{diff-DqOJaV4a.js → diff-pvABbnFN.js} +2 -2
- package/web/dist/assets/{diff-view-D8TGCcR9.js → diff-view-y0rJAqxu.js} +1 -1
- package/web/dist/assets/{file-preview-B4UtCBRw.js → file-preview-CtLbHTJd.js} +1 -1
- package/web/dist/assets/{folder-browser-ZmOa9z3j.js → folder-browser-B_jJl4is.js} +1 -1
- package/web/dist/assets/{git-toolbar-Dun1QqPH.js → git-toolbar-BNu4FVNt.js} +1 -1
- package/web/dist/assets/{github-BN-W-GO8.js → github-P8iLt9Ze.js} +1 -1
- package/web/dist/assets/{global-activity-route--JbzbeqH.js → global-activity-route-DmlKf3HJ.js} +1 -1
- package/web/dist/assets/{index-DEWnkuj6.js → index-CtmR0Rih.js} +5 -5
- package/web/dist/assets/{label-D91E4F0a.js → label-DMC9mkYa.js} +1 -1
- package/web/dist/assets/{markdown-DOEDwgDr.js → markdown-Ccc5GQS7.js} +1 -1
- package/web/dist/assets/{notifications-section-WK58Ps4V.js → notifications-section-A6faaEDe.js} +1 -1
- package/web/dist/assets/{open-in-menu-CqNkccJr.js → open-in-menu-VhRao_Jk.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-BWcpAxTc.js → preview-pane-connected-gDJgoJyx.js} +1 -1
- package/web/dist/assets/{project-location-CspXXtNm.js → project-location-DATkk1gA.js} +1 -1
- package/web/dist/assets/{project-router-BifLGgRR.js → project-router-B9FTk0rB.js} +1 -1
- package/web/dist/assets/{projects-section-DOMgdG7r.js → projects-section-Bo9w_srQ.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-DQK4c-Yk.js → prompt-templates-section-CA-GCYAc.js} +1 -1
- package/web/dist/assets/{queries-D0v1z40Y.js → queries-hzlF788B.js} +1 -1
- package/web/dist/assets/{reference-chip-DXFYkdLT.js → reference-chip-Dgo5aKeb.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-B8a6aNBw.js → remote-settings-notice-CEmfxzke.js} +1 -1
- package/web/dist/assets/{repo-git-CL-s-Ml4.js → repo-git-CslX0xWz.js} +1 -1
- package/web/dist/assets/{report-reader-CYzRGRF-.js → report-reader-C70mj6S6.js} +1 -1
- package/web/dist/assets/{report-selection-CDlncYKI.js → report-selection-C-2DJb8L.js} +1 -1
- package/web/dist/assets/{reports-BF3eEnvh.js → reports-C7BHDLLE.js} +1 -1
- package/web/dist/assets/{resources-section-Bvw0anG8.js → resources-section-DEczWFga.js} +1 -1
- package/web/dist/assets/{review-panel-DJivUXQc.js → review-panel-XIuCglMi.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-DkwIHh-c.js → run-detail-refresh-Ye2jcT7n.js} +1 -1
- package/web/dist/assets/{run-header-B1lhW0fF.js → run-header-gQnKz92B.js} +1 -1
- package/web/dist/assets/{select-ttlXTWN-.js → select-VMOFW67M.js} +1 -1
- package/web/dist/assets/{session-context-section-DhNuv3zS.js → session-context-section-Dh1KSiWq.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-B-a6cPMj.js → settings-agent-picker-QEhmK2uD.js} +1 -1
- package/web/dist/assets/{settings-shell-kDDr8_Jd.js → settings-shell-DTu-GViz.js} +1 -1
- package/web/dist/assets/{sidebar-section-BP2FtFmc.js → sidebar-section-CIKjtt38.js} +1 -1
- package/web/dist/assets/{skills-CWozz5P0.js → skills-CdtSD18y.js} +1 -1
- package/web/dist/assets/{tab-link-DAxoMsUp.js → tab-link-BlZX-nKP.js} +1 -1
- package/web/dist/assets/{task-changes-CQEaFA9P.js → task-changes-CHlKuW-X.js} +1 -1
- package/web/dist/assets/{task-commits-BHYH-E_r.js → task-commits-nF4skyb7.js} +1 -1
- package/web/dist/assets/{task-file-scope-CgfssVeu.js → task-file-scope-MfwFcMP-.js} +1 -1
- package/web/dist/assets/{task-files-CD4LqOtt.js → task-files-DtFAAilW.js} +1 -1
- package/web/dist/assets/{task-github-item-BBwSUB9p.js → task-github-item-7NfAP9Cc.js} +1 -1
- package/web/dist/assets/{task-groups-BdayPxX3.js → task-groups-DD46syqv.js} +1 -1
- package/web/dist/assets/{task-thread-BPS4pya8.js → task-thread-BythIUIj.js} +1 -1
- package/web/dist/assets/{tasks-table-B9Hu3rBi.js → tasks-table-D17JLOhe.js} +1 -1
- package/web/dist/assets/{thread-state-22G0OlcH.js → thread-state-D9Q1UDJa.js} +1 -1
- package/web/dist/assets/toaster-fWyfEGWF.js +4 -0
- package/web/dist/assets/{use-hand-to-agent-state-BdkYBCvG.js → use-hand-to-agent-state-D9nrW-0i.js} +1 -1
- package/web/dist/assets/{workflows-C9gvUvUy.js → workflows-CNc4Vs8I.js} +1 -1
- package/web/dist/assets/{workspace-tools-Cg0RKomm.js → workspace-tools-C5y6_0Cv.js} +1 -1
- package/web/dist/assets/{worktrees-section-DHiLUz-l.js → worktrees-section-CJCdE5Yx.js} +1 -1
- package/web/dist/index.html +13 -13
- package/web/dist/assets/attention-Dt-QhJ3p.js +0 -1
- package/web/dist/assets/toaster-DMfiAEnw.js +0 -4
|
@@ -1,35 +1,12 @@
|
|
|
1
|
+
import { parseRemote } from '../../core/forge-registry.js';
|
|
1
2
|
import { createGithubDriver } from './github.js';
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Forge resolution (cockpit-ui redesign spec §"Forge-driver seam"): map the
|
|
5
|
+
* repo's origin remote to a driver — github.com → the GitHub driver, anything
|
|
6
|
+
* else (GitLab, self-hosted, no remote, not a repo) → null. The health route
|
|
7
|
+
* serializes the result as `forge: {kind, available, reason?} | null`; a null
|
|
8
|
+
* forge means plain-git features only (diffs, commit, push, branches).
|
|
7
9
|
*/
|
|
8
|
-
export function parseRemote(remote) {
|
|
9
|
-
const r = remote.trim().replace(/\/+$/, '');
|
|
10
|
-
let host;
|
|
11
|
-
let path;
|
|
12
|
-
const url = /^(?:https?|ssh|git|git\+ssh):\/\/(?:[^@/]+@)?([^/:]+)(?::\d+)?\/(.+)$/.exec(r);
|
|
13
|
-
if (url) {
|
|
14
|
-
[, host, path] = url;
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
// scp-like: [user@]host:owner/repo(.git) — a leading '/' (local path)
|
|
18
|
-
// can't match the host group, so plain directories fall through to null.
|
|
19
|
-
const scp = /^(?:[^@/:]+@)?([^:/]+):(.+)$/.exec(r);
|
|
20
|
-
if (!scp)
|
|
21
|
-
return null;
|
|
22
|
-
[, host, path] = scp;
|
|
23
|
-
}
|
|
24
|
-
if (!host || !path)
|
|
25
|
-
return null;
|
|
26
|
-
const parts = path.replace(/\.git$/i, '').split('/').filter(Boolean);
|
|
27
|
-
const owner = parts[parts.length - 2];
|
|
28
|
-
const repo = parts[parts.length - 1];
|
|
29
|
-
if (!owner || !repo)
|
|
30
|
-
return null;
|
|
31
|
-
return { host: host.toLowerCase(), owner, repo };
|
|
32
|
-
}
|
|
33
10
|
/** Remote host → forge kind. The one host table both `resolveForge` and the
|
|
34
11
|
* registry probe read; GitLab lands here later as one more row. */
|
|
35
12
|
const FORGE_HOSTS = { 'github.com': 'github' };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/server/forge/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/server/forge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAsB,MAAM,aAAa,CAAC;AAGrE;;;;;;GAMG;AAEH;oEACoE;AACpE,MAAM,WAAW,GAA8B,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;AAE1E;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAA0B;IAC1D,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5D,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,MAA0B;IACrD,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,WAAW,CAAC;QAAE,OAAO,IAAI,CAAC;IAC1D,OAAO,WAAW,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;AACjE,CAAC;AAKD,mFAAmF;AACnF,MAAM,UAAU,gBAAgB,CAAC,QAAgB,EAAE,OAAO,GAAiB,kBAAkB;IAC3F,OAAO,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,QAAyB,EAAE,OAAO,GAAiB,kBAAkB;IAChG,IAAI,CAAC,QAAQ,EAAE,MAAM;QAAE,OAAO,IAAI,CAAC;IACnC,MAAM,MAAM,GAAG,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IACzB,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,QAAQ,EAAE,CAAC;QAC1C,OAAO,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;IAC5E,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAID,6DAA6D;AAC7D,MAAM,UAAU,kBAAkB,CAAC,IAAe,EAAE,KAAa,EAAE,IAAY;IAC7E,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC;IAC/E,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,IAAI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/D,CAAC;AAED,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -10,7 +10,8 @@ import type { RunRecord } from '../../runs/store.ts';
|
|
|
10
10
|
* gate, a per-branch PR probe, and web-URL building. Adding a forge = one new
|
|
11
11
|
* driver file behind `resolveForge`, no route or UI changes.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
/** A forge id (`github`). An open string: a plugin can add a forge. */
|
|
14
|
+
export type ForgeKind = string;
|
|
14
15
|
/** Availability probe result — mirrors the tab's quiet degradation contract:
|
|
15
16
|
* no CLI, no remote, offline all land on `available:false` + a human hint. */
|
|
16
17
|
export interface ForgeAvailability {
|
|
@@ -16,12 +16,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
16
16
|
output: {
|
|
17
17
|
generation: string;
|
|
18
18
|
results: ({
|
|
19
|
-
projectId: string;
|
|
20
|
-
runId: string;
|
|
21
|
-
type: "error" | "reset";
|
|
22
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
23
|
-
error: string;
|
|
24
|
-
} | {
|
|
25
19
|
projectId: string;
|
|
26
20
|
runId: string;
|
|
27
21
|
type: "batch";
|
|
@@ -42,6 +36,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
42
36
|
cursor: string;
|
|
43
37
|
afterSeq: number;
|
|
44
38
|
hasMore: boolean;
|
|
39
|
+
} | {
|
|
40
|
+
projectId: string;
|
|
41
|
+
runId: string;
|
|
42
|
+
type: "error" | "reset";
|
|
43
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
44
|
+
error: string;
|
|
45
45
|
})[];
|
|
46
46
|
};
|
|
47
47
|
outputFormat: "json";
|
|
@@ -32,7 +32,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
32
32
|
source: "checkout" | "local";
|
|
33
33
|
status: "missing" | "not-git" | "ok";
|
|
34
34
|
branch?: string | undefined;
|
|
35
|
-
forge?:
|
|
35
|
+
forge?: string | undefined;
|
|
36
36
|
repoUrl?: string | undefined;
|
|
37
37
|
maxParallel?: number | undefined;
|
|
38
38
|
tags?: string[] | undefined;
|
|
@@ -84,7 +84,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
84
84
|
source: "checkout" | "local";
|
|
85
85
|
status: "missing" | "not-git" | "ok";
|
|
86
86
|
branch?: string | undefined;
|
|
87
|
-
forge?:
|
|
87
|
+
forge?: string | undefined;
|
|
88
88
|
repoUrl?: string | undefined;
|
|
89
89
|
maxParallel?: number | undefined;
|
|
90
90
|
tags?: string[] | undefined;
|
|
@@ -124,7 +124,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
124
124
|
source: "checkout" | "local";
|
|
125
125
|
status: "missing" | "not-git" | "ok";
|
|
126
126
|
branch?: string | undefined;
|
|
127
|
-
forge?:
|
|
127
|
+
forge?: string | undefined;
|
|
128
128
|
repoUrl?: string | undefined;
|
|
129
129
|
maxParallel?: number | undefined;
|
|
130
130
|
tags?: string[] | undefined;
|
|
@@ -259,7 +259,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
259
259
|
source: "checkout" | "local";
|
|
260
260
|
status: "missing" | "not-git" | "ok";
|
|
261
261
|
branch?: string | undefined;
|
|
262
|
-
forge?:
|
|
262
|
+
forge?: string | undefined;
|
|
263
263
|
repoUrl?: string | undefined;
|
|
264
264
|
maxParallel?: number | undefined;
|
|
265
265
|
tags?: string[] | undefined;
|
|
@@ -373,7 +373,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
373
373
|
source: "checkout" | "local";
|
|
374
374
|
status: "missing" | "not-git" | "ok";
|
|
375
375
|
branch?: string | undefined;
|
|
376
|
-
forge?:
|
|
376
|
+
forge?: string | undefined;
|
|
377
377
|
repoUrl?: string | undefined;
|
|
378
378
|
maxParallel?: number | undefined;
|
|
379
379
|
tags?: string[] | undefined;
|
|
@@ -459,7 +459,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
459
459
|
source: "checkout" | "local";
|
|
460
460
|
status: "missing" | "not-git" | "ok";
|
|
461
461
|
branch?: string | undefined;
|
|
462
|
-
forge?:
|
|
462
|
+
forge?: string | undefined;
|
|
463
463
|
repoUrl?: string | undefined;
|
|
464
464
|
maxParallel?: number | undefined;
|
|
465
465
|
tags?: string[] | undefined;
|
|
@@ -558,7 +558,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
558
558
|
source: "checkout" | "local";
|
|
559
559
|
status: "missing" | "not-git" | "ok";
|
|
560
560
|
branch?: string | undefined;
|
|
561
|
-
forge?:
|
|
561
|
+
forge?: string | undefined;
|
|
562
562
|
repoUrl?: string | undefined;
|
|
563
563
|
maxParallel?: number | undefined;
|
|
564
564
|
tags?: string[] | undefined;
|
|
@@ -692,7 +692,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
692
692
|
source: "checkout" | "local";
|
|
693
693
|
status: "missing" | "not-git" | "ok";
|
|
694
694
|
branch?: string | undefined;
|
|
695
|
-
forge?:
|
|
695
|
+
forge?: string | undefined;
|
|
696
696
|
repoUrl?: string | undefined;
|
|
697
697
|
maxParallel?: number | undefined;
|
|
698
698
|
tags?: string[] | undefined;
|
|
@@ -774,7 +774,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
774
774
|
source: "checkout" | "local";
|
|
775
775
|
status: "missing" | "not-git" | "ok";
|
|
776
776
|
branch?: string | undefined;
|
|
777
|
-
forge?:
|
|
777
|
+
forge?: string | undefined;
|
|
778
778
|
repoUrl?: string | undefined;
|
|
779
779
|
maxParallel?: number | undefined;
|
|
780
780
|
tags?: string[] | undefined;
|
|
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
31
31
|
error: string;
|
|
32
32
|
};
|
|
33
33
|
outputFormat: "json";
|
|
34
|
-
status:
|
|
34
|
+
status: 400;
|
|
35
35
|
input: {
|
|
36
36
|
json: {
|
|
37
37
|
target: string;
|
|
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 409;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,10 +138,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
141
|
+
runId: string;
|
|
142
|
+
worktreeReclaimedAt: string;
|
|
142
143
|
};
|
|
143
144
|
outputFormat: "json";
|
|
144
|
-
status:
|
|
145
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
145
146
|
input: {
|
|
146
147
|
param: {
|
|
147
148
|
runId: string;
|
|
@@ -153,11 +154,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
153
154
|
};
|
|
154
155
|
} | {
|
|
155
156
|
output: {
|
|
156
|
-
|
|
157
|
-
worktreeReclaimedAt: string;
|
|
157
|
+
error: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: 404 | 409;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -293,14 +293,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
293
293
|
"/repo/branches/delete": {
|
|
294
294
|
$post: {
|
|
295
295
|
output: {
|
|
296
|
-
|
|
296
|
+
deleted: string[];
|
|
297
297
|
refused: {
|
|
298
298
|
name: string;
|
|
299
299
|
reason: string;
|
|
300
300
|
}[];
|
|
301
|
+
dropped?: {
|
|
302
|
+
sha: string;
|
|
303
|
+
subject: string;
|
|
304
|
+
}[] | undefined;
|
|
301
305
|
};
|
|
302
306
|
outputFormat: "json";
|
|
303
|
-
status:
|
|
307
|
+
status: 200;
|
|
304
308
|
input: {
|
|
305
309
|
json: {
|
|
306
310
|
names: string[];
|
|
@@ -309,18 +313,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
309
313
|
};
|
|
310
314
|
} | {
|
|
311
315
|
output: {
|
|
312
|
-
|
|
316
|
+
error: string;
|
|
313
317
|
refused: {
|
|
314
318
|
name: string;
|
|
315
319
|
reason: string;
|
|
316
320
|
}[];
|
|
317
|
-
dropped?: {
|
|
318
|
-
sha: string;
|
|
319
|
-
subject: string;
|
|
320
|
-
}[] | undefined;
|
|
321
321
|
};
|
|
322
322
|
outputFormat: "json";
|
|
323
|
-
status:
|
|
323
|
+
status: 409;
|
|
324
324
|
input: {
|
|
325
325
|
json: {
|
|
326
326
|
names: string[];
|
|
@@ -477,10 +477,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
477
477
|
"/repo/pull": {
|
|
478
478
|
$post: {
|
|
479
479
|
output: {
|
|
480
|
-
|
|
480
|
+
branch: string;
|
|
481
|
+
pulled: true;
|
|
482
|
+
summary: string;
|
|
481
483
|
};
|
|
482
484
|
outputFormat: "json";
|
|
483
|
-
status:
|
|
485
|
+
status: 200;
|
|
484
486
|
input: {
|
|
485
487
|
json: {
|
|
486
488
|
branch?: string | undefined;
|
|
@@ -489,12 +491,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
489
491
|
};
|
|
490
492
|
} | {
|
|
491
493
|
output: {
|
|
492
|
-
|
|
493
|
-
pulled: true;
|
|
494
|
-
summary: string;
|
|
494
|
+
error: string;
|
|
495
495
|
};
|
|
496
496
|
outputFormat: "json";
|
|
497
|
-
status:
|
|
497
|
+
status: 409;
|
|
498
498
|
input: {
|
|
499
499
|
json: {
|
|
500
500
|
branch?: string | undefined;
|