claudekit-cli 3.42.1 → 3.42.2-dev.2
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/cli-manifest.json +2 -2
- package/dist/index.js +11 -77
- package/package.json +1 -1
package/cli-manifest.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -11059,7 +11059,7 @@ var init_provider_registry = __esm(() => {
|
|
|
11059
11059
|
},
|
|
11060
11060
|
commands: null,
|
|
11061
11061
|
skills: {
|
|
11062
|
-
projectPath: ".
|
|
11062
|
+
projectPath: ".cursor/skills",
|
|
11063
11063
|
globalPath: join(home, ".cursor/skills"),
|
|
11064
11064
|
format: "direct-copy",
|
|
11065
11065
|
writeStrategy: "per-file",
|
|
@@ -11239,8 +11239,8 @@ var init_provider_registry = __esm(() => {
|
|
|
11239
11239
|
nestedCommands: false
|
|
11240
11240
|
},
|
|
11241
11241
|
skills: {
|
|
11242
|
-
projectPath: ".
|
|
11243
|
-
globalPath: join(home, ".
|
|
11242
|
+
projectPath: ".windsurf/skills",
|
|
11243
|
+
globalPath: join(home, ".codeium/windsurf/skills"),
|
|
11244
11244
|
format: "direct-copy",
|
|
11245
11245
|
writeStrategy: "per-file",
|
|
11246
11246
|
fileExtension: ".md"
|
|
@@ -62244,7 +62244,7 @@ var package_default;
|
|
|
62244
62244
|
var init_package = __esm(() => {
|
|
62245
62245
|
package_default = {
|
|
62246
62246
|
name: "claudekit-cli",
|
|
62247
|
-
version: "3.42.
|
|
62247
|
+
version: "3.42.2-dev.2",
|
|
62248
62248
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
62249
62249
|
type: "module",
|
|
62250
62250
|
repository: {
|
|
@@ -63967,8 +63967,12 @@ Need help? Run with: ck new --verbose`, 404);
|
|
|
63967
63967
|
}
|
|
63968
63968
|
logger.debug(`Fetching releases from API for ${kit.name}`);
|
|
63969
63969
|
const stopWhenStableFound = !includePrereleases;
|
|
63970
|
-
const releases = await this.listReleases(kit, fetchLimit, stopWhenStableFound);
|
|
63971
|
-
|
|
63970
|
+
const releases = await this.listReleases(kit, fetchLimit, stopWhenStableFound) ?? [];
|
|
63971
|
+
if (releases.length > 0) {
|
|
63972
|
+
await this.releaseCache.set(cacheKey, releases);
|
|
63973
|
+
} else {
|
|
63974
|
+
logger.debug(`Skipping cache write for ${kit.name}: API returned 0 releases (likely transient — keeping cache empty so the next call refetches)`);
|
|
63975
|
+
}
|
|
63972
63976
|
const processed = ReleaseFilter.processReleases(releases, {
|
|
63973
63977
|
includeDrafts: false,
|
|
63974
63978
|
includePrereleases,
|
|
@@ -73271,76 +73275,6 @@ var init_ownership_display = __esm(() => {
|
|
|
73271
73275
|
import_picocolors25 = __toESM(require_picocolors(), 1);
|
|
73272
73276
|
});
|
|
73273
73277
|
|
|
73274
|
-
// src/ui/node_modules/picocolors/picocolors.js
|
|
73275
|
-
var require_picocolors2 = __commonJS((exports, module) => {
|
|
73276
|
-
var p = process || {};
|
|
73277
|
-
var argv = p.argv || [];
|
|
73278
|
-
var env2 = p.env || {};
|
|
73279
|
-
var isColorSupported = !(!!env2.NO_COLOR || argv.includes("--no-color")) && (!!env2.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env2.TERM !== "dumb" || !!env2.CI);
|
|
73280
|
-
var formatter = (open6, close, replace3 = open6) => (input) => {
|
|
73281
|
-
let string = "" + input, index = string.indexOf(close, open6.length);
|
|
73282
|
-
return ~index ? open6 + replaceClose(string, close, replace3, index) + close : open6 + string + close;
|
|
73283
|
-
};
|
|
73284
|
-
var replaceClose = (string, close, replace3, index) => {
|
|
73285
|
-
let result = "", cursor = 0;
|
|
73286
|
-
do {
|
|
73287
|
-
result += string.substring(cursor, index) + replace3;
|
|
73288
|
-
cursor = index + close.length;
|
|
73289
|
-
index = string.indexOf(close, cursor);
|
|
73290
|
-
} while (~index);
|
|
73291
|
-
return result + string.substring(cursor);
|
|
73292
|
-
};
|
|
73293
|
-
var createColors = (enabled = isColorSupported) => {
|
|
73294
|
-
let f3 = enabled ? formatter : () => String;
|
|
73295
|
-
return {
|
|
73296
|
-
isColorSupported: enabled,
|
|
73297
|
-
reset: f3("\x1B[0m", "\x1B[0m"),
|
|
73298
|
-
bold: f3("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
73299
|
-
dim: f3("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
73300
|
-
italic: f3("\x1B[3m", "\x1B[23m"),
|
|
73301
|
-
underline: f3("\x1B[4m", "\x1B[24m"),
|
|
73302
|
-
inverse: f3("\x1B[7m", "\x1B[27m"),
|
|
73303
|
-
hidden: f3("\x1B[8m", "\x1B[28m"),
|
|
73304
|
-
strikethrough: f3("\x1B[9m", "\x1B[29m"),
|
|
73305
|
-
black: f3("\x1B[30m", "\x1B[39m"),
|
|
73306
|
-
red: f3("\x1B[31m", "\x1B[39m"),
|
|
73307
|
-
green: f3("\x1B[32m", "\x1B[39m"),
|
|
73308
|
-
yellow: f3("\x1B[33m", "\x1B[39m"),
|
|
73309
|
-
blue: f3("\x1B[34m", "\x1B[39m"),
|
|
73310
|
-
magenta: f3("\x1B[35m", "\x1B[39m"),
|
|
73311
|
-
cyan: f3("\x1B[36m", "\x1B[39m"),
|
|
73312
|
-
white: f3("\x1B[37m", "\x1B[39m"),
|
|
73313
|
-
gray: f3("\x1B[90m", "\x1B[39m"),
|
|
73314
|
-
bgBlack: f3("\x1B[40m", "\x1B[49m"),
|
|
73315
|
-
bgRed: f3("\x1B[41m", "\x1B[49m"),
|
|
73316
|
-
bgGreen: f3("\x1B[42m", "\x1B[49m"),
|
|
73317
|
-
bgYellow: f3("\x1B[43m", "\x1B[49m"),
|
|
73318
|
-
bgBlue: f3("\x1B[44m", "\x1B[49m"),
|
|
73319
|
-
bgMagenta: f3("\x1B[45m", "\x1B[49m"),
|
|
73320
|
-
bgCyan: f3("\x1B[46m", "\x1B[49m"),
|
|
73321
|
-
bgWhite: f3("\x1B[47m", "\x1B[49m"),
|
|
73322
|
-
blackBright: f3("\x1B[90m", "\x1B[39m"),
|
|
73323
|
-
redBright: f3("\x1B[91m", "\x1B[39m"),
|
|
73324
|
-
greenBright: f3("\x1B[92m", "\x1B[39m"),
|
|
73325
|
-
yellowBright: f3("\x1B[93m", "\x1B[39m"),
|
|
73326
|
-
blueBright: f3("\x1B[94m", "\x1B[39m"),
|
|
73327
|
-
magentaBright: f3("\x1B[95m", "\x1B[39m"),
|
|
73328
|
-
cyanBright: f3("\x1B[96m", "\x1B[39m"),
|
|
73329
|
-
whiteBright: f3("\x1B[97m", "\x1B[39m"),
|
|
73330
|
-
bgBlackBright: f3("\x1B[100m", "\x1B[49m"),
|
|
73331
|
-
bgRedBright: f3("\x1B[101m", "\x1B[49m"),
|
|
73332
|
-
bgGreenBright: f3("\x1B[102m", "\x1B[49m"),
|
|
73333
|
-
bgYellowBright: f3("\x1B[103m", "\x1B[49m"),
|
|
73334
|
-
bgBlueBright: f3("\x1B[104m", "\x1B[49m"),
|
|
73335
|
-
bgMagentaBright: f3("\x1B[105m", "\x1B[49m"),
|
|
73336
|
-
bgCyanBright: f3("\x1B[106m", "\x1B[49m"),
|
|
73337
|
-
bgWhiteBright: f3("\x1B[107m", "\x1B[49m")
|
|
73338
|
-
};
|
|
73339
|
-
};
|
|
73340
|
-
module.exports = createColors();
|
|
73341
|
-
module.exports.createColors = createColors;
|
|
73342
|
-
});
|
|
73343
|
-
|
|
73344
73278
|
// src/commands/watch/phases/implementation-git-helpers.ts
|
|
73345
73279
|
import { spawn as spawn6 } from "node:child_process";
|
|
73346
73280
|
async function getCurrentBranch2(cwd2) {
|
|
@@ -106572,7 +106506,7 @@ import { basename as basename27, join as join142, resolve as resolve41 } from "n
|
|
|
106572
106506
|
init_logger();
|
|
106573
106507
|
|
|
106574
106508
|
// src/ui/ck-cli-design/tokens.ts
|
|
106575
|
-
var import_picocolors27 = __toESM(
|
|
106509
|
+
var import_picocolors27 = __toESM(require_picocolors(), 1);
|
|
106576
106510
|
import { homedir as homedir48, platform as platform16 } from "node:os";
|
|
106577
106511
|
import { resolve as resolve40, win32 as win323 } from "node:path";
|
|
106578
106512
|
var PANEL_MIN_WIDTH = 60;
|