@monoclaw/machine 1.0.0 → 1.0.3

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/cli.js CHANGED
@@ -4223,7 +4223,7 @@ function guessMime(name) {
4223
4223
  }
4224
4224
 
4225
4225
  // src/version.ts
4226
- var APP_VERSION = true ? "1.0.0" : fromPackage();
4226
+ var APP_VERSION = true ? "1.0.3" : fromPackage();
4227
4227
 
4228
4228
  // src/client.ts
4229
4229
  var HEARTBEAT_MS = 2e4;
@@ -5175,6 +5175,11 @@ import fs17 from "node:fs";
5175
5175
  import path17 from "node:path";
5176
5176
  import { z as z8 } from "zod";
5177
5177
  var PACKAGE = "@monoclaw/machine";
5178
+ function nodeInstallHint(platform) {
5179
+ if (platform === "darwin") return "Install Node 22 or newer: `brew install node`, or the LTS installer from https://nodejs.org";
5180
+ if (platform === "win32") return "Install Node 22 or newer: `winget install OpenJS.NodeJS.LTS`, or the LTS installer from https://nodejs.org";
5181
+ return "Install Node 22 or newer with nvm (no sudo): https://github.com/nvm-sh/nvm#installing-and-updating then `nvm install 22`";
5182
+ }
5178
5183
  var CHECK_EVERY_MS = 6 * 60 * 6e4;
5179
5184
  var RETRY_WHEN_BUSY_MS = 10 * 6e4;
5180
5185
  var INSTALL_TIMEOUT_MS = 5 * 6e4;
@@ -6560,7 +6565,7 @@ program.command("start").description("Run the host and stay connected to the rou
6560
6565
  program.command("doctor").description("Check and repair what a working host needs: Node, the host's copy of Claude Code, your Claude login, folders, the service").option("--no-repair", "Only report; do not install anything").action(async (opts) => {
6561
6566
  const lines = [];
6562
6567
  const major = Number(process.versions.node.split(".")[0]);
6563
- lines.push({ ok: major >= 22, what: `Node ${process.versions.node}`, fix: major >= 22 ? void 0 : "Install Node 22 or newer from https://nodejs.org" });
6568
+ lines.push({ ok: major >= 22, what: `Node ${process.versions.node}`, fix: major >= 22 ? void 0 : nodeInstallHint(process.platform) });
6564
6569
  const mode = detectInstallMode();
6565
6570
  lines.push({ ok: mode !== "unknown", what: `monoclaw ${APP_VERSION}, installed ${mode === "npm-global" ? "with npm" : mode === "checkout" ? "from a checkout" : "in an unknown way"}`, fix: mode === "unknown" ? `Reinstall with: npm install -g ${PACKAGE}` : void 0 });
6566
6571
  forgetCli();
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@monoclaw/machine",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@monoclaw/machine",
9
- "version": "1.0.0",
9
+ "version": "1.0.3",
10
10
  "license": "UNLICENSED",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/claude-agent-sdk": "0.3.302",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoclaw/machine",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "Monoclaw host app: runs agents on your machine and connects them to your Monoclaw account (command.monoclaw.ai).",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {