@sealant/mend 0.36.0-next.771 → 0.36.0-next.773
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/dist/{dashboard-HLZJXTKG.js → dashboard-KZHIOJEX.js} +108 -9
- package/dist/main.js +7 -2
- 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-pi.1 +1 -1
- package/man/mend-connect.1 +1 -1
- package/man/mend-continue.1 +1 -1
- package/man/mend-doctor.1 +1 -1
- 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-logs.1 +1 -1
- package/man/mend-man.1 +1 -1
- package/man/mend-members.1 +1 -1
- package/man/mend-memory-import.1 +1 -1
- package/man/mend-memory-rm.1 +1 -1
- package/man/mend-memory-show.1 +1 -1
- package/man/mend-memory.1 +1 -1
- package/man/mend-models.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-secrets-add.1 +1 -1
- package/man/mend-secrets-rm.1 +1 -1
- package/man/mend-secrets.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-keys-remove.1 +1 -1
- package/man/mend-ssh-keys.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 +2 -2
- package/man/mend-uninstall.1 +1 -1
- package/man/mend-version.1 +1 -1
- package/man/mend-wait.1 +1 -1
- package/man/mend-workspace-replace.1 +1 -1
- package/man/mend-worktrees-rm.1 +1 -1
- package/man/mend-worktrees.1 +1 -1
- package/man/mend.1 +4 -1
- package/package.json +2 -2
|
@@ -337,6 +337,26 @@ var planAttach = (session) => {
|
|
|
337
337
|
if (session.status === "starting") return { kind: "starting", session };
|
|
338
338
|
return { kind: "attach", session };
|
|
339
339
|
};
|
|
340
|
+
var findWorkbenchSession = (data, id) => {
|
|
341
|
+
for (const detail of data.details.values()) {
|
|
342
|
+
const found = detail.sessions.find((session) => session.id === id);
|
|
343
|
+
if (found !== void 0) return found;
|
|
344
|
+
}
|
|
345
|
+
return null;
|
|
346
|
+
};
|
|
347
|
+
var startProgress = (data, watch) => {
|
|
348
|
+
if (watch.sessionId === null) return { kind: "starting" };
|
|
349
|
+
const plan = planAttach(findWorkbenchSession(data, watch.sessionId));
|
|
350
|
+
switch (plan.kind) {
|
|
351
|
+
case "attach":
|
|
352
|
+
return { kind: "ready", session: plan.session };
|
|
353
|
+
case "settled":
|
|
354
|
+
case "stopping":
|
|
355
|
+
return { kind: "ended", session: plan.session };
|
|
356
|
+
default:
|
|
357
|
+
return { kind: "starting" };
|
|
358
|
+
}
|
|
359
|
+
};
|
|
340
360
|
var planResume = (session) => {
|
|
341
361
|
if (session === null) return { kind: "none" };
|
|
342
362
|
if (isPendingId(session.id)) return { kind: "pending", session };
|
|
@@ -3027,7 +3047,8 @@ var startedOrStarting = async (start, starting) => {
|
|
|
3027
3047
|
throw error;
|
|
3028
3048
|
}
|
|
3029
3049
|
};
|
|
3030
|
-
var
|
|
3050
|
+
var stillStartingLine = (session, verb, awaited) => session.status !== "starting" ? null : `still ${verb} \xB7 ${sessionDisplayName(session)} \xB7 ${awaited ? "attaches once it runs" : "a attaches once the row reads running"}`;
|
|
3051
|
+
var HANDOVER_MS = 600;
|
|
3031
3052
|
var keepSpanVisible = (scroll, top, height, viewRows) => {
|
|
3032
3053
|
if (scroll === null || viewRows <= 0) return;
|
|
3033
3054
|
const viewH = Math.max(1, viewRows);
|
|
@@ -3095,6 +3116,9 @@ var App = ({
|
|
|
3095
3116
|
const adoptOfferDecided = useRef2(false);
|
|
3096
3117
|
const [reviewing, setReviewing] = useState3(null);
|
|
3097
3118
|
const lockRef = useRef2(false);
|
|
3119
|
+
const startsRef = useRef2([]);
|
|
3120
|
+
const awaitedRef = useRef2(null);
|
|
3121
|
+
const autoAttach = ctx.autoAttach !== false;
|
|
3098
3122
|
const [snakeFocus, setSnakeFocus] = useState3(null);
|
|
3099
3123
|
const [snakeOverlay, setSnakeOverlay] = useState3(ctx.openSnake === true);
|
|
3100
3124
|
const [gate] = useState3(createLaunchGate);
|
|
@@ -3277,6 +3301,7 @@ var App = ({
|
|
|
3277
3301
|
const attachFlow = async (session) => {
|
|
3278
3302
|
const short = session.id.slice(0, 8);
|
|
3279
3303
|
lockRef.current = true;
|
|
3304
|
+
awaitedRef.current = null;
|
|
3280
3305
|
renderer.suspend();
|
|
3281
3306
|
const tunneled = openTunnels.filter((tunnel) => tunnel.service.sessionId === session.id).map((tunnel) => `\u25CF ${tunnel.line} \xB7 tunnel
|
|
3282
3307
|
`).join("");
|
|
@@ -3330,6 +3355,50 @@ ${tunneled}
|
|
|
3330
3355
|
);
|
|
3331
3356
|
refetch();
|
|
3332
3357
|
};
|
|
3358
|
+
const watchStart = (id, verb) => {
|
|
3359
|
+
startsRef.current = [...startsRef.current, { id, verb, sessionId: null }];
|
|
3360
|
+
awaitedRef.current = id;
|
|
3361
|
+
};
|
|
3362
|
+
const answerStart = (id, sessionId) => {
|
|
3363
|
+
startsRef.current = startsRef.current.map(
|
|
3364
|
+
(watch) => watch.id === id ? { ...watch, sessionId } : watch
|
|
3365
|
+
);
|
|
3366
|
+
};
|
|
3367
|
+
const dropStart = (id) => {
|
|
3368
|
+
startsRef.current = startsRef.current.filter((watch) => watch.id !== id);
|
|
3369
|
+
if (awaitedRef.current === id) awaitedRef.current = null;
|
|
3370
|
+
};
|
|
3371
|
+
const stopAwaiting = () => {
|
|
3372
|
+
awaitedRef.current = null;
|
|
3373
|
+
};
|
|
3374
|
+
const handOver = (session) => {
|
|
3375
|
+
lockRef.current = true;
|
|
3376
|
+
const played = snake.play.clock.kind !== "ready" || snake.play.game.score > 0;
|
|
3377
|
+
setSnakeFocus(null);
|
|
3378
|
+
say(
|
|
3379
|
+
`ready \xB7 ${sessionDisplayName(session)} \xB7 attaching${played ? ` \xB7 snake score ${snake.play.game.score}` : ""}`
|
|
3380
|
+
);
|
|
3381
|
+
setTimeout(() => void attachFlow(session), HANDOVER_MS);
|
|
3382
|
+
};
|
|
3383
|
+
useEffect3(() => {
|
|
3384
|
+
if (data === void 0 || startsRef.current.length === 0) return;
|
|
3385
|
+
let attach = null;
|
|
3386
|
+
for (const watch of startsRef.current) {
|
|
3387
|
+
const progress = startProgress(data, watch);
|
|
3388
|
+
if (progress.kind === "starting") continue;
|
|
3389
|
+
const awaited = awaitedRef.current === watch.id;
|
|
3390
|
+
dropStart(watch.id);
|
|
3391
|
+
const name = sessionDisplayName(progress.session);
|
|
3392
|
+
if (progress.kind === "ended") {
|
|
3393
|
+
say(`${progress.session.status} \xB7 ${name} \xB7 it did not reach running`);
|
|
3394
|
+
} else if (awaited && autoAttach && !dialogOpen && !lockRef.current && selectedSession?.id === progress.session.id) {
|
|
3395
|
+
attach = progress.session;
|
|
3396
|
+
} else {
|
|
3397
|
+
say(`${watch.verb} \xB7 ${name} \xB7 a attaches`);
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
if (attach !== null) handOver(attach);
|
|
3401
|
+
}, [data]);
|
|
3333
3402
|
const settleRefetch = () => {
|
|
3334
3403
|
if (queryClient.isMutating() === 1) refetch();
|
|
3335
3404
|
};
|
|
@@ -3376,12 +3445,19 @@ ${tunneled}
|
|
|
3376
3445
|
setBusyStarted(Date.now());
|
|
3377
3446
|
},
|
|
3378
3447
|
onError: (error, vars) => {
|
|
3448
|
+
dropStart(vars.pendingKey);
|
|
3379
3449
|
patchWorkbench((current) => removeSession(current, vars.projectId, vars.pendingKey));
|
|
3380
3450
|
setSnakeFocus((current) => current?.start === vars.gateKey ? null : current);
|
|
3381
3451
|
setBusy(null);
|
|
3382
3452
|
say(errorText(error));
|
|
3383
3453
|
},
|
|
3384
3454
|
onSuccess: (session, vars) => {
|
|
3455
|
+
const line = stillStartingLine(
|
|
3456
|
+
session,
|
|
3457
|
+
"starting",
|
|
3458
|
+
autoAttach && awaitedRef.current === vars.pendingKey
|
|
3459
|
+
);
|
|
3460
|
+
answerStart(vars.pendingKey, session.id);
|
|
3385
3461
|
patchWorkbench(
|
|
3386
3462
|
(current) => replaceSession(current, vars.projectId, vars.pendingKey, session)
|
|
3387
3463
|
);
|
|
@@ -3390,7 +3466,7 @@ ${tunneled}
|
|
|
3390
3466
|
);
|
|
3391
3467
|
setSessionKey((current) => current === vars.pendingKey ? session.id : current);
|
|
3392
3468
|
setBusy(null);
|
|
3393
|
-
say(
|
|
3469
|
+
if (line !== null) say(line);
|
|
3394
3470
|
},
|
|
3395
3471
|
onSettled: (_data, _error, vars) => {
|
|
3396
3472
|
gate.release(vars.gateKey);
|
|
@@ -3419,19 +3495,24 @@ ${tunneled}
|
|
|
3419
3495
|
setBusyStarted(Date.now());
|
|
3420
3496
|
},
|
|
3421
3497
|
onError: (error, vars) => {
|
|
3498
|
+
dropStart(vars.watch);
|
|
3422
3499
|
setSnakeFocus((current) => current?.start === vars.gateKey ? null : current);
|
|
3423
3500
|
setBusy(null);
|
|
3424
3501
|
say(errorText(error));
|
|
3425
3502
|
refetch();
|
|
3426
3503
|
},
|
|
3427
3504
|
onSuccess: (resumed, vars) => {
|
|
3505
|
+
const line = stillStartingLine(
|
|
3506
|
+
resumed,
|
|
3507
|
+
"resuming",
|
|
3508
|
+
autoAttach && awaitedRef.current === vars.watch
|
|
3509
|
+
);
|
|
3510
|
+
answerStart(vars.watch, resumed.id);
|
|
3428
3511
|
patchWorkbench(
|
|
3429
3512
|
(current) => replaceSession(current, vars.projectId, vars.session.id, resumed)
|
|
3430
3513
|
);
|
|
3431
3514
|
setBusy(null);
|
|
3432
|
-
say(
|
|
3433
|
-
resumed.status === "starting" ? `still resuming \xB7 ${sessionDisplayName(resumed)} \xB7 a attaches once the row reads running` : `resumed \xB7 ${sessionDisplayName(resumed)} \xB7 a attaches`
|
|
3434
|
-
);
|
|
3515
|
+
if (line !== null) say(line);
|
|
3435
3516
|
},
|
|
3436
3517
|
onSettled: (_data, _error, vars) => {
|
|
3437
3518
|
gate.release(vars.gateKey);
|
|
@@ -3571,18 +3652,25 @@ ${tunneled}
|
|
|
3571
3652
|
setBusyStarted(Date.now());
|
|
3572
3653
|
},
|
|
3573
3654
|
onError: (error, vars) => {
|
|
3655
|
+
dropStart(vars.pendingKey);
|
|
3574
3656
|
patchWorkbench((current) => removeSession(current, vars.projectId, vars.pendingKey));
|
|
3575
3657
|
setSnakeFocus((current) => current?.start === vars.gateKey ? null : current);
|
|
3576
3658
|
setBusy(null);
|
|
3577
3659
|
say(errorText(error));
|
|
3578
3660
|
},
|
|
3579
3661
|
onSuccess: (session, vars) => {
|
|
3662
|
+
const line = stillStartingLine(
|
|
3663
|
+
session,
|
|
3664
|
+
"starting",
|
|
3665
|
+
autoAttach && awaitedRef.current === vars.pendingKey
|
|
3666
|
+
);
|
|
3667
|
+
answerStart(vars.pendingKey, session.id);
|
|
3580
3668
|
patchWorkbench(
|
|
3581
3669
|
(current) => replaceSession(current, vars.projectId, vars.pendingKey, session)
|
|
3582
3670
|
);
|
|
3583
3671
|
setSessionKey((current) => current === vars.pendingKey ? session.id : current);
|
|
3584
3672
|
setBusy(null);
|
|
3585
|
-
say(
|
|
3673
|
+
if (line !== null) say(line);
|
|
3586
3674
|
},
|
|
3587
3675
|
onSettled: (_data, _error, vars) => {
|
|
3588
3676
|
gate.release(vars.gateKey);
|
|
@@ -3801,12 +3889,14 @@ ${tunneled}
|
|
|
3801
3889
|
setCreating(null);
|
|
3802
3890
|
setSnakeFocus({ returnTo: focus, start: gateKey });
|
|
3803
3891
|
setFocus("sessions");
|
|
3892
|
+
const pendingKey = pendingId();
|
|
3893
|
+
watchStart(pendingKey, "started");
|
|
3804
3894
|
launchMutation.mutate({
|
|
3805
3895
|
projectId: current.projectId,
|
|
3806
3896
|
harness: choice.harness,
|
|
3807
3897
|
name: current.name === "" ? null : current.name,
|
|
3808
3898
|
base: current.base,
|
|
3809
|
-
pendingKey
|
|
3899
|
+
pendingKey,
|
|
3810
3900
|
gateKey
|
|
3811
3901
|
});
|
|
3812
3902
|
};
|
|
@@ -3875,7 +3965,9 @@ ${tunneled}
|
|
|
3875
3965
|
}
|
|
3876
3966
|
setSnakeFocus({ returnTo: focus, start: gateKey });
|
|
3877
3967
|
setFocus("sessions");
|
|
3878
|
-
|
|
3968
|
+
const watch = pendingId();
|
|
3969
|
+
watchStart(watch, "resumed");
|
|
3970
|
+
resumeMutation.mutate({ projectId, session, harness, gateKey, watch });
|
|
3879
3971
|
};
|
|
3880
3972
|
const newSession = () => {
|
|
3881
3973
|
const projectId = selectedProject?.project.id;
|
|
@@ -3907,11 +3999,13 @@ ${tunneled}
|
|
|
3907
3999
|
}
|
|
3908
4000
|
setSnakeFocus({ returnTo: focus, start: gateKey });
|
|
3909
4001
|
setFocus("sessions");
|
|
4002
|
+
const pendingKey = pendingId();
|
|
4003
|
+
watchStart(pendingKey, "started");
|
|
3910
4004
|
launchInWorktreeMutation.mutate({
|
|
3911
4005
|
projectId,
|
|
3912
4006
|
worktreeId: group.id,
|
|
3913
4007
|
harness,
|
|
3914
|
-
pendingKey
|
|
4008
|
+
pendingKey,
|
|
3915
4009
|
gateKey
|
|
3916
4010
|
});
|
|
3917
4011
|
};
|
|
@@ -3924,6 +4018,7 @@ ${tunneled}
|
|
|
3924
4018
|
case "projects": {
|
|
3925
4019
|
const item = projectItems[clampIndex(projectItems.length, projectIndex + delta)];
|
|
3926
4020
|
if (item === void 0) return;
|
|
4021
|
+
if (item !== selectedProject) stopAwaiting();
|
|
3927
4022
|
setProjectKey(item.project.id);
|
|
3928
4023
|
setWorktreeKey(null);
|
|
3929
4024
|
setSessionKey(null);
|
|
@@ -3933,6 +4028,7 @@ ${tunneled}
|
|
|
3933
4028
|
case "worktrees": {
|
|
3934
4029
|
const group = worktreeGroups[clampIndex(worktreeGroups.length, worktreeIndex + delta)];
|
|
3935
4030
|
if (group === void 0) return;
|
|
4031
|
+
if (group !== selectedGroup) stopAwaiting();
|
|
3936
4032
|
setWorktreeKey(group.key);
|
|
3937
4033
|
setSessionKey(null);
|
|
3938
4034
|
setPreviewOffset(0);
|
|
@@ -3941,6 +4037,7 @@ ${tunneled}
|
|
|
3941
4037
|
case "sessions": {
|
|
3942
4038
|
const item = sessionItems[clampIndex(sessionItems.length, sessionIndex + delta)];
|
|
3943
4039
|
if (item === void 0) return;
|
|
4040
|
+
if (item !== selectedItem) stopAwaiting();
|
|
3944
4041
|
selectSession(item.session.id);
|
|
3945
4042
|
return;
|
|
3946
4043
|
}
|
|
@@ -3955,6 +4052,7 @@ ${tunneled}
|
|
|
3955
4052
|
}
|
|
3956
4053
|
};
|
|
3957
4054
|
const goTo = (next) => {
|
|
4055
|
+
if (next === "projects" || next === "worktrees") stopAwaiting();
|
|
3958
4056
|
if (next === "detail" && waiting && snakeFits) {
|
|
3959
4057
|
setSnakeFocus({ returnTo: focus, start: null });
|
|
3960
4058
|
return;
|
|
@@ -4949,5 +5047,6 @@ var runDashboard = async (ctx) => {
|
|
|
4949
5047
|
};
|
|
4950
5048
|
export {
|
|
4951
5049
|
App,
|
|
5050
|
+
HANDOVER_MS,
|
|
4952
5051
|
runDashboard
|
|
4953
5052
|
};
|
package/dist/main.js
CHANGED
|
@@ -2376,7 +2376,7 @@ var COMMANDS = [
|
|
|
2376
2376
|
description: [
|
|
2377
2377
|
"A full-screen view of every project and session, updating live. The session pane takes three quarters of the screen: a read-only detail for the selected session with the conversation record it has written so far. The remaining quarter is a sidebar of three stacked sections, projects then worktrees then sessions, where the section you are in stands open and the other two fold to the line that says what is selected. Bare mend with no command opens the same thing.",
|
|
2378
2378
|
"Every pane carries its number in its title, as lazygit's do: [1] projects, [2] worktrees, [3] sessions, and [0] the session pane. A digit jumps to its pane, tab and Shift+Tab cycle through them and come back round, and esc goes back to where you came from. ? lists every key, / filters the focused list (enter keeps the filter, esc clears it), and + and _ cycle the screen mode: normal, half (the sidebar takes half the width) and full (the side you are on takes the screen).",
|
|
2379
|
-
"Moving the selection only ever navigates: arrows or j/k move inside the open section, enter and the arrows move between the sidebar and the session pane, and nothing takes this terminal until you ask. Reading the record leaves the sidebar as it was. The verbs are a to attach a live session, r to resume a settled one, n for another session in the selected worktree, w for a new worktree, e to rename, v to review the change, o to open it in the browser, Shift+K to stop (on a row whose agent has stopped while its Services keep the workspace up, Shift+K stops those Services), Shift+D to remove, and Shift+R to refresh.",
|
|
2379
|
+
"Moving the selection only ever navigates: arrows or j/k move inside the open section, enter and the arrows move between the sidebar and the session pane, and nothing takes this terminal until you ask. A session you start or resume here attaches once it runs, while you are still waiting on it: moving to another session, column or project, or a dialog open at that moment, leaves it to a. MEND_AUTO_ATTACH=off leaves every attach to a. Reading the record leaves the sidebar as it was. The verbs are a to attach a live session, r to resume a settled one, n for another session in the selected worktree, w for a new worktree, e to rename, v to review the change, o to open it in the browser, Shift+K to stop (on a row whose agent has stopped while its Services keep the workspace up, Shift+K stops those Services), Shift+D to remove, and Shift+R to refresh.",
|
|
2380
2380
|
"Nothing is ever squeezed. A terminal too narrow for both gives the whole width to the side you are on, a terminal too short for three drawn panes shows the open section alone, and a one-line breadcrumb states whatever did not fit.",
|
|
2381
2381
|
"On a server that is not this machine, the selected session's live Services declared --http or --https are tunneled to this machine's loopback while it stays selected, and the session pane shows where each one opens, for example web \u2192 http://localhost:5173.",
|
|
2382
2382
|
"The dashboard needs Node 26 or newer for its terminal. Every other command works on Node 22."
|
|
@@ -3772,6 +3772,10 @@ var ENVIRONMENT = [
|
|
|
3772
3772
|
"MEND_DETACH_KEY",
|
|
3773
3773
|
"the detach chord; default Ctrl+]. none when an outer multiplexer owns detaching"
|
|
3774
3774
|
],
|
|
3775
|
+
[
|
|
3776
|
+
"MEND_AUTO_ATTACH",
|
|
3777
|
+
"off keeps the dashboard from attaching a session you started there once it runs"
|
|
3778
|
+
],
|
|
3775
3779
|
["MEND_DEBUG", "1 prints each refused call, its status and its tag on stderr"]
|
|
3776
3780
|
];
|
|
3777
3781
|
var FILES = [
|
|
@@ -18374,7 +18378,7 @@ var dashboard = async (config, options = {}) => {
|
|
|
18374
18378
|
);
|
|
18375
18379
|
process.exit(rerun.status ?? 0);
|
|
18376
18380
|
}
|
|
18377
|
-
const { runDashboard } = await import("./dashboard-
|
|
18381
|
+
const { runDashboard } = await import("./dashboard-KZHIOJEX.js");
|
|
18378
18382
|
const agentShare = await startShareIfBridge(config);
|
|
18379
18383
|
const tunnels = options.noTunnel === true || serverIsLocal(config) ? null : createServiceTunnels({
|
|
18380
18384
|
listServices: () => fetchServices(config),
|
|
@@ -18385,6 +18389,7 @@ var dashboard = async (config, options = {}) => {
|
|
|
18385
18389
|
await runDashboard({
|
|
18386
18390
|
config,
|
|
18387
18391
|
...options.openSnake === true ? { openSnake: true } : {},
|
|
18392
|
+
autoAttach: process.env["MEND_AUTO_ATTACH"] !== "off",
|
|
18388
18393
|
cwd: process.cwd(),
|
|
18389
18394
|
cwdBranch: gitCurrentBranch(process.cwd()),
|
|
18390
18395
|
api: (method, route, body) => request(config, method, route, body),
|
package/man/mend-accounts.1
CHANGED
package/man/mend-adopt.1
CHANGED
package/man/mend-attach.1
CHANGED
package/man/mend-codex.1
CHANGED
package/man/mend-completions.1
CHANGED
package/man/mend-connect-pi.1
CHANGED
package/man/mend-connect.1
CHANGED
package/man/mend-continue.1
CHANGED
package/man/mend-doctor.1
CHANGED
package/man/mend-dotfiles-repo.1
CHANGED
package/man/mend-dotfiles-sync.1
CHANGED
package/man/mend-dotfiles.1
CHANGED
package/man/mend-env-cluster.1
CHANGED
package/man/mend-env-load.1
CHANGED
package/man/mend-env-show.1
CHANGED
package/man/mend-folder-create.1
CHANGED
package/man/mend-folder-list.1
CHANGED
package/man/mend-folder-push.1
CHANGED
package/man/mend-folder-rm.1
CHANGED
package/man/mend-git-author.1
CHANGED
package/man/mend-help.1
CHANGED
package/man/mend-invite.1
CHANGED
package/man/mend-keys-init.1
CHANGED
package/man/mend-keys-mode.1
CHANGED
package/man/mend-keys-share.1
CHANGED
package/man/mend-keys-show.1
CHANGED
package/man/mend-land.1
CHANGED
package/man/mend-login.1
CHANGED
package/man/mend-logout.1
CHANGED
package/man/mend-logs.1
CHANGED
package/man/mend-man.1
CHANGED
package/man/mend-members.1
CHANGED
package/man/mend-memory-import.1
CHANGED
package/man/mend-memory-rm.1
CHANGED
package/man/mend-memory-show.1
CHANGED
package/man/mend-memory.1
CHANGED
package/man/mend-models.1
CHANGED
package/man/mend-operator-gate.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH MEND-OPERATOR-ORG-INVITE-OWNER 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-OPERATOR-ORG-INVITE-OWNER 1 "" "mend 0.36.0\-next.773" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-operator\-org\-invite\-owner \- print a one\-time owner invitation for an organization
|
|
4
4
|
.SH SYNOPSIS
|
package/man/mend-pair.1
CHANGED
package/man/mend-projects.1
CHANGED
package/man/mend-pull.1
CHANGED
package/man/mend-refresh.1
CHANGED
package/man/mend-rejoin.1
CHANGED
package/man/mend-resume.1
CHANGED
package/man/mend-run.1
CHANGED
package/man/mend-secrets-add.1
CHANGED
package/man/mend-secrets-rm.1
CHANGED
package/man/mend-secrets.1
CHANGED
package/man/mend-server-logs.1
CHANGED
package/man/mend-server-setup.1
CHANGED
package/man/mend-server-start.1
CHANGED
package/man/mend-server-status.1
CHANGED
package/man/mend-server-stop.1
CHANGED
package/man/mend-server.1
CHANGED
package/man/mend-service-add.1
CHANGED
package/man/mend-service-init.1
CHANGED
package/man/mend-service-list.1
CHANGED
package/man/mend-service-logs.1
CHANGED
package/man/mend-service-run.1
CHANGED
package/man/mend-service-stop.1
CHANGED
package/man/mend-session-share.1
CHANGED
package/man/mend-sessions.1
CHANGED
package/man/mend-shell.1
CHANGED
package/man/mend-skills-push.1
CHANGED
package/man/mend-skills.1
CHANGED
package/man/mend-snake.1
CHANGED
package/man/mend-ssh-keys.1
CHANGED
package/man/mend-ssh-setup.1
CHANGED
package/man/mend-ssh.1
CHANGED
package/man/mend-stop.1
CHANGED
package/man/mend-ui.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH MEND-UI 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-UI 1 "" "mend 0.36.0\-next.773" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-ui \- the dashboard: every project and session, live
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -10,7 +10,7 @@ A full\-screen view of every project and session, updating live. The session pan
|
|
|
10
10
|
.PP
|
|
11
11
|
Every pane carries its number in its title, as lazygit's do: [1] projects, [2] worktrees, [3] sessions, and [0] the session pane. A digit jumps to its pane, tab and Shift+Tab cycle through them and come back round, and esc goes back to where you came from. ? lists every key, / filters the focused list (enter keeps the filter, esc clears it), and + and _ cycle the screen mode: normal, half (the sidebar takes half the width) and full (the side you are on takes the screen).
|
|
12
12
|
.PP
|
|
13
|
-
Moving the selection only ever navigates: arrows or j/k move inside the open section, enter and the arrows move between the sidebar and the session pane, and nothing takes this terminal until you ask. Reading the record leaves the sidebar as it was. The verbs are a to attach a live session, r to resume a settled one, n for another session in the selected worktree, w for a new worktree, e to rename, v to review the change, o to open it in the browser, Shift+K to stop (on a row whose agent has stopped while its Services keep the workspace up, Shift+K stops those Services), Shift+D to remove, and Shift+R to refresh.
|
|
13
|
+
Moving the selection only ever navigates: arrows or j/k move inside the open section, enter and the arrows move between the sidebar and the session pane, and nothing takes this terminal until you ask. A session you start or resume here attaches once it runs, while you are still waiting on it: moving to another session, column or project, or a dialog open at that moment, leaves it to a. MEND_AUTO_ATTACH=off leaves every attach to a. Reading the record leaves the sidebar as it was. The verbs are a to attach a live session, r to resume a settled one, n for another session in the selected worktree, w for a new worktree, e to rename, v to review the change, o to open it in the browser, Shift+K to stop (on a row whose agent has stopped while its Services keep the workspace up, Shift+K stops those Services), Shift+D to remove, and Shift+R to refresh.
|
|
14
14
|
.PP
|
|
15
15
|
Nothing is ever squeezed. A terminal too narrow for both gives the whole width to the side you are on, a terminal too short for three drawn panes shows the open section alone, and a one\-line breadcrumb states whatever did not fit.
|
|
16
16
|
.PP
|
package/man/mend-uninstall.1
CHANGED
package/man/mend-version.1
CHANGED
package/man/mend-wait.1
CHANGED
package/man/mend-worktrees-rm.1
CHANGED
package/man/mend-worktrees.1
CHANGED
package/man/mend.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH MEND 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND 1 "" "mend 0.36.0\-next.773" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend \- the agent workbench
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -291,6 +291,9 @@ a token in place of the saved login
|
|
|
291
291
|
.B MEND_DETACH_KEY
|
|
292
292
|
the detach chord; default Ctrl+]. none when an outer multiplexer owns detaching
|
|
293
293
|
.TP
|
|
294
|
+
.B MEND_AUTO_ATTACH
|
|
295
|
+
off keeps the dashboard from attaching a session you started there once it runs
|
|
296
|
+
.TP
|
|
294
297
|
.B MEND_DEBUG
|
|
295
298
|
1 prints each refused call, its status and its tag on stderr
|
|
296
299
|
.SH FILES
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sealant/mend",
|
|
3
|
-
"version": "0.36.0-next.
|
|
3
|
+
"version": "0.36.0-next.773",
|
|
4
4
|
"description": "The mend CLI: adopt a repository into Mend's store, launch your coding agent in a recorded session worktree, detach and reattach from any terminal",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"react": "19.2.3",
|
|
41
41
|
"undici": "^7.28.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "9c925664b9b1cd8ba3ec9ce7de0501af9632d727",
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
}
|