@sealant/mend 0.35.0 → 0.36.0-next.1006

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 (96) hide show
  1. package/README.md +39 -7
  2. package/dist/{chunk-SMH65F6Z.js → chunk-5VCZGIDO.js} +1179 -11
  3. package/dist/{dashboard-MGR4YUFD.js → dashboard-6LXBWCM5.js} +1345 -348
  4. package/dist/main.js +11151 -2017
  5. package/man/mend-accounts.1 +1 -1
  6. package/man/mend-adopt.1 +4 -4
  7. package/man/mend-agent-logins.1 +20 -0
  8. package/man/mend-attach.1 +1 -1
  9. package/man/mend-codex.1 +9 -7
  10. package/man/mend-completions.1 +1 -1
  11. package/man/mend-connect-pi.1 +28 -0
  12. package/man/mend-connect.1 +7 -3
  13. package/man/mend-continue.1 +1 -1
  14. package/man/mend-doctor.1 +2 -2
  15. package/man/mend-dotfiles-repo.1 +1 -1
  16. package/man/mend-dotfiles-sync.1 +1 -1
  17. package/man/mend-dotfiles.1 +1 -1
  18. package/man/mend-env-cluster.1 +1 -1
  19. package/man/mend-env-load.1 +1 -1
  20. package/man/mend-env-show.1 +1 -1
  21. package/man/mend-folder-create.1 +1 -1
  22. package/man/mend-folder-list.1 +1 -1
  23. package/man/mend-folder-push.1 +1 -1
  24. package/man/mend-folder-rm.1 +1 -1
  25. package/man/mend-git-author.1 +1 -1
  26. package/man/mend-help.1 +1 -1
  27. package/man/mend-invite.1 +1 -1
  28. package/man/mend-keys-init.1 +1 -1
  29. package/man/mend-keys-mode.1 +1 -1
  30. package/man/mend-keys-share.1 +1 -1
  31. package/man/mend-keys-show.1 +1 -1
  32. package/man/mend-land.1 +1 -1
  33. package/man/mend-login.1 +10 -2
  34. package/man/mend-logout.1 +1 -1
  35. package/man/mend-logs.1 +37 -0
  36. package/man/mend-man.1 +1 -1
  37. package/man/mend-members.1 +1 -1
  38. package/man/mend-memory-import.1 +23 -0
  39. package/man/mend-memory-rm.1 +15 -0
  40. package/man/mend-memory-show.1 +15 -0
  41. package/man/mend-memory.1 +32 -0
  42. package/man/mend-models.1 +22 -0
  43. package/man/mend-operator-exposure.1 +2 -2
  44. package/man/mend-operator-gate.1 +1 -1
  45. package/man/mend-operator-grant-owner.1 +1 -1
  46. package/man/mend-operator-org-create.1 +1 -1
  47. package/man/mend-operator-org-invite-owner.1 +1 -1
  48. package/man/mend-operator-org-list.1 +1 -1
  49. package/man/mend-operator-org-rename.1 +1 -1
  50. package/man/mend-operator-reset-link.1 +1 -1
  51. package/man/mend-pair.1 +3 -1
  52. package/man/mend-projects.1 +10 -2
  53. package/man/mend-pull.1 +6 -3
  54. package/man/mend-refresh.1 +1 -1
  55. package/man/mend-rejoin.1 +1 -1
  56. package/man/mend-resume.1 +1 -1
  57. package/man/mend-run.1 +37 -4
  58. package/man/mend-secrets-add.1 +24 -0
  59. package/man/mend-secrets-rm.1 +14 -0
  60. package/man/mend-secrets.1 +18 -0
  61. package/man/mend-server-logs.1 +1 -1
  62. package/man/mend-server-restart.1 +1 -1
  63. package/man/mend-server-setup.1 +125 -8
  64. package/man/mend-server-start.1 +1 -1
  65. package/man/mend-server-status.1 +7 -3
  66. package/man/mend-server-stop.1 +3 -3
  67. package/man/mend-server-upgrade.1 +14 -2
  68. package/man/mend-server.1 +1 -1
  69. package/man/mend-service-add.1 +1 -1
  70. package/man/mend-service-connect.1 +1 -1
  71. package/man/mend-service-init.1 +1 -1
  72. package/man/mend-service-list.1 +10 -4
  73. package/man/mend-service-logs.1 +3 -1
  74. package/man/mend-service-restart.1 +1 -1
  75. package/man/mend-service-run.1 +16 -4
  76. package/man/mend-service-stop.1 +1 -1
  77. package/man/mend-session-share.1 +13 -3
  78. package/man/mend-sessions.1 +3 -1
  79. package/man/mend-shell.1 +1 -1
  80. package/man/mend-skills-push.1 +1 -1
  81. package/man/mend-skills.1 +1 -1
  82. package/man/mend-snake.1 +2 -2
  83. package/man/mend-ssh-keys-remove.1 +18 -0
  84. package/man/mend-ssh-keys.1 +15 -0
  85. package/man/mend-ssh-setup.1 +2 -2
  86. package/man/mend-ssh.1 +13 -4
  87. package/man/mend-stop.1 +1 -1
  88. package/man/mend-ui.1 +4 -2
  89. package/man/mend-uninstall.1 +9 -3
  90. package/man/mend-version.1 +1 -1
  91. package/man/mend-wait.1 +28 -0
  92. package/man/mend-workspace-replace.1 +24 -0
  93. package/man/mend-worktrees-rm.1 +29 -0
  94. package/man/mend-worktrees.1 +2 -2
  95. package/man/mend.1 +61 -7
  96. package/package.json +23 -41
