glimmervoid 0.48.4-next.374 → 0.48.4-next.376

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 (130) hide show
  1. package/dist/bin/glimmervoid.js +14 -14
  2. package/dist/chunks/{adapters-DIW_DqzO.js → adapters-BVLCw0n4.js} +7 -7
  3. package/dist/chunks/{adapters-CSK6gXyv.js → adapters-Dt7Vy7xi.js} +1 -1
  4. package/dist/chunks/{agent-api-cli-BJS9NzHM.js → agent-api-cli--mZMWzAf.js} +1 -1
  5. package/dist/chunks/{agent-api-cli-C5EAcLcV.js → agent-api-cli-CFOeTTMJ.js} +18 -5
  6. package/dist/chunks/{agent-api-core-I0VUtqYU.js → agent-api-core-CACOe94F.js} +3 -3
  7. package/dist/chunks/{agent-setup-cli-CgjdTtDl.js → agent-setup-cli-CwMoWSf9.js} +1 -1
  8. package/dist/chunks/{build-channel-K92w1xip.js → build-channel-Cfj9uuo5.js} +2 -2
  9. package/dist/chunks/{commit-sessions-T8B0plD9.js → commit-sessions-CrHwbj9O.js} +1 -1
  10. package/dist/chunks/{config-Dbjq0LnF.js → config-Ddt42Qmr.js} +1 -1
  11. package/dist/chunks/{config-store-OdyfXb2W.js → config-store-B4s0GHHR.js} +2 -2
  12. package/dist/chunks/config-store-CjE9d5xT.js +1 -0
  13. package/dist/chunks/{grok-Dnbs7V9T.js → grok-DMIdh-KA.js} +1 -1
  14. package/dist/chunks/{kimi-DGnMgNsj.js → kimi-DCOmFCxr.js} +2 -2
  15. package/dist/chunks/kimi-DEQcpJ4G.js +1 -0
  16. package/dist/chunks/{main-BTgxpzRg.js → main-DZU_G_aI.js} +97 -27
  17. package/dist/chunks/{pair-cli-BGbjIhc8.js → pair-cli-Bm3enFad.js} +2 -2
  18. package/dist/chunks/{pairings-store-BzA3p9oE.js → pairings-store-BQKjUb82.js} +1 -1
  19. package/dist/chunks/{session-CmkfJxzB.js → session-BS5QLRE8.js} +15 -2
  20. package/dist/chunks/{session-routes-CgqWd0bR.js → session-routes-CIrmVWAd.js} +1 -1
  21. package/dist/chunks/{settings-cli-B_Fl0uRl.js → settings-cli-BWnwPlCd.js} +5 -5
  22. package/dist/chunks/{settings-readout-core-Cc5zwF6w.js → settings-readout-core-BJkqCCUg.js} +2 -2
  23. package/dist/chunks/{shown-files-core-nS3KPkN_.js → shown-files-core-D2t71GI8.js} +136 -35
  24. package/dist/chunks/{spawn-env-CV-vkj60.js → spawn-env-DO22O2qW.js} +1 -1
  25. package/dist/chunks/{ssh-sign-cli-CV1VA1Rp.js → ssh-sign-cli-CnHuRa0p.js} +2 -2
  26. package/dist/chunks/{why-cli-C_AHDxKT.js → why-cli-DcAfu0BY.js} +2 -2
  27. package/dist/client/assets/{action-status-SSA4xM57.js → action-status-Bhz-cPG8.js} +1 -1
  28. package/dist/client/assets/action-status-Bhz-cPG8.js.br +0 -0
  29. package/dist/client/assets/{benchmark-panel-C-OXJRrA.js → benchmark-panel-CyYc2obb.js} +1 -1
  30. package/dist/client/assets/benchmark-panel-CyYc2obb.js.br +0 -0
  31. package/dist/client/assets/boards-view-C8DMJg8V.js +1 -0
  32. package/dist/client/assets/boards-view-C8DMJg8V.js.br +0 -0
  33. package/dist/client/assets/{boards-view-CLCP1zKL.css → boards-view-K94rwHMF.css} +1 -1
  34. package/dist/client/assets/boards-view-K94rwHMF.css.br +0 -0
  35. package/dist/client/assets/{card-registry-CLrAbqh5.js → card-registry-CVH4inc9.js} +1 -1
  36. package/dist/client/assets/card-registry-CVH4inc9.js.br +0 -0
  37. package/dist/client/assets/{community-panel-D4AA_Zns.js → community-panel-2PwrLBTY.js} +1 -1
  38. package/dist/client/assets/community-panel-2PwrLBTY.js.br +0 -0
  39. package/dist/client/assets/{control-ws-ByEqbpGM.js → control-ws-BmQVWzhh.js} +1 -1
  40. package/dist/client/assets/control-ws-BmQVWzhh.js.br +0 -0
  41. package/dist/client/assets/{dialogs-CkneZ7uI.js → dialogs-Cyo1QQqm.js} +2 -2
  42. package/dist/client/assets/dialogs-Cyo1QQqm.js.br +0 -0
  43. package/dist/client/assets/{doc-editor-ui-DWxRm4O0.js → doc-editor-ui-Bco9a9qb.js} +1 -1
  44. package/dist/client/assets/doc-editor-ui-Bco9a9qb.js.br +0 -0
  45. package/dist/client/assets/{feature-hint-DQ0b_hs0.js → feature-hint-D6JtKeKu.js} +1 -1
  46. package/dist/client/assets/feature-hint-D6JtKeKu.js.br +0 -0
  47. package/dist/client/assets/{first-run-checklist-BX6xdYS_.js → first-run-checklist-ByEMLzvM.js} +1 -1
  48. package/dist/client/assets/first-run-checklist-ByEMLzvM.js.br +0 -0
  49. package/dist/client/assets/{hooks-panel-C12PxpSE.js → hooks-panel-BjtvInII.js} +1 -1
  50. package/dist/client/assets/hooks-panel-BjtvInII.js.br +0 -0
  51. package/dist/client/assets/index-CeiDizg-.js +78 -0
  52. package/dist/client/assets/index-CeiDizg-.js.br +0 -0
  53. package/dist/client/assets/{issues-panel-BvjKIXB5.js → issues-panel-Blrq4JK0.js} +1 -1
  54. package/dist/client/assets/issues-panel-Blrq4JK0.js.br +0 -0
  55. package/dist/client/assets/{my-prs-panel-CUeDb48b.js → my-prs-panel-DfxlQytV.js} +1 -1
  56. package/dist/client/assets/my-prs-panel-DfxlQytV.js.br +0 -0
  57. package/dist/client/assets/{nyan-cat-B9bWjC-E.js → nyan-cat-NuXe36m0.js} +1 -1
  58. package/dist/client/assets/nyan-cat-NuXe36m0.js.br +0 -0
  59. package/dist/client/assets/phone-shell-CxKsXcX7.js +1 -0
  60. package/dist/client/assets/phone-shell-CxKsXcX7.js.br +0 -0
  61. package/dist/client/assets/{plan-face-mS3l9wy_.js → plan-face-DZQ0ubF_.js} +1 -1
  62. package/dist/client/assets/plan-face-DZQ0ubF_.js.br +0 -0
  63. package/dist/client/assets/{plan-render-6sWMbnSt.js → plan-render-BT27Mp4E.js} +1 -1
  64. package/dist/client/assets/plan-render-BT27Mp4E.js.br +0 -0
  65. package/dist/client/assets/{pr-queue-columns-BcEC1DsD.js → pr-queue-columns-tQ3nw5Cu.js} +1 -1
  66. package/dist/client/assets/pr-queue-columns-tQ3nw5Cu.js.br +0 -0
  67. package/dist/client/assets/{radar-panel-B9KgQdIN.js → radar-panel-5FQTgpxV.js} +1 -1
  68. package/dist/client/assets/radar-panel-5FQTgpxV.js.br +0 -0
  69. package/dist/client/assets/{repo-roots-adder-CYO3qVCJ.js → repo-roots-adder-B32MOvFd.js} +1 -1
  70. package/dist/client/assets/repo-roots-adder-B32MOvFd.js.br +0 -0
  71. package/dist/client/assets/{resume-dialog-CEjf4G4s.js → resume-dialog-CbSlWtew.js} +1 -1
  72. package/dist/client/assets/resume-dialog-CbSlWtew.js.br +0 -0
  73. package/dist/client/assets/{review-queue-panel-CJ1TXCwt.js → review-queue-panel-BoGgjNvs.js} +1 -1
  74. package/dist/client/assets/review-queue-panel-BoGgjNvs.js.br +0 -0
  75. package/dist/client/assets/{session-tick-D6kuntKS.js → session-tick-DXwC-gCa.js} +1 -1
  76. package/dist/client/assets/{settings-panel-Bk33t3uI.js → settings-panel-CAc9PXjG.js} +4 -4
  77. package/dist/client/assets/settings-panel-CAc9PXjG.js.br +0 -0
  78. package/dist/client/assets/{shown-lightbox-CRgREiGD.js → shown-lightbox-CH8JeTgP.js} +1 -1
  79. package/dist/client/assets/shown-lightbox-CH8JeTgP.js.br +0 -0
  80. package/dist/client/assets/{team-review-panel-BQX8iKpi.js → team-review-panel-DSRXOVmQ.js} +1 -1
  81. package/dist/client/assets/team-review-panel-DSRXOVmQ.js.br +0 -0
  82. package/dist/client/assets/{trace-panel-B_1sI5bQ.js → trace-panel-ChijVixN.js} +1 -1
  83. package/dist/client/assets/trace-panel-ChijVixN.js.br +0 -0
  84. package/dist/client/assets/updates-view-core-DKwEmHEc.js +1 -0
  85. package/dist/client/assets/updates-view-core-DKwEmHEc.js.br +0 -0
  86. package/dist/client/assets/{usage-panel-CwTzRXC-.js → usage-panel-BHtxLsON.js} +1 -1
  87. package/dist/client/assets/usage-panel-BHtxLsON.js.br +0 -0
  88. package/dist/client/assets/{your-day-tip-xiaEIrmf.js → your-day-tip-BYCBvFVB.js} +1 -1
  89. package/dist/client/assets/your-day-tip-BYCBvFVB.js.br +0 -0
  90. package/dist/client/index.html +6 -6
  91. package/dist/client/index.html.br +0 -0
  92. package/dist/server/index.js +1 -1
  93. package/package.json +1 -1
  94. package/dist/chunks/config-store-BIr4xVth.js +0 -1
  95. package/dist/chunks/kimi-GVihxAiR.js +0 -1
  96. package/dist/client/assets/action-status-SSA4xM57.js.br +0 -0
  97. package/dist/client/assets/benchmark-panel-C-OXJRrA.js.br +0 -0
  98. package/dist/client/assets/boards-view-BeEaY6C9.js +0 -1
  99. package/dist/client/assets/boards-view-BeEaY6C9.js.br +0 -0
  100. package/dist/client/assets/boards-view-CLCP1zKL.css.br +0 -0
  101. package/dist/client/assets/card-registry-CLrAbqh5.js.br +0 -0
  102. package/dist/client/assets/community-panel-D4AA_Zns.js.br +0 -0
  103. package/dist/client/assets/control-ws-ByEqbpGM.js.br +0 -0
  104. package/dist/client/assets/dialogs-CkneZ7uI.js.br +0 -0
  105. package/dist/client/assets/doc-editor-ui-DWxRm4O0.js.br +0 -0
  106. package/dist/client/assets/feature-hint-DQ0b_hs0.js.br +0 -0
  107. package/dist/client/assets/first-run-checklist-BX6xdYS_.js.br +0 -0
  108. package/dist/client/assets/hooks-panel-C12PxpSE.js.br +0 -0
  109. package/dist/client/assets/index-CUbWeDtv.js +0 -78
  110. package/dist/client/assets/index-CUbWeDtv.js.br +0 -0
  111. package/dist/client/assets/issues-panel-BvjKIXB5.js.br +0 -0
  112. package/dist/client/assets/my-prs-panel-CUeDb48b.js.br +0 -0
  113. package/dist/client/assets/nyan-cat-B9bWjC-E.js.br +0 -0
  114. package/dist/client/assets/phone-shell-D3ufCox8.js +0 -1
  115. package/dist/client/assets/phone-shell-D3ufCox8.js.br +0 -0
  116. package/dist/client/assets/plan-face-mS3l9wy_.js.br +0 -0
  117. package/dist/client/assets/plan-render-6sWMbnSt.js.br +0 -0
  118. package/dist/client/assets/pr-queue-columns-BcEC1DsD.js.br +0 -0
  119. package/dist/client/assets/radar-panel-B9KgQdIN.js.br +0 -0
  120. package/dist/client/assets/repo-roots-adder-CYO3qVCJ.js.br +0 -0
  121. package/dist/client/assets/resume-dialog-CEjf4G4s.js.br +0 -0
  122. package/dist/client/assets/review-queue-panel-CJ1TXCwt.js.br +0 -0
  123. package/dist/client/assets/settings-panel-Bk33t3uI.js.br +0 -0
  124. package/dist/client/assets/shown-lightbox-CRgREiGD.js.br +0 -0
  125. package/dist/client/assets/team-review-panel-BQX8iKpi.js.br +0 -0
  126. package/dist/client/assets/trace-panel-B_1sI5bQ.js.br +0 -0
  127. package/dist/client/assets/updates-view-core-Qkm1ZY4B.js +0 -1
  128. package/dist/client/assets/updates-view-core-Qkm1ZY4B.js.br +0 -0
  129. package/dist/client/assets/usage-panel-CwTzRXC-.js.br +0 -0
  130. package/dist/client/assets/your-day-tip-xiaEIrmf.js.br +0 -4
