@sealant/mend 0.17.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.
- package/dist/help.js +824 -0
- package/dist/main.js +79 -115
- package/dist/version.js +48 -0
- package/man/mend-accounts.1 +11 -0
- package/man/mend-adopt.1 +27 -0
- package/man/mend-attach.1 +13 -0
- package/man/mend-codex.1 +60 -0
- package/man/mend-completions.1 +14 -0
- package/man/mend-connect.1 +25 -0
- package/man/mend-continue.1 +11 -0
- package/man/mend-doctor.1 +11 -0
- package/man/mend-dotfiles-sync.1 +15 -0
- package/man/mend-dotfiles.1 +11 -0
- package/man/mend-env-cluster.1 +26 -0
- package/man/mend-env-load.1 +21 -0
- package/man/mend-env-show.1 +15 -0
- package/man/mend-help.1 +11 -0
- package/man/mend-keys-init.1 +11 -0
- package/man/mend-keys-share.1 +11 -0
- package/man/mend-keys-show.1 +11 -0
- package/man/mend-login.1 +20 -0
- package/man/mend-logout.1 +11 -0
- package/man/mend-man.1 +11 -0
- package/man/mend-pair.1 +15 -0
- package/man/mend-projects.1 +11 -0
- package/man/mend-refresh.1 +11 -0
- package/man/mend-rejoin.1 +15 -0
- package/man/mend-resume.1 +15 -0
- package/man/mend-run.1 +18 -0
- package/man/mend-service-add.1 +21 -0
- package/man/mend-service-connect.1 +15 -0
- package/man/mend-service-init.1 +15 -0
- package/man/mend-service-list.1 +11 -0
- package/man/mend-service-logs.1 +15 -0
- package/man/mend-service-restart.1 +11 -0
- package/man/mend-service-run.1 +38 -0
- package/man/mend-service-stop.1 +11 -0
- package/man/mend-sessions.1 +27 -0
- package/man/mend-shell.1 +13 -0
- package/man/mend-skills-push.1 +21 -0
- package/man/mend-skills.1 +15 -0
- package/man/mend-ssh-setup.1 +15 -0
- package/man/mend-ssh.1 +11 -0
- package/man/mend-stop.1 +22 -0
- package/man/mend-ui.1 +13 -0
- package/man/mend-version.1 +11 -0
- package/man/mend-worktrees.1 +18 -0
- package/man/mend.1 +165 -0
- package/package.json +8 -3
package/man/mend.1
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
.TH MEND 1 "" "mend 0.18.0" "mend manual"
|
|
2
|
+
.SH NAME
|
|
3
|
+
mend \- the agent workbench
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B mend
|
|
6
|
+
[\fIcommand\fR] [\fIoptions\fR]
|
|
7
|
+
.SH DESCRIPTION
|
|
8
|
+
.PP
|
|
9
|
+
Mend adopts a repository into a central store, runs your coding agent (codex, claude, opencode, or any command) in a recorded git worktree on the platform, and lets you attach, review, and steer from any terminal or device. Each command has its own page: mend\-<command>(1).
|
|
10
|
+
.SH START
|
|
11
|
+
.TP
|
|
12
|
+
.B mend login
|
|
13
|
+
sign this terminal in through the browser
|
|
14
|
+
.TP
|
|
15
|
+
.B mend connect
|
|
16
|
+
send this machine's provider credential to the platform
|
|
17
|
+
.TP
|
|
18
|
+
.B mend adopt
|
|
19
|
+
adopt a repository into the store
|
|
20
|
+
.TP
|
|
21
|
+
.B mend codex
|
|
22
|
+
launch codex, claude, or opencode in a recorded worktree
|
|
23
|
+
.TP
|
|
24
|
+
.B mend pair
|
|
25
|
+
pair a phone or a second machine
|
|
26
|
+
.TP
|
|
27
|
+
.B mend doctor
|
|
28
|
+
check this machine's setup
|
|
29
|
+
.SH SESSIONS
|
|
30
|
+
.TP
|
|
31
|
+
.B mend ui
|
|
32
|
+
the dashboard: every project and session, live
|
|
33
|
+
.TP
|
|
34
|
+
.B mend attach
|
|
35
|
+
reattach this terminal to a running session
|
|
36
|
+
.TP
|
|
37
|
+
.B mend stop
|
|
38
|
+
stop the agent; the record and the review remain
|
|
39
|
+
.TP
|
|
40
|
+
.B mend shell
|
|
41
|
+
open a shell in a live session's workspace
|
|
42
|
+
.TP
|
|
43
|
+
.B mend run
|
|
44
|
+
run any command as a session
|
|
45
|
+
.TP
|
|
46
|
+
.B mend continue
|
|
47
|
+
resume a session with its pending review follow\-up
|
|
48
|
+
.TP
|
|
49
|
+
.B mend resume
|
|
50
|
+
rejoin a settled session with its state restored
|
|
51
|
+
.TP
|
|
52
|
+
.B mend rejoin
|
|
53
|
+
attach if live, otherwise resume
|
|
54
|
+
.TP
|
|
55
|
+
.B mend sessions
|
|
56
|
+
sessions with their review facts
|
|
57
|
+
.TP
|
|
58
|
+
.B mend worktrees
|
|
59
|
+
every worktree and the sessions inside it
|
|
60
|
+
.TP
|
|
61
|
+
.B mend projects
|
|
62
|
+
adopted projects and their live sessions
|
|
63
|
+
.TP
|
|
64
|
+
.B mend refresh
|
|
65
|
+
fetch origin's branches into the store
|
|
66
|
+
.SH SERVICES
|
|
67
|
+
.TP
|
|
68
|
+
.B mend service run
|
|
69
|
+
start and supervise a server in the session's workspace
|
|
70
|
+
.TP
|
|
71
|
+
.B mend service add
|
|
72
|
+
adopt a port something in the workspace already listens on
|
|
73
|
+
.TP
|
|
74
|
+
.B mend service connect
|
|
75
|
+
bring live Services to this machine's loopback
|
|
76
|
+
.TP
|
|
77
|
+
.B mend service list
|
|
78
|
+
every live service and its observed state
|
|
79
|
+
.TP
|
|
80
|
+
.B mend service logs
|
|
81
|
+
follow a supervised service's output
|
|
82
|
+
.TP
|
|
83
|
+
.B mend service restart
|
|
84
|
+
re\-run a service's recorded command, same URL
|
|
85
|
+
.TP
|
|
86
|
+
.B mend service stop
|
|
87
|
+
stop a service and close its host port
|
|
88
|
+
.TP
|
|
89
|
+
.B mend service init
|
|
90
|
+
scaffold mend.toml from package.json and compose ports
|
|
91
|
+
.SH PROJECT SETUP
|
|
92
|
+
.TP
|
|
93
|
+
.B mend env show
|
|
94
|
+
what the project store holds: names only, never values
|
|
95
|
+
.TP
|
|
96
|
+
.B mend env load
|
|
97
|
+
load a .env into the project
|
|
98
|
+
.TP
|
|
99
|
+
.B mend env cluster
|
|
100
|
+
bind Kubernetes secrets and configmaps to the workspaces
|
|
101
|
+
.TP
|
|
102
|
+
.B mend skills
|
|
103
|
+
your skill library on the server, or a project's
|
|
104
|
+
.TP
|
|
105
|
+
.B mend skills push
|
|
106
|
+
upload ~/.agents/skills into the library
|
|
107
|
+
.TP
|
|
108
|
+
.B mend dotfiles
|
|
109
|
+
your dotfiles on the server: repo and synced files
|
|
110
|
+
.TP
|
|
111
|
+
.B mend dotfiles sync
|
|
112
|
+
capture config files from this machine into your store
|
|
113
|
+
.TP
|
|
114
|
+
.B mend keys init
|
|
115
|
+
generate this machine's Mend deploy key (ed25519)
|
|
116
|
+
.TP
|
|
117
|
+
.B mend keys show
|
|
118
|
+
print the public key
|
|
119
|
+
.TP
|
|
120
|
+
.B mend keys share
|
|
121
|
+
relay this machine's ssh\-agent to the server
|
|
122
|
+
.SH THIS MACHINE
|
|
123
|
+
.TP
|
|
124
|
+
.B mend ssh
|
|
125
|
+
workspace SSH status: gateway, registered keys, ssh config
|
|
126
|
+
.TP
|
|
127
|
+
.B mend ssh setup
|
|
128
|
+
make this machine ready to ssh into workspaces, once
|
|
129
|
+
.TP
|
|
130
|
+
.B mend accounts
|
|
131
|
+
your connected accounts on the platform
|
|
132
|
+
.TP
|
|
133
|
+
.B mend logout
|
|
134
|
+
revoke this terminal's device token and forget it
|
|
135
|
+
.TP
|
|
136
|
+
.B mend completions
|
|
137
|
+
print the TAB\-completion hook
|
|
138
|
+
.TP
|
|
139
|
+
.B mend version
|
|
140
|
+
this CLI's version, and the server's when it answers
|
|
141
|
+
.TP
|
|
142
|
+
.B mend help
|
|
143
|
+
this index, or one command's page
|
|
144
|
+
.TP
|
|
145
|
+
.B mend man
|
|
146
|
+
one command's page, or the whole manual, in man
|
|
147
|
+
.SH ENVIRONMENT
|
|
148
|
+
.TP
|
|
149
|
+
.B MEND_URL
|
|
150
|
+
the server. Default http://localhost:3105
|
|
151
|
+
.TP
|
|
152
|
+
.B MEND_TOKEN
|
|
153
|
+
a token in place of the saved login
|
|
154
|
+
.TP
|
|
155
|
+
.B MEND_DETACH_KEY
|
|
156
|
+
the detach chord; default Ctrl+]. none when an outer multiplexer owns detaching
|
|
157
|
+
.SH FILES
|
|
158
|
+
.TP
|
|
159
|
+
.B ~/.config/mend/cli.json
|
|
160
|
+
url, token, and device id from mend login
|
|
161
|
+
.TP
|
|
162
|
+
.B ~/.config/mend/keys/
|
|
163
|
+
the deploy key from mend keys init
|
|
164
|
+
.SH SEE ALSO
|
|
165
|
+
mend\-login(1), mend\-connect(1), mend\-adopt(1), mend\-codex(1), mend\-pair(1), mend\-doctor(1), mend\-ui(1), mend\-attach(1), mend\-stop(1), mend\-shell(1), mend\-run(1), mend\-continue(1), mend\-resume(1), mend\-rejoin(1), mend\-sessions(1), mend\-worktrees(1), mend\-projects(1), mend\-refresh(1), mend\-service\-run(1), mend\-service\-add(1), mend\-service\-connect(1), mend\-service\-list(1), mend\-service\-logs(1), mend\-service\-restart(1), mend\-service\-stop(1), mend\-service\-init(1), mend\-env\-show(1), mend\-env\-load(1), mend\-env\-cluster(1), mend\-skills(1), mend\-skills\-push(1), mend\-dotfiles(1), mend\-dotfiles\-sync(1), mend\-keys\-init(1), mend\-keys\-show(1), mend\-keys\-share(1), mend\-ssh(1), mend\-ssh\-setup(1), mend\-accounts(1), mend\-logout(1), mend\-completions(1), mend\-version(1), mend\-help(1), mend\-man(1)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sealant/mend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "The mend CLI: adopt a repository into Mend's store, launch your coding agent in a recorded session worktree, detach and reattach from any terminal",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
@@ -21,8 +21,12 @@
|
|
|
21
21
|
"bin": {
|
|
22
22
|
"mend": "./dist/main.js"
|
|
23
23
|
},
|
|
24
|
+
"directories": {
|
|
25
|
+
"man": "./man"
|
|
26
|
+
},
|
|
24
27
|
"files": [
|
|
25
|
-
"dist"
|
|
28
|
+
"dist",
|
|
29
|
+
"man"
|
|
26
30
|
],
|
|
27
31
|
"type": "module",
|
|
28
32
|
"publishConfig": {
|
|
@@ -48,8 +52,9 @@
|
|
|
48
52
|
"node": ">=22"
|
|
49
53
|
},
|
|
50
54
|
"scripts": {
|
|
51
|
-
"build": "tsc src/main.ts src/dashboard.tsx --outDir dist --module nodenext --target es2023 --types node --skipLibCheck --allowImportingTsExtensions --rewriteRelativeImportExtensions --jsx react-jsx --jsxImportSource @opentui/react",
|
|
55
|
+
"build": "tsc src/main.ts src/dashboard.tsx --outDir dist --module nodenext --target es2023 --types node --skipLibCheck --allowImportingTsExtensions --rewriteRelativeImportExtensions --jsx react-jsx --jsxImportSource @opentui/react && pnpm run man",
|
|
52
56
|
"lint": "oxlint . --no-error-on-unmatched-pattern",
|
|
57
|
+
"man": "node --experimental-strip-types scripts/man.ts",
|
|
53
58
|
"test": "vitest run --passWithNoTests",
|
|
54
59
|
"typecheck": "tsgo -p tsconfig.json --noEmit"
|
|
55
60
|
}
|