@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.
- package/dist/{chunk-GKRTZRV7.js → chunk-K5WNRH4V.js} +32 -0
- package/dist/{dashboard-IBHSVQ5S.js → dashboard-DQB5RNXJ.js} +1 -1
- package/dist/main.js +878 -139
- 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 +26 -0
- 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 +2 -2
- 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 +10 -2
- 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 +35 -4
- 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 +12 -2
- 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 +3 -1
- package/man/mend-service-restart.1 +1 -1
- package/man/mend-service-run.1 +8 -3
- 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-wait.1 +28 -0
- 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 +8 -2
- 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,
|