@staff0rd/assist 0.1182.2 → 0.1182.4

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 (52) hide show
  1. package/dist/.build-files +47 -45
  2. package/dist/{addPhase-PMIJDJ3T.js → addPhase-ML6FWTON.js} +1 -1
  3. package/dist/{askCheck-LJDGEXJ3.js → askCheck-GLHIKMMQ.js} +5 -5
  4. package/dist/built-version +1 -1
  5. package/dist/{chunk-PX5NZMZE.js → chunk-2DCW5B2A.js} +1 -1
  6. package/dist/{chunk-3YB3V3D2.js → chunk-5FJPKU7V.js} +1 -1
  7. package/dist/chunk-67DONCGH.js +42 -0
  8. package/dist/{chunk-74MTQGFQ.js → chunk-7K34MLSX.js} +1 -1
  9. package/dist/{chunk-XYYJ4EDQ.js → chunk-CUL7OE7O.js} +2 -2
  10. package/dist/chunk-D6WBUFXT.js +23 -0
  11. package/dist/{chunk-BRHQ2AY2.js → chunk-GTIF6ABE.js} +1 -1
  12. package/dist/{chunk-P5WTDOX6.js → chunk-ILA3UXIH.js} +2 -2
  13. package/dist/{chunk-N2SLCM35.js → chunk-JKQSNQTI.js} +1 -1
  14. package/dist/{chunk-XQNV6F74.js → chunk-OT5TJO2U.js} +1 -1
  15. package/dist/{chunk-KWPM2HNG.js → chunk-PZJWO4Z7.js} +2 -2
  16. package/dist/{chunk-BQRWKDLW.js → chunk-QYXQ5VO4.js} +1 -1
  17. package/dist/{chunk-EBS5KT26.js → chunk-RJE2QI4J.js} +1 -1
  18. package/dist/{chunk-MPHPF3VF.js → chunk-TRQ4XZIM.js} +1 -1
  19. package/dist/{chunk-BQET6EXK.js → chunk-UA5GGKHC.js} +2 -2
  20. package/dist/{chunk-MLERFQMF.js → chunk-UYX3OYGX.js} +1 -1
  21. package/dist/{chunk-RJERQDBE.js → chunk-VDOAW6B6.js} +4 -4
  22. package/dist/{chunk-XMQ3HCIH.js → chunk-WOAP6JRV.js} +1 -1
  23. package/dist/{chunk-ESJG46YM.js → chunk-XYT4PK7S.js} +31 -13
  24. package/dist/{chunk-JEUWRSP4.js → chunk-Y2SSF6QY.js} +4 -4
  25. package/dist/{chunk-RQ6VJKY7.js → chunk-Z5F2RSM3.js} +1 -1
  26. package/dist/{chunk-OGOH3VWW.js → chunk-ZNA6WQDJ.js} +2 -2
  27. package/dist/commands/sessions/web/bundle.js +294 -294
  28. package/dist/{doctorNodes-4LFHDZLW.js → doctorNodes-XLGZAQYX.js} +3 -3
  29. package/dist/{done-YFKFZK2S.js → done-PVBSD5M7.js} +2 -2
  30. package/dist/index.js +32 -32
  31. package/dist/{landPhase-GHSECSHW.js → landPhase-BUBC2RDB.js} +13 -8
  32. package/dist/{launchMode-4A6U3LTB.js → launchMode-22IYU2AG.js} +11 -11
  33. package/dist/{list-IYTEKSBT.js → list-42L65DJI.js} +3 -3
  34. package/dist/{next-4R4VQJMS.js → next-QYORY35D.js} +10 -10
  35. package/dist/{phaseDone-W2BGSGHG.js → phaseDone-KDP7TIEJ.js} +14 -9
  36. package/dist/{propose-RXJXCUTN.js → propose-SBMKA5FH.js} +2 -2
  37. package/dist/{refine-F3AJECLF.js → refine-KKCKFCJD.js} +12 -12
  38. package/dist/{restartNode-IZKUSPRN.js → restartNode-6PKTRTLW.js} +5 -5
  39. package/dist/{rewindPhase-UL5XEEXE.js → rewindPhase-IW72WBK7.js} +6 -6
  40. package/dist/{run-424NNNIR.js → run-6OXYDELO.js} +8 -8
  41. package/dist/{run-O3YG35JS.js → run-7DFQ4ZFH.js} +8 -8
  42. package/dist/{runDaemon-U73XMTYQ.js → runDaemon-TEOJXVGV.js} +6 -6
  43. package/dist/{runParallelPhase-WDKD5O5U.js → runParallelPhase-5XOOQYAG.js} +36 -8
  44. package/dist/{runRefine-6UTTU6UY.js → runRefine-3OO357ZM.js} +12 -12
  45. package/dist/{search-BGDVCDVG.js → search-D2RBEQID.js} +3 -3
  46. package/dist/{show-HLQOAXQE.js → show-XAAXGMGZ.js} +1 -1
  47. package/dist/{signExtension-C3CMR6IV.js → signExtension-IO4STSDY.js} +1 -1
  48. package/dist/{updateNode-J2JWLP2V.js → updateNode-EO6JUOUK.js} +5 -5
  49. package/dist/{updatePlan-PEZI7BK5.js → updatePlan-RRVIY7OW.js} +2 -2
  50. package/dist/{web-5O2QODIK.js → web-3PDXXIAX.js} +11 -11
  51. package/dist/{web-NOU4CGHW.js → web-DG22UTGV.js} +11 -11
  52. package/package.json +1 -1