@@ -1,12 +1,22 @@
1
- .TH MEND-SESSION-SHARE 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-SESSION-SHARE 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-session\-share \- let everyone who can see a session steer it, or stop
4
4
  .SH SYNOPSIS
5
- .B mend session share <session> on|off
5
+ .B mend session share <session> on|off [\-\-yes]
6
6
  .br
7
7
  .SH DESCRIPTION
8
8
  .PP
9
- The session's owner turns shared control on or off; an organization owner may turn it off. While it is on, anyone who can see the project sends turns, answers approvals, interrupts and types in the terminal, using your provider logins and Git access. Every act is recorded with who did it. A prefix of the session id is enough.
9
+ The session's owner turns shared control on or off; an organization owner may turn it off. While it is on, anyone who can see the project sends turns, answers approvals and interrupts. They can read the terminal; only the owner types in it, opens a shell or starts a Service. Every act is recorded with who did it. A prefix of the session id is enough.
10
+ .PP
11
+ Turning it on asks first, in every worktree, in the words true to it; \-\-yes answers for a script, and is required without a terminal. Turning it off asks nothing.
12
+ .PP
13
+ In a worktree that runs each person as themselves, it asks: Each turn runs on its sender's login. From now until this session ends, the agent uses no one's personal memory or instructions. The conversation so far, including what your agent loaded before, becomes visible to whoever steers.
14
+ .PP
15
+ Otherwise it asks: Everyone who can see this project can send turns, answer approvals and interrupt. Each turn runs on your provider logins and Git access, whoever sends it.
16
+ .SH OPTIONS
17
+ .TP
18
+ .B \-\-yes
19
+ turn it on without asking; required without a terminal
10
20
  .SH EXAMPLES
11
21
  .PP
12
22
  .B mend session share 3f2a on
@@ -1,4 +1,4 @@
1
- .TH MEND-SESSIONS 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-SESSIONS 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-sessions \- sessions with their review facts
4
4
  .SH SYNOPSIS
@@ -9,6 +9,8 @@ also mend status, with the same options
9
9
  .PP
10
10
  One line per session: harness, worktree, status, and what the review found. Live sessions by default.
11
11
  .PP
12
+ Under a live session, a line each when there is something to say about its workspace: who else is live in it (Shared workspace with Anna), the waiting line while a turn waits for another person's work, and the line of a workspace that started before Mend 0.36 and waits to be replaced. The change's owner also reads how to replace it, and what would stop.
13
+ .PP
12
14
  The JSON is stable for integrations. \-\-json is the v1 flat list; \-\-json=v2 groups sessions by worktree, the same shape mend worktrees prints.
13
15
  .SH OPTIONS
14
16
  .TP
package/man/mend-shell.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND-SHELL 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-SHELL 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-shell \- open a shell in a live session's workspace
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-SKILLS-PUSH 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-SKILLS-PUSH 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-skills\-push \- upload ~/.agents/skills into the library
4
4
  .SH SYNOPSIS
package/man/mend-skills.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND-SKILLS 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-SKILLS 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-skills \- your skill library on the server, or a project's
4
4
  .SH SYNOPSIS
package/man/mend-snake.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND-SNAKE 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-SNAKE 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-snake \- the dashboard, with snake over it
4
4
  .SH SYNOPSIS
@@ -6,7 +6,7 @@ mend\-snake \- the dashboard, with snake over it
6
6
  .br
7
7
  .SH DESCRIPTION
8
8
  .PP
