@vm0/cli 9.132.8 → 9.132.10
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/{chunk-ZG3U4DPH.js → chunk-PUKA5E32.js} +3672 -3223
- package/chunk-PUKA5E32.js.map +1 -0
- package/{chunk-ENNA3ZAG.js → chunk-S62N5JPU.js} +2 -1
- package/{chunk-JVRTYOZU.js → chunk-UIDWT2VP.js} +3 -3
- package/{chunk-JVRTYOZU.js.map → chunk-UIDWT2VP.js.map} +1 -1
- package/{getMachineId-bsd-IBO57UDM.js → getMachineId-bsd-NSCGLMAZ.js} +4 -4
- package/{getMachineId-bsd-IBO57UDM.js.map → getMachineId-bsd-NSCGLMAZ.js.map} +1 -1
- package/{getMachineId-darwin-ATTRAVAW.js → getMachineId-darwin-WYYZ7NOI.js} +4 -4
- package/{getMachineId-darwin-ATTRAVAW.js.map → getMachineId-darwin-WYYZ7NOI.js.map} +1 -1
- package/{getMachineId-linux-LFSMOFVU.js → getMachineId-linux-EVLYGAKX.js} +3 -3
- package/{getMachineId-linux-LFSMOFVU.js.map → getMachineId-linux-EVLYGAKX.js.map} +1 -1
- package/{getMachineId-unsupported-427XMW5O.js → getMachineId-unsupported-VNNXLHXA.js} +3 -3
- package/{getMachineId-unsupported-427XMW5O.js.map → getMachineId-unsupported-VNNXLHXA.js.map} +1 -1
- package/{getMachineId-win-O57FCHQ6.js → getMachineId-win-DB5WBP73.js} +4 -4
- package/{getMachineId-win-O57FCHQ6.js.map → getMachineId-win-DB5WBP73.js.map} +1 -1
- package/index.js +15 -10
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +292 -216
- package/zero.js.map +1 -1
- package/chunk-ZG3U4DPH.js.map +0 -1
- /package/{chunk-ENNA3ZAG.js.map → chunk-S62N5JPU.js.map} +0 -0
|
@@ -1689,6 +1689,7 @@ export {
|
|
|
1689
1689
|
createContextKey,
|
|
1690
1690
|
ROOT_CONTEXT,
|
|
1691
1691
|
createNoopMeter,
|
|
1692
|
+
ValueType,
|
|
1692
1693
|
TraceFlags,
|
|
1693
1694
|
INVALID_TRACEID,
|
|
1694
1695
|
INVALID_SPAN_CONTEXT,
|
|
@@ -1705,4 +1706,4 @@ export {
|
|
|
1705
1706
|
esm_exports,
|
|
1706
1707
|
init_esm
|
|
1707
1708
|
};
|
|
1708
|
-
//# sourceMappingURL=chunk-
|
|
1709
|
+
//# sourceMappingURL=chunk-S62N5JPU.js.map
|
|
@@ -3,9 +3,9 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
init_esm_shims
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S62N5JPU.js";
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
8
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js
|
|
9
9
|
init_esm_shims();
|
|
10
10
|
import * as child_process from "child_process";
|
|
11
11
|
import * as util from "util";
|
|
@@ -14,4 +14,4 @@ var execAsync = util.promisify(child_process.exec);
|
|
|
14
14
|
export {
|
|
15
15
|
execAsync
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-UIDWT2VP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/execAsync.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport * as child_process from 'child_process';\nimport * as util from 'util';\n\nexport const execAsync = util.promisify(child_process.exec);\n"],"mappings":";;;;;;;;AAAA;AAKA,YAAY,mBAAmB;AAC/B,YAAY,UAAU;AAEf,IAAM,YAAiB,eAAwB,kBAAI;","names":[]}
|
|
@@ -3,14 +3,14 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
execAsync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UIDWT2VP.js";
|
|
7
7
|
import {
|
|
8
8
|
diag,
|
|
9
9
|
init_esm,
|
|
10
10
|
init_esm_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S62N5JPU.js";
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
13
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js
|
|
14
14
|
init_esm_shims();
|
|
15
15
|
import { promises as fs } from "fs";
|
|
16
16
|
init_esm();
|
|
@@ -32,4 +32,4 @@ async function getMachineId() {
|
|
|
32
32
|
export {
|
|
33
33
|
getMachineId
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=getMachineId-bsd-
|
|
35
|
+
//# sourceMappingURL=getMachineId-bsd-NSCGLMAZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-bsd.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { promises as fs } from 'fs';\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n try {\n const result = await fs.readFile('/etc/hostid', { encoding: 'utf8' });\n return result.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n try {\n const result = await execAsync('kenv -q smbios.system.uuid');\n return result.stdout.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":";;;;;;;;;;;;;AAAA;AAKA,SAAS,YAAY,UAAU;AAE/B;AAEA,eAAsB,eAAY;AAChC,MAAI;AACF,UAAM,SAAS,MAAM,GAAG,SAAS,eAAe,EAAE,UAAU,OAAM,CAAE;AACpE,WAAO,OAAO,KAAI;WACX,GAAG;AACV,SAAK,MAAM,6BAA6B,CAAC,EAAE;;AAG7C,MAAI;AACF,UAAM,SAAS,MAAM,UAAU,4BAA4B;AAC3D,WAAO,OAAO,OAAO,KAAI;WAClB,GAAG;AACV,SAAK,MAAM,6BAA6B,CAAC,EAAE;;AAG7C,SAAO;AACT;","names":[]}
|
|
@@ -3,14 +3,14 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
execAsync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UIDWT2VP.js";
|
|
7
7
|
import {
|
|
8
8
|
diag,
|
|
9
9
|
init_esm,
|
|
10
10
|
init_esm_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S62N5JPU.js";
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
13
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js
|
|
14
14
|
init_esm_shims();
|
|
15
15
|
init_esm();
|
|
16
16
|
async function getMachineId() {
|
|
@@ -32,4 +32,4 @@ async function getMachineId() {
|
|
|
32
32
|
export {
|
|
33
33
|
getMachineId
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=getMachineId-darwin-
|
|
35
|
+
//# sourceMappingURL=getMachineId-darwin-WYYZ7NOI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-darwin.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n try {\n const result = await execAsync('ioreg -rd1 -c \"IOPlatformExpertDevice\"');\n\n const idLine = result.stdout\n .split('\\n')\n .find(line => line.includes('IOPlatformUUID'));\n\n if (!idLine) {\n return undefined;\n }\n\n const parts = idLine.split('\" = \"');\n if (parts.length === 2) {\n return parts[1].slice(0, -1);\n }\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":";;;;;;;;;;;;;AAAA;AAMA;AAEA,eAAsB,eAAY;AAChC,MAAI;AACF,UAAM,SAAS,MAAM,UAAU,wCAAwC;AAEvE,UAAM,SAAS,OAAO,OACnB,MAAM,IAAI,EACV,KAAK,UAAQ,KAAK,SAAS,gBAAgB,CAAC;AAE/C,QAAI,CAAC,QAAQ;AACX,aAAO;;AAGT,UAAM,QAAQ,OAAO,MAAM,OAAO;AAClC,QAAI,MAAM,WAAW,GAAG;AACtB,aAAO,MAAM,CAAC,EAAE,MAAM,GAAG,EAAE;;WAEtB,GAAG;AACV,SAAK,MAAM,6BAA6B,CAAC,EAAE;;AAG7C,SAAO;AACT;","names":[]}
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
diag,
|
|
6
6
|
init_esm,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S62N5JPU.js";
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
10
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-linux.js
|
|
11
11
|
init_esm_shims();
|
|
12
12
|
init_esm();
|
|
13
13
|
import { promises as fs } from "fs";
|
|
@@ -26,4 +26,4 @@ async function getMachineId() {
|
|
|
26
26
|
export {
|
|
27
27
|
getMachineId
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=getMachineId-linux-
|
|
29
|
+
//# sourceMappingURL=getMachineId-linux-EVLYGAKX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-linux.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { promises as fs } from 'fs';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n const paths = ['/etc/machine-id', '/var/lib/dbus/machine-id'];\n\n for (const path of paths) {\n try {\n const result = await fs.readFile(path, { encoding: 'utf8' });\n return result.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n }\n\n return undefined;\n}\n"],"mappings":";;;;;;;;;;AAAA;AAKA;AADA,SAAS,YAAY,UAAU;AAG/B,eAAsB,eAAY;AAChC,QAAM,QAAQ,CAAC,mBAAmB,0BAA0B;AAE5D,aAAW,QAAQ,OAAO;AACxB,QAAI;AACF,YAAM,SAAS,MAAM,GAAG,SAAS,MAAM,EAAE,UAAU,OAAM,CAAE;AAC3D,aAAO,OAAO,KAAI;aACX,GAAG;AACV,WAAK,MAAM,6BAA6B,CAAC,EAAE;;;AAI/C,SAAO;AACT;","names":[]}
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
diag,
|
|
6
6
|
init_esm,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S62N5JPU.js";
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
10
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-unsupported.js
|
|
11
11
|
init_esm_shims();
|
|
12
12
|
init_esm();
|
|
13
13
|
async function getMachineId() {
|
|
@@ -17,4 +17,4 @@ async function getMachineId() {
|
|
|
17
17
|
export {
|
|
18
18
|
getMachineId
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=getMachineId-unsupported-
|
|
20
|
+
//# sourceMappingURL=getMachineId-unsupported-VNNXLHXA.js.map
|
package/{getMachineId-unsupported-427XMW5O.js.map → getMachineId-unsupported-VNNXLHXA.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-unsupported.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n diag.debug('could not read machine-id: unsupported platform');\n return undefined;\n}\n"],"mappings":";;;;;;;;;;AAAA;AAKA;AAEA,eAAsB,eAAY;AAChC,OAAK,MAAM,iDAAiD;AAC5D,SAAO;AACT;","names":[]}
|
|
@@ -3,14 +3,14 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
execAsync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UIDWT2VP.js";
|
|
7
7
|
import {
|
|
8
8
|
diag,
|
|
9
9
|
init_esm,
|
|
10
10
|
init_esm_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S62N5JPU.js";
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
13
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-win.js
|
|
14
14
|
init_esm_shims();
|
|
15
15
|
import * as process from "process";
|
|
16
16
|
init_esm();
|
|
@@ -34,4 +34,4 @@ async function getMachineId() {
|
|
|
34
34
|
export {
|
|
35
35
|
getMachineId
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=getMachineId-win-
|
|
37
|
+
//# sourceMappingURL=getMachineId-win-DB5WBP73.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-win.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport * as process from 'process';\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n const args =\n 'QUERY HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Cryptography /v MachineGuid';\n let command = '%windir%\\\\System32\\\\REG.exe';\n if (process.arch === 'ia32' && 'PROCESSOR_ARCHITEW6432' in process.env) {\n command = '%windir%\\\\sysnative\\\\cmd.exe /c ' + command;\n }\n\n try {\n const result = await execAsync(`${command} ${args}`);\n const parts = result.stdout.split('REG_SZ');\n if (parts.length === 2) {\n return parts[1].trim();\n }\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":";;;;;;;;;;;;;AAAA;AAKA,YAAY,aAAa;AAEzB;AAEA,eAAsB,eAAY;AAChC,QAAM,OACJ;AACF,MAAI,UAAU;AACd,MAAY,iBAAS,UAAU,4BAAoC,aAAK;AACtE,cAAU,qCAAqC;;AAGjD,MAAI;AACF,UAAM,SAAS,MAAM,UAAU,GAAG,OAAO,IAAI,IAAI,EAAE;AACnD,UAAM,QAAQ,OAAO,OAAO,MAAM,QAAQ;AAC1C,QAAI,MAAM,WAAW,GAAG;AACtB,aAAO,MAAM,CAAC,EAAE,KAAI;;WAEf,GAAG;AACV,SAAK,MAAM,6BAA6B,CAAC,EAAE;;AAG7C,SAAO;AACT;","names":[]}
|
package/index.js
CHANGED
|
@@ -62,13 +62,13 @@ import {
|
|
|
62
62
|
source_default,
|
|
63
63
|
volumeConfigSchema,
|
|
64
64
|
withErrorHandler
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-PUKA5E32.js";
|
|
66
66
|
import {
|
|
67
67
|
__commonJS,
|
|
68
68
|
__require,
|
|
69
69
|
__toESM,
|
|
70
70
|
init_esm_shims
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-S62N5JPU.js";
|
|
72
72
|
|
|
73
73
|
// ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
74
74
|
var require_identity = __commonJS({
|
|
@@ -7771,7 +7771,7 @@ function getConfigPath() {
|
|
|
7771
7771
|
return join(homedir(), ".vm0", "config.json");
|
|
7772
7772
|
}
|
|
7773
7773
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
7774
|
-
console.log(source_default.bold(`VM0 CLI v${"9.132.
|
|
7774
|
+
console.log(source_default.bold(`VM0 CLI v${"9.132.10"}`));
|
|
7775
7775
|
console.log();
|
|
7776
7776
|
const config = await loadConfig();
|
|
7777
7777
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -8066,6 +8066,11 @@ import { promisify } from "util";
|
|
|
8066
8066
|
|
|
8067
8067
|
// ../../packages/core/src/github-url.ts
|
|
8068
8068
|
init_esm_shims();
|
|
8069
|
+
|
|
8070
|
+
// ../../packages/connectors/src/github-url.ts
|
|
8071
|
+
init_esm_shims();
|
|
8072
|
+
|
|
8073
|
+
// ../../packages/core/src/github-url.ts
|
|
8069
8074
|
function parseGitHubUrl(url) {
|
|
8070
8075
|
let normalizedUrl = url;
|
|
8071
8076
|
while (normalizedUrl.endsWith("/")) {
|
|
@@ -11711,7 +11716,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
11711
11716
|
options.autoUpdate = false;
|
|
11712
11717
|
}
|
|
11713
11718
|
if (options.autoUpdate !== false) {
|
|
11714
|
-
await startSilentUpgrade("9.132.
|
|
11719
|
+
await startSilentUpgrade("9.132.10");
|
|
11715
11720
|
}
|
|
11716
11721
|
try {
|
|
11717
11722
|
let result;
|
|
@@ -11803,7 +11808,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
11803
11808
|
withErrorHandler(
|
|
11804
11809
|
async (identifier, prompt, options) => {
|
|
11805
11810
|
if (options.autoUpdate !== false) {
|
|
11806
|
-
await startSilentUpgrade("9.132.
|
|
11811
|
+
await startSilentUpgrade("9.132.10");
|
|
11807
11812
|
}
|
|
11808
11813
|
const { name, version } = parseIdentifier(identifier);
|
|
11809
11814
|
let composeId;
|
|
@@ -13576,13 +13581,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
13576
13581
|
if (latestVersion === null) {
|
|
13577
13582
|
throw new Error("Could not check for updates. Please try again later.");
|
|
13578
13583
|
}
|
|
13579
|
-
if (latestVersion === "9.132.
|
|
13580
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.132.
|
|
13584
|
+
if (latestVersion === "9.132.10") {
|
|
13585
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.132.10"})`));
|
|
13581
13586
|
return;
|
|
13582
13587
|
}
|
|
13583
13588
|
console.log(
|
|
13584
13589
|
source_default.yellow(
|
|
13585
|
-
`Current version: ${"9.132.
|
|
13590
|
+
`Current version: ${"9.132.10"} -> Latest version: ${latestVersion}`
|
|
13586
13591
|
)
|
|
13587
13592
|
);
|
|
13588
13593
|
console.log();
|
|
@@ -13609,7 +13614,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
13609
13614
|
const success = await performUpgrade(packageManager);
|
|
13610
13615
|
if (success) {
|
|
13611
13616
|
console.log(
|
|
13612
|
-
source_default.green(`\u2713 Upgraded from ${"9.132.
|
|
13617
|
+
source_default.green(`\u2713 Upgraded from ${"9.132.10"} to ${latestVersion}`)
|
|
13613
13618
|
);
|
|
13614
13619
|
return;
|
|
13615
13620
|
}
|
|
@@ -13676,7 +13681,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
13676
13681
|
|
|
13677
13682
|
// src/index.ts
|
|
13678
13683
|
var program = new Command();
|
|
13679
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.132.
|
|
13684
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.132.10");
|
|
13680
13685
|
program.addCommand(authCommand);
|
|
13681
13686
|
program.addCommand(infoCommand);
|
|
13682
13687
|
program.addCommand(composeCommand);
|