@moxt-ai/cli 0.8.0-beta.5 → 0.8.0
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/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8911,7 +8911,7 @@ function getApiKeyOrUndefined() {
|
|
|
8911
8911
|
|
|
8912
8912
|
// src/utils/http.ts
|
|
8913
8913
|
function getUserAgent() {
|
|
8914
|
-
return `moxt-cli/${"0.8.0
|
|
8914
|
+
return `moxt-cli/${"0.8.0"} (${(0, import_os.platform)()}/${(0, import_os.arch)()}) node/${process.versions.node}`;
|
|
8915
8915
|
}
|
|
8916
8916
|
async function sendRequest(method, path4, init) {
|
|
8917
8917
|
const response = await fetch(`${getApiBaseUrl()}${path4}`, {
|
|
@@ -22342,7 +22342,7 @@ var FLUSH_TIMEOUT_MS = 3e3;
|
|
|
22342
22342
|
var MAX_BATCH_SIZE = 100;
|
|
22343
22343
|
function commonLabels() {
|
|
22344
22344
|
return {
|
|
22345
|
-
cli_version: "0.8.0
|
|
22345
|
+
cli_version: "0.8.0",
|
|
22346
22346
|
node_version: process.versions.node,
|
|
22347
22347
|
os: (0, import_node_os7.platform)(),
|
|
22348
22348
|
arch: (0, import_node_os7.arch)(),
|
|
@@ -22388,7 +22388,7 @@ async function flush() {
|
|
|
22388
22388
|
}
|
|
22389
22389
|
const batch = buffer.splice(0, MAX_BATCH_SIZE);
|
|
22390
22390
|
const payload = {
|
|
22391
|
-
release_id: "0.8.0
|
|
22391
|
+
release_id: "0.8.0",
|
|
22392
22392
|
client_type: "cli",
|
|
22393
22393
|
metric_data_list: batch.map((m) => ({
|
|
22394
22394
|
profile: "cli",
|
|
@@ -22704,8 +22704,8 @@ function commandPath2(command) {
|
|
|
22704
22704
|
}
|
|
22705
22705
|
|
|
22706
22706
|
// src/index.ts
|
|
22707
|
-
var program2 = createProgram("0.8.0
|
|
22708
|
-
installUpdateHook(program2, "0.8.0
|
|
22707
|
+
var program2 = createProgram("0.8.0");
|
|
22708
|
+
installUpdateHook(program2, "0.8.0");
|
|
22709
22709
|
instrumentProgram(program2);
|
|
22710
22710
|
installExitHandler();
|
|
22711
22711
|
program2.parseAsync(process.argv).then(async () => {
|