9
- Opens the dashboard with a game of snake floating over it. The arrows steer, space pauses, and esc or q closes the game and leaves you in the dashboard, which has been live underneath the whole time. The same game appears on its own in the session pane while a session is starting: a first session on a new project setup builds its image before it boots, about seven minutes on some families.
9
+ Opens the dashboard with a game of snake floating over it. It counts down 3, 2, 1, go before the snake moves. The arrows or h j k l steer, space or p pauses (and counts down again to resume), and esc or q closes the game and leaves you in the dashboard, which has been live underneath the whole time. The same game appears in the session pane while a session is starting: a first session on a new project setup builds its image before it boots, about seven minutes on some families. A start or resume from the dashboard hands the game the keyboard, as does enter or → into that pane; esc or q gives it back to the list you were in.
10
10
  .PP
11
11
  Needs Node 26 or newer, like the dashboard.
12
12
  .SH SEE ALSO
@@ -0,0 +1,18 @@
1
+ .TH MEND-SSH-KEYS-REMOVE 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
+ .SH NAME
3
+ mend\-ssh\-keys\-remove \- stop the workspace ssh gateway accepting one of your keys
4
+ .SH SYNOPSIS
5
+ .B mend ssh keys remove <fingerprint>
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Removes one of your keys by fingerprint; the SHA256: prefix is optional. The gateway looks a key up on every new connection, so the next connection offering it is refused. The removal then says what happens to connections already open with the key. Where the platform ends them, they end within a minute. Where it cannot, they stay open until you stop your running sessions, and the removal lists each session with the mend stop that ends it.
10
+ .PP
11
+ Only your own keys are listed and removed. The key file and the ~/.ssh/config block on the machine that registered it stay; mend ssh setup there registers it again. Removing a member from the organization removes all of theirs, and Mend keeps retrying any the platform refused.
12
+ .SH EXAMPLES
13
+ .PP
14
+ .B mend ssh keys remove SHA256:Vn6v0P2dHq1n2a5aGQ6L7rKk8sWm0u3x1zYbTq9cE4o
15
+ .br
16
+ revoke a lost laptop's key
17
+ .SH SEE ALSO
18
+ mend(1), mend\-ssh\-keys(1)
@@ -0,0 +1,15 @@
1
+ .TH MEND-SSH-KEYS 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
+ .SH NAME
3
+ mend\-ssh\-keys \- your registered workspace ssh keys, from every machine
4
+ .SH SYNOPSIS
5
+ .B mend ssh keys [\-\-json]
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Every key your account registered with the workspace SSH gateway: fingerprint, name, algorithm and the day it was registered. The key this machine would offer is marked. The platform does not record when a key was last used.
10
+ .SH OPTIONS
11
+ .TP
12
+ .B \-\-json
13
+ the keys as JSON, with thisMachine on each
14
+ .SH SEE ALSO
15
+ mend(1), mend\-ssh\-keys\-remove(1), mend\-ssh\-setup(1)
@@ -1,4 +1,4 @@
1
- .TH MEND-SSH-SETUP 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-SSH-SETUP 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-ssh\-setup \- make this machine ready to ssh into workspaces, once
4
4
  .SH SYNOPSIS
@@ -15,4 +15,4 @@ the public key to register
15
15
  .B \-\-host <hostname>
16
16
  override only the SSH hostname
17
17
  .SH SEE ALSO
18
- mend(1), mend\-ssh(1), mend\-shell(1)
18
+ mend(1), mend\-ssh(1), mend\-ssh\-keys(1), mend\-shell(1)
package/man/mend-ssh.1 CHANGED
@@ -1,11 +1,20 @@
1
- .TH MEND-SSH 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-SSH 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
- mend\-ssh \- workspace SSH status: gateway, registered keys, ssh config
3
+ mend\-ssh \- workspace SSH status, or the ssh command for one session
4
4
  .SH SYNOPSIS
5
5
  .B mend ssh [status]
6
6
  .br
7
+ .B mend ssh <session> [\-\-host <hostname>]
8
+ .br
7
9
  .SH DESCRIPTION
8
10
  .PP
9
- Whether this machine can ssh into workspaces, and what is missing if not.
11
+ Without a session: whether this machine can ssh into workspaces, and what is missing if not.
12
+ .PP
13
+ With a session id or its prefix: the exact ssh command that reaches that session's workspace, on its own line, e.g. ssh ws\-<workspace>@mend\-ws\-…. The user is the workspace's id, which no other command shows; a Docker container name is a different id, and the gateway closes the connection after its banner. A session with no running workspace is refused.
14
+ .SH EXAMPLES
15
+ .PP
16
+ .B mend ssh 3f2a9c1e
17
+ .br
18
+ print the ssh command for that session
10
19
  .SH SEE ALSO
