@sealant/mend 0.37.0-next.1707 → 0.37.0-next.1729
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-57MAO6CT.js → chunk-QEQQJ7QT.js} +28 -28
- package/dist/{dashboard-XTGXOX3P.js → dashboard-OP7JHWOM.js} +1 -1
- package/dist/main.js +199 -13
- package/man/mend-access-keys-create.1 +1 -1
- package/man/mend-access-keys-list.1 +1 -1
- package/man/mend-access-keys-revoke.1 +1 -1
- package/man/mend-accounts.1 +1 -1
- package/man/mend-adopt.1 +1 -1
- package/man/mend-agent-install.1 +1 -1
- package/man/mend-agent-logins.1 +1 -1
- package/man/mend-attach.1 +1 -1
- package/man/mend-boat-check.1 +1 -1
- package/man/mend-boat-connect.1 +1 -1
- package/man/mend-boat-disconnect.1 +1 -1
- package/man/mend-boat-status.1 +1 -1
- package/man/mend-boat-wallet.1 +1 -1
- package/man/mend-change.1 +1 -1
- package/man/mend-codex.1 +1 -1
- package/man/mend-comment-add.1 +1 -1
- package/man/mend-comment-send.1 +1 -1
- package/man/mend-completions.1 +1 -1
- package/man/mend-connect-executor.1 +1 -1
- package/man/mend-connect-pi.1 +1 -1
- package/man/mend-connect-status.1 +1 -1
- package/man/mend-connect.1 +1 -1
- package/man/mend-continue.1 +1 -1
- package/man/mend-diff.1 +1 -1
- package/man/mend-doctor.1 +1 -1
- package/man/mend-doppler-connect.1 +1 -1
- package/man/mend-doppler-disconnect.1 +1 -1
- package/man/mend-doppler-status.1 +1 -1
- package/man/mend-doppler-use.1 +1 -1
- package/man/mend-doppler.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-git-check.1 +1 -1
- package/man/mend-handoff.1 +1 -1
- package/man/mend-help.1 +1 -1
- package/man/mend-history.1 +1 -1
- package/man/mend-import-t3.1 +1 -1
- package/man/mend-interrupt.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 +1 -1
- package/man/mend-man.1 +1 -1
- package/man/mend-mcp-add.1 +1 -1
- package/man/mend-mcp-forget.1 +1 -1
- package/man/mend-mcp-off.1 +1 -1
- package/man/mend-mcp-on.1 +1 -1
- package/man/mend-mcp-remove.1 +1 -1
- package/man/mend-mcp.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-message.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-add-member.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-org-leave.1 +1 -1
- package/man/mend-org-switch.1 +1 -1
- package/man/mend-org.1 +1 -1
- package/man/mend-pair.1 +1 -1
- package/man/mend-preview.1 +1 -1
- package/man/mend-projects-image.1 +1 -1
- package/man/mend-projects-purge.1 +1 -1
- package/man/mend-projects-removed.1 +1 -1
- package/man/mend-projects-restore.1 +1 -1
- package/man/mend-projects-rm.1 +1 -1
- package/man/mend-projects.1 +1 -1
- package/man/mend-proof-get.1 +1 -1
- package/man/mend-proof-list.1 +1 -1
- package/man/mend-pull.1 +1 -1
- package/man/mend-refresh.1 +1 -1
- package/man/mend-rejoin.1 +1 -1
- package/man/mend-resource-add.1 +1 -1
- package/man/mend-resource-env.1 +1 -1
- package/man/mend-resource-list.1 +1 -1
- package/man/mend-resource-load.1 +1 -1
- package/man/mend-resource-remove.1 +1 -1
- package/man/mend-resource-reset.1 +1 -1
- package/man/mend-resource-start.1 +1 -1
- package/man/mend-resource-stop.1 +1 -1
- package/man/mend-resource-use.1 +1 -1
- package/man/mend-respond.1 +1 -1
- package/man/mend-resume.1 +1 -1
- package/man/mend-run.1 +1 -1
- package/man/mend-screen-look.1 +1 -1
- 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 +8 -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 +1 -1
- package/man/mend-service-restart.1 +1 -1
- package/man/mend-service-run.1 +1 -1
- 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-settings.1 +1 -1
- package/man/mend-setup-session.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-keys-remove.1 +1 -1
- package/man/mend-ssh-keys.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 +1 -1
- 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 +1 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
workspaceRetirementLine,
|
|
133
133
|
worktreeJoinLine,
|
|
134
134
|
worktreeListsPeople
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-QEQQJ7QT.js";
|
|
136
136
|
|
|
137
137
|
// ../../node_modules/.pnpm/tldts@7.4.6/node_modules/tldts/dist/cjs/index.js
|
|
138
138
|
var require_cjs = __commonJS({
|
|
@@ -2447,6 +2447,15 @@ var LandingFact = Schema_exports.Union([
|
|
|
2447
2447
|
var decodeWireFacts = Schema_exports.decodeUnknownSync(Schema_exports.toCodecJson(Schema_exports.Array(LandingFact)));
|
|
2448
2448
|
var landingFactsFromWire = (wire) => decodeWireFacts(wire);
|
|
2449
2449
|
|
|
2450
|
+
// ../../packages/domain/src/workbench/memory-limit.ts
|
|
2451
|
+
var MemoryLimitHit = Schema_exports.Struct({
|
|
2452
|
+
limitBytes: Schema_exports.NullOr(Schema_exports.Int),
|
|
2453
|
+
stopped: Schema_exports.Literals(["agent", "process"]),
|
|
2454
|
+
agent: Schema_exports.String
|
|
2455
|
+
});
|
|
2456
|
+
var GiB = 1024 ** 3;
|
|
2457
|
+
var MiB = 1024 ** 2;
|
|
2458
|
+
|
|
2450
2459
|
// ../../packages/domain/src/workbench/merge-back-context.ts
|
|
2451
2460
|
var MergeBackId = Schema_exports.String.pipe(Schema_exports.brand("MergeBackId"));
|
|
2452
2461
|
var MergeBackContext = Schema_exports.Struct({
|
|
@@ -2629,6 +2638,12 @@ var AgentTurn = class extends Schema_exports.Class("AgentTurn")({
|
|
|
2629
2638
|
Schema_exports.withDecodingDefaultKey(Effect_exports.succeed(null)),
|
|
2630
2639
|
Schema_exports.withConstructorDefault(Effect_exports.succeed(null))
|
|
2631
2640
|
),
|
|
2641
|
+
/**
|
|
2642
|
+
* The workspace reached its memory limit during this turn and the kernel stopped a process in
|
|
2643
|
+
* it (SLNT-1233); null or absent otherwise. Optional, so a turn built before it (a client's
|
|
2644
|
+
* fixture, an older server's) reads as none.
|
|
2645
|
+
*/
|
|
2646
|
+
memoryLimit: Schema_exports.optionalKey(Schema_exports.NullOr(MemoryLimitHit)),
|
|
2632
2647
|
createdAt: Timestamp,
|
|
2633
2648
|
startedAt: Schema_exports.NullOr(Timestamp),
|
|
2634
2649
|
endedAt: Schema_exports.NullOr(Timestamp)
|
|
@@ -2799,6 +2814,11 @@ var AgentEvent = Schema_exports.Union([
|
|
|
2799
2814
|
nativeHistory: Schema_exports.optional(NativeHistoryObservation)
|
|
2800
2815
|
}),
|
|
2801
2816
|
Schema_exports.TaggedStruct("drain.ended", {}),
|
|
2817
|
+
/**
|
|
2818
|
+
* The agent took a message sent into its running turn (`steerId`, Mend's steer id): Claude
|
|
2819
|
+
* opened the continuation the steer asked for, or Codex recorded the steer's user message.
|
|
2820
|
+
*/
|
|
2821
|
+
Schema_exports.TaggedStruct("steer.taken", { steerId: Schema_exports.String }),
|
|
2802
2822
|
Schema_exports.TaggedStruct("item.updated", { item: AgentEventItem }),
|
|
2803
2823
|
Schema_exports.TaggedStruct("content.delta", {
|
|
2804
2824
|
providerItemId: Schema_exports.String,
|
|
@@ -2870,6 +2890,15 @@ var AgentTurnSteer = class extends Schema_exports.Class("AgentTurnSteer")({
|
|
|
2870
2890
|
delivery: AgentTurnSteerDelivery,
|
|
2871
2891
|
queuedTurnId: Schema_exports.NullOr(AgentTurnId),
|
|
2872
2892
|
clientSteerId: Schema_exports.NullOr(Schema_exports.String),
|
|
2893
|
+
/**
|
|
2894
|
+
* When the agent took the words into its turn, as its harness showed it: Claude opened the
|
|
2895
|
+
* continuation the steer asked for, or Codex recorded the steer's user message. Null until then,
|
|
2896
|
+
* for a steer that never got there, and from older servers.
|
|
2897
|
+
*/
|
|
2898
|
+
takenAt: Schema_exports.NullOr(Timestamp).pipe(
|
|
2899
|
+
Schema_exports.withDecodingDefaultKey(Effect_exports.succeed(null)),
|
|
2900
|
+
Schema_exports.withConstructorDefault(Effect_exports.succeed(null))
|
|
2901
|
+
),
|
|
2873
2902
|
createdAt: Timestamp,
|
|
2874
2903
|
updatedAt: Timestamp
|
|
2875
2904
|
}) {
|
|
@@ -3467,6 +3496,7 @@ var SessionStatus = Schema_exports.Literals([
|
|
|
3467
3496
|
"failed",
|
|
3468
3497
|
"stopped"
|
|
3469
3498
|
]);
|
|
3499
|
+
var SessionMode = Schema_exports.Literals(["conversation", "terminal"]);
|
|
3470
3500
|
var LaunchMovedOnReason = Schema_exports.Literals([
|
|
3471
3501
|
"underWay",
|
|
3472
3502
|
"agentLive",
|
|
@@ -3769,6 +3799,11 @@ var Session = class extends Schema_exports.Class("Session")({
|
|
|
3769
3799
|
Schema_exports.withConstructorDefault(Effect_exports.succeed(null))
|
|
3770
3800
|
),
|
|
3771
3801
|
status: SessionStatus,
|
|
3802
|
+
/**
|
|
3803
|
+
* How its agent runs (`SessionMode`); null before any launch. Absent from older servers, and from
|
|
3804
|
+
* a session a client built itself: read as null.
|
|
3805
|
+
*/
|
|
3806
|
+
mode: Schema_exports.optionalKey(Schema_exports.NullOr(SessionMode)),
|
|
3772
3807
|
/**
|
|
3773
3808
|
* Where the session's latest write of a live status (`starting`, `running`, `waiting`) falls, in
|
|
3774
3809
|
* one sequence shared by every session (`SessionsRepo.liveMarkNow`). A reader that sees a higher
|
|
@@ -10236,7 +10271,7 @@ var COMMANDS = [
|
|
|
10236
10271
|
summary: "install or change the local Mend server, guided",
|
|
10237
10272
|
synopsis: [
|
|
10238
10273
|
"",
|
|
10239
|
-
"[--yes] [--context <name>] [--version <version|latest>] [--bind <ip>] [--ssh-bind <ip>] [--url <origin>] [--origin <origin>...] [--port <n>] [--ssh-port <n>] [--edge <host> | --no-edge] [--exposure <loopback|private|public>] [--tenancy <single|multi>] [--declare <item>...] [--undeclare <item>...] [--t3-gateway [--t3-gateway-port <n>] [--t3-gateway-origin <host> | --no-t3-gateway-origin] | --no-t3-gateway] [--preview-domain <domain> --preview-certificate <file> --preview-key <file> | --no-preview-domain] [--preview-tailnet [--preview-tailnet-ports <list>] | --no-preview-tailnet] [--npm-mirror | --no-npm-mirror] [--npm-mirror-max-size <size>] [--docker-mirror | --no-docker-mirror] [--docker-mirror-max-size <size>] [--docker-hub-username <name> --docker-hub-token-stdin --docker-hub-public-only | --no-docker-hub-login] [--workspace-image-keep <n|default>] [--workspace-image-min-age <hours|default>] [--docker-socket <path>] [--assets-dir <dir>] [--offline] [--allow-userns | --no-allow-userns]"
|
|
10274
|
+
"[--yes] [--context <name>] [--version <version|latest>] [--bind <ip>] [--ssh-bind <ip>] [--url <origin>] [--origin <origin>...] [--port <n>] [--ssh-port <n>] [--edge <host> | --no-edge] [--exposure <loopback|private|public>] [--tenancy <single|multi>] [--declare <item>...] [--undeclare <item>...] [--t3-gateway [--t3-gateway-port <n>] [--t3-gateway-origin <host> | --no-t3-gateway-origin] | --no-t3-gateway] [--preview-domain <domain> --preview-certificate <file> --preview-key <file> | --no-preview-domain] [--preview-tailnet [--preview-tailnet-ports <list>] | --no-preview-tailnet] [--npm-mirror | --no-npm-mirror] [--npm-mirror-max-size <size>] [--docker-mirror | --no-docker-mirror] [--docker-mirror-max-size <size>] [--docker-hub-username <name> --docker-hub-token-stdin --docker-hub-public-only | --no-docker-hub-login] [--workspace-image-keep <n|default>] [--workspace-image-min-age <hours|default>] [--workspace-memory <auto|none|size|default>] [--workspace-docker-memory <auto|none|size|default>] [--docker-socket <path>] [--assets-dir <dir>] [--offline] [--allow-userns | --no-allow-userns]"
|
|
10240
10275
|
],
|
|
10241
10276
|
description: [
|
|
10242
10277
|
"On a terminal with no flags, setup asks its questions in plain words, one at a time: on a fresh install with more than one Docker engine answering here (Docker Desktop beside OrbStack, colima, Rancher Desktop, a rootless Docker), which one Mend runs in, the current context in brackets; then how people reach this Mend (just this machine, your private network or Tailscale, or the public internet with HTTPS), whether VS Code Remote-SSH reaches it from other machines, the T3 Code gateway, the mirrors, and one organization or several. It looks before it asks and says what it observed: Tailscale's name and address and what Tailscale Serve forwards, where your domain resolves, and whether ports 80 and 443 are taken. It never asks for an address to bind: that follows from the answers. On an existing install it shows what is saved and lets you keep it, change one thing, or go through every question. It ends with what changes, in words, and the same command with flags; nothing applies until you say yes.",
|
|
@@ -10456,6 +10491,14 @@ var COMMANDS = [
|
|
|
10456
10491
|
flag: "--workspace-image-min-age <hours|default>",
|
|
10457
10492
|
text: "the worker never removes a workspace image built within this many hours. Default: 168"
|
|
10458
10493
|
},
|
|
10494
|
+
{
|
|
10495
|
+
flag: "--workspace-memory <auto|none|size|default>",
|
|
10496
|
+
text: "the memory limit of each session's workspace, such as 4g; at it the kernel stops a process in the workspace. Kept across reruns and upgrades; applies to sessions started after Mend restarts. Default: auto, half of this machine's memory, 2 to 16 GiB"
|
|
10497
|
+
},
|
|
10498
|
+
{
|
|
10499
|
+
flag: "--workspace-docker-memory <auto|none|size|default>",
|
|
10500
|
+
text: "the same for each workspace's Docker service. Default: auto, a quarter of this machine's memory, 1 to 8 GiB"
|
|
10501
|
+
},
|
|
10459
10502
|
{
|
|
10460
10503
|
flag: "--assets-dir <dir>",
|
|
10461
10504
|
text: "copy compose.v2.yaml and postgres-init.sh from a release directory; fresh setup requires --version"
|
|
@@ -16660,6 +16703,7 @@ var optionalFileKeys = [
|
|
|
16660
16703
|
"caddyfile",
|
|
16661
16704
|
"mirrors",
|
|
16662
16705
|
"workspaceImages",
|
|
16706
|
+
"workspaceMemory",
|
|
16663
16707
|
"npmMirrorConf",
|
|
16664
16708
|
"dockerMirrorGuard",
|
|
16665
16709
|
"t3Gateway",
|
|
@@ -16683,6 +16727,7 @@ var fileNames = {
|
|
|
16683
16727
|
caddyfile: "Caddyfile",
|
|
16684
16728
|
mirrors: "compose.mirrors.yaml",
|
|
16685
16729
|
workspaceImages: "compose.workspace-images.yaml",
|
|
16730
|
+
workspaceMemory: "compose.workspace-memory.yaml",
|
|
16686
16731
|
npmMirrorConf: "npm-mirror.conf",
|
|
16687
16732
|
dockerMirrorGuard: "docker-mirror-guard.sh",
|
|
16688
16733
|
t3Gateway: "compose.t3.yaml",
|
|
@@ -16708,6 +16753,7 @@ var fileModes = {
|
|
|
16708
16753
|
caddyfile: 420,
|
|
16709
16754
|
mirrors: 384,
|
|
16710
16755
|
workspaceImages: 384,
|
|
16756
|
+
workspaceMemory: 384,
|
|
16711
16757
|
npmMirrorConf: 420,
|
|
16712
16758
|
dockerMirrorGuard: 420,
|
|
16713
16759
|
t3Gateway: 384,
|
|
@@ -16849,6 +16895,7 @@ var readActive = (paths) => {
|
|
|
16849
16895
|
const caddyfile = optional("caddyfile");
|
|
16850
16896
|
const mirrors = optional("mirrors");
|
|
16851
16897
|
const workspaceImages = optional("workspaceImages");
|
|
16898
|
+
const workspaceMemory = optional("workspaceMemory");
|
|
16852
16899
|
const npmMirrorConf = optional("npmMirrorConf");
|
|
16853
16900
|
const dockerMirrorGuard = optional("dockerMirrorGuard");
|
|
16854
16901
|
const t3Gateway = optional("t3Gateway");
|
|
@@ -16871,6 +16918,7 @@ var readActive = (paths) => {
|
|
|
16871
16918
|
...caddyfile === void 0 ? {} : { caddyfile },
|
|
16872
16919
|
...mirrors === void 0 ? {} : { mirrors },
|
|
16873
16920
|
...workspaceImages === void 0 ? {} : { workspaceImages },
|
|
16921
|
+
...workspaceMemory === void 0 ? {} : { workspaceMemory },
|
|
16874
16922
|
...npmMirrorConf === void 0 ? {} : { npmMirrorConf },
|
|
16875
16923
|
...dockerMirrorGuard === void 0 ? {} : { dockerMirrorGuard },
|
|
16876
16924
|
...t3Gateway === void 0 ? {} : { t3Gateway },
|
|
@@ -18222,6 +18270,83 @@ var workspaceImagesChangedLines = (before, after) => before?.keep === after?.kee
|
|
|
18222
18270
|
`${workspaceImagesLine(after)}. The worker sweeps half a minute after Mend starts, then hourly.`
|
|
18223
18271
|
];
|
|
18224
18272
|
|
|
18273
|
+
// src/server-workspace-memory.ts
|
|
18274
|
+
var WORKSPACE_MEMORY_COMPOSE_FILE = "compose.workspace-memory.yaml";
|
|
18275
|
+
var MIN_BYTES = 64 * 1024 ** 2;
|
|
18276
|
+
var UNIT_BYTES = {
|
|
18277
|
+
k: 1024,
|
|
18278
|
+
m: 1024 ** 2,
|
|
18279
|
+
g: 1024 ** 3,
|
|
18280
|
+
t: 1024 ** 4
|
|
18281
|
+
};
|
|
18282
|
+
var sizeBytes = (value) => {
|
|
18283
|
+
const match = /^(\d{1,16})(?:([kmgt])(?:ib|b)?)?$/i.exec(value);
|
|
18284
|
+
if (match === null) return null;
|
|
18285
|
+
const [, digits = "", unit] = match;
|
|
18286
|
+
const bytes = Number(digits) * (unit === void 0 ? 1 : UNIT_BYTES[unit.toLowerCase()] ?? 0);
|
|
18287
|
+
return Number.isSafeInteger(bytes) ? bytes : null;
|
|
18288
|
+
};
|
|
18289
|
+
var isLimit = (value) => {
|
|
18290
|
+
if (value === "auto" || value === "none") return true;
|
|
18291
|
+
const bytes = sizeBytes(value);
|
|
18292
|
+
return bytes !== null && bytes >= MIN_BYTES;
|
|
18293
|
+
};
|
|
18294
|
+
var parseWorkspaceMemory = (value) => value === "default" || isLimit(value) ? value : null;
|
|
18295
|
+
var WORKSPACE_MEMORY_RULE = "auto, none, a size of at least 64m such as 4g, 4096m or 4GiB, or default";
|
|
18296
|
+
var pick2 = (flag, kept) => flag === "default" ? void 0 : flag ?? kept;
|
|
18297
|
+
var resolveWorkspaceMemory = (saved, options) => {
|
|
18298
|
+
const workspace = pick2(options.workspaceMemory, saved?.workspace);
|
|
18299
|
+
const dockerService = pick2(options.workspaceDockerMemory, saved?.dockerService);
|
|
18300
|
+
if (workspace === void 0 && dockerService === void 0) return void 0;
|
|
18301
|
+
return {
|
|
18302
|
+
...workspace === void 0 ? {} : { workspace },
|
|
18303
|
+
...dockerService === void 0 ? {} : { dockerService }
|
|
18304
|
+
};
|
|
18305
|
+
};
|
|
18306
|
+
var parseWorkspaceMemoryField = (raw) => {
|
|
18307
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) return null;
|
|
18308
|
+
const fields = new Map(Object.entries(raw));
|
|
18309
|
+
if ([...fields.keys()].some((key) => key !== "workspace" && key !== "dockerService")) return null;
|
|
18310
|
+
const read = (key) => {
|
|
18311
|
+
const value = fields.get(key);
|
|
18312
|
+
if (value === void 0) return void 0;
|
|
18313
|
+
return typeof value === "string" && isLimit(value) ? value : null;
|
|
18314
|
+
};
|
|
18315
|
+
const workspace = read("workspace");
|
|
18316
|
+
const dockerService = read("dockerService");
|
|
18317
|
+
if (workspace === null || dockerService === null || workspace === void 0 && dockerService === void 0)
|
|
18318
|
+
return null;
|
|
18319
|
+
return {
|
|
18320
|
+
...workspace === void 0 ? {} : { workspace },
|
|
18321
|
+
...dockerService === void 0 ? {} : { dockerService }
|
|
18322
|
+
};
|
|
18323
|
+
};
|
|
18324
|
+
var renderWorkspaceMemoryOverlay = (memory) => {
|
|
18325
|
+
if (memory === void 0) return void 0;
|
|
18326
|
+
return [
|
|
18327
|
+
"# Written by mend server setup from server.json: the memory limit of each session's workspace",
|
|
18328
|
+
"# (--workspace-memory) and of its Docker service (--workspace-docker-memory).",
|
|
18329
|
+
"# A value not named here is sealant's default, auto.",
|
|
18330
|
+
"services:",
|
|
18331
|
+
" mend:",
|
|
18332
|
+
" environment:",
|
|
18333
|
+
...memory.workspace === void 0 ? [] : [` SEALANT_DOCKER_WORKSPACE_MEMORY_LIMIT: "${memory.workspace}"`],
|
|
18334
|
+
...memory.dockerService === void 0 ? [] : [` SEALANT_DOCKER_SERVICE_MEMORY_LIMIT: "${memory.dockerService}"`],
|
|
18335
|
+
""
|
|
18336
|
+
].join("\n");
|
|
18337
|
+
};
|
|
18338
|
+
var workspaceMemoryLine = (memory) => {
|
|
18339
|
+
const workspace = memory?.workspace ?? "auto";
|
|
18340
|
+
const dockerService = memory?.dockerService ?? "auto";
|
|
18341
|
+
const workspaceWords = workspace === "auto" ? "half of this machine's memory (2 to 16 GiB)" : workspace === "none" ? "no limit" : workspace;
|
|
18342
|
+
const dockerServiceWords = dockerService === "auto" ? workspace === "auto" ? "a quarter (1 to 8 GiB)" : "a quarter of this machine's memory (1 to 8 GiB)" : dockerService === "none" ? "no limit" : dockerService;
|
|
18343
|
+
const source = memory === void 0 ? "sealant's defaults, not set on this install" : memory.workspace === void 0 ? "the workspace's limit is sealant's default" : memory.dockerService === void 0 ? "the Docker service's limit is sealant's default" : "set on this install";
|
|
18344
|
+
return `workspace memory \xB7 each session's workspace gets ${workspaceWords}, its Docker service ${dockerServiceWords} \xB7 ${source}`;
|
|
18345
|
+
};
|
|
18346
|
+
var workspaceMemoryChangedLines = (before, after) => before?.workspace === after?.workspace && before?.dockerService === after?.dockerService ? [] : [
|
|
18347
|
+
`${workspaceMemoryLine(after)}. Sessions started after Mend restarts get these limits; running ones keep theirs.`
|
|
18348
|
+
];
|
|
18349
|
+
|
|
18225
18350
|
// src/server-edge.ts
|
|
18226
18351
|
var EXPOSURES = ["loopback", "private", "public"];
|
|
18227
18352
|
var TENANCIES = ["single", "multi"];
|
|
@@ -18478,6 +18603,7 @@ var composeOverlays = (posture) => [
|
|
|
18478
18603
|
...renderPostureOverlay(posture) === void 0 ? [] : [POSTURE_COMPOSE_FILE],
|
|
18479
18604
|
...runsMirrors(posture.mirrors) ? [MIRRORS_COMPOSE_FILE] : [],
|
|
18480
18605
|
...posture.workspaceImages === void 0 ? [] : [WORKSPACE_IMAGES_COMPOSE_FILE],
|
|
18606
|
+
...posture.workspaceMemory === void 0 ? [] : [WORKSPACE_MEMORY_COMPOSE_FILE],
|
|
18481
18607
|
...posture.t3GatewayPort === void 0 ? [] : [T3_GATEWAY_COMPOSE_FILE],
|
|
18482
18608
|
...posture.preview === void 0 ? [] : [PREVIEW_COMPOSE_FILE],
|
|
18483
18609
|
...posture.remoteEndpoints === void 0 ? [] : [REMOTE_ENDPOINTS_COMPOSE_FILE],
|
|
@@ -27092,6 +27218,8 @@ var SETUP_FLAGS = /* @__PURE__ */ new Set([
|
|
|
27092
27218
|
"--docker-mirror-max-size",
|
|
27093
27219
|
"--workspace-image-keep",
|
|
27094
27220
|
"--workspace-image-min-age",
|
|
27221
|
+
"--workspace-memory",
|
|
27222
|
+
"--workspace-docker-memory",
|
|
27095
27223
|
"--docker-hub-username",
|
|
27096
27224
|
"--docker-hub-token-stdin",
|
|
27097
27225
|
"--docker-hub-public-only",
|
|
@@ -27288,6 +27416,18 @@ var parseSetupOptions = (args) => {
|
|
|
27288
27416
|
throw setupError(
|
|
27289
27417
|
`--workspace-image-min-age must be ${WORKSPACE_IMAGE_MIN_AGE_RULE}, not "${minAgeFlag ?? ""}".`
|
|
27290
27418
|
);
|
|
27419
|
+
const memoryFlag = flagValue("--workspace-memory");
|
|
27420
|
+
const workspaceMemory = memoryFlag === void 0 ? void 0 : parseWorkspaceMemory(memoryFlag);
|
|
27421
|
+
if (workspaceMemory === null)
|
|
27422
|
+
throw setupError(
|
|
27423
|
+
`--workspace-memory must be ${WORKSPACE_MEMORY_RULE}, not "${memoryFlag ?? ""}".`
|
|
27424
|
+
);
|
|
27425
|
+
const dockerMemoryFlag = flagValue("--workspace-docker-memory");
|
|
27426
|
+
const workspaceDockerMemory = dockerMemoryFlag === void 0 ? void 0 : parseWorkspaceMemory(dockerMemoryFlag);
|
|
27427
|
+
if (workspaceDockerMemory === null)
|
|
27428
|
+
throw setupError(
|
|
27429
|
+
`--workspace-docker-memory must be ${WORKSPACE_MEMORY_RULE}, not "${dockerMemoryFlag ?? ""}".`
|
|
27430
|
+
);
|
|
27291
27431
|
const dockerHubUsername = flagValue("--docker-hub-username");
|
|
27292
27432
|
const dockerHubTokenStdin = values.has("--docker-hub-token-stdin");
|
|
27293
27433
|
const noDockerHubLogin = values.has("--no-docker-hub-login");
|
|
@@ -27417,6 +27557,8 @@ var parseSetupOptions = (args) => {
|
|
|
27417
27557
|
dockerMirrorMaxSize,
|
|
27418
27558
|
workspaceImageKeep,
|
|
27419
27559
|
workspaceImageMinAge,
|
|
27560
|
+
workspaceMemory,
|
|
27561
|
+
workspaceDockerMemory,
|
|
27420
27562
|
dockerHubUsername,
|
|
27421
27563
|
dockerHubTokenStdin,
|
|
27422
27564
|
noDockerHubLogin,
|
|
@@ -27814,6 +27956,11 @@ var parseServerConfig = (raw) => {
|
|
|
27814
27956
|
throw setupError(
|
|
27815
27957
|
"Server config is corrupt: workspaceImages must hold keep and minAgeHours, each a whole number. Run mend server setup with --workspace-image-keep and --workspace-image-min-age."
|
|
27816
27958
|
);
|
|
27959
|
+
const workspaceMemory = fields.has("workspaceMemory") ? parseWorkspaceMemoryField(fields.get("workspaceMemory")) : void 0;
|
|
27960
|
+
if (workspaceMemory === null)
|
|
27961
|
+
throw setupError(
|
|
27962
|
+
"Server config is corrupt: workspaceMemory must hold workspace and dockerService, each auto, none or a size of at least 64m such as 4g. Run mend server setup with --workspace-memory and --workspace-docker-memory."
|
|
27963
|
+
);
|
|
27817
27964
|
const config = {
|
|
27818
27965
|
...fields.has("sessionRuntime") ? { sessionRuntime: sessionRuntimeOf(fields.get("sessionRuntime")) } : {},
|
|
27819
27966
|
...fields.has("sessionRuntimes") ? { sessionRuntimes: savedSessionRuntimesOf(fields.get("sessionRuntimes")) } : {},
|
|
@@ -27842,6 +27989,7 @@ var parseServerConfig = (raw) => {
|
|
|
27842
27989
|
...declared.length === 0 ? {} : { declared },
|
|
27843
27990
|
...fields.has("mirrors") ? { mirrors: parseMirrorsField(fields.get("mirrors")) } : {},
|
|
27844
27991
|
...workspaceImages === void 0 ? {} : { workspaceImages },
|
|
27992
|
+
...workspaceMemory === void 0 ? {} : { workspaceMemory },
|
|
27845
27993
|
...t3GatewayPort === void 0 ? {} : { t3GatewayPort },
|
|
27846
27994
|
...t3GatewayOrigin === void 0 ? {} : { t3GatewayOrigin },
|
|
27847
27995
|
...preview === void 0 ? {} : { preview }
|
|
@@ -27884,6 +28032,8 @@ var parseServerConfig = (raw) => {
|
|
|
27884
28032
|
dockerMirrorMaxSize: void 0,
|
|
27885
28033
|
workspaceImageKeep: void 0,
|
|
27886
28034
|
workspaceImageMinAge: void 0,
|
|
28035
|
+
workspaceMemory: void 0,
|
|
28036
|
+
workspaceDockerMemory: void 0,
|
|
27887
28037
|
dockerHubUsername: void 0,
|
|
27888
28038
|
dockerHubTokenStdin: false,
|
|
27889
28039
|
noDockerHubLogin: false,
|
|
@@ -28457,6 +28607,10 @@ var validateOverlays = (config, files, envKeys) => {
|
|
|
28457
28607
|
throw setupError(
|
|
28458
28608
|
`Server generation is corrupt: ${WORKSPACE_IMAGES_COMPOSE_FILE} does not match the saved workspace image settings.`
|
|
28459
28609
|
);
|
|
28610
|
+
if (files.workspaceMemory !== renderWorkspaceMemoryOverlay(config.workspaceMemory))
|
|
28611
|
+
throw setupError(
|
|
28612
|
+
`Server generation is corrupt: ${WORKSPACE_MEMORY_COMPOSE_FILE} does not match the saved workspace memory settings.`
|
|
28613
|
+
);
|
|
28460
28614
|
if (!isBoatOverlayOf(files.boat, config.boat))
|
|
28461
28615
|
throw setupError(
|
|
28462
28616
|
"Server generation is corrupt: compose.boat.yaml does not match the saved Boat settings."
|
|
@@ -28676,6 +28830,7 @@ var readServerInstallationFacts = async (configDir) => {
|
|
|
28676
28830
|
...generation.files.posture === void 0 ? [] : [{ name: "compose.posture.yaml", content: generation.files.posture }],
|
|
28677
28831
|
...generation.files.mirrors === void 0 ? [] : [{ name: MIRRORS_COMPOSE_FILE, content: generation.files.mirrors }],
|
|
28678
28832
|
...generation.files.workspaceImages === void 0 ? [] : [{ name: WORKSPACE_IMAGES_COMPOSE_FILE, content: generation.files.workspaceImages }],
|
|
28833
|
+
...generation.files.workspaceMemory === void 0 ? [] : [{ name: WORKSPACE_MEMORY_COMPOSE_FILE, content: generation.files.workspaceMemory }],
|
|
28679
28834
|
...generation.files.npmMirrorConf === void 0 ? [] : [{ name: NPM_MIRROR_CONF_NAME, content: generation.files.npmMirrorConf }],
|
|
28680
28835
|
...generation.files.dockerMirrorGuard === void 0 ? [] : [{ name: DOCKER_MIRROR_GUARD_NAME, content: generation.files.dockerMirrorGuard }],
|
|
28681
28836
|
...generation.files.t3Gateway === void 0 ? [] : [{ name: "compose.t3.yaml", content: generation.files.t3Gateway }],
|
|
@@ -28730,6 +28885,7 @@ var generationFiles = (config, secrets, assets, previewPem, identity = renderIde
|
|
|
28730
28885
|
const posture = renderPostureOverlay(config);
|
|
28731
28886
|
const mirrors = renderMirrorsOverlay(config.mirrors);
|
|
28732
28887
|
const workspaceImages = renderWorkspaceImagesOverlay(config.workspaceImages);
|
|
28888
|
+
const workspaceMemory = renderWorkspaceMemoryOverlay(config.workspaceMemory);
|
|
28733
28889
|
const t3Gateway = renderT3GatewayOverlay(config);
|
|
28734
28890
|
const remoteEndpoints = renderRemoteEndpointsOverlay(config.remoteEndpoints, config.edgeHost);
|
|
28735
28891
|
const remoteEndpointsCaddyfile = edgeServedEndpoints(config.remoteEndpoints, config.edgeHost) === void 0 ? void 0 : REMOTE_ENDPOINTS_CADDYFILE;
|
|
@@ -28751,6 +28907,7 @@ var generationFiles = (config, secrets, assets, previewPem, identity = renderIde
|
|
|
28751
28907
|
...config.edgeHost === void 0 ? {} : { edge: EDGE_COMPOSE_OVERLAY, caddyfile: EDGE_CADDYFILE },
|
|
28752
28908
|
...mirrors === void 0 ? {} : { mirrors },
|
|
28753
28909
|
...workspaceImages === void 0 ? {} : { workspaceImages },
|
|
28910
|
+
...workspaceMemory === void 0 ? {} : { workspaceMemory },
|
|
28754
28911
|
...config.mirrors === void 0 || config.mirrors.npm === null ? {} : { npmMirrorConf: NPM_MIRROR_CONF },
|
|
28755
28912
|
...config.mirrors === void 0 || config.mirrors.docker === null ? {} : { dockerMirrorGuard: DOCKER_MIRROR_GUARD }
|
|
28756
28913
|
};
|
|
@@ -29742,6 +29899,7 @@ var setupServer = async (args, runtime, store, run3 = {}) => {
|
|
|
29742
29899
|
const serverVersion = await resolveServerVersion(runtime, options, existing2?.config ?? null);
|
|
29743
29900
|
const mirrors = resolveMirrors(existing2?.config.mirrors, options);
|
|
29744
29901
|
const workspaceImages = resolveWorkspaceImages(existing2?.config.workspaceImages, options);
|
|
29902
|
+
const workspaceMemory = resolveWorkspaceMemory(existing2?.config.workspaceMemory, options);
|
|
29745
29903
|
const configWithoutBucket = {
|
|
29746
29904
|
schemaVersion: CONFIG_SCHEMA_VERSION,
|
|
29747
29905
|
assetContract: ASSET_CONTRACT,
|
|
@@ -29754,7 +29912,8 @@ var setupServer = async (args, runtime, store, run3 = {}) => {
|
|
|
29754
29912
|
}),
|
|
29755
29913
|
...validateExposure(existing2?.config ?? null, options, tailnet),
|
|
29756
29914
|
mirrors,
|
|
29757
|
-
...workspaceImages === void 0 ? {} : { workspaceImages }
|
|
29915
|
+
...workspaceImages === void 0 ? {} : { workspaceImages },
|
|
29916
|
+
...workspaceMemory === void 0 ? {} : { workspaceMemory }
|
|
29758
29917
|
};
|
|
29759
29918
|
const dockerHubToken = await resolveDockerHubToken(runtime, options, mirrors, store);
|
|
29760
29919
|
const boatKey = await resolveServerBoatKey(runtime, options, configWithoutBucket.boat, store);
|
|
@@ -29891,6 +30050,11 @@ var setupServer = async (args, runtime, store, run3 = {}) => {
|
|
|
29891
30050
|
config.workspaceImages
|
|
29892
30051
|
))
|
|
29893
30052
|
runtime.writeLine(line);
|
|
30053
|
+
for (const line of workspaceMemoryChangedLines(
|
|
30054
|
+
existing2?.config.workspaceMemory,
|
|
30055
|
+
config.workspaceMemory
|
|
30056
|
+
))
|
|
30057
|
+
runtime.writeLine(line);
|
|
29894
30058
|
const urlChanged = existing2 !== null && existing2.config.appUrl !== config.appUrl;
|
|
29895
30059
|
const cliHere = urlChanged ? await followUrlChange(runtime, options, existing2.config, config, instance) : await offerCliHere(runtime, options, existing2?.config ?? null, config, instance);
|
|
29896
30060
|
const users = await instanceUsers(runtime, healthOrigin(config));
|
|
@@ -30622,6 +30786,7 @@ var serverStatus = async (runtime, installation) => {
|
|
|
30622
30786
|
runtime.writeLine(`Active generation: ${installation.directory}`);
|
|
30623
30787
|
for (const line of declaredPostureLines(config)) runtime.writeLine(line);
|
|
30624
30788
|
runtime.writeLine(workspaceImagesLine(config.workspaceImages));
|
|
30789
|
+
runtime.writeLine(workspaceMemoryLine(config.workspaceMemory));
|
|
30625
30790
|
const state = await composeCommand(runtime, installation, ["ps", "--all"]);
|
|
30626
30791
|
runtime.writeLine(state.stdout.trim() || "No Compose containers found. Run mend server start.");
|
|
30627
30792
|
const running = await composeCommand(runtime, installation, [
|
|
@@ -34985,7 +35150,7 @@ var launch = async (config, harness, args, purpose, note) => {
|
|
|
34985
35150
|
say10("");
|
|
34986
35151
|
attachOwnsSignals = true;
|
|
34987
35152
|
await attachOrExit(config, session.id, session.harness, lifecycle, tunnels);
|
|
34988
|
-
exitAfterSessionEnd(config, session.id);
|
|
35153
|
+
await exitAfterSessionEnd(config, session.id, false);
|
|
34989
35154
|
};
|
|
34990
35155
|
var autoLandLine = (override, project2) => {
|
|
34991
35156
|
if (override === null) return null;
|
|
@@ -35340,12 +35505,33 @@ var attachOrExit = async (config, sessionId, harness, mode = "background", tunne
|
|
|
35340
35505
|
mode
|
|
35341
35506
|
);
|
|
35342
35507
|
var attachWithTunnels = (tunnels, work) => tunnels === null ? work() : tunnels.attached(work);
|
|
35343
|
-
var exitAfterSessionEnd = (config, sessionId) => {
|
|
35508
|
+
var exitAfterSessionEnd = async (config, sessionId, mayHaveContinued = true) => {
|
|
35509
|
+
const continued = mayHaveContinued && await continuedAsConversation(config, sessionId);
|
|
35344
35510
|
say10("");
|
|
35345
|
-
say10(
|
|
35511
|
+
say10(
|
|
35512
|
+
continued ? `${green9("\u2713")} continued as a conversation \xB7 message it from the web, or with mend message ${sessionId.slice(0, 8)}` : `${green9("\u2713")} session ended`
|
|
35513
|
+
);
|
|
35346
35514
|
say10(`${cobalt2(" review")} \xB7 ${config.url}/sessions/${sessionId}`);
|
|
35347
35515
|
process.exit(0);
|
|
35348
35516
|
};
|
|
35517
|
+
var ENDED_STATUSES = /* @__PURE__ */ new Set(["completed", "failed", "stopped"]);
|
|
35518
|
+
var ENDED_BY_ITSELF = /* @__PURE__ */ new Set(["completed", "failed"]);
|
|
35519
|
+
var continuedAsConversation = async (config, sessionId) => {
|
|
35520
|
+
for (let read = 0; read < 20; read++) {
|
|
35521
|
+
const detail2 = await request(
|
|
35522
|
+
config,
|
|
35523
|
+
"GET",
|
|
35524
|
+
`/sessions/${sessionId}`
|
|
35525
|
+
).catch(() => null);
|
|
35526
|
+
if (detail2 === null || detail2.session.mode === void 0) return false;
|
|
35527
|
+
if (detail2.session.mode === "conversation") return true;
|
|
35528
|
+
const agent = detail2.currentAgent;
|
|
35529
|
+
if (ENDED_STATUSES.has(detail2.session.status) || agent !== null && agent.kind === "agent-pty" && ENDED_BY_ITSELF.has(agent.status))
|
|
35530
|
+
return false;
|
|
35531
|
+
await pause4(500);
|
|
35532
|
+
}
|
|
35533
|
+
return false;
|
|
35534
|
+
};
|
|
35349
35535
|
var attach = async (config, args) => {
|
|
35350
35536
|
const prefix = args.find((a) => !a.startsWith("--"));
|
|
35351
35537
|
const tunnels = attachTunnels(config, args.includes("--no-tunnel"));
|
|
@@ -36517,10 +36703,10 @@ var localCredential = (provider) => {
|
|
|
36517
36703
|
var isKeyAccount = (account) => account.login?.kind === "api-key";
|
|
36518
36704
|
var accountFacts = (account, classes = isKeyAccount(account)) => {
|
|
36519
36705
|
const meta = account.metadata;
|
|
36520
|
-
const
|
|
36521
|
-
const identity =
|
|
36706
|
+
const pick3 = (key2) => typeof meta[key2] === "string" ? meta[key2] : null;
|
|
36707
|
+
const identity = pick3("login") ?? pick3("email") ?? pick3("accountEmail") ?? pick3("accountId");
|
|
36522
36708
|
const key = isKeyAccount(account);
|
|
36523
|
-
const suffix = key ? null :
|
|
36709
|
+
const suffix = key ? null : pick3("tokenSuffix");
|
|
36524
36710
|
const facts = [
|
|
36525
36711
|
account.status === "active" ? "connected" : account.status === "invalid" ? key && account.provider !== "github" ? `reconnect needed \xB7 ${keyRefusedWords(account.provider)}` : "reconnect needed \xB7 the provider refused the login" : account.status,
|
|
36526
36712
|
classes && account.login !== void 0 ? loginWords(account.provider, account.login, "added-it") : null,
|
|
@@ -38061,7 +38247,7 @@ var continueSession = async (config, args) => {
|
|
|
38061
38247
|
say10(`${cobalt2(" watch")} \xB7 ${config.url}/sessions/${session.id}`);
|
|
38062
38248
|
say10("");
|
|
38063
38249
|
await attachOrExit(config, session.id, session.harness);
|
|
38064
|
-
exitAfterSessionEnd(config, session.id);
|
|
38250
|
+
await exitAfterSessionEnd(config, session.id);
|
|
38065
38251
|
};
|
|
38066
38252
|
var ACTIVE_STATUSES = LIVE_STATUSES;
|
|
38067
38253
|
var agentLiveIn = (detail2, session) => agentIsLive(
|
|
@@ -38103,7 +38289,7 @@ var resumeCommand = async (config, args) => {
|
|
|
38103
38289
|
say10(`${green9("\u2713 recording")} \xB7 same worktree, conversation restored${detachHint()}`);
|
|
38104
38290
|
say10("");
|
|
38105
38291
|
await attachOrExit(config, match.id, withHarness ?? match.harness);
|
|
38106
|
-
exitAfterSessionEnd(config, match.id);
|
|
38292
|
+
await exitAfterSessionEnd(config, match.id);
|
|
38107
38293
|
};
|
|
38108
38294
|
var resumeForRejoin = async (config, sessionId, label) => {
|
|
38109
38295
|
const outcome = await followStarting(
|
|
@@ -38191,7 +38377,7 @@ var rejoinCommand = async (config, args) => {
|
|
|
38191
38377
|
);
|
|
38192
38378
|
}
|
|
38193
38379
|
await finishAttach(config, session.id, attached);
|
|
38194
|
-
exitAfterSessionEnd(config, session.id);
|
|
38380
|
+
await exitAfterSessionEnd(config, session.id);
|
|
38195
38381
|
};
|
|
38196
38382
|
var projectsCommand = async (config, args) => {
|
|
38197
38383
|
if (args[0] === "image")
|
|
@@ -38579,7 +38765,7 @@ var dashboard = async (config, options = {}) => {
|
|
|
38579
38765
|
);
|
|
38580
38766
|
process.exit(rerun.status ?? 0);
|
|
38581
38767
|
}
|
|
38582
|
-
const { runDashboard } = await import("./dashboard-
|
|
38768
|
+
const { runDashboard } = await import("./dashboard-OP7JHWOM.js");
|
|
38583
38769
|
const gitAccessMode = await readGitAccessMode(config);
|
|
38584
38770
|
const agentShare = await startShareIfBridge(config, gitAccessMode);
|
|
38585
38771
|
const tunnels = options.noTunnel === true || serverIsLocal(config) ? null : createServiceTunnels({
|
package/man/mend-accounts.1
CHANGED
package/man/mend-adopt.1
CHANGED
package/man/mend-agent-install.1
CHANGED
package/man/mend-agent-logins.1
CHANGED
package/man/mend-attach.1
CHANGED
package/man/mend-boat-check.1
CHANGED
package/man/mend-boat-connect.1
CHANGED
package/man/mend-boat-status.1
CHANGED
package/man/mend-boat-wallet.1
CHANGED
package/man/mend-change.1
CHANGED
package/man/mend-codex.1
CHANGED
package/man/mend-comment-add.1
CHANGED
package/man/mend-comment-send.1
CHANGED
package/man/mend-completions.1
CHANGED
package/man/mend-connect-pi.1
CHANGED
package/man/mend-connect.1
CHANGED
package/man/mend-continue.1
CHANGED
package/man/mend-diff.1
CHANGED