@sealant/mend 0.32.1 → 0.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +74 -13
  2. package/dist/{chunk-J3TR4UAG.js → chunk-JJ66V76Y.js} +424 -92
  3. package/dist/{dashboard-3HNFSQZD.js → dashboard-OADX3PHI.js} +10 -1
  4. package/dist/main.js +611 -243
  5. package/man/mend-accounts.1 +1 -1
  6. package/man/mend-adopt.1 +1 -1
  7. package/man/mend-attach.1 +1 -1
  8. package/man/mend-codex.1 +1 -1
  9. package/man/mend-completions.1 +1 -1
  10. package/man/mend-connect.1 +1 -1
  11. package/man/mend-continue.1 +1 -1
  12. package/man/mend-doctor.1 +2 -2
  13. package/man/mend-dotfiles-repo.1 +1 -1
  14. package/man/mend-dotfiles-sync.1 +1 -1
  15. package/man/mend-dotfiles.1 +1 -1
  16. package/man/mend-env-cluster.1 +1 -1
  17. package/man/mend-env-load.1 +1 -1
  18. package/man/mend-env-show.1 +1 -1
  19. package/man/mend-folder-create.1 +1 -1
  20. package/man/mend-folder-list.1 +1 -1
  21. package/man/mend-folder-push.1 +1 -1
  22. package/man/mend-folder-rm.1 +1 -1
  23. package/man/mend-git-author.1 +1 -1
  24. package/man/mend-help.1 +1 -1
  25. package/man/mend-invite.1 +1 -1
  26. package/man/mend-keys-init.1 +1 -1
  27. package/man/mend-keys-mode.1 +1 -1
  28. package/man/mend-keys-share.1 +1 -1
  29. package/man/mend-keys-show.1 +1 -1
  30. package/man/mend-land.1 +1 -1
  31. package/man/mend-login.1 +1 -1
  32. package/man/mend-logout.1 +1 -1
  33. package/man/mend-man.1 +1 -1
  34. package/man/mend-members.1 +1 -1
  35. package/man/mend-operator-exposure.1 +1 -1
  36. package/man/mend-operator-gate.1 +1 -1
  37. package/man/mend-operator-grant-owner.1 +1 -1
  38. package/man/mend-operator-org-create.1 +1 -1
  39. package/man/mend-operator-org-invite-owner.1 +1 -1
  40. package/man/mend-operator-org-list.1 +1 -1
  41. package/man/mend-operator-org-rename.1 +1 -1
  42. package/man/mend-operator-reset-link.1 +1 -1
  43. package/man/mend-pair.1 +1 -1
  44. package/man/mend-projects.1 +1 -1
  45. package/man/mend-pull.1 +1 -1
  46. package/man/mend-refresh.1 +1 -1
  47. package/man/mend-rejoin.1 +1 -1
  48. package/man/mend-resume.1 +1 -1
  49. package/man/mend-run.1 +1 -1
  50. package/man/mend-server-logs.1 +1 -1
  51. package/man/mend-server-restart.1 +1 -1
  52. package/man/mend-server-setup.1 +1 -1
  53. package/man/mend-server-start.1 +1 -1
  54. package/man/mend-server-status.1 +1 -1
  55. package/man/mend-server-stop.1 +1 -1
  56. package/man/mend-server-upgrade.1 +1 -1
  57. package/man/mend-server.1 +1 -1
  58. package/man/mend-service-add.1 +1 -1
  59. package/man/mend-service-connect.1 +1 -1
  60. package/man/mend-service-init.1 +1 -1
  61. package/man/mend-service-list.1 +1 -1
  62. package/man/mend-service-logs.1 +1 -1
  63. package/man/mend-service-restart.1 +1 -1
  64. package/man/mend-service-run.1 +1 -1
  65. package/man/mend-service-stop.1 +1 -1
  66. package/man/mend-session-share.1 +1 -1
  67. package/man/mend-sessions.1 +1 -1
  68. package/man/mend-shell.1 +1 -1
  69. package/man/mend-skills-push.1 +1 -1
  70. package/man/mend-skills.1 +1 -1
  71. package/man/mend-snake.1 +1 -1
  72. package/man/mend-ssh-setup.1 +1 -1
  73. package/man/mend-ssh.1 +1 -1
  74. package/man/mend-stop.1 +1 -1
  75. package/man/mend-ui.1 +1 -1
  76. package/man/mend-uninstall.1 +1 -1
  77. package/man/mend-version.1 +1 -1
  78. package/man/mend-worktrees.1 +1 -1
  79. package/man/mend.1 +1 -1
  80. package/package.json +1 -1
@@ -4,6 +4,7 @@ import {
4
4
  RepositoryCloneUrl,
5
5
  agentIsLive,
6
6
  agentOutcome,
7
+ captureLineOf,
7
8
  createSseParser,
8
9
  cwdFacts,
9
10
  eventFamilies,
@@ -13,7 +14,7 @@ import {
13
14
  pendingId,
14
15
  repositoryCloneUrlIssue,
15
16
  servicesHoldLine
16
- } from "./chunk-J3TR4UAG.js";
17
+ } from "./chunk-JJ66V76Y.js";
17
18
 
18
19
  // src/dashboard.tsx
19
20
  import { CliRenderEvents, createCliRenderer } from "@opentui/core";
@@ -242,6 +243,7 @@ var liveProtocolOf = (processes) => processes.find((process2) => process2.kind =
242
243
  var planAttach = (session) => {
243
244
  if (session === null) return { kind: "none" };
244
245
  if (isPendingId(session.id)) return { kind: "pending", session };
246
+ if (session.status === "stopping") return { kind: "stopping", session };
245
247
  if (!LIVE_STATUSES.has(session.status)) return { kind: "settled", session };
246
248
  if (session.status === "starting") return { kind: "starting", session };
247
249
  return { kind: "attach", session };
@@ -285,6 +287,8 @@ var markServicesStopped = (data, sessionId) => {
285
287
  };
286
288
  var AGENT_WORKING = /* @__PURE__ */ new Set(["starting", "running", "waiting"]);
287
289
  var sessionHold = (item) => {
290
+ const capture = captureLineOf(item.session);
291
+ if (capture !== null) return capture;
288
292
  const agent = item.annotation?.currentAgent ?? null;
289
293
  const agentProcessLive = item.processes.some(
290
294
  (process2) => process2.kind !== "shell" && process2.exitedAt === null
@@ -3121,6 +3125,11 @@ ${tunneled}
3121
3125
  case "settled":
3122
3126
  say(`settled \xB7 ${sessionDisplayName(plan.session)} \u2014 r resumes it, \u21E7D removes it`);
3123
3127
  return;
3128
+ case "stopping":
3129
+ say(
3130
+ `stopping \xB7 ${sessionDisplayName(plan.session)} \xB7 ${captureLineOf(plan.session) ?? "saving"}`
3131
+ );
3132
+ return;
3124
3133
  case "pending":
3125
3134
  say("still provisioning \u2014 the row fills in when the workspace answers");
3126
3135
  return;