@keepgoingdev/cli 1.1.0 → 1.1.1
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 +4 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1450,7 +1450,6 @@ function setupProject(options) {
|
|
|
1450
1450
|
scope = "project",
|
|
1451
1451
|
sessionHooks = true,
|
|
1452
1452
|
claudeMd = true,
|
|
1453
|
-
hasProLicense = false,
|
|
1454
1453
|
statusline
|
|
1455
1454
|
} = options;
|
|
1456
1455
|
const messages = [];
|
|
@@ -1475,7 +1474,7 @@ function setupProject(options) {
|
|
|
1475
1474
|
messages.push(`Warning: ${conflict}`);
|
|
1476
1475
|
}
|
|
1477
1476
|
}
|
|
1478
|
-
if (scope === "project"
|
|
1477
|
+
if (scope === "project") {
|
|
1479
1478
|
const needsUpdate = settings.statusLine?.command && statusline?.isLegacy?.(settings.statusLine.command);
|
|
1480
1479
|
if (!settings.statusLine || needsUpdate) {
|
|
1481
1480
|
settings.statusLine = {
|
|
@@ -1922,7 +1921,7 @@ import { spawn } from "child_process";
|
|
|
1922
1921
|
import { readFileSync, existsSync } from "fs";
|
|
1923
1922
|
import path8 from "path";
|
|
1924
1923
|
import os3 from "os";
|
|
1925
|
-
var CLI_VERSION = "1.1.
|
|
1924
|
+
var CLI_VERSION = "1.1.1";
|
|
1926
1925
|
var NPM_REGISTRY_URL = "https://registry.npmjs.org/@keepgoingdev/cli/latest";
|
|
1927
1926
|
var FETCH_TIMEOUT_MS = 5e3;
|
|
1928
1927
|
var CHECK_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -2392,11 +2391,9 @@ var CYAN2 = "\x1B[36m";
|
|
|
2392
2391
|
var DIM3 = "\x1B[2m";
|
|
2393
2392
|
function initCommand(options) {
|
|
2394
2393
|
const scope = options.scope === "user" ? "user" : "project";
|
|
2395
|
-
const hasProLicense = process.env.KEEPGOING_PRO_BYPASS === "1" || !!getLicenseForFeature("session-awareness");
|
|
2396
2394
|
const result = setupProject({
|
|
2397
2395
|
workspacePath: options.cwd,
|
|
2398
|
-
scope
|
|
2399
|
-
hasProLicense
|
|
2396
|
+
scope
|
|
2400
2397
|
});
|
|
2401
2398
|
console.log(`
|
|
2402
2399
|
${BOLD3}KeepGoing Init${RESET3} ${DIM3}(${scope} scope)${RESET3}
|
|
@@ -3219,7 +3216,7 @@ async function main() {
|
|
|
3219
3216
|
}
|
|
3220
3217
|
break;
|
|
3221
3218
|
case "version":
|
|
3222
|
-
console.log(`keepgoing v${"1.1.
|
|
3219
|
+
console.log(`keepgoing v${"1.1.1"}`);
|
|
3223
3220
|
break;
|
|
3224
3221
|
case "activate":
|
|
3225
3222
|
await activateCommand({ licenseKey: subcommand });
|