coding-friend-cli 1.35.8 → 1.36.0

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.
Files changed (40) hide show
  1. package/README.md +5 -3
  2. package/dist/{chunk-RLUNNJWJ.js → chunk-667NMPN4.js} +47 -4
  3. package/dist/{chunk-HA7E7QZ4.js → chunk-7QFJODWB.js} +14 -9
  4. package/dist/{chunk-UCYGDDFS.js → chunk-7SMP5CZ4.js} +6 -6
  5. package/dist/{chunk-5Z5TZUHZ.js → chunk-DUKBBMVM.js} +6 -18
  6. package/dist/{chunk-TAPL6NF3.js → chunk-EFRPDFO7.js} +4 -4
  7. package/dist/{chunk-ASNR6LFD.js → chunk-GHR3TNL6.js} +8 -8
  8. package/dist/{chunk-R6HDMRYL.js → chunk-GZT3YPAP.js} +5 -5
  9. package/dist/{chunk-UIPLDRGI.js → chunk-KIKN5HEH.js} +6 -6
  10. package/dist/{chunk-O27FVQFU.js → chunk-O5ZKLFSL.js} +6 -4
  11. package/dist/{chunk-UXIWEBI2.js → chunk-PQUACN4U.js} +1 -1
  12. package/dist/{chunk-WSUYLIYX.js → chunk-TEC25H6C.js} +3 -3
  13. package/dist/{chunk-TWKNGPBO.js → chunk-X2H7JJMR.js} +15 -10
  14. package/dist/{clean-PAYOM4FV.js → clean-2IRHH4SU.js} +24 -25
  15. package/dist/{config-NPKT6NN3.js → config-36YY3XLM.js} +17 -17
  16. package/dist/{dev-MD5TNAKI.js → dev-JSYPSXEZ.js} +8 -8
  17. package/dist/{disable-5UK4QINT.js → disable-35RSJICU.js} +3 -3
  18. package/dist/{enable-UQZNZRPI.js → enable-RXWDQRIU.js} +3 -3
  19. package/dist/{guide-LQ2BHU5Y.js → guide-ECSMH2AT.js} +4 -4
  20. package/dist/{host-DKGDDAGO.js → host-BYJEZN6T.js} +10 -5
  21. package/dist/index.js +52 -36
  22. package/dist/{init-ZIUTSR4U.js → init-QXCMAPXT.js} +19 -19
  23. package/dist/{install-VFD6C3LZ.js → install-NALHBTGG.js} +8 -8
  24. package/dist/learn-PNG2TI2E.js +111 -0
  25. package/dist/{mcp-T3UG4PS3.js → mcp-6GRHKIQW.js} +9 -9
  26. package/dist/{mcp-serve-learn-OKVC5WV3.js → mcp-serve-learn-36ZQQQTF.js} +3 -3
  27. package/dist/{memory-R57VRQZL.js → memory-A7OUTQ54.js} +6 -6
  28. package/dist/{permission-KLT2TLZY.js → permission-PB3OMKRB.js} +9 -9
  29. package/dist/{permissions-LYADLYYK.js → permissions-J46VP6US.js} +2 -1
  30. package/dist/postinstall.js +1 -1
  31. package/dist/{session-MVH6IYHM.js → session-YJJRGQPX.js} +6 -6
  32. package/dist/{status-YWABL222.js → status-SG5LCXER.js} +16 -16
  33. package/dist/{statusline-EYTWM5X6.js → statusline-3Z4DE24F.js} +2 -2
  34. package/dist/{uninstall-MLSKOCOZ.js → uninstall-JLSEHXS5.js} +11 -11
  35. package/dist/{update-G5YXZRMQ.js → update-MO5BT3C5.js} +5 -5
  36. package/dist/{update-check-BPCQ25AR.js → update-check-I2RSVGFO.js} +3 -3
  37. package/lib/learn-host/README.md +8 -9
  38. package/lib/learn-host/src/components/Breadcrumbs.tsx +30 -19
  39. package/package.json +1 -1
  40. package/lib/learn-host/tsconfig.tsbuildinfo +0 -1
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  registerLearnMcp,
6
6
  unregisterLearnMcp