@@ -9,10 +9,10 @@ import {
9
9
  import {
10
10
  buildDoctorProbes,
11
11
  diagnoseLink
12
- } from "./chunk-74MTQGFQ.js";
12
+ } from "./chunk-7K34MLSX.js";
13
13
  import "./chunk-VABNWHSE.js";
14
14
  import "./chunk-DS2YJZZY.js";
15
- import "./chunk-BRHQ2AY2.js";
15
+ import "./chunk-GTIF6ABE.js";
16
16
  import {
17
17
  loadLinkSpecs
18
18
  } from "./chunk-5BDVREVD.js";
@@ -30,7 +30,7 @@ import {
30
30
  detectPlatform
31
31
  } from "./chunk-E36L7ASL.js";
32
32
  import "./chunk-GIHVMELY.js";
33
- import "./chunk-XMQ3HCIH.js";
33
+ import "./chunk-WOAP6JRV.js";
34
34
  import "./chunk-IWFM4Z7W.js";
35
35
  import "./chunk-EGHUOQR6.js";
36
36
  import "./chunk-HXYVAIAG.js";
@@ -8,8 +8,8 @@ import {
8
8
  } from "./chunk-X3ZC7AXI.js";
9
9
  import {
10
10
  authoredPhases
11
- } from "./chunk-N2SLCM35.js";
12
- import "./chunk-PX5NZMZE.js";
11
+ } from "./chunk-JKQSNQTI.js";
12
+ import "./chunk-2DCW5B2A.js";
13
13
  import "./chunk-6Z7XJJNZ.js";
14
14
  import {
15
15
  findOneItem,
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-XEJODD6D.js";
18
18
  import {
19
19
  package_default
20
- } from "./chunk-XMQ3HCIH.js";
20
+ } from "./chunk-WOAP6JRV.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-5O2QODIK.js")).web({
95
+ async (options) => (await import("./web-3PDXXIAX.js")).web({
96
96
  port: "3100",
97
97
  open: options.open
98
98
  })
@@ -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-LJDGEXJ3.js"), "askCheck")),
173
+ ).action(lazyAction(() => import("./askCheck-GLHIKMMQ.js"), "askCheck")),
174
174
  askQuestionConfigHelp
175
175
  ),
176
176
  "Claude when asking the user to test a change"
