@sealant/mend 0.36.0-next.658 → 0.36.0-next.663
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-VOP6USOZ.js} +19 -0
- package/dist/{dashboard-IBHSVQ5S.js → dashboard-CEJN6IOO.js} +1 -1
- package/dist/main.js +707 -116
- 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 +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 +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 +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 +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
|
@@ -29369,6 +29369,7 @@ var LAUNCH_ERROR = {
|
|
|
29369
29369
|
foreground: false,
|
|
29370
29370
|
noTunnel: false,
|
|
29371
29371
|
autoLand: null,
|
|
29372
|
+
json: false,
|
|
29372
29373
|
custom: []
|
|
29373
29374
|
};
|
|
29374
29375
|
var parseLaunchArgs = (args2) => {
|
|
@@ -29389,6 +29390,7 @@ var parseLaunchArgs = (args2) => {
|
|
|
29389
29390
|
let noTunnel = false;
|
|
29390
29391
|
let land = false;
|
|
29391
29392
|
let noLand = false;
|
|
29393
|
+
let json2 = false;
|
|
29392
29394
|
for (let index2 = 0; index2 < flagArgs.length; index2 += 1) {
|
|
29393
29395
|
const arg = flagArgs[index2] ?? "";
|
|
29394
29396
|
if (arg === "--ask") {
|
|
@@ -29419,6 +29421,10 @@ var parseLaunchArgs = (args2) => {
|
|
|
29419
29421
|
noLand = true;
|
|
29420
29422
|
continue;
|
|
29421
29423
|
}
|
|
29424
|
+
if (arg === "--json") {
|
|
29425
|
+
json2 = true;
|
|
29426
|
+
continue;
|
|
29427
|
+
}
|
|
29422
29428
|
if (arg === "--project" || arg === "--model" || arg === "--effort" || arg === "--base" || arg === "--name" || arg === "--worktree") {
|
|
29423
29429
|
const value3 = flagArgs[index2 + 1];
|
|
29424
29430
|
if (value3 === void 0) return { ...LAUNCH_ERROR, error: `${arg} needs a value` };
|
|
@@ -29474,6 +29480,7 @@ var parseLaunchArgs = (args2) => {
|
|
|
29474
29480
|
foreground,
|
|
29475
29481
|
noTunnel,
|
|
29476
29482
|
autoLand: land ? true : noLand ? false : null,
|
|
29483
|
+
json: json2,
|
|
29477
29484
|
custom,
|
|
29478
29485
|
error: null
|
|
29479
29486
|
};
|
|
@@ -29614,6 +29621,17 @@ var pasteBytes = (text, bracketed) => Buffer.from(bracketed ? `\x1B[200~${text}\
|
|
|
29614
29621
|
var firstPositional = (args2, valued) => args2.find(
|
|
29615
29622
|
(argument, index2) => !argument.startsWith("--") && (index2 === 0 || !valued.includes(args2[index2 - 1] ?? ""))
|
|
29616
29623
|
);
|
|
29624
|
+
var redactCredentials = (text) => text.replace(
|
|
29625
|
+
// Greedy up to the last `@` before the authority ends: a literal `@` in a password is userinfo.
|
|
29626
|
+
/\b([a-z][a-z0-9+.-]*):\/\/([^/?#"<>`]*)@/giu,
|
|
29627
|
+
(_whole, scheme, userinfo) => {
|
|
29628
|
+
if (/^(git\+)?ssh$/iu.test(scheme)) {
|
|
29629
|
+
const user = userinfo.split(":")[0] ?? "";
|
|
29630
|
+
if (/^[a-z0-9._~-]+$/iu.test(user)) return `${scheme}://${user}@`;
|
|
29631
|
+
}
|
|
29632
|
+
return `${scheme}://`;
|
|
29633
|
+
}
|
|
29634
|
+
);
|
|
29617
29635
|
|
|
29618
29636
|
// src/server-request.ts
|
|
29619
29637
|
var MendRequestError = class extends Error {
|
|
@@ -29902,6 +29920,7 @@ export {
|
|
|
29902
29920
|
trackBracketedPaste,
|
|
29903
29921
|
pasteBytes,
|
|
29904
29922
|
firstPositional,
|
|
29923
|
+
redactCredentials,
|
|
29905
29924
|
MendRequestError,
|
|
29906
29925
|
spoken,
|
|
29907
29926
|
noAnswerError,
|