@moxt-ai/cli 0.10.0-beta.7 → 0.10.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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14374,7 +14374,7 @@ function getApiKeyOrUndefined() {
|
|
|
14374
14374
|
|
|
14375
14375
|
// src/utils/http.ts
|
|
14376
14376
|
function getUserAgent() {
|
|
14377
|
-
return `moxt-cli/${"0.10.0
|
|
14377
|
+
return `moxt-cli/${"0.10.0"} (${(0, import_os.platform)()}/${(0, import_os.arch)()}) node/${process.versions.node}`;
|
|
14378
14378
|
}
|
|
14379
14379
|
async function sendRequest(method, path4, init) {
|
|
14380
14380
|
return await fetch(`${getApiBaseUrl()}${path4}`, {
|
|
@@ -28796,7 +28796,7 @@ var FLUSH_TIMEOUT_MS = 3e3;
|
|
|
28796
28796
|
var MAX_BATCH_SIZE = 100;
|
|
28797
28797
|
function commonLabels() {
|
|
28798
28798
|
return {
|
|
28799
|
-
cli_version: "0.10.0
|
|
28799
|
+
cli_version: "0.10.0",
|
|
28800
28800
|
node_version: process.versions.node,
|
|
28801
28801
|
os: (0, import_node_os11.platform)(),
|
|
28802
28802
|
arch: (0, import_node_os11.arch)(),
|
|
@@ -28842,7 +28842,7 @@ async function flush() {
|
|
|
28842
28842
|
}
|
|
28843
28843
|
const batch = buffer.splice(0, MAX_BATCH_SIZE);
|
|
28844
28844
|
const payload = {
|
|
28845
|
-
release_id: "0.10.0
|
|
28845
|
+
release_id: "0.10.0",
|
|
28846
28846
|
client_type: "cli",
|
|
28847
28847
|
metric_data_list: batch.map((m) => ({
|
|
28848
28848
|
profile: "cli",
|
|
@@ -29225,9 +29225,9 @@ function commandPath3(command) {
|
|
|
29225
29225
|
}
|
|
29226
29226
|
|
|
29227
29227
|
// src/index.ts
|
|
29228
|
-
var program2 = createProgram("0.10.0
|
|
29229
|
-
installDaemonReconcileHook(program2, "0.10.0
|
|
29230
|
-
installUpdateHook(program2, "0.10.0
|
|
29228
|
+
var program2 = createProgram("0.10.0");
|
|
29229
|
+
installDaemonReconcileHook(program2, "0.10.0");
|
|
29230
|
+
installUpdateHook(program2, "0.10.0");
|
|
29231
29231
|
instrumentProgram(program2);
|
|
29232
29232
|
installExitHandler();
|
|
29233
29233
|
program2.parseAsync(process.argv).then(async () => {
|