11
- mend(1), mend\-ssh\-setup(1)
20
+ mend(1), mend\-ssh\-setup(1), mend\-ssh\-keys(1)
package/man/mend-stop.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND-STOP 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-STOP 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-stop \- stop the agent; the record and the review remain
4
4
  .SH SYNOPSIS
package/man/mend-ui.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND-UI 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-UI 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-ui \- the dashboard: every project and session, live
4
4
  .SH SYNOPSIS
@@ -8,7 +8,9 @@ mend\-ui \- the dashboard: every project and session, live
8
8
  .PP
9
9
  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.
10
10
  .PP
11
- 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.
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
+ .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. 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.
12
14
  .PP
13
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.
14
16
  .PP
@@ -1,4 +1,4 @@
1
- .TH MEND-UNINSTALL 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-UNINSTALL 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-uninstall \- remove the server, this machine's Mend files, or both
4
4
  .SH SYNOPSIS
@@ -6,9 +6,15 @@ mend\-uninstall \- remove the server, this machine's Mend files, or both
6
6
  .br
7
7
  .SH DESCRIPTION
8
8
  .PP
9
- Asks which scope to remove when none is given, prints exactly what will go, and requires the word delete before the server is touched. The server scope removes the local Compose installation: its containers, every volume it owns (repositories, worktrees, the database), its release image, and the private configuration with its generations and backups. The home scope revokes this terminal's device token, then removes cli.json, the workspace SSH key, and the managed block in ~/.ssh/config.
9
+ Asks which scope to remove when none is given, prints exactly what will go, and requires the word delete before the server is touched; any other answer removes nothing and exits 1. Nothing is touched until Docker answers: with Docker stopped, the server and everything scopes refuse and change nothing, here or on the server.
10
10
  .PP
11
- Nothing else under the configuration directory is touched; a host\-run store or keys root is listed and left in place. Workspace containers carry no label Mend can filter on, so they are named with the command that removes them, never removed.
11
+ The server scope removes the local Compose installation. First its sessions' workspaces, live ones included: the plan lists them, and uninstall stops them and removes them with their Docker services, volumes and networks. Then its containers, every volume and network it owns (repositories, worktrees, the database), its release image, and the private configuration with its generations and backups. A workspace is the installation's when it mounts the installation's control volume. The anchor volume mend\-store and identity.env go last, once everything else has; anything Docker would not remove keeps them, is named, and is written to uninstall\-left.json, so running mend uninstall again finishes the job, and mend server setup can reinstall over it. A sign\-in to the server just removed is cleared: its token went with the server.
12
+ .PP
13
+ The home scope removes cli.json, the workspace SSH key file and the managed block in ~/.ssh/config. When the sign\-in is to another server, that server is first asked to remove the workspace SSH key this machine registered and to revoke this terminal's device token; a key it refuses to remove, or one this machine cannot read, makes the uninstall exit 1 naming what may still be registered. The account's other keys and devices stay.
14
+ .PP
15
+ Everything also offers what else Mend put on the Docker host: the images it pulled and built (the bundle's, the workspace images, the workspaces' Docker service and network guard), with the space they take, and the user\-namespace sysctl file setup wrote, putting back the setting it replaced. A sysctl file written by hand stays, with the command that removes it. Docker's build cache is shared by every build on the daemon, so it gets its own question, and stays under \-\-yes. When the uninstall stops before these, it says each one was not reached, and the next run removes them. The CLI itself stays: npm uninstall \-g @sealant/mend removes it. The last line names whatever is still here.
16
+ .PP
17
+ Nothing else under the configuration directory is touched; a host\-run store or keys root is listed and left in place. With no configuration here, Docker volumes carrying Mend's installation label and no anchor are what an earlier install left: the server scope lists and removes them.
12
18
  .SH OPTIONS
13
19
  .TP
14
20
  .B \-\-all
@@ -1,4 +1,4 @@
1
- .TH MEND-VERSION 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-VERSION 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-version \- this CLI's version, and the server's when it answers
4
4
  .SH SYNOPSIS