7
- } from "./chunk-WSUYLIYX.js";
7
+ } from "./chunk-TEC25H6C.js";
8
8
  import {
9
9
  memoryConfigMenu
10
- } from "./chunk-HA7E7QZ4.js";
10
+ } from "./chunk-7QFJODWB.js";
11
11
  import {
12
12
  resolveLearnDir
13
- } from "./chunk-5Z5TZUHZ.js";
13
+ } from "./chunk-DUKBBMVM.js";
14
14
  import "./chunk-RZRT7NGT.js";
15
15
  import {
16
16
  findStatuslineHookPath,
@@ -22,7 +22,7 @@ import {
22
22
  saveStatuslineConfig,
23
23
  selectStatuslineComponents,
24
24
  writeStatuslineSettings
25
- } from "./chunk-UCYGDDFS.js";
25
+ } from "./chunk-7SMP5CZ4.js";
26
26
  import {
27
27
  ALL_COMPONENT_IDS,
28
28
  DEFAULT_CONFIG
@@ -31,7 +31,7 @@ import {
31
31
  ensureShellCompletion,
32
32
  hasShellCompletion,
33
33
  removeShellCompletion
34
- } from "./chunk-RLUNNJWJ.js";
34
+ } from "./chunk-667NMPN4.js";
35
35
  import {
36
36
  BACK,
37
37
  applyDocsDirChange,
@@ -41,16 +41,8 @@ import {
41
41
  getScopeLabel,
42
42
  injectBackChoice,
43
43
  showConfigHint
44
- } from "./chunk-TAPL6NF3.js";
44
+ } from "./chunk-EFRPDFO7.js";
45
45
  import "./chunk-EVGXUDX4.js";
46
- import {
47
- claudeLocalSettingsPath,
48
- claudeProjectSettingsPath,
49
- claudeSettingsPath,
50
- globalConfigPath,
51
- localConfigPath,
52
- resolvePath
53
- } from "./chunk-TWKNGPBO.js";
54
46
  import {
55
47
  log,
56
48
  printBanner
@@ -58,11 +50,19 @@ import {
58
50
  import {
59
51
  getAllRules,
60
52
  getExistingRules
61
- } from "./chunk-O27FVQFU.js";
53
+ } from "./chunk-O5ZKLFSL.js";
62
54
  import {
63
55
  mergeJson,
64
56
  readJson
65
57
  } from "./chunk-5UVDWG5L.js";
58
+ import {
59
+ claudeLocalSettingsPath,
60
+ claudeProjectSettingsPath,
61
+ claudeSettingsPath,
62
+ globalConfigPath,
63
+ localConfigPath,
64
+ resolvePath
65
+ } from "./chunk-X2H7JJMR.js";
66
66
 
67
67
  // src/commands/config.ts
68
68
  import { checkbox, confirm, input, select } from "@inquirer/prompts";
@@ -472,7 +472,7 @@ async function editAutoApprove(globalCfg, localCfg) {
472
472
  if (scope === "back") return;
473
473
  writeToScope(scope, { autoApprove: value });
474
474
  if (value) {
475
- const { runDangerousRulesAudit } = await import("./permissions-LYADLYYK.js");
475
+ const { runDangerousRulesAudit } = await import("./permissions-J46VP6US.js");
476
476
  await runDangerousRulesAudit(
477
477
  [
478
478
  claudeProjectSettingsPath(),
@@ -668,7 +668,7 @@ async function editPermissions() {
668
668
  )
669
669
  });
670
670
  if (choice === BACK) return;
671
- const { permissionCommand } = await import("./permission-KLT2TLZY.js");
671
+ const { permissionCommand } = await import("./permission-PB3OMKRB.js");
672
672
  switch (choice) {
673
673
  case "interactive":
674
674
  await permissionCommand({});
@@ -1,24 +1,19 @@
1
1
  import {
2
2
  ensureStatusline
3
- } from "./chunk-UCYGDDFS.js";
3
+ } from "./chunk-7SMP5CZ4.js";
4
4
  import "./chunk-57EGAXYI.js";
5
5
  import {
6
6
  ensureShellCompletion
7
- } from "./chunk-RLUNNJWJ.js";
7
+ } from "./chunk-667NMPN4.js";
8
8
  import {
9
9
  isMarketplaceRegistered,
10
10
  isPluginInstalled
11
- } from "./chunk-R6HDMRYL.js";
11
+ } from "./chunk-GZT3YPAP.js";
12
12
  import {
13
13
  commandExists,
14
14
  run,
15
15
  runWithStderr
16
16
  } from "./chunk-EVGXUDX4.js";
17
- import {
18
- devStatePath,
19
- knownMarketplacesPath,
20
- pluginCachePath
21
- } from "./chunk-TWKNGPBO.js";
22
17
  import {
23
18
  log,
24
19
  printBanner
@@ -27,6 +22,11 @@ import {
27
22
  readJson,
28
23
  writeJson
29
24
  } from "./chunk-5UVDWG5L.js";
25
+ import {
26
+ devStatePath,
27
+ knownMarketplacesPath,
28
+ pluginCachePath
29
+ } from "./chunk-X2H7JJMR.js";
30
30
 
31
31
  // src/commands/dev.ts
32
32
  import {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  isPluginDisabled,
3
3
  setPluginEnabled
4
- } from "./chunk-R6HDMRYL.js";
4
+ } from "./chunk-GZT3YPAP.js";
5
5
  import {
6
6
  resolveScope
7
- } from "./chunk-TAPL6NF3.js";
7
+ } from "./chunk-EFRPDFO7.js";
8
8
  import "./chunk-EVGXUDX4.js";
9
- import "./chunk-TWKNGPBO.js";
10
9
  import {
11
10
  log
12
11
  } from "./chunk-NREZK463.js";
13
12
  import "./chunk-5UVDWG5L.js";
13
+ import "./chunk-X2H7JJMR.js";
14
14
 
15
15
  // src/commands/disable.ts
16
16
  import chalk from "chalk";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  isPluginDisabled,
3
3
  setPluginEnabled
4
- } from "./chunk-R6HDMRYL.js";
4
+ } from "./chunk-GZT3YPAP.js";
5
5
  import {
6
6
  resolveScope
7
- } from "./chunk-TAPL6NF3.js";
7
+ } from "./chunk-EFRPDFO7.js";
8
8
  import "./chunk-EVGXUDX4.js";
9
- import "./chunk-TWKNGPBO.js";
10
9
  import {
11
10
  log
12
11
  } from "./chunk-NREZK463.js";
13
12
  import "./chunk-5UVDWG5L.js";
13
+ import "./chunk-X2H7JJMR.js";
14
14
 
15
15
  // src/commands/enable.ts
16
16
  import chalk from "chalk";
@@ -1,13 +1,13 @@
1
- import {
2
- devStatePath,
3
- pluginCachePath
4
- } from "./chunk-TWKNGPBO.js";
5
1
  import {
6
2
  log
7
3
  } from "./chunk-NREZK463.js";
8
4
  import {
9
5
  readJson
10
6
  } from "./chunk-5UVDWG5L.js";
7
+ import {
8
+ devStatePath,
9
+ pluginCachePath
10
+ } from "./chunk-X2H7JJMR.js";
11
11
 
12
12
  // src/commands/guide.ts
13
13
  import chalk from "chalk";
@@ -1,6 +1,6 @@
1
1
  import {
2
- resolveDocsDir
3
- } from "./chunk-5Z5TZUHZ.js";
2
+ resolveLearnDir
3
+ } from "./chunk-DUKBBMVM.js";
4
4
  import {
5
5
  getLibPath
6
6
  } from "./chunk-RZRT7NGT.js";
@@ -9,12 +9,16 @@ import {
9
9
  run,
10
10
  streamExec
11
11
  } from "./chunk-EVGXUDX4.js";
12
- import "./chunk-TWKNGPBO.js";
13
12
  import {
14
13
  log,
15
14
  printBanner
16
15
  } from "./chunk-NREZK463.js";
17
- import "./chunk-5UVDWG5L.js";
16
+ import {
17
+ readJson
18
+ } from "./chunk-5UVDWG5L.js";
19
+ import {
20
+ globalConfigPath
21
+ } from "./chunk-X2H7JJMR.js";
18
22
 
19
23
  // src/commands/host.ts
20
24
  import { existsSync, readdirSync } from "fs";
@@ -36,7 +40,8 @@ function countCategories(dir) {
36
40
  ).length;
37
41
  }
