@sealant/mend 0.27.4 → 0.28.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.
Files changed (60) hide show
  1. package/README.md +32 -10
  2. package/dist/{chunk-BMMHU2SH.js → chunk-7JPOKREB.js} +1 -1
  3. package/dist/{dashboard-S56N7YOG.js → dashboard-4WQC5MZ4.js} +1388 -602
  4. package/dist/main.js +5 -3
  5. package/man/mend-accounts.1 +1 -1
  6. package/man/mend-adopt.1 +1 -1
  7. package/man/mend-attach.1 +1 -1
  8. package/man/mend-codex.1 +1 -1
  9. package/man/mend-completions.1 +1 -1
  10. package/man/mend-connect.1 +1 -1
  11. package/man/mend-continue.1 +1 -1
  12. package/man/mend-doctor.1 +1 -1
  13. package/man/mend-dotfiles-sync.1 +1 -1
  14. package/man/mend-dotfiles.1 +1 -1
  15. package/man/mend-env-cluster.1 +1 -1
  16. package/man/mend-env-load.1 +1 -1
  17. package/man/mend-env-show.1 +1 -1
  18. package/man/mend-help.1 +1 -1
  19. package/man/mend-keys-init.1 +1 -1
  20. package/man/mend-keys-mode.1 +1 -1
  21. package/man/mend-keys-share.1 +1 -1
  22. package/man/mend-keys-show.1 +1 -1
  23. package/man/mend-login.1 +1 -1
  24. package/man/mend-logout.1 +1 -1
  25. package/man/mend-man.1 +1 -1
  26. package/man/mend-pair.1 +1 -1
  27. package/man/mend-projects.1 +1 -1
  28. package/man/mend-refresh.1 +1 -1
  29. package/man/mend-rejoin.1 +1 -1
  30. package/man/mend-resume.1 +1 -1
  31. package/man/mend-run.1 +1 -1
  32. package/man/mend-server-logs.1 +1 -1
  33. package/man/mend-server-restart.1 +1 -1
  34. package/man/mend-server-setup.1 +1 -1
  35. package/man/mend-server-start.1 +1 -1
  36. package/man/mend-server-status.1 +1 -1
  37. package/man/mend-server-stop.1 +1 -1
  38. package/man/mend-server-upgrade.1 +1 -1
  39. package/man/mend-server.1 +1 -1
  40. package/man/mend-service-add.1 +1 -1
  41. package/man/mend-service-connect.1 +1 -1
  42. package/man/mend-service-init.1 +1 -1
  43. package/man/mend-service-list.1 +1 -1
  44. package/man/mend-service-logs.1 +1 -1
  45. package/man/mend-service-restart.1 +1 -1
  46. package/man/mend-service-run.1 +1 -1
  47. package/man/mend-service-stop.1 +1 -1
  48. package/man/mend-sessions.1 +1 -1
  49. package/man/mend-shell.1 +1 -1
  50. package/man/mend-skills-push.1 +1 -1
  51. package/man/mend-skills.1 +1 -1
  52. package/man/mend-ssh-setup.1 +1 -1
  53. package/man/mend-ssh.1 +1 -1
  54. package/man/mend-stop.1 +1 -1
  55. package/man/mend-ui.1 +6 -2
  56. package/man/mend-uninstall.1 +1 -1
  57. package/man/mend-version.1 +1 -1
  58. package/man/mend-worktrees.1 +1 -1
  59. package/man/mend.1 +1 -1
  60. package/package.json +3 -3
package/README.md CHANGED
@@ -11,11 +11,24 @@ npm install -g @sealant/mend
11
11
 
12
12
  Requires Node 22+ and a running Mend server.
13
13
 
14
- Run bare `mend` for the interactive dashboard. Highlight a session and press `v` to review its
15
- accumulated change in the terminal: navigate files and hunks, switch between unified and split
16
- diffs, reveal whitespace, select line ranges, add line or whole-change comments, inspect linked
17
- evidence, and draft a follow-up for the same session. Press `y` to deliver a pending follow-up and
18
- relaunch that session, or `o` to continue the review in the web app.
14
+ Run bare `mend` for the interactive dashboard. The session pane takes three quarters of the screen
15
+ and previews the recorded conversation without taking terminal control. The remaining quarter is a
16
+ sidebar of three stacked sections — **Projects**, **Worktrees**, **Sessions** — where the section
17
+ you are in stands open and the other two fold to the line that says what is selected; moving into
18
+ the session pane leaves the sidebar as it was.
19
+
20
+ Use `↑↓` to select rows and `←→` or Tab to move between the sections and the session pane. Enter
21
+ moves right; it never launches or attaches. Press `a` to attach, `r` to resume a settled session, or
22
+ `n` to create a session in the selected worktree (`w` creates a worktree). After starting or
23
+ resuming, press `a` when ready to attach. Nothing is ever squeezed: a terminal too narrow for both
24
+ gives the whole width to the side you are on, a terminal too short for three drawn panes shows the
25
+ open section alone, and a one-line breadcrumb states whatever did not fit.
26
+
27
+ Highlight a session and press `v` to review its accumulated change in the terminal: navigate files
28
+ and hunks, switch between unified and split diffs, reveal whitespace, select line ranges, add line
29
+ or whole-change comments, inspect linked evidence, and draft a follow-up for the same session. Press
30
+ `y` to deliver a pending follow-up and relaunch that session, or `o` to continue the review in the
31
+ web app.
19
32
 
