@hearsay-tools/squawk 0.19.0-pr4624.9218 → 0.19.0-pr4638.9230
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 +3 -0
- package/dist/contract/index.js +8 -0
- package/dist/contract/projects.d.ts +6 -0
- package/dist/core/forge-registry.d.ts +8 -0
- package/dist/core/forge-registry.js +36 -13
- package/dist/core/forge-registry.js.map +1 -1
- package/dist/features/hosts/routes.d.ts +2 -0
- package/dist/features/webhooks/routes.d.ts +3 -0
- package/dist/server/projects-routes.d.ts +6 -0
- package/dist/server/server.d.ts +64 -58
- package/dist/workspace/projects.d.ts +5 -0
- package/dist/workspace/projects.js +8 -2
- package/dist/workspace/projects.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-lnMwvHTo.js +1 -0
- package/web/dist/assets/{activity-motion-CXlbNrMI.js → activity-motion-DBxIOskd.js} +1 -1
- package/web/dist/assets/{activity-route-BL-QWLNp.js → activity-route-BYf5OD8Y.js} +1 -1
- package/web/dist/assets/{agent-accounts-Du8CHfFX.js → agent-accounts-BzD14qLU.js} +1 -1
- package/web/dist/assets/{agent-config-section-BzMSlPK0.js → agent-config-section-BwmBjoad.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-CqEVmRK0.js → agent-defaults-section-BbFvw0IO.js} +1 -1
- package/web/dist/assets/{appearance-vI6ae_So.js → appearance-CkohbKAs.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-C4hrO55O.js → archive-on-merge-field-CQ8DBqiG.js} +1 -1
- package/web/dist/assets/{ask-card-hEb8IHjL.js → ask-card-Bli7vYif.js} +3 -3
- package/web/dist/assets/automations-route-BNYFQeuu.js +2 -0
- package/web/dist/assets/{commit-list-Jr1_04RS.js → commit-list-CJZtpbaw.js} +1 -1
- package/web/dist/assets/{diff-BOF9OXhn.js → diff-DPSOaO5_.js} +2 -2
- package/web/dist/assets/{diff-controls-CkxtRrbB.js → diff-controls-rfNgY_Dd.js} +1 -1
- package/web/dist/assets/{diff-view-Chu6rn_i.js → diff-view-CswchTTd.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-BB47RqdX.js → discard-changes-dialog-BMT0YtWx.js} +1 -1
- package/web/dist/assets/{file-preview-DNM-krBZ.js → file-preview-DoaMlVS3.js} +1 -1
- package/web/dist/assets/{folder-browser-TNWat5kt.js → folder-browser-D_q7aPq-.js} +1 -1
- package/web/dist/assets/{git-toolbar-CoKBTzNV.js → git-toolbar-BCqNvkr5.js} +1 -1
- package/web/dist/assets/{github-t611QkCi.js → github-Bv1h-3dP.js} +1 -1
- package/web/dist/assets/{global-activity-route-B9DMoviv.js → global-activity-route-CrAG-ji7.js} +1 -1
- package/web/dist/assets/{host-context-iTMFRMT5.js → host-context-KsSKxKbI.js} +1 -1
- package/web/dist/assets/host-storage-BHtMSWBL.js +1 -0
- package/web/dist/assets/{hosts-rdWe_OBc.js → hosts-pzCm30ta.js} +1 -1
- package/web/dist/assets/{image-preview-C_xACQXI.js → image-preview-CvcSCCBU.js} +1 -1
- package/web/dist/assets/index-D9hyWO4C.js +21 -0
- package/web/dist/assets/index-DZXi-K2N.css +1 -0
- package/web/dist/assets/{label-B_s8eiYA.js → label-DEZnEIpB.js} +1 -1
- package/web/dist/assets/{markdown-Bmdr6MIa.js → markdown-BRE9fTUI.js} +1 -1
- package/web/dist/assets/{open-in-menu-DkFneOWr.js → open-in-menu-DomSOC26.js} +1 -1
- package/web/dist/assets/{option-select-BxTmKg8G.js → option-select-Cqnmt-CB.js} +1 -1
- package/web/dist/assets/{preferences-section-B_yl_o-g.js → preferences-section-CC4m45tb.js} +1 -1
- package/web/dist/assets/{preview-D3zYSmIA.js → preview-DFL4D2C_.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-s9LvCVbp.js → preview-pane-connected-CvF3zJ9A.js} +2 -2
- package/web/dist/assets/{project-location-BczZtNyO.js → project-location-D6-Lo1vY.js} +1 -1
- package/web/dist/assets/{project-router-CfEuKuz1.js → project-router-CARDbdMX.js} +1 -1
- package/web/dist/assets/{project-scope-context-DNrHbqd2.js → project-scope-context-Bz7AAyJ4.js} +2 -2
- package/web/dist/assets/{projects-section-C6DnyUa2.js → projects-section-zeGtqnI3.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-BQvKWcaX.js → prompt-templates-section--ygct2zC.js} +2 -2
- package/web/dist/assets/queries-D7W-eGim.js +1 -0
- package/web/dist/assets/{reference-chip-e-fG4-yW.js → reference-chip-D8ckcrda.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-CUqI2DdF.js → remote-settings-notice-MxDxNXXw.js} +1 -1
- package/web/dist/assets/{repo-git-NG_TxE7N.js → repo-git-VfTEbVO3.js} +1 -1
- package/web/dist/assets/{report-reader-LYNHrAe-.js → report-reader-DLCLUfdH.js} +1 -1
- package/web/dist/assets/{report-selection-nUbQVjJu.js → report-selection-BcsbTczw.js} +1 -1
- package/web/dist/assets/{reports-DuT4m7i5.js → reports-QoDlngjL.js} +1 -1
- package/web/dist/assets/{resources-section-CT48TCXY.js → resources-section-CBL0htm5.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-C7HCRebB.js → review-notes-drafts-DJDQNemf.js} +1 -1
- package/web/dist/assets/{review-panel-BffLSkRo.js → review-panel-BY05CuXd.js} +1 -1
- package/web/dist/assets/{review-strip-COa0ir6V.js → review-strip-BWhQ5CIC.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-Db5HOGMX.js → run-detail-refresh-CecZhU-h.js} +1 -1
- package/web/dist/assets/{run-diff-DldSY8BJ.js → run-diff-CpwwrpXO.js} +1 -1
- package/web/dist/assets/run-header-CZU3e9Xk.js +2 -0
- package/web/dist/assets/{select-Cd8wvwvm.js → select-C72KGfnK.js} +1 -1
- package/web/dist/assets/{session-context-section-CW8DS0dW.js → session-context-section-D8v30mSp.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-an3ysM1B.js → settings-agent-picker-DGhJwDIY.js} +1 -1
- package/web/dist/assets/{settings-save-bar-BiHFQ4c0.js → settings-save-bar-Dp-eEIEF.js} +1 -1
- package/web/dist/assets/{settings-shell-KZ801oLH.js → settings-shell-DZzgCmSz.js} +1 -1
- package/web/dist/assets/{sidebar-section-BRMO7aY4.js → sidebar-section-B94mdYUS.js} +1 -1
- package/web/dist/assets/{skills-DHkLoxXb.js → skills-B6jO_f1w.js} +1 -1
- package/web/dist/assets/{status-dot-Da1M54kK.js → status-dot-B5MkhHDP.js} +1 -1
- package/web/dist/assets/{tab-link-DL1UtKVR.js → tab-link-zXPa9LIz.js} +1 -1
- package/web/dist/assets/{task-changes-CQhwyj0L.js → task-changes-B_2BDWIf.js} +2 -2
- package/web/dist/assets/{task-commits-CTP8izpc.js → task-commits-kxDG4T81.js} +1 -1
- package/web/dist/assets/{task-file-scope-CDIfOvl-.js → task-file-scope-DVACyrij.js} +1 -1
- package/web/dist/assets/{task-files-CGlRH86B.js → task-files-4CxXkPOx.js} +1 -1
- package/web/dist/assets/{task-github-item-ChgjULzj.js → task-github-item-C8hMZej3.js} +1 -1
- package/web/dist/assets/task-thread-Bv_Fjceh.js +2 -0
- package/web/dist/assets/{thread-state-D2KJrZ1o.js → thread-state-CufNf_fC.js} +1 -1
- package/web/dist/assets/{use-finish-run-DifixlCM.js → use-finish-run-CjYc6ovQ.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-Bjh1EnB3.js → use-hand-to-agent-state-B_j_e1kD.js} +1 -1
- package/web/dist/assets/use-path-bases-BfjK7tem.js +1 -0
- package/web/dist/assets/use-workspace-config-save-toCmvqtz.js +1 -0
- package/web/dist/assets/{workflows-BDc-MpiC.js → workflows-iMfDerlK.js} +1 -1
- package/web/dist/assets/{workspace-tools-D7kUSb-0.js → workspace-tools-CgYFRggf.js} +1 -1
- package/web/dist/assets/{worktrees-section-Cv65NBgq.js → worktrees-section-CtT9bwKK.js} +4 -4
- package/web/dist/assets/{zoomable-image-DJ1lJEMc.js → zoomable-image-Dv85Vr4A.js} +1 -1
- package/web/dist/index.html +17 -17
- package/web/dist/live-worker.js +1 -1
- package/web/dist/assets/accounts-section-s6sAdUT8.js +0 -1
- package/web/dist/assets/automations-route-Bd6crv15.js +0 -2
- package/web/dist/assets/host-storage-Cr_NKfWy.js +0 -1
- package/web/dist/assets/index-C3kap2_j.js +0 -21
- package/web/dist/assets/index-CWmMYQdT.css +0 -1
- package/web/dist/assets/queries-DD_9iITj.js +0 -1
- package/web/dist/assets/run-header-DxpN6yVQ.js +0 -2
- package/web/dist/assets/task-thread-Cj9B2ISO.js +0 -2
- package/web/dist/assets/use-path-bases-AV9YYh2B.js +0 -1
- package/web/dist/assets/use-workspace-config-save-02qlUK8v.js +0 -1
package/dist/contract/hosts.d.ts
CHANGED
|
@@ -428,6 +428,7 @@ export declare const hostProjectsEntrySchema: z.ZodObject<{
|
|
|
428
428
|
branch: z.ZodOptional<z.ZodString>;
|
|
429
429
|
forge: z.ZodOptional<z.ZodString>;
|
|
430
430
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
431
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
431
432
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
432
433
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
433
434
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -489,6 +490,7 @@ export declare const hostsProjectsResponseSchema: z.ZodObject<{
|
|
|
489
490
|
branch: z.ZodOptional<z.ZodString>;
|
|
490
491
|
forge: z.ZodOptional<z.ZodString>;
|
|
491
492
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
493
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
492
494
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
493
495
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
496
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -562,6 +564,7 @@ export declare const hostsProjectsResponseSchema: z.ZodObject<{
|
|
|
562
564
|
branch: z.ZodOptional<z.ZodString>;
|
|
563
565
|
forge: z.ZodOptional<z.ZodString>;
|
|
564
566
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
567
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
565
568
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
566
569
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
567
570
|
webhook: z.ZodOptional<z.ZodObject<{
|
package/dist/contract/index.js
CHANGED
|
@@ -3574,6 +3574,14 @@ var projectListEntrySchema = z26.object({
|
|
|
3574
3574
|
* way a project-scoped view can. With this, every reference it shows is a link.
|
|
3575
3575
|
*/
|
|
3576
3576
|
repoUrl: z26.string().optional(),
|
|
3577
|
+
/**
|
|
3578
|
+
* Canonical lowercased repository identity (`<host>/<path>`, e.g. `github.com/owner/repo` or
|
|
3579
|
+
* `gitlab.com/group/subgroup/repo`) derived server-side from the parsed git remote (no
|
|
3580
|
+
* registered forge required). Credentials and SSH/git ports are stripped (non-default
|
|
3581
|
+
* HTTP/HTTPS ports are kept) and the full path is preserved. Absent when the project has no
|
|
3582
|
+
* parsable remote (local path, `file://`, remote-less, `not-git`, or `missing`).
|
|
3583
|
+
*/
|
|
3584
|
+
repoIdentity: z26.string().optional(),
|
|
3577
3585
|
/** Per-project cap on concurrently running tasks (spec 2026-07-22). Omitted = inherit the
|
|
3578
3586
|
* workspace `resources.maxParallel`; a number pins this project. */
|
|
3579
3587
|
maxParallel: z26.number().optional(),
|
|
@@ -66,6 +66,7 @@ export declare const projectListEntrySchema: z.ZodObject<{
|
|
|
66
66
|
branch: z.ZodOptional<z.ZodString>;
|
|
67
67
|
forge: z.ZodOptional<z.ZodString>;
|
|
68
68
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
69
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
69
70
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
70
71
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
72
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -133,6 +134,7 @@ export declare const projectsResponseSchema: z.ZodObject<{
|
|
|
133
134
|
branch: z.ZodOptional<z.ZodString>;
|
|
134
135
|
forge: z.ZodOptional<z.ZodString>;
|
|
135
136
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
137
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
136
138
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
137
139
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
140
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -199,6 +201,7 @@ export declare const registerProjectResponseSchema: z.ZodObject<{
|
|
|
199
201
|
branch: z.ZodOptional<z.ZodString>;
|
|
200
202
|
forge: z.ZodOptional<z.ZodString>;
|
|
201
203
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
204
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
202
205
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
203
206
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
204
207
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -273,6 +276,7 @@ export declare const updateProjectResponseSchema: z.ZodObject<{
|
|
|
273
276
|
branch: z.ZodOptional<z.ZodString>;
|
|
274
277
|
forge: z.ZodOptional<z.ZodString>;
|
|
275
278
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
279
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
276
280
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
277
281
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
278
282
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -400,6 +404,7 @@ export declare const projectWebhookResponseSchema: z.ZodObject<{
|
|
|
400
404
|
branch: z.ZodOptional<z.ZodString>;
|
|
401
405
|
forge: z.ZodOptional<z.ZodString>;
|
|
402
406
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
407
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
403
408
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
404
409
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
405
410
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -602,6 +607,7 @@ export declare const createProjectResponseSchema: z.ZodObject<{
|
|
|
602
607
|
branch: z.ZodOptional<z.ZodString>;
|
|
603
608
|
forge: z.ZodOptional<z.ZodString>;
|
|
604
609
|
repoUrl: z.ZodOptional<z.ZodString>;
|
|
610
|
+
repoIdentity: z.ZodOptional<z.ZodString>;
|
|
605
611
|
maxParallel: z.ZodOptional<z.ZodNumber>;
|
|
606
612
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
613
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -273,6 +273,14 @@ export declare function registeredForges(): ForgeDefinition[];
|
|
|
273
273
|
* does not. Null for local paths and anything else that does not look like a forge remote.
|
|
274
274
|
*/
|
|
275
275
|
export declare function parseRemote(remote: string): ForgeRemote | null;
|
|
276
|
+
/**
|
|
277
|
+
* Canonical lowercased repository identity (`<host>/<full-path>`) derived from a git remote,
|
|
278
|
+
* independent of registered forges. Credentials and SSH/git ports are stripped (non-default
|
|
279
|
+
* HTTP/HTTPS ports are kept), and every path segment is preserved so nested groups and Azure
|
|
280
|
+
* DevOps organisations do not collide. Null when the remote is absent, a local path, `file://`,
|
|
281
|
+
* or otherwise unparsable.
|
|
282
|
+
*/
|
|
283
|
+
export declare function remoteRepositoryIdentity(remote: string | undefined): string | null;
|
|
276
284
|
/**
|
|
277
285
|
* The forge of a remote: the first registered definition whose `matchRemote` returns true, with
|
|
278
286
|
* the parsed remote. Null for no remote, a remote that does not parse, or a remote no forge
|
|
@@ -53,13 +53,7 @@ export function forgesSealed() { return forges.isSealed(); }
|
|
|
53
53
|
/** Registered forges in registration order. Throws until sealed. */
|
|
54
54
|
export function registeredForges() { return forges.values(); }
|
|
55
55
|
const DEFAULT_PORTS = { http: '80', https: '443' };
|
|
56
|
-
|
|
57
|
-
* Parse a git remote URL into host/owner/repo. Handles the scheme forms (`https://`, `ssh://`,
|
|
58
|
-
* `git://`, with optional credentials and port) and the scp-like form (`git@host:owner/repo.git`).
|
|
59
|
-
* An HTTP(S) host keeps a non-default port, because it names the web server; an SSH or git port
|
|
60
|
-
* does not. Null for local paths and anything else that does not look like a forge remote.
|
|
61
|
-
*/
|
|
62
|
-
export function parseRemote(remote) {
|
|
56
|
+
function parseRemoteHostAndPath(remote) {
|
|
63
57
|
const r = remote.trim().replace(/\/+$/, '');
|
|
64
58
|
let host;
|
|
65
59
|
let path;
|
|
@@ -71,7 +65,10 @@ export function parseRemote(remote) {
|
|
|
71
65
|
path = rest;
|
|
72
66
|
}
|
|
73
67
|
else {
|
|
74
|
-
//
|
|
68
|
+
// Reject unrecognized URL schemes (e.g. `file:///...`) and Windows drive paths (`C:\...`, `C:/...`, `c:repo`).
|
|
69
|
+
if (/^[a-z][a-z0-9+.-]*:\/\//i.test(r) || /^[a-z]:/i.test(r))
|
|
70
|
+
return null;
|
|
71
|
+
// scp-like: [user@]host:path(.git) — a leading '/' (local path)
|
|
75
72
|
// can't match the host group, so plain directories fall through to null.
|
|
76
73
|
const scp = /^(?:[^@/:]+@)?([^:/]+):(.+)$/.exec(r);
|
|
77
74
|
if (!scp)
|
|
@@ -80,12 +77,38 @@ export function parseRemote(remote) {
|
|
|
80
77
|
}
|
|
81
78
|
if (!host || !path)
|
|
82
79
|
return null;
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
80
|
+
const segments = path.replace(/\.git$/i, '').split('/').filter(Boolean);
|
|
81
|
+
if (segments.length === 0)
|
|
82
|
+
return null;
|
|
83
|
+
return { host: host.toLowerCase(), segments };
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Parse a git remote URL into host/owner/repo. Handles the scheme forms (`https://`, `ssh://`,
|
|
87
|
+
* `git://`, with optional credentials and port) and the scp-like form (`git@host:owner/repo.git`).
|
|
88
|
+
* An HTTP(S) host keeps a non-default port, because it names the web server; an SSH or git port
|
|
89
|
+
* does not. Null for local paths and anything else that does not look like a forge remote.
|
|
90
|
+
*/
|
|
91
|
+
export function parseRemote(remote) {
|
|
92
|
+
const parsed = parseRemoteHostAndPath(remote);
|
|
93
|
+
if (!parsed || parsed.segments.length < 2)
|
|
94
|
+
return null;
|
|
95
|
+
const { host, segments } = parsed;
|
|
96
|
+
const owner = segments[segments.length - 2];
|
|
97
|
+
const repo = segments[segments.length - 1];
|
|
98
|
+
return { host, owner, repo };
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Canonical lowercased repository identity (`<host>/<full-path>`) derived from a git remote,
|
|
102
|
+
* independent of registered forges. Credentials and SSH/git ports are stripped (non-default
|
|
103
|
+
* HTTP/HTTPS ports are kept), and every path segment is preserved so nested groups and Azure
|
|
104
|
+
* DevOps organisations do not collide. Null when the remote is absent, a local path, `file://`,
|
|
105
|
+
* or otherwise unparsable.
|
|
106
|
+
*/
|
|
107
|
+
export function remoteRepositoryIdentity(remote) {
|
|
108
|
+
const parsed = remote ? parseRemoteHostAndPath(remote) : null;
|
|
109
|
+
if (!parsed)
|
|
87
110
|
return null;
|
|
88
|
-
return {
|
|
111
|
+
return `${parsed.host}/${parsed.segments.map((segment) => segment.toLowerCase()).join('/')}`;
|
|
89
112
|
}
|
|
90
113
|
/** Forges whose `matchRemote` threw once: each warns one time per process. */
|
|
91
114
|
const warnedForges = new Set();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forge-registry.js","sourceRoot":"","sources":["../../src/core/forge-registry.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,eAAe,EAA2B,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAgMpD;;;GAGG;AACH,MAAM,OAAO,qBAAsB,SA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AiB,CAC/B,QAAoF,EACpF,SAAkB;IAElB,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,IAAI,kBAAkB,CAAC,CAAC,WAAW,EAAE,CAAC;IACjE,MAAM,KAAK,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAC5C,IAAI,KAAK;QAAE,OAAO,KAAK,CAAC,cAAc,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACtH,IAAI,SAAS,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC9C,OAAO,IAAI,KAAK,kBAAkB,CAAC,CAAC,CAAC,WAAW,kBAAkB,IAAI,QAAQ,CAAC,KAAK,IAAI,QAAQ,CAAC,IAAI,SAAS,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9I,CAAC"}
|
|
@@ -75,6 +75,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
75
75
|
branch?: string | undefined;
|
|
76
76
|
forge?: string | undefined;
|
|
77
77
|
repoUrl?: string | undefined;
|
|
78
|
+
repoIdentity?: string | undefined;
|
|
78
79
|
maxParallel?: number | undefined;
|
|
79
80
|
tags?: string[] | undefined;
|
|
80
81
|
webhook?: {
|
|
@@ -110,6 +111,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
110
111
|
branch?: string | undefined;
|
|
111
112
|
forge?: string | undefined;
|
|
112
113
|
repoUrl?: string | undefined;
|
|
114
|
+
repoIdentity?: string | undefined;
|
|
113
115
|
maxParallel?: number | undefined;
|
|
114
116
|
tags?: string[] | undefined;
|
|
115
117
|
webhook?: {
|
|
@@ -153,6 +153,7 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
153
153
|
branch?: string | undefined;
|
|
154
154
|
forge?: string | undefined;
|
|
155
155
|
repoUrl?: string | undefined;
|
|
156
|
+
repoIdentity?: string | undefined;
|
|
156
157
|
maxParallel?: number | undefined;
|
|
157
158
|
tags?: string[] | undefined;
|
|
158
159
|
webhook?: {
|
|
@@ -261,6 +262,7 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
261
262
|
branch?: string | undefined;
|
|
262
263
|
forge?: string | undefined;
|
|
263
264
|
repoUrl?: string | undefined;
|
|
265
|
+
repoIdentity?: string | undefined;
|
|
264
266
|
maxParallel?: number | undefined;
|
|
265
267
|
tags?: string[] | undefined;
|
|
266
268
|
webhook?: {
|
|
@@ -361,6 +363,7 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
361
363
|
branch?: string | undefined;
|
|
362
364
|
forge?: string | undefined;
|
|
363
365
|
repoUrl?: string | undefined;
|
|
366
|
+
repoIdentity?: string | undefined;
|
|
364
367
|
maxParallel?: number | undefined;
|
|
365
368
|
tags?: string[] | undefined;
|
|
366
369
|
webhook?: {
|
|
@@ -33,6 +33,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
33
33
|
branch?: string | undefined;
|
|
34
34
|
forge?: string | undefined;
|
|
35
35
|
repoUrl?: string | undefined;
|
|
36
|
+
repoIdentity?: string | undefined;
|
|
36
37
|
maxParallel?: number | undefined;
|
|
37
38
|
tags?: string[] | undefined;
|
|
38
39
|
webhook?: {
|
|
@@ -74,6 +75,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
74
75
|
branch?: string | undefined;
|
|
75
76
|
forge?: string | undefined;
|
|
76
77
|
repoUrl?: string | undefined;
|
|
78
|
+
repoIdentity?: string | undefined;
|
|
77
79
|
maxParallel?: number | undefined;
|
|
78
80
|
tags?: string[] | undefined;
|
|
79
81
|
webhook?: {
|
|
@@ -114,6 +116,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
114
116
|
branch?: string | undefined;
|
|
115
117
|
forge?: string | undefined;
|
|
116
118
|
repoUrl?: string | undefined;
|
|
119
|
+
repoIdentity?: string | undefined;
|
|
117
120
|
maxParallel?: number | undefined;
|
|
118
121
|
tags?: string[] | undefined;
|
|
119
122
|
webhook?: {
|
|
@@ -272,6 +275,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
272
275
|
branch?: string | undefined;
|
|
273
276
|
forge?: string | undefined;
|
|
274
277
|
repoUrl?: string | undefined;
|
|
278
|
+
repoIdentity?: string | undefined;
|
|
275
279
|
maxParallel?: number | undefined;
|
|
276
280
|
tags?: string[] | undefined;
|
|
277
281
|
webhook?: {
|
|
@@ -381,6 +385,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
381
385
|
branch?: string | undefined;
|
|
382
386
|
forge?: string | undefined;
|
|
383
387
|
repoUrl?: string | undefined;
|
|
388
|
+
repoIdentity?: string | undefined;
|
|
384
389
|
maxParallel?: number | undefined;
|
|
385
390
|
tags?: string[] | undefined;
|
|
386
391
|
webhook?: {
|
|
@@ -463,6 +468,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
463
468
|
branch?: string | undefined;
|
|
464
469
|
forge?: string | undefined;
|
|
465
470
|
repoUrl?: string | undefined;
|
|
471
|
+
repoIdentity?: string | undefined;
|
|
466
472
|
maxParallel?: number | undefined;
|
|
467
473
|
tags?: string[] | undefined;
|
|
468
474
|
webhook?: {
|
package/dist/server/server.d.ts
CHANGED
|
@@ -2116,6 +2116,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2116
2116
|
branch?: string | undefined;
|
|
2117
2117
|
forge?: string | undefined;
|
|
2118
2118
|
repoUrl?: string | undefined;
|
|
2119
|
+
repoIdentity?: string | undefined;
|
|
2119
2120
|
maxParallel?: number | undefined;
|
|
2120
2121
|
tags?: string[] | undefined;
|
|
2121
2122
|
webhook?: {
|
|
@@ -2168,6 +2169,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2168
2169
|
branch?: string | undefined;
|
|
2169
2170
|
forge?: string | undefined;
|
|
2170
2171
|
repoUrl?: string | undefined;
|
|
2172
|
+
repoIdentity?: string | undefined;
|
|
2171
2173
|
maxParallel?: number | undefined;
|
|
2172
2174
|
tags?: string[] | undefined;
|
|
2173
2175
|
webhook?: {
|
|
@@ -2208,6 +2210,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2208
2210
|
branch?: string | undefined;
|
|
2209
2211
|
forge?: string | undefined;
|
|
2210
2212
|
repoUrl?: string | undefined;
|
|
2213
|
+
repoIdentity?: string | undefined;
|
|
2211
2214
|
maxParallel?: number | undefined;
|
|
2212
2215
|
tags?: string[] | undefined;
|
|
2213
2216
|
webhook?: {
|
|
@@ -2377,6 +2380,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2377
2380
|
branch?: string | undefined;
|
|
2378
2381
|
forge?: string | undefined;
|
|
2379
2382
|
repoUrl?: string | undefined;
|
|
2383
|
+
repoIdentity?: string | undefined;
|
|
2380
2384
|
maxParallel?: number | undefined;
|
|
2381
2385
|
tags?: string[] | undefined;
|
|
2382
2386
|
webhook?: {
|
|
@@ -2464,6 +2468,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2464
2468
|
branch?: string | undefined;
|
|
2465
2469
|
forge?: string | undefined;
|
|
2466
2470
|
repoUrl?: string | undefined;
|
|
2471
|
+
repoIdentity?: string | undefined;
|
|
2467
2472
|
maxParallel?: number | undefined;
|
|
2468
2473
|
tags?: string[] | undefined;
|
|
2469
2474
|
webhook?: {
|
|
@@ -2546,6 +2551,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2546
2551
|
branch?: string | undefined;
|
|
2547
2552
|
forge?: string | undefined;
|
|
2548
2553
|
repoUrl?: string | undefined;
|
|
2554
|
+
repoIdentity?: string | undefined;
|
|
2549
2555
|
maxParallel?: number | undefined;
|
|
2550
2556
|
tags?: string[] | undefined;
|
|
2551
2557
|
webhook?: {
|
|
@@ -5042,19 +5048,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5042
5048
|
} & {
|
|
5043
5049
|
"/repo/commit/:sha": {
|
|
5044
5050
|
$get: {
|
|
5045
|
-
output: string;
|
|
5046
|
-
outputFormat: "text";
|
|
5047
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5048
|
-
input: {
|
|
5049
|
-
query: {
|
|
5050
|
-
structured?: string | undefined;
|
|
5051
|
-
};
|
|
5052
|
-
} & {
|
|
5053
|
-
param: {
|
|
5054
|
-
sha: string;
|
|
5055
|
-
};
|
|
5056
|
-
};
|
|
5057
|
-
} | {
|
|
5058
5051
|
output: {
|
|
5059
5052
|
error: string;
|
|
5060
5053
|
code?: "invalid_input" | undefined;
|
|
@@ -5118,6 +5111,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5118
5111
|
sha: string;
|
|
5119
5112
|
};
|
|
5120
5113
|
};
|
|
5114
|
+
} | {
|
|
5115
|
+
output: string;
|
|
5116
|
+
outputFormat: "text";
|
|
5117
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5118
|
+
input: {
|
|
5119
|
+
query: {
|
|
5120
|
+
structured?: string | undefined;
|
|
5121
|
+
};
|
|
5122
|
+
} & {
|
|
5123
|
+
param: {
|
|
5124
|
+
sha: string;
|
|
5125
|
+
};
|
|
5126
|
+
};
|
|
5121
5127
|
};
|
|
5122
5128
|
};
|
|
5123
5129
|
} & {
|
|
@@ -17606,20 +17612,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17606
17612
|
} & {
|
|
17607
17613
|
"/runs/:id/handoff": {
|
|
17608
17614
|
$get: {
|
|
17609
|
-
output:
|
|
17610
|
-
|
|
17611
|
-
|
|
17615
|
+
output: {
|
|
17616
|
+
error: string;
|
|
17617
|
+
};
|
|
17618
|
+
outputFormat: "json";
|
|
17619
|
+
status: 404;
|
|
17612
17620
|
input: {
|
|
17613
17621
|
param: {
|
|
17614
17622
|
id: string;
|
|
17615
17623
|
};
|
|
17616
17624
|
};
|
|
17617
17625
|
} | {
|
|
17618
|
-
output:
|
|
17619
|
-
|
|
17620
|
-
|
|
17621
|
-
outputFormat: "json";
|
|
17622
|
-
status: 404;
|
|
17626
|
+
output: string;
|
|
17627
|
+
outputFormat: "text";
|
|
17628
|
+
status: 200;
|
|
17623
17629
|
input: {
|
|
17624
17630
|
param: {
|
|
17625
17631
|
id: string;
|
|
@@ -17657,20 +17663,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17657
17663
|
} & {
|
|
17658
17664
|
"/runs/:id/diff": {
|
|
17659
17665
|
$get: {
|
|
17660
|
-
output:
|
|
17661
|
-
|
|
17662
|
-
|
|
17666
|
+
output: {
|
|
17667
|
+
error: string;
|
|
17668
|
+
};
|
|
17669
|
+
outputFormat: "json";
|
|
17670
|
+
status: 404 | 409;
|
|
17663
17671
|
input: {
|
|
17664
17672
|
param: {
|
|
17665
17673
|
id: string;
|
|
17666
17674
|
};
|
|
17667
17675
|
};
|
|
17668
17676
|
} | {
|
|
17669
|
-
output:
|
|
17670
|
-
|
|
17671
|
-
|
|
17672
|
-
outputFormat: "json";
|
|
17673
|
-
status: 404 | 409;
|
|
17677
|
+
output: string;
|
|
17678
|
+
outputFormat: "text";
|
|
17679
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
17674
17680
|
input: {
|
|
17675
17681
|
param: {
|
|
17676
17682
|
id: string;
|
|
@@ -20484,19 +20490,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20484
20490
|
} & {
|
|
20485
20491
|
"/repo/commit/:sha": {
|
|
20486
20492
|
$get: {
|
|
20487
|
-
output: string;
|
|
20488
|
-
outputFormat: "text";
|
|
20489
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20490
|
-
input: {
|
|
20491
|
-
query: {
|
|
20492
|
-
structured?: string | undefined;
|
|
20493
|
-
};
|
|
20494
|
-
} & {
|
|
20495
|
-
param: {
|
|
20496
|
-
sha: string;
|
|
20497
|
-
};
|
|
20498
|
-
};
|
|
20499
|
-
} | {
|
|
20500
20493
|
output: {
|
|
20501
20494
|
error: string;
|
|
20502
20495
|
code?: "invalid_input" | undefined;
|
|
@@ -20560,6 +20553,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20560
20553
|
sha: string;
|
|
20561
20554
|
};
|
|
20562
20555
|
};
|
|
20556
|
+
} | {
|
|
20557
|
+
output: string;
|
|
20558
|
+
outputFormat: "text";
|
|
20559
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20560
|
+
input: {
|
|
20561
|
+
query: {
|
|
20562
|
+
structured?: string | undefined;
|
|
20563
|
+
};
|
|
20564
|
+
} & {
|
|
20565
|
+
param: {
|
|
20566
|
+
sha: string;
|
|
20567
|
+
};
|
|
20568
|
+
};
|
|
20563
20569
|
};
|
|
20564
20570
|
};
|
|
20565
20571
|
} & {
|
|
@@ -33048,20 +33054,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33048
33054
|
} & {
|
|
33049
33055
|
"/runs/:id/handoff": {
|
|
33050
33056
|
$get: {
|
|
33051
|
-
output:
|
|
33052
|
-
|
|
33053
|
-
|
|
33057
|
+
output: {
|
|
33058
|
+
error: string;
|
|
33059
|
+
};
|
|
33060
|
+
outputFormat: "json";
|
|
33061
|
+
status: 404;
|
|
33054
33062
|
input: {
|
|
33055
33063
|
param: {
|
|
33056
33064
|
id: string;
|
|
33057
33065
|
};
|
|
33058
33066
|
};
|
|
33059
33067
|
} | {
|
|
33060
|
-
output:
|
|
33061
|
-
|
|
33062
|
-
|
|
33063
|
-
outputFormat: "json";
|
|
33064
|
-
status: 404;
|
|
33068
|
+
output: string;
|
|
33069
|
+
outputFormat: "text";
|
|
33070
|
+
status: 200;
|
|
33065
33071
|
input: {
|
|
33066
33072
|
param: {
|
|
33067
33073
|
id: string;
|
|
@@ -33099,20 +33105,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33099
33105
|
} & {
|
|
33100
33106
|
"/runs/:id/diff": {
|
|
33101
33107
|
$get: {
|
|
33102
|
-
output:
|
|
33103
|
-
|
|
33104
|
-
|
|
33108
|
+
output: {
|
|
33109
|
+
error: string;
|
|
33110
|
+
};
|
|
33111
|
+
outputFormat: "json";
|
|
33112
|
+
status: 404 | 409;
|
|
33105
33113
|
input: {
|
|
33106
33114
|
param: {
|
|
33107
33115
|
id: string;
|
|
33108
33116
|
};
|
|
33109
33117
|
};
|
|
33110
33118
|
} | {
|
|
33111
|
-
output:
|
|
33112
|
-
|
|
33113
|
-
|
|
33114
|
-
outputFormat: "json";
|
|
33115
|
-
status: 404 | 409;
|
|
33119
|
+
output: string;
|
|
33120
|
+
outputFormat: "text";
|
|
33121
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33116
33122
|
input: {
|
|
33117
33123
|
param: {
|
|
33118
33124
|
id: string;
|
|
@@ -86,12 +86,17 @@ export interface ProjectListEntry extends WorkspaceProjectWithoutWebhook {
|
|
|
86
86
|
* surface link a reference the run knows only by NUMBER — the global Tasks
|
|
87
87
|
* page has one row per project and so cannot use any single repo's base. */
|
|
88
88
|
repoUrl?: string;
|
|
89
|
+
/** Canonical lowercased repository identity (`<host>/<path>`) from the parsed git
|
|
90
|
+
* remote, independent of registered forges. Credentials and SSH/git ports are stripped.
|
|
91
|
+
* Absent when the project has no parsable remote. */
|
|
92
|
+
repoIdentity?: string;
|
|
89
93
|
}
|
|
90
94
|
export interface RootProbe {
|
|
91
95
|
status: ProjectStatus;
|
|
92
96
|
branch?: string | undefined;
|
|
93
97
|
forge?: string | undefined;
|
|
94
98
|
repoUrl?: string | undefined;
|
|
99
|
+
repoIdentity?: string | undefined;
|
|
95
100
|
}
|
|
96
101
|
/**
|
|
97
102
|
* One registry entry as it may leave the server: the webhook token is swapped for `tokenSet`
|
|
@@ -5,7 +5,7 @@ import { homedir } from 'node:os';
|
|
|
5
5
|
import { basename, join, resolve } from 'node:path';
|
|
6
6
|
import { PROJECT_TAGS_MAX, PROJECT_TAG_MAX_LENGTH } from '../contract/index.js';
|
|
7
7
|
import { projectWebhooks, redactWebhook } from './webhooks.js';
|
|
8
|
-
import { forgeKindOfRemote, forgeWebRoot } from '../core/forge-registry.js';
|
|
8
|
+
import { forgeKindOfRemote, forgeWebRoot, remoteRepositoryIdentity } from '../core/forge-registry.js';
|
|
9
9
|
import { createRootProbeCache } from './root-probe-cache.js';
|
|
10
10
|
import { getRepoInfo, getRepoRemote } from '../core/git.js';
|
|
11
11
|
import { mergeWriteWorkspaceConfig, loadWorkspaceConfig, } from './config.js';
|
|
@@ -177,7 +177,11 @@ export function toProjectListEntry(project, probe) {
|
|
|
177
177
|
const task = webhooks.find((entry) => entry.tasks);
|
|
178
178
|
return defined({
|
|
179
179
|
...rest,
|
|
180
|
-
|
|
180
|
+
status: probe.status,
|
|
181
|
+
branch: probe.branch,
|
|
182
|
+
forge: probe.forge,
|
|
183
|
+
repoUrl: probe.repoUrl,
|
|
184
|
+
repoIdentity: probe.repoIdentity,
|
|
181
185
|
...(task
|
|
182
186
|
? {
|
|
183
187
|
webhook: {
|
|
@@ -225,11 +229,13 @@ async function computeProbe(root) {
|
|
|
225
229
|
const remote = info ? info.remote : await getRepoRemote(root);
|
|
226
230
|
const forge = forgeKindOfRemote(remote);
|
|
227
231
|
const repoUrl = forgeWebRoot(remote);
|
|
232
|
+
const repoIdentity = remoteRepositoryIdentity(remote);
|
|
228
233
|
return {
|
|
229
234
|
status: 'ok',
|
|
230
235
|
...(info?.branch ? { branch: info.branch } : {}),
|
|
231
236
|
...(forge ? { forge } : {}),
|
|
232
237
|
...(repoUrl ? { repoUrl } : {}),
|
|
238
|
+
...(repoIdentity ? { repoIdentity } : {}),
|
|
233
239
|
};
|
|
234
240
|
}
|
|
235
241
|
async function probeRoot(root) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projects.js","sourceRoot":"","sources":["../../src/workspace/projects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAEvG,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"projects.js","sourceRoot":"","sources":["../../src/workspace/projects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAEvG,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,iB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