38
42
  async function hostCommand(path, opts) {
39
- const docsDir = resolveDocsDir(path);
43
+ const globalCfg = readJson(globalConfigPath());
44
+ const docsDir = resolveLearnDir(globalCfg, path);
40
45
  const port = opts?.port ?? "3333";
41
46
  const hostDir = getLibPath("learn-host");
42
47
  if (!existsSync(docsDir)) {
package/dist/index.js CHANGED
@@ -14,35 +14,51 @@ program.name("cf").description(
14
14
  "coding-friend CLI \u2014 host learning docs, setup MCP, init projects"
15
15
  ).version(pkg.version, "-v, --version");
16
16
  program.command("install").description("Install the Coding Friend plugin into Claude Code").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)").action(async (opts) => {
17
- const { installCommand } = await import("./install-VFD6C3LZ.js");
17
+ const { installCommand } = await import("./install-NALHBTGG.js");
18
18
  await installCommand(opts);
19
19
  });
20
20
  program.command("uninstall").description("Uninstall the Coding Friend plugin from Claude Code").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").action(async (opts) => {
21
- const { uninstallCommand } = await import("./uninstall-MLSKOCOZ.js");
21
+ const { uninstallCommand } = await import("./uninstall-JLSEHXS5.js");
22
22
  await uninstallCommand(opts);
23
23
  });
24
24
  program.command("disable").description("Disable the Coding Friend plugin without uninstalling").option("--user", "Disable at user scope (all projects)").option("--global", "Disable at user scope (all projects)").option("--project", "Disable at project scope").option("--local", "Disable at local scope").action(async (opts) => {
25
- const { disableCommand } = await import("./disable-5UK4QINT.js");
25
+ const { disableCommand } = await import("./disable-35RSJICU.js");
26
26
  await disableCommand(opts);
27
27
  });
28
28
  program.command("enable").description("Re-enable the Coding Friend plugin").option("--user", "Enable at user scope (all projects)").option("--global", "Enable at user scope (all projects)").option("--project", "Enable at project scope").option("--local", "Enable at local scope").action(async (opts) => {
29
- const { enableCommand } = await import("./enable-UQZNZRPI.js");
29
+ const { enableCommand } = await import("./enable-RXWDQRIU.js");
30
30
  await enableCommand(opts);
31
31
  });
32
32
  program.command("init").description("Initialize coding-friend in current project").action(async () => {
33
- const { initCommand } = await import("./init-ZIUTSR4U.js");
33
+ const { initCommand } = await import("./init-QXCMAPXT.js");
34
34
  await initCommand();
35
35
  });
36
36
  program.command("config").description("Manage Coding Friend configuration").action(async () => {
37
- const { configCommand } = await import("./config-NPKT6NN3.js");
37
+ const { configCommand } = await import("./config-36YY3XLM.js");
38
38
  await configCommand();
39
39
  });
40
- 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) => {
41
- const { hostCommand } = await import("./host-DKGDDAGO.js");
40
+ var learn = program.command("learn").description("Manage learning docs \u2014 host as a website or push to git");
41
+ program.addHelpText(
42
+ "after",
43
+ `
44
+ Learn subcommands:
45
+ learn host [path] Build and serve learning docs as a static website
46
+ learn push [path] Commit and push learning docs (only if learn dir is the git root)`
47
+ );
48
+ learn.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) => {
49
+ const { hostCommand } = await import("./host-BYJEZN6T.js");
50
+ await hostCommand(path, opts);
51
+ });
52
+ learn.command("push").description("Commit and push learning docs to origin").argument("[path]", "path to docs folder").action(async (path) => {
53
+ const { learnPushCommand } = await import("./learn-PNG2TI2E.js");
54
+ await learnPushCommand(path);
55
+ });
56
+ program.command("host", { hidden: true }).argument("[path]", "path to docs folder").option("-p, --port <port>", "port number", "3333").action(async (path, opts) => {
57
+ const { hostCommand } = await import("./host-BYJEZN6T.js");
42
58
  await hostCommand(path, opts);
43
59
  });
44
60
  program.command("mcp").description("Setup MCP server for learning docs").action(async () => {
45
- const { mcpCommand } = await import("./mcp-T3UG4PS3.js");
61
+ const { mcpCommand } = await import("./mcp-6GRHKIQW.js");
46
62
  await mcpCommand();
47
63
  });
48
64
  program.command("mcp-serve").description("Start the cf-memory MCP server (used internally by npx)").argument("<memoryDir>", "path to memory directory").action(async (memoryDir) => {
@@ -50,30 +66,30 @@ program.command("mcp-serve").description("Start the cf-memory MCP server (used i
50
66
  await mcpServeCommand(memoryDir);
51
67
  });
52
68
  program.command("mcp-serve-learn").description("Start the learn MCP server (used internally by npx)").argument("<docsDir>", "path to docs directory").action(async (docsDir) => {
53
- const { mcpServeLearnCommand } = await import("./mcp-serve-learn-OKVC5WV3.js");
69
+ const { mcpServeLearnCommand } = await import("./mcp-serve-learn-36ZQQQTF.js");
54
70
  await mcpServeLearnCommand(docsDir);
55
71
  });
56
72
  program.command("permission").description("Manage Claude Code permission rules for Coding Friend").option("--all", "Apply all recommended permissions without prompts").option("--user", "Save to user-level settings (~/.claude/settings.json)").option(
57
73
  "--project",
58
74
  "Save to project-level settings (.claude/settings.local.json)"
59
75
  ).action(async (opts) => {
60
- const { permissionCommand } = await import("./permission-KLT2TLZY.js");
76
+ const { permissionCommand } = await import("./permission-PB3OMKRB.js");
61
77
  await permissionCommand(opts);
62
78
  });
63
79
  program.command("statusline").description("Setup coding-friend statusline in Claude Code").action(async () => {
64
- const { statuslineCommand } = await import("./statusline-EYTWM5X6.js");
80
+ const { statuslineCommand } = await import("./statusline-3Z4DE24F.js");
65
81
  await statuslineCommand();
66
82
  });
67
83
  program.command("update").description("Update coding-friend plugin, CLI, and statusline").option("--cli", "Update only the CLI (npm package)").option("--plugin", "Update only the Claude Code 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").action(async (opts) => {
68
- const { updateCommand } = await import("./update-G5YXZRMQ.js");
84
+ const { updateCommand } = await import("./update-MO5BT3C5.js");
69
85
  await updateCommand(opts);
70
86
  });
71
87
  program.command("status").description("Show comprehensive Coding Friend status").action(async () => {
72
- const { statusCommand } = await import("./status-YWABL222.js");
88
+ const { statusCommand } = await import("./status-SG5LCXER.js");
73
89
  await statusCommand();
74
90
  });
75
91
  program.command("clean").description("Clean files generated by Coding Friend in docs/").action(async () => {
76
- const { cleanCommand } = await import("./clean-PAYOM4FV.js");
92
+ const { cleanCommand } = await import("./clean-2IRHH4SU.js");
77
93
  await cleanCommand();
78
94
  });
79
95
  var session = program.command("session").description("[beta] Save and load Claude Code sessions across machines");
@@ -88,11 +104,11 @@ session.command("save").description("Save current Claude Code session to sync fo
88
104
  "-s, --session-id <id>",
89
105
  "session UUID to save (default: auto-detect newest)"
90
106
  ).option("-l, --label <label>", "label for this session").action(async (opts) => {
91
- const { sessionSaveCommand } = await import("./session-MVH6IYHM.js");
107
+ const { sessionSaveCommand } = await import("./session-YJJRGQPX.js");
92
108
  await sessionSaveCommand(opts);
93
109
  });
94
110
  session.command("load").description("Load a saved session from sync folder").action(async () => {
95
- const { sessionLoadCommand } = await import("./session-MVH6IYHM.js");
111
+ const { sessionLoadCommand } = await import("./session-YJJRGQPX.js");
96
112
  await sessionLoadCommand();
97
113
  });
98
114
  var memory = program.command("memory").description("AI memory system \u2014 store and search project knowledge");
@@ -112,43 +128,43 @@ Memory subcommands:
112
128
  memory mcp Show MCP server setup instructions`
113
129
  );
114
130
  memory.command("status").description("Show memory system status").action(async () => {
115
- const { memoryStatusCommand } = await import("./memory-R57VRQZL.js");
131
+ const { memoryStatusCommand } = await import("./memory-A7OUTQ54.js");
116
132
  await memoryStatusCommand();
117
133
  });
118
134
  memory.command("search").description("Search memories by query").argument("<query>", "search query").action(async (query) => {
119
- const { memorySearchCommand } = await import("./memory-R57VRQZL.js");
135
+ const { memorySearchCommand } = await import("./memory-A7OUTQ54.js");
120
136
  await memorySearchCommand(query);
121
137
  });
122
138
  memory.command("list").description(
123
139
  "List memories in current project, or all projects with --projects"
124
140
  ).option("--projects", "List all project databases with size and metadata").action(async (opts) => {
125
- const { memoryListCommand } = await import("./memory-R57VRQZL.js");
141
+ const { memoryListCommand } = await import("./memory-A7OUTQ54.js");
126
142
  await memoryListCommand(opts);
127
143
  });
128
144
  memory.command("init").description(
129
145
  "Initialize memory system \u2014 interactive wizard (first time) or config menu"
130
146
  ).action(async () => {
131
- const { memoryInitCommand } = await import("./memory-R57VRQZL.js");
147
+ const { memoryInitCommand } = await import("./memory-A7OUTQ54.js");
132
148
  await memoryInitCommand();
133
149
  });
134
150
  memory.command("config").description("Configure memory system settings").action(async () => {
135
- const { memoryConfigCommand } = await import("./memory-R57VRQZL.js");
151
+ const { memoryConfigCommand } = await import("./memory-A7OUTQ54.js");
136
152
  await memoryConfigCommand();
137
153
  });
138
154
  memory.command("start-daemon").description("Start the memory daemon (Tier 2 \u2014 MiniSearch)").action(async () => {
139
- const { memoryStartDaemonCommand } = await import("./memory-R57VRQZL.js");
155
+ const { memoryStartDaemonCommand } = await import("./memory-A7OUTQ54.js");
140
156
  await memoryStartDaemonCommand();
141
157
  });
142
158
  memory.command("stop-daemon").description("Stop the memory daemon").action(async () => {
143
- const { memoryStopDaemonCommand } = await import("./memory-R57VRQZL.js");
159
+ const { memoryStopDaemonCommand } = await import("./memory-A7OUTQ54.js");
144
160
  await memoryStopDaemonCommand();
145
161
  });
146
162
  memory.command("rebuild").description("Rebuild the daemon search index").action(async () => {
147
- const { memoryRebuildCommand } = await import("./memory-R57VRQZL.js");
163
+ const { memoryRebuildCommand } = await import("./memory-A7OUTQ54.js");
148
164
  await memoryRebuildCommand();
149
165
  });
150
166
  memory.command("mcp").description("Show MCP server setup instructions").action(async () => {
151
- const { memoryMcpCommand } = await import("./memory-R57VRQZL.js");
167
+ const { memoryMcpCommand } = await import("./memory-A7OUTQ54.js");
152
168
  await memoryMcpCommand();
153
169
  });
154
170
  memory.command("rm").description("Remove a project database").option("--project-id <id>", "Project ID to remove").option("--all", "Remove all project databases").option(
@@ -156,17 +172,17 @@ memory.command("rm").description("Remove a project database").option("--project-
156
172
  "Remove orphaned projects (source dir missing or 0 memories)"
157
173
  ).action(
158
174
  async (opts) => {
159
- const { memoryRmCommand } = await import("./memory-R57VRQZL.js");
175
+ const { memoryRmCommand } = await import("./memory-A7OUTQ54.js");
160
176
  await memoryRmCommand(opts);
161
177
  }
162
178
  );
163
179
  var guide = program.command("guide").description("Manage custom skill guides");
164
180
  guide.command("create").description("Create a custom guide for a skill").argument("<skill-name>", "skill to create guide for (e.g. cf-commit)").action(async (skillName) => {
165
- const { guideCreateCommand } = await import("./guide-LQ2BHU5Y.js");
181
+ const { guideCreateCommand } = await import("./guide-ECSMH2AT.js");
166
182
  guideCreateCommand(skillName);
167
183
  });
168
184
  guide.command("list").description("List existing custom guides").action(async () => {
169
- const { guideListCommand } = await import("./guide-LQ2BHU5Y.js");
185
+ const { guideListCommand } = await import("./guide-ECSMH2AT.js");
170
186
  guideListCommand();
171
187
  });
172
188
  var dev = program.command("dev").description("Development mode commands");
@@ -182,28 +198,28 @@ Dev subcommands:
182
198
  dev update [path] Update local dev plugin to latest version`
183
199
  );