@@ -0,0 +1,28 @@
1
+ .TH MEND-WAIT 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
+ .SH NAME
3
+ mend\-wait \- wait for a session's command to end
4
+ .SH SYNOPSIS
5
+ .B mend wait [session] [\-\-timeout <duration>] [\-\-process <id>] [\-\-json]
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Returns once the session's command (or agent) has ended, with its exit code: the code the platform reported, or 1 when it reported none. A command that already ended answers at once. While a launch or a resume is starting, the previous process's end does not count. \-\-process waits for one process by its id, the processId mend run \-\-json prints.
10
+ .PP
11
+ A session that is still starting (its workspace building, its image pulling) is waited through: only its end counts. When \-\-timeout passes first, mend wait exits 124, as timeout(1) does, and the command keeps running. A duration is seconds (90, 90s or .5), minutes (5m) or hours (1h); with none, mend wait waits as long as the command runs. Stopped by a signal, it exits 128 + its number (130 for Ctrl+C), and the command keeps running. The timeout covers everything: finding the session, every read and every retry. \-\-json then prints the last state read, and nothing more is asked of the server.
12
+ .PP
13
+ <session> is the session id, a prefix of it, or the worktree's name. With none, the one live session is taken.
14
+ .SH OPTIONS
15
+ .TP
16
+ .B \-\-timeout <duration>
17
+ give up after this long (90, 90s, 5m, 1h); exit 124
18
+ .TP
19
+ .B \-\-process <id>
20
+ wait for this process of the session, by a prefix of its id
21
+ .TP
22
+ .B \-\-json
23
+ print the session, the process, the status and the exit code
24
+ .SH EXAMPLES
25
+ .PP
26
+ .B mend wait 3f2a \-\-timeout 600
27
+ .SH SEE ALSO
28
+ mend(1), mend\-run(1), mend\-logs(1)
@@ -0,0 +1,24 @@
1
+ .TH MEND-WORKSPACE-REPLACE 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
+ .SH NAME
3
+ mend\-workspace\-replace \- replace a workspace that started before Mend 0.36
4
+ .SH SYNOPSIS
5
+ .B mend workspace replace <session> [\-\-yes]
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Replace this workspace now, from a terminal. A workspace that shares one home, as every workspace started before Mend 0.36 does, takes only its launcher's sessions and turns once its worktree runs each person as themselves, until it is replaced. Mend replaces it on its own when nothing would stop; otherwise the change's owner does, here or on the web.
10
+ .PP
11
+ It prints what was checked, and when: Mend's records, and the processes in the workspace and its running containers once they have been checked. Then what would stop, one line each: terminal sessions (they end resumable), shells, Services started by hand, processes Mend did not start, running containers and anything that could not be checked. Mend starts the launching session's mend.toml Services again.
12
+ .PP
13
+ The replacement names what it showed you: when more would stop by the time you answer, the server refuses, nothing is stopped, and its words are printed as they are; run it again to look at the list again. An agent turn in flight is never stopped: the server refuses the same way. The workspace goes once its last save is done.
14
+ .PP
15
+ A prefix of the session id is enough. mend sessions shows which sessions wait for this.
16
+ .SH OPTIONS
17
+ .TP
18
+ .B \-\-yes
19
+ replace without asking; required without a terminal
20
+ .SH EXAMPLES
21
+ .PP
22
+ .B mend workspace replace 3f2a
23
+ .SH SEE ALSO
24
+ mend(1), mend\-sessions(1), mend\-stop(1)
@@ -0,0 +1,29 @@
1
+ .TH MEND-WORKTREES-RM 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
+ .SH NAME
3
+ mend\-worktrees\-rm \- remove a worktree, its sessions and its change
4
+ .SH SYNOPSIS
5
+ .B mend worktrees rm <name> [\-\-force] [\-\-project <p>]
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Removes the worktree directory from the store, with every session in it, its change, its checkpoints and its review. Nothing on origin is touched. <name> is the worktree's name as mend worktrees lists it.
10
+ .PP
11
+ Refused while a session in it is live: the command names the sessions and the stops that free them. Refused while it holds a change that is not on origin, one never landed or one changed since its last landing: the refusal names the files and line counts, in the server's words. Land it with mend land, or pass \-\-force to remove it anyway. A worktree whose workspace is still saving is refused until the save ends, and \-\-force does not change that.
12
+ .SH OPTIONS
13
+ .TP
14
+ .B \-\-force
15
+ remove it although its change is not on origin
16
+ .TP
17
+ .B \-\-project <p>
18
+ the project by name, when the current directory is not inside it
19
+ .SH EXAMPLES
20
+ .PP
21
+ .B mend worktrees rm fix\-login
22
+ .br
23
+ refused when its change was never landed
24
+ .PP
25
+ .B mend worktrees rm fix\-login \-\-force
26
+ .br
27
+ remove it anyway
28
+ .SH SEE ALSO
29
+ mend(1), mend\-worktrees(1), mend\-land(1), mend\-stop(1)
@@ -1,4 +1,4 @@
1
- .TH MEND-WORKTREES 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND-WORKTREES 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend\-worktrees \- every worktree and the sessions inside it
4
4
  .SH SYNOPSIS