@@ -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-RXJXCUTN.js"), "propose")),
360
+ ${proposeHelpText}`).action(lazyAction(() => import("./propose-SBMKA5FH.js"), "propose")),
361
361
  "/draft and /bug"
362
362
  );
363
363
  }
@@ -367,7 +367,7 @@ function registerItemCommands(cmd) {
367
367
  cmd.command("list").alias("ls").description("List all backlog items").option(
368
368
  "--status <type>",
369
369
  "Filter by status (todo, in-progress, done, wontdo)"
370
- ).option("-a, --all", "Include done/wontdo items").option("--all-repos", "List items across all repositories").option("-v, --verbose", "Show all item details").action(lazyAction(() => import("./list-IYTEKSBT.js"), "list"));
370
+ ).option("-a, --all", "Include done/wontdo items").option("--all-repos", "List items across all repositories").option("-v, --verbose", "Show all item details").action(lazyAction(() => import("./list-42L65DJI.js"), "list"));
371
371
  cmd.command("add").description("Add a new backlog item").option("--name <name>", "Item name").option("--type <type>", "Item type (story or bug)").option(
372
372
  "--desc <description>",
373
373
  String.raw`Item description (Markdown supported; use \n for line breaks)`
@@ -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-PMIJDJ3T.js"), "addPhase"));
385
+ ).action(lazyAction(() => import("./addPhase-ML6FWTON.js"), "addPhase"));
386
386
  }
387
387
 
388
388
  // src/commands/backlog/registerLinkCommands.ts
@@ -407,7 +407,7 @@ function registerMoveRepoCommand(cmd) {
407
407
  // src/commands/backlog/registerNextCommand.ts
408
408
  function registerNextCommand(cmd) {
409
409
  cmd.command("next").argument("[id]", "Backlog item ID to run first").description("Pick and run the next backlog item, or open /draft if none").option("-w, --write", "Run Claude with auto permission mode (default)").option("--no-write", "Run Claude without auto permission mode").option("--once", "Exit after the first completed item run").action(
410
- async (id, opts) => (await import("./next-4R4VQJMS.js")).next(
410
+ async (id, opts) => (await import("./next-QYORY35D.js")).next(
411
411
  { allowEdits: opts.write !== false, once: opts.once },
412
412
  id
413
413
  )
@@ -418,7 +418,7 @@ function registerNextCommand(cmd) {
418
418
  function registerPlanCommands(cmd) {
419
419
  cmd.command("plan <id>").description("Display the plan for a backlog item").action(lazyAction(() => import("./plan-YUHDUPTJ.js"), "plan"));
420
420
  internalCommand(
421
- cmd.command("phase-done <id> <phase> <summary>").description("Signal that a plan phase is complete").action(lazyAction(() => import("./phaseDone-W2BGSGHG.js"), "phaseDone")),
421
+ cmd.command("phase-done <id> <phase> <summary>").description("Signal that a plan phase is complete").action(lazyAction(() => import("./phaseDone-KDP7TIEJ.js"), "phaseDone")),
422
422
  "the agent running each phase of a backlog run"
423
423
  );
424
424
  }
@@ -430,7 +430,7 @@ function registerRefineCommand(cmd) {
430
430
  "Coding harness to launch (claude|codex|pi); defaults to the configured harness.engine. Exits with the reasons, without launching, when Refine is unavailable on it"
431
431
  ).action(
432
432
  async (id, opts) => {
433
- const { refine: backlogRefine } = await import("./refine-F3AJECLF.js");
433
+ const { refine: backlogRefine } = await import("./refine-KKCKFCJD.js");
434
434
  const { resolveHarness } = await import("./resolveHarness-C5TMFYBS.js");
435
435
  return backlogRefine(id, {
436
436
  once: opts.once,
@@ -469,7 +469,7 @@ function registerRefreshDocsCommand(cmd) {
469
469
 
470
470
  // src/commands/backlog/registerRewindCommand.ts
471
471
  function registerRewindCommand(cmd) {
472
- cmd.command("rewind <id> <phase>").description("Rewind a backlog item to an earlier phase").requiredOption("--reason <reason>", "Reason for rewinding").action(lazyAction(() => import("./rewindPhase-UL5XEEXE.js"), "rewindPhase"));
472
+ cmd.command("rewind <id> <phase>").description("Rewind a backlog item to an earlier phase").requiredOption("--reason <reason>", "Reason for rewinding").action(lazyAction(() => import("./rewindPhase-IW72WBK7.js"), "rewindPhase"));
473
473
  }
474
474
 
475
475
  // src/commands/backlog/registerLandCommand.ts
@@ -477,7 +477,7 @@ function registerLandCommand(cmd) {
477
477
  cmd.command("land").description(
478
478
  "Land this parallel phase's commits on the item branch: rebase onto it, run assist verify if it moved, then fast-forward it"
479
479
  ).action(async () => {
480
- const { landPhase } = await import("./landPhase-GHSECSHW.js");
480
+ const { landPhase } = await import("./landPhase-BUBC2RDB.js");
481
481
  landPhase();
482
482
  });
483
483
  }
@@ -496,7 +496,7 @@ function registerRunPhaseCommand(cmd) {
496
496
  async (id, phase, opts) => {
497
497
  const { resolveHarness } = await import("./resolveHarness-C5TMFYBS.js");
498
498
  const { resolveModel } = await import("./resolveModel-MH6ZEWBI.js");
499
- const { runParallelPhase } = await import("./runParallelPhase-WDKD5O5U.js");
499
+ const { runParallelPhase } = await import("./runParallelPhase-5XOOQYAG.js");
500
500
  const harness = resolveHarness(opts.harness, "run");
501
501
  const ok = await runParallelPhase(id, Number(phase), {
502
502
  token: opts.token,
@@ -533,7 +533,7 @@ function registerRunCommand(cmd) {
533
533
  const { pullIfConfigured } = await import("./pullIfConfigured-OFHDKUOE.js");
534
534
  const { resolveHarness } = await import("./resolveHarness-C5TMFYBS.js");
535
535
  const { resolveModel } = await import("./resolveModel-MH6ZEWBI.js");
536
- const { run: backlogRun } = await import("./run-O3YG35JS.js");
536
+ const { run: backlogRun } = await import("./run-7DFQ4ZFH.js");
537
537
  if (!opts.resumeSession) await pullIfConfigured();
538
538
  const harness = resolveHarness(opts.harness, "run");
539
539
  await backlogRun(id, {
@@ -550,7 +550,7 @@ function registerRunCommand(cmd) {
550
550
 
551
551
  // src/commands/backlog/registerSearchCommand.ts
552
552
  function registerSearchCommand(cmd) {
553
- cmd.command("search <query>").description("Search backlog items by keyword").action(lazyAction(() => import("./search-BGDVCDVG.js"), "search"));
553
+ cmd.command("search <query>").description("Search backlog items by keyword").action(lazyAction(() => import("./search-D2RBEQID.js"), "search"));
554
554
  }
555
555
 
556
556
  // src/commands/backlog/registerStatusCommands.ts
@@ -558,7 +558,7 @@ function registerStatusCommands(cmd) {
558
558
  cmd.command("start <id>").description("Set a backlog item to in-progress").action(lazyAction(() => import("./start-VDVGGTEQ.js"), "start"));
559
559
  cmd.command("stop").description("Revert all in-progress backlog items to todo").action(lazyAction(() => import("./stop-GTVNVIEY.js"), "stop"));
560
560
  internalCommand(
561
- cmd.command("done <id> [summary]").description("Set a backlog item to done").action(lazyAction(() => import("./done-YFKFZK2S.js"), "done")),
561
+ cmd.command("done <id> [summary]").description("Set a backlog item to done").action(lazyAction(() => import("./done-PVBSD5M7.js"), "done")),
562
562
  "the review phase of a backlog run"
563
563
  );
564
564
  cmd.command("wontdo <id> [reason]").description("Set a backlog item to won't do").action(lazyAction(() => import("./wontdo-6QXFMDRS.js"), "wontdo"));
@@ -622,7 +622,7 @@ function registerUpdateCommands(cmd) {
622
622
  ).requiredOption(
623
623
  "--json <file|->",
624
624
  "Path to a JSON payload of { phases: [{ name, tasks, manualChecks?, dependsOn? }] }, or - to read it from stdin"
625
- ).action(lazyAction(() => import("./updatePlan-PEZI7BK5.js"), "updatePlan")),
625
+ ).action(lazyAction(() => import("./updatePlan-RRVIY7OW.js"), "updatePlan")),
626
626
  "/refine"
627
627
  );
628
628
  cmd.command("move-phase <id> <from> <to>").description(
@@ -635,12 +635,12 @@ function registerShowCommands(cmd) {
635
635
  cmd.command("show <id>").alias("view").description("Show full detail for a backlog item").option(
636
636
  "--all-commits",
637
637
  "Show every commit in Activity instead of the newest 10"
638
- ).action(lazyAction(() => import("./show-HLQOAXQE.js"), "show"));
638
+ ).action(lazyAction(() => import("./show-XAAXGMGZ.js"), "show"));
639
639
  }
640
640
 
641
641
  // src/commands/registerBacklog.ts
642
642
  function registerWebCommand(cmd) {
643
- 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-NOU4CGHW.js"), "web"));
643
+ 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-DG22UTGV.js"), "web"));
644
644
  }
645
645
  var registrars = [
646
646
  registerItemCommands,
@@ -670,7 +670,7 @@ function registerBacklog(program) {
670
670
  const { setBacklogDir } = await import("./getBacklogDir-OYCBBVXZ.js");
671
671
  setBacklogDir(thisCommand.opts().dir);
672
672
  }).action(
673
- async (options) => (await import("./web-NOU4CGHW.js")).web({ port: "3100", open: options.open })
673
+ async (options) => (await import("./web-DG22UTGV.js")).web({ port: "3100", open: options.open })
674
674
  );
675
675
  for (const register of registrars) {
676
676
  register(cmd);
@@ -983,7 +983,7 @@ function registerExtension(program) {
983
983
  ).action(async (options) => {
984
984
  const { extension } = await import("./extension-YYRD5EM6.js");
985
985
  const { printExtensionUrl } = await import("./printExtensionUrl-IW2WTSNS.js");
986
- const { signExtension } = await import("./signExtension-C3CMR6IV.js");
986
+ const { signExtension } = await import("./signExtension-IO4STSDY.js");
987
987
  if (options.url) return printExtensionUrl();
988
988
  return options.sign ? signExtension() : extension();
989
989
  });
@@ -1394,7 +1394,7 @@ var HARNESS_FLAG = "Coding harness to launch (claude|codex|pi); defaults to the
1394
1394
  function registerRefineLaunch(program, resumeFlag) {
1395
1395
  const command = program.command("refine").argument("[id]", "Backlog item ID").description(
1396
1396
  "Launch a coding harness in /refine mode to refine a backlog item"
1397
- ).option("--once", "Exit when the initial task completes").option("--resume-session <id>", resumeFlag).option("--harness <kind>", HARNESS_FLAG).action(lazyAction(() => import("./runRefine-6UTTU6UY.js"), "runRefine"));
1397
+ ).option("--once", "Exit when the initial task completes").option("--resume-session <id>", resumeFlag).option("--harness <kind>", HARNESS_FLAG).action(lazyAction(() => import("./runRefine-3OO357ZM.js"), "runRefine"));
1398
1398
  configHelp(command, harnessConfigHelp);
1399
1399
  }
1400
1400
 
@@ -1457,7 +1457,7 @@ function registerDescriptionLaunch(program, name, slashCommand, description, fea
1457
1457
  "--model <model>",
1458
1458
  `Model to launch the harness with; defaults to harness.defaults.${name}.model while the ${name} type's harness is used`
