@sealant/mend 0.36.0-next.684 → 0.36.0-next.721
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-DHM7VXTR.js → chunk-GF5A6W2Y.js} +12 -1
- package/dist/{dashboard-OBFWHSPD.js → dashboard-MPO6H5YF.js} +823 -176
- package/dist/main.js +1221 -84
- 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 +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 +2 -2
- 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 +37 -6
- 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 +2 -2
- 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 +1 -1
- package/man/mend-stop.1 +1 -1
- package/man/mend-ui.1 +3 -1
- package/man/mend-uninstall.1 +1 -1
- 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
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
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH MEND-OPERATOR-EXPOSURE 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-OPERATOR-EXPOSURE 1 "" "mend 0.36.0\-next.721" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-operator\-exposure \- how this instance is exposed, as declared and as observed
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -6,6 +6,6 @@ mend\-operator\-exposure \- how this instance is exposed, as declared and as obs
|
|
|
6
6
|
.br
|
|
7
7
|
.SH DESCRIPTION
|
|
8
8
|
.PP
|
|
9
|
-
Operator only. States MEND_EXPOSURE as declared (loopback, private or public) and one line per item of the public exposure gate, with how it was established: observed (this server read it), carried (this build contains it, and the server cannot see it in effect), declared (you stated it and the server cannot check it), or open. MEND_EXPOSURE=public refuses to start while an item that blocks a start is open: every item the server can observe, and workspace\-ssh until you declare it. Items it cannot observe say what would verify them; once you have verified core\-private, edge\-tls
|
|
9
|
+
Operator only. States MEND_EXPOSURE as declared (loopback, private or public) and one line per item of the public exposure gate, with how it was established: observed (this server read it), carried (this build contains it, and the server cannot see it in effect), declared (you stated it and the server cannot check it), or open. MEND_EXPOSURE=public refuses to start while an item that blocks a start is open: every item the server can observe, and workspace\-ssh until you declare it. Items it cannot observe say what would verify them; once you have verified core\-private, edge\-tls, workspace\-ssh (SSH published apart from the web port) or (while it is enabled) t3code\-gateway from outside, name it in MEND_EXPOSURE_DECLARED, or with mend server setup \-\-declare. The report is what was observed; it is not a statement that the instance is fit to expose.
|
|
10
10
|
.SH SEE ALSO
|
|
11
11
|
mend(1), mend\-operator\-gate(1), mend\-doctor(1)
|
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.721" "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,17 +1,25 @@
|
|
|
1
|
-
.TH MEND-SERVER-SETUP 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-SERVER-SETUP 1 "" "mend 0.36.0\-next.721" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
|
-
mend\-server\-setup \- install or
|
|
3
|
+
mend\-server\-setup \- install or change the local Mend server, guided
|
|
4
4
|
.SH SYNOPSIS
|
|
5
|
-
.B mend server setup
|
|
5
|
+
.B mend server setup
|
|
6
|
+
.br
|
|
7
|
+
.B mend server setup [\-\-yes] [\-\-context <name>] [\-\-version <version|latest>] [\-\-bind <ip>] [\-\-ssh\-bind <ip>] [\-\-url <origin>] [\-\-origin <origin>...] [\-\-port <n>] [\-\-ssh\-port <n>] [\-\-edge <host> | \-\-no\-edge] [\-\-exposure <loopback|private|public>] [\-\-tenancy <single|multi>] [\-\-declare <item>...] [\-\-undeclare <item>...] [\-\-t3\-gateway [\-\-t3\-gateway\-port <n>] | \-\-no\-t3\-gateway] [\-\-npm\-mirror | \-\-no\-npm\-mirror] [\-\-npm\-mirror\-max\-size <size>] [\-\-docker\-mirror | \-\-no\-docker\-mirror] [\-\-docker\-mirror\-max\-size <size>] [\-\-docker\-hub\-username <name> \-\-docker\-hub\-token\-stdin \-\-docker\-hub\-public\-only | \-\-no\-docker\-hub\-login] [\-\-docker\-socket <path>] [\-\-assets\-dir <dir>] [\-\-offline]
|
|
6
8
|
.br
|
|
7
9
|
.SH DESCRIPTION
|
|
8
10
|
.PP
|
|
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
|
+
.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.
|
|
14
|
+
.PP
|
|
9
15
|
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.
|
|
10
16
|
.PP
|
|
11
17
|
The default listens only on localhost at http://localhost:3105. Non\-local access requires both \-\-bind and \-\-url. Every extra browser origin must be named with \-\-origin; setup never guesses from the request Host header or network interfaces.
|
|
12
18
|
.PP
|
|
13
19
|
\-\-edge <host> runs a TLS edge in front of Mend: Caddy on ports 80 and 443 of every interface, which obtains and renews a certificate for the host and proxies to Mend's web tier. Mend's own port stays on loopback and the browser origin is https://<host>. The edge's compose overlay and Caddyfile are written into the generation beside compose.yaml, so start, restart and upgrade run them every time. \-\-no\-edge takes it away again, and the edge's container with it. A fresh install cannot start with the edge: until the first account exists, registration is open to whoever reaches the origin first, so set up on localhost, create the account, then add the edge.
|
|
14
20
|
.PP
|
|
21
|
+
\-\-t3\-gateway turns on the t3code gateway (docs/adr/0012): t3code's desktop, mobile and web clients add it as an environment, pair with a code from mend pair, and see this Mend's projects and sessions. It runs in the Mend container, confined to a root and a uid of its own, on a listener of its own published on 127.0.0.1 only (port 3120, or \-\-t3\-gateway\-port): reaching it from another machine is an exposure you put in front of it and declare. Setup refuses it on a Mend image that has no gateway, and says whether it answered. It is kept across reruns and upgrades; \-\-no\-t3\-gateway turns it off, and its state stays in its own volume, mend\-t3\-gateway. Off, nothing of it runs.
|
|
22
|
+
.PP
|
|
15
23
|
\-\-exposure declares how the instance is reached, and \-\-tenancy whether one organization or many use it. Both are written into the generation and kept across reruns and upgrades. public needs the edge and an existing first account. With multi, or with public, the multi mode gate's settings follow: MEND_SOURCE_POLICY=tenant and MEND_CAPTURE_REQUIRE_SIZES=true, and public sets MEND_URL_BEARERS=refuse. The server still decides whether it starts, and mend server status shows what it reports.
|
|
16
24
|
.PP
|
|
17
25
|
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.
|
|
@@ -21,6 +29,9 @@ Docker Desktop on Linux and macOS, and OrbStack on macOS, expose client\-side pr
|
|
|
21
29
|
Setup holds an exclusive process lock through startup and health checks. A busy lock reports its owner and manual recovery steps. Never remove a live lock. Private configuration uses immutable generations and an atomic active pointer; failed attempts retain credentials and never delete Docker volumes.
|
|
22
30
|
.SH OPTIONS
|
|
23
31
|
.TP
|
|
32
|
+
.B \-\-yes
|
|
33
|
+
no questions: a fresh install takes the defaults (this machine only, http://localhost:3105), an existing one keeps what is saved
|
|
34
|
+
.TP
|
|
24
35
|
.B \-\-context <name>
|
|
25
36
|
local Docker context to persist; the global context is unchanged
|
|
26
37
|
.TP
|
|
@@ -37,7 +48,7 @@ where workspace SSH is published, when not on \-\-bind; with \-\-edge, Remote\-S
|
|
|
37
48
|
advertised browser URL, required with a non\-loopback bind
|
|
38
49
|
.TP
|
|
39
50
|
.B \-\-origin <origin>
|
|
40
|
-
additional exact browser origin; repeat for more than one
|
|
51
|
+
additional exact browser origin; repeat for more than one. The list given replaces the saved one; none clears it
|
|
41
52
|
.TP
|
|
42
53
|
.B \-\-port <n>
|
|
43
54
|
external web port. Default: 3105
|
|
@@ -51,6 +62,15 @@ run the Caddy TLS edge for this DNS name on 80 and 443; the origin becomes https
|
|
|
51
62
|
.B \-\-no\-edge
|
|
52
63
|
take a saved edge away; the origin returns to http://localhost
|
|
53
64
|
.TP
|
|
65
|
+
.B \-\-t3\-gateway
|
|
66
|
+
run the t3code gateway, published on 127.0.0.1:3120 only; kept across reruns and upgrades
|
|
67
|
+
.TP
|
|
68
|
+
.B \-\-t3\-gateway\-port <n>
|
|
69
|
+
the gateway's port on 127.0.0.1; implies \-\-t3\-gateway
|
|
70
|
+
.TP
|
|
71
|
+
.B \-\-no\-t3\-gateway
|
|
72
|
+
turn the t3code gateway off; its state stays
|
|
73
|
+
.TP
|
|
54
74
|
.B \-\-exposure <v>
|
|
55
75
|
declare loopback, private or public; kept across reruns and upgrades. public needs \-\-edge and an existing first account
|
|
56
76
|
.TP
|
|
@@ -58,7 +78,10 @@ declare loopback, private or public; kept across reruns and upgrades. public nee
|
|
|
58
78
|
declare single or multi; kept across reruns and upgrades. multi also sets the multi mode gate's variables
|
|
59
79
|
.TP
|
|
60
80
|
.B \-\-declare <item>
|
|
61
|
-
state a gate item you verified from outside: core\-private, edge\-tls or
|
|
81
|
+
state a gate item you verified from outside: core\-private, edge\-tls, workspace\-ssh or t3code\-gateway. Adds to what is saved; repeat for more, none clears. public with \-\-ssh\-bind beyond loopback needs workspace\-ssh
|
|
82
|
+
.TP
|
|
83
|
+
.B \-\-undeclare <item>
|
|
84
|
+
take one statement back; the others stay. Repeat for more
|
|
62
85
|
.TP
|
|
63
86
|
.B \-\-npm\-mirror, \-\-no\-npm\-mirror
|
|
64
87
|
run or stop the npm mirror; kept across reruns and upgrades. Default: on
|
|
@@ -96,7 +119,15 @@ daemon\-side socket mount override for diagnostics
|
|
|
96
119
|
.PP
|
|
97
120
|
.B mend server setup
|
|
98
121
|
.br
|
|
99
|
-
|
|
122
|
+
on a terminal: the questions, then what changes and the same command with flags
|
|
123
|
+
.PP
|
|
124
|
+
.B mend server setup \-\-t3\-gateway
|
|
125
|
+
.br
|
|
126
|
+
on an existing install: turn the T3 Code gateway on, and keep everything else
|
|
127
|
+
.PP
|
|
128
|
+
.B mend server setup \-\-yes
|
|
129
|
+
.br
|
|
130
|
+
no questions: localhost on a fresh install, using the current local Docker context
|
|
100
131
|
.PP
|
|
101
132
|
.B mend server setup \-\-context orbstack \-\-bind 0.0.0.0 \-\-url http://100.70.80.90:3105
|
|
102
133
|
.br
|
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