@@ -15,4 +15,4 @@ the project by name, when the current directory is not inside it
15
15
  .B \-\-json
16
16
  the v2 grouped shape
17
17
  .SH SEE ALSO
18
- mend(1), mend\-sessions(1)
18
+ mend(1), mend\-sessions(1), mend\-worktrees\-rm(1)
package/man/mend.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND 1 "" "mend 0.35.0" "mend manual"
1
+ .TH MEND 1 "" "mend 0.36.0\-next.1006" "mend manual"
2
2
  .SH NAME
3
3
  mend \- the agent workbench
4
4
  .SH SYNOPSIS
@@ -15,11 +15,20 @@ sign this terminal in through the browser
15
15
  .B mend connect
16
16
  send this machine's provider credential to the platform
17
17
  .TP
18
+ .B mend agent\-logins
19
+ which of your own logins your Claude and Codex sessions get
20
+ .TP
21
+ .B mend connect pi
22
+ send your pi setup to every pi session of yours
23
+ .TP
18
24
  .B mend adopt
19
25
  adopt a repository into the store
20
26
  .TP
21
27
  .B mend codex
22
- launch codex, claude, or opencode in a recorded worktree
28
+ launch codex, claude, opencode or pi in a recorded worktree
29
+ .TP
30
+ .B mend models
31
+ the models each harness offers, as the server lists them
23
32
  .TP
24
33
  .B mend pair
25
34
  pair a phone or a second machine
@@ -46,6 +55,12 @@ open a shell in a live session's workspace
46
55
  .B mend run
47
56
  run any command as a session
48
57
  .TP
58
+ .B mend logs
59
+ print a session's recorded terminal output
60
+ .TP
61
+ .B mend wait
62
+ wait for a session's command to end
63
+ .TP
49
64
  .B mend continue
50
65
  resume a session with its pending review follow\-up
51
66
  .TP
@@ -61,6 +76,12 @@ sessions with their review facts
61
76
  .B mend worktrees
62
77
  every worktree and the sessions inside it
63
78
  .TP
79
+ .B mend worktrees rm
80
+ remove a worktree, its sessions and its change
81
+ .TP
82
+ .B mend workspace replace
83
+ replace a workspace that started before Mend 0.36
84
+ .TP
64
85
  .B mend projects
65
86
  adopted projects and their live sessions
66
87
  .TP
@@ -114,6 +135,18 @@ your skill library on the server, or a project's
114
135
  .B mend skills push
115
136
  upload ~/.agents/skills into the library
116
137
  .TP
138
+ .B mend memory
139
+ what the agents remember about a project, for you
140
+ .TP
141
+ .B mend memory import
142
+ bring this machine's claude and codex memory for the repository
143
+ .TP
144
+ .B mend memory show
145
+ print one memory file
146
+ .TP
147
+ .B mend memory rm
148
+ remove one memory file
149
+ .TP
117
150
  .B mend dotfiles
118
151
  your dotfiles on the server: repo and synced files
119
152
  .TP
@@ -123,6 +156,15 @@ set or clear the repository the server clones at launch
123
156
  .B mend dotfiles sync
124
157
  capture config files from this machine into your store
125
158
  .TP
159
+ .B mend secrets
160
+ your secret files: written into every session you launch
161
+ .TP
162
+ .B mend secrets add
163
+ keep a file as a secret file, or replace one
164
+ .TP
165
+ .B mend secrets rm
166
+ remove a secret file
167
+ .TP
126
168
  .B mend git\-author
127
169
  the name and email your workspaces commit as
128
170
  .TP
@@ -189,16 +231,16 @@ print a one\-time password reset link for an account
189
231
  install and manage this machine's Mend server
190
232
  .TP
191
233
  .B mend server setup
192
- install or repair the local Mend server
234
+ install or change the local Mend server, guided
193
235
  .TP
194
236
  .B mend server status
195
- show the saved pin, generation and container state
237
+ show the pin, generation, containers, edge, mirrors and posture
196
238
  .TP
197
239
  .B mend server start
198
240
  start the selected server generation
199
241
  .TP
200
242
  .B mend server stop
201
- stop Mend, Postgres and Garage without deleting data
243
+ stop the server's containers without deleting data
202
244
  .TP
203
245
  .B mend server restart
204
246
  restart Mend using the same generation and pin
@@ -210,11 +252,17 @@ print a bounded tail of the installation's container logs
210
252
  upgrade to an explicit version with a database backup