184
200
  dev.command("on").description("Switch to local plugin source").argument("[path]", "path to local coding-friend repo (default: cwd)").action(async (path) => {
185
- const { devOnCommand } = await import("./dev-MD5TNAKI.js");
201
+ const { devOnCommand } = await import("./dev-JSYPSXEZ.js");
186
202
  await devOnCommand(path);
187
203
  });
188
204
  dev.command("off").description("Switch back to remote marketplace").action(async () => {
189
- const { devOffCommand } = await import("./dev-MD5TNAKI.js");
205
+ const { devOffCommand } = await import("./dev-JSYPSXEZ.js");
190
206
  await devOffCommand();
191
207
  });
192
208
  dev.command("status").description("Show current dev mode").action(async () => {
193
- const { devStatusCommand } = await import("./dev-MD5TNAKI.js");
209
+ const { devStatusCommand } = await import("./dev-JSYPSXEZ.js");
194
210
  await devStatusCommand();
195
211
  });
196
212
  dev.command("sync").description(
197
213
  "Copy local source files to plugin cache (no version bump needed)"
198
214
  ).action(async () => {
199
- const { devSyncCommand } = await import("./dev-MD5TNAKI.js");
215
+ const { devSyncCommand } = await import("./dev-JSYPSXEZ.js");
200
216
  await devSyncCommand();
201
217
  });
