@staff0rd/assist 0.1236.1 → 0.1236.2
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/.build-files +32 -31
- package/dist/built-version +1 -1
- package/dist/{chunk-KB7HVXR3.js → chunk-77KP3CTK.js} +1 -1
- package/dist/{chunk-VHRROHRC.js → chunk-BBF4RRJR.js} +1 -1
- package/dist/{chunk-H2UNFXB2.js → chunk-FVCGWLR4.js} +1 -1
- package/dist/{chunk-GMRZU3OG.js → chunk-HNLG7EJC.js} +1 -1
- package/dist/{chunk-AVLELL42.js → chunk-J6GYNYUW.js} +16 -1
- package/dist/chunk-K2MVEETY.js +15 -0
- package/dist/chunk-MKXONMBX.js +52 -0
- package/dist/{chunk-C3MGHR3N.js → chunk-MTTGHICE.js} +1 -11
- package/dist/{chunk-IOQGN3AI.js → chunk-NX2KZ5RW.js} +2 -2
- package/dist/{chunk-JAZX2JSS.js → chunk-RKRPVM7T.js} +2 -4
- package/dist/{chunk-ITONDN24.js → chunk-S5IM25QR.js} +1 -1
- package/dist/{chunk-447SO2NK.js → chunk-WDSOVOXJ.js} +1 -1
- package/dist/{chunk-APR23G2L.js → chunk-WJNUHB2P.js} +6 -14
- package/dist/{chunk-7QKIU4J6.js → chunk-XAKUVCAA.js} +1 -1
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/{comment-QCXXFHAE.js → comment-Q2E4ZSR7.js} +3 -3
- package/dist/{commentIssue-MF42XVP5.js → commentIssue-H4AKS4G3.js} +4 -4
- package/dist/{commit-S7B2QZVQ.js → commit-ZAJF2RAY.js} +3 -4
- package/dist/{createIssue-2DSC5YPL.js → createIssue-QAYDBQ3A.js} +3 -3
- package/dist/{doctorNodes-EZVNTVAK.js → doctorNodes-WP5YWRXP.js} +3 -3
- package/dist/{edit-OFDAZJXM.js → edit-KPUOFWHE.js} +4 -4
- package/dist/{editIssue-GHHFCOEM.js → editIssue-YXRCWEOY.js} +3 -3
- package/dist/{editIssueComment-B2NHIXTK.js → editIssueComment-VRDUMWW3.js} +4 -4
- package/dist/index.js +34 -27
- package/dist/{raise-7O2USUIA.js → raise-PTWQ44G2.js} +4 -4
- package/dist/{reply-NKVUQ7CW.js → reply-Z6BRCAF4.js} +6 -13
- package/dist/{restartNode-PSRCY6X7.js → restartNode-YPEEQ7J6.js} +5 -5
- package/dist/{review-5AHHT6JE.js → review-FL3OKTUY.js} +6 -13
- package/dist/{runDaemon-AOPVKUT6.js → runDaemon-HT3DTL32.js} +2 -2
- package/dist/{signExtension-XWB2OC3M.js → signExtension-MVO3U3DE.js} +1 -1
- package/dist/{updateNode-QCXSC7GE.js → updateNode-35GYVT4L.js} +5 -5
- package/dist/{web-2XRICKF4.js → web-QJUR24JS.js} +5 -5
- package/dist/{web-OPE5UQPK.js → web-RFYNPA2L.js} +5 -5
- package/dist/{wontfix-3ZPBKWVM.js → wontfix-OE4HH73U.js} +6 -13
- package/package.json +1 -1
- package/dist/chunk-UOFXNSGZ.js +0 -22
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
comment
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-WJNUHB2P.js";
|
|
4
|
+
import "./chunk-MKXONMBX.js";
|
|
5
5
|
import "./chunk-ZLRZR64W.js";
|
|
6
6
|
import "./chunk-SO3IBV6J.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MTTGHICE.js";
|
|
8
8
|
import "./chunk-IWQEVVOM.js";
|
|
9
9
|
import "./chunk-Y4C5PXGS.js";
|
|
10
10
|
import "./chunk-XPKMXE5G.js";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
} from "./chunk-EPVBZE3T.js";
|
|
7
7
|
import {
|
|
8
8
|
reviewProposedIssueComment
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XAKUVCAA.js";
|
|
10
10
|
import {
|
|
11
11
|
validateProposedContent
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-RKRPVM7T.js";
|
|
13
|
+
import "./chunk-J6GYNYUW.js";
|
|
14
|
+
import "./chunk-MTTGHICE.js";
|
|
15
15
|
import "./chunk-IWQEVVOM.js";
|
|
16
16
|
import "./chunk-Y4C5PXGS.js";
|
|
17
17
|
import "./chunk-XPKMXE5G.js";
|
|
@@ -3,11 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-CDDJAXEJ.js";
|
|
4
4
|
import {
|
|
5
5
|
backlogRefError,
|
|
6
|
-
findBacklogRefs
|
|
7
|
-
} from "./chunk-AVLELL42.js";
|
|
8
|
-
import {
|
|
6
|
+
findBacklogRefs,
|
|
9
7
|
rejectHarnessAttribution
|
|
10
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-J6GYNYUW.js";
|
|
9
|
+
import "./chunk-MTTGHICE.js";
|
|
11
10
|
import {
|
|
12
11
|
DOCS_LOCK_REASON,
|
|
13
12
|
SCHEMA_LOCK_REASON,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
stageScreenshots,
|
|
21
21
|
validateProposedContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RKRPVM7T.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveIssueRepoTarget
|
|
25
25
|
} from "./chunk-DPHNPX75.js";
|
|
26
26
|
import "./chunk-SO3IBV6J.js";
|
|
27
27
|
import "./chunk-YIBSK5OC.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-J6GYNYUW.js";
|
|
29
|
+
import "./chunk-MTTGHICE.js";
|
|
30
30
|
import "./chunk-FVZP4ULO.js";
|
|
31
31
|
import {
|
|
32
32
|
awaitPreviewApproval
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
buildDoctorProbes,
|
|
11
11
|
diagnoseLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FVCGWLR4.js";
|
|
13
13
|
import "./chunk-VABNWHSE.js";
|
|
14
14
|
import "./chunk-DS2YJZZY.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-HNLG7EJC.js";
|
|
16
16
|
import {
|
|
17
17
|
loadLinkSpecs
|
|
18
18
|
} from "./chunk-P7QEHVJJ.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
detectPlatform
|
|
31
31
|
} from "./chunk-E36L7ASL.js";
|
|
32
32
|
import "./chunk-GIHVMELY.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-WDSOVOXJ.js";
|
|
34
34
|
import "./chunk-KRE3QQUK.js";
|
|
35
35
|
import "./chunk-XNIKOBRH.js";
|
|
36
36
|
import "./chunk-LU67AKT5.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
renderWhy,
|
|
7
7
|
validatePrContent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BBF4RRJR.js";
|
|
9
9
|
import {
|
|
10
10
|
appendScreenshots,
|
|
11
11
|
attachArgs,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
} from "./chunk-EPVBZE3T.js";
|
|
15
15
|
import {
|
|
16
16
|
stageScreenshots
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RKRPVM7T.js";
|
|
18
18
|
import {
|
|
19
19
|
getCurrentPr
|
|
20
20
|
} from "./chunk-SO3IBV6J.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-J6GYNYUW.js";
|
|
22
|
+
import "./chunk-MTTGHICE.js";
|
|
23
23
|
import "./chunk-FVZP4ULO.js";
|
|
24
24
|
import {
|
|
25
25
|
awaitPreviewApproval
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
stageScreenshots,
|
|
16
16
|
validateProposedContent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RKRPVM7T.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveIssueRepoTarget
|
|
20
20
|
} from "./chunk-DPHNPX75.js";
|
|
21
21
|
import "./chunk-SO3IBV6J.js";
|
|
22
22
|
import "./chunk-YIBSK5OC.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-J6GYNYUW.js";
|
|
24
|
+
import "./chunk-MTTGHICE.js";
|
|
25
25
|
import {
|
|
26
26
|
inWebSession
|
|
27
27
|
} from "./chunk-HKGCLAZ7.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reviewProposedIssueComment
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XAKUVCAA.js";
|
|
4
4
|
import {
|
|
5
5
|
validateProposedContent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RKRPVM7T.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveIssueRepoTarget
|
|
9
9
|
} from "./chunk-DPHNPX75.js";
|
|
10
10
|
import "./chunk-SO3IBV6J.js";
|
|
11
11
|
import "./chunk-YIBSK5OC.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-J6GYNYUW.js";
|
|
13
|
+
import "./chunk-MTTGHICE.js";
|
|
14
14
|
import "./chunk-IWQEVVOM.js";
|
|
15
15
|
import "./chunk-Y4C5PXGS.js";
|
|
16
16
|
import "./chunk-XPKMXE5G.js";
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-TJGF3Z72.js";
|
|
18
18
|
import {
|
|
19
19
|
package_default
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WDSOVOXJ.js";
|
|
21
21
|
import {
|
|
22
22
|
adviceConfigHelp,
|
|
23
23
|
askQuestionConfigHelp,
|
|
@@ -93,7 +93,7 @@ import { Command } from "commander";
|
|
|
93
93
|
// src/commands/registerRootAction.ts
|
|
94
94
|
function registerRootAction(program) {
|
|
95
95
|
program.option("--no-open", "Do not open a browser on startup").action(
|
|
96
|
-
async (options) => (await import("./web-
|
|
96
|
+
async (options) => (await import("./web-QJUR24JS.js")).web({
|
|
97
97
|
port: "3100",
|
|
98
98
|
open: options.open
|
|
99
99
|
})
|
|
@@ -646,7 +646,7 @@ function registerShowCommands(cmd) {
|
|
|
646
646
|
|
|
647
647
|
// src/commands/registerBacklog.ts
|
|
648
648
|
function registerWebCommand(cmd) {
|
|
649
|
-
cmd.command("web").description("Open the backlog tab in the web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(lazyAction(() => import("./web-
|
|
649
|
+
cmd.command("web").description("Open the backlog tab in the web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(lazyAction(() => import("./web-RFYNPA2L.js"), "web"));
|
|
650
650
|
}
|
|
651
651
|
var registrars = [
|
|
652
652
|
registerItemCommands,
|
|
@@ -676,7 +676,7 @@ function registerBacklog(program) {
|
|
|
676
676
|
const { setBacklogDir } = await import("./getBacklogDir-JSH6CV34.js");
|
|
677
677
|
setBacklogDir(thisCommand.opts().dir);
|
|
678
678
|
}).action(
|
|
679
|
-
async (options) => (await import("./web-
|
|
679
|
+
async (options) => (await import("./web-RFYNPA2L.js")).web({ port: "3100", open: options.open })
|
|
680
680
|
);
|
|
681
681
|
for (const register of registrars) {
|
|
682
682
|
register(cmd);
|
|
@@ -798,7 +798,7 @@ function registerCommit(program) {
|
|
|
798
798
|
"Add a Ref: trailer carrying free text with a URL (repeatable)",
|
|
799
799
|
collectRef,
|
|
800
800
|
[]
|
|
801
|
-
).action(lazyAction(() => import("./commit-
|
|
801
|
+
).action(lazyAction(() => import("./commit-ZAJF2RAY.js"), "commit"));
|
|
802
802
|
internalCommand(commitCommand, "/commit");
|
|
803
803
|
configHelp(commitCommand, rootConfigHelp.commit);
|
|
804
804
|
}
|
|
@@ -989,7 +989,7 @@ function registerExtension(program) {
|
|
|
989
989
|
).action(async (options) => {
|
|
990
990
|
const { extension } = await import("./extension-YYRD5EM6.js");
|
|
991
991
|
const { printExtensionUrl } = await import("./printExtensionUrl-IW2WTSNS.js");
|
|
992
|
-
const { signExtension } = await import("./signExtension-
|
|
992
|
+
const { signExtension } = await import("./signExtension-MVO3U3DE.js");
|
|
993
993
|
if (options.url) return printExtensionUrl();
|
|
994
994
|
return options.sign ? signExtension() : extension();
|
|
995
995
|
});
|
|
@@ -1227,7 +1227,7 @@ When you already have an image or video to include (e.g. a file the user pointed
|
|
|
1227
1227
|
).action(
|
|
1228
1228
|
async (number, options) => {
|
|
1229
1229
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1230
|
-
const { commentIssue } = await import("./commentIssue-
|
|
1230
|
+
const { commentIssue } = await import("./commentIssue-H4AKS4G3.js");
|
|
1231
1231
|
await commentIssue(number, {
|
|
1232
1232
|
...options,
|
|
1233
1233
|
body: options.body ? await readBodyArgument(options.body) : void 0
|
|
@@ -1282,7 +1282,7 @@ When you already have an image or video to include (e.g. a file the user pointed
|
|
|
1282
1282
|
--type, --parent, --project, --status, --label and --milestone are all resolved before the preview, so an unknown name, an unreadable parent, a missing project scope or --status without --project creates nothing.
|
|
1283
1283
|
A bare --parent number is read against --repo, or the current repo; a parent in another repository is allowed.
|
|
1284
1284
|
The project scope is needed for --project: gh auth refresh -h github.com -s project`
|
|
1285
|
-
).action(lazyAction(() => import("./createIssue-
|
|
1285
|
+
).action(lazyAction(() => import("./createIssue-QAYDBQ3A.js"), "createIssue"));
|
|
1286
1286
|
internalCommand(createCommand, "/github create");
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
@@ -1325,7 +1325,7 @@ To rename the issue, pass --title <title>: the pane's header shows the change as
|
|
|
1325
1325
|
Only the body and title are touched \u2014 labels, assignees and state are left alone.
|
|
1326
1326
|
--parent sets the issue's parent instead of editing the body: nothing is previewed and no web session is needed. A bare number is read against --repo, or the current repo; a parent in another repository is allowed.
|
|
1327
1327
|
When you already have an image or video to add (e.g. a file the user pointed at), pass it with --screenshot '[Group/]Caption=path' (once per file) rather than asking the reviewer to drop it in; a missing file or an extension gh cannot attach fails before anything is previewed. In a web session it arrives pre-staged beside the editable body, and the reviewer may also drop or paste more screenshots or video into the pane; on approval gh attaches them all (gh ${minGhAttachVersion}+) under the body's ## Screenshots section, after any images already there. Outside a web session the --screenshot files are attached directly to the current body (or --body). Never author a ## Screenshots section yourself.`
|
|
1328
|
-
).action(lazyAction(() => import("./editIssue-
|
|
1328
|
+
).action(lazyAction(() => import("./editIssue-YXRCWEOY.js"), "editIssue"));
|
|
1329
1329
|
internalCommand(editCommand, "/github");
|
|
1330
1330
|
}
|
|
1331
1331
|
|
|
@@ -1342,7 +1342,7 @@ function registerEditIssueComment(issueCommand) {
|
|
|
1342
1342
|
).action(
|
|
1343
1343
|
async (commentId, options) => {
|
|
1344
1344
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1345
|
-
const { editIssueComment } = await import("./editIssueComment-
|
|
1345
|
+
const { editIssueComment } = await import("./editIssueComment-VRDUMWW3.js");
|
|
1346
1346
|
await editIssueComment(commentId, {
|
|
1347
1347
|
...options,
|
|
1348
1348
|
body: options.body ? await readBodyArgument(options.body) : void 0
|
|
@@ -1693,7 +1693,7 @@ function registerPrsThreadReplies(prsCommand, calledBy5) {
|
|
|
1693
1693
|
"Reply with reason and resolve thread (reason of - reads it from stdin)"
|
|
1694
1694
|
).action(async (commentId, reason) => {
|
|
1695
1695
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1696
|
-
const { wontfix: prsWontfix } = await import("./wontfix-
|
|
1696
|
+
const { wontfix: prsWontfix } = await import("./wontfix-OE4HH73U.js");
|
|
1697
1697
|
await prsWontfix(
|
|
1698
1698
|
Number.parseInt(commentId, 10),
|
|
1699
1699
|
await readBodyArgument(reason)
|
|
@@ -1706,7 +1706,7 @@ function registerPrsThreadReplies(prsCommand, calledBy5) {
|
|
|
1706
1706
|
"Reply to a comment thread without resolving it (body of - reads it from stdin)"
|
|
1707
1707
|
).action(async (commentId, body) => {
|
|
1708
1708
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1709
|
-
const { reply: prsReply } = await import("./reply-
|
|
1709
|
+
const { reply: prsReply } = await import("./reply-Z6BRCAF4.js");
|
|
1710
1710
|
await prsReply(
|
|
1711
1711
|
Number.parseInt(commentId, 10),
|
|
1712
1712
|
await readBodyArgument(body)
|
|
@@ -1732,13 +1732,20 @@ function registerPrsComments(prsCommand) {
|
|
|
1732
1732
|
prsCommand.command("comment <path> <line> <body>").description(
|
|
1733
1733
|
"Add a line comment to the pending review (body of - reads it from stdin)"
|
|
1734
1734
|
).action(async (path, line, body) => {
|
|
1735
|
-
const { comment: prsComment } = await import("./comment-
|
|
1735
|
+
const { comment: prsComment } = await import("./comment-Q2E4ZSR7.js");
|
|
1736
1736
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1737
|
+
try {
|
|
1738
|
+
await prsComment(
|
|
1739
|
+
path,
|
|
1740
|
+
Number.parseInt(line, 10),
|
|
1741
|
+
await readBodyArgument(body)
|
|
1742
|
+
);
|
|
1743
|
+
} catch (error) {
|
|
1744
|
+
console.error(
|
|
1745
|
+
`Error: ${error instanceof Error ? error.message : String(error)}`
|
|
1746
|
+
);
|
|
1747
|
+
process.exit(1);
|
|
1748
|
+
}
|
|
1742
1749
|
}),
|
|
1743
1750
|
"/comment and /forward-comments"
|
|
1744
1751
|
);
|
|
@@ -1789,7 +1796,7 @@ function registerPrsEdit(prsCommand) {
|
|
|
1789
1796
|
"Attach a screenshot as '[Group/]Caption=path', replacing the ## Screenshots section (repeatable)",
|
|
1790
1797
|
collect6,
|
|
1791
1798
|
[]
|
|
1792
|
-
).addHelpText("after", () => editHelpText()).action(lazyAction(() => import("./edit-
|
|
1799
|
+
).addHelpText("after", () => editHelpText()).action(lazyAction(() => import("./edit-KPUOFWHE.js"), "edit"));
|
|
1793
1800
|
internalCommand(editCommand, "agents revising their pull request");
|
|
1794
1801
|
}
|
|
1795
1802
|
|
|
@@ -1847,7 +1854,7 @@ function registerPrsRaise(prsCommand) {
|
|
|
1847
1854
|
lazyHelpText(
|
|
1848
1855
|
raiseCommand,
|
|
1849
1856
|
async () => (await import("./raiseHelpText-AQQMQGSW.js")).raiseHelpText
|
|
1850
|
-
).action(lazyAction(() => import("./raise-
|
|
1857
|
+
).action(lazyAction(() => import("./raise-PTWQ44G2.js"), "raise"));
|
|
1851
1858
|
internalCommand(raiseCommand, "/pr");
|
|
1852
1859
|
configHelp(raiseCommand, prsRaiseConfigHelp);
|
|
1853
1860
|
}
|
|
@@ -2121,7 +2128,7 @@ function registerReview(program) {
|
|
|
2121
2128
|
addReviewModeOptions(addReviewRunOptions(reviewCommand)).action(
|
|
2122
2129
|
async (number, options) => {
|
|
2123
2130
|
const { resolveHarness } = await import("./resolveHarness-XVQTLQSY.js");
|
|
2124
|
-
const { review } = await import("./review-
|
|
2131
|
+
const { review } = await import("./review-FL3OKTUY.js");
|
|
2125
2132
|
return review({
|
|
2126
2133
|
...options,
|
|
2127
2134
|
number,
|
|
@@ -2702,7 +2709,7 @@ function registerDaemon(program) {
|
|
|
2702
2709
|
const cmd = program.command("daemon").description("Long-lived daemon that owns web session PTYs");
|
|
2703
2710
|
cmd.command("run").description(
|
|
2704
2711
|
"Run the sessions daemon in the foreground (auto-spawned by assist sessions)"
|
|
2705
|
-
).action(lazyAction(() => import("./runDaemon-
|
|
2712
|
+
).action(lazyAction(() => import("./runDaemon-HT3DTL32.js"), "runDaemon"));
|
|
2706
2713
|
cmd.command("status").description(
|
|
2707
2714
|
"Show sessions daemon status, live sessions, and any stray daemon processes"
|
|
2708
2715
|
).action(lazyAction(() => import("./daemonStatus-EAZHBC6O.js"), "daemonStatus"));
|
|
@@ -2726,7 +2733,7 @@ function registerDiagnoseCommands(nodes, calledBy5) {
|
|
|
2726
2733
|
nodes.command("doctor [name]").description(
|
|
2727
2734
|
"Probe each hop of every link (or one) in order and stop at the first failure with a remediation"
|
|
2728
2735
|
).option("--json", "Output as JSON").action(
|
|
2729
|
-
async (name, _options, command) => (await import("./doctorNodes-
|
|
2736
|
+
async (name, _options, command) => (await import("./doctorNodes-WP5YWRXP.js")).doctorNodes(
|
|
2730
2737
|
name,
|
|
2731
2738
|
command.optsWithGlobals()
|
|
2732
2739
|
)
|
|
@@ -2756,14 +2763,14 @@ function registerPeerActionCommands(nodes, calledBy5) {
|
|
|
2756
2763
|
internalCommand(
|
|
2757
2764
|
nodes.command("restart <name>").description(
|
|
2758
2765
|
"Restart a linked node's daemon and/or web server, wait for its link to reconnect and print its version"
|
|
2759
|
-
).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-
|
|
2766
|
+
).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-YPEEQ7J6.js"), "restartNode")),
|
|
2760
2767
|
calledBy5
|
|
2761
2768
|
);
|
|
2762
2769
|
internalCommand(
|
|
2763
2770
|
nodes.command("update <name>").description(
|
|
2764
2771
|
"Run assist update on a linked node, restart it, wait for its link to reconnect and print its version"
|
|
2765
2772
|
).action(
|
|
2766
|
-
async (name) => (await import("./updateNode-
|
|
2773
|
+
async (name) => (await import("./updateNode-35GYVT4L.js")).updateNode(name)
|
|
2767
2774
|
),
|
|
2768
2775
|
calledBy5
|
|
2769
2776
|
);
|
|
@@ -2826,7 +2833,7 @@ function registerSetStatusCommand(cmd) {
|
|
|
2826
2833
|
// src/commands/sessions/registerSessionsWeb.ts
|
|
2827
2834
|
function registerSessionsWeb(cmd) {
|
|
2828
2835
|
const webCmd = cmd.command("web").description("Start the sessions web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(
|
|
2829
|
-
async (options, command) => (await import("./web-
|
|
2836
|
+
async (options, command) => (await import("./web-QJUR24JS.js")).web({
|
|
2830
2837
|
...options,
|
|
2831
2838
|
open: command.optsWithGlobals().open
|
|
2832
2839
|
})
|
|
@@ -2841,7 +2848,7 @@ function registerSessionsWeb(cmd) {
|
|
|
2841
2848
|
// src/commands/sessions/registerSessions.ts
|
|
2842
2849
|
function registerSessions(program) {
|
|
2843
2850
|
const cmd = program.command("sessions").description("Web dashboard for coding agent sessions").option("--no-open", "Do not open a browser on startup").action(
|
|
2844
|
-
async (_options, command) => (await import("./web-
|
|
2851
|
+
async (_options, command) => (await import("./web-QJUR24JS.js")).web({
|
|
2845
2852
|
port: "3100",
|
|
2846
2853
|
open: command.optsWithGlobals().open
|
|
2847
2854
|
})
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
buildPrBody,
|
|
6
6
|
validatePrContent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BBF4RRJR.js";
|
|
8
8
|
import {
|
|
9
9
|
appendScreenshots,
|
|
10
10
|
attachArgs,
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
} from "./chunk-EPVBZE3T.js";
|
|
14
14
|
import {
|
|
15
15
|
stageScreenshots
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RKRPVM7T.js";
|
|
17
17
|
import {
|
|
18
18
|
findCurrentPr,
|
|
19
19
|
findCurrentPrNumber,
|
|
20
20
|
getCurrentBranch
|
|
21
21
|
} from "./chunk-SO3IBV6J.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-J6GYNYUW.js";
|
|
23
|
+
import "./chunk-MTTGHICE.js";
|
|
24
24
|
import {
|
|
25
25
|
startChainedSession
|
|
26
26
|
} from "./chunk-YS3HSXSJ.js";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
rejectHarnessNames
|
|
3
|
+
} from "./chunk-K2MVEETY.js";
|
|
1
4
|
import {
|
|
2
5
|
reviewProposedPrComment
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MKXONMBX.js";
|
|
4
7
|
import {
|
|
5
8
|
azureDevopsThreadActions,
|
|
6
9
|
replyToComment
|
|
@@ -15,9 +18,7 @@ import {
|
|
|
15
18
|
getRepoInfo,
|
|
16
19
|
isGhNotInstalled
|
|
17
20
|
} from "./chunk-SO3IBV6J.js";
|
|
18
|
-
import
|
|
19
|
-
rejectHarnessAttribution
|
|
20
|
-
} from "./chunk-C3MGHR3N.js";
|
|
21
|
+
import "./chunk-MTTGHICE.js";
|
|
21
22
|
import "./chunk-IWQEVVOM.js";
|
|
22
23
|
import "./chunk-Y4C5PXGS.js";
|
|
23
24
|
import "./chunk-XPKMXE5G.js";
|
|
@@ -37,16 +38,8 @@ import "./chunk-Q6PZLPK4.js";
|
|
|
37
38
|
import "./chunk-JJKKIBF5.js";
|
|
38
39
|
|
|
39
40
|
// src/commands/prs/reply.ts
|
|
40
|
-
function validateBody(body) {
|
|
41
|
-
const lowerBody = body.toLowerCase();
|
|
42
|
-
if (lowerBody.includes("claude") || lowerBody.includes("opus")) {
|
|
43
|
-
console.error('Error: Body must not contain "claude" or "opus"');
|
|
44
|
-
process.exit(1);
|
|
45
|
-
}
|
|
46
|
-
rejectHarnessAttribution("Body", body);
|
|
47
|
-
}
|
|
48
41
|
async function reply(commentId, body) {
|
|
49
|
-
|
|
42
|
+
rejectHarnessNames("Body", body);
|
|
50
43
|
await reviewProposedPrComment(`Reply to comment #${commentId}`, body, null);
|
|
51
44
|
const azure = azureDevopsRemote(process.cwd());
|
|
52
45
|
if (azure) {
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
linkStatus,
|
|
3
3
|
postToPeer,
|
|
4
4
|
startPeerAction
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-S5IM25QR.js";
|
|
6
|
+
import "./chunk-77KP3CTK.js";
|
|
7
|
+
import "./chunk-FVCGWLR4.js";
|
|
8
8
|
import "./chunk-VABNWHSE.js";
|
|
9
9
|
import "./chunk-DS2YJZZY.js";
|
|
10
10
|
import "./chunk-4HKB2TAG.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HNLG7EJC.js";
|
|
12
12
|
import "./chunk-P7QEHVJJ.js";
|
|
13
13
|
import "./chunk-MKBZCWWG.js";
|
|
14
14
|
import "./chunk-B7VOTF5Q.js";
|
|
15
15
|
import "./chunk-E36L7ASL.js";
|
|
16
16
|
import "./chunk-5H7EHZ3J.js";
|
|
17
17
|
import "./chunk-GIHVMELY.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WDSOVOXJ.js";
|
|
19
19
|
import "./chunk-XNIKOBRH.js";
|
|
20
20
|
import "./chunk-LU67AKT5.js";
|
|
21
21
|
import "./chunk-GRXFWFGP.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-DC5CIEBM.js";
|
|
8
8
|
import {
|
|
9
9
|
comment
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WJNUHB2P.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePrBody
|
|
13
13
|
} from "./chunk-ENTJ2N5Y.js";
|
|
@@ -17,7 +17,10 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
countReadingWords
|
|
19
19
|
} from "./chunk-O6HFT23O.js";
|
|
20
|
-
import
|
|
20
|
+
import {
|
|
21
|
+
reviewerHarnesses,
|
|
22
|
+
reviewerNameWords
|
|
23
|
+
} from "./chunk-MKXONMBX.js";
|
|
21
24
|
import {
|
|
22
25
|
fetchThreadIds
|
|
23
26
|
} from "./chunk-S6XYTJU2.js";
|
|
@@ -48,7 +51,7 @@ import {
|
|
|
48
51
|
import {
|
|
49
52
|
exitWithConfigErrors
|
|
50
53
|
} from "./chunk-JPRADR2E.js";
|
|
51
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-MTTGHICE.js";
|
|
52
55
|
import {
|
|
53
56
|
mapAsync
|
|
54
57
|
} from "./chunk-2JYMVJGZ.js";
|
|
@@ -2426,16 +2429,6 @@ async function planReviewers(slots) {
|
|
|
2426
2429
|
return planned;
|
|
2427
2430
|
}
|
|
2428
2431
|
|
|
2429
|
-
// src/commands/review/reviewerHarnesses.ts
|
|
2430
|
-
var reviewerHarnesses = [
|
|
2431
|
-
"claude",
|
|
2432
|
-
"codex"
|
|
2433
|
-
];
|
|
2434
|
-
var reviewerNameWords = {
|
|
2435
|
-
claude: ["claude", "opus"],
|
|
2436
|
-
codex: ["codex"]
|
|
2437
|
-
};
|
|
2438
|
-
|
|
2439
2432
|
// src/commands/review/reviewerSlots.ts
|
|
2440
2433
|
function reviewerSlots(paths) {
|
|
2441
2434
|
const outputPaths = {
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
isHello,
|
|
132
132
|
linkVersionCheck,
|
|
133
133
|
negotiateProtocol
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-HNLG7EJC.js";
|
|
135
135
|
import {
|
|
136
136
|
loadLinkSpecs
|
|
137
137
|
} from "./chunk-P7QEHVJJ.js";
|
|
@@ -274,7 +274,7 @@ import {
|
|
|
274
274
|
import "./chunk-APZ6ZTDA.js";
|
|
275
275
|
import "./chunk-K4DJEFDZ.js";
|
|
276
276
|
import "./chunk-D7UZLH36.js";
|
|
277
|
-
import "./chunk-
|
|
277
|
+
import "./chunk-WDSOVOXJ.js";
|
|
278
278
|
import "./chunk-EW2ZM2PC.js";
|
|
279
279
|
import "./chunk-OTSOBFW2.js";
|
|
280
280
|
import {
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
linkStatus,
|
|
3
3
|
postToPeer,
|
|
4
4
|
startPeerAction
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-S5IM25QR.js";
|
|
6
|
+
import "./chunk-77KP3CTK.js";
|
|
7
|
+
import "./chunk-FVCGWLR4.js";
|
|
8
8
|
import "./chunk-VABNWHSE.js";
|
|
9
9
|
import "./chunk-DS2YJZZY.js";
|
|
10
10
|
import "./chunk-4HKB2TAG.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HNLG7EJC.js";
|
|
12
12
|
import "./chunk-P7QEHVJJ.js";
|
|
13
13
|
import "./chunk-MKBZCWWG.js";
|
|
14
14
|
import "./chunk-B7VOTF5Q.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-A7ONLVZD.js";
|
|
20
20
|
import "./chunk-GIHVMELY.js";
|
|
21
21
|
import "./chunk-2EW62DM5.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-WDSOVOXJ.js";
|
|
23
23
|
import "./chunk-XNIKOBRH.js";
|
|
24
24
|
import "./chunk-LU67AKT5.js";
|
|
25
25
|
import "./chunk-GRXFWFGP.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
web
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NX2KZ5RW.js";
|
|
4
4
|
import "./chunk-SURCYYQ6.js";
|
|
5
5
|
import "./chunk-JNCFHWBK.js";
|
|
6
6
|
import "./chunk-JM57BCD6.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-77KP3CTK.js";
|
|
8
|
+
import "./chunk-FVCGWLR4.js";
|
|
9
9
|
import "./chunk-VABNWHSE.js";
|
|
10
10
|
import "./chunk-DS2YJZZY.js";
|
|
11
11
|
import "./chunk-6Y6FYABI.js";
|
|
12
12
|
import "./chunk-3ZHTSOYH.js";
|
|
13
13
|
import "./chunk-4HKB2TAG.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-HNLG7EJC.js";
|
|
15
15
|
import "./chunk-P7QEHVJJ.js";
|
|
16
16
|
import "./chunk-MKBZCWWG.js";
|
|
17
17
|
import "./chunk-B7VOTF5Q.js";
|
|
@@ -140,7 +140,7 @@ import "./chunk-E577GGQS.js";
|
|
|
140
140
|
import "./chunk-APZ6ZTDA.js";
|
|
141
141
|
import "./chunk-K4DJEFDZ.js";
|
|
142
142
|
import "./chunk-D7UZLH36.js";
|
|
143
|
-
import "./chunk-
|
|
143
|
+
import "./chunk-WDSOVOXJ.js";
|
|
144
144
|
import "./chunk-LPJWLKEX.js";
|
|
145
145
|
import "./chunk-YVL3NXEB.js";
|
|
146
146
|
import "./chunk-UEWARAPX.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
web
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NX2KZ5RW.js";
|
|
4
4
|
import "./chunk-SURCYYQ6.js";
|
|
5
5
|
import "./chunk-JNCFHWBK.js";
|
|
6
6
|
import "./chunk-JM57BCD6.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-77KP3CTK.js";
|
|
8
|
+
import "./chunk-FVCGWLR4.js";
|
|
9
9
|
import "./chunk-VABNWHSE.js";
|
|
10
10
|
import "./chunk-DS2YJZZY.js";
|
|
11
11
|
import "./chunk-6Y6FYABI.js";
|
|
12
12
|
import "./chunk-3ZHTSOYH.js";
|
|
13
13
|
import "./chunk-4HKB2TAG.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-HNLG7EJC.js";
|
|
15
15
|
import "./chunk-P7QEHVJJ.js";
|
|
16
16
|
import "./chunk-MKBZCWWG.js";
|
|
17
17
|
import "./chunk-B7VOTF5Q.js";
|
|
@@ -140,7 +140,7 @@ import "./chunk-E577GGQS.js";
|
|
|
140
140
|
import "./chunk-APZ6ZTDA.js";
|
|
141
141
|
import "./chunk-K4DJEFDZ.js";
|
|
142
142
|
import "./chunk-D7UZLH36.js";
|
|
143
|
-
import "./chunk-
|
|
143
|
+
import "./chunk-WDSOVOXJ.js";
|
|
144
144
|
import "./chunk-LPJWLKEX.js";
|
|
145
145
|
import "./chunk-YVL3NXEB.js";
|
|
146
146
|
import "./chunk-UEWARAPX.js";
|