Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

fix: reconcile maintenance handoff and CLI version contracts

Rahman2164d2904b08
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index d57fae22..9ed40fa0 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -13,6 +13,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.
**Fixed**
+- reconcile maintenance handoff and CLI version contracts
- `security` close exec expansion gap and exact test discovery
- `security` harden share audit and release verification
- `update` handle diverged checkout explicitly
diff --git a/docs/MAINTENANCE.md b/docs/MAINTENANCE.md
index 6886a43b..d2320e2b 100644
--- a/docs/MAINTENANCE.md
+++ b/docs/MAINTENANCE.md
@@ -21,6 +21,10 @@ Use the server configuration reset too when clearing those synchronized preferen
Export a browser backup in Settings → Backup before clearing local drafts: the server reset
archive does not contain browser-only data.
+The default server state is per Unix user and can be shared by multiple MSO checkouts.
+Server reset or `--purge` affects that user's selected MSO state, not just one browser or Git branch.
+All MSO instances sharing the state must be stopped first.
+
## Preview first
```bash
diff --git a/lib/config/env-example.test.ts b/lib/config/env-example.test.ts
index 693953e7..13853853 100644
--- a/lib/config/env-example.test.ts
+++ b/lib/config/env-example.test.ts
@@ -28,6 +28,7 @@ const NOT_A_KNOB: Record<string, string> = {
MSO_AGENT_CLI: "internal mso-cli-agent launcher handoff for the canonical CLI path",
MSO_AGENT_JAR: "internal mso-cli-agent launcher handoff for the authenticated cookie jar",
MSO_AGENT_ORIGIN: "internal mso-cli-agent launcher handoff for the request Origin header",
+ MSO_MAINTENANCE_LOCKED: "internal maintenance-lock.sh child handoff; never persist or set this as user configuration",
MSO_AGENT_VERSION: "internal mso-cli-agent launcher handoff for banner metadata",
// Standard terminal convention inherited from the invoking shell, not MSO config.
NO_COLOR: "standard terminal color convention inherited from the caller",
diff --git a/scripts/mso-model-dx-contract.test.ts b/scripts/mso-model-dx-contract.test.ts
index 598f6e9d..d1818857 100644
--- a/scripts/mso-model-dx-contract.test.ts
+++ b/scripts/mso-model-dx-contract.test.ts
@@ -30,7 +30,7 @@ const all = [cli, commandOwner, agentCli, configRoute, oauthRoute, slash, picker
describe("MSO model/provider/session CLI contract", () => {
it("keeps provider auth (`models`) separate from active selection (`model`)", () => {
- expect(cli).toContain('VERSION="1.12.1"');
+ expect(cli).toContain('VERSION="1.13.0"');
expect(cli).toContain("models * Configure AI providers/auth");
expect(cli).toContain("model [ref] Select active model");
expect(agentCli).toContain("run_models()");