coding-friend-cli 1.40.0 → 1.40.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.
@@ -742,7 +742,7 @@ async function editPermissions() {
742
742
  )
743
743
  });
744
744
  if (choice === BACK) return;
745
- const { permissionCommand } = await import("./permission-L5QMNMID.js");
745
+ const { permissionCommand } = await import("./permission-DDBMBFJV.js");
746
746
  switch (choice) {
747
747
  case "interactive":
748
748
  await permissionCommand({});
package/dist/index.js CHANGED
@@ -84,7 +84,7 @@ program.command("init").description("Initialize coding-friend in current project
84
84
  await initCommand(opts);
85
85
  });
86
86
  program.command("config").description("Manage Coding Friend configuration").action(async () => {
87
- const { configCommand } = await import("./config-2CH4GI2L.js");
87
+ const { configCommand } = await import("./config-WHEUK2LC.js");
88
88
  await configCommand();
89
89
  });
90
90
  var learn = program.command("learn").description("Manage learning docs \u2014 host as a website or push to git");
@@ -114,7 +114,7 @@ program.command("mcp").description("Setup MCP server for learning docs").action(
114
114
  program.command("mcp-serve").description(
115
115
  "Start the cf-memory MCP server (used internally by npx). When memoryDir is omitted, resolves from CLAUDE_PROJECT_DIR at runtime."
116
116
  ).argument("[memoryDir]", "path to memory directory (optional)").action(async (memoryDir) => {
117
- const { mcpServeCommand } = await import("./mcp-serve-SHS5MQRW.js");
117
+ const { mcpServeCommand } = await import("./mcp-serve-IS4T24CV.js");
118
118
  await mcpServeCommand(memoryDir);
119
119
  });
120
120
  program.command("mcp-serve-learn").description("Start the learn MCP server (used internally by npx)").argument("<docsDir>", "path to docs directory").action(async (docsDir) => {
@@ -134,7 +134,7 @@ program.command("permission").description("Manage host permission and approval s
134
134
  "--disable-auto-approve",
135
135
  "For Codex, disable deterministic Coding Friend auto-approve"
136
136
  ).action(async (opts) => {
137
- const { permissionCommand } = await import("./permission-L5QMNMID.js");
137
+ const { permissionCommand } = await import("./permission-DDBMBFJV.js");
138
138
  await permissionCommand(opts);
139
139
  });
140
140
  program.command("statusline").description("Setup coding-friend statusline in Claude Code").action(async () => {
@@ -9,23 +9,21 @@ import "./chunk-OBCNHQFA.js";
9
9
  import "./chunk-5UVDWG5L.js";
10
10
  import "./chunk-EVGXUDX4.js";
11
11
  import "./chunk-IYBIIRH4.js";
12
- import {
13
- log
14
- } from "./chunk-NREZK463.js";
12
+ import "./chunk-NREZK463.js";
15
13
 
16
14
  // src/commands/mcp-serve.ts
17
15
  import { spawn } from "child_process";
18
16
  import { join } from "path";
19
17
  async function mcpServeCommand(memoryDir) {
20
18
  const resolvedDir = memoryDir ?? resolveProjectMemoryDir(process.env.CLAUDE_PROJECT_DIR ?? process.cwd());
21
- log.dim(`memory dir: ${resolvedDir}`);
19
+ console.error(`memory dir: ${resolvedDir}`);
22
20
  const mcpDir = getLibPath("cf-memory");
23
21
  const serverPath = join(mcpDir, "dist", "index.js");
24
22
  const child = spawn("node", [serverPath, resolvedDir], {
25
23
  stdio: "inherit"
26
24
  });
27
25
  child.on("error", (err) => {
28
- log.error(`Failed to start memory MCP server: ${err.message}`);
26
+ console.error(`Failed to start memory MCP server: ${err.message}`);
29
27
  process.exit(1);
30
28
  });
31
29
  child.on("exit", (code) => {
@@ -212,7 +212,7 @@ async function permissionCommand(opts) {
212
212
  log.info(
213
213
  "omp uses its own approval-mode; run `omp config` / omp approval settings \u2014 coding-friend does not manage omp permissions."
214
214
  );
215
- log.dim("See docs/omp-dev.md.");
215
+ log.dim("See docs/plugin-dev.md (omp).");
216
216
  return;
217
217
  }
218
218
  if (host === "agy") {
@@ -4,7 +4,7 @@ export default function Footer({ isHome = false }: { isHome?: boolean }) {
4
4
  return (
5
5
  <footer
6
6
  className={`dark:bg-navy-950 fixed right-0 bottom-0 z-40 border-t border-slate-200 bg-slate-50 dark:border-[#a0a0a01c] ${
7
- isHome ? "left-0" : "left-0 md:left-64 lg:left-[300px]"
7
+ isHome ? "left-0" : "left-0 md:left-64 lg:left-75"
8
8
  }`}
9
9
  >
10
10
  <div className="flex flex-row flex-wrap items-center gap-1 px-6 py-3 text-center text-xs text-slate-600 dark:text-slate-400">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coding-friend-cli",
3
- "version": "1.40.0",
3
+ "version": "1.40.1",
4
4
  "description": "CLI for coding-friend — host learning docs, setup MCP server, initialize projects",
5
5
  "type": "module",
6
6
  "bin": {