@sealant/mend 0.17.0 → 0.19.0
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/dashboard-model.js +9 -1
- package/dist/dashboard.js +45 -1
- package/dist/help.js +824 -0
- package/dist/main.js +82 -116
- package/dist/version.js +48 -0
- package/man/mend-accounts.1 +11 -0
- package/man/mend-adopt.1 +27 -0
- package/man/mend-attach.1 +13 -0
- package/man/mend-codex.1 +60 -0
- package/man/mend-completions.1 +14 -0
- package/man/mend-connect.1 +25 -0
- package/man/mend-continue.1 +11 -0
- package/man/mend-doctor.1 +11 -0
- package/man/mend-dotfiles-sync.1 +15 -0
- package/man/mend-dotfiles.1 +11 -0
- package/man/mend-env-cluster.1 +26 -0
- package/man/mend-env-load.1 +21 -0
- package/man/mend-env-show.1 +15 -0
- package/man/mend-help.1 +11 -0
- package/man/mend-keys-init.1 +11 -0
- package/man/mend-keys-share.1 +11 -0
- package/man/mend-keys-show.1 +11 -0
- package/man/mend-login.1 +20 -0
- package/man/mend-logout.1 +11 -0
- package/man/mend-man.1 +11 -0
- package/man/mend-pair.1 +15 -0
- package/man/mend-projects.1 +11 -0
- package/man/mend-refresh.1 +11 -0
- package/man/mend-rejoin.1 +15 -0
- package/man/mend-resume.1 +15 -0
- package/man/mend-run.1 +18 -0
- package/man/mend-service-add.1 +21 -0
- package/man/mend-service-connect.1 +15 -0
- package/man/mend-service-init.1 +15 -0
- package/man/mend-service-list.1 +11 -0
- package/man/mend-service-logs.1 +15 -0
- package/man/mend-service-restart.1 +11 -0
- package/man/mend-service-run.1 +38 -0
- package/man/mend-service-stop.1 +11 -0
- package/man/mend-sessions.1 +27 -0
- package/man/mend-shell.1 +13 -0
- package/man/mend-skills-push.1 +21 -0
- package/man/mend-skills.1 +15 -0
- package/man/mend-ssh-setup.1 +15 -0
- package/man/mend-ssh.1 +11 -0
- package/man/mend-stop.1 +22 -0
- package/man/mend-ui.1 +13 -0
- package/man/mend-version.1 +11 -0
- package/man/mend-worktrees.1 +18 -0
- package/man/mend.1 +165 -0
- package/package.json +8 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.TH MEND-ENV-CLUSTER 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-env\-cluster \- bind Kubernetes secrets and configmaps to the workspaces
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend env cluster add secret|configmap <name>
|
|
6
|
+
.br
|
|
7
|
+
.B mend env cluster remove <kind>/<name>
|
|
8
|
+
.br
|
|
9
|
+
.B mend env cluster sa <name> | sa \-\-clear
|
|
10
|
+
.br
|
|
11
|
+
.B mend env cluster [\-\-project <p>]
|
|
12
|
+
.br
|
|
13
|
+
.SH DESCRIPTION
|
|
14
|
+
.PP
|
|
15
|
+
For a Mend server running in Kubernetes. The platform mounts the named objects into the project's workspaces at launch; Mend never reads their contents. sa sets the service account the workspaces run as. Changes apply from the next launch; running workspaces keep what they started with.
|
|
16
|
+
.SH OPTIONS
|
|
17
|
+
.TP
|
|
18
|
+
.B \-\-project <p>
|
|
19
|
+
the project by name, when the current directory is not inside it
|
|
20
|
+
.SH EXAMPLES
|
|
21
|
+
.PP
|
|
22
|
+
.B mend env cluster add secret app\-env
|
|
23
|
+
.PP
|
|
24
|
+
.B mend env cluster remove secret/app\-env
|
|
25
|
+
.SH SEE ALSO
|
|
26
|
+
mend(1), mend\-env\-load(1)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.TH MEND-ENV-LOAD 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-env\-load \- load a .env into the project
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend env load [file] [\-\-project <p>] [\-\-secret [A,B]]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Ordinary names become configuration. Secret\-shaped names (KEY, TOKEN, PASSWORD, and the like) become secrets, which Mend stores encrypted and never shows again. Sessions receive both at launch. Default file: .env in the current directory.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-project <p>
|
|
13
|
+
the project by name, when the current directory is not inside it
|
|
14
|
+
.TP
|
|
15
|
+
.B \-\-secret [A,B]
|
|
16
|
+
send every name to secrets, or only the named ones, e.g. DATABASE_URL
|
|
17
|
+
.SH EXAMPLES
|
|
18
|
+
.PP
|
|
19
|
+
.B mend env load .env.production \-\-secret DATABASE_URL,STRIPE_KEY
|
|
20
|
+
.SH SEE ALSO
|
|
21
|
+
mend(1), mend\-env\-show(1), mend\-env\-cluster(1)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-ENV-SHOW 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-env\-show \- what the project store holds: names only, never values
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend env show [\-\-project <p>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Configuration names and secret names for the project. Values never print.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-project <p>
|
|
13
|
+
the project by name, when the current directory is not inside it
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-env\-load(1)
|
package/man/mend-help.1
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-HELP 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-help \- this index, or one command's page
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend help [command...]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
mend help alone lists every command by section. mend help <command> prints that command's page: usage, description, options, examples. mend <command> \-\-help is the same page.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-man(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-KEYS-INIT 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-keys\-init \- generate this machine's Mend deploy key (ed25519)
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend keys init
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Creates a key under ~/.config/mend/keys for projects adopted with \-\-auth mend\-key. Add the public key on your git host as a deploy key.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-keys\-show(1), mend\-adopt(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-KEYS-SHARE 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-keys\-share \- relay this machine's ssh\-agent to the server
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend keys share
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Bridge mode for projects adopted with \-\-auth bridge: the server's git operations sign with the keys in this machine's ssh\-agent, so hardware keys never leave here. Runs until Ctrl\-C.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-adopt(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-KEYS-SHOW 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-keys\-show \- print the public key
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend keys show
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
The key to add as a deploy key on your git host.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-keys\-init(1)
|
package/man/mend-login.1
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.TH MEND-LOGIN 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-login \- sign this terminal in through the browser
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend login [\-\-url <server>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Opens <server>/authorize in your browser. You press Authorize there. The CLI saves a device token to ~/.config/mend/cli.json with mode 0600. No password is typed in the terminal, and the token can be revoked from the server at any time.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-url <server>
|
|
13
|
+
the Mend server. Default: MEND_URL, then http://localhost:3105
|
|
14
|
+
.SH EXAMPLES
|
|
15
|
+
.PP
|
|
16
|
+
.B mend login \-\-url http://10.0.0.216:3105
|
|
17
|
+
.br
|
|
18
|
+
sign in to a LAN server
|
|
19
|
+
.SH SEE ALSO
|
|
20
|
+
mend(1), mend\-logout(1), mend\-pair(1), mend\-doctor(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-LOGOUT 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-logout \- revoke this terminal's device token and forget it
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend logout
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Other terminals and devices keep their own tokens.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-login(1)
|
package/man/mend-man.1
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-MAN 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-man \- one command's page, or the whole manual, in man
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend man [command...]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Renders the same pages as roff and opens them in man. Without man on the PATH, the text page prints instead. The npm package also installs mend(1) and mend\-<command>(1), so man mend works after a global install.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-help(1)
|
package/man/mend-pair.1
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-PAIR 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-pair \- pair a phone or a second machine
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend pair [\-\-url <base url>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Prints a QR code, the code itself, and the URL this server is reached at. The pairing is for one device, once, and expires after 10 minutes.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-url <base url>
|
|
13
|
+
the address the other device should use for this server
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-login(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-PROJECTS 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-projects \- adopted projects and their live sessions
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend projects
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
One line per project, with the sessions running in it.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-adopt(1), mend\-sessions(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-REFRESH 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-refresh \- fetch origin's branches into the store
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend refresh [project]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
New sessions base on the tips the store holds; this brings them up to date with origin. Default: the project the current directory belongs to.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-adopt(1)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-REJOIN 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-rejoin \- attach if live, otherwise resume
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend rejoin [session\-id] [\-\-harness <h>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
With no id, the newest live session wins; failing that, the newest settled one.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-harness <h>
|
|
13
|
+
the harness to resume with, when resuming
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-attach(1), mend\-resume(1)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-RESUME 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-resume \- rejoin a settled session with its state restored
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend resume [session\-id] [\-\-with <harness>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Starts a new agent process from the saved harness state, so the conversation continues where it stopped. \-\-with switches the harness; the conversation carries over between claude and codex.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-with <harness>
|
|
13
|
+
claude or codex; default: the one the session used
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-stop(1), mend\-rejoin(1)
|
package/man/mend-run.1
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.TH MEND-RUN 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-run \- run any command as a session
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend run [\-\-project <p>] \-\- <command...>
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
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
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-project <p>
|
|
13
|
+
the project by name, when the current directory is not inside it
|
|
14
|
+
.SH EXAMPLES
|
|
15
|
+
.PP
|
|
16
|
+
.B mend run \-\- aider \-\-model gpt\-5
|
|
17
|
+
.SH SEE ALSO
|
|
18
|
+
mend(1), mend\-codex(1)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.TH MEND-SERVICE-ADD 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-service\-add \- adopt a port something in the workspace already listens on
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend service add [session] <port> [\-\-name <n>] [\-\-udp] [\-\-http|\-\-https]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
For a server the agent started itself. The port becomes a Service, reachable on this machine like one mend service run started.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-name <n>
|
|
13
|
+
the service's name. Default: the port
|
|
14
|
+
.TP
|
|
15
|
+
.B \-\-udp
|
|
16
|
+
a UDP port
|
|
17
|
+
.TP
|
|
18
|
+
.B \-\-http, \-\-https
|
|
19
|
+
how a browser should open it
|
|
20
|
+
.SH SEE ALSO
|
|
21
|
+
mend(1), mend\-service\-run(1), mend\-service\-list(1)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-SERVICE-CONNECT 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-service\-connect \- bring live Services to this machine's loopback
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend service connect [name...] [\-\-port <p>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Each connection tunnels through the server, authenticated as you. With no names, every live Service. Ctrl\-C closes them.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-port <p>
|
|
13
|
+
the local port, when connecting one Service
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-service\-list(1)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-SERVICE-INIT 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-service\-init \- scaffold mend.toml from package.json and compose ports
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend service init [\-\-yes]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Writes a mend.toml in the current repository with one Service per script and exposed port it can find. Edit it afterwards; sessions read it from their worktree.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-yes
|
|
13
|
+
write without asking
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-service\-run(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-SERVICE-LIST 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-service\-list \- every live service and its observed state
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend service list
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Name, session, port, whether it listens, and where it is reachable from here.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-service\-run(1), mend\-service\-connect(1)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-SERVICE-LOGS 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-service\-logs \- follow a supervised service's output
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend service logs <name\-or\-id> [\-\-from <sequence>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Replays the recorded output, then follows it live. Ctrl\-C stops following.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-from <sequence>
|
|
13
|
+
start the replay at a record sequence
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-service\-run(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-SERVICE-RESTART 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-service\-restart \- re\-run a service's recorded command, same URL
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend service restart <name\-or\-id>
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
The port and the local address stay the same, so open tabs keep working.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-service\-stop(1)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.TH MEND-SERVICE-RUN 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-service\-run \- start and supervise a server in the session's workspace
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend service run [session] \-\-port <port> [\-\-name <n>] [\-\-udp] [\-\-http|\-\-https] [\-\-no\-connect] \-\- <command...>
|
|
6
|
+
.br
|
|
7
|
+
.B mend service run [session] <name> [\-\-no\-connect]
|
|
8
|
+
.br
|
|
9
|
+
.SH DESCRIPTION
|
|
10
|
+
.PP
|
|
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
|
+
.PP
|
|
13
|
+
The port is tunnelled to this machine's loopback as soon as it listens, unless \-\-no\-connect.
|
|
14
|
+
.SH OPTIONS
|
|
15
|
+
.TP
|
|
16
|
+
.B \-\-port <port>
|
|
17
|
+
the port the command listens on inside the workspace
|
|
18
|
+
.TP
|
|
19
|
+
.B \-\-name <n>
|
|
20
|
+
the service's name. Default: the command
|
|
21
|
+
.TP
|
|
22
|
+
.B \-\-udp
|
|
23
|
+
a UDP port
|
|
24
|
+
.TP
|
|
25
|
+
.B \-\-http, \-\-https
|
|
26
|
+
how a browser should open it
|
|
27
|
+
.TP
|
|
28
|
+
.B \-\-no\-connect
|
|
29
|
+
do not tunnel the port to this machine
|
|
30
|
+
.SH EXAMPLES
|
|
31
|
+
.PP
|
|
32
|
+
.B mend service run \-\-port 3000 \-\- pnpm dev
|
|
33
|
+
.PP
|
|
34
|
+
.B mend service web
|
|
35
|
+
.br
|
|
36
|
+
the Service named web in mend.toml
|
|
37
|
+
.SH SEE ALSO
|
|
38
|
+
mend(1), mend\-service\-init(1), mend\-service\-connect(1), mend\-service\-logs(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-SERVICE-STOP 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-service\-stop \- stop a service and close its host port
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend service stop <name\-or\-id>
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Ends the process and the tunnel. The record of its output remains.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-service\-restart(1)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.TH MEND-SESSIONS 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-sessions \- sessions with their review facts
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend sessions [\-\-all] [\-\-project <p>] [\-\-json | \-\-json=v2]
|
|
6
|
+
.br
|
|
7
|
+
also mend status, with the same options
|
|
8
|
+
.SH DESCRIPTION
|
|
9
|
+
.PP
|
|
10
|
+
One line per session: harness, worktree, status, and what the review found. Live sessions by default.
|
|
11
|
+
.PP
|
|
12
|
+
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
|
+
.SH OPTIONS
|
|
14
|
+
.TP
|
|
15
|
+
.B \-\-all
|
|
16
|
+
settled sessions too
|
|
17
|
+
.TP
|
|
18
|
+
.B \-\-project <p>
|
|
19
|
+
the project by name, when the current directory is not inside it
|
|
20
|
+
.TP
|
|
21
|
+
.B \-\-json
|
|
22
|
+
the v1 flat list
|
|
23
|
+
.TP
|
|
24
|
+
.B \-\-json=v2
|
|
25
|
+
grouped by worktree
|
|
26
|
+
.SH SEE ALSO
|
|
27
|
+
mend(1), mend\-worktrees(1), mend\-projects(1)
|
package/man/mend-shell.1
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.TH MEND-SHELL 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-shell \- open a shell in a live session's workspace
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend shell [session\-id\-prefix]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
A second terminal into the same workspace the agent works in, beside it. Useful for running the tests yourself or looking at a file.
|
|
10
|
+
.PP
|
|
11
|
+
With no id, the one live session is taken; with several, a picker opens. A prefix of the id is enough.
|
|
12
|
+
.SH SEE ALSO
|
|
13
|
+
mend(1), mend\-attach(1), mend\-service\-run(1)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.TH MEND-SKILLS-PUSH 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-skills\-push \- upload ~/.agents/skills into the library
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend skills push [\-\-project [p]] [\-\-prune] [\-\-dir <path>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Scans the directory codex and claude read skills from and uploads every bundle. Sessions receive the library at launch. Unchanged bundles are skipped.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-project [p]
|
|
13
|
+
push into the project's library instead of yours
|
|
14
|
+
.TP
|
|
15
|
+
.B \-\-prune
|
|
16
|
+
remove server\-side skills the directory no longer has
|
|
17
|
+
.TP
|
|
18
|
+
.B \-\-dir <path>
|
|
19
|
+
scan another directory. Default: ~/.agents/skills
|
|
20
|
+
.SH SEE ALSO
|
|
21
|
+
mend(1), mend\-skills(1)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-SKILLS 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-skills \- your skill library on the server, or a project's
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend skills [list] [\-\-project [p]]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Skills are instruction bundles the harness loads at launch. Yours apply to every session; a project's apply to sessions in that project.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-project [p]
|
|
13
|
+
the project's library instead of yours
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-skills\-push(1)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.TH MEND-SSH-SETUP 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-ssh\-setup \- make this machine ready to ssh into workspaces, once
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend ssh setup [\-\-key <path>]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Registers a public key with the gateway (a key already in your ssh\-agent is preferred; nothing new is created unless there is none) and writes a Host mend\-ws block to ~/.ssh/config.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-key <path>
|
|
13
|
+
the public key to register
|
|
14
|
+
.SH SEE ALSO
|
|
15
|
+
mend(1), mend\-ssh(1), mend\-shell(1)
|
package/man/mend-ssh.1
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-SSH 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-ssh \- workspace SSH status: gateway, registered keys, ssh config
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend ssh [status]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Whether this machine can ssh into workspaces, and what is missing if not.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-ssh\-setup(1)
|
package/man/mend-stop.1
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.TH MEND-STOP 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-stop \- stop the agent; the record and the review remain
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend stop [session\-id\-prefix]
|
|
6
|
+
.br
|
|
7
|
+
.B mend stop \-\-all [\-\-project <p>]
|
|
8
|
+
.br
|
|
9
|
+
.SH DESCRIPTION
|
|
10
|
+
.PP
|
|
11
|
+
Ends the agent process. The workspace harvests the harness state and closes. The worktree, the record, and the review stay, and mend resume brings the conversation back.
|
|
12
|
+
.PP
|
|
13
|
+
With no id, the one live session is taken; with several, a picker opens. A prefix of the id is enough.
|
|
14
|
+
.SH OPTIONS
|
|
15
|
+
.TP
|
|
16
|
+
.B \-\-all
|
|
17
|
+
every live session
|
|
18
|
+
.TP
|
|
19
|
+
.B \-\-project <p>
|
|
20
|
+
limit \-\-all to one project by name, when the current directory is not inside it
|
|
21
|
+
.SH SEE ALSO
|
|
22
|
+
mend(1), mend\-resume(1), mend\-attach(1)
|
package/man/mend-ui.1
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.TH MEND-UI 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-ui \- the dashboard: every project and session, live
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend ui
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
A full\-screen view of every project and session, updating live. Pick a session to attach, stop, or take over. Bare mend with no command opens the same thing.
|
|
10
|
+
.PP
|
|
11
|
+
The dashboard needs Node 26 or newer for its terminal. Every other command works on Node 22.
|
|
12
|
+
.SH SEE ALSO
|
|
13
|
+
mend(1), mend\-sessions(1), mend\-attach(1)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.TH MEND-VERSION 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-version \- this CLI's version, and the server's when it answers
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend version
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Two lines: the version of this CLI, then the server's from its health route. A server that does not answer within two seconds prints as unreachable. \-\-version and \-v do the same.
|
|
10
|
+
.SH SEE ALSO
|
|
11
|
+
mend(1), mend\-doctor(1)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.TH MEND-WORKTREES 1 "" "mend 0.19.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend\-worktrees \- every worktree and the sessions inside it
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend worktrees [\-\-project <p>] [\-\-json]
|
|
6
|
+
.br
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
A worktree can hold several sessions over time; this shows them together.
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
.B \-\-project <p>
|
|
13
|
+
the project by name, when the current directory is not inside it
|
|
14
|
+
.TP
|
|
15
|
+
.B \-\-json
|
|
16
|
+
the v2 grouped shape
|
|
17
|
+
.SH SEE ALSO
|
|
18
|
+
mend(1), mend\-sessions(1)
|