repomind 0.15.0 → 1.0.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.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -77453,7 +77453,7 @@ var OutdatedCliError = class extends Error {
|
|
|
77453
77453
|
};
|
|
77454
77454
|
var CLI_VERSION_HEADER = "X-RepoMind-CLI-Version";
|
|
77455
77455
|
var CLI_LATEST_HEADER = "X-RepoMind-CLI-Latest";
|
|
77456
|
-
function createApiClient(baseUrl = DEFAULT_BASE_URL2, fetchFn = fetch, cliVersion = "0.
|
|
77456
|
+
function createApiClient(baseUrl = DEFAULT_BASE_URL2, fetchFn = fetch, cliVersion = "1.0.0") {
|
|
77457
77457
|
let latestCliVersion = null;
|
|
77458
77458
|
function baseHeaders(token) {
|
|
77459
77459
|
return {
|
|
@@ -86206,7 +86206,7 @@ async function readRepoConfig(cwd2 = process.cwd()) {
|
|
|
86206
86206
|
function getUpdateInfo() {
|
|
86207
86207
|
const latest = apiClient.getLatestCliVersion();
|
|
86208
86208
|
if (!latest) return void 0;
|
|
86209
|
-
const current = "0.
|
|
86209
|
+
const current = "1.0.0";
|
|
86210
86210
|
return { current, latest };
|
|
86211
86211
|
}
|
|
86212
86212
|
|
|
@@ -92702,7 +92702,7 @@ function CommandHelp({
|
|
|
92702
92702
|
|
|
92703
92703
|
// src/index.ts
|
|
92704
92704
|
function getVersion() {
|
|
92705
|
-
if ("0.
|
|
92705
|
+
if ("1.0.0") return "1.0.0";
|
|
92706
92706
|
try {
|
|
92707
92707
|
const require2 = createRequire(import.meta.url);
|
|
92708
92708
|
const pkg = require2("../package.json");
|