1459
1459
  ).option("--no-model", "Launch with the harness's own default model").action(async (text, opts) => {
1460
- const { launchMode } = await import("./launchMode-4A6U3LTB.js");
1460
+ const { launchMode } = await import("./launchMode-22IYU2AG.js");
1461
1461
  const { resolveHarness } = await import("./resolveHarness-C5TMFYBS.js");
1462
1462
  const { resolveModel } = await import("./resolveModel-MH6ZEWBI.js");
1463
1463
  const harness = resolveHarness(opts.harness, name);
@@ -1478,7 +1478,7 @@ function registerDescriptionLaunch(program, name, slashCommand, description, fea
1478
1478
  var RESUME_SESSION_FLAG = "Resume an interrupted harness session by its conversation id (used by the sessions daemon on restart)";
1479
1479
  function registerNext(program) {
1480
1480
  program.command("next").argument("[id]", "Backlog item ID to run first").description("Alias for backlog next").option("--once", "Exit after the first completed item run").action(
1481
- async (id, opts) => (await import("./next-4R4VQJMS.js")).next(
1481
+ async (id, opts) => (await import("./next-QYORY35D.js")).next(
1482
1482
  { allowEdits: true, once: opts.once },
1483
1483
  id
1484
1484
  )
@@ -1514,7 +1514,7 @@ function registerList(program) {
1514
1514
  "--status <type>",
1515
1515
  "Filter by status (todo, in-progress, done, wontdo)"
1516
1516
  ).option("-a, --all", "Include done/wontdo items").option("--all-repos", "List items across all repositories").option("-v, --verbose", "Show all item details").option("--dir <path>", "Override directory for backlog file discovery").action(async (options) => {
1517
- const { list: backlogList } = await import("./list-IYTEKSBT.js");
1517
+ const { list: backlogList } = await import("./list-42L65DJI.js");
1518
1518
  const { setBacklogDir } = await import("./getBacklogDir-OYCBBVXZ.js");
1519
1519
  setBacklogDir(options.dir);
1520
1520
  return backlogList(options);
@@ -2624,7 +2624,7 @@ function registerRunAdd(runCommand) {
2624
2624
  // src/commands/run/registerRunSubcommands.ts
2625
2625
  function registerRunSubcommands(runCommand) {
2626
2626
  runCommand.command("list").description("List configured run commands").option("-v, --verbose", "Show full command details").action(
2627
- async (opts) => (await import("./run-424NNNIR.js")).listRunConfigs(!!opts.verbose)
2627
+ async (opts) => (await import("./run-6OXYDELO.js")).listRunConfigs(!!opts.verbose)
2628
2628
  );
2629
2629
  registerRunAdd(runCommand);
2630
2630
  runCommand.command("link").description("Link run configurations from another project's assist.yml").argument("<path>", "Relative path to the linked project").requiredOption("--prefix <prefix>", "Namespace prefix for linked commands").allowUnknownOption().action(lazyAction(() => import("./link-JZA6OMHP.js"), "link"));
@@ -2645,7 +2645,7 @@ function registerRun(program) {
2645
2645
  lazyHelpText(
2646
2646
  runCommand,
2647
2647
  async () => (await import("./formatConfiguredCommands-CERMSBD4.js")).formatConfiguredCommands
2648
- ).action(lazyAction(() => import("./run-424NNNIR.js"), "run"));
2648
+ ).action(lazyAction(() => import("./run-6OXYDELO.js"), "run"));
2649
2649
  configHelp(runCommand, runConfigHelp);
2650
2650
  registerRunSubcommands(runCommand);
2651
2651
  }
@@ -2655,7 +2655,7 @@ function registerDaemon(program) {
2655
2655
  const cmd = program.command("daemon").description("Long-lived daemon that owns web session PTYs");
2656
2656
  cmd.command("run").description(
2657
2657
  "Run the sessions daemon in the foreground (auto-spawned by assist sessions)"
2658
- ).action(lazyAction(() => import("./runDaemon-U73XMTYQ.js"), "runDaemon"));
2658
+ ).action(lazyAction(() => import("./runDaemon-TEOJXVGV.js"), "runDaemon"));
2659
2659
  cmd.command("status").description(
2660
2660
  "Show sessions daemon status, live sessions, and any stray daemon processes"
2661
2661
  ).action(lazyAction(() => import("./daemonStatus-EAZHBC6O.js"), "daemonStatus"));
@@ -2679,7 +2679,7 @@ function registerDiagnoseCommands(nodes, calledBy5) {
2679
2679
  nodes.command("doctor [name]").description(
2680
2680
  "Probe each hop of every link (or one) in order and stop at the first failure with a remediation"
2681
2681
  ).option("--json", "Output as JSON").action(
2682
- async (name, _options, command) => (await import("./doctorNodes-4LFHDZLW.js")).doctorNodes(
2682
+ async (name, _options, command) => (await import("./doctorNodes-XLGZAQYX.js")).doctorNodes(
2683
2683
  name,
2684
2684
  command.optsWithGlobals()
2685
2685
  )
@@ -2709,14 +2709,14 @@ function registerPeerActionCommands(nodes, calledBy5) {
2709
2709
  internalCommand(
2710
2710
  nodes.command("restart <name>").description(
2711
2711
  "Restart a linked node's daemon and/or web server, wait for its link to reconnect and print its version"
2712
- ).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-IZKUSPRN.js"), "restartNode")),
2712
+ ).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-6PKTRTLW.js"), "restartNode")),
2713
2713
  calledBy5
2714
2714
  );
2715
2715
  internalCommand(
2716
2716
  nodes.command("update <name>").description(
2717
2717
  "Run assist update on a linked node, restart it, wait for its link to reconnect and print its version"
2718
2718
  ).action(
2719
- async (name) => (await import("./updateNode-J2JWLP2V.js")).updateNode(name)
2719
+ async (name) => (await import("./updateNode-EO6JUOUK.js")).updateNode(name)
2720
2720
  ),
2721
2721
  calledBy5
2722
2722
  );
@@ -2779,7 +2779,7 @@ function registerSetStatusCommand(cmd) {
2779
2779
  // src/commands/sessions/registerSessionsWeb.ts
2780
2780
  function registerSessionsWeb(cmd) {
2781
2781
  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(
2782
- async (options, command) => (await import("./web-5O2QODIK.js")).web({
2782
+ async (options, command) => (await import("./web-3PDXXIAX.js")).web({
2783
2783
  ...options,
2784
2784
  open: command.optsWithGlobals().open
2785
2785
  })
@@ -2794,7 +2794,7 @@ function registerSessionsWeb(cmd) {
2794
2794
  // src/commands/sessions/registerSessions.ts
2795
2795
  function registerSessions(program) {
2796
2796
  const cmd = program.command("sessions").description("Web dashboard for coding agent sessions").option("--no-open", "Do not open a browser on startup").action(
2797
- async (_options, command) => (await import("./web-5O2QODIK.js")).web({
2797
+ async (_options, command) => (await import("./web-3PDXXIAX.js")).web({
2798
2798
  port: "3100",
2799
2799
  open: command.optsWithGlobals().open
2800
2800
  })
@@ -1,3 +1,7 @@
1
+ import {
2
+ landingTarget
3
+ } from "./chunk-67DONCGH.js";
4
+ import "./chunk-D6WBUFXT.js";
1
5
  import {
2
6
  isAncestor,
3
7
  phaseGit
@@ -62,25 +66,26 @@ function landPhase() {
62
66
  );
63
67
  if (phaseGit(["status", "--porcelain"]).out)
64
68
  return landingFailed("Commit your work before landing it.");
69
+ const target = landingTarget(tree);
65
70
  for (let attempt = 0; attempt < MAX_ATTEMPTS; attempt++) {
66
- const target = phaseGit(["rev-parse", "HEAD"], tree).out;
67
- if (isAncestor("HEAD", target)) {
68
- console.log(chalk4.green("Already landed on the item branch."));
71
+ const tip = target.tip();
72
+ if (isAncestor("HEAD", tip)) {
73
+ console.log(chalk4.green(`Already landed on ${target.label}.`));
69
74
  return;
70
75
  }
71
- if (!isAncestor(target, "HEAD")) {
72
- if (!rebaseOnto(target) || !verifyAfterRebase()) return;
76
+ if (!isAncestor(tip, "HEAD")) {
77
+ if (!rebaseOnto(tip) || !verifyAfterRebase()) return;
73
78
  }
74
79
  const head = phaseGit(["rev-parse", "HEAD"]).out;
75
- if (phaseGit(["merge", "--ff-only", head], tree).ok) {
80
+ if (target.publish(head)) {
76
81
  console.log(
77
- chalk4.green(`Landed ${head.slice(0, 8)} on the item branch.`)
82
+ chalk4.green(`Landed ${head.slice(0, 8)} on ${target.label}.`)
78
83
  );
79
84
  return;
80
85
  }
81
86
  }
82
87
  landingFailed(
83
- `Could not fast-forward the item branch in ${tree}: it kept moving or has uncommitted changes. Run \`assist backlog land\` again.`
88
+ `Could not land on ${target.label}: it kept moving or was rejected. Run \`assist backlog land\` again.`
84
89
  );
85
90
  }
86
91
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  launchMode
3
- } from "./chunk-RJERQDBE.js";
4
- import "./chunk-XYYJ4EDQ.js";
3
+ } from "./chunk-VDOAW6B6.js";
4
+ import "./chunk-CUL7OE7O.js";
5
5
  import "./chunk-AODN5R7L.js";
6
6
  import "./chunk-B3JSQA5D.js";
7
- import "./chunk-ESJG46YM.js";
7
+ import "./chunk-XYT4PK7S.js";
8
8
  import "./chunk-COVJ6KFD.js";
9
9
  import "./chunk-OTCLPDCV.js";
10
10
  import "./chunk-AFQMD7AO.js";
@@ -12,17 +12,17 @@ import "./chunk-HKGCLAZ7.js";
12
12
  import "./chunk-6FDUCI2A.js";
13
13
  import "./chunk-WXTBAGAR.js";
14
14
  import "./chunk-OZNYQOQK.js";
15
- import "./chunk-OGOH3VWW.js";
16
- import "./chunk-BQRWKDLW.js";
15
+ import "./chunk-ZNA6WQDJ.js";
16
+ import "./chunk-QYXQ5VO4.js";
17
17
  import "./chunk-7NZOH4LN.js";
18
18
  import "./chunk-F7QYFJB2.js";
19
19
  import "./chunk-ZYK7V4PG.js";
20
20
  import "./chunk-EEFDZ4FS.js";
21
21
  import "./chunk-4YAIQN3S.js";
22
22
  import "./chunk-7KDF6H4R.js";
23
- import "./chunk-VVUYBY6D.js";
24
23
  import "./chunk-6KLKCT2Y.js";
25
- import "./chunk-XQNV6F74.js";
24
+ import "./chunk-VVUYBY6D.js";
25
+ import "./chunk-OT5TJO2U.js";
26
26
  import "./chunk-ORSRBZ2X.js";
27
27
  import "./chunk-3WN7B2HM.js";
28
28
  import "./chunk-YQAQAP4O.js";
@@ -38,10 +38,10 @@ import "./chunk-F4XCHVD7.js";
38
38
  import "./chunk-A7ONLVZD.js";
39
39
  import "./chunk-DISNKALJ.js";
40
40
  import "./chunk-X3ZC7AXI.js";
41
- import "./chunk-MLERFQMF.js";
42
- import "./chunk-EBS5KT26.js";
43
- import "./chunk-N2SLCM35.js";
44
- import "./chunk-PX5NZMZE.js";
41
+ import "./chunk-UYX3OYGX.js";
42
+ import "./chunk-RJE2QI4J.js";
43
+ import "./chunk-JKQSNQTI.js";
44
+ import "./chunk-2DCW5B2A.js";
45
45
  import "./chunk-6Z7XJJNZ.js";
46
46
  import "./chunk-TVYPHGC5.js";
47
47
  import "./chunk-2JYJEYRY.js";
@@ -5,12 +5,12 @@ import {
5
5
  starMarker,
6
6
  statusIcon,
7
7
  typeLabel
8
- } from "./chunk-XQNV6F74.js";
8
+ } from "./chunk-OT5TJO2U.js";
9
9
  import {
10
10
  originDisplayLabels
11
11
  } from "./chunk-ZSDCXYYA.js";
12
- import "./chunk-N2SLCM35.js";
13
- import "./chunk-PX5NZMZE.js";
12
+ import "./chunk-JKQSNQTI.js";
13
+ import "./chunk-2DCW5B2A.js";
14
14
  import "./chunk-6Z7XJJNZ.js";
15
15
  import {
16
16
  loadBacklog
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  next
3
- } from "./chunk-XYYJ4EDQ.js";
3
+ } from "./chunk-CUL7OE7O.js";
4
4
  import "./chunk-AODN5R7L.js";
5
5
  import "./chunk-B3JSQA5D.js";
6
- import "./chunk-ESJG46YM.js";
6
+ import "./chunk-XYT4PK7S.js";
7
7
  import "./chunk-COVJ6KFD.js";
8
8
  import "./chunk-OTCLPDCV.js";
9
9
  import "./chunk-AFQMD7AO.js";
@@ -11,17 +11,17 @@ import "./chunk-HKGCLAZ7.js";
11
11
  import "./chunk-6FDUCI2A.js";
12
12
  import "./chunk-WXTBAGAR.js";
13
13
  import "./chunk-OZNYQOQK.js";
14
- import "./chunk-OGOH3VWW.js";
15
- import "./chunk-BQRWKDLW.js";
14
+ import "./chunk-ZNA6WQDJ.js";
15
+ import "./chunk-QYXQ5VO4.js";
16
16
  import "./chunk-7NZOH4LN.js";
17
17
  import "./chunk-F7QYFJB2.js";
18
18
  import "./chunk-ZYK7V4PG.js";
19
19
  import "./chunk-EEFDZ4FS.js";
20
20
  import "./chunk-4YAIQN3S.js";
21
21
  import "./chunk-7KDF6H4R.js";
22
- import "./chunk-VVUYBY6D.js";
23
22
  import "./chunk-6KLKCT2Y.js";
24
- import "./chunk-XQNV6F74.js";
23
+ import "./chunk-VVUYBY6D.js";
24
+ import "./chunk-OT5TJO2U.js";
25
25
  import "./chunk-ORSRBZ2X.js";
26
26
  import "./chunk-3WN7B2HM.js";
27
27
  import "./chunk-YQAQAP4O.js";
@@ -36,10 +36,10 @@ import "./chunk-F4XCHVD7.js";
36
36
  import "./chunk-A7ONLVZD.js";
37
37
  import "./chunk-DISNKALJ.js";
38
38
  import "./chunk-X3ZC7AXI.js";
39
- import "./chunk-MLERFQMF.js";
40
- import "./chunk-EBS5KT26.js";
41
- import "./chunk-N2SLCM35.js";
42
- import "./chunk-PX5NZMZE.js";
39
+ import "./chunk-UYX3OYGX.js";
40
+ import "./chunk-RJE2QI4J.js";
41
+ import "./chunk-JKQSNQTI.js";
42
+ import "./chunk-2DCW5B2A.js";
43
43
  import "./chunk-6Z7XJJNZ.js";
44
44
  import "./chunk-TVYPHGC5.js";
45
45
  import "./chunk-2JYJEYRY.js";
@@ -2,12 +2,16 @@ import {
2
2
  closeRunPreviews
3
3
  } from "./chunk-AEDF2LCO.js";
4
4
  import {
5
- isAncestor,
6
- phaseGit
7
- } from "./chunk-VVUYBY6D.js";
5
+ landingTarget
6
+ } from "./chunk-67DONCGH.js";
7
+ import "./chunk-D6WBUFXT.js";
8
8
  import {
9
9
  markPhaseDone
10
10
  } from "./chunk-6KLKCT2Y.js";
11
+ import {
12
+ isAncestor,
13
+ phaseGit
14
+ } from "./chunk-VVUYBY6D.js";
11
15
  import "./chunk-YGQKTDZC.js";
12
16
  import "./chunk-A2XSU5K6.js";
13
17
  import "./chunk-5H7EHZ3J.js";
@@ -16,9 +20,9 @@ import {
16
20
  } from "./chunk-X3ZC7AXI.js";
17
21
  import {
18
22
  resolvePlan
19
- } from "./chunk-EBS5KT26.js";
20
- import "./chunk-N2SLCM35.js";
21
- import "./chunk-PX5NZMZE.js";
23
+ } from "./chunk-RJE2QI4J.js";
24
+ import "./chunk-JKQSNQTI.js";
25
+ import "./chunk-2DCW5B2A.js";
22
26
  import {
23
27
  landTree
24
28
  } from "./chunk-6Z7XJJNZ.js";
@@ -114,9 +118,10 @@ function unlandedPhaseError(phaseNumber) {
114
118
  if (!tree || parallelPhaseNumber() !== phaseNumber) return void 0;
115
119
  if (phaseGit(["status", "--porcelain"]).out)
116
120
  return "Phase not landed: commit your work, then run `assist backlog land` before phase-done.";
117
- const target = phaseGit(["rev-parse", "HEAD"], tree).out;
118
- if (target && isAncestor("HEAD", target)) return void 0;
119
- return "Phase not landed: run `assist backlog land` to rebase onto the item branch, verify and fast-forward it, then run phase-done again.";
121
+ const target = landingTarget(tree);
122
+ const tip = target.tip();
123
+ if (tip && isAncestor("HEAD", tip)) return void 0;
124
+ return `Phase not landed on ${target.label}: run \`assist backlog land\`, then run phase-done again.`;
120
125
  }
121
126
 
122
127
  // src/commands/backlog/phaseRun/refuseUnlanded.ts
@@ -3,7 +3,7 @@ import {
3
3
  replacePlan,
4
4
  startProposedRun,
5
5
  toStartApproval
6
- } from "./chunk-MPHPF3VF.js";
6
+ } from "./chunk-TRQ4XZIM.js";
7
7
  import "./chunk-YS3HSXSJ.js";
8
8
  import {
9
9
  renderMarkdownTerminal
@@ -34,7 +34,7 @@ import "./chunk-A7ONLVZD.js";
34
34
  import {
35
35
  createItemWithDefaults
36
36
  } from "./chunk-D2VCDC22.js";
37
- import "./chunk-PX5NZMZE.js";
37
+ import "./chunk-2DCW5B2A.js";
38
38
  import "./chunk-6Z7XJJNZ.js";
39
39
  import "./chunk-QNVYNVAM.js";
40
40
  import {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  refine
3
- } from "./chunk-KWPM2HNG.js";
4
- import "./chunk-RJERQDBE.js";
5
- import "./chunk-XYYJ4EDQ.js";
3
+ } from "./chunk-PZJWO4Z7.js";
4
+ import "./chunk-VDOAW6B6.js";
5
+ import "./chunk-CUL7OE7O.js";
6
6
  import "./chunk-AODN5R7L.js";
7
7
  import "./chunk-B3JSQA5D.js";
8
- import "./chunk-ESJG46YM.js";
8
+ import "./chunk-XYT4PK7S.js";
9
9
  import "./chunk-COVJ6KFD.js";
10
10
  import "./chunk-OTCLPDCV.js";
11
11
  import "./chunk-AFQMD7AO.js";
@@ -13,17 +13,17 @@ import "./chunk-HKGCLAZ7.js";
13
13
  import "./chunk-6FDUCI2A.js";
14
14
  import "./chunk-WXTBAGAR.js";
15
15
  import "./chunk-OZNYQOQK.js";
16
- import "./chunk-OGOH3VWW.js";
17
- import "./chunk-BQRWKDLW.js";
16
+ import "./chunk-ZNA6WQDJ.js";
17
+ import "./chunk-QYXQ5VO4.js";
18
18
  import "./chunk-7NZOH4LN.js";
19
19
  import "./chunk-F7QYFJB2.js";
20
20
  import "./chunk-ZYK7V4PG.js";
21
21
  import "./chunk-EEFDZ4FS.js";
22
22
  import "./chunk-4YAIQN3S.js";
23
23
  import "./chunk-7KDF6H4R.js";
24
- import "./chunk-VVUYBY6D.js";
25
24
  import "./chunk-6KLKCT2Y.js";
26
- import "./chunk-XQNV6F74.js";
25
+ import "./chunk-VVUYBY6D.js";
26
+ import "./chunk-OT5TJO2U.js";
27
27
  import "./chunk-ORSRBZ2X.js";
28
28
  import "./chunk-3WN7B2HM.js";
29
29
  import "./chunk-YQAQAP4O.js";
@@ -40,10 +40,10 @@ import "./chunk-F4XCHVD7.js";
40
40
  import "./chunk-A7ONLVZD.js";
41
41
  import "./chunk-DISNKALJ.js";
42
42
  import "./chunk-X3ZC7AXI.js";
43
- import "./chunk-MLERFQMF.js";
44
- import "./chunk-EBS5KT26.js";
45
- import "./chunk-N2SLCM35.js";
46
- import "./chunk-PX5NZMZE.js";
43
+ import "./chunk-UYX3OYGX.js";
44
+ import "./chunk-RJE2QI4J.js";
45
+ import "./chunk-JKQSNQTI.js";
46
+ import "./chunk-2DCW5B2A.js";
47
47
  import "./chunk-6Z7XJJNZ.js";
48
48
  import "./chunk-TVYPHGC5.js";
49
49
  import "./chunk-2JYJEYRY.js";
@@ -2,20 +2,20 @@ import {
2
2
  linkStatus,
3
3
  postToPeer,
4
4
  startPeerAction
5
- } from "./chunk-3YB3V3D2.js";
6
- import "./chunk-RQ6VJKY7.js";
5
+ } from "./chunk-5FJPKU7V.js";
6
+ import "./chunk-Z5F2RSM3.js";
7
7
  import "./chunk-4HKB2TAG.js";
8
- import "./chunk-74MTQGFQ.js";
8
+ import "./chunk-7K34MLSX.js";
9
9
  import "./chunk-VABNWHSE.js";
10
10
  import "./chunk-DS2YJZZY.js";
11
- import "./chunk-BRHQ2AY2.js";
11
+ import "./chunk-GTIF6ABE.js";
12
12
  import "./chunk-5BDVREVD.js";
13
13
  import "./chunk-SV6V52FL.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-XMQ3HCIH.js";
18
+ import "./chunk-WOAP6JRV.js";
19
19
  import "./chunk-EGHUOQR6.js";
20
20
  import "./chunk-HXYVAIAG.js";
21
21
  import "./chunk-GRXFWFGP.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  rewindItemToPhase
3
- } from "./chunk-BQET6EXK.js";
3
+ } from "./chunk-UA5GGKHC.js";
4
4
  import "./chunk-YGQKTDZC.js";
5
5
  import "./chunk-5H7EHZ3J.js";
6
6
  import "./chunk-X3ZC7AXI.js";
7
- import "./chunk-P5WTDOX6.js";
8
- import "./chunk-MLERFQMF.js";
9
- import "./chunk-EBS5KT26.js";
10
- import "./chunk-N2SLCM35.js";
11
- import "./chunk-PX5NZMZE.js";
7
+ import "./chunk-ILA3UXIH.js";
8
+ import "./chunk-UYX3OYGX.js";
9
+ import "./chunk-RJE2QI4J.js";
10
+ import "./chunk-JKQSNQTI.js";
11
+ import "./chunk-2DCW5B2A.js";
12
12
  import "./chunk-6Z7XJJNZ.js";
13
13
  import {
14
14
  findOneItem