@@ -4,9 +4,9 @@ import { t as firstLine } from "../chunks/text-core-rXHoQWP9.js";
4
4
  import { i as errorText } from "../chunks/text-DoirglWV.js";
5
5
  import { a as packageRoot } from "../chunks/runtime-paths-D_ZjJLE0.js";
6
6
  import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DUWk0Lui.js";
7
- import { t as AGENT_API_VERBS } from "../chunks/session-CmkfJxzB.js";
7
+ import { t as AGENT_API_VERBS } from "../chunks/session-BS5QLRE8.js";
8
8
  import { a as execSync } from "../chunks/child-process-safe-BCOoKfxG.js";
9
- import { J as isOwnedCommandName, Y as parseCommand, q as OWNED_COMMAND_SPECS, r as agentCommandHelpLines } from "../chunks/agent-api-core-I0VUtqYU.js";
9
+ import { J as isOwnedCommandName, Y as parseCommand, q as OWNED_COMMAND_SPECS, r as agentCommandHelpLines } from "../chunks/agent-api-core-CACOe94F.js";
10
10
  import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
11
11
  import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-xS1GFU8P.js";
12
12
  import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
@@ -63,7 +63,7 @@ var OWNED_COMMAND_RUNNERS = {
63
63
  return await runDoctor() ? 0 : 1;
64
64
  },
65
65
  pair: async ({ values }) => {
66
- const { runPairCli } = await import("../chunks/pair-cli-BGbjIhc8.js");
66
+ const { runPairCli } = await import("../chunks/pair-cli-Bm3enFad.js");
67
67
  return runPairCli({
68
68
  isListing: values.list === true,
69
69
  revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
@@ -71,19 +71,19 @@ var OWNED_COMMAND_RUNNERS = {
71
71
  });
72
72
  },
73
73
  agent: async () => {
74
- const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-CgjdTtDl.js");
74
+ const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-CwMoWSf9.js");
75
75
  return runAgentSetupCli();
76
76
  },
77
77
  settings: async (parsed) => {
78
- const { runParsedSettingsCli } = await import("../chunks/settings-cli-B_Fl0uRl.js");
78
+ const { runParsedSettingsCli } = await import("../chunks/settings-cli-BWnwPlCd.js");
79
79
  return runParsedSettingsCli(parsed);
80
80
  },
81
81
  why: async ({ positionals }) => {
82
- const { runWhyCli } = await import("../chunks/why-cli-C_AHDxKT.js");
82
+ const { runWhyCli } = await import("../chunks/why-cli-DcAfu0BY.js");
83
83
  return runWhyCli({ targetArgument: positionals[0] ?? "" });
84
84
  },
85
85
  "ssh-sign": async ({ rawArgs }) => {
86
- const { runSshSignCli } = await import("../chunks/ssh-sign-cli-CV1VA1Rp.js");
86
+ const { runSshSignCli } = await import("../chunks/ssh-sign-cli-CnHuRa0p.js");
87
87
  return runSshSignCli(rawArgs);
88
88
  }
89
89
  };
@@ -105,7 +105,7 @@ async function runOwnedCommand(name, subcommandArgs) {
105
105
  return OWNED_COMMAND_RUNNERS[name](parsed);
106
106
  }
107
107
  var SUBCOMMAND_RUNNERS = new Map([...Object.keys(OWNED_COMMAND_SPECS).filter(isOwnedCommandName).map((name) => [name, (subcommandArgs) => runOwnedCommand(name, subcommandArgs)]), ...AGENT_API_VERBS.filter((verb) => !isOwnedCommandName(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
108
- const { runAgentApiCli } = await import("../chunks/agent-api-cli-BJS9NzHM.js");
108
+ const { runAgentApiCli } = await import("../chunks/agent-api-cli--mZMWzAf.js");
109
109
  return runAgentApiCli([subcommandName, ...subcommandArgs]);
110
110
  }])]);
