@sealant/mend 0.36.0-next.652 → 0.36.0-next.663

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 (92) hide show
  1. package/dist/{chunk-CXW54BC3.js → chunk-VOP6USOZ.js} +103 -77
  2. package/dist/{dashboard-KYXY2JIF.js → dashboard-CEJN6IOO.js} +1 -1
  3. package/dist/main.js +707 -116
  4. package/man/mend-accounts.1 +1 -1
  5. package/man/mend-adopt.1 +1 -1
  6. package/man/mend-attach.1 +1 -1
  7. package/man/mend-codex.1 +1 -1
  8. package/man/mend-completions.1 +1 -1
  9. package/man/mend-connect-pi.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 +1 -1
  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-logs.1 +26 -0
  34. package/man/mend-man.1 +1 -1
  35. package/man/mend-members.1 +1 -1
  36. package/man/mend-memory-import.1 +1 -1
  37. package/man/mend-memory-rm.1 +1 -1
  38. package/man/mend-memory-show.1 +1 -1
  39. package/man/mend-memory.1 +1 -1
  40. package/man/mend-models.1 +1 -1
  41. package/man/mend-operator-exposure.1 +1 -1
  42. package/man/mend-operator-gate.1 +1 -1
  43. package/man/mend-operator-grant-owner.1 +1 -1
  44. package/man/mend-operator-org-create.1 +1 -1
  45. package/man/mend-operator-org-invite-owner.1 +1 -1
  46. package/man/mend-operator-org-list.1 +1 -1
  47. package/man/mend-operator-org-rename.1 +1 -1
  48. package/man/mend-operator-reset-link.1 +1 -1
  49. package/man/mend-pair.1 +1 -1
  50. package/man/mend-projects.1 +10 -2
  51. package/man/mend-pull.1 +1 -1
  52. package/man/mend-refresh.1 +1 -1
  53. package/man/mend-rejoin.1 +1 -1
  54. package/man/mend-resume.1 +1 -1
  55. package/man/mend-run.1 +35 -4
  56. package/man/mend-secrets-add.1 +1 -1
  57. package/man/mend-secrets-rm.1 +1 -1
  58. package/man/mend-secrets.1 +1 -1
  59. package/man/mend-server-logs.1 +1 -1
  60. package/man/mend-server-restart.1 +1 -1
  61. package/man/mend-server-setup.1 +1 -1
  62. package/man/mend-server-start.1 +1 -1
  63. package/man/mend-server-status.1 +1 -1
  64. package/man/mend-server-stop.1 +1 -1
  65. package/man/mend-server-upgrade.1 +1 -1
  66. package/man/mend-server.1 +1 -1
  67. package/man/mend-service-add.1 +1 -1
  68. package/man/mend-service-connect.1 +1 -1
  69. package/man/mend-service-init.1 +1 -1
  70. package/man/mend-service-list.1 +1 -1
  71. package/man/mend-service-logs.1 +3 -1
  72. package/man/mend-service-restart.1 +1 -1
  73. package/man/mend-service-run.1 +8 -3
  74. package/man/mend-service-stop.1 +1 -1
  75. package/man/mend-session-share.1 +1 -1
  76. package/man/mend-sessions.1 +1 -1
  77. package/man/mend-shell.1 +1 -1
  78. package/man/mend-skills-push.1 +1 -1
  79. package/man/mend-skills.1 +1 -1
  80. package/man/mend-snake.1 +1 -1
  81. package/man/mend-ssh-setup.1 +1 -1
  82. package/man/mend-ssh.1 +1 -1
  83. package/man/mend-stop.1 +1 -1
  84. package/man/mend-ui.1 +1 -1
  85. package/man/mend-uninstall.1 +1 -1
  86. package/man/mend-version.1 +1 -1
  87. package/man/mend-wait.1 +28 -0
  88. package/man/mend-workspace-replace.1 +1 -1
  89. package/man/mend-worktrees-rm.1 +1 -1
  90. package/man/mend-worktrees.1 +1 -1
  91. package/man/mend.1 +8 -2
  92. package/package.json +2 -2
@@ -1,18 +1,23 @@
1
- .TH MEND-SERVICE-RUN 1 "" "mend 0.36.0\-next.652" "mend manual"
1
+ .TH MEND-SERVICE-RUN 1 "" "mend 0.36.0\-next.663" "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
5
- .B mend service run [session] \-\-port <port> [\-\-name <n>] [\-\-udp] [\-\-http|\-\-https] [\-\-no\-connect] \-\- <command...>
5
+ .B mend service run [session] \-\-port <port> [\-\-name <n>] [\-\-udp] [\-\-http|\-\-https] [\-\-wait] [\-\-no\-connect] \-\- <command...>
6
6
  .br
