@sealant/mend 0.36.0-next.658 → 0.36.0-next.665

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 (92) hide show
  1. package/dist/{chunk-GKRTZRV7.js → chunk-K5WNRH4V.js} +32 -0
  2. package/dist/{dashboard-IBHSVQ5S.js → dashboard-DQB5RNXJ.js} +1 -1
  3. package/dist/main.js +878 -139
  4. package/man/mend-accounts.1 +1 -1
  5. package/man/mend-adopt.1 +1 -1
  6. package/man/mend-attach.1 +1 -1
  7. package/man/mend-codex.1 +1 -1
  8. package/man/mend-completions.1 +1 -1
  9. package/man/mend-connect-pi.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-repo.1 +1 -1
  14. package/man/mend-dotfiles-sync.1 +1 -1
  15. package/man/mend-dotfiles.1 +1 -1
  16. package/man/mend-env-cluster.1 +1 -1
  17. package/man/mend-env-load.1 +1 -1
  18. package/man/mend-env-show.1 +1 -1
  19. package/man/mend-folder-create.1 +1 -1
  20. package/man/mend-folder-list.1 +1 -1
  21. package/man/mend-folder-push.1 +1 -1
  22. package/man/mend-folder-rm.1 +1 -1
  23. package/man/mend-git-author.1 +1 -1
  24. package/man/mend-help.1 +1 -1
  25. package/man/mend-invite.1 +1 -1
  26. package/man/mend-keys-init.1 +1 -1
  27. package/man/mend-keys-mode.1 +1 -1
  28. package/man/mend-keys-share.1 +1 -1
  29. package/man/mend-keys-show.1 +1 -1
  30. package/man/mend-land.1 +1 -1
  31. package/man/mend-login.1 +1 -1
  32. package/man/mend-logout.1 +1 -1
  33. package/man/mend-logs.1 +26 -0
  34. package/man/mend-man.1 +1 -1
  35. package/man/mend-members.1 +1 -1
  36. package/man/mend-memory-import.1 +1 -1
  37. package/man/mend-memory-rm.1 +1 -1
  38. package/man/mend-memory-show.1 +1 -1
  39. package/man/mend-memory.1 +1 -1
  40. package/man/mend-models.1 +1 -1
  41. package/man/mend-operator-exposure.1 +2 -2
  42. package/man/mend-operator-gate.1 +1 -1
  43. package/man/mend-operator-grant-owner.1 +1 -1
  44. package/man/mend-operator-org-create.1 +1 -1
  45. package/man/mend-operator-org-invite-owner.1 +1 -1
  46. package/man/mend-operator-org-list.1 +1 -1
  47. package/man/mend-operator-org-rename.1 +1 -1
  48. package/man/mend-operator-reset-link.1 +1 -1
  49. package/man/mend-pair.1 +1 -1
  50. package/man/mend-projects.1 +10 -2
  51. package/man/mend-pull.1 +1 -1
  52. package/man/mend-refresh.1 +1 -1
  53. package/man/mend-rejoin.1 +1 -1
  54. package/man/mend-resume.1 +1 -1
  55. package/man/mend-run.1 +35 -4
  56. package/man/mend-secrets-add.1 +1 -1
  57. package/man/mend-secrets-rm.1 +1 -1
  58. package/man/mend-secrets.1 +1 -1
  59. package/man/mend-server-logs.1 +1 -1
  60. package/man/mend-server-restart.1 +1 -1
  61. package/man/mend-server-setup.1 +12 -2
  62. package/man/mend-server-start.1 +1 -1
  63. package/man/mend-server-status.1 +1 -1
  64. package/man/mend-server-stop.1 +1 -1
  65. package/man/mend-server-upgrade.1 +1 -1
  66. package/man/mend-server.1 +1 -1
  67. package/man/mend-service-add.1 +1 -1
  68. package/man/mend-service-connect.1 +1 -1
  69. package/man/mend-service-init.1 +1 -1
  70. package/man/mend-service-list.1 +1 -1
  71. package/man/mend-service-logs.1 +3 -1
  72. package/man/mend-service-restart.1 +1 -1
  73. package/man/mend-service-run.1 +8 -3
  74. package/man/mend-service-stop.1 +1 -1
  75. package/man/mend-session-share.1 +1 -1
  76. package/man/mend-sessions.1 +1 -1
  77. package/man/mend-shell.1 +1 -1
  78. package/man/mend-skills-push.1 +1 -1
  79. package/man/mend-skills.1 +1 -1
  80. package/man/mend-snake.1 +1 -1
  81. package/man/mend-ssh-setup.1 +1 -1
  82. package/man/mend-ssh.1 +1 -1
  83. package/man/mend-stop.1 +1 -1
  84. package/man/mend-ui.1 +1 -1
  85. package/man/mend-uninstall.1 +1 -1
  86. package/man/mend-version.1 +1 -1
  87. package/man/mend-wait.1 +28 -0
  88. package/man/mend-workspace-replace.1 +1 -1
  89. package/man/mend-worktrees-rm.1 +1 -1
  90. package/man/mend-worktrees.1 +1 -1
  91. package/man/mend.1 +8 -2
  92. package/package.json +2 -2