211
253
  .TP
212
254
  .B mend ssh
213
- workspace SSH status: gateway, registered keys, ssh config
255
+ workspace SSH status, or the ssh command for one session
214
256
  .TP
215
257
  .B mend ssh setup
216
258
  make this machine ready to ssh into workspaces, once
217
259
  .TP
260
+ .B mend ssh keys
261
+ your registered workspace ssh keys, from every machine
262
+ .TP
263
+ .B mend ssh keys remove
264
+ stop the workspace ssh gateway accepting one of your keys
265
+ .TP
218
266
  .B mend accounts
219
267
  your connected accounts on the platform
220
268
  .TP
@@ -245,6 +293,12 @@ a token in place of the saved login
245
293
  .TP
246
294
  .B MEND_DETACH_KEY
247
295
  the detach chord; default Ctrl+]. none when an outer multiplexer owns detaching
296
+ .TP
297
+ .B MEND_AUTO_ATTACH
298
+ off keeps the dashboard from attaching a session you started there once it runs
299
+ .TP
300
+ .B MEND_DEBUG
301
+ 1 prints each refused call, its status and its tag on stderr
248
302
  .SH FILES
249
303
  .TP
250
304
  .B ~/.config/mend/cli.json
@@ -253,4 +307,4 @@ url, token, and device id from mend login
253
307
  .B ~/.config/mend/keys/
254
308
  the deploy key from mend keys init
255
309
  .SH SEE ALSO
256
- mend\-login(1), mend\-connect(1), mend\-adopt(1), mend\-codex(1), mend\-pair(1), mend\-doctor(1), mend\-ui(1), mend\-snake(1), mend\-attach(1), mend\-stop(1), mend\-shell(1), mend\-run(1), mend\-continue(1), mend\-resume(1), mend\-rejoin(1), mend\-sessions(1), mend\-worktrees(1), mend\-projects(1), mend\-refresh(1), mend\-land(1), mend\-pull(1), mend\-service\-run(1), mend\-service\-add(1), mend\-service\-connect(1), mend\-service\-list(1), mend\-service\-logs(1), mend\-service\-restart(1), mend\-service\-stop(1), mend\-service\-init(1), mend\-env\-show(1), mend\-env\-load(1), mend\-env\-cluster(1), mend\-skills(1), mend\-skills\-push(1), mend\-dotfiles(1), mend\-dotfiles\-repo(1), mend\-dotfiles\-sync(1), mend\-git\-author(1), mend\-keys\-init(1), mend\-keys\-show(1), mend\-keys\-mode(1), mend\-keys\-share(1), mend\-members(1), mend\-invite(1), mend\-folder\-list(1), mend\-folder\-create(1), mend\-folder\-push(1), mend\-folder\-rm(1), mend\-session\-share(1), mend\-operator\-org\-list(1), mend\-operator\-exposure(1), mend\-operator\-gate(1), mend\-operator\-org\-create(1), mend\-operator\-org\-rename(1), mend\-operator\-org\-invite\-owner(1), mend\-operator\-grant\-owner(1), mend\-operator\-reset\-link(1), mend\-server(1), mend\-server\-setup(1), mend\-server\-status(1), mend\-server\-start(1), mend\-server\-stop(1), mend\-server\-restart(1), mend\-server\-logs(1), mend\-server\-upgrade(1), mend\-ssh(1), mend\-ssh\-setup(1), mend\-accounts(1), mend\-logout(1), mend\-uninstall(1), mend\-completions(1), mend\-version(1), mend\-help(1), mend\-man(1)
310
+ mend\-login(1), mend\-connect(1), mend\-agent\-logins(1), mend\-connect\-pi(1), mend\-adopt(1), mend\-codex(1), mend\-models(1), mend\-pair(1), mend\-doctor(1), mend\-ui(1), mend\-snake(1), mend\-attach(1), mend\-stop(1), mend\-shell(1), mend\-run(1), mend\-logs(1), mend\-wait(1), mend\-continue(1), mend\-resume(1), mend\-rejoin(1), mend\-sessions(1), mend\-worktrees(1), mend\-worktrees\-rm(1), mend\-workspace\-replace(1), mend\-projects(1), mend\-refresh(1), mend\-land(1), mend\-pull(1), mend\-service\-run(1), mend\-service\-add(1), mend\-service\-connect(1), mend\-service\-list(1), mend\-service\-logs(1), mend\-service\-restart(1), mend\-service\-stop(1), mend\-service\-init(1), mend\-env\-show(1), mend\-env\-load(1), mend\-env\-cluster(1), mend\-skills(1), mend\-skills\-push(1), mend\-memory(1), mend\-memory\-import(1), mend\-memory\-show(1), mend\-memory\-rm(1), mend\-dotfiles(1), mend\-dotfiles\-repo(1), mend\-dotfiles\-sync(1), mend\-secrets(1), mend\-secrets\-add(1), mend\-secrets\-rm(1), mend\-git\-author(1), mend\-keys\-init(1), mend\-keys\-show(1), mend\-keys\-mode(1), mend\-keys\-share(1), mend\-members(1), mend\-invite(1), mend\-folder\-list(1), mend\-folder\-create(1), mend\-folder\-push(1), mend\-folder\-rm(1), mend\-session\-share(1), mend\-operator\-org\-list(1), mend\-operator\-exposure(1), mend\-operator\-gate(1), mend\-operator\-org\-create(1), mend\-operator\-org\-rename(1), mend\-operator\-org\-invite\-owner(1), mend\-operator\-grant\-owner(1), mend\-operator\-reset\-link(1), mend\-server(1), mend\-server\-setup(1), mend\-server\-status(1), mend\-server\-start(1), mend\-server\-stop(1), mend\-server\-restart(1), mend\-server\-logs(1), mend\-server\-upgrade(1), mend\-ssh(1), mend\-ssh\-setup(1), mend\-ssh\-keys(1), mend\-ssh\-keys\-remove(1), mend\-accounts(1), mend\-logout(1), mend\-uninstall(1), mend\-completions(1), mend\-version(1), mend\-help(1), mend\-man(1)
package/package.json CHANGED
@@ -1,7 +1,14 @@
1
1
  {
2
2
  "name": "@sealant/mend",
3
- "version": "0.35.0",
3
+ "version": "0.36.0-next.1006",
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
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/sealant-sh/Mend.git",
9
+ "directory": "apps/cli"
10
+ },
11
+ "homepage": "https://github.com/sealant-sh/Mend",
5
12
  "keywords": [
6
13
  "claude-code",
7
14
  "codex",
@@ -11,55 +18,30 @@
11
18
  "session",
12
19
  "worktree"
13
20
  ],
