@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.
- package/dist/{chunk-CXW54BC3.js → chunk-VOP6USOZ.js} +103 -77
- package/dist/{dashboard-KYXY2JIF.js → dashboard-CEJN6IOO.js} +1 -1
- package/dist/main.js +707 -116
- 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 +26 -0
- 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 +10 -2
- 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 +35 -4
- 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 +3 -1
- package/man/mend-service-restart.1 +1 -1
- package/man/mend-service-run.1 +8 -3
- package/man/mend-service-stop.1 +1 -1
- package/man/mend-session-share.1 +1 -1
- package/man/mend-sessions.1 +1 -1
- package/man/mend-shell.1 +1 -1
- package/man/mend-skills-push.1 +1 -1
- package/man/mend-skills.1 +1 -1
- package/man/mend-snake.1 +1 -1
- package/man/mend-ssh-setup.1 +1 -1
- package/man/mend-ssh.1 +1 -1
- package/man/mend-stop.1 +1 -1
- package/man/mend-ui.1 +1 -1
- package/man/mend-uninstall.1 +1 -1
- package/man/mend-version.1 +1 -1
- package/man/mend-wait.1 +28 -0
- 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 +8 -2
- package/package.json +2 -2
package/man/mend-service-run.1
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
.TH MEND-SERVICE-RUN 1 "" "mend 0.36.0\-next.
|
|
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
|
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-setup.1
CHANGED
package/man/mend-ssh.1
CHANGED
package/man/mend-stop.1
CHANGED
package/man/mend-ui.1
CHANGED
package/man/mend-uninstall.1
CHANGED
package/man/mend-version.1
CHANGED
package/man/mend-wait.1
ADDED
|
@@ -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)
|
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.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.
|
|
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": "
|
|
43
|
+
"gitHead": "2b3a255053fcbb2a4122f59cb71aa12835c624f0",
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
}
|