@staff0rd/assist 0.1197.0 → 0.1198.1

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.
Files changed (53) hide show
  1. package/agent/commands/github.md +3 -1
  2. package/dist/.build-files +46 -45
  3. package/dist/{addPhase-N73554MQ.js → addPhase-572KZDOK.js} +2 -2
  4. package/dist/{ask-PLVOYYSQ.js → ask-XTA5XMDM.js} +3 -3
  5. package/dist/{askCheck-3JRXFKWA.js → askCheck-5AEU7R3U.js} +2 -2
  6. package/dist/{askDesign-JEJFPAEZ.js → askDesign-PP37KDLX.js} +3 -3
  7. package/dist/{askQuestion-QRQSYRXK.js → askQuestion-SBC6XZHQ.js} +2 -2
  8. package/dist/built-version +1 -1
  9. package/dist/{chunk-N7MKYWPX.js → chunk-42SUHCAB.js} +1 -1
  10. package/dist/chunk-BTLMJ735.js +26 -0
  11. package/dist/{chunk-IEDFQBJI.js → chunk-EPVBZE3T.js} +13 -30
  12. package/dist/{chunk-O3YZV2FA.js → chunk-IPEA3FVY.js} +1 -1
  13. package/dist/{chunk-ABLDOQ4B.js → chunk-JAZX2JSS.js} +22 -1
  14. package/dist/{chunk-D24GLTCK.js → chunk-KU3BOP7V.js} +1 -1
  15. package/dist/chunk-O7L27TQP.js +14 -0
  16. package/dist/{chunk-SZNARW4L.js → chunk-OL3XIGSW.js} +1 -1
  17. package/dist/{chunk-CSOKDY43.js → chunk-ONP7DDB6.js} +1 -1
  18. package/dist/{chunk-6SKKK2RR.js → chunk-OSFBFZ4O.js} +1 -1
  19. package/dist/{chunk-VLJWAMAH.js → chunk-OWAUNGD6.js} +1 -1
  20. package/dist/{chunk-DPCFT55U.js → chunk-P5LQVJWN.js} +0 -8
  21. package/dist/{chunk-G7UI2W7U.js → chunk-PSSNCOG4.js} +1 -1
  22. package/dist/{chunk-Y74CGS5C.js → chunk-S6RW5GNM.js} +6 -4
  23. package/dist/{chunk-Q4TGGE5L.js → chunk-VHRROHRC.js} +1 -1
  24. package/dist/{chunk-3EGHC5DC.js → chunk-XJKVJATG.js} +1 -1
  25. package/dist/{chunk-RBR2DXCS.js → chunk-YLEBZYTG.js} +1 -1
  26. package/dist/commands/sessions/web/bundle.js +1 -1
  27. package/dist/{comment-5VFL65DI.js → comment-CEDFMOXC.js} +4 -4
  28. package/dist/{commentIssue-JQCEL3GH.js → commentIssue-PT3WJ7WF.js} +31 -13
  29. package/dist/{createIssue-ZEZ4APQ7.js → createIssue-RHHIMF44.js} +9 -8
  30. package/dist/{doctorNodes-R5LSHBSG.js → doctorNodes-WNMQMS73.js} +3 -3
  31. package/dist/{edit-CGFJYKXA.js → edit-IBDT3I4O.js} +9 -7
  32. package/dist/{editIssue-X4C4ULTM.js → editIssue-XGP2RL2O.js} +9 -8
  33. package/dist/{editIssueComment-L6RLH4GX.js → editIssueComment-G7XE73QZ.js} +24 -13
  34. package/dist/index.js +46 -38
  35. package/dist/{postSlackMessage-LCK42KAO.js → postSlackMessage-QVUIQY6T.js} +3 -3
  36. package/dist/{propose-OCR3WXJK.js → propose-XTDFZXZI.js} +2 -2
  37. package/dist/{raise-SJ5JLPBS.js → raise-PXY3YLOB.js} +9 -7
  38. package/dist/{reply-VL6NV6IF.js → reply-VPQL6VJB.js} +3 -3
  39. package/dist/{restartNode-JKNJHOBN.js → restartNode-L4UYWD5P.js} +5 -5
  40. package/dist/{review-Q2HDUBAA.js → review-36GCDNOH.js} +13 -6
  41. package/dist/{rulesAdd-DR25M5KY.js → rulesAdd-MTHY5RTQ.js} +3 -3
  42. package/dist/{runDaemon-H26DPNF2.js → runDaemon-QPMNLZPK.js} +6 -5
  43. package/dist/{runExtract-7H2MKKFQ.js → runExtract-2QQLXAU7.js} +2 -2
  44. package/dist/{signExtension-HFA73PC5.js → signExtension-RWAKXX4Q.js} +1 -1
  45. package/dist/{slack-VILAGICW.js → slack-6ML35TRH.js} +3 -3
  46. package/dist/{updateNode-YY3552ZX.js → updateNode-GUHTGV4N.js} +5 -5
  47. package/dist/{updatePlan-QZVWDL2U.js → updatePlan-CFOXHKSR.js} +2 -2
  48. package/dist/{web-LO36XJET.js → web-D5PMDPIG.js} +7 -6
  49. package/dist/{web-UIJZ6XQT.js → web-HGJRIJAG.js} +7 -6
  50. package/dist/{wontfix-XV5XJADI.js → wontfix-3ZV2NW5C.js} +3 -3
  51. package/package.json +1 -1
  52. package/dist/chunk-JJKRUHWS.js +0 -22
  53. package/dist/{chunk-QS2S63AF.js → chunk-HCDJLCN4.js} +3 -3
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-3EGHC5DC.js";
20
+ } from "./chunk-XJKVJATG.js";
21
21
  import {
22
22
  adviceConfigHelp,
23
23
  askQuestionConfigHelp,
@@ -92,7 +92,7 @@ import { Command } from "commander";
92
92
  // src/commands/registerRootAction.ts
93
93
  function registerRootAction(program) {
94
94
  program.option("--no-open", "Do not open a browser on startup").action(
95
- async (options) => (await import("./web-UIJZ6XQT.js")).web({
95
+ async (options) => (await import("./web-HGJRIJAG.js")).web({
96
96
  port: "3100",
97
97
  open: options.open
98
98
  })
@@ -153,7 +153,7 @@ function registerAsk(program) {
153
153
  ).requiredOption("--title <title>", "Pane title").requiredOption(
154
154
  "--body <markdown|->",
155
155
  "Markdown to review, or - for stdin"
156
- ).action(lazyAction(() => import("./ask-PLVOYYSQ.js"), "ask")),
156
+ ).action(lazyAction(() => import("./ask-XTA5XMDM.js"), "ask")),
157
157
  "/ask"
158
158
  );
159
159
  }
@@ -170,7 +170,7 @@ function registerAskCheck(program) {
170
170
  ).option(
171
171
  "--check <n>",
172
172
  "1-based index of the current backlog phase's manual check this covers; lets the user move it to a later phase"
173
- ).action(lazyAction(() => import("./askCheck-3JRXFKWA.js"), "askCheck")),
173
+ ).action(lazyAction(() => import("./askCheck-5AEU7R3U.js"), "askCheck")),
174
174
  askQuestionConfigHelp
175
175
  ),