14
- "homepage": "https://github.com/sealant-sh/Mend",
15
- "license": "Apache-2.0",
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/sealant-sh/Mend.git",
19
- "directory": "apps/cli"
20
- },
21
+ "type": "module",
22
+ "files": [
23
+ "dist",
24
+ "man"
25
+ ],
21
26
  "bin": {
22
27
  "mend": "./dist/main.js"
23
28
  },
24
29
  "directories": {
25
30
  "man": "./man"
26
31
  },
27
- "files": [
28
- "dist",
29
- "man"
30
- ],
31
- "type": "module",
32
- "publishConfig": {
33
- "access": "public"
32
+ "engines": {
33
+ "node": ">=22.13.0"
34
34
  },
35
35
  "dependencies": {
36
- "@opentui/core": "^0.5.1",
37
- "@opentui/react": "^0.5.1",
36
+ "@opentui/core": "0.5.3",
37
+ "@opentui/react": "0.5.3",
38
38
  "@tanstack/react-query": "^5.101.4",
39
39
  "qrcode": "^1.5.4",
40
- "react": "19.2.3"
41
- },
42
- "devDependencies": {
43
- "@effect/vitest": "4.0.0-beta.98",
44
- "@types/node": "^22.10.2",
45
- "@types/qrcode": "^1.5.5",
46
- "@types/react": "^19.2.0",
47
- "esbuild": "^0.28.1",
48
- "typescript": "^5.7.2",
49
- "vitest": "^3.0.5",
50
- "@mend/workspace-ssh": "0.0.0",
51
- "@mend/typescript": "0.0.0",
52
- "@mend/domain": "0.0.0"
40
+ "react": "19.2.3",
41
+ "undici": "^7.28.0"
53
42
  },
54
- "engines": {
55
- "node": ">=22"
56
- },
57
- "scripts": {
58
- "build": "node scripts/build.mjs && pnpm run man",
59
- "lint": "oxlint . --no-error-on-unmatched-pattern",
60
- "man": "node --experimental-strip-types scripts/man.ts",
61
- "test": "vitest run --passWithNoTests",
62
- "test:package": "node scripts/test-package.mjs",
63
- "typecheck": "tsgo -p tsconfig.json --noEmit"
43
+ "gitHead": "bc7e4f6d7d2d642fe80798679b41dc1f7015f329",
44
+ "publishConfig": {
45
+ "access": "public"
64
46
  }
65
- }
47
+ }