conare 0.7.3 → 0.7.4
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.js +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -774,6 +774,9 @@ var init_codebase = __esm(() => {
|
|
|
774
774
|
};
|
|
775
775
|
});
|
|
776
776
|
|
|
777
|
+
// src/version.ts
|
|
778
|
+
var CLI_VERSION = "0.7.4";
|
|
779
|
+
|
|
777
780
|
// src/api.ts
|
|
778
781
|
var exports_api = {};
|
|
779
782
|
__export(exports_api, {
|
|
@@ -927,7 +930,7 @@ async function recordSyncCheckIn(apiKey, source = "cli", memoryDelta = 0, choice
|
|
|
927
930
|
try {
|
|
928
931
|
const data = await apiRequest("/api/sync/check-in", apiKey, {
|
|
929
932
|
method: "POST",
|
|
930
|
-
body: JSON.stringify({ source, memoryDelta, ...choices })
|
|
933
|
+
body: JSON.stringify({ source, memoryDelta, cliVersion: CLI_VERSION, ...choices })
|
|
931
934
|
});
|
|
932
935
|
return typeof data.lastSyncAt === "number" ? data.lastSyncAt : null;
|
|
933
936
|
} catch {
|
|
@@ -1077,7 +1080,7 @@ var init_api = __esm(() => {
|
|
|
1077
1080
|
};
|
|
1078
1081
|
});
|
|
1079
1082
|
|
|
1080
|
-
//
|
|
1083
|
+
// node_modules/sisteransi/src/index.js
|
|
1081
1084
|
var require_src = __commonJS((exports, module) => {
|
|
1082
1085
|
var ESC = "\x1B";
|
|
1083
1086
|
var CSI = `${ESC}[`;
|
|
@@ -1135,7 +1138,7 @@ var require_src = __commonJS((exports, module) => {
|
|
|
1135
1138
|
module.exports = { cursor, scroll, erase, beep };
|
|
1136
1139
|
});
|
|
1137
1140
|
|
|
1138
|
-
//
|
|
1141
|
+
// node_modules/picocolors/picocolors.js
|
|
1139
1142
|
var require_picocolors = __commonJS((exports, module) => {
|
|
1140
1143
|
var p = process || {};
|
|
1141
1144
|
var argv = p.argv || [];
|
|
@@ -1205,7 +1208,7 @@ var require_picocolors = __commonJS((exports, module) => {
|
|
|
1205
1208
|
module.exports.createColors = createColors;
|
|
1206
1209
|
});
|
|
1207
1210
|
|
|
1208
|
-
//
|
|
1211
|
+
// node_modules/@clack/core/dist/index.mjs
|
|
1209
1212
|
import { stdin as j, stdout as M } from "node:process";
|
|
1210
1213
|
import * as g from "node:readline";
|
|
1211
1214
|
import O from "node:readline";
|
|
@@ -1627,7 +1630,7 @@ var init_dist = __esm(() => {
|
|
|
1627
1630
|
};
|
|
1628
1631
|
});
|
|
1629
1632
|
|
|
1630
|
-
//
|
|
1633
|
+
// node_modules/@clack/prompts/dist/index.mjs
|
|
1631
1634
|
import { stripVTControlCharacters as S2 } from "node:util";
|
|
1632
1635
|
import y2 from "node:process";
|
|
1633
1636
|
function ce() {
|
|
@@ -5663,9 +5666,6 @@ function uninstallSync() {
|
|
|
5663
5666
|
return messages;
|
|
5664
5667
|
}
|
|
5665
5668
|
|
|
5666
|
-
// src/version.ts
|
|
5667
|
-
var CLI_VERSION = "0.7.3";
|
|
5668
|
-
|
|
5669
5669
|
// src/index.ts
|
|
5670
5670
|
init_interactive();
|
|
5671
5671
|
var nodeMajor = Number(process.versions.node.split(".")[0]);
|