@sealant/mend 0.36.0-next.665 → 0.36.0-next.684
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 +19 -0
- package/dist/{chunk-K5WNRH4V.js → chunk-DHM7VXTR.js} +119 -14
- package/dist/{dashboard-DQB5RNXJ.js → dashboard-OBFWHSPD.js} +8 -2
- package/dist/main.js +1620 -206
- 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 +13 -2
- 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 +2 -2
- 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 +32 -2
- package/man/mend-server-start.1 +1 -1
- package/man/mend-server-status.1 +4 -2
- package/man/mend-server-stop.1 +2 -2
- 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 +10 -4
- package/man/mend-service-logs.1 +1 -1
- package/man/mend-service-restart.1 +1 -1
- package/man/mend-service-run.1 +13 -6
- 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 +18 -0
- package/man/mend-ssh-keys.1 +15 -0
- package/man/mend-ssh-setup.1 +2 -2
- package/man/mend-ssh.1 +2 -2
- 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 +5 -5
- 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 +10 -4
- 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
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
.TH MEND-LOGS 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-LOGS 1 "" "mend 0.36.0\-next.684" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-logs \- print a session's recorded terminal output
|
|
4
4
|
.SH SYNOPSIS
|
|
5
5
|
.B mend logs [session] [\-\-follow] [\-\-from <sequence>] [\-\-process <id>]
|
|
6
6
|
.br
|
|
7
|
+
.B mend logs [session] \-\-service <name\-or\-id> [\-\-follow] [\-\-from <sequence>]
|
|
8
|
+
.br
|
|
7
9
|
.SH DESCRIPTION
|
|
8
10
|
.PP
|
|
9
11
|
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
12
|
.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.
|
|
13
|
+
<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; a Service's id or name there reads the Service's current attempt.
|
|
14
|
+
.PP
|
|
15
|
+
\-\-service reads a Service's current attempt, by the Service's id, its name or a prefix of its id, the ids mend service list prints. A full id names its Service before any name does. A name two Services carry is refused, with both ids listed; name one by its id, or name the session. A Service with no attempt (an adopted port, which Mend runs no process for) has nothing recorded, and mend logs says so and exits 1.
|
|
12
16
|
.SH OPTIONS
|
|
13
17
|
.TP
|
|
14
18
|
.B \-\-follow, \-f
|
|
@@ -19,8 +23,15 @@ start at a record sequence. Default: 0
|
|
|
19
23
|
.TP
|
|
20
24
|
.B \-\-process <id>
|
|
21
25
|
another process of the session, by a prefix of its id
|
|
26
|
+
.TP
|
|
27
|
+
.B \-\-service <name\-or\-id>
|
|
28
|
+
a Service's current attempt
|
|
22
29
|
.SH EXAMPLES
|
|
23
30
|
.PP
|
|
24
31
|
.B mend logs 3f2a \-\-follow
|
|
32
|
+
.PP
|
|
33
|
+
.B mend logs \-\-service web \-\-follow
|
|
34
|
+
.br
|
|
35
|
+
the Service web's output, live
|
|
25
36
|
.SH SEE ALSO
|
|
26
37
|
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.684" "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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH MEND-RUN 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-RUN 1 "" "mend 0.36.0\-next.684" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-run \- run any command as a session
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -12,7 +12,7 @@ The command's output is printed as the record has it, and mend run exits with th
|
|
|
12
12
|
.PP
|
|
13
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
14
|
.PP
|
|
15
|
-
The platform takes at most 64 words,
|
|
15
|
+
The platform takes at most 64 words and 1 MiB, at most 131,071 bytes a word, a program with no leading or trailing whitespace, and no NUL byte. An argument may be empty, start with a newline or span lines. A command it would refuse is refused before anything is created.
|
|
16
16
|
.PP
|
|
17
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
18
|
.PP
|
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,8 +1,8 @@
|
|
|
1
|
-
.TH MEND-SERVER-SETUP 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-SERVER-SETUP 1 "" "mend 0.36.0\-next.684" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
mend\-server\-setup \- install or repair the local Mend server
|
|
4
4
|
.SH SYNOPSIS
|
|
5
|
-
.B mend server setup [\-\-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>...] [\-\-docker\-socket <path>] [\-\-assets\-dir <dir>] [\-\-offline]
|
|
5
|
+
.B mend server setup [\-\-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>...] [\-\-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
6
|
.br
|
|
7
7
|
.SH DESCRIPTION
|
|
8
8
|
.PP
|
|
@@ -14,6 +14,8 @@ The default listens only on localhost at http://localhost:3105. Non\-local acces
|
|
|
14
14
|
.PP
|
|
15
15
|
\-\-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
16
|
.PP
|
|
17
|
+
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.
|
|
18
|
+
.PP
|
|
17
19
|
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.
|
|
18
20
|
.PP
|
|
19
21
|
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.
|
|
@@ -58,6 +60,30 @@ declare single or multi; kept across reruns and upgrades. multi also sets the mu
|
|
|
58
60
|
.B \-\-declare <item>
|
|
59
61
|
state a gate item you verified from outside: core\-private, edge\-tls or workspace\-ssh; repeat for more, none clears. Kept across reruns. public with \-\-ssh\-bind beyond loopback needs workspace\-ssh
|
|
60
62
|
.TP
|
|
63
|
+
.B \-\-npm\-mirror, \-\-no\-npm\-mirror
|
|
64
|
+
run or stop the npm mirror; kept across reruns and upgrades. Default: on
|
|
65
|
+
.TP
|
|
66
|
+
.B \-\-npm\-mirror\-max\-size <size>
|
|
67
|
+
the npm mirror's disk cap, such as 20g or 1536m, at least 1g. Default: 10g
|
|
68
|
+
.TP
|
|
69
|
+
.B \-\-docker\-mirror, \-\-no\-docker\-mirror
|
|
70
|
+
run or stop the Docker Hub mirror; kept across reruns and upgrades. Default: on
|
|
71
|
+
.TP
|
|
72
|
+
.B \-\-docker\-mirror\-max\-size <size>
|
|
73
|
+
the Docker mirror's cap, such as 40g; over it the cache is cleared and fills again. Default: 20g
|
|
74
|
+
.TP
|
|
75
|
+
.B \-\-docker\-hub\-username <name>
|
|
76
|
+
the Docker mirror pulls as this Docker Hub account; needs \-\-docker\-hub\-token\-stdin
|
|
77
|
+
.TP
|
|
78
|
+
.B \-\-docker\-hub\-token\-stdin
|
|
79
|
+
read that account's access token from standard input; kept in server.env, never in argv or a session
|
|
80
|
+
.TP
|
|
81
|
+
.B \-\-docker\-hub\-public\-only
|
|
82
|
+
required with a login: you state the token is scoped Public Repo Read\-only, since every session can pull what it can read
|
|
83
|
+
.TP
|
|
84
|
+
.B \-\-no\-docker\-hub\-login
|
|
85
|
+
the Docker mirror pulls anonymously again
|
|
86
|
+
.TP
|
|
61
87
|
.B \-\-assets\-dir <dir>
|
|
62
88
|
copy compose.v2.yaml and postgres\-init.sh from a release directory; fresh setup requires \-\-version
|
|
63
89
|
.TP
|
|
@@ -91,5 +117,9 @@ a TLS edge for mend.example.com; its DNS points at this machine and 80 and 443 r
|
|
|
91
117
|
.B mend server setup \-\-exposure public \-\-tenancy multi
|
|
92
118
|
.br
|
|
93
119
|
on an install with an edge and a first account: declare public, many organizations
|
|
120
|
+
.PP
|
|
121
|
+
.B printf %s "$DOCKER_HUB_TOKEN" | mend server setup \-\-docker\-hub\-username mendbot \-\-docker\-hub\-token\-stdin \-\-docker\-hub\-public\-only
|
|
122
|
+
.br
|
|
123
|
+
the Docker mirror pulls from Docker Hub as mendbot, with a Public Repo Read\-only token
|
|
94
124
|
.SH SEE ALSO
|
|
95
125
|
mend(1), mend\-server(1), mend\-server\-status(1), mend\-login(1), mend\-doctor(1), mend\-operator\-exposure(1)
|
package/man/mend-server-start.1
CHANGED
package/man/mend-server-status.1
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.TH MEND-SERVER-STATUS 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-SERVER-STATUS 1 "" "mend 0.36.0\-next.684" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
|
-
mend\-server\-status \- show the pin, generation, containers, edge and posture
|
|
3
|
+
mend\-server\-status \- show the pin, generation, containers, edge, mirrors and posture
|
|
4
4
|
.SH SYNOPSIS
|
|
5
5
|
.B mend server status
|
|
6
6
|
.br
|
|
@@ -8,6 +8,8 @@ mend\-server\-status \- show the pin, generation, containers, edge and posture
|
|
|
8
8
|
.PP
|
|
9
9
|
Reads the existing installation without changing its files. A running Mend must answer health with the exact pinned version. A stopped server makes no health claim. Never installs a server implicitly.
|
|
10
10
|
.PP
|
|
11
|
+
Each mirror the install runs follows, as observed: whether its container runs, what its cache holds, and its traffic. For the npm mirror, the tarball requests in its log for the last 24 hours and how many the cache served; for the Docker mirror, layer and manifest requests since it started and how many the cache served.
|
|
12
|
+
.PP
|
|
11
13
|
Then the posture, declared beside observed. Declared is what this install's configuration says: the edge host, MEND_EXPOSURE and MEND_TENANCY, a default named as one. Observed is what was seen: whether the edge's container runs and whether Caddy's data holds a certificate for the host, and what the running server reports in its health, the exposure it runs with and how many public exposure gate items are open, the tenancy and which multi mode gate items are open. When this machine is signed in to the install as the operator, every item of both gates follows with its detail, as mend operator gate and mend operator exposure print them. None of it is a verdict: the report says what was declared and what was observed.
|
|
12
14
|
.SH SEE ALSO
|
|
13
15
|
mend(1), mend\-server\-logs(1), mend\-server\-start(1), mend\-operator\-gate(1), mend\-operator\-exposure(1)
|
package/man/mend-server-stop.1
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.TH MEND-SERVER-STOP 1 "" "mend 0.36.0\-next.
|
|
1
|
+
.TH MEND-SERVER-STOP 1 "" "mend 0.36.0\-next.684" "mend manual"
|
|
2
2
|
.SH NAME
|
|
3
|
-
mend\-server\-stop \- stop
|
|
3
|
+
mend\-server\-stop \- stop the server's containers without deleting data
|
|
4
4
|
.SH SYNOPSIS
|
|
5
5
|
.B mend server stop
|
|
6
6
|
.br
|
package/man/mend-server.1
CHANGED
package/man/mend-service-add.1
CHANGED
package/man/mend-service-init.1
CHANGED