@@ -28227,6 +28227,19 @@ var Session = class extends Schema_exports.Class("Session")({
28227
28227
  Schema_exports.withDecodingDefaultKey(Effect_exports.succeed(null)),
28228
28228
  Schema_exports.withConstructorDefault(Effect_exports.succeed(null))
28229
28229
  ),
28230
+ /**
28231
+ * Who launched the session's executor: the owner of the session whose own launch made it
28232
+ * (`SessionsRepo.executorSessionOf`), which a joined session is not. Remote-SSH into the workspace
28233
+ * admits that person only (docs/adr/0016), in either harness layout, so an editor asks before it
28234
+ * opens. Filled on every API read that hands sessions out (the session list, retained additions
28235
+ * included, the session view and the project view): the view reads in their own statement, the
28236
+ * plain reads from one batched read (`SessionsRepo.launchersOf`). Null with no executor, on the
28237
+ * repository's other reads, and from older servers.
28238
+ */
28239
+ workspaceLauncherUserId: Schema_exports.NullOr(Schema_exports.String).pipe(
28240
+ Schema_exports.withDecodingDefaultKey(Effect_exports.succeed(null)),
28241
+ Schema_exports.withConstructorDefault(Effect_exports.succeed(null))
28242
+ ),
28230
28243
  /**
28231
28244
  * Whether the harness left a conversation behind — a transcript Mend captured at settle or
28232
28245
  * found in the live harness home. False is a dead end: nothing to resume, nothing to hand
@@ -29369,6 +29382,7 @@ var LAUNCH_ERROR = {
29369
29382
  foreground: false,
29370
29383
  noTunnel: false,
29371
29384
  autoLand: null,
29385
+ json: false,
29372
29386
  custom: []
29373
29387
  };
29374
29388
  var parseLaunchArgs = (args2) => {
@@ -29389,6 +29403,7 @@ var parseLaunchArgs = (args2) => {
29389
29403
  let noTunnel = false;
29390
29404
  let land = false;
29391
29405
  let noLand = false;
29406
+ let json2 = false;
29392
29407
  for (let index2 = 0; index2 < flagArgs.length; index2 += 1) {
29393
29408
  const arg = flagArgs[index2] ?? "";
29394
29409
  if (arg === "--ask") {
@@ -29419,6 +29434,10 @@ var parseLaunchArgs = (args2) => {
29419
29434
  noLand = true;
29420
29435
  continue;
29421
29436
  }
29437
+ if (arg === "--json") {
29438
+ json2 = true;
29439
+ continue;
29440
+ }
29422
29441
  if (arg === "--project" || arg === "--model" || arg === "--effort" || arg === "--base" || arg === "--name" || arg === "--worktree") {
29423
29442
  const value3 = flagArgs[index2 + 1];
29424
29443
  if (value3 === void 0) return { ...LAUNCH_ERROR, error: `${arg} needs a value` };
@@ -29474,6 +29493,7 @@ var parseLaunchArgs = (args2) => {
29474
29493
  foreground,
29475
29494
  noTunnel,
29476
29495
  autoLand: land ? true : noLand ? false : null,
29496
+ json: json2,
29477
29497
  custom,
29478
29498
  error: null
29479
29499
  };
@@ -29614,6 +29634,17 @@ var pasteBytes = (text, bracketed) => Buffer.from(bracketed ? `\x1B[200~${text}\
29614
29634
  var firstPositional = (args2, valued) => args2.find(
29615
29635
  (argument, index2) => !argument.startsWith("--") && (index2 === 0 || !valued.includes(args2[index2 - 1] ?? ""))
29616
29636
  );
29637
+ var redactCredentials = (text) => text.replace(
29638
+ // Greedy up to the last `@` before the authority ends: a literal `@` in a password is userinfo.
29639
+ /\b([a-z][a-z0-9+.-]*):\/\/([^/?#"<>`]*)@/giu,
29640
+ (_whole, scheme, userinfo) => {
29641
+ if (/^(git\+)?ssh$/iu.test(scheme)) {
29642
+ const user = userinfo.split(":")[0] ?? "";
29643
+ if (/^[a-z0-9._~-]+$/iu.test(user)) return `${scheme}://${user}@`;
29644
+ }
29645
+ return `${scheme}://`;
29646
+ }
29647
+ );
29617
29648
 
29618
29649
  // src/server-request.ts
29619
29650
  var MendRequestError = class extends Error {
@@ -29902,6 +29933,7 @@ export {
29902
29933
  trackBracketedPaste,
29903
29934
  pasteBytes,
29904
29935
  firstPositional,
29936
+ redactCredentials,
29905
29937
  MendRequestError,
29906
29938
  spoken,
29907
29939
  noAnswerError,
@@ -23,7 +23,7 @@ import {
23
23
  workspaceReadsOf,
24
24
  worktreeJoinLine,
25
25
  wrapWords
26
- } from "./chunk-GKRTZRV7.js";
26
+ } from "./chunk-K5WNRH4V.js";
27
27
 
28
28
  // src/dashboard.tsx
29
29
  import { CliRenderEvents, createCliRenderer } from "@opentui/core";