@mearl/client 2.22.4 → 2.22.5

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.
@@ -4,6 +4,7 @@ import { closeSync, existsSync, mkdirSync, openSync, readFileSync, realpathSync,
4
4
  import { homedir } from 'node:os';
5
5
  import { delimiter, dirname, join, resolve, win32 } from 'node:path';
6
6
  import { fileURLToPath } from 'node:url';
7
+ import { npmExecEnvironment } from '@mearl/daemon-core';
7
8
  import { isNewerRelease, parseReleaseVersion } from './check.js';
8
9
  import { loadCliAutoUpdateIntervalDays } from './unifiedConfig.js';
9
10
  const CONFIG_DIR = join(homedir(), '.mearl');
@@ -207,7 +208,7 @@ export function setupUpdateCommand(version, packageRoot, profiles, updateClient)
207
208
  if (!parseReleaseVersion(version))
208
209
  throw new Error('A valid Mearl release is required');
209
210
  const [major, minor] = version.split('.');
210
- const env = { ...process.env };
211
+ const env = npmExecEnvironment();
211
212
  delete env.MEARL_AUTO_UPDATE_CLIENT_ROOT;
212
213
  delete env.MEARL_AUTO_UPDATE_CLIENT_ONLY;
213
214
  delete env.MEARL_AUTO_UPDATE_PROFILES;
@@ -1 +1 @@
1
- export declare const PLUGIN_HOST_BUILD_ID = "83323695c8ac2e39755494d27cb70be47d162c502111d32a1fc6d6be71981f18";
1
+ export declare const PLUGIN_HOST_BUILD_ID = "025a1d4dd51ebda523c759b5e82c3de635a9016d5680ff189ffc27f60009c405";
@@ -1,2 +1,2 @@
1
1
  // Generated by scripts/generate-plugin-host-build.mjs.
2
- export const PLUGIN_HOST_BUILD_ID = '83323695c8ac2e39755494d27cb70be47d162c502111d32a1fc6d6be71981f18';
2
+ export const PLUGIN_HOST_BUILD_ID = '025a1d4dd51ebda523c759b5e82c3de635a9016d5680ff189ffc27f60009c405';
@@ -2,6 +2,7 @@ import { closeSync, mkdirSync, openSync, rmSync, statSync, writeFileSync } from
2
2
  import { CLIENT_VERSION } from '../runtimePaths.js';
3
3
  import { join } from 'node:path';
4
4
  import { spawn } from 'node:child_process';
5
+ import { npmExecEnvironment } from '@mearl/daemon-core';
5
6
  import { findOfficialPlugin } from './officialPluginCatalog.js';
6
7
  import { findPluginRegistration, pluginDirectory } from './pluginRegistry.js';
7
8
  const INSTALL_TIMEOUT_MS = 180_000;
@@ -60,7 +61,7 @@ function appendOutput(current, chunk) {
60
61
  function installWithSetup(name) {
61
62
  return new Promise((resolve, reject) => {
62
63
  const command = process.platform === 'win32' ? 'npx.cmd' : 'npx';
63
- const child = spawn(command, ['-y', `@mearl/setup@${CLIENT_VERSION}`, 'plugin', 'ensure', name], { stdio: ['ignore', 'pipe', 'pipe'], windowsHide: true });
64
+ const child = spawn(command, ['-y', `@mearl/setup@${CLIENT_VERSION}`, 'plugin', 'ensure', name], { env: npmExecEnvironment(), stdio: ['ignore', 'pipe', 'pipe'], windowsHide: true });
64
65
  let stdout = '';
65
66
  let stderr = '';
66
67
  let settled = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mearl/client",
3
- "version": "2.22.4",
3
+ "version": "2.22.5",
4
4
  "description": "Unified Mearl SDK & CLI for local and remote browsers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -58,19 +58,19 @@
58
58
  ],
59
59
  "license": "ISC",
60
60
  "engines": {
61
- "node": ">=22.12.0"
61
+ "node": ">=20.18.0"
62
62
  },
63
63
  "publishConfig": {
64
64
  "registry": "https://registry.npmjs.org"
65
65
  },
66
66
  "dependencies": {
67
- "commander": "^15.0.0",
67
+ "commander": "^14.0.3",
68
68
  "fastest-levenshtein": "^1.0.16",
69
69
  "ws": "^8.18.0",
70
- "@mearl/daemon-core": "2.22.4",
71
- "@mearl/agent-runtime": "2.22.4",
72
- "@mearl/cloud-types": "2.22.4",
73
- "@mearl/provider": "2.22.4"
70
+ "@mearl/cloud-types": "2.22.5",
71
+ "@mearl/agent-runtime": "2.22.5",
72
+ "@mearl/provider": "2.22.5",
73
+ "@mearl/daemon-core": "2.22.5"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/node": "^24.9.1",