coding-friend-cli 1.38.0 → 1.38.2

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(
@@ -65,7 +65,7 @@ program.command("init").description("Initialize coding-friend in current project
65
65
  "--trust-project",
66
66
  "For Codex, mark the current project trusted in ~/.codex/config.toml"
67
67
  ).action(async (opts) => {
68
- const { initCommand } = await import("./init-KYE5CJMW.js");
68
+ const { initCommand } = await import("./init-EMBQJNTT.js");
69
69
  await initCommand(opts);
70
70
  });
71
71
  program.command("config").description("Manage Coding Friend configuration").action(async () => {
@@ -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 () => {
@@ -1214,7 +1214,7 @@ async function initCommand(opts = {}) {
1214
1214
  console.log();
1215
1215
  log.congrats("Setup complete!");
1216
1216
  log.dim(
1217
- "Available commands: /cf-ask, /cf-plan, /cf-design, /cf-fix, /cf-commit, /cf-review, /cf-review-out, /cf-review-in, /cf-ship, /cf-optimize, /cf-scan, /cf-remember, /cf-learn, /cf-teach, /cf-research, /cf-session, /cf-warm, /cf-help"
1217
+ "Available commands: /cf-ask, /cf-plan, /cf-design, /cf-fix, /cf-commit, /cf-review, /cf-review-out, /cf-review-in, /cf-ship, /cf-optimize, /cf-scan, /cf-remember, /cf-learn, /cf-teach, /cf-research, /cf-session, /cf-warm, /cf-checkpoint, /cf-checkpoint-from, /cf-help"
1218
1218
  );
1219
1219
  }
1220
1220
  function initCodexCommand(opts) {
@@ -1292,7 +1292,7 @@ Use Coding Friend skills with Codex's $skill syntax.
1292
1292
 
1293
1293
  ## Skills
1294
1294
 
1295
- $cf-ask, $cf-plan, $cf-review, $cf-review-out, $cf-review-in, $cf-commit, $cf-design, $cf-ship, $cf-fix, $cf-optimize, $cf-scan, $cf-remember, $cf-learn, $cf-teach, $cf-research, $cf-session, $cf-warm, $cf-help
1295
+ $cf-ask, $cf-plan, $cf-review, $cf-review-out, $cf-review-in, $cf-commit, $cf-design, $cf-ship, $cf-fix, $cf-optimize, $cf-scan, $cf-remember, $cf-learn, $cf-teach, $cf-research, $cf-session, $cf-warm, $cf-checkpoint, $cf-checkpoint-from, $cf-help
1296
1296
  `;
1297
1297
  }
1298
1298
  function ensureGitignoreEntry(entry) {
@@ -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.2",
4
4
  "description": "CLI for coding-friend — host learning docs, setup MCP server, initialize projects",
5
5
  "type": "module",
6
6
  "bin": {