claudekit-cli 4.3.1-dev.14 → 4.3.1-dev.15

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "4.3.1-dev.14",
3
- "generatedAt": "2026-05-22T04:42:40.849Z",
2
+ "version": "4.3.1-dev.15",
3
+ "generatedAt": "2026-05-23T20:59:43.138Z",
4
4
  "commands": {
5
5
  "agents": {
6
6
  "name": "agents",
package/dist/index.js CHANGED
@@ -63806,7 +63806,7 @@ var package_default;
63806
63806
  var init_package = __esm(() => {
63807
63807
  package_default = {
63808
63808
  name: "claudekit-cli",
63809
- version: "4.3.1-dev.14",
63809
+ version: "4.3.1-dev.15",
63810
63810
  description: "CLI tool for bootstrapping and updating ClaudeKit projects",
63811
63811
  type: "module",
63812
63812
  repository: {
@@ -93532,6 +93532,14 @@ init_types3();
93532
93532
  import { constants as constants4 } from "node:fs";
93533
93533
  import { access as access5, readdir as readdir23 } from "node:fs/promises";
93534
93534
  import { join as join98 } from "node:path";
93535
+ async function pathExists11(path8) {
93536
+ try {
93537
+ await access5(path8, constants4.F_OK);
93538
+ return true;
93539
+ } catch {
93540
+ return false;
93541
+ }
93542
+ }
93535
93543
  async function validateExtraction(extractDir) {
93536
93544
  try {
93537
93545
  const entries = await readdir23(extractDir, { encoding: "utf8" });
@@ -93539,16 +93547,28 @@ async function validateExtraction(extractDir) {
93539
93547
  if (entries.length === 0) {
93540
93548
  throw new ExtractionError("Extraction resulted in no files");
93541
93549
  }
93542
- const criticalPaths = [".claude", "CLAUDE.md"];
93550
+ const criticalPaths = [".claude"];
93543
93551
  const missingPaths = [];
93544
93552
  for (const path8 of criticalPaths) {
93545
- try {
93546
- await access5(join98(extractDir, path8), constants4.F_OK);
93553
+ if (await pathExists11(join98(extractDir, path8))) {
93547
93554
  logger.debug(`Found: ${path8}`);
93548
- } catch {
93549
- logger.warning(`Expected path not found: ${path8}`);
93550
- missingPaths.push(path8);
93555
+ continue;
93551
93556
  }
93557
+ logger.warning(`Expected path not found: ${path8}`);
93558
+ missingPaths.push(path8);
93559
+ }
93560
+ const guidancePaths = ["CLAUDE.md", ".claude/CLAUDE.md", ".claude/rules/CLAUDE.md"];
93561
+ let guidancePath = null;
93562
+ for (const path8 of guidancePaths) {
93563
+ if (await pathExists11(join98(extractDir, path8))) {
93564
+ guidancePath = path8;
93565
+ break;
93566
+ }
93567
+ }
93568
+ if (guidancePath) {
93569
+ logger.debug(`Found: ${guidancePath}`);
93570
+ } else {
93571
+ logger.debug("No CLAUDE.md guidance file found in extracted kit");
93552
93572
  }
93553
93573
  if (missingPaths.length > 0) {
93554
93574
  logger.warning(`Some expected paths are missing: ${missingPaths.join(", ")}. This may not be a ClaudeKit project.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudekit-cli",
3
- "version": "4.3.1-dev.14",
3
+ "version": "4.3.1-dev.15",
4
4
  "description": "CLI tool for bootstrapping and updating ClaudeKit projects",
5
5
  "type": "module",
6
6
  "repository": {