@sealant/mend 0.16.0 → 0.18.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.
Files changed (51) hide show
  1. package/dist/dashboard-model.js +8 -0
  2. package/dist/dashboard.js +12 -3
  3. package/dist/help.js +824 -0
  4. package/dist/main.js +129 -127
  5. package/dist/version.js +48 -0
  6. package/man/mend-accounts.1 +11 -0
  7. package/man/mend-adopt.1 +27 -0
  8. package/man/mend-attach.1 +13 -0
  9. package/man/mend-codex.1 +60 -0
  10. package/man/mend-completions.1 +14 -0
  11. package/man/mend-connect.1 +25 -0
  12. package/man/mend-continue.1 +11 -0
  13. package/man/mend-doctor.1 +11 -0
  14. package/man/mend-dotfiles-sync.1 +15 -0
  15. package/man/mend-dotfiles.1 +11 -0
  16. package/man/mend-env-cluster.1 +26 -0
  17. package/man/mend-env-load.1 +21 -0
  18. package/man/mend-env-show.1 +15 -0
  19. package/man/mend-help.1 +11 -0
  20. package/man/mend-keys-init.1 +11 -0
  21. package/man/mend-keys-share.1 +11 -0
  22. package/man/mend-keys-show.1 +11 -0
  23. package/man/mend-login.1 +20 -0
  24. package/man/mend-logout.1 +11 -0
  25. package/man/mend-man.1 +11 -0
  26. package/man/mend-pair.1 +15 -0
  27. package/man/mend-projects.1 +11 -0
  28. package/man/mend-refresh.1 +11 -0
  29. package/man/mend-rejoin.1 +15 -0
  30. package/man/mend-resume.1 +15 -0
  31. package/man/mend-run.1 +18 -0
  32. package/man/mend-service-add.1 +21 -0
  33. package/man/mend-service-connect.1 +15 -0
  34. package/man/mend-service-init.1 +15 -0
  35. package/man/mend-service-list.1 +11 -0
  36. package/man/mend-service-logs.1 +15 -0
  37. package/man/mend-service-restart.1 +11 -0
  38. package/man/mend-service-run.1 +38 -0
  39. package/man/mend-service-stop.1 +11 -0
  40. package/man/mend-sessions.1 +27 -0
  41. package/man/mend-shell.1 +13 -0
  42. package/man/mend-skills-push.1 +21 -0
  43. package/man/mend-skills.1 +15 -0
  44. package/man/mend-ssh-setup.1 +15 -0
  45. package/man/mend-ssh.1 +11 -0
  46. package/man/mend-stop.1 +22 -0
  47. package/man/mend-ui.1 +13 -0
  48. package/man/mend-version.1 +11 -0
  49. package/man/mend-worktrees.1 +18 -0
  50. package/man/mend.1 +165 -0
  51. package/package.json +8 -3