202
218
  dev.command("restart").description("Reinstall local dev plugin (off + on)").argument(
203
219
  "[path]",
204
220
  "path to local coding-friend repo (default: saved path or cwd)"
205
221
  ).action(async (path) => {
206
- const { devRestartCommand } = await import("./dev-MD5TNAKI.js");
222
+ const { devRestartCommand } = await import("./dev-JSYPSXEZ.js");
207
223
  await devRestartCommand(path);
208
224
  });
209
225
  dev.command("update").description(
@@ -212,13 +228,13 @@ dev.command("update").description(
212
228
  "[path]",
213
229
  "path to local coding-friend repo (default: saved path or cwd)"
214
230
  ).action(async (path) => {
215
- const { devUpdateCommand } = await import("./dev-MD5TNAKI.js");
231
+ const { devUpdateCommand } = await import("./dev-JSYPSXEZ.js");
216
232
  await devUpdateCommand(path);
217
233
  });
218
234
  program.hook("postAction", async () => {
219
235
  const topCmd = process.argv[2];
220
236
  if (topCmd === "update") return;
221
- const { checkAndNotifyCliUpdate } = await import("./update-check-BPCQ25AR.js");
237
+ const { checkAndNotifyCliUpdate } = await import("./update-check-I2RSVGFO.js");
222
238
  checkAndNotifyCliUpdate(pkg.version);
223
239
  });
224
240
  await program.parseAsync();
@@ -2,16 +2,16 @@ import {
2
2
  ensureMemoryBuilt,
3
3
  isMemoryInitialized,
4
4
  memoryInitWizard
5
- } from "./chunk-ASNR6LFD.js";
6
- import "./chunk-UXIWEBI2.js";
5
+ } from "./chunk-GHR3TNL6.js";
6
+ import "./chunk-PQUACN4U.js";
7
7
  import {
8
8
  isLearnMcpRegistered,
9
9
  registerLearnMcp
10
- } from "./chunk-WSUYLIYX.js";
10
+ } from "./chunk-TEC25H6C.js";
11
11
  import {
12
12
  memoryConfigMenu
13
- } from "./chunk-HA7E7QZ4.js";
14
- import "./chunk-5Z5TZUHZ.js";
13
+ } from "./chunk-7QFJODWB.js";
14
+ import "./chunk-DUKBBMVM.js";
15
15
  import {
16
16
  getLibPath
17
17
  } from "./chunk-RZRT7NGT.js";
@@ -25,14 +25,14 @@ import {
25
25
  saveStatuslineConfig,
26
26
  selectStatuslineComponents,
27
27
  writeStatuslineSettings
28
- } from "./chunk-UCYGDDFS.js";
28
+ } from "./chunk-7SMP5CZ4.js";
29
29
  import {
30
30
  DEFAULT_CONFIG
31
31
  } from "./chunk-57EGAXYI.js";
