@sealant/mend 0.36.0-next.721 → 0.36.0-next.761

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 (95) hide show
  1. package/README.md +20 -10
  2. package/dist/{chunk-GF5A6W2Y.js → chunk-D4JBBLJV.js} +104 -4
  3. package/dist/{dashboard-MPO6H5YF.js → dashboard-4BJL72T6.js} +16 -27
  4. package/dist/main.js +3807 -2047
  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-pi.1 +1 -1
  11. package/man/mend-connect.1 +1 -1
  12. package/man/mend-continue.1 +1 -1
  13. package/man/mend-doctor.1 +1 -1
  14. package/man/mend-dotfiles-repo.1 +1 -1
  15. package/man/mend-dotfiles-sync.1 +1 -1
  16. package/man/mend-dotfiles.1 +1 -1
  17. package/man/mend-env-cluster.1 +1 -1
  18. package/man/mend-env-load.1 +1 -1
  19. package/man/mend-env-show.1 +1 -1
  20. package/man/mend-folder-create.1 +1 -1
  21. package/man/mend-folder-list.1 +1 -1
  22. package/man/mend-folder-push.1 +1 -1
  23. package/man/mend-folder-rm.1 +1 -1
  24. package/man/mend-git-author.1 +1 -1
  25. package/man/mend-help.1 +1 -1
  26. package/man/mend-invite.1 +1 -1
  27. package/man/mend-keys-init.1 +1 -1
  28. package/man/mend-keys-mode.1 +1 -1
  29. package/man/mend-keys-share.1 +1 -1
  30. package/man/mend-keys-show.1 +1 -1
  31. package/man/mend-land.1 +1 -1
  32. package/man/mend-login.1 +1 -1
  33. package/man/mend-logout.1 +1 -1
  34. package/man/mend-logs.1 +1 -1
  35. package/man/mend-man.1 +1 -1
  36. package/man/mend-members.1 +1 -1
  37. package/man/mend-memory-import.1 +1 -1
  38. package/man/mend-memory-rm.1 +1 -1
  39. package/man/mend-memory-show.1 +1 -1
  40. package/man/mend-memory.1 +1 -1
  41. package/man/mend-models.1 +1 -1
  42. package/man/mend-operator-exposure.1 +1 -1
  43. package/man/mend-operator-gate.1 +1 -1
  44. package/man/mend-operator-grant-owner.1 +1 -1
  45. package/man/mend-operator-org-create.1 +1 -1
  46. package/man/mend-operator-org-invite-owner.1 +1 -1
  47. package/man/mend-operator-org-list.1 +1 -1
  48. package/man/mend-operator-org-rename.1 +1 -1
  49. package/man/mend-operator-reset-link.1 +1 -1
  50. package/man/mend-pair.1 +1 -1
  51. package/man/mend-projects.1 +1 -1
  52. package/man/mend-pull.1 +6 -3
  53. package/man/mend-refresh.1 +1 -1
  54. package/man/mend-rejoin.1 +1 -1
  55. package/man/mend-resume.1 +1 -1
  56. package/man/mend-run.1 +4 -2
  57. package/man/mend-secrets-add.1 +1 -1
  58. package/man/mend-secrets-rm.1 +1 -1
  59. package/man/mend-secrets.1 +1 -1
  60. package/man/mend-server-logs.1 +1 -1
  61. package/man/mend-server-restart.1 +1 -1
  62. package/man/mend-server-setup.1 +17 -5
  63. package/man/mend-server-start.1 +1 -1
  64. package/man/mend-server-status.1 +1 -1
  65. package/man/mend-server-stop.1 +1 -1
  66. package/man/mend-server-upgrade.1 +1 -1
  67. package/man/mend-server.1 +1 -1
  68. package/man/mend-service-add.1 +1 -1
  69. package/man/mend-service-connect.1 +1 -1
  70. package/man/mend-service-init.1 +1 -1
  71. package/man/mend-service-list.1 +1 -1
  72. package/man/mend-service-logs.1 +1 -1
  73. package/man/mend-service-restart.1 +1 -1
  74. package/man/mend-service-run.1 +1 -1
  75. package/man/mend-service-stop.1 +1 -1
  76. package/man/mend-session-share.1 +1 -1
  77. package/man/mend-sessions.1 +1 -1
  78. package/man/mend-shell.1 +1 -1
  79. package/man/mend-skills-push.1 +1 -1
  80. package/man/mend-skills.1 +1 -1
  81. package/man/mend-snake.1 +1 -1
  82. package/man/mend-ssh-keys-remove.1 +2 -2
  83. package/man/mend-ssh-keys.1 +1 -1
  84. package/man/mend-ssh-setup.1 +1 -1
  85. package/man/mend-ssh.1 +12 -3
  86. package/man/mend-stop.1 +1 -1
  87. package/man/mend-ui.1 +1 -1
  88. package/man/mend-uninstall.1 +9 -3
  89. package/man/mend-version.1 +1 -1
  90. package/man/mend-wait.1 +1 -1
  91. package/man/mend-workspace-replace.1 +1 -1
  92. package/man/mend-worktrees-rm.1 +1 -1
  93. package/man/mend-worktrees.1 +1 -1
  94. package/man/mend.1 +5 -2
  95. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- .TH MEND-SERVICE-RESTART 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SERVICE-RESTART 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-service\-restart \- re\-run a service's recorded command, same URL
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-SERVICE-RUN 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SERVICE-RUN 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-service\-run \- start and supervise a server in the session's workspace
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-SERVICE-STOP 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SERVICE-STOP 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-service\-stop \- stop a service and close its host port
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-SESSION-SHARE 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SESSION-SHARE 1 "" "mend 0.36.0\-next.761" "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
@@ -1,4 +1,4 @@
1
- .TH MEND-SESSIONS 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SESSIONS 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-sessions \- sessions with their review facts
4
4
  .SH SYNOPSIS
