@sealant/mend 0.36.0-next.754 → 0.36.0-next.768
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/README.md +17 -8
- package/dist/{chunk-ARGA4E7A.js → chunk-BXXA4JXE.js} +78 -3
- package/dist/{dashboard-JGR77HVG.js → dashboard-URVZ54OS.js} +16 -27
- package/dist/main.js +1129 -448
- 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 +2 -2
- 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 +10 -2
- package/man/mend-logout.1 +1 -1
- package/man/mend-logs.1 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +7 -5
- 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 +1 -1
- package/man/mend-service-restart.1 +1 -1
- package/man/mend-service-run.1 +1 -1
- 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-keys-remove.1 +1 -1
- package/man/mend-ssh-keys.1 +1 -1
- package/man/mend-ssh-setup.1 +1 -1
- package/man/mend-ssh.1 +12 -3
- package/man/mend-stop.1 +1 -1
- package/man/mend-ui.1 +1 -1
- package/man/mend-uninstall.1 +2 -2
- package/man/mend-version.1 +1 -1
- package/man/mend-wait.1 +1 -1
- 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 +2 -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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH MEND-DOCTOR 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-DOCTOR 1 "" "mend 0.36.0\-next.768" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-doctor \- check this machine's setup, or bundle it for a bug report
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -8,7 +8,7 @@ mend\-doctor \- check this machine's setup, or bundle it for a bug report
|
|
|
8
8
|
.br
|
|
9
9
|
.SH DESCRIPTION
|
|
10
10
|
.PP
|
|
11
|
-
Read\-only. One line per fact: the server, the sign\-in, the platform connection, the provider accounts, the git key, and where docker is on PATH its daemon
|
|
11
|
+
Read\-only. One line per fact: the server, the sign\-in, the platform connection, the provider accounts, the git key, and where docker is on PATH what a stop of its daemon waits for against what systemd allows docker.service. Each unfinished line ends with the command that fixes it.
|
|
12
12
|
.PP
|
|
13
13
|
\-\-bundle collects what a maintainer asks for one output at a time into one tar.gz: this CLI and its environment, the doctor lines, the server's health, the local server's configuration (its compose file and the names of its .env keys, never their values), docker version, info, contexts, the Mend and workspace containers with their inspect facts, the local server's container logs, the running workspace containers' logs, every session with its processes, exit codes and argv, the recorded terminal output of each, the connected accounts, and the versions and paths of claude, codex, gh, git and docker on this machine.
|
|
14
14
|
.PP
|
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
|
@@ -1,16 +1,24 @@
|
|
|
1
|
-
.TH MEND-LOGIN 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-LOGIN 1 "" "mend 0.36.0\-next.768" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-login \- sign this terminal in through the browser
|
|
4
4
|
.SH SYNOPSIS
|
|
5
|
-
.B mend login [\-\-url <server>]
|
|
5
|
+
.B mend login [\-\-url <server>] [\-\-open | \-\-no\-open]
|
|
6
6
|
.br
|
|
7
7
|
.SH DESCRIPTION
|
|
8
8
|
.PP
|
|
9
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
|
+
.PP
|
|
11
|
+
Over SSH, or on Linux with no display, no browser opens: the CLI prints the link and the code, and you open the link on your own machine.
|
|
10
12
|
.SH OPTIONS
|
|
11
13
|
.TP
|
|
12
14
|
.B \-\-url <server>
|
|
13
15
|
the Mend server. Default: MEND_URL, then http://localhost:3105
|
|
16
|
+
.TP
|
|
17
|
+
.B \-\-open
|
|
18
|
+
open the browser here, even over SSH
|
|
19
|
+
.TP
|
|
20
|
+
.B \-\-no\-open
|
|
21
|
+
only print the link and the code
|
|
14
22
|
.SH EXAMPLES
|
|
15
23
|
.PP
|
|
16
24
|
.B mend login \-\-url http://10.0.0.216:3105
|
package/man/mend-logout.1
CHANGED
package/man/mend-logs.1
CHANGED
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.768" "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
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
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH MEND-SERVER-SETUP 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-SERVER-SETUP 1 "" "mend 0.36.0\-next.768" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-server\-setup \- install or change the local Mend server, guided
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -10,7 +10,9 @@ mend\-server\-setup \- install or change the local Mend server, guided
|
|
|
10
10
|
.PP
|
|
11
11
|
On a terminal with no flags, setup asks its questions in plain words, one at a time: how people reach this Mend (just this machine, your private network or Tailscale, or the public internet with HTTPS), whether VS Code Remote\-SSH reaches it from other machines, the T3 Code gateway, the mirrors, and one organization or several. It looks before it asks and says what it observed: Tailscale's name and address and what Tailscale Serve forwards, where your domain resolves, and whether ports 80 and 443 are taken. It never asks for an address to bind: that follows from the answers. On an existing install it shows what is saved and lets you keep it, change one thing, or go through every question. It ends with what changes, in words, and the same command with flags; nothing applies until you say yes.
|
|
12
12
|
.PP
|
|
13
|
-
Flags are for scripts and CI, and teach what the questions do. Each changes only what it names; everything else is kept from the saved install, so mend server setup \-\-t3\-gateway turns the gateway on and nothing more. When there is an install, a run with flags says what it changes. With no terminal and no flags, a fresh install is refused rather than guessed: \-\-yes takes the defaults.
|
|
13
|
+
Flags are for scripts and CI, and teach what the questions do. Each changes only what it names; everything else is kept from the saved install, so mend server setup \-\-t3\-gateway turns the gateway on and nothing more. When there is an install, a run with flags says what it changes. With no terminal and no flags, a fresh install is refused rather than guessed: \-\-yes takes the defaults. \-\-context and \-\-docker\-socket choose the Docker engine and answer no question, so with only those (on a Mac with Docker Desktop and OrbStack, \-\-context orbstack) setup still asks its questions. A fresh install without \-\-context takes DOCKER_CONTEXT, as docker does; an existing one stays on the context its data is on.
|
|
14
|
+
.PP
|
|
15
|
+
Before anything is pulled, setup checks that Mend's web and SSH ports are free where they are to be published, and says what holds one that is not: another Mend, with its version, or something else. On a terminal it offers the next free port; with flags it refuses and names \-\-port or \-\-ssh\-port. After starting, it reads health until this install answers: its version, and the instance id the server reports, so another Mend on the same port is said as one, never taken for this one.
|
|
14
16
|
.PP
|
|
15
17
|
Checks a local Unix\-socket Docker context and the Compose plugin, downloads the compose and Postgres initialization assets for one Mend release, preserves existing data and secrets, and starts the server. Re\-running repairs the same pinned version. A changed \-\-version is refused; use mend server upgrade. Updating this CLI never updates an existing server pin.
|
|
16
18
|
.PP
|
|
@@ -24,9 +26,9 @@ The default listens only on localhost at http://localhost:3105. Non\-local acces
|
|
|
24
26
|
.PP
|
|
25
27
|
Two mirrors run beside Mend unless turned off: an npm mirror (nginx caching npmjs.org, capped at 10g by default, least recently used out) and a Docker mirror (a pull\-through cache of Docker Hub, capped at 20g by default: over the cap its cache is cleared). Both leave 5g free on their disk: below that, nginx evicts and the Docker mirror pauses, and sessions pull from Docker Hub directly. Neither publishes a host port. Sessions install npm packages and pull Docker Hub images through them; a project's own npm settings win, and a mirror that is down sends sessions upstream instead. Both are kept across reruns and upgrades, and an upgrade adds them to an install from before them. The Docker mirror pulls anonymously unless given a Docker Hub login: \-\-docker\-hub\-username with the access token piped on standard input, kept in server.env only. The mirror has no login of its own, so every session that reaches it can pull whatever that token can read: setup takes a login only with \-\-docker\-hub\-public\-only, your statement that the token's access permission is Public Repo Read\-only. Mend cannot check a token's scope.
|
|
26
28
|
.PP
|
|
27
|
-
Before
|
|
29
|
+
Before its other questions and before it pulls the release, setup reads the Docker host's kernel, through the few megabytes of busybox every install needs anyway. Each workspace runs its own rootless Docker, which needs unprivileged user namespaces; Ubuntu 23.10 and later (24.04 LTS included) refuse them by default, and then no session can start. On a terminal setup asks to allow them: on a yes it writes the setting to /etc/sysctl.d/60\-mend\-rootless\-docker.conf on the Docker host and applies it, through a short privileged container on the Docker socket it already uses, then reads the kernel again. That lifts the restriction for the whole host; the file says on its first lines that setup wrote it and what it replaced, so mend uninstall \-\-all removes it and puts that back. On a no, or on a rootless daemon, it prints the command to run on the host, and repeats it as its last line. Without a terminal or with \-\-yes, it says to re\-run with \-\-allow\-userns, so that setup writes the file and mend uninstall can undo it; the command is the other way, and a file written by hand stays on uninstall. \-\-allow\-userns and \-\-no\-allow\-userns answer for a script.
|
|
28
30
|
.PP
|
|
29
|
-
When setup changes Mend's URL, a CLI signed in at the old one is left pointing there. Setup says so with the command each one runs (mend login \-\-url <new>). When this machine's own CLI points at the old URL and that no longer answers, setup offers to point it at the new one; its sign\-in carries over, since a device's token is not bound to a URL. A re\-run says to create the first account only while the instance has none.
|
|
31
|
+
When setup changes Mend's URL, a CLI signed in at the old one is left pointing there. Setup says so with the command each one runs (mend login \-\-url <new>), which is a new sign\-in: it asks for a browser authorization. When this machine's own CLI points at the old URL and that no longer answers, setup offers to point it at the new one; its sign\-in carries over, since a device's token is not bound to a URL. When it points anywhere else this install does not answer (another server, or nothing), setup offers the same; a sign\-in made at another server stays behind, and the offer leads with no while that server answers. A re\-run says to create the first account only while the instance has none.
|
|
30
32
|
.PP
|
|
31
33
|
Docker Desktop on Linux and macOS, and OrbStack on macOS, expose client\-side proxy sockets. Containers use the daemon\-side /var/run/docker.sock. \-\-docker\-socket overrides detection and is retained on reruns.
|
|
32
34
|
.PP
|
|
@@ -37,7 +39,7 @@ Setup holds an exclusive process lock through startup and health checks. A busy
|
|
|
37
39
|
no questions: a fresh install takes the defaults (this machine only, http://localhost:3105), an existing one keeps what is saved
|
|
38
40
|
.TP
|
|
39
41
|
.B \-\-context <name>
|
|
40
|
-
local Docker context to persist; the global context is unchanged
|
|
42
|
+
local Docker context to persist; the global context is unchanged. Answers no question. Default: DOCKER_CONTEXT on a fresh install, else the saved one
|
|
41
43
|
.TP
|
|
42
44
|
.B \-\-version <v>
|
|
43
45
|
exact Mend server version, or latest; omitted keeps the current pin
|
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
package/man/mend-service-run.1
CHANGED
package/man/mend-service-stop.1
CHANGED
package/man/mend-session-share.1
CHANGED
package/man/mend-sessions.1
CHANGED