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