@moxt-ai/mobius 0.0.284 → 0.0.285

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
@@ -5398,7 +5398,7 @@ var program = new Command();
5398
5398
  // package.json
5399
5399
  var package_default = {
5400
5400
  name: "@moxt-ai/mobius",
5401
- version: "0.0.284",
5401
+ version: "0.0.285",
5402
5402
  description: "Mobius CLI for pairing and running local AI agent services.",
5403
5403
  type: "module",
5404
5404
  bin: {
@@ -5452,6 +5452,8 @@ var package_default = {
5452
5452
  "test:controlled": "vitest run tests/sessions tests/runtime --maxWorkers=4",
5453
5453
  "pretest:agents": "tsc --project src/acp/harness/claude/upstream/tsconfig.json && tsc --project src/acp/harness/pi/upstream/tsconfig.json",
5454
5454
  "test:agents": "vitest run tests/agents --maxWorkers=2",
5455
+ "pretest:npm-compatibility": "tsc --project src/acp/harness/claude/upstream/tsconfig.json && tsc --project src/acp/harness/pi/upstream/tsconfig.json",
5456
+ "test:npm-compatibility": "vitest run tests/runtime/daemon-upgrade.integration.test.ts tests/runtime/daemon-upgrade-command.integration.test.ts",
5455
5457
  "pretest:pressure": "tsc --project src/acp/harness/claude/upstream/tsconfig.json && tsc --project src/acp/harness/pi/upstream/tsconfig.json",
5456
5458
  "test:pressure": "node tests/pressure/concurrent-sessions.mjs"
5457
5459
  },
@@ -96837,6 +96839,7 @@ async function installDaemonReleaseVersion(version2, signal) {
96837
96839
  );
96838
96840
  }
96839
96841
  }
96842
+ var npmViewVersionSchema = external_exports.union([runtimeUpgradeVersionSchema, external_exports.tuple([runtimeUpgradeVersionSchema])]).transform((value) => typeof value === "string" ? value : value[0]);
96840
96843
  async function findNewDaemonReleaseVersion(currentVersion, signal) {
96841
96844
  const npm = await findExecutableOnPath("npm", process.env);
96842
96845
  if (npm === null) {
@@ -96852,7 +96855,7 @@ async function findNewDaemonReleaseVersion(currentVersion, signal) {
96852
96855
  timeoutMilliseconds: 3e4,
96853
96856
  outputLimitBytes: 4096
96854
96857
  });
96855
- const version2 = runtimeUpgradeVersionSchema.parse(JSON.parse(result.stdout));
96858
+ const version2 = npmViewVersionSchema.parse(JSON.parse(result.stdout));
96856
96859
  return (0, import_semver.gt)(version2, currentVersion) ? version2 : null;
96857
96860
  } catch (cause) {
96858
96861
  signal.throwIfAborted();