coding-friend-cli 1.38.0 → 1.38.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.
@@ -233,7 +233,9 @@ async function updateCommand(opts) {
233
233
  }
234
234
  }
235
235
  }
236
+ let refreshMemoryAfterUpdate = null;
236
237
  if (doCli) {
238
+ ({ refreshMemoryAfterUpdate } = await import("./memory-DF7OUOTV.js"));
237
239
  if (!latestCliVersion) {
238
240
  log.warn("Cannot check latest CLI version from npm.");
239
241
  } else {
@@ -263,8 +265,7 @@ async function updateCommand(opts) {
263
265
  }
264
266
  }
265
267
  }
266
- if (doCli) {
267
- const { refreshMemoryAfterUpdate } = await import("./memory-DF7OUOTV.js");
268
+ if (doCli && refreshMemoryAfterUpdate) {
268
269
  await refreshMemoryAfterUpdate();
269
270
  }
270
271
  if (!isMemoryMcpRegistered()) {
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ program.name("cf").description(
43
43
  "coding-friend CLI \u2014 host learning docs, setup MCP, init projects"
44
44
  ).version(wantsVersion ? buildVersionString() : pkg.version, "-v, --version");
45
45
  program.command("install").description("Install the Coding Friend plugin into a supported host").option("--user", "Install at user scope (all projects)").option("--global", "Install at user scope (all projects)").option("--project", "Install at project scope (shared via git)").option("--local", "Install at local scope (this machine only)").option("--agent <agent>", "Operate on host agent: claude or codex", "claude").option("--codex", "Alias for --agent codex").action(async (opts) => {
46
- const { installCommand } = await import("./install-XAFQY5YF.js");
46
+ const { installCommand } = await import("./install-3YEPLDMD.js");
47
47
  await installCommand(opts);
48
48
  });
49
49
  program.command("uninstall").description("Uninstall the Coding Friend plugin from a supported host").option("--user", "Uninstall from user scope (all projects)").option("--global", "Uninstall from user scope (all projects)").option("--project", "Uninstall from project scope").option("--local", "Uninstall from local scope").option("--agent <agent>", "Operate on host agent: claude or codex", "claude").option("--codex", "Alias for --agent codex").option(
@@ -124,11 +124,11 @@ program.command("statusline").description("Setup coding-friend statusline in Cla
124
124
  await statuslineCommand();
125
125
  });
126
126
  program.command("update").description("Update coding-friend plugin, CLI, and statusline").option("--cli", "Update only the CLI (npm package)").option("--plugin", "Update only the host plugin").option("--statusline", "Update only the statusline").option("--user", "Update plugin at user scope (all projects)").option("--global", "Update plugin at user scope (all projects)").option("--project", "Update plugin at project scope").option("--local", "Update plugin at local scope").option("--agent <agent>", "Operate on host agent: claude or codex", "claude").option("--codex", "Alias for --agent codex").action(async (opts) => {
127
- const { updateCommand } = await import("./update-QNUCSDSA.js");
127
+ const { updateCommand } = await import("./update-SMWXKJ3R.js");
128
128
  await updateCommand(opts);
129
129
  });
130
130
  program.command("status").description("Show comprehensive Coding Friend status").action(async () => {
131
- const { statusCommand } = await import("./status-FVFTJ6GS.js");
131
+ const { statusCommand } = await import("./status-6HQRVZKR.js");
132
132
  await statusCommand();
133
133
  });
134
134
  program.command("clean").description("Clean files generated by Coding Friend in docs/").action(async () => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getLatestVersion,
3
3
  semverCompare
4
- } from "./chunk-776ZY62N.js";
4
+ } from "./chunk-XAYWGZQT.js";
5
5
  import {
6
6
  getInstalledVersion
7
7
  } from "./chunk-ETTZRJ55.js";
@@ -21,7 +21,7 @@ import {
21
21
  getLatestCliVersion,
22
22
  getLatestVersion,
23
23
  semverCompare
24
- } from "./chunk-776ZY62N.js";
24
+ } from "./chunk-XAYWGZQT.js";
25
25
  import {
26
26
  getInstalledVersion
27
27
  } from "./chunk-ETTZRJ55.js";
@@ -4,7 +4,7 @@ import {
4
4
  getLatestVersion,
5
5
  semverCompare,
6
6
  updateCommand
7
- } from "./chunk-776ZY62N.js";
7
+ } from "./chunk-XAYWGZQT.js";
8
8
  import "./chunk-ETTZRJ55.js";
9
9
  import "./chunk-3WIZA5OZ.js";
10
10
  import "./chunk-667NMPN4.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coding-friend-cli",
3
- "version": "1.38.0",
3
+ "version": "1.38.1",
4
4
  "description": "CLI for coding-friend — host learning docs, setup MCP server, initialize projects",
5
5
  "type": "module",
6
6
  "bin": {