111
111
  var AGENT_INSTALL_COMMAND_BY_ID = {
@@ -119,7 +119,7 @@ function missingAgentText(agentId) {
119
119
  }
120
120
  async function printSessionLimits() {
121
121
  if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
122
- const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-BJS9NzHM.js");
122
+ const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli--mZMWzAf.js");
123
123
  const limitsLines = await sessionLimitsHelpLines();
124
124
  console.log(`\n${limitsLines.join("\n")}`);
125
125
  }
@@ -176,7 +176,7 @@ async function readDeclaredCustomAgents() {
176
176
  declared: [],
177
177
  error: null
178
178
  };
179
- const { loadConfigFile } = await import("../chunks/config-store-BIr4xVth.js");
179
+ const { loadConfigFile } = await import("../chunks/config-store-CjE9d5xT.js");
180
180
  try {
181
181
  const loaded = loadConfigFile(decided.path, { exitOnError: false });
182
182
  if (!loaded.config) return {
@@ -252,7 +252,7 @@ async function runDoctor() {
252
252
  }
253
253
  switchSection("Agents");
254
254
  try {
255
- const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-CSK6gXyv.js");
255
+ const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-Dt7Vy7xi.js");
256
256
  const declaredCustomAgents = await readDeclaredCustomAgents();
257
257
  if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
258
258
  setCustomAgents(declaredCustomAgents.declared);
@@ -260,10 +260,10 @@ async function runDoctor() {
260
260
  const { label, path: resolvedPath } = describeAgentResolvability(id);
261
261
  line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
262
262
  }
263
- const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CgjdTtDl.js");
263
+ const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CwMoWSf9.js");
264
264
  const grokSetup = inspectGrokAgentSetup();
265
265
  line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
266
- const { default: kimi } = await import("../chunks/kimi-GVihxAiR.js");
266
+ const { default: kimi } = await import("../chunks/kimi-DEQcpJ4G.js");
267
267
  const { describeAgentHome } = await import("../chunks/agent-home-Bg2CwnwX.js");
268
268
  const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-CgoT45SE.js");
269
269
  line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
@@ -274,7 +274,7 @@ async function runDoctor() {
274
274
  try {
275
275
  const { resolvePackageBin } = await import("../chunks/runtime-paths-DUfaYypN.js");
276
276
  const { execFileSync } = await import("../chunks/child-process-safe-BKjzSEYd.js");
277
- const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CgjdTtDl.js");
277
+ const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CwMoWSf9.js");
278
278
  const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
279
279
  line("Sane YOLO", binPath || "not installed");
280
280
  if (binPath) line("cc-safety-net version", execFileSync(process.execPath, [binPath, "--version"], {
@@ -1,18 +1,18 @@
1
1
  import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
2
2
  import { o as relayPath, u as isPathInside } from "./runtime-paths-D_ZjJLE0.js";
3
- import { $t as shortSha$1, Zt as FULL_SHA_RE } from "./session-CmkfJxzB.js";
3
+ import { $t as shortSha$1, Zt as FULL_SHA_RE } from "./session-BS5QLRE8.js";
4
4
  import { c as spawn, i as execFileSync, r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
5
- import { S as InstallFlavor, c as SHELL_AGENT_ID, kt as UpdateChannel } from "./config-Dbjq0LnF.js";
6
- import { o as supervisionLine } from "./session-routes-CgqWd0bR.js";
5
+ import { S as InstallFlavor, c as SHELL_AGENT_ID, kt as UpdateChannel } from "./config-Ddt42Qmr.js";
6
+ import { o as supervisionLine } from "./session-routes-CIrmVWAd.js";
7
7
  import { a as rawTextOr, o as textOr, r as numberOr } from "./coerce-oz_Z_6E7.js";
8
8
  import { n as parseJsonRecord } from "./json-core-If8h-Qgy.js";
9
9
  import { i as saneYoloEnv, r as SANE_YOLO_PATH_ENV, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
10
- import { t as buildAgentEnv } from "./spawn-env-CV-vkj60.js";
10
+ import { t as buildAgentEnv } from "./spawn-env-DO22O2qW.js";
11
11
  import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
12
- import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-Dnbs7V9T.js";
12
+ import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-DMIdh-KA.js";
13
13
  import { O as nextBackoffMs } from "./json-file-AKRVPqG1.js";
14
- import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-K92w1xip.js";
15
- import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-DGnMgNsj.js";
14
+ import { n as isExperimentalBuild, t as compareReleaseVersions } from "./build-channel-Cfj9uuo5.js";
15
+ import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-DCOmFCxr.js";
16
16
  import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-DgW3orTE.js";
17
17
  import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-BzANIIVe.js";
18
18
  import fs from "node:fs";
@@ -1 +1 @@
1
- export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-DIW_DqzO.js";
1
+ export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-BVLCw0n4.js";
@@ -1 +1 @@
1
- export { t as askAgentApi, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-C5EAcLcV.js";
1
+ export { t as askAgentApi, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-CFOeTTMJ.js";
@@ -1,9 +1,9 @@
1
- import { X as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-CmkfJxzB.js";
2
- import { Y as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-I0VUtqYU.js";
3
- import { i as formatSessionLimits } from "./session-routes-CgqWd0bR.js";
1
+ import { X as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-BS5QLRE8.js";
2
+ import { Y as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-CACOe94F.js";
3
+ import { i as formatSessionLimits } from "./session-routes-CIrmVWAd.js";
4
4
  import { i as resolveHookTarget } from "./hook-relay-core-DA_bz2KA.js";
5
5
  import { t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
6
- import { c as layoutBoard, r as describeOverCap, s as escapeMarkup, u as planSteps } from "./shown-files-core-nS3KPkN_.js";
6
+ import { c as layoutBoard, r as describeOverCap, s as escapeMarkup, u as planSteps } from "./shown-files-core-D2t71GI8.js";
7
7
  import fs from "node:fs";
8
8
  import path from "node:path";
9
9
  import http from "node:http";
@@ -22,11 +22,14 @@ var UNIT_LABEL_HEIGHT = 18;
22
22
  var PLAN_TITLE = "Plan";
23
23
  var LINKED_BOARD_TEXT = "open linked board";
24
24
  var PORT_RADIUS = 5;
25
+ var BAND_LABEL_BASELINE = 17;
25
26
  var STANDALONE_STYLE = `
26
27
  svg { font-family: 'ComicMono', 'CommitMono', 'Cascadia Code', 'Menlo', monospace; }
27
28
  .wb-backdrop { fill: #0d0b16; }
28
29
  .wb-column-title { fill: #a79fc4; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
29
30
  .wb-column-rule { stroke: #4a4268; stroke-width: 1; stroke-dasharray: 2 5; }
31
+ .wb-band-rule { stroke: #2a2440; stroke-width: 1; }
32
+ .wb-band-label { font-size: 12px; font-weight: 700; }
30
33
  .wb-box-outline { fill: #15122a; stroke: #a79fc4; stroke-width: 1.6; }
31
34
  .wb-ghost { opacity: 0.6; }
32
35
  .wb-ghost .wb-box-outline { fill: transparent; stroke-dasharray: 7 5; }
@@ -108,7 +111,7 @@ function boxMarkup(box) {
108
111
  const x = box.x + BOX_TEXT_INSET + (line.muted ? MUTED_INDENT : 0);
109
112
  parts.push(text(line.text, x, bodyTop + index * BODY_LINE_HEIGHT, line.muted ? "wb-box-line wb-muted" : "wb-box-line"));
110
113
  });
111
- if (box.lane) {
114
+ if (box.lane && box.showsLanePill) {
112
115
  const pillY = box.y + box.height - 28;
113
116
  const pillWidth = Math.min(box.width - 24, 16 + box.lane.label.length * 8);
114
117
  parts.push(tag("rect", {
@@ -215,6 +218,16 @@ function chromeMarkup(layout) {
215
218
  class: "wb-wire-line"
216
219
  }));
217
220
  }
221
+ for (const band of layout.bands) {
222
+ parts.push(tag("line", {
223
+ x1: band.x,
224
+ y1: band.y,
225
+ x2: band.x + band.width,
226
+ y2: band.y,
227
+ class: "wb-band-rule"
228
+ }));
229
+ if (band.label) parts.push(text(band.label, band.x, band.y + BAND_LABEL_BASELINE, "wb-band-label", { style: `fill:${band.hex}` }));
230
+ }
218
231
  for (const column of layout.columns) {
219
232
  if (column.titleLines.length === 0) continue;
220
233
  column.titleLines.forEach((line, index) => {
@@ -1,6 +1,6 @@
1
- import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, Z as WhiteboardAgentRequest, a as AgentAnswerRequest, c as AgentEditRequest, d as AgentReadRequest, f as AgentReviewsRequest, g as AgentSpawnRequest, h as AgentSettingsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, p as AgentSendRequest, s as AgentCloseRequest, t as AGENT_API_VERBS, u as AgentPullRequestRequest } from "./session-CmkfJxzB.js";
2
- import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-Dbjq0LnF.js";
3
- import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-CgqWd0bR.js";
1
+ import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, Z as WhiteboardAgentRequest, a as AgentAnswerRequest, c as AgentEditRequest, d as AgentReadRequest, f as AgentReviewsRequest, g as AgentSpawnRequest, h as AgentSettingsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, p as AgentSendRequest, s as AgentCloseRequest, t as AGENT_API_VERBS, u as AgentPullRequestRequest } from "./session-BS5QLRE8.js";
2
+ import { D as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-Ddt42Qmr.js";
3
+ import { n as NO_OWN_WORKTREE_REASON, t as COMMAND_ROUTES } from "./session-routes-CIrmVWAd.js";
4
4
  import path from "node:path";
5
5
  import { parseArgs } from "node:util";
6
6
  import crypto from "node:crypto";
@@ -1,5 +1,5 @@
1
1
  import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
2
- import { a as classifyGrokHooksFile, o as renderGrokHooksFile, t as grok } from "./grok-Dnbs7V9T.js";
2
+ import { a as classifyGrokHooksFile, o as renderGrokHooksFile, t as grok } from "./grok-DMIdh-KA.js";
3
3
  import { p as writeTextAtomicSync } from "./json-file-AKRVPqG1.js";
4
4
  import fs from "node:fs";
5
5
  import path from "node:path";
@@ -1,5 +1,5 @@
1
- import "./session-CmkfJxzB.js";
2
- import { C as ONBOARDING_STEPS, E as OPERATOR_SURFACES, T as OPERATOR_ACTIONS_BY_SURFACE, b as DASHBOARD_VIEWS, j as HintFeature, n as BUILTIN_AGENT_IDS, w as ONBOARDING_STEP_STATES } from "./config-Dbjq0LnF.js";
1
+ import "./session-BS5QLRE8.js";
2
+ import { C as ONBOARDING_STEPS, E as OPERATOR_SURFACES, T as OPERATOR_ACTIONS_BY_SURFACE, b as DASHBOARD_VIEWS, j as HintFeature, n as BUILTIN_AGENT_IDS, w as ONBOARDING_STEP_STATES } from "./config-Ddt42Qmr.js";
3
3
  import { z } from "zod";
4
4
  //#region shared/contracts/telemetry.ts
5
5
  var TELEMETRY_ADAPTERS = Object.freeze([...BUILTIN_AGENT_IDS, "custom"]);
@@ -1,6 +1,6 @@
1
1
  import { r as errorMessage } from "./text-DoirglWV.js";
2
2
  import { r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
3
- import { Pt as TraceRecord } from "./config-Dbjq0LnF.js";
3
+ import { Pt as TraceRecord } from "./config-Ddt42Qmr.js";
4
4
  import { m as createKeyedSerialQueue, n as appendJsonLines } from "./json-file-AKRVPqG1.js";
5
5
  import fs from "node:fs";
6
6
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { $ as LinkedPr, B as UnseenOutcome, E as SESSION_DOC_PATH_MAX_CHARS, Et as GithubReviewDecision, F as ShownFile, M as SessionDoc, N as SessionSnapshot, P as SessionState, Rt as TeamReviewActionRequest, St as CommitSha, U as BoardSummary, Ut as TeamReviewStatus, V as Board, Y as WHITEBOARD_LIMITS, Yt as hasRequiredActionHead, an as GithubPollingRefreshResult, at as MyPrKeepMergeableResult, bt as pullRequestKeyFormat, ct as MyPrMergeRequest, dt as MyPrMergeWhenReadyRequest, en as GH_SEGMENT, et as MyPr, ft as MyPrMergeWhenReadyResult, in as GithubPollingRefreshRequest, it as MyPrKeepMergeableRequest, jt as ReviewChecksState, lt as MyPrMergeResult, nn as REPO_SLUG_RE, on as GithubPrsFreshness, pt as MyPrSearchNode, q as Op, rn as repoParts, sn as githubPollingShape, vt as MyPrsStatus, x as CoherenceHooksState, xt as repositoryName, yt as SessionPrLinks, z as TaskTitle, zt as TeamReviewActionResult } from "./session-CmkfJxzB.js";
1
+ import { $ as LinkedPr, B as UnseenOutcome, E as SESSION_DOC_PATH_MAX_CHARS, Et as GithubReviewDecision, F as ShownFile, M as SessionDoc, N as SessionSnapshot, P as SessionState, Rt as TeamReviewActionRequest, St as CommitSha, U as BoardSummary, Ut as TeamReviewStatus, V as Board, Y as WHITEBOARD_LIMITS, Yt as hasRequiredActionHead, an as GithubPollingRefreshResult, at as MyPrKeepMergeableResult, bt as pullRequestKeyFormat, ct as MyPrMergeRequest, dt as MyPrMergeWhenReadyRequest, en as GH_SEGMENT, et as MyPr, ft as MyPrMergeWhenReadyResult, in as GithubPollingRefreshRequest, it as MyPrKeepMergeableRequest, jt as ReviewChecksState, lt as MyPrMergeResult, nn as REPO_SLUG_RE, on as GithubPrsFreshness, pt as MyPrSearchNode, q as Op, rn as repoParts, sn as githubPollingShape, vt as MyPrsStatus, x as CoherenceHooksState, xt as repositoryName, yt as SessionPrLinks, z as TaskTitle, zt as TeamReviewActionResult } from "./session-BS5QLRE8.js";
2
2
  import { n as isRecord } from "./coerce-oz_Z_6E7.js";
3
3
  import path from "node:path";
4
4
  import { z } from "zod";
@@ -1,10 +1,10 @@
1
1
  import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
2
2
  import { a as packageRoot, l as equalsIgnoringCaseOnWindows } from "./runtime-paths-D_ZjJLE0.js";
3
3
  import { n as glimmervoidHomeDir$1, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
4
- import { $ as FLYING_ANIMALS_DEFAULTS, Ot as UPDATE_CHANNELS, Q as COMMUNITY_INTERVAL_MINUTES_RANGE, _t as USAGE_RETAIN_DAYS_RANGE, at as NON_NEGATIVE_NUMBER_RANGE, bt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, ct as POSTHOG_FIX_TIMEOUT_RANGE, d as BranchGcFileSettings, dt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, et as FLYING_ANIMALS_DURATION_RANGE, f as USAGE_COST_MODES, ft as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, gt as USAGE_INTEGER_RANGES, ht as USAGE_BUDGET_RANGE, i as Config, it as MEMORY_RESERVE_MB_RANGE, lt as POSTHOG_PROJECT_ID_RANGE, m as normalizeLegacyConfigNumbers, mt as TASK_TITLE_TIMEOUT_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_SCALE_RANGE, ot as PORT_RANGE, pt as REPLAY_BUFFER_KB_RANGE, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as POSITIVE_NUMBER_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as FLYING_ANIMALS_GAP_RANGE, u as configIssueMessage, ut as POSTHOG_TRAFFIC_BASELINE_RANGE, vt as USAGE_SCAN_INTERVAL_RANGE, yt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE } from "./config-Dbjq0LnF.js";
4
+ import { $ as FLYING_ANIMALS_DEFAULTS, Ot as UPDATE_CHANNELS, Q as COMMUNITY_INTERVAL_MINUTES_RANGE, _t as USAGE_RETAIN_DAYS_RANGE, at as NON_NEGATIVE_NUMBER_RANGE, bt as WORKFLOWS_MAX_CONCURRENT_SESSIONS_RANGE, ct as POSTHOG_FIX_TIMEOUT_RANGE, d as BranchGcFileSettings, dt as POSTHOG_TRAFFIC_MIN_USERS_RANGE, et as FLYING_ANIMALS_DURATION_RANGE, f as USAGE_COST_MODES, ft as POSTHOG_TRAFFIC_MULTIPLIER_RANGE, gt as USAGE_INTEGER_RANGES, ht as USAGE_BUDGET_RANGE, i as Config, it as MEMORY_RESERVE_MB_RANGE, lt as POSTHOG_PROJECT_ID_RANGE, m as normalizeLegacyConfigNumbers, mt as TASK_TITLE_TIMEOUT_RANGE, n as BUILTIN_AGENT_IDS, nt as FLYING_ANIMALS_SCALE_RANGE, ot as PORT_RANGE, pt as REPLAY_BUFFER_KB_RANGE, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, st as POSITIVE_NUMBER_RANGE, t as AGENT_ID_SHAPE_MESSAGE, tt as FLYING_ANIMALS_GAP_RANGE, u as configIssueMessage, ut as POSTHOG_TRAFFIC_BASELINE_RANGE, vt as USAGE_SCAN_INTERVAL_RANGE, yt as WORKFLOWS_MAX_ACTIONS_PER_POLL_RANGE } from "./config-Ddt42Qmr.js";
5
5
  import { n as isRecord } from "./coerce-oz_Z_6E7.js";
6
6
  import { d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync } from "./json-file-AKRVPqG1.js";
7
- import { f as FeatureFlagsResponse, g as TELEMETRY_KILL_SWITCH_FLAG, n as isExperimentalBuild, p as MAX_TEXT_LENGTH } from "./build-channel-K92w1xip.js";
7
+ import { f as FeatureFlagsResponse, g as TELEMETRY_KILL_SWITCH_FLAG, n as isExperimentalBuild, p as MAX_TEXT_LENGTH } from "./build-channel-Cfj9uuo5.js";
8
8
  import fs from "node:fs";
9
9
  import path from "node:path";
10
10
  import os from "node:os";
@@ -0,0 +1 @@
1
+ export { c as loadConfigFile } from "./config-store-B4s0GHHR.js";
@@ -1,7 +1,7 @@
1
1
  import { r as errorMessage } from "./text-DoirglWV.js";
2
2
  import { o as relayPath } from "./runtime-paths-D_ZjJLE0.js";
3
3
  import { n as isRecord } from "./coerce-oz_Z_6E7.js";
4
- import { t as buildAgentEnv } from "./spawn-env-CV-vkj60.js";
4
+ import { t as buildAgentEnv } from "./spawn-env-DO22O2qW.js";
5
5
  import { t as buildHookCommand } from "./hook-command-core-qTNK-xMF.js";
6
6
  import fs from "node:fs";
7
7
  import path from "node:path";
@@ -1,8 +1,8 @@
1
1
  import { o as relayPath } from "./runtime-paths-D_ZjJLE0.js";
2
- import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-CmkfJxzB.js";
2
+ import { i as ASK_USER_QUESTION_TOOL_NAME } from "./session-BS5QLRE8.js";
3
3
  import { i as execFileSync } from "./child-process-safe-BCOoKfxG.js";
4
4
  import { n as KIMI_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
5
- import { t as buildAgentEnv } from "./spawn-env-CV-vkj60.js";
5
+ import { t as buildAgentEnv } from "./spawn-env-DO22O2qW.js";
6
6
  import { l as KIMI_HOME_PROFILE, m as renderKimiHooksBlock } from "./agent-home-core-DgW3orTE.js";
7
7
  import { c as releaseAgentHome, i as holdPreparedAgentHome, o as prepareScratchAgentHome, s as realAgentHome } from "./agent-home-BzANIIVe.js";
8
8
  import fs from "node:fs";
@@ -0,0 +1 @@
1
+ export { t as default } from "./kimi-DCOmFCxr.js";
@@ -3,11 +3,11 @@ import { n as sanitizeOneLine, r as showHomeAsTilde, t as firstLine$1 } from "./
3
3
  import { a as isMissingFileError, r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
4
4
  import { a as packageRoot, c as caseFoldedPathKey, d as safePathSegment, f as sanitizeWorktreeName, i as clientDir, l as equalsIgnoringCaseOnWindows, n as bundled, o as relayPath, r as cliPath, s as resolvePackageBin, t as assetRoot, u as isPathInside } from "./runtime-paths-D_ZjJLE0.js";
5
5
  import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
6
- import { $ as LinkedPr, $t as shortSha, A as SIGN_URL_ENV, At as PrDetail, Bt as TeamReviewCompareFiles, Ct as DECIDING_REVIEW_STATES, D as SESSION_NAME_PATTERN, Dt as GithubReviewState, F as ShownFile, Ft as ReviewResult, G as Frame, Gt as TeamReviewThreadResult, H as BoardRecord, Ht as TeamReviewStateEntry, It as ReviewThreadId, J as Unit, Jt as decisionAsIfApprovalRequired, K as Note, Kt as TeamReviewThreadsRepository, L as SshSignRequest, Lt as ReviewVerdict, Mt as ReviewComment, Nt as ReviewDraft, O as SESSION_NAME_RULE_TEXT, Ot as PostedReviewEvent, Pt as ReviewFinding, Q as Wire, Qt as HEX_SHA_RE, Rt as TeamReviewActionRequest, S as ConversationQuestion, St as CommitSha, T as SESSION_DOC_BODY_CAP_BYTES, Tt as FindingSeverity, Ut as TeamReviewStatus, Vt as TeamReviewResolveResponse, W as Box, Wt as TeamReviewThreadCommentsResponse, Xt as hasStandingViewerApproval, Y as WHITEBOARD_LIMITS, _ as COHERENCE_HOOKS_INACTIVE, _t as MyPrsState, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, cn as BADGE_LABELS, ct as MyPrMergeRequest, dn as RESTARTABLE_STATES, dt as MyPrMergeWhenReadyRequest, en as GH_SEGMENT, et as MyPr, fn as STATES, gt as MyPrsSnapshot, ht as MyPrThreadsResponse, i as ASK_USER_QUESTION_TOOL_NAME, it as MyPrKeepMergeableRequest, j as SSH_SIGN_BODY_CAP_BYTES, k as SHOWN_FILE_CAP_BYTES, kt as PostingPlan, ln as KILLABLE_STATES, mt as MyPrThreadNode, nn as REPO_SLUG_RE, nt as MyPrCheckContext, ot as MyPrLaneEntry, qt as canApproveAfterComment, r as AGENT_URL_ENV, rn as repoParts, rt as MyPrCheckContextsResponse, st as MyPrMergeMethod, tn as NODE_ID_RE, tt as MyPrAutoRebase, un as MERGEABLE_LIVE_STATES, ut as MyPrMergeStateResponse, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, wt as EarlierReview, y as CONVERSATION_PERMISSION_HOOK_EVENT, z as TaskTitle } from "./session-CmkfJxzB.js";
6
+ import { $ as LinkedPr, $t as shortSha, A as SIGN_URL_ENV, At as PrDetail, Bt as TeamReviewCompareFiles, Ct as DECIDING_REVIEW_STATES, D as SESSION_NAME_PATTERN, Dt as GithubReviewState, F as ShownFile, Ft as ReviewResult, G as Frame, Gt as TeamReviewThreadResult, H as BoardRecord, Ht as TeamReviewStateEntry, It as ReviewThreadId, J as Unit, Jt as decisionAsIfApprovalRequired, K as Note, Kt as TeamReviewThreadsRepository, L as SshSignRequest, Lt as ReviewVerdict, Mt as ReviewComment, Nt as ReviewDraft, O as SESSION_NAME_RULE_TEXT, Ot as PostedReviewEvent, Pt as ReviewFinding, Q as Wire, Qt as HEX_SHA_RE, Rt as TeamReviewActionRequest, S as ConversationQuestion, St as CommitSha, T as SESSION_DOC_BODY_CAP_BYTES, Tt as FindingSeverity, Ut as TeamReviewStatus, Vt as TeamReviewResolveResponse, W as Box, Wt as TeamReviewThreadCommentsResponse, Xt as hasStandingViewerApproval, Y as WHITEBOARD_LIMITS, _ as COHERENCE_HOOKS_INACTIVE, _t as MyPrsState, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, cn as BADGE_LABELS, ct as MyPrMergeRequest, dn as RESTARTABLE_STATES, dt as MyPrMergeWhenReadyRequest, en as GH_SEGMENT, et as MyPr, fn as STATES, gt as MyPrsSnapshot, ht as MyPrThreadsResponse, i as ASK_USER_QUESTION_TOOL_NAME, it as MyPrKeepMergeableRequest, j as SSH_SIGN_BODY_CAP_BYTES, k as SHOWN_FILE_CAP_BYTES, kt as PostingPlan, ln as KILLABLE_STATES, mt as MyPrThreadNode, nn as REPO_SLUG_RE, nt as MyPrCheckContext, ot as MyPrLaneEntry, qt as canApproveAfterComment, r as AGENT_URL_ENV, rn as repoParts, rt as MyPrCheckContextsResponse, st as MyPrMergeMethod, tn as NODE_ID_RE, tt as MyPrAutoRebase, un as MERGEABLE_LIVE_STATES, ut as MyPrMergeStateResponse, v as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, wt as EarlierReview, y as CONVERSATION_PERMISSION_HOOK_EVENT, z as TaskTitle } from "./session-BS5QLRE8.js";
7
7
  import { c as spawn, i as execFileSync, n as execFile, r as execFileAsync, s as refuseLaunchesOf, t as assertLaunchable } from "./child-process-safe-BCOoKfxG.js";
8
- import { $t as IssuesStatus, A as HINT_VIEW_BY_FEATURE, At as UpdateJournal, B as MergedPrListing, Bt as PLAN_HOOK_OUTPUT_MAX_CHARS, Ct as CommunityItem, D as pullRequestKeyFromReference, Dt as SKILL_NAME_RE, Et as DISCORD_CHANNEL_NAME_RE, F as BenchmarkJudgement, Ft as CoherenceJournalOutput, G as GithubPrLightSearchNode, Gt as parseExitPlanModeHookPayload, H as PrCheckoutCaseInput, Ht as PLAN_TOOL_NAME, I as BenchmarkRun, It as ChangeMap, J as WorkflowCommentBody, Jt as GithubIssueResponse, K as GithubPrsFrame, Kt as planTitle, L as BenchmarkStatus, Lt as changeMapFactId, M as BenchmarkActionRequest, Mt as MAX_RAW_LINE_CHARS, N as BenchmarkCase, Nt as TraceCheckpoint, O as FeatureHintState, P as BenchmarkId, Pt as TraceRecord, Qt as IssuesState, R as BenchmarkSuite, Rt as PLAN_BODY_CAP_BYTES, St as CommunityDraft, Tt as CommunityVerdict, U as GithubPrDetailNode, Ut as PlanDecision, V as MinedPrReviewData, Vt as PLAN_RESULT_HOOK_EVENT, W as GithubPrKey, Wt as PlanRevision, X as WorkflowsSettings, Xt as IssueUpdate, Y as WorkflowLabelName, Yt as IssueKey, Z as WorkflowsState, Zt as IssuesSearchResponse, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, en as issuePullRequestStateFromGithub, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as SessionSetup, k as HINT_FEATURES, p as USAGE_VENDOR_KEYS, q as comparablePrKey, qt as GithubIssuePullRequestsRepository, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage, v as CONTROL_FRAME_MAX_BYTES, wt as CommunityState, x as GithubTeam, xt as CommunityActionRequest, y as ClientMessage, z as CommitComparison, zt as PLAN_HOOK_EVENT } from "./config-Dbjq0LnF.js";
9
- import { A as parseRefinedSessionName, B as resumePromptFor, C as decideTaskTitleRefinement, D as extractPromptTaskTitle, E as extractOscTaskTitle, F as AUTO_CONTINUE_PROMPT, G as isAutoNameOf, H as claudeProjectsDir, I as RESUME_ID_RE, K as nextSuggestedName, L as isConversationReplacedAtStartup, M as resolveRefocusTaskTitle, N as resolveTaskTitle, O as isSelfWakePrompt, P as seedTaskTitleSources, R as pickAutoResume, S as cleanTaskPrompt, T as extractHookTaskTitle, U as listRepoConversations, V as shouldAdoptReportedResumeId, W as listRepoWorktreePaths, _ as projectReviewDetail, a as checkAgentReply, b as buildTaskTitleRefinementPrompt, c as deriveChildSessionName, d as describePushLanding, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as parseRefinedTaskTitle, k as isSubstantivePrompt, l as describeChildEndNote, n as REFUSAL_REASON, o as decideAgentRequest, p as describeUnpushedCloseRefusal, s as decideSpawnAllowance, u as describeKeptChildAttention, v as projectReviews, w as extractAiTitle, x as chooseRefinedSessionName, y as buildPersistedTaskTitle, z as resolveResumeTarget } from "./agent-api-core-I0VUtqYU.js";
10
- import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-CgqWd0bR.js";
8
+ import { $t as IssuesStatus, A as HINT_VIEW_BY_FEATURE, At as UpdateJournal, B as MergedPrListing, Bt as PLAN_HOOK_OUTPUT_MAX_CHARS, Ct as CommunityItem, D as pullRequestKeyFromReference, Dt as SKILL_NAME_RE, Et as DISCORD_CHANNEL_NAME_RE, F as BenchmarkJudgement, Ft as CoherenceJournalOutput, G as GithubPrLightSearchNode, Gt as parseExitPlanModeHookPayload, H as PrCheckoutCaseInput, Ht as PLAN_TOOL_NAME, I as BenchmarkRun, It as ChangeMap, J as WorkflowCommentBody, Jt as GithubIssueResponse, K as GithubPrsFrame, Kt as planTitle, L as BenchmarkStatus, Lt as changeMapFactId, M as BenchmarkActionRequest, Mt as MAX_RAW_LINE_CHARS, N as BenchmarkCase, Nt as TraceCheckpoint, O as FeatureHintState, P as BenchmarkId, Pt as TraceRecord, Qt as IssuesState, R as BenchmarkSuite, Rt as PLAN_BODY_CAP_BYTES, St as CommunityDraft, Tt as CommunityVerdict, U as GithubPrDetailNode, Ut as PlanDecision, V as MinedPrReviewData, Vt as PLAN_RESULT_HOOK_EVENT, W as GithubPrKey, Wt as PlanRevision, X as WorkflowsSettings, Xt as IssueUpdate, Y as WorkflowLabelName, Yt as IssueKey, Z as WorkflowsState, Zt as IssuesSearchResponse, _ as CLIENT_LOG_TEXT_MAX_CHARS, a as ConfigUpdate, c as SHELL_AGENT_ID, en as issuePullRequestStateFromGithub, f as USAGE_COST_MODES, gt as USAGE_INTEGER_RANGES, h as CHANGES_POLL_INTERVAL_MS, jt as SessionSetup, k as HINT_FEATURES, p as USAGE_VENDOR_KEYS, q as comparablePrKey, qt as GithubIssuePullRequestsRepository, r as BrowserConfig, rt as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, s as RUNTIME_CONFIG_SCALAR_KEYS, u as configIssueMessage, v as CONTROL_FRAME_MAX_BYTES, wt as CommunityState, x as GithubTeam, xt as CommunityActionRequest, y as ClientMessage, z as CommitComparison, zt as PLAN_HOOK_EVENT } from "./config-Ddt42Qmr.js";
9
+ import { A as parseRefinedSessionName, B as resumePromptFor, C as decideTaskTitleRefinement, D as extractPromptTaskTitle, E as extractOscTaskTitle, F as AUTO_CONTINUE_PROMPT, G as isAutoNameOf, H as claudeProjectsDir, I as RESUME_ID_RE, K as nextSuggestedName, L as isConversationReplacedAtStartup, M as resolveRefocusTaskTitle, N as resolveTaskTitle, O as isSelfWakePrompt, P as seedTaskTitleSources, R as pickAutoResume, S as cleanTaskPrompt, T as extractHookTaskTitle, U as listRepoConversations, V as shouldAdoptReportedResumeId, W as listRepoWorktreePaths, _ as projectReviewDetail, a as checkAgentReply, b as buildTaskTitleRefinementPrompt, c as deriveChildSessionName, d as describePushLanding, f as describeRoleRefusal, g as projectMyPrs, h as parseAgentVerb, j as parseRefinedTaskTitle, k as isSubstantivePrompt, l as describeChildEndNote, n as REFUSAL_REASON, o as decideAgentRequest, p as describeUnpushedCloseRefusal, s as decideSpawnAllowance, u as describeKeptChildAttention, v as projectReviews, w as extractAiTitle, x as chooseRefinedSessionName, y as buildPersistedTaskTitle, z as resolveResumeTarget } from "./agent-api-core-CACOe94F.js";
10
+ import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-CIrmVWAd.js";
11
11
  import { a as rawTextOr, i as positiveNumberOr, n as isRecord$1, o as textOr, r as numberOr, t as coercedNumberOr } from "./coerce-oz_Z_6E7.js";
12
12
  import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-xS1GFU8P.js";
13
13
  import { t as HOOK_URL_ENV } from "./hook-relay-core-DA_bz2KA.js";
@@ -15,20 +15,20 @@ import { r as refocusReplyFor, t as promptContextReplyOf } from "./refocus-core-
15
15
  import { n as parseJsonRecord, t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
16
16
  import { a as saneYoloFiles } from "./sane-yolo-BjUkqIoH.js";
17
17
  import { r as knownWriteHookInput } from "./posthog-read-gate-core-CeSY56AB.js";
18
- import { a as readPageTitle, c as layoutBoard, d as unitsOf, i as filesAfterRetention, l as findDependencyCycle, n as decideShownKind, o as shownMimeForFilename, r as describeOverCap, s as escapeMarkup, t as SHOWN_SNIFF_BYTES } from "./shown-files-core-nS3KPkN_.js";
18
+ import { a as readPageTitle, c as layoutBoard, d as unitsOf, i as filesAfterRetention, l as findDependencyCycle, n as decideShownKind, o as shownMimeForFilename, r as describeOverCap, s as escapeMarkup, t as SHOWN_SNIFF_BYTES } from "./shown-files-core-D2t71GI8.js";
19
19
  import { n as shellQuote } from "./hook-command-core-qTNK-xMF.js";
20
20
  import { C as parseCgroupBytes, D as DEFAULT_MAX_MS, E as DEFAULT_BASE_MS, O as nextBackoffMs, S as memoryReserveBytes, T as parseMemAvailableBytes, _ as createSpawnGate, a as jsonStateLoadError, b as cgroupLimitBytes, c as loadedJsonValue, d as writeJsonAtomicSync, g as createSerialQueue, h as createMemoryAdmission, i as createJsonStateWriter, m as createKeyedSerialQueue, n as appendJsonLines, o as loadJsonStateFile, p as writeTextAtomicSync, r as createJsonStateStore, s as loadJsonStateFileSync, t as appendJsonLine, u as writeJsonAtomic, v as isQueueAdmissionTimeout, w as parseCgroupV2Path, x as headroomFromReadings, y as cgroupAncestorPaths } from "./json-file-AKRVPqG1.js";
21
- import { $ as stableConfigKey, B as buildPersonProperties, F as TELEMETRY_FLAGS_URL, G as decideRemoteTelemetryState, H as claudeAccountUuidOf, I as adapterBucket, J as nodeMajorVersion, K as decideTelemetryConsent, L as buildAiGenerationEvents, M as isExperimentalSetting, N as FIRST_RUN_NOTICE, P as TELEMETRY_BATCH_URL, R as buildBrowserExceptionProperties, U as codexUserIdOf, V as classifySessionExit, W as decideIsDevInstall, X as resolveProjectToken, Y as parsePosthogReleaseId, _ as settingsBlockSpecFor, a as ensureProjectIds, at as sessionIdFromBranch, ct as canonicalizePath, f as DEFAULT_TIMER_FNS, g as mergeSettingsBlock, i as createConfigStore, it as planWorktreeGc, k as valueAtPath, lt as comparableDirectoryPath, n as DEFAULT_CONFIG, nt as matchedPrefix, o as generateProjectId, ot as usablePrefixes, p as unrefTimer, q as exceptionFingerprint, rt as planBranchGc, s as glimmervoidHomeDir$1, st as worktreeIntegrationTips, t as ABORT_CONFIG_SAVE, tt as DEFAULT_BRANCH_GC_PREFIXES, ut as isSameDirectoryPath, v as validateSettingsBlock, y as SETTINGS_INDEX, z as buildExceptionProperties } from "./config-store-OdyfXb2W.js";
22
- import { _ as TelemetryState, a as DEEP_HISTORY_SCROLLBACK_LINES, c as describeDataAttach, d as DashboardTelemetryReport, h as TELEMETRY_EVENT_SCHEMAS, i as HookEnvelope, l as parseDataAttach, m as PendingCrashReport, r as HTTP_URL_RE, s as LOGGED_FAST_CLOSE_COUNTS, u as parseDataClientMessage } from "./build-channel-K92w1xip.js";
23
- import { i as resolveArgvCommandMatches } from "./kimi-DGnMgNsj.js";
24
- import { $ as grokHomes, A as decideUploadType, B as containmentRefusalReason, C as parseRegistryLatest, Ct as shouldReplace, D as openContainedFile, Dt as claudeCode, E as shortSha$1, Et as HOOK_TOOLS, F as planUploadRetention, G as codexFallbackRoots, H as planContiguousRead, I as MAX_TRANSCRIPT_READ_BYTES, J as codexSessionIdFromPath, K as codexHomes, L as TRACE_TAIL_SCAN_BYTES, M as framePathPaste, N as imageMimeForUploadFilename, O as MAX_UPLOAD_BYTES, P as isSafePathSegment, Q as expandTilde, R as committedOffsetFromTraceTailOrNull, S as parseRegistryDeprecation, St as parseUsageLine, T as pickNewestPublished, Tt as vendorUsageEntry, U as resumeOffsetFrom, V as isOversizedPartialLine, W as withCommittedOffset, X as decideFileRead, Y as continuationDelayMs, Z as dedupeCodexFiles, _ as decideInstallFlavor, _t as foldReplacementIntoGenerationRollup, a as describeAgentResolvability, at as scopedClaudeRoots, b as normalizeSha, bt as mergeGenerationRollups, c as isKnownAgentId, ct as shouldPersistWarehouse, d as resolveAdapter, dt as parseKimiUsageLine, et as isUsageFile, f as setCustomAgents, ft as addEntryToTotals, g as NODE_PTY_INSTALL_SCRIPT_FLAG, gt as foldEntryIntoGenerationRollup, h as requestCodexAppServer, ht as expandAdvisorIterations, i as customAgentFingerprint, it as resolveProjectsDirs, j as exceedsUploadCap, k as buildUploadFilename, l as listAgentIds, lt as splitLines, m as readHostCodexVersion, mt as emptyTotals, n as cachedAgentResolvability, nt as passOutcome, o as getAdapter, ot as sessionsRootCandidates, p as codex, pt as dedupKeys, q as codexRootCandidates, r as commandFor, rt as projectDirCandidates, s as hookProfileOf, st as shouldEvaluateDespiteIoFailures, t as DEFAULT_AGENT_ID$1, tt as kimiHomes, u as resetCommandCache, ut as kimiDedupIdentity, v as decideUpdateStatus, vt as identityFromRelPath, w as parseResolvedSha, wt as totalTokensOf$1, x as normalizeUpdateChannel, xt as parseJsonLine, y as isCheckFresh, yt as isWithinGenerationRecencyWindow, z as completeLineBytes } from "./adapters-DIW_DqzO.js";
21
+ import { $ as stableConfigKey, B as buildPersonProperties, F as TELEMETRY_FLAGS_URL, G as decideRemoteTelemetryState, H as claudeAccountUuidOf, I as adapterBucket, J as nodeMajorVersion, K as decideTelemetryConsent, L as buildAiGenerationEvents, M as isExperimentalSetting, N as FIRST_RUN_NOTICE, P as TELEMETRY_BATCH_URL, R as buildBrowserExceptionProperties, U as codexUserIdOf, V as classifySessionExit, W as decideIsDevInstall, X as resolveProjectToken, Y as parsePosthogReleaseId, _ as settingsBlockSpecFor, a as ensureProjectIds, at as sessionIdFromBranch, ct as canonicalizePath, f as DEFAULT_TIMER_FNS, g as mergeSettingsBlock, i as createConfigStore, it as planWorktreeGc, k as valueAtPath, lt as comparableDirectoryPath, n as DEFAULT_CONFIG, nt as matchedPrefix, o as generateProjectId, ot as usablePrefixes, p as unrefTimer, q as exceptionFingerprint, rt as planBranchGc, s as glimmervoidHomeDir$1, st as worktreeIntegrationTips, t as ABORT_CONFIG_SAVE, tt as DEFAULT_BRANCH_GC_PREFIXES, ut as isSameDirectoryPath, v as validateSettingsBlock, y as SETTINGS_INDEX, z as buildExceptionProperties } from "./config-store-B4s0GHHR.js";
22
+ import { _ as TelemetryState, a as DEEP_HISTORY_SCROLLBACK_LINES, c as describeDataAttach, d as DashboardTelemetryReport, h as TELEMETRY_EVENT_SCHEMAS, i as HookEnvelope, l as parseDataAttach, m as PendingCrashReport, r as HTTP_URL_RE, s as LOGGED_FAST_CLOSE_COUNTS, u as parseDataClientMessage } from "./build-channel-Cfj9uuo5.js";
23
+ import { i as resolveArgvCommandMatches } from "./kimi-DCOmFCxr.js";
24
+ import { $ as grokHomes, A as decideUploadType, B as containmentRefusalReason, C as parseRegistryLatest, Ct as shouldReplace, D as openContainedFile, Dt as claudeCode, E as shortSha$1, Et as HOOK_TOOLS, F as planUploadRetention, G as codexFallbackRoots, H as planContiguousRead, I as MAX_TRANSCRIPT_READ_BYTES, J as codexSessionIdFromPath, K as codexHomes, L as TRACE_TAIL_SCAN_BYTES, M as framePathPaste, N as imageMimeForUploadFilename, O as MAX_UPLOAD_BYTES, P as isSafePathSegment, Q as expandTilde, R as committedOffsetFromTraceTailOrNull, S as parseRegistryDeprecation, St as parseUsageLine, T as pickNewestPublished, Tt as vendorUsageEntry, U as resumeOffsetFrom, V as isOversizedPartialLine, W as withCommittedOffset, X as decideFileRead, Y as continuationDelayMs, Z as dedupeCodexFiles, _ as decideInstallFlavor, _t as foldReplacementIntoGenerationRollup, a as describeAgentResolvability, at as scopedClaudeRoots, b as normalizeSha, bt as mergeGenerationRollups, c as isKnownAgentId, ct as shouldPersistWarehouse, d as resolveAdapter, dt as parseKimiUsageLine, et as isUsageFile, f as setCustomAgents, ft as addEntryToTotals, g as NODE_PTY_INSTALL_SCRIPT_FLAG, gt as foldEntryIntoGenerationRollup, h as requestCodexAppServer, ht as expandAdvisorIterations, i as customAgentFingerprint, it as resolveProjectsDirs, j as exceedsUploadCap, k as buildUploadFilename, l as listAgentIds, lt as splitLines, m as readHostCodexVersion, mt as emptyTotals, n as cachedAgentResolvability, nt as passOutcome, o as getAdapter, ot as sessionsRootCandidates, p as codex, pt as dedupKeys, q as codexRootCandidates, r as commandFor, rt as projectDirCandidates, s as hookProfileOf, st as shouldEvaluateDespiteIoFailures, t as DEFAULT_AGENT_ID$1, tt as kimiHomes, u as resetCommandCache, ut as kimiDedupIdentity, v as decideUpdateStatus, vt as identityFromRelPath, w as parseResolvedSha, wt as totalTokensOf$1, x as normalizeUpdateChannel, xt as parseJsonLine, y as isCheckFresh, yt as isWithinGenerationRecencyWindow, z as completeLineBytes } from "./adapters-BVLCw0n4.js";
25
25
  import { c as CODEX_HOME_PROFILE, l as KIMI_HOME_PROFILE } from "./agent-home-core-DgW3orTE.js";
26
26
  import { d as releaseSessionLock, f as sessionIdOfLockFile, l as releaseUnheldAgentHomeSecrets, n as generatedAgentHomePath, p as trashSessionTempFolderOnceUnheld, s as realAgentHome, u as createHeldSessionTempFolder } from "./agent-home-BzANIIVe.js";
27
27
  import { a as formatSshPublicKey, c as orderAgentSockets, i as commitSigningShimText, l as parseSshPublicKey, n as NO_AGENT_HOLDS_KEY, o as isForwardedAgentDirName, r as agentListsKey, s as isSignableGitObject, t as COMMIT_SIGNING_SHIM_NAME } from "./ssh-signing-core-CRhVVWNW.js";
28
- import { a as defaultPairingsPath, c as decideDeviceAuth, i as createSeenStore, l as deviceNameFromUserAgent, n as configSiblingPath, o as defaultSeenPath, r as createPairingsStore, s as DEFAULT_DEVICE_MAX_AGE_MS, u as hashSecret } from "./pairings-store-BzA3p9oE.js";
29
- import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-Cc5zwF6w.js";
28
+ import { a as defaultPairingsPath, c as decideDeviceAuth, i as createSeenStore, l as deviceNameFromUserAgent, n as configSiblingPath, o as defaultSeenPath, r as createPairingsStore, s as DEFAULT_DEVICE_MAX_AGE_MS, u as hashSecret } from "./pairings-store-BQKjUb82.js";
29
+ import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-BJkqCCUg.js";
30
30
  import { n as normalizeRemoteConfig, r as validateRemoteConfig, t as decideBindHost } from "./remote-config-Dcejfz01.js";
31
- import { g as runGit, h as runGh, i as createCommitSessions, m as runCommand, p as gitCommandFailure, t as COMMIT_SESSIONS_FOLDER_NAME } from "./commit-sessions-T8B0plD9.js";
31
+ import { g as runGit, h as runGh, i as createCommitSessions, m as runCommand, p as gitCommandFailure, t as COMMIT_SESSIONS_FOLDER_NAME } from "./commit-sessions-CrHwbj9O.js";
32
32
  import { createRequire } from "node:module";
33
33
  import fs, { readFileSync } from "node:fs";
34
34
  import path, { join, resolve } from "node:path";
@@ -3911,10 +3911,26 @@ function checkReferences(board, element) {
3911
3911
  return OK;
3912
3912
  }
3913
3913
  function checkBoxReferences(board, box) {
3914
- if (!board.columns.some((column) => column.id === box.column)) return refuse(`box ${box.id} names column ${box.column}, which the board does not have, so add it with a columns op first`);
3914
+ if (box.column === null && box.near === null && box.at === null) return refuse(`box ${box.id} needs a place: a column, near another box, or at a point`);
3915
+ if (box.column !== null && !board.columns.some((column) => column.id === box.column)) return refuse(`box ${box.id} names column ${box.column}, which the board does not have, so add it with a columns op first`);
3915
3916
  if (box.lane !== null && !board.lanes.some((lane) => lane.id === box.lane)) return refuse(`box ${box.id} names lane ${box.lane}, which the board does not have, so add it with a lanes op first`);
3917
+ if (box.near === null) return OK;
3918
+ if (box.near.of === box.id) return refuse(`box ${box.id} cannot sit near itself`);
3919
+ if (!isBox(board, box.near.of)) return refuse(`box ${box.id} sits near ${box.near.of}, which is not a box`);
3920
+ if (nearChainReaches(board, box.near.of, box.id)) return refuse(`box ${box.id} sits near ${box.near.of}, which already sits near ${box.id}, so they would place each other`);
3916
3921
  return OK;
3917
3922
  }
3923
+ function nearChainReaches(board, startId, soughtId) {
3924
+ const visitedIds = /* @__PURE__ */ new Set();
3925
+ let currentId = startId;
3926
+ while (currentId !== void 0 && !visitedIds.has(currentId)) {
3927
+ if (currentId === soughtId) return true;
3928
+ visitedIds.add(currentId);
3929
+ const current = board.elements[currentId];
3930
+ currentId = current?.kind === "box" ? current.near?.of : void 0;
3931
+ }
3932
+ return false;
3933
+ }
3918
3934
  function checkUnitReferences(board, unit) {
3919
3935
  if (unit.after.includes(unit.id)) return refuse(`unit ${unit.id} cannot come after itself`);
3920
3936
  const strangerId = unit.after.find((id) => board.elements[id]?.kind !== "unit");
@@ -3961,6 +3977,7 @@ function setFields(board, id, fields, author) {
3961
3977
  function removeElement(board, id) {
3962
3978
  const existing = board.elements[id];
3963
3979
  if (!existing) return refuse(`no element has id ${id}`);
3980
+ if (existing.kind === "box") pinBoxesNear(board, id);
3964
3981
  delete board.elements[id];
3965
3982
  if (existing.kind === "unit") {
3966
3983
  for (const unit of unitsOf(board)) if (unit.after.includes(id)) board.elements[unit.id] = {
@@ -3973,6 +3990,23 @@ function removeElement(board, id) {
3973
3990
  for (const element of Object.values(board.elements)) removeDependent(board, element, id);
3974
3991
  return OK;
3975
3992
  }
3993
+ function pinBoxesNear(board, removedBoxId) {
3994
+ const nearBoxes = Object.values(board.elements).flatMap((element) => element.kind === "box" && element.near?.of === removedBoxId ? [element] : []);
3995
+ if (nearBoxes.length === 0) return;
3996
+ const layout = layoutBoard(board);
3997
+ for (const box of nearBoxes) {
3998
+ const laidOut = layout.elements.find((element) => element.id === box.id);
3999
+ if (!laidOut || laidOut.kind !== "box") continue;
4000
+ board.elements[box.id] = {
4001
+ ...box,
4002
+ near: null,
4003
+ at: {
4004
+ x: laidOut.x,
4005
+ y: laidOut.y - layout.pinnedOffsetY
4006
+ }
4007
+ };
4008
+ }
4009
+ }
3976
4010
  function removeDependent(board, element, removedBoxId) {
3977
4011
  if (element.kind === "wire" && (element.from === removedBoxId || element.to === removedBoxId)) {
3978
4012
  delete board.elements[element.id];
@@ -4002,11 +4036,21 @@ function resolveNote(board, id, author) {
4002
4036
  };
4003
4037
  return OK;
4004
4038
  }
4005
- function replaceColumns(board, columns) {
4039
+ function replaceColumns(board, columns, moveByColumnId) {
4006
4040
  const columnIds = new Set(columns.map((column) => column.id));
4007
4041
  if (columnIds.size !== columns.length) return refuse("column ids must be unique");
4008
- const strandedBox = Object.values(board.elements).find((element) => element.kind === "box" && !columnIds.has(element.column));
4009
- if (strandedBox) return refuse(`box ${strandedBox.id} is still in a removed column, so move or remove it first`);
4042
+ const strayTarget = Object.entries(moveByColumnId).find(([, targetId]) => !columnIds.has(targetId));
4043
+ if (strayTarget) return refuse(`move sends column ${strayTarget[0]} to ${strayTarget[1]}, which is not in the new columns`);
4044
+ const movedBoxes = Object.values(board.elements).flatMap((element) => {
4045
+ if (element.kind !== "box" || element.column === null) return [];
4046
+ return [{
4047
+ ...element,
4048
+ column: Object.hasOwn(moveByColumnId, element.column) ? moveByColumnId[element.column] ?? element.column : element.column
4049
+ }];
4050
+ });
4051
+ const strandedBox = movedBoxes.find((box) => box.column !== null && !columnIds.has(box.column));
4052
+ if (strandedBox) return refuse(`box ${strandedBox.id} is still in removed column ${strandedBox.column}, so name it in move or remove the box first`);
4053
+ for (const box of movedBoxes) board.elements[box.id] = box;
4010
4054
  board.columns = columns;
4011
4055
  return OK;
4012
4056
  }
@@ -4026,7 +4070,7 @@ function applyOne(board, op, author) {
4026
4070
  case "set": return setFields(board, op.id, op.fields, author);
4027
4071
  case "remove": return removeElement(board, op.id);
4028
4072
  case "resolve": return resolveNote(board, op.id, author);
4029
- case "columns": return replaceColumns(board, op.columns);
4073
+ case "columns": return replaceColumns(board, op.columns, op.move);
4030
4074
  case "lanes": return replaceLanes(board, op.lanes);
4031
4075
  case "board":
4032
4076
  if (op.title !== void 0) board.title = op.title;
@@ -4289,9 +4333,10 @@ var PUT_GUIDE = [
4289
4333
  "{\"op\":\"add\",\"element\":{\"kind\":\"box\",\"id\":\"parse\",\"title\":\"Parse\",\"column\":\"intake\",\"lane\":\"pr1\",\"lines\":[{\"text\":\"reads the feed\"},{\"text\":\"skips drafts\",\"muted\":true}]}},",
4290
4334
  "{\"op\":\"add\",\"element\":{\"kind\":\"wire\",\"id\":\"w1\",\"from\":\"parse\",\"to\":\"store\",\"dashed\":true,\"label\":\"on retry\"}},",
4291
4335
  "{\"op\":\"set\",\"id\":\"parse\",\"fields\":{\"title\":\"Parse feed\"}},{\"op\":\"remove\",\"id\":\"w1\"}]'.",
4292
- "Element kinds: box (title, column, lines, lane, ghost, order), wire (from, to, dashed, tone plain|fail|join|lane, label), frame (title, contains), note (on, text), unit (title, lines, after, linkedBoardId).",
4336
+ "Element kinds: box (title, column, lane, near, at, lines, ghost, order), wire (from, to, dashed, tone plain|fail|join|lane, label), frame (title, contains), note (on, text), unit (title, lines, after, linkedBoardId).",
4293
4337
  "Units lay out work in dependency order: glimmervoid whiteboard plan add|after|show edits and reads them.",
4294
- "Columns place boxes, so never send pixel positions. A put is applied whole or refused whole.",
4338
+ "Place a box by column and lane, which make a grid of columns and lane row bands; or near another box with near {\"of\":\"parse\",\"side\":\"right|left|top|bottom\",\"gap\":60}; or at {\"x\",\"y\"} pixels as a last resort.",
4339
+ "A columns op takes move {\"old-column\":\"new-column\"} to carry boxes when it drops or renames a column. A put is applied whole or refused whole.",
4295
4340
  "glimmervoid whiteboard get <board> returns the board and a one-line summary of each change others made since this session last read it;",
4296
4341
  "add --layout to see where every box, wire and label landed, or run glimmervoid whiteboard render <board> --out board.svg to draw it as the dashboard does."
4297
4342
  ].join(" ");
@@ -24042,18 +24087,40 @@ function createGitWorkspace(opts = {}) {
24042
24087
  };
24043
24088
  }
24044
24089
  async function pushBaseToOrigin(projectPath, branch) {
24045
- if (!await hasOriginRemote(projectPath)) return false;
24090
+ if (!await hasOriginRemote(projectPath)) return {
24091
+ pushed: false,
24092
+ warning: null
24093
+ };
24046
24094
  const classified = await classifyBaseAgainstOrigin(projectPath, branch);
24095
+ if (classified.state === "diverged") return {
24096
+ pushed: false,
24097
+ warning: `Merged into ${branch}, but origin/${branch} moved on, so it was not pushed. Resync ${branch} with origin/${branch} by hand.`
24098
+ };
24047
24099
  const command = buildResyncCommand(decideResyncAction(classified.state, false), {
24048
24100
  upstream: classified.upstream,
24049
24101
  branch,
24050
24102
  remote: "origin"
24051
24103
  });
24052
- if (!command) return false;
24053
- return (await run(command.args, projectPath, {
24104
+ if (!command) return {
24105
+ pushed: false,
24106
+ warning: null
24107
+ };
24108
+ const pushed = (await run(command.args, projectPath, {
24054
24109
  timeout: command.timeoutMs,
24055
24110
  env: { GIT_TERMINAL_PROMPT: "0" }
24056
24111
  })).ok;
24112
+ if (pushed) return {
24113
+ pushed,
24114
+ warning: null
24115
+ };
24116
+ return {
24117
+ pushed,
24118
+ warning: `Merged into ${branch}, but origin refused the push, so origin/${branch} does not have it yet. Resync the base branch to push it.`
24119
+ };
24120
+ }
24121
+ function joinWarnings(...warnings) {
24122
+ const presentWarnings = warnings.filter((warning) => !!warning);
24123
+ return presentWarnings.length > 0 ? presentWarnings.join(" ") : null;
24057
24124
  }
24058
24125
  function mergeSyncWarning(baseSync, branch) {
24059
24126
  if (baseSync.fetched === false) return `could not fetch origin/${branch}; merged with local base: ${baseSync.error}`;
@@ -24761,16 +24828,17 @@ function createGitWorkspace(opts = {}) {
24761
24828
  conflicts: r.conflicts || []
24762
24829
  }, warning);
24763
24830
  await tearDownWorktree(projectPath, wt, branch);
24831
+ const push = await pushBaseToOrigin(projectPath, target);
24764
24832
  return includeWarning({
24765
24833
  merged: true,
24766
24834
  committed: true,
24767
24835
  branch: null,
24768
24836
  base: target,
24769
24837
  reason: null,
24770
- pushed: await pushBaseToOrigin(projectPath, target),
24838
+ pushed: push.pushed,
24771
24839
  rerereReplayed: r.rerereReplayed === true,
24772
24840
  landedRange: r.landedRange ?? null
24773
- }, warning);
24841
+ }, joinWarnings(warning, push.warning));
24774
24842
  }
24775
24843
  async function mergeKeepBody({ projectPath, workspace, targetBranch }) {
24776
24844
  const g = await resolveMergeBack({
@@ -24813,19 +24881,21 @@ function createGitWorkspace(opts = {}) {
24813
24881
  parked: true,
24814
24882
  conflicts: r.conflicts || []
24815
24883
  }, warning);
24884
+ const baseSha = (await run(["rev-parse", target], projectPath)).out || workspace?.baseSha || null;
24885
+ const push = await pushBaseToOrigin(projectPath, target);
24816
24886
  return includeWarning({
24817
24887
  merged: true,
24818
24888
  committed: true,
24819
24889
  branch,
24820
24890
  base: target,
24821
- baseSha: (await run(["rev-parse", target], projectPath)).out || workspace?.baseSha || null,
24891
+ baseSha,
24822
24892
  kept: true,
24823
24893
  reason: null,
24824
- pushed: await pushBaseToOrigin(projectPath, target),
24894
+ pushed: push.pushed,
24825
24895
  restoreConflict: r.restoreConflict || false,
24826
24896
  rerereReplayed: r.rerereReplayed === true,
24827
24897
  landedRange: r.landedRange ?? null
24828
- }, warning);
24898
+ }, joinWarnings(warning, push.warning));
24829
24899
  }
24830
24900
  async function rebaseOnlyBody({ projectPath, workspace, targetBranch }) {
24831
24901
  const g = await resolveMergeBack({
@@ -1,6 +1,6 @@
1
1
  import { r as errorMessage } from "./text-DoirglWV.js";
2
- import { l as resolveConfigPath } from "./config-store-OdyfXb2W.js";
3
- import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store-BzA3p9oE.js";
2
+ import { l as resolveConfigPath } from "./config-store-B4s0GHHR.js";
3
+ import { a as defaultPairingsPath, i as createSeenStore, o as defaultSeenPath, r as createPairingsStore, t as REVOCATION_PROPAGATION_SECONDS } from "./pairings-store-BQKjUb82.js";
4
4
  import { n as normalizeRemoteConfig } from "./remote-config-Dcejfz01.js";
5
5
  import fs from "node:fs";
6
6
  //#region server/text-format.ts
@@ -2,7 +2,7 @@ import { n as errorLabel, r as errorMessage } from "./text-DoirglWV.js";
2
2
  import { l as equalsIgnoringCaseOnWindows } from "./runtime-paths-D_ZjJLE0.js";
3
3
  import { n as isRecord } from "./coerce-oz_Z_6E7.js";
4
4
  import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-AKRVPqG1.js";
5
- import { ct as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-OdyfXb2W.js";
5
+ import { ct as canonicalizePath, f as DEFAULT_TIMER_FNS, p as unrefTimer, s as glimmervoidHomeDir } from "./config-store-B4s0GHHR.js";
6
6
  import fs from "node:fs";
7
7
  import path from "node:path";
8
8
  import crypto from "node:crypto";