@@ -0,0 +1,60 @@
1
+ .TH MEND-CODEX 1 "" "mend 0.18.0" "mend manual"
2
+ .SH NAME
3
+ mend\-codex \- launch codex, claude, or opencode in a recorded worktree
4
+ .SH SYNOPSIS
5
+ .B mend codex ["prompt"] [\-\-name <worktree>] [\-\-worktree <existing>] [\-\-model <id>] [\-\-effort <level>] [\-\-base <ref>] [\-\-ask] [\-\-fast] [\-\-detach|\-d] [\-\-foreground] [\-\-project <p>]
6
+ .br
7
+ also mend claude, mend opencode, with the same options
8
+ .SH DESCRIPTION
9
+ .PP
10
+ mend codex, mend claude, and mend opencode are the same command with a different harness. The session runs in a workspace on the platform, in its own git worktree, and everything it does is recorded. This terminal attaches to it.
11
+ .PP
12
+ The worktree's name is asked first. \-\-name skips the ask; an existing name joins that worktree as a new session. \-\-worktree joins only and fails if the name is unknown. A quoted prompt becomes the first message.
13
+ .PP
14
+ Detach with Ctrl+] and the session keeps running. Reattach from any terminal with mend attach, or from the phone.
15
+ .SH OPTIONS
16
+ .TP
17
+ .B \-\-name <worktree>
18
+ name the worktree; an existing name joins it
19
+ .TP
20
+ .B \-\-worktree <existing>
21
+ join an existing worktree only
22
+ .TP
23
+ .B \-\-model <id>
24
+ the harness's model id
25
+ .TP
26
+ .B \-\-effort <level>
27
+ low, medium, high, xhigh, or max
28
+ .TP
29
+ .B \-\-base <ref>
30
+ the branch or sha the worktree starts from
31
+ .TP
32
+ .B \-\-ask
33
+ keep the harness's permission prompts
34
+ .TP
35
+ .B \-\-fast
36
+ priority processing where the harness offers it (codex)
37
+ .TP
38
+ .B \-\-detach, \-d
39
+ launch without attaching
40
+ .TP
41
+ .B \-\-foreground
42
+ stop the session when this CLI exits
43
+ .TP
44
+ .B \-\-project <p>
45
+ the project by name, when the current directory is not inside it
46
+ .SH EXAMPLES
47
+ .PP
48
+ .B mend claude "add a health endpoint"
49
+ .br
50
+ asks for a worktree name, then runs
51
+ .PP
52
+ .B mend codex \-\-name auth\-rework \-d
53
+ .br
54
+ start in the background
55
+ .PP
56
+ .B mend codex \-\-worktree auth\-rework
57
+ .br
58
+ a second session in the same worktree
59
+ .SH SEE ALSO
60
+ mend(1), mend\-attach(1), mend\-stop(1), mend\-run(1), mend\-sessions(1)
@@ -0,0 +1,14 @@
1
+ .TH MEND-COMPLETIONS 1 "" "mend 0.18.0" "mend manual"
2
+ .SH NAME
3
+ mend\-completions \- print the TAB\-completion hook
4
+ .SH SYNOPSIS
5
+ .B mend completions zsh|bash
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Commands complete, and live session ids complete under TAB by asking the server.
10
+ .SH EXAMPLES
11
+ .PP
12
+ .B mend completions zsh > "$fpath[1]/_mend"
13
+ .SH SEE ALSO
14
+ mend(1)
@@ -0,0 +1,25 @@
1
+ .TH MEND-CONNECT 1 "" "mend 0.18.0" "mend manual"
2
+ .SH NAME
3
+ mend\-connect \- send this machine's provider credential to the platform
4
+ .SH SYNOPSIS
5
+ .B mend connect <claude|codex|github> [\-\-from\-stdin] [\-\-remove]
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Sessions run on the platform, so the platform needs your provider login. This reads the file the provider's own CLI wrote when you logged in (claude, codex) or asks gh for its token (github) and stores it under your own user. Nothing is shared with other users.
10
+ .SH OPTIONS
11
+ .TP
12
+ .B \-\-from\-stdin
13
+ paste a credential instead of reading the provider's file
14
+ .TP
15
+ .B \-\-remove
16
+ disconnect the provider
17
+ .SH EXAMPLES
18
+ .PP
19
+ .B mend connect claude
20
+ .br
21
+ after `claude login` on this machine
22
+ .PP
23
+ .B mend connect github \-\-remove
24
+ .SH SEE ALSO
25
+ mend(1), mend\-accounts(1)
@@ -0,0 +1,11 @@
1
+ .TH MEND-CONTINUE 1 "" "mend 0.18.0" "mend manual"
2
+ .SH NAME
3
+ mend\-continue \- resume a session with its pending review follow\-up
4
+ .SH SYNOPSIS
5
+ .B mend continue [session\-id]
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ The review comments you sent to the session become its first message. With no id, the newest session with a pending follow\-up is taken.
10
+ .SH SEE ALSO
11
+ mend(1), mend\-resume(1), mend\-sessions(1)
@@ -0,0 +1,11 @@
1
+ .TH MEND-DOCTOR 1 "" "mend 0.18.0" "mend manual"
2
+ .SH NAME
3
+ mend\-doctor \- check this machine's setup
4
+ .SH SYNOPSIS
5
+ .B mend doctor
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Read\-only. One line per fact: the server, the sign\-in, the platform connection, the provider accounts, the git key. Each unfinished line ends with the command that fixes it.
10
+ .SH SEE ALSO
11
+ mend(1), mend\-login(1), mend\-connect(1), mend\-keys\-init(1)
@@ -0,0 +1,15 @@
1
+ .TH MEND-DOTFILES-SYNC 1 "" "mend 0.18.0" "mend manual"
2
+ .SH NAME
3
+ mend\-dotfiles\-sync \- capture config files from this machine into your store
4
+ .SH SYNOPSIS
5
+ .B mend dotfiles sync [\-\-all | paths...]
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Copies the named files from your home directory into your store on the server. \-\-all takes the known shell, git, and editor files. Setups that rely on ZDOTDIR do not transfer.
10
+ .SH OPTIONS
11
+ .TP
12
+ .B \-\-all
13
+ every known config file
14
+ .SH SEE ALSO
15
+ mend(1), mend\-dotfiles(1)
@@ -0,0 +1,11 @@
1
+ .TH MEND-DOTFILES 1 "" "mend 0.18.0" "mend manual"
2
+ .SH NAME
3
+ mend\-dotfiles \- your dotfiles on the server: repo and synced files
4
+ .SH SYNOPSIS
5
+ .B mend dotfiles [show]
6
+ .br
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Workspaces apply your dotfiles at launch, from a repository you point the server at or from files mend dotfiles sync captured. This shows what is set.
10
+ .SH SEE ALSO
11
+ mend(1), mend\-dotfiles\-sync(1)
@@ -0,0 +1,26 @@
1
+ .TH MEND-ENV-CLUSTER 1 "" "mend 0.18.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.18.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.18.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)
@@ -0,0 +1,11 @@
1
+ .TH MEND-HELP 1 "" "mend 0.18.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.18.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.18.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.18.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)
@@ -0,0 +1,20 @@
1
+ .TH MEND-LOGIN 1 "" "mend 0.18.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.18.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.18.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)
@@ -0,0 +1,15 @@
1
+ .TH MEND-PAIR 1 "" "mend 0.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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)
@@ -0,0 +1,13 @@
1
+ .TH MEND-SHELL 1 "" "mend 0.18.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.18.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.18.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.18.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)