@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-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
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.TH MEND-LOGS 1 "" "mend 0.36.0\-next.663" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-logs \- print a session's recorded terminal output
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend logs [session] [\-\-follow] [\-\-from <sequence>] [\-\-process <id>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Prints what the session's command (or agent) wrote to its terminal, as the record holds it, on stdout. Settled sessions count: the record outlives the process and the workspace. \-\-follow keeps printing until the process ends. The record is printed as it is, nothing taken out: anyone who can read the project can read it, so what a command printed, a password included, reaches them too. A signal stops it and puts the terminal back, exiting 128 + its number: 130 for SIGINT (Ctrl+C), 129 for SIGHUP, 143 for SIGTERM.
|
|
10
|
+
.PP
|
|
11
|
+
<session> is the session id, a prefix of it, or the worktree's name. With none, the one live session is taken. \-\-process reads another process of the session, a shell or a Service attempt, by a prefix of its id.
|
|
12
|
+
.SH OPTIONS
|
|
13
|
+
.TP
|
|
14
|
+
.B \-\-follow, \-f
|
|
15
|
+
keep printing until the process ends
|
|
16
|
+
.TP
|
|
17
|
+
.B \-\-from <sequence>
|
|
18
|
+
start at a record sequence. Default: 0
|
|
19
|
+
.TP
|
|
20
|
+
.B \-\-process <id>
|
|
21
|
+
another process of the session, by a prefix of its id
|
|
22
|
+
.SH EXAMPLES
|
|
23
|
+
.PP
|
|
24
|
+
.B mend logs 3f2a \-\-follow
|
|
25
|
+
.SH SEE ALSO
|
|
26
|
+
mend(1), mend\-run(1), mend\-wait(1), mend\-service\-logs(1)
|
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.663" "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
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
.TH MEND-PROJECTS 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-PROJECTS 1 "" "mend 0.36.0\-next.663" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-projects \- adopted projects and their live sessions
|
|
4
4
|
.SH SYNOPSIS
|
|
5
|
-
.B mend projects
|
|
5
|
+
.B mend projects [\-\-json]
|
|
6
6
|
.br
|
|
7
7
|
.SH DESCRIPTION
|
|
8
8
|
.PP
|
|
9
9
|
One line per project, with the sessions running in it.
|
|
10
|
+
.PP
|
|
11
|
+
\-\-json prints them for scripts, stable like mend sessions \-\-json: {"version": 1, "projects": [...]}, an empty list when there are none. Each project has id, name, originUrl (a string, or null), defaultBranch, storePath, liveSessions (a number) and current (true when the current directory is inside it).
|
|
12
|
+
.PP
|
|
13
|
+
A repository URL is printed without its credentials: https://oauth2:TOKEN@github.com/acme/repo.git reads as https://github.com/acme/repo.git, here and in every line, message and JSON the CLI prints itself; an ssh URL keeps its user and loses only the password. A command's recorded output (mend run, mend logs, mend service logs, mend attach) and a file's contents (mend memory show) are printed as they are, and a session's record is readable by anyone who can read the project.
|
|
14
|
+
.SH OPTIONS
|
|
15
|
+
.TP
|
|
16
|
+
.B \-\-json
|
|
17
|
+
the projects as JSON
|
|
10
18
|
.SH SEE ALSO
|
|
11
19
|
mend(1), mend\-adopt(1), mend\-sessions(1)
|
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
|
@@ -1,18 +1,49 @@
|
|
|
1
|
-
.TH MEND-RUN 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-RUN 1 "" "mend 0.36.0\-next.663" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-run \- run any command as a session
|
|
4
4
|
.SH SYNOPSIS
|
|
5
|
-
.B mend run [\-\-project <p>] \-\- <command...>
|
|
5
|
+
.B mend run [\-\-project <p>] [\-\-name <n> | \-\-worktree <n>] [\-\-base <ref>] [\-\-detach] [\-\-json] \-\- <command...>
|
|
6
6
|
.br
|
|
7
7
|
.SH DESCRIPTION
|
|
8
8
|
.PP
|
|
9
9
|
The same worktree, record, and review as mend codex, with a command of your own in place of a harness. Everything after \-\- is the command.
|
|
10
|
+
.PP
|
|
11
|
+
The command's output is printed as the record has it, and mend run exits with the command's exit code. It runs in a terminal, so stdout and stderr arrive together, on stdout. What Mend says itself goes to stderr, so out=$(mend run \-\- git log \-1) holds the command's output and nothing else. Ctrl+C stops watching and puts the terminal back; the command keeps running, and mend logs and mend wait pick it up again. A signal exits 128 + its number: 130 for SIGINT (Ctrl+C), 129 for SIGHUP, 143 for SIGTERM. A second signal exits at once, and an exit waits at most 5 seconds for a reader that takes nothing, then says the output may be incomplete.
|
|
12
|
+
.PP
|
|
13
|
+
Output this terminal could not be given in full (a read the server refused, a reader that went away) fails mend run with exit 1 even when the command succeeded, and the command's own code is said on stderr: a script never takes cut output for the whole of it.
|
|
14
|
+
.PP
|
|
15
|
+
The platform takes at most 64 words, none empty and none starting or ending with whitespace (a script that starts with a newline, for example). Such a command is refused before anything is created; trim the word and run it again.
|
|
16
|
+
.PP
|
|
17
|
+
With \-\-detach, mend run returns once the command runs. With \-\-json, stdout carries one JSON object in place of the output: the session id, the process id, the worktree, the branch, and the process's status and exit code as last observed, which is how it ended without \-\-detach (and with it, when the command ended first).
|
|
18
|
+
.PP
|
|
19
|
+
Workspaces set PAGER=cat, so git log and friends print instead of waiting for a pager the image does not have. A project variable of the same name, or the pager in your own git config, wins.
|
|
10
20
|
.SH OPTIONS
|
|
11
21
|
.TP
|
|
12
22
|
.B \-\-project <p>
|
|
13
23
|
the project by name, when the current directory is not inside it
|
|
24
|
+
.TP
|
|
25
|
+
.B \-\-name <n>
|
|
26
|
+
name the worktree; an existing name joins it
|
|
27
|
+
.TP
|
|
28
|
+
.B \-\-worktree <n>
|
|
29
|
+
join an existing worktree only
|
|
30
|
+
.TP
|
|
31
|
+
.B \-\-base <ref>
|
|
32
|
+
create the worktree from another git base
|
|
33
|
+
.TP
|
|
34
|
+
.B \-\-detach, \-d
|
|
35
|
+
return once the command runs
|
|
36
|
+
.TP
|
|
37
|
+
.B \-\-json
|
|
38
|
+
print the session and process ids, and the end, as JSON
|
|
14
39
|
.SH EXAMPLES
|
|
15
40
|
.PP
|
|
16
|
-
.B mend run \-\-
|
|
41
|
+
.B mend run \-\- pnpm test
|
|
42
|
+
.br
|
|
43
|
+
the test output here, exit code included
|
|
44
|
+
.PP
|
|
45
|
+
.B id=$(mend run \-\-detach \-\-json \-\- make build | jq \-r .sessionId)
|
|
46
|
+
.br
|
|
47
|
+
start it, then mend wait $id
|
|
17
48
|
.SH SEE ALSO
|
|
18
|
-
mend(1), mend\-codex(1)
|
|
49
|
+
mend(1), mend\-logs(1), mend\-wait(1), mend\-codex(1)
|
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH MEND-SERVICE-LOGS 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-SERVICE-LOGS 1 "" "mend 0.36.0\-next.663" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-service\-logs \- follow a supervised service's output
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -7,6 +7,8 @@ mend\-service\-logs \- follow a supervised service's output
|
|
|
7
7
|
.SH DESCRIPTION
|
|
8
8
|
.PP
|
|
9
9
|
Replays the recorded output, then follows it live. Ctrl\-C stops following.
|
|
10
|
+
.PP
|
|
11
|
+
The record is printed as it is, nothing taken out, and anyone who can read the project can read it: what the Service printed, a password included, reaches them too.
|
|
10
12
|
.SH OPTIONS
|
|
11
13
|
.TP
|
|
12
14
|
.B \-\-from <sequence>
|