20
33
  ## Local server
21
34
 
@@ -75,7 +88,7 @@ mend doctor # every fact above, on one screen
75
88
 
76
89
  ### mend pair
77
90
 
78
- ```
91
+ ```text
79
92
  mend pair [--url <base url>]
80
93
  ```
81
94
 
@@ -88,7 +101,7 @@ from the Mend app later. The device names itself when it claims the code.
88
101
 
89
102
  ### mend doctor
90
103
 
91
- ```
104
+ ```sh
92
105
  mend doctor
93
106
  ```
94
107
 
@@ -97,7 +110,7 @@ account, adopted projects, the `claude` / `codex` / `gh` CLIs on PATH and whethe
97
110
  exist on this machine, and the tailnet address. One line per fact — `✓` observed, `○` not set up
98
111
  yet, `✗` a blocker — and every line that needs an action ends with the one command that takes it:
99
112
 
100
- ```
113
+ ```text
101
114
  ✓ server http://localhost:3105 · mend 0.5.0
102
115
  ✓ signed in token accepted
103
116
  ✓ sealant connected · http://127.0.0.1:4000
@@ -112,7 +125,7 @@ It exits 1 when a `✗` is printed, so a setup script can gate on it. No request
112
125
 
113
126
  ## Commands
114
127
 
115
- ```
128
+ ```text
116
129
  mend adopt [git-url] [--name <name>] clone a network Git repository into the store
117
130
  (default: the current checkout's origin URL)
118
131
  mend codex|claude|opencode new session worktree + launch the harness in it
@@ -138,7 +151,7 @@ mend version this CLI's version, and the server's when
138
151
 
139
152
  ## Signing in
140
153
 
141
- ```
154
+ ```sh
142
155
  mend login # opens the browser at <server>/authorize; press Authorize there
143
156
  mend login --url https://mend.example.com
144
157
  mend logout # revokes this terminal's device token and forgets it
@@ -228,6 +241,15 @@ on first connection, but refuses a changed key. Rerunning setup does not replace
228
241
  | `MEND_DETACH_KEY` | Set to `none` when an outer multiplexer detaches |
229
242
  | `~/.config/mend/cli.json` | `{ "url": ..., "token": ..., "deviceId": ... }` — env vars win; a pre-XDG `~/.mend/cli.json` keeps working |
230
243
 
244
+ ## Colors
245
+
246
+ The dashboard and review screen use Ayu Mirage backgrounds and accents, with brighter text and
247
+ borders for terminal legibility. `src/tui-theme.ts` defines the shared palette. Inactive pane titles
248
+ use the primary text color, not the border color.
249
+
250
+ Palette tests require at least 7:1 text contrast on the main backgrounds and 6:1 on selected rows.
251
+ Selection and diff backgrounds use solid, precomposited colors. The web theme is unchanged.
252
+
231
253
  ## Herdr
232
254
 
233
255
  When Mend attaches Codex, Claude Code, or OpenCode inside a Herdr pane, it reports that harness to
@@ -27188,7 +27188,7 @@ var ProjectClusterBindingsSnapshot = class extends Schema_exports.Class(
27188
27188
  }) {
27189
27189
  };
27190
27190
 
27191
- // ../../node_modules/.pnpm/@sealant+api-contracts@0.31.2_effect@4.0.0-beta.93/node_modules/@sealant/api-contracts/dist/workspace-environment.js
27191
+ // ../../node_modules/.pnpm/@sealant+api-contracts@0.33.0_effect@4.0.0-beta.93/node_modules/@sealant/api-contracts/dist/workspace-environment.js
27192
27192
  var RESERVED_NAMES = new Map([
27193
27193
  // Identity/process roots the daemon and shells own.
27194
27194
  ...[