32
32
  import {
33
33
  ensureShellCompletion,
34
34
  hasShellCompletion
35
- } from "./chunk-RLUNNJWJ.js";
35
+ } from "./chunk-667NMPN4.js";
36
36
  import {
37
37
  BACK,
38
38
  applyDocsDirChange,
@@ -43,19 +43,11 @@ import {
43
43
  getScopeLabel,
44
44
  injectBackChoice,
45
45
  showConfigHint
46
- } from "./chunk-TAPL6NF3.js";
46
+ } from "./chunk-EFRPDFO7.js";
47
47
  import {
48
48
  commandExists,
49
49
  run
50
50
  } from "./chunk-EVGXUDX4.js";
51
- import {
52
- claudeLocalSettingsPath,
53
- claudeProjectSettingsPath,
54
- claudeSettingsPath,
55
- globalConfigPath,
56
- localConfigPath,
57
- resolvePath
58
- } from "./chunk-TWKNGPBO.js";
59
51
  import {
60
52
  log,
61
53
  printBanner
@@ -68,12 +60,20 @@ import {
68
60
  getExistingRules,
69
61
  getMissingRules,
70
62
  logPluginScriptWarning
71
- } from "./chunk-O27FVQFU.js";
63
+ } from "./chunk-O5ZKLFSL.js";
72
64
  import {
73
65
  mergeJson,
74
66
  readJson,
75
67
  writeJson
76
68
  } from "./chunk-5UVDWG5L.js";
69
+ import {
70
+ claudeLocalSettingsPath,
71
+ claudeProjectSettingsPath,
72
+ claudeSettingsPath,
73
+ globalConfigPath,
74
+ localConfigPath,
75
+ resolvePath
76
+ } from "./chunk-X2H7JJMR.js";
77
77
 
78
78
  // src/commands/init.ts
79
79
  import { checkbox, confirm, input, select } from "@inquirer/prompts";
@@ -696,7 +696,7 @@ async function stepAutoApprove(globalCfg, localCfg) {
696
696
  mergeJson(targetPath, { autoApprove: autoApproveChoice });
697
697
  log.success(`Saved to ${targetPath}`);
698
698
  if (autoApproveChoice) {
699
- const { runDangerousRulesAudit } = await import("./permissions-LYADLYYK.js");
699
+ const { runDangerousRulesAudit } = await import("./permissions-J46VP6US.js");
700
700
  await runDangerousRulesAudit(
701
701
  [
702
702
  claudeProjectSettingsPath(),
@@ -917,7 +917,7 @@ async function initMenu(gitAvailable) {
917
917
  log.success(`Saved to ${targetPath}`);
918
918
  }
919
919
  if (autoApproveChoice) {
920
- const { runDangerousRulesAudit } = await import("./permissions-LYADLYYK.js");
920
+ const { runDangerousRulesAudit } = await import("./permissions-J46VP6US.js");
921
921
  await runDangerousRulesAudit(
922
922
  [
923
923
  claudeProjectSettingsPath(),
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  getLatestVersion,
3
3
  semverCompare
4
- } from "./chunk-UIPLDRGI.js";
4
+ } from "./chunk-KIKN5HEH.js";
5
5
  import {
6
6
  getInstalledVersion
7
- } from "./chunk-UCYGDDFS.js";
7
+ } from "./chunk-7SMP5CZ4.js";
8
8
  import "./chunk-57EGAXYI.js";
9
9
  import {
10
10
  ensureShellCompletion
11
- } from "./chunk-RLUNNJWJ.js";
11
+ } from "./chunk-667NMPN4.js";
12
12
  import {
13
13
  enableMarketplaceAutoUpdate,
14
14
  isMarketplaceRegistered,
15
15
  isPluginDisabled
16
- } from "./chunk-R6HDMRYL.js";
16
+ } from "./chunk-GZT3YPAP.js";
17
17
  import {
18
18
  resolveScope
19
- } from "./chunk-TAPL6NF3.js";
19
+ } from "./chunk-EFRPDFO7.js";
20
20
  import {
21
21
  commandExists,
22
22
  run
23
23
  } from "./chunk-EVGXUDX4.js";
24
- import {
25
- devStatePath
26
- } from "./chunk-TWKNGPBO.js";
27
24
  import {
28
25
  log,
29
26
  printBanner
30
27
  } from "./chunk-NREZK463.js";
31
28
  import "./chunk-5UVDWG5L.js";
29
+ import {
30
+ devStatePath
31
+ } from "./chunk-X2H7JJMR.js";
32
32
 
33
33
  // src/commands/install.ts
34
34
  import { existsSync } from "fs";