@sealant/mend 0.33.0 → 0.34.4
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 +74 -13
- package/dist/{chunk-GJFMD7XF.js → chunk-AAAXHRWL.js} +457 -87
- package/dist/{dashboard-NWHR7I5W.js → dashboard-DWXXYFPE.js} +41 -13
- package/dist/main.js +916 -322
- 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.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 +1 -1
- package/man/mend-logout.1 +1 -1
- package/man/mend-man.1 +1 -1
- package/man/mend-members.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-server-logs.1 +1 -1
- package/man/mend-server-restart.1 +1 -1
- package/man/mend-server-setup.1 +1 -1
- 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-setup.1 +1 -1
- package/man/mend-ssh.1 +1 -1
- package/man/mend-stop.1 +1 -1
- package/man/mend-ui.1 +1 -1
- package/man/mend-uninstall.1 +1 -1
- package/man/mend-version.1 +1 -1
- package/man/mend-worktrees.1 +1 -1
- package/man/mend.1 +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -54,8 +54,8 @@ pin rather than automatically downgrading or restoring the database.
|
|
|
54
54
|
For local release assets and preloaded images:
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
mend server setup --version
|
|
58
|
-
mend server upgrade --version
|
|
57
|
+
mend server setup --version <version> --assets-dir ./release-<version> --offline
|
|
58
|
+
mend server upgrade --version <target> --assets-dir ./release-<target> --offline
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
Each asset directory must contain `compose.v2.yaml` and `postgres-init.sh`. Mend copies them into an
|
|
@@ -124,35 +124,96 @@ line that needs an action ends with the one command that takes it:
|
|
|
124
124
|
|
|
125
125
|
It exits 1 when a `✗` is printed, so a setup script can gate on it. No request waits longer than 3s.
|
|
126
126
|
|
|
127
|
+
```sh
|
|
128
|
+
mend doctor --bundle [--out <path>] [--tail <n>]
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
`--bundle` writes one `tar.gz` for a bug report instead of printing the checklist: this CLI and its
|
|
132
|
+
environment, the doctor lines, the server's health, the local server's compose file and the names of
|
|
133
|
+
its `.env` keys (never their values), Docker facts, the Mend and workspace containers' inspect facts
|
|
134
|
+
and logs, every session with its processes and recorded terminal output, the connected accounts, and
|
|
135
|
+
the versions of `claude`, `codex`, `gh`, `git` and `docker`. A part that fails leaves a
|
|
136
|
+
`<name>.error.txt` in the bundle. A redactor removes token, password and secret values from every
|
|
137
|
+
file before it is written, and the archive is mode 0600. It still holds logs and configuration, so
|
|
138
|
+
read it before you share it. The default path is `~/.config/mend/bundles/mend-bundle-<time>.tgz`;
|
|
139
|
+
`--tail` sets lines per log, 1 to 2000, default 500.
|
|
140
|
+
|
|
127
141
|
## Commands
|
|
128
142
|
|
|
129
143
|
```text
|
|
130
|
-
|
|
144
|
+
start
|
|
145
|
+
mend login [--url <server>] sign this terminal in through the browser
|
|
146
|
+
mend connect <claude|codex|github> [--use-my-login] [--from-stdin] [--remove]
|
|
147
|
+
send this machine's provider credential to the server
|
|
148
|
+
mend adopt [git-url] [--name <name>] [--auth ambient|mend-key|bridge] [--private|--shared]
|
|
149
|
+
clone a network Git repository into the store
|
|
131
150
|
(default: the current checkout's origin URL)
|
|
132
|
-
mend codex|claude|opencode
|
|
133
|
-
mend
|
|
134
|
-
mend
|
|
151
|
+
mend codex|claude|opencode ["prompt"] new session worktree + launch the harness in it
|
|
152
|
+
mend pair [--url <base url>] pair a phone or a second machine: QR + code + URL
|
|
153
|
+
mend doctor [--bundle] read-only checklist, or a redacted archive for a bug report
|
|
154
|
+
|
|
155
|
+
sessions
|
|
156
|
+
mend ui [--no-tunnel] the dashboard (same as bare mend)
|
|
157
|
+
mend attach [session-id-prefix] reattach this terminal to a running session
|
|
158
|
+
mend stop [session] | --all | --services [session]
|
|
159
|
+
stop the agent; the record and the review remain
|
|
160
|
+
mend shell [session-id-prefix] open a shell in a live session's workspace
|
|
161
|
+
mend run [--project p] -- <command...>
|
|
162
|
+
run any command as a session
|
|
135
163
|
mend continue [session-id] resume a session with its pending review follow-up
|
|
136
164
|
mend resume [session-id] [--with h] rejoin a settled session (state restored; --with switches harness)
|
|
137
165
|
mend rejoin [session-id] [--harness h] attach if live, otherwise resume; newest live wins
|
|
138
|
-
mend sessions [--all] [--project p] [--json]
|
|
139
|
-
mend status
|
|
140
|
-
mend
|
|
166
|
+
mend sessions [--all] [--project p] [--json | --json=v2]
|
|
167
|
+
mend status alias of mend sessions
|
|
168
|
+
mend worktrees [--project p] [--json] every worktree and the sessions inside it
|
|
169
|
+
mend projects adopted projects and their live sessions
|
|
170
|
+
mend refresh [project] fetch origin's branches into the store
|
|
171
|
+
mend land <session> [--branch b] [--no-pr] [--title t] | --check
|
|
141
172
|
push the change to origin, open or update its pull request
|
|
142
173
|
mend pull <session> [--force] fetch the change into this clone as mend/<name>
|
|
143
|
-
|
|
144
|
-
|
|
174
|
+
|
|
175
|
+
services
|
|
176
|
+
mend service run|add|connect|list|logs|restart|stop|init
|
|
177
|
+
supervise servers in a session's workspace and bring
|
|
178
|
+
them to this machine's loopback
|
|
179
|
+
|
|
180
|
+
project setup
|
|
181
|
+
mend env show|load|cluster the project's environment: names, .env files, Kubernetes bindings
|
|
145
182
|
mend skills [--project [p]] your skill library on the server (or a project's)
|
|
146
183
|
mend skills push [--project [p]] [--prune] [--dir <path>]
|
|
147
184
|
upload ~/.agents/skills bundles; sessions receive
|
|
148
185
|
them at launch (--prune removes what's gone)
|
|
186
|
+
mend dotfiles [show] | repo | sync your dotfiles on the server: repository and synced files
|
|
187
|
+
mend git-author [<name> <email>] | --clear
|
|
188
|
+
the name and email your workspaces commit as
|
|
149
189
|
mend keys init|show|mode|share your Mend git key, default access mode, agent bridge
|
|
150
|
-
|
|
190
|
+
|
|
191
|
+
organization
|
|
192
|
+
mend members who belongs to your organization, and their roles
|
|
193
|
+
mend invite [--role member|owner] [--email <address>] [--days <n>]
|
|
194
|
+
print a one-time invitation link
|
|
195
|
+
mend folder list|create|push|rm your organization's folders
|
|
196
|
+
mend session share <session> on|off shared control: let everyone who can see a session steer it
|
|
197
|
+
|
|
198
|
+
this machine
|
|
199
|
+
mend operator org list|create|rename|invite-owner
|
|
200
|
+
mend operator exposure how this instance is exposed, as declared and as observed
|
|
201
|
+
mend operator gate what MEND_TENANCY=multi still needs on this instance
|
|
202
|
+
mend operator grant-owner|reset-link owner grants and one-time password reset links
|
|
151
203
|
mend server <command> this machine's Docker server: setup, status, logs,
|
|
152
204
|
start, stop, restart, upgrade
|
|
205
|
+
mend ssh [setup] workspace SSH status; register a key + Host block
|
|
206
|
+
mend accounts your connected accounts on the server
|
|
207
|
+
mend logout revoke this terminal's device token and forget it
|
|
208
|
+
mend uninstall [--all | --server | --home] [--yes]
|
|
209
|
+
remove the server, this machine's Mend files, or both
|
|
210
|
+
mend completions zsh|bash print the TAB-completion hook
|
|
153
211
|
mend version this CLI's version, and the server's when it answers
|
|
212
|
+
mend help|man [command...] one command's page with usage, options and examples
|
|
154
213
|
```
|
|
155
214
|
|
|
215
|
+
The sections follow `mend help`. `mend help <command>` prints each command's full usage.
|
|
216
|
+
|
|
156
217
|
## Signing in
|
|
157
218
|
|
|
158
219
|
```sh
|
|
@@ -178,7 +239,7 @@ dev instance with `MEND_STATIC_TOKEN` set, `MEND_TOKEN=<that value>` also works.
|
|
|
178
239
|
mend ssh # inspect config and this client's key registration
|
|
179
240
|
mend ssh setup # register a key and reconcile this server's Host block
|
|
180
241
|
mend ssh setup --key ./my-key # explicitly select private key or its .pub file
|
|
181
|
-
mend ssh setup --host
|
|
242
|
+
mend ssh setup --host mend.example.com
|
|
182
243
|
```
|
|
183
244
|
|
|
184
245
|
Setup puts the managed block before wildcard defaults and restores all-host scope before your
|