claudekit-cli 3.39.3-dev.3 → 3.39.3-dev.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -57245,7 +57245,7 @@ var package_default;
57245
57245
  var init_package = __esm(() => {
57246
57246
  package_default = {
57247
57247
  name: "claudekit-cli",
57248
- version: "3.39.3-dev.3",
57248
+ version: "3.39.3-dev.4",
57249
57249
  description: "CLI tool for bootstrapping and updating ClaudeKit projects",
57250
57250
  type: "module",
57251
57251
  repository: {
@@ -96518,7 +96518,6 @@ async function handleFreshInstallation(claudeDir2, prompts) {
96518
96518
 
96519
96519
  // src/commands/init/phases/selection-handler.ts
96520
96520
  init_version_utils();
96521
- init_claudekit_scanner();
96522
96521
  init_logger();
96523
96522
  init_path_resolver();
96524
96523
  init_types3();
@@ -96776,9 +96775,10 @@ async function handleSelection(ctx) {
96776
96775
  logger.info("Fetching available versions...");
96777
96776
  let currentVersion = null;
96778
96777
  try {
96779
- const metadataPath = ctx.options.global ? join111(PathResolver.getGlobalKitDir(), "metadata.json") : join111(resolvedDir, ".claude", "metadata.json");
96780
- const metadata = await readClaudeKitMetadata(metadataPath);
96781
- currentVersion = metadata?.version || null;
96778
+ const prefix = PathResolver.getPathPrefix(ctx.options.global);
96779
+ const claudeDir2 = prefix ? join111(resolvedDir, prefix) : resolvedDir;
96780
+ const existingMetadata = await readManifest(claudeDir2);
96781
+ currentVersion = existingMetadata?.kits?.[kitType]?.version || null;
96782
96782
  if (currentVersion) {
96783
96783
  logger.debug(`Current installed version: ${currentVersion}`);
96784
96784
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudekit-cli",
3
- "version": "3.39.3-dev.3",
3
+ "version": "3.39.3-dev.4",
4
4
  "description": "CLI tool for bootstrapping and updating ClaudeKit projects",
5
5
  "type": "module",
6
6
  "repository": {