@mostra/cli 0.2.0 → 0.3.0

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.
@@ -378,6 +378,15 @@
378
378
  "explanation": "Mostra runs on its own runtime bundle, found in the local cache, beside the installed package or at `MOSTRA_BUNDLE`. None was there, and no download could start: Mostra is offline (`MOSTRA_OFFLINE`), this build of the package pins no bundle for this platform, or the platform has none.",
379
379
  "fix": "Run the command once with network access and without `MOSTRA_OFFLINE`, so the pinned bundle is fetched and cached; later runs work offline. On a machine without network access, extract the release's archive for the platform and set `MOSTRA_BUNDLE` to its directory. A development checkout uses its own built runtime instead."
380
380
  },
381
+ {
382
+ "code": "MOSTRA_ENV_HELPER_MISSING",
383
+ "severity": "error",
384
+ "phase": "platform",
385
+ "title": "Windows helper missing",
386
+ "hint": "Reinstall Mostra, or set `MOSTRA_WIN_HELPER` to its `mostra-win.exe`.",
387
+ "explanation": "On Windows the runtime runs `mostra-win.exe`, a helper that ships with it, for what Node.js can't do there: owner-only access to the home, the home's control pipe, and every child process in a Job Object. The runtime looked for it at `MOSTRA_WIN_HELPER`, in its runtime bundle, and in a development checkout's Cargo build, and found none, so it stopped before touching the home.",
388
+ "fix": "Reinstall Mostra so the runtime bundle is complete. In a development checkout, build the helper with `cargo build -p mostra-win`. A custom layout can point the runtime at the helper with `MOSTRA_WIN_HELPER`."
389
+ },
381
390
  {
382
391
  "code": "MOSTRA_ENV_NODE_UNSUPPORTED",
383
392
  "severity": "error",
@@ -933,8 +942,8 @@
933
942
  "phase": "platform",
934
943
  "title": "Unsupported platform",
935
944
  "hint": "Run Mostra on macOS or Linux, on an x64 or arm64 machine.",
936
- "explanation": "Mostra 1.0 runs on macOS and Linux, on x64 and arm64. On any other operating system or architecture, Windows included, every entry point stops with this code before it creates or changes anything, because the process model, sockets and storage are built and tested only on those platforms. The message names the platform that was detected.",
937
- "fix": "Run Mostra on a macOS or Linux machine with an x64 or arm64 processor. Windows support is planned for a release after 1.0."
945
+ "explanation": "Mostra runs on macOS and Linux, on x64 and arm64. On any other operating system or architecture every entry point stops with this code before it creates or changes anything, because the process model, the control endpoint and storage are built and tested only there. Windows on x64 and arm64 is being added and runs only in Mostra's own development builds until it is complete; a release stops there with this code too. The message names the platform that was detected.",
946
+ "fix": "Run Mostra on a macOS or Linux machine with an x64 or arm64 processor. Windows support arrives in a 1.0 release."
938
947
  },
939
948
  {
940
949
  "code": "MOSTRA_PUBLISH_ID_CONFLICT",
@@ -0,0 +1,23 @@
1
+ ---
2
+ code: MOSTRA_ENV_HELPER_MISSING
3
+ severity: error
4
+ phase: platform
5
+ ---
6
+
7
+ <!-- Generated from packages/protocol/src/diagnostics/codes by `node tools/docs/diagnostics.ts write`. Edit the area file, not this page. -->
8
+
9
+ # MOSTRA_ENV_HELPER_MISSING
10
+
11
+ Windows helper missing. Severity: error. Phase: platform.
12
+
13
+ ## What it means
14
+
15
+ On Windows the runtime runs `mostra-win.exe`, a helper that ships with it, for what Node.js can't do there: owner-only access to the home, the home's control pipe, and every child process in a Job Object. The runtime looked for it at `MOSTRA_WIN_HELPER`, in its runtime bundle, and in a development checkout's Cargo build, and found none, so it stopped before touching the home.
16
+
17
+ ## How to fix it
18
+
19
+ Reinstall Mostra so the runtime bundle is complete. In a development checkout, build the helper with `cargo build -p mostra-win`. A custom layout can point the runtime at the helper with `MOSTRA_WIN_HELPER`.
20
+
21
+ ## Hint
22
+
23
+ Reinstall Mostra, or set `MOSTRA_WIN_HELPER` to its `mostra-win.exe`.
@@ -12,11 +12,11 @@ Unsupported platform. Severity: error. Phase: platform.
12
12
 
13
13
  ## What it means
14
14
 
15
- Mostra 1.0 runs on macOS and Linux, on x64 and arm64. On any other operating system or architecture, Windows included, every entry point stops with this code before it creates or changes anything, because the process model, sockets and storage are built and tested only on those platforms. The message names the platform that was detected.
15
+ Mostra runs on macOS and Linux, on x64 and arm64. On any other operating system or architecture every entry point stops with this code before it creates or changes anything, because the process model, the control endpoint and storage are built and tested only there. Windows on x64 and arm64 is being added and runs only in Mostra's own development builds until it is complete; a release stops there with this code too. The message names the platform that was detected.
16
16
 
17
17
  ## How to fix it
18
18
 
19
- Run Mostra on a macOS or Linux machine with an x64 or arm64 processor. Windows support is planned for a release after 1.0.
19
+ Run Mostra on a macOS or Linux machine with an x64 or arm64 processor. Windows support arrives in a 1.0 release.
20
20
 
21
21
  ## Hint
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mostra/cli",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "The mostra command: author, verify, publish, share and wait on agent artifacts, as a thin client of the Mostra host protocol.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "The Mostra Authors",
@@ -34,12 +34,12 @@
34
34
  "provenance": true
35
35
  },
36
36
  "dependencies": {
37
- "@mostra/protocol": "0.2.0",
38
- "@mostra/sdk": "0.2.0",
37
+ "@mostra/protocol": "0.3.0",
38
+ "@mostra/sdk": "0.3.0",
39
39
  "zod": "4.6.5"
40
40
  },
41
41
  "devDependencies": {
42
- "@mostra/runtime": "0.2.0",
42
+ "@mostra/runtime": "0.3.0",
43
43
  "@mostra/tools": "0.0.0",
44
44
  "@types/node": "24.19.1",
45
45
  "tsdown": "0.23.0",