176
176
  "Claude when asking the user to test a change"
@@ -185,7 +185,7 @@ function registerAskDesign(program) {
185
185
  ).requiredOption(
186
186
  "--url <artifact-url>",
187
187
  "claude.ai artifact link of the design"
188
- ).requiredOption("--title <title>", "Pane title").option("--body <markdown|->", "Markdown summary, or - for stdin").action(lazyAction(() => import("./askDesign-JEJFPAEZ.js"), "askDesign")),
188
+ ).requiredOption("--title <title>", "Pane title").option("--body <markdown|->", "Markdown summary, or - for stdin").action(lazyAction(() => import("./askDesign-PP37KDLX.js"), "askDesign")),
189
189
  "/draft"
190
190
  );
191
191
  }
@@ -199,7 +199,7 @@ function registerAskQuestion(program) {
199
199
  ).requiredOption(
200
200
  "--json <file|->",
201
201
  "AskUserQuestion input JSON ({questions: [...]}), or - for stdin"
202
- ).action(lazyAction(() => import("./askQuestion-QRQSYRXK.js"), "askQuestion")),
202
+ ).action(lazyAction(() => import("./askQuestion-SBC6XZHQ.js"), "askQuestion")),
203
203
  askQuestionConfigHelp
204
204
  ),
205
205
  "Claude in place of AskUserQuestion"
@@ -357,7 +357,7 @@ function registerProposeCommand(cmd) {
357
357
  "--confirmed",
358
358
  "Create the item after its draft has been reviewed in chat (agent use outside a web session)"
359
359
  ).addHelpText("after", `
360
- ${proposeHelpText}`).action(lazyAction(() => import("./propose-OCR3WXJK.js"), "propose")),
360
+ ${proposeHelpText}`).action(lazyAction(() => import("./propose-XTDFZXZI.js"), "propose")),
361
361
  "/draft and /bug"
362
362
  );
363
363
  }
@@ -382,7 +382,7 @@ function registerItemCommands(cmd) {
382
382
  ).option(
383
383
  "--depends-on <phase...>",
384
384
  "Earlier phase numbers this phase waits for (default: the previous phase; pass none for no dependencies)"
385
- ).action(lazyAction(() => import("./addPhase-N73554MQ.js"), "addPhase"));
385
+ ).action(lazyAction(() => import("./addPhase-572KZDOK.js"), "addPhase"));
386
386
  }
387
387
 
388
388
  // src/commands/backlog/registerLinkCommands.ts
@@ -627,7 +627,7 @@ function registerUpdateCommands(cmd) {
627
627
  ).requiredOption(
628
628
  "--json <file|->",
629
629
  "Path to a JSON payload of { phases: [{ name, tasks, manualChecks?, dependsOn? }] }, or - to read it from stdin"
630
- ).action(lazyAction(() => import("./updatePlan-QZVWDL2U.js"), "updatePlan")),
630
+ ).action(lazyAction(() => import("./updatePlan-CFOXHKSR.js"), "updatePlan")),
631
631
  "/refine"
632
632
  );
633
633
  cmd.command("move-phase <id> <from> <to>").description(
@@ -645,7 +645,7 @@ function registerShowCommands(cmd) {
645
645
 
646
646
  // src/commands/registerBacklog.ts
647
647
  function registerWebCommand(cmd) {
648
- 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-LO36XJET.js"), "web"));
648
+ 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-D5PMDPIG.js"), "web"));
649
649
  }
650
650
  var registrars = [
651
651
  registerItemCommands,
@@ -675,7 +675,7 @@ function registerBacklog(program) {
675
675
  const { setBacklogDir } = await import("./getBacklogDir-FJLWXTYN.js");
676
676
  setBacklogDir(thisCommand.opts().dir);
677
677
  }).action(
678
- async (options) => (await import("./web-LO36XJET.js")).web({ port: "3100", open: options.open })
678
+ async (options) => (await import("./web-D5PMDPIG.js")).web({ port: "3100", open: options.open })
679
679
  );
680
680
  for (const register of registrars) {
681
681
  register(cmd);
@@ -988,7 +988,7 @@ function registerExtension(program) {
988
988
  ).action(async (options) => {
989
989
  const { extension } = await import("./extension-YYRD5EM6.js");
990
990
  const { printExtensionUrl } = await import("./printExtensionUrl-IW2WTSNS.js");
991
- const { signExtension } = await import("./signExtension-HFA73PC5.js");
991
+ const { signExtension } = await import("./signExtension-RWAKXX4Q.js");
992
992
  if (options.url) return printExtensionUrl();
993
993
  return options.sign ? signExtension() : extension();
994
994
  });
@@ -1037,7 +1037,7 @@ function registerDevlogEntryCommands(devlogCommand) {
1037
1037
  devlogCommand.command("slack [week]").description(
1038
1038
  "List un-posted dev entries oldest first, or preview one week as a Slack parent message plus a threaded Added/Changed/Fixed reply, printing the channel and approved paths"
1039
1039
  ).action(
1040
- async (week) => (await import("./slack-VILAGICW.js")).slack(week)
1040
+ async (week) => (await import("./slack-6ML35TRH.js")).slack(week)
1041
1041
  ),
1042
1042
  "/devlog"
1043
1043
  );
@@ -1196,18 +1196,31 @@ Anything nested below the leaf level fails the run before a single write, naming
1196
1196
  ).action(lazyAction(() => import("./fixStructure-4UTN5ED6.js"), "fixStructure"));
1197
1197
  }
1198
1198
 
1199
+ // src/commands/prs/collect.ts
1200
+ function collect5(value, previous) {
1201
+ return previous.concat([value]);
1202
+ }
1203
+
1199
1204
  // src/commands/github/issue/registerCommentIssue.ts
1200
1205
  function registerCommentIssue(issueCommand) {
1201
1206
  const commentCommand = issueCommand.command("comment <number>").description("Comment on a GitHub issue (body of - reads it from stdin)").option("--body <body>", "Comment body (- reads it from stdin)").option(
1202
1207
  "-R, --repo <owner/repo>",
1203
1208
  "Target repository (defaults to the current repo)"
1209
+ ).option(
1210
+ "--screenshot <spec>",
1211
+ "Attach an image or video as '[Group/]Caption=path' under ## Screenshots (repeatable)",
1212
+ collect5,
1213
+ []
1204
1214
  ).addHelpText(
1205
1215
  "after",
1206
- "\nThe comment is outward-facing: write it for the repo's readers, not the team. It is rejected if it references Claude or an assist backlog item.\nIn an assist web session the body is previewed for approve/reject first (with inline comments); nothing is posted until it is approved."
1216
+ `
1217
+ The comment is outward-facing: write it for the repo's readers, not the team. It is rejected if it references Claude or an assist backlog item.
1218
+ In an assist web session the body is previewed for approve/reject first (with inline comments); nothing is posted until it is approved.
1219
+ When you already have an image or video to include (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 in the preview, and the reviewer may also drop or paste more screenshots or video into the pane; on approval gh attaches them all (gh ${minGhAttachVersion}+) under a ## Screenshots section of the comment. Outside a web session the --screenshot files are attached directly. Never author a ## Screenshots section yourself.`
1207
1220
  ).action(
1208
1221
  async (number, options) => {
1209
1222
  const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
1210
- const { commentIssue } = await import("./commentIssue-JQCEL3GH.js");
1223
+ const { commentIssue } = await import("./commentIssue-PT3WJ7WF.js");
1211
1224
  await commentIssue(number, {
1212
1225
  ...options,
1213
1226
  body: options.body ? await readBodyArgument(options.body) : void 0
@@ -1217,11 +1230,6 @@ function registerCommentIssue(issueCommand) {
1217
1230
  internalCommand(commentCommand, "/github update");
1218
1231
  }
1219
1232
 
1220
- // src/commands/prs/collect.ts
1221
- function collect5(value, previous) {
1222
- return previous.concat([value]);
1223
- }
1224
-
1225
1233
  // src/commands/github/issue/collectLabels.ts
1226
1234
  function collectLabels(value, previous) {
1227
1235
  const added = value.split(",").map((label) => label.trim()).filter((label) => label.length > 0);
@@ -1267,7 +1275,7 @@ When you already have an image or video to include (e.g. a file the user pointed
1267
1275
  --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.
1268
1276
  A bare --parent number is read against --repo, or the current repo; a parent in another repository is allowed.
1269
1277
  The project scope is needed for --project: gh auth refresh -h github.com -s project`
1270
- ).action(lazyAction(() => import("./createIssue-ZEZ4APQ7.js"), "createIssue"));
1278
+ ).action(lazyAction(() => import("./createIssue-RHHIMF44.js"), "createIssue"));
1271
1279
  internalCommand(createCommand, "/github create");
1272
1280
  }
1273
1281
 
@@ -1304,7 +1312,7 @@ Rejecting writes the pane's markdown to a working file and names it: revise that
1304
1312
  Only the body is touched \u2014 the title, labels, assignees and state are left alone.
1305
1313
  --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.
1306
1314
  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.`
1307
- ).action(lazyAction(() => import("./editIssue-X4C4ULTM.js"), "editIssue"));
1315
+ ).action(lazyAction(() => import("./editIssue-XGP2RL2O.js"), "editIssue"));
1308
1316
  internalCommand(editCommand, "/github");
1309
1317
  }
1310
1318
 
@@ -1321,7 +1329,7 @@ function registerEditIssueComment(issueCommand) {
1321
1329
  ).action(
1322
1330
  async (commentId, options) => {
1323
1331
  const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
1324
- const { editIssueComment } = await import("./editIssueComment-L6RLH4GX.js");
1332
+ const { editIssueComment } = await import("./editIssueComment-G7XE73QZ.js");
1325
1333
  await editIssueComment(commentId, {
1326
1334
  ...options,
1327
1335
  body: options.body ? await readBodyArgument(options.body) : void 0
@@ -1601,7 +1609,7 @@ function registerMiro(program) {
1601
1609
  "-r, --repo [name]",
1602
1610
  "Save the extract to repo (db), a repo's shared db override (defaults to the current repo)"
1603
1611
  ).action(
1604
- async (name, options) => (await import("./runExtract-7H2MKKFQ.js")).runExtract(name, options)
1612
+ async (name, options) => (await import("./runExtract-2QQLXAU7.js")).runExtract(name, options)
1605
1613
  );
1606
1614
  configHelp(
1607
1615
  extract,
@@ -1672,7 +1680,7 @@ function registerPrsThreadReplies(prsCommand, calledBy5) {
1672
1680
  "Reply with reason and resolve thread (reason of - reads it from stdin)"
1673
1681
  ).action(async (commentId, reason) => {
1674
1682
  const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
1675
- const { wontfix: prsWontfix } = await import("./wontfix-XV5XJADI.js");
1683
+ const { wontfix: prsWontfix } = await import("./wontfix-3ZV2NW5C.js");
1676
1684
  await prsWontfix(
1677
1685
  Number.parseInt(commentId, 10),
1678
1686
  await readBodyArgument(reason)
@@ -1685,7 +1693,7 @@ function registerPrsThreadReplies(prsCommand, calledBy5) {
1685
1693
  "Reply to a comment thread without resolving it (body of - reads it from stdin)"
1686
1694
  ).action(async (commentId, body) => {
1687
1695
  const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
1688
- const { reply: prsReply } = await import("./reply-VL6NV6IF.js");
1696
+ const { reply: prsReply } = await import("./reply-VPQL6VJB.js");
1689
1697
  await prsReply(
1690
1698
  Number.parseInt(commentId, 10),
1691
1699
  await readBodyArgument(body)
@@ -1711,7 +1719,7 @@ function registerPrsComments(prsCommand) {
1711
1719
  prsCommand.command("comment <path> <line> <body>").description(
1712
1720
  "Add a line comment to the pending review (body of - reads it from stdin)"
1713
1721
  ).action(async (path, line, body) => {
1714
- const { comment: prsComment } = await import("./comment-5VFL65DI.js");
1722
+ const { comment: prsComment } = await import("./comment-CEDFMOXC.js");
1715
1723
  const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
1716
1724
  await prsComment(
1717
1725
  path,
@@ -1768,7 +1776,7 @@ function registerPrsEdit(prsCommand) {
1768
1776
  "Attach a screenshot as '[Group/]Caption=path', replacing the ## Screenshots section (repeatable)",
1769
1777
  collect6,
1770
1778
  []
1771
- ).addHelpText("after", () => editHelpText()).action(lazyAction(() => import("./edit-CGFJYKXA.js"), "edit"));
1779
+ ).addHelpText("after", () => editHelpText()).action(lazyAction(() => import("./edit-IBDT3I4O.js"), "edit"));
1772
1780
  internalCommand(editCommand, "agents revising their pull request");
1773
1781
  }
1774
1782
 
@@ -1826,7 +1834,7 @@ function registerPrsRaise(prsCommand) {
1826
1834
  lazyHelpText(
1827
1835
  raiseCommand,
1828
1836
  async () => (await import("./raiseHelpText-IDZI3UAC.js")).raiseHelpText
1829
- ).action(lazyAction(() => import("./raise-SJ5JLPBS.js"), "raise"));
1837
+ ).action(lazyAction(() => import("./raise-PXY3YLOB.js"), "raise"));
1830
1838
  internalCommand(raiseCommand, "/pr");
1831
1839
  configHelp(raiseCommand, prsRaiseConfigHelp);
1832
1840
  }
@@ -2097,7 +2105,7 @@ function registerReview(program) {
2097
2105
  addReviewModeOptions(addReviewRunOptions(reviewCommand)).action(
2098
2106
  async (number, options) => {
2099
2107
  const { resolveHarness } = await import("./resolveHarness-CRWWVE4U.js");
2100
- const { review } = await import("./review-Q2HDUBAA.js");
2108
+ const { review } = await import("./review-36GCDNOH.js");
2101
2109
  return review({
2102
2110
  ...options,
2103
2111
  number,
@@ -2135,7 +2143,7 @@ function registerRulesAdd(rulesCommand) {
2135
2143
  "--repo [name]",
2136
2144
  "As --user, but append to advice.rules in repo (db), the shared per-repo override every node sees, for the current repo or the named one"
2137
2145
  ).action(async (text, options) => {
2138
- const { rulesAdd } = await import("./rulesAdd-DR25M5KY.js");
2146
+ const { rulesAdd } = await import("./rulesAdd-MTHY5RTQ.js");
2139
2147
  return rulesAdd(text, options);
2140
2148
  }),
2141
2149
  "/add-rule and /fix-rules"
@@ -2251,7 +2259,7 @@ function registerSlack(program) {
2251
2259
  ).action(
2252
2260
  async (channel, options) => {
2253
2261
  const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
2254
- const { postSlackMessage } = await import("./postSlackMessage-LCK42KAO.js");
2262
+ const { postSlackMessage } = await import("./postSlackMessage-QVUIQY6T.js");
2255
2263
  await postSlackMessage(channel, {
2256
2264
  ...options,
2257
2265
  body: options.body ? await readBodyArgument(options.body) : void 0
@@ -2678,7 +2686,7 @@ function registerDaemon(program) {
2678
2686
  const cmd = program.command("daemon").description("Long-lived daemon that owns web session PTYs");
2679
2687
  cmd.command("run").description(
2680
2688
  "Run the sessions daemon in the foreground (auto-spawned by assist sessions)"
2681
- ).action(lazyAction(() => import("./runDaemon-H26DPNF2.js"), "runDaemon"));
2689
+ ).action(lazyAction(() => import("./runDaemon-QPMNLZPK.js"), "runDaemon"));
2682
2690
  cmd.command("status").description(
2683
2691
  "Show sessions daemon status, live sessions, and any stray daemon processes"
2684
2692
  ).action(lazyAction(() => import("./daemonStatus-EAZHBC6O.js"), "daemonStatus"));
@@ -2702,7 +2710,7 @@ function registerDiagnoseCommands(nodes, calledBy5) {
2702
2710
  nodes.command("doctor [name]").description(
2703
2711
  "Probe each hop of every link (or one) in order and stop at the first failure with a remediation"
2704
2712
  ).option("--json", "Output as JSON").action(
2705
- async (name, _options, command) => (await import("./doctorNodes-R5LSHBSG.js")).doctorNodes(
2713
+ async (name, _options, command) => (await import("./doctorNodes-WNMQMS73.js")).doctorNodes(
2706
2714
  name,
2707
2715
  command.optsWithGlobals()
2708
2716
  )
@@ -2732,14 +2740,14 @@ function registerPeerActionCommands(nodes, calledBy5) {
2732
2740
  internalCommand(
2733
2741
  nodes.command("restart <name>").description(
2734
2742
  "Restart a linked node's daemon and/or web server, wait for its link to reconnect and print its version"
2735
- ).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-JKNJHOBN.js"), "restartNode")),
2743
+ ).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-L4UYWD5P.js"), "restartNode")),
2736
2744
  calledBy5
2737
2745
  );
2738
2746
  internalCommand(
2739
2747
  nodes.command("update <name>").description(
2740
2748
  "Run assist update on a linked node, restart it, wait for its link to reconnect and print its version"
2741
2749
  ).action(
2742
- async (name) => (await import("./updateNode-YY3552ZX.js")).updateNode(name)
2750
+ async (name) => (await import("./updateNode-GUHTGV4N.js")).updateNode(name)
2743
2751
  ),
2744
2752
  calledBy5
2745
2753
  );
@@ -2802,7 +2810,7 @@ function registerSetStatusCommand(cmd) {
2802
2810
  // src/commands/sessions/registerSessionsWeb.ts
2803
2811
  function registerSessionsWeb(cmd) {
2804
2812
  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(
2805
- async (options, command) => (await import("./web-UIJZ6XQT.js")).web({
2813
+ async (options, command) => (await import("./web-HGJRIJAG.js")).web({
2806
2814
  ...options,
2807
2815
  open: command.optsWithGlobals().open
2808
2816
  })
@@ -2817,7 +2825,7 @@ function registerSessionsWeb(cmd) {
2817
2825
  // src/commands/sessions/registerSessions.ts
2818
2826
  function registerSessions(program) {
2819
2827
  const cmd = program.command("sessions").description("Web dashboard for coding agent sessions").option("--no-open", "Do not open a browser on startup").action(
2820
- async (_options, command) => (await import("./web-UIJZ6XQT.js")).web({
2828
+ async (_options, command) => (await import("./web-HGJRIJAG.js")).web({
2821
2829
  port: "3100",
2822
2830
  open: command.optsWithGlobals().open
2823
2831
  })
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  postSlackMessage
3
- } from "./chunk-O3YZV2FA.js";
4
- import "./chunk-D24GLTCK.js";
5
- import "./chunk-QS2S63AF.js";
3
+ } from "./chunk-IPEA3FVY.js";
4
+ import "./chunk-KU3BOP7V.js";
5
+ import "./chunk-HCDJLCN4.js";
6
6
  import "./chunk-P7SERZI6.js";
7
7
  import "./chunk-3VDV7VHX.js";
8
8
  import "./chunk-GIHVMELY.js";
@@ -21,8 +21,8 @@ import {
21
21
  import {
22
22
  awaitPreviewApproval,
23
23
  exitNoPreview
24
- } from "./chunk-D24GLTCK.js";
25
- import "./chunk-QS2S63AF.js";
24
+ } from "./chunk-KU3BOP7V.js";
25
+ import "./chunk-HCDJLCN4.js";
26
26
  import {
27
27
  isAgentHarness
28
28
  } from "./chunk-G5GN2KBP.js";
@@ -4,15 +4,16 @@ import {
4
4
  import {
5
5
  buildPrBody,
6
6
  validatePrContent
7
- } from "./chunk-Q4TGGE5L.js";
7
+ } from "./chunk-VHRROHRC.js";
8
8
  import {
9
9
  appendScreenshots,
10
10
  attachArgs,
11
11
  parseScreenshotSpecs,
12
- runGhWithAttachments,
12
+ runGhWithAttachments
13
+ } from "./chunk-EPVBZE3T.js";
14
+ import {
13
15
  stageScreenshots
14
- } from "./chunk-IEDFQBJI.js";
15
- import "./chunk-ABLDOQ4B.js";
16
+ } from "./chunk-JAZX2JSS.js";
16
17
  import {
17
18
  findCurrentPr,
18
19
  findCurrentPrNumber,
@@ -33,13 +34,14 @@ import {
33
34
  } from "./chunk-FPWL4VRC.js";
34
35
  import {
35
36
  awaitPreviewApproval
36
- } from "./chunk-D24GLTCK.js";
37
- import "./chunk-QS2S63AF.js";
37
+ } from "./chunk-KU3BOP7V.js";
38
+ import "./chunk-HCDJLCN4.js";
38
39
  import "./chunk-P7SERZI6.js";
39
40
  import "./chunk-3VDV7VHX.js";
40
41
  import "./chunk-B7B26YPF.js";
41
42
  import "./chunk-XTQSKMFH.js";
42
- import "./chunk-DPCFT55U.js";
43
+ import "./chunk-O7L27TQP.js";
44
+ import "./chunk-P5LQVJWN.js";
43
45
  import {
44
46
  requestAssistSession
45
47
  } from "./chunk-F4XCHVD7.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  reviewProposedPrComment
3
- } from "./chunk-G7UI2W7U.js";
3
+ } from "./chunk-PSSNCOG4.js";
4
4
  import {
5
5
  azureDevopsThreadActions,
6
6
  replyToComment
@@ -18,8 +18,8 @@ import {
18
18
  import {
19
19
  rejectHarnessAttribution
20
20
  } from "./chunk-C3MGHR3N.js";
21
- import "./chunk-D24GLTCK.js";
22
- import "./chunk-QS2S63AF.js";
21
+ import "./chunk-KU3BOP7V.js";
22
+ import "./chunk-HCDJLCN4.js";
23
23
  import "./chunk-P7SERZI6.js";
24
24
  import "./chunk-3VDV7VHX.js";
25
25
  import "./chunk-PIDKNOD6.js";
@@ -2,20 +2,20 @@ import {
2
2
  linkStatus,
3
3
  postToPeer,
4
4
  startPeerAction
5
- } from "./chunk-RBR2DXCS.js";
6
- import "./chunk-SZNARW4L.js";
7
- import "./chunk-CSOKDY43.js";
5
+ } from "./chunk-YLEBZYTG.js";
6
+ import "./chunk-OL3XIGSW.js";
7
+ import "./chunk-ONP7DDB6.js";
8
8
  import "./chunk-VABNWHSE.js";
9
9
  import "./chunk-DS2YJZZY.js";
10
10
  import "./chunk-4HKB2TAG.js";
11
- import "./chunk-N7MKYWPX.js";
11
+ import "./chunk-42SUHCAB.js";
12
12
  import "./chunk-J2PPCMCR.js";
13
13
  import "./chunk-5CNDLMYO.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-3EGHC5DC.js";
18
+ import "./chunk-XJKVJATG.js";
19
19
  import "./chunk-UFSOFNXQ.js";
20
20
  import "./chunk-FLDRXYEM.js";
21
21
  import "./chunk-GRXFWFGP.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JFBD33EV.js";
5
5
  import {
6
6
  comment
7
- } from "./chunk-VLJWAMAH.js";
7
+ } from "./chunk-OWAUNGD6.js";
8
8
  import {
9
9
  parsePrBody
10
10
  } from "./chunk-ENTJ2N5Y.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  countReadingWords
16
16
  } from "./chunk-O6HFT23O.js";
17
- import "./chunk-G7UI2W7U.js";
17
+ import "./chunk-PSSNCOG4.js";
18
18
  import {
19
19
  fetchThreadIds
20
20
  } from "./chunk-S6XYTJU2.js";
@@ -74,8 +74,10 @@ import {
74
74
  } from "./chunk-YS3HSXSJ.js";
75
75
  import {
76
76
  awaitPreviewApproval
77
- } from "./chunk-D24GLTCK.js";
78
- import "./chunk-QS2S63AF.js";
77
+ } from "./chunk-KU3BOP7V.js";
78
+ import {
79
+ deferredRunEnv
80
+ } from "./chunk-HCDJLCN4.js";
79
81
  import {
80
82
  isAgentHarness
81
83
  } from "./chunk-G5GN2KBP.js";
@@ -199,6 +201,11 @@ import {
199
201
  exitOnCancel
200
202
  } from "./chunk-SSKHLBQB.js";
201
203
 
204
+ // src/commands/review/runsInSession.ts
205
+ function runsInSession() {
206
+ return isAgentHarness() || process.env[deferredRunEnv] === "1";
207
+ }
208
+
202
209
  // src/commands/review/checkoutPrSession.ts
203
210
  async function checkoutPrSession(number, { harness, skill } = {}) {
204
211
  await checkoutPr(number);
@@ -3860,7 +3867,7 @@ import chalk14 from "chalk";
3860
3867
  function reviewSessionFeature(options) {
3861
3868
  if (options.checkoutOnly) return reviewCheckoutFeature;
3862
3869
  if (options.highLevel)
3863
- return options.number && !isAgentHarness() ? highLevelReviewFeature : void 0;
3870
+ return options.number && !runsInSession() ? highLevelReviewFeature : void 0;
3864
3871
  const session = postSynthesisSession(options)?.feature;
3865
3872
  if (session) return session;
3866
3873
  return options.submit && options.addressComments ? addressCommentsChainFeature : void 0;
@@ -3897,7 +3904,7 @@ async function review(options = {}) {
3897
3904
  const { harness } = options;
3898
3905
  if (options.checkoutOnly && options.number)
3899
3906
  return checkoutPrSession(options.number, { harness });
3900
- if (options.highLevel && options.number && !isAgentHarness())
3907
+ if (options.highLevel && options.number && !runsInSession())
3901
3908
  return checkoutPrSession(options.number, {
3902
3909
  harness,
3903
3910
  skill: {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  printApprovedComments
3
- } from "./chunk-6SKKK2RR.js";
3
+ } from "./chunk-OSFBFZ4O.js";
4
4
  import {
5
5
  awaitPreviewApproval
6
- } from "./chunk-D24GLTCK.js";
7
- import "./chunk-QS2S63AF.js";
6
+ } from "./chunk-KU3BOP7V.js";
7
+ import "./chunk-HCDJLCN4.js";
8
8
  import "./chunk-P7SERZI6.js";
9
9
  import "./chunk-3VDV7VHX.js";
10
10
  import {
@@ -95,7 +95,7 @@ import {
95
95
  deferredRunEnv,
96
96
  supersededPreviewMessage,
97
97
  toAttachments
98
- } from "./chunk-QS2S63AF.js";
98
+ } from "./chunk-HCDJLCN4.js";
99
99
  import {
100
100
  AUTO_UPDATE_ACTIONS,
101
101
  RATE_LIMIT_WINDOWS,
@@ -129,7 +129,7 @@ import {
129
129
  isHello,
130
130
  linkVersionCheck,
131
131
  negotiateProtocol
132
- } from "./chunk-N7MKYWPX.js";
132
+ } from "./chunk-42SUHCAB.js";
133
133
  import {
134
134
  loadLinkSpecs
135
135
  } from "./chunk-J2PPCMCR.js";
@@ -268,7 +268,7 @@ import {
268
268
  import "./chunk-APZ6ZTDA.js";
269
269
  import "./chunk-ZRIBI33P.js";
270
270
  import "./chunk-D7UZLH36.js";
271
- import "./chunk-3EGHC5DC.js";
271
+ import "./chunk-XJKVJATG.js";
272
272
  import "./chunk-EW2ZM2PC.js";
273
273
  import "./chunk-MYH4MQX2.js";
274
274
  import {
@@ -4309,11 +4309,12 @@ function answersOf(d) {
4309
4309
  }
4310
4310
  function paneEchoText(preview, d) {
4311
4311
  if (d.dismissed === true) return "Dismissed";
4312
+ const paneDismissed = d.decision === "reject";
4312
4313
  switch (preview.kind) {
4313
4314
  case "check":
4314
- return checkReplyText(answersOf(d));
4315
+ return paneDismissed ? ["Dismissed", checkReplyText(answersOf(d))].filter(Boolean).join("\n\n") : checkReplyText(answersOf(d));
4315
4316
  case "question":
4316
- return questionAnswerText(preview.body, answersOf(d));
4317
+ return paneDismissed ? "Dismissed" : questionAnswerText(preview.body, answersOf(d));
4317
4318
  case "ask":
4318
4319
  case "backlog-item":
4319
4320
  case "rule":
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-RFMBA6WA.js";
7
7
  import {
8
8
  awaitPreviewApproval
9
- } from "./chunk-D24GLTCK.js";
10
- import "./chunk-QS2S63AF.js";
9
+ } from "./chunk-KU3BOP7V.js";
10
+ import "./chunk-HCDJLCN4.js";
11
11
  import "./chunk-P7SERZI6.js";
12
12
  import "./chunk-3VDV7VHX.js";
13
13
  import {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-W7TRZLEM.js";
10
10
  import {
11
11
  package_default
12
- } from "./chunk-3EGHC5DC.js";
12
+ } from "./chunk-XJKVJATG.js";
13
13
 
14
14
  // src/commands/extension/signExtension.ts
15
15
  import { rm as rm2 } from "fs/promises";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  postSlackMessage,
3
3
  slackWorkingFile
4
- } from "./chunk-O3YZV2FA.js";
4
+ } from "./chunk-IPEA3FVY.js";
5
5
  import {
6
6
  devEntryPath
7
7
  } from "./chunk-RNFWWESE.js";
@@ -18,8 +18,8 @@ import {
18
18
  isValidWeek,
19
19
  isoWeekRange
20
20
  } from "./chunk-TUPSNHFZ.js";
21
- import "./chunk-D24GLTCK.js";
22
- import "./chunk-QS2S63AF.js";
21
+ import "./chunk-KU3BOP7V.js";
22
+ import "./chunk-HCDJLCN4.js";
23
23
  import "./chunk-P7SERZI6.js";
24
24
  import "./chunk-3VDV7VHX.js";
25
25
  import "./chunk-GIHVMELY.js";
@@ -2,13 +2,13 @@ import {
2
2
  linkStatus,
3
3
  postToPeer,
4
4
  startPeerAction
5
- } from "./chunk-RBR2DXCS.js";
6
- import "./chunk-SZNARW4L.js";
7
- import "./chunk-CSOKDY43.js";
5
+ } from "./chunk-YLEBZYTG.js";
6
+ import "./chunk-OL3XIGSW.js";
7
+ import "./chunk-ONP7DDB6.js";
8
8
  import "./chunk-VABNWHSE.js";
9
9
  import "./chunk-DS2YJZZY.js";
10
10
  import "./chunk-4HKB2TAG.js";
11
- import "./chunk-N7MKYWPX.js";
11
+ import "./chunk-42SUHCAB.js";
12
12
  import "./chunk-J2PPCMCR.js";
13
13
  import "./chunk-5CNDLMYO.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-3EGHC5DC.js";
22
+ import "./chunk-XJKVJATG.js";
23
23
  import "./chunk-UFSOFNXQ.js";
24
24
  import "./chunk-FLDRXYEM.js";
25
25
  import "./chunk-GRXFWFGP.js";
@@ -21,8 +21,8 @@ import {
21
21
  } from "./chunk-OQ6AYXHB.js";
22
22
  import {
23
23
  awaitPreviewApproval
24
- } from "./chunk-D24GLTCK.js";
25
- import "./chunk-QS2S63AF.js";
24
+ } from "./chunk-KU3BOP7V.js";
25
+ import "./chunk-HCDJLCN4.js";
26
26
  import "./chunk-P7SERZI6.js";
27
27
  import "./chunk-QRTB7PVR.js";
28
28
  import "./chunk-3VDV7VHX.js";