@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.
- package/README.md +74 -13
- package/dist/{chunk-J3TR4UAG.js → chunk-JJ66V76Y.js} +424 -92
- package/dist/{dashboard-3HNFSQZD.js → dashboard-OADX3PHI.js} +10 -1
- package/dist/main.js +611 -243
- package/man/mend-accounts.1 +1 -1
- package/man/mend-adopt.1 +1 -1
- package/man/mend-attach.1 +1 -1
- package/man/mend-codex.1 +1 -1
- package/man/mend-completions.1 +1 -1
- package/man/mend-connect.1 +1 -1
- package/man/mend-continue.1 +1 -1
- package/man/mend-doctor.1 +2 -2
- package/man/mend-dotfiles-repo.1 +1 -1
- package/man/mend-dotfiles-sync.1 +1 -1
- package/man/mend-dotfiles.1 +1 -1
- package/man/mend-env-cluster.1 +1 -1
- package/man/mend-env-load.1 +1 -1
- package/man/mend-env-show.1 +1 -1
- package/man/mend-folder-create.1 +1 -1
- package/man/mend-folder-list.1 +1 -1
- package/man/mend-folder-push.1 +1 -1
- package/man/mend-folder-rm.1 +1 -1
- package/man/mend-git-author.1 +1 -1
- package/man/mend-help.1 +1 -1
- package/man/mend-invite.1 +1 -1
- package/man/mend-keys-init.1 +1 -1
- package/man/mend-keys-mode.1 +1 -1
- package/man/mend-keys-share.1 +1 -1
- package/man/mend-keys-show.1 +1 -1
- package/man/mend-land.1 +1 -1
- package/man/mend-login.1 +1 -1
- package/man/mend-logout.1 +1 -1
- package/man/mend-man.1 +1 -1
- package/man/mend-members.1 +1 -1
- package/man/mend-operator-exposure.1 +1 -1
- package/man/mend-operator-gate.1 +1 -1
- package/man/mend-operator-grant-owner.1 +1 -1
- package/man/mend-operator-org-create.1 +1 -1
- package/man/mend-operator-org-invite-owner.1 +1 -1
- package/man/mend-operator-org-list.1 +1 -1
- package/man/mend-operator-org-rename.1 +1 -1
- package/man/mend-operator-reset-link.1 +1 -1
- package/man/mend-pair.1 +1 -1
- package/man/mend-projects.1 +1 -1
- package/man/mend-pull.1 +1 -1
- package/man/mend-refresh.1 +1 -1
- package/man/mend-rejoin.1 +1 -1
- package/man/mend-resume.1 +1 -1
- package/man/mend-run.1 +1 -1
- package/man/mend-server-logs.1 +1 -1
- package/man/mend-server-restart.1 +1 -1
- package/man/mend-server-setup.1 +1 -1
- package/man/mend-server-start.1 +1 -1
- package/man/mend-server-status.1 +1 -1
- package/man/mend-server-stop.1 +1 -1
- package/man/mend-server-upgrade.1 +1 -1
- package/man/mend-server.1 +1 -1
- package/man/mend-service-add.1 +1 -1
- package/man/mend-service-connect.1 +1 -1
- package/man/mend-service-init.1 +1 -1
- package/man/mend-service-list.1 +1 -1
- package/man/mend-service-logs.1 +1 -1
- package/man/mend-service-restart.1 +1 -1
- package/man/mend-service-run.1 +1 -1
- package/man/mend-service-stop.1 +1 -1
- package/man/mend-session-share.1 +1 -1
- package/man/mend-sessions.1 +1 -1
- package/man/mend-shell.1 +1 -1
- package/man/mend-skills-push.1 +1 -1
- package/man/mend-skills.1 +1 -1
- package/man/mend-snake.1 +1 -1
- package/man/mend-ssh-setup.1 +1 -1
- package/man/mend-ssh.1 +1 -1
- package/man/mend-stop.1 +1 -1
- package/man/mend-ui.1 +1 -1
- package/man/mend-uninstall.1 +1 -1
- package/man/mend-version.1 +1 -1
- package/man/mend-worktrees.1 +1 -1
- package/man/mend.1 +1 -1
- 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-
|
|
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;
|