package/man/mend-shell.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND-SHELL 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SHELL 1 "" "mend 0.36.0\-next.761" "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.36.0\-next.721" "mend manual"
1
+ .TH MEND-SKILLS-PUSH 1 "" "mend 0.36.0\-next.761" "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.36.0\-next.721" "mend manual"
1
+ .TH MEND-SKILLS 1 "" "mend 0.36.0\-next.761" "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.36.0\-next.721" "mend manual"
1
+ .TH MEND-SNAKE 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-snake \- the dashboard, with snake over it
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-SSH-KEYS-REMOVE 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SSH-KEYS-REMOVE 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-ssh\-keys\-remove \- stop the workspace ssh gateway accepting one of your keys
4
4
  .SH SYNOPSIS
@@ -6,7 +6,7 @@ mend\-ssh\-keys\-remove \- stop the workspace ssh gateway accepting one of your
6
6
  .br
7
7
  .SH DESCRIPTION
8
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. A connection already open stays open until it ends.
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
10
  .PP
11
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
12
  .SH EXAMPLES
@@ -1,4 +1,4 @@
1
- .TH MEND-SSH-KEYS 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SSH-KEYS 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-ssh\-keys \- your registered workspace ssh keys, from every machine
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-SSH-SETUP 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SSH-SETUP 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-ssh\-setup \- make this machine ready to ssh into workspaces, once
4
4
  .SH SYNOPSIS
package/man/mend-ssh.1 CHANGED
@@ -1,11 +1,20 @@
1
- .TH MEND-SSH 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-SSH 1 "" "mend 0.36.0\-next.761" "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
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.36.0\-next.721" "mend manual"
1
+ .TH MEND-STOP 1 "" "mend 0.36.0\-next.761" "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.36.0\-next.721" "mend manual"
1
+ .TH MEND-UI 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-ui \- the dashboard: every project and session, live
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-UNINSTALL 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-UNINSTALL 1 "" "mend 0.36.0\-next.761" "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 asks the server to remove the workspace SSH key this machine registered and to revoke this terminal's device token, then removes cli.json, the workspace SSH key file, and the managed block in ~/.ssh/config. The key is found by its public half; a key the server 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.
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. 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.36.0\-next.721" "mend manual"
1
+ .TH MEND-VERSION 1 "" "mend 0.36.0\-next.761" "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
package/man/mend-wait.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND-WAIT 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-WAIT 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-wait \- wait for a session's command to end
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-WORKSPACE-REPLACE 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-WORKSPACE-REPLACE 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-workspace\-replace \- replace a workspace that started before Mend 0.36
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-WORKTREES-RM 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-WORKTREES-RM 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-worktrees\-rm \- remove a worktree, its sessions and its change
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-WORKTREES 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND-WORKTREES 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend\-worktrees \- every worktree and the sessions inside it
4
4
  .SH SYNOPSIS
package/man/mend.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND 1 "" "mend 0.36.0\-next.721" "mend manual"
1
+ .TH MEND 1 "" "mend 0.36.0\-next.761" "mend manual"
2
2
  .SH NAME
3
3
  mend \- the agent workbench
4
4
  .SH SYNOPSIS
@@ -249,7 +249,7 @@ print a bounded tail of the installation's container logs
249
249
  upgrade to an explicit version with a database backup
250
250
  .TP
251
251
  .B mend ssh
252
- workspace SSH status: gateway, registered keys, ssh config
252
+ workspace SSH status, or the ssh command for one session
253
253
  .TP
254
254
  .B mend ssh setup
255
255
  make this machine ready to ssh into workspaces, once
@@ -290,6 +290,9 @@ a token in place of the saved login
290
290
  .TP
291
291
  .B MEND_DETACH_KEY
292
292
  the detach chord; default Ctrl+]. none when an outer multiplexer owns detaching
293
+ .TP
294
+ .B MEND_DEBUG
295
+ 1 prints each refused call, its status and its tag on stderr
293
296
  .SH FILES
294
297
  .TP
295
298
  .B ~/.config/mend/cli.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sealant/mend",
3
- "version": "0.36.0-next.721",
3
+ "version": "0.36.0-next.761",
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": {
@@ -30,17 +30,17 @@
30
30
  "man": "./man"
31
31
  },
32
32
  "engines": {
33
- "node": ">=22"
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
40
  "react": "19.2.3",
41
41
  "undici": "^7.28.0"
42
42
  },
43
- "gitHead": "5bbbe9229529da18e69910d889a40ffa07572b66",
43
+ "gitHead": "652abc22b7827a3d160b10f53fe8723c25de0d73",
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  }