coding-friend-cli 1.5.0 → 1.5.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.
@@ -29,8 +29,10 @@ import { dirname, join } from "path";
29
29
  import { fileURLToPath } from "url";
30
30
  var __dirname = dirname(fileURLToPath(import.meta.url));
31
31
  function getLibPath(name) {
32
- const libDir = join(__dirname, "..", "..", "lib", name);
33
- if (existsSync(libDir)) return libDir;
32
+ const bundled = join(__dirname, "..", "lib", name);
33
+ if (existsSync(bundled)) return bundled;
34
+ const dev = join(__dirname, "..", "..", "lib", name);
35
+ if (existsSync(dev)) return dev;
34
36
  throw new Error(
35
37
  `Could not find lib/${name}. Ensure it exists in the CLI package.`
36
38
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getLibPath,
3
3
  resolveDocsDir
4
- } from "./chunk-X645ACZJ.js";
4
+ } from "./chunk-WK5YYHXM.js";
5
5
  import "./chunk-JWAJ4XPK.js";
6
6
  import {
7
7
  run,
package/dist/index.js CHANGED
@@ -26,11 +26,11 @@ program.command("init").description("Initialize coding-friend in current project
26
26
  await initCommand();
27
27
  });
28
28
  program.command("host").description("Build and serve learning docs as a static website").argument("[path]", "path to docs folder").option("-p, --port <port>", "port number", "3333").action(async (path, opts) => {
29
- const { hostCommand } = await import("./host-VR5POAVU.js");
29
+ const { hostCommand } = await import("./host-SQEDE3NN.js");
30
30
  await hostCommand(path, opts);
31
31
  });
32
32
  program.command("mcp").description("Setup MCP server for learning docs").argument("[path]", "path to docs folder").action(async (path) => {
33
- const { mcpCommand } = await import("./mcp-JCQUGUPJ.js");
33
+ const { mcpCommand } = await import("./mcp-QRPBL4ML.js");
34
34
  await mcpCommand(path);
35
35
  });
36
36
  program.command("statusline").description("Setup coding-friend statusline in Claude Code").action(async () => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getLibPath,
3
3
  resolveDocsDir
4
- } from "./chunk-X645ACZJ.js";
4
+ } from "./chunk-WK5YYHXM.js";
5
5
  import "./chunk-JWAJ4XPK.js";
6
6
  import {
7
7
  run
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coding-friend-cli",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "CLI for coding-friend — host learning docs, setup MCP server, initialize projects",
5
5
  "type": "module",
6
6
  "bin": {