7
- .B mend service run [session] <name> [\-\-no\-connect]
7
+ .B mend service run [session] <name> [\-\-wait] [\-\-no\-connect]
8
8
  .br
9
9
  .SH DESCRIPTION
10
10
  .PP
11
11
  With \-\-, the command after it is started in the workspace and supervised: its output is recorded, and mend service restart re\-runs it. Without \-\-, the name is a Service declared in the worktree's mend.toml. mend service <name> is the shorthand for that.
12
12
  .PP
13
+ Mend waits up to a minute for the port to answer before it returns. \-\-wait makes the exit status say how that ended: 0 once the port answered, 1 when it did not, and 124 when the server gave no answer within 90 seconds. The Service keeps running in every case. A waited start returns and opens no tunnel; mend service connect reaches the port. UDP has no probe, and a recipe that declares only a port is adopted with one probe, so \-\-wait takes neither.
14
+ .PP
13
15
  The port is tunnelled to this machine's loopback as soon as it listens, unless \-\-no\-connect.
14
16
  .SH OPTIONS
15
17
  .TP
18
+ .B \-\-wait
19
+ exit 1 when the port did not answer, 124 with no answer in 90 s; no tunnel
20
+ .TP
16
21
  .B \-\-port <port>
17
22
  the port the command listens on inside the workspace
18
23
  .TP
@@ -1,4 +1,4 @@
1
- .TH MEND-SERVICE-STOP 1 "" "mend 0.36.0\-next.652" "mend manual"
1
+ .TH MEND-SERVICE-STOP 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-SESSION-SHARE 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-SESSIONS 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-SHELL 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-SKILLS-PUSH 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-SKILLS 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-SNAKE 1 "" "mend 0.36.0\-next.663" "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-SETUP 1 "" "mend 0.36.0\-next.652" "mend manual"
1
+ .TH MEND-SSH-SETUP 1 "" "mend 0.36.0\-next.663" "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,4 +1,4 @@
1
- .TH MEND-SSH 1 "" "mend 0.36.0\-next.652" "mend manual"
1
+ .TH MEND-SSH 1 "" "mend 0.36.0\-next.663" "mend manual"
2
2
  .SH NAME
3
3
  mend\-ssh \- workspace SSH status: gateway, registered keys, ssh config
4
4
  .SH SYNOPSIS
package/man/mend-stop.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MEND-STOP 1 "" "mend 0.36.0\-next.652" "mend manual"
1
+ .TH MEND-STOP 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-UI 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-UNINSTALL 1 "" "mend 0.36.0\-next.663" "mend manual"
2
2
  .SH NAME
3
3
  mend\-uninstall \- remove the server, this machine's Mend files, or both
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH MEND-VERSION 1 "" "mend 0.36.0\-next.652" "mend manual"
1
+ .TH MEND-VERSION 1 "" "mend 0.36.0\-next.663" "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.663" "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 <seconds>] [\-\-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
+ When \-\-timeout passes first, mend wait exits 124, as timeout(1) does, and the command keeps running. 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 <seconds>
17
+ give up after this long; 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)
@@ -1,4 +1,4 @@
1
- .TH MEND-WORKSPACE-REPLACE 1 "" "mend 0.36.0\-next.652" "mend manual"
1
+ .TH MEND-WORKSPACE-REPLACE 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-WORKTREES-RM 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND-WORKTREES 1 "" "mend 0.36.0\-next.663" "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.652" "mend manual"
1
+ .TH MEND 1 "" "mend 0.36.0\-next.663" "mend manual"
2
2
  .SH NAME
3
3
  mend \- the agent workbench
4
4
  .SH SYNOPSIS
@@ -52,6 +52,12 @@ open a shell in a live session's workspace
52
52
  .B mend run
53
53
  run any command as a session
54
54
  .TP
55
+ .B mend logs
56
+ print a session's recorded terminal output
57
+ .TP
58
+ .B mend wait
59
+ wait for a session's command to end
60
+ .TP
55
61
  .B mend continue
56
62
  resume a session with its pending review follow\-up
57
63
  .TP
@@ -286,4 +292,4 @@ url, token, and device id from mend login
286
292
  .B ~/.config/mend/keys/
287
293
  the deploy key from mend keys init
288
294
  .SH SEE ALSO
289
- mend\-login(1), mend\-connect(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\-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\-accounts(1), mend\-logout(1), mend\-uninstall(1), mend\-completions(1), mend\-version(1), mend\-help(1), mend\-man(1)
295
+ mend\-login(1), mend\-connect(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\-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,6 +1,6 @@
1
1
  {
2
2
  "name": "@sealant/mend",
3
- "version": "0.36.0-next.652",
3
+ "version": "0.36.0-next.663",
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": "fd40cbfdc2163abc127ec5e1d95a1002e79c5542",
43
+ "gitHead": "2b3a255053fcbb2a4122f59cb71aa12835c624f0",
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  }