coding-friend-cli 1.36.0 → 1.36.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.
Files changed (29) hide show
  1. package/dist/{chunk-DUKBBMVM.js → chunk-CDTQL4FI.js} +9 -5
  2. package/dist/{chunk-KIKN5HEH.js → chunk-EAJJVXAE.js} +9 -5
  3. package/dist/{chunk-PQUACN4U.js → chunk-MAGBNYZK.js} +4 -4
  4. package/dist/{chunk-GHR3TNL6.js → chunk-TPGAW67X.js} +35 -15
  5. package/dist/{chunk-7QFJODWB.js → chunk-VV2U7NDN.js} +5 -5
  6. package/dist/{clean-2IRHH4SU.js → clean-MXIMMXDH.js} +5 -5
  7. package/dist/{config-36YY3XLM.js → config-U3UYCC7M.js} +101 -13
  8. package/dist/{disable-35RSJICU.js → disable-HL5OEURT.js} +3 -3
  9. package/dist/{enable-RXWDQRIU.js → enable-CZIOCKKJ.js} +3 -3
  10. package/dist/{host-BYJEZN6T.js → host-PEKK7OOC.js} +5 -5
  11. package/dist/index.js +37 -37
  12. package/dist/{init-QXCMAPXT.js → init-GJ5II4WB.js} +121 -22
  13. package/dist/{install-NALHBTGG.js → install-VFMO45SP.js} +6 -6
  14. package/dist/{learn-PNG2TI2E.js → learn-QQ7XEHDY.js} +5 -5
  15. package/dist/{mcp-6GRHKIQW.js → mcp-372LGOZJ.js} +16 -16
  16. package/dist/{memory-A7OUTQ54.js → memory-XINRMEWB.js} +10 -8
  17. package/dist/{permission-PB3OMKRB.js → permission-I3OFJUYA.js} +11 -11
  18. package/dist/{session-YJJRGQPX.js → session-2R7WWNML.js} +4 -4
  19. package/dist/{status-SG5LCXER.js → status-Z4V7IYOB.js} +12 -12
  20. package/dist/{uninstall-JLSEHXS5.js → uninstall-ASLHT3MH.js} +5 -5
  21. package/dist/{update-MO5BT3C5.js → update-MY2DRJLV.js} +3 -3
  22. package/package.json +1 -1
  23. package/dist/{chunk-EFRPDFO7.js → chunk-IKLMHJH6.js} +3 -3
  24. package/dist/{chunk-TEC25H6C.js → chunk-YIXAQ4R2.js} +3 -3
  25. package/dist/{dev-JSYPSXEZ.js → dev-GKD52XE6.js} +4 -4
  26. package/dist/{guide-ECSMH2AT.js → guide-CO2V4ZLZ.js} +3 -3
  27. package/dist/{mcp-serve-learn-36ZQQQTF.js → mcp-serve-learn-OF3ZJUJC.js} +3 -3
  28. package/dist/{statusline-3Z4DE24F.js → statusline-WDTN3OI4.js} +2 -2
  29. package/dist/{update-check-I2RSVGFO.js → update-check-25SCLHZO.js} +3 -3
@@ -1,19 +1,22 @@
1
1
  import {
2
- checkLearnMcpHealth,
3
- checkMemoryMcpHealth
4
- } from "./chunk-PQUACN4U.js";
2
+ getExistingRules
3
+ } from "./chunk-O5ZKLFSL.js";
5
4
  import {
6
5
  listMdFilesRecursive
7
6
  } from "./chunk-2DTXVMPQ.js";
8
7
  import {
9
8
  isLearnMcpRegistered
10
- } from "./chunk-TEC25H6C.js";
11
- import "./chunk-7QFJODWB.js";
9
+ } from "./chunk-YIXAQ4R2.js";
10
+ import {
11
+ checkLearnMcpHealth,
12
+ checkMemoryMcpHealth
13
+ } from "./chunk-MAGBNYZK.js";
14
+ import "./chunk-VV2U7NDN.js";
12
15
  import {
13
16
  resolveLearnDir,
14
17
  resolveMemoryDir,
15
18
  sanitizeRawConfig
16
- } from "./chunk-DUKBBMVM.js";
19
+ } from "./chunk-CDTQL4FI.js";
17
20
  import {
18
21
  getLibPath
19
22
  } from "./chunk-RZRT7NGT.js";
@@ -22,7 +25,7 @@ import {
22
25
  getLatestCliVersion,
23
26
  getLatestVersion,
24
27
  semverCompare
25
- } from "./chunk-KIKN5HEH.js";
28
+ } from "./chunk-EAJJVXAE.js";
26
29
  import {
27
30
  getInstalledVersion
28
31
  } from "./chunk-7SMP5CZ4.js";
@@ -32,12 +35,8 @@ import {
32
35
  detectPluginScope,
33
36
  isPluginDisabled
34
37
  } from "./chunk-GZT3YPAP.js";
35
- import "./chunk-EFRPDFO7.js";
38
+ import "./chunk-IKLMHJH6.js";
36
39
  import "./chunk-EVGXUDX4.js";
37
- import "./chunk-NREZK463.js";
38
- import {
39
- getExistingRules
40
- } from "./chunk-O5ZKLFSL.js";
41
40
  import {
42
41
  readJson
43
42
  } from "./chunk-5UVDWG5L.js";
@@ -47,6 +46,7 @@ import {
47
46
  globalConfigPath,
48
47
  localConfigPath
49
48
  } from "./chunk-X2H7JJMR.js";
49
+ import "./chunk-NREZK463.js";
50
50
 
51
51
  // src/commands/status.ts
52
52
  import { existsSync, readdirSync } from "fs";
@@ -8,15 +8,11 @@ import {
8
8
  } from "./chunk-GZT3YPAP.js";
9
9
  import {
10
10
  resolveScope
11
- } from "./chunk-EFRPDFO7.js";
11
+ } from "./chunk-IKLMHJH6.js";
12
12
  import {
13
13
  commandExists,
14
14
  run
15
15
  } from "./chunk-EVGXUDX4.js";
16
- import {
17
- log,
18
- printBanner
19
- } from "./chunk-NREZK463.js";
20
16
  import {
21
17
  readJson,
22
18
  writeJson
@@ -29,6 +25,10 @@ import {
29
25
  marketplaceClonePath,
30
26
  memoryDepsDir
31
27
  } from "./chunk-X2H7JJMR.js";
28
+ import {
29
+ log,
30
+ printBanner
31
+ } from "./chunk-NREZK463.js";
32
32
 
33
33
  // src/commands/uninstall.ts
34
34
  import { existsSync, rmSync } from "fs";
@@ -4,15 +4,15 @@ import {
4
4
  getLatestVersion,
5
5
  semverCompare,
6
6
  updateCommand
7
- } from "./chunk-KIKN5HEH.js";
7
+ } from "./chunk-EAJJVXAE.js";
8
8
  import "./chunk-7SMP5CZ4.js";
9
9
  import "./chunk-57EGAXYI.js";
10
10
  import "./chunk-667NMPN4.js";
11
- import "./chunk-EFRPDFO7.js";
11
+ import "./chunk-IKLMHJH6.js";
12
12
  import "./chunk-EVGXUDX4.js";
13
- import "./chunk-NREZK463.js";
14
13
  import "./chunk-5UVDWG5L.js";
15
14
  import "./chunk-X2H7JJMR.js";
15
+ import "./chunk-NREZK463.js";
16
16
  export {
17
17
  getCliVersion,
18
18
  getLatestCliVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coding-friend-cli",
3
- "version": "1.36.0",
3
+ "version": "1.36.2",
4
4
  "description": "CLI for coding-friend — host learning docs, setup MCP server, initialize projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,9 +1,6 @@
1
1
  import {
2
2
  run
3
3
  } from "./chunk-EVGXUDX4.js";
4
- import {
5
- log
6
- } from "./chunk-NREZK463.js";
7
4
  import {
8
5
  readJson
9
6
  } from "./chunk-5UVDWG5L.js";
@@ -11,6 +8,9 @@ import {
11
8
  globalConfigPath,
12
9
  localConfigPath
13
10
  } from "./chunk-X2H7JJMR.js";
11
+ import {
12
+ log
13
+ } from "./chunk-NREZK463.js";
14
14
 
15
15
  // src/lib/prompt-utils.ts
16
16
  import { select, Separator } from "@inquirer/prompts";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  runWithStderr
3
3
  } from "./chunk-EVGXUDX4.js";
4
- import {
5
- log
6
- } from "./chunk-NREZK463.js";
7
4
  import {
8
5
  resolvePath
9
6
  } from "./chunk-X2H7JJMR.js";
7
+ import {
8
+ log
9
+ } from "./chunk-NREZK463.js";
10
10
 
11
11
  // src/lib/learn-prompts.ts
12
12
  var MCP_NAME = "coding-friend-learn";
@@ -14,10 +14,6 @@ import {
14
14
  run,
15
15
  runWithStderr
16
16
  } from "./chunk-EVGXUDX4.js";
17
- import {
18
- log,
19
- printBanner
20
- } from "./chunk-NREZK463.js";
21
17
  import {
22
18
  readJson,
23
19
  writeJson
@@ -27,6 +23,10 @@ import {
27
23
  knownMarketplacesPath,
28
24
  pluginCachePath
29
25
  } from "./chunk-X2H7JJMR.js";
26
+ import {
27
+ log,
28
+ printBanner
29
+ } from "./chunk-NREZK463.js";
30
30
 
31
31
  // src/commands/dev.ts
32
32
  import {
@@ -1,6 +1,3 @@
1
- import {
2
- log
3
- } from "./chunk-NREZK463.js";
4
1
  import {
5
2
  readJson
6
3
  } from "./chunk-5UVDWG5L.js";
@@ -8,6 +5,9 @@ import {
8
5
  devStatePath,
9
6
  pluginCachePath
10
7
  } from "./chunk-X2H7JJMR.js";
8
+ import {
9
+ log
10
+ } from "./chunk-NREZK463.js";
11
11
 
12
12
  // src/commands/guide.ts
13
13
  import chalk from "chalk";
@@ -4,15 +4,15 @@ import {
4
4
  import {
5
5
  runWithStderr
6
6
  } from "./chunk-EVGXUDX4.js";
7
- import {
8
- log
9
- } from "./chunk-NREZK463.js";
10
7
  import {
11
8
  readJson
12
9
  } from "./chunk-5UVDWG5L.js";
13
10
  import {
14
11
  globalConfigPath
15
12
  } from "./chunk-X2H7JJMR.js";
13
+ import {
14
+ log
15
+ } from "./chunk-NREZK463.js";
16
16
 
17
17
  // src/commands/mcp-serve-learn.ts
18
18
  import { spawn } from "child_process";
@@ -15,12 +15,12 @@ import {
15
15
  import {
16
16
  commandExists
17
17
  } from "./chunk-EVGXUDX4.js";
18
+ import "./chunk-5UVDWG5L.js";
19
+ import "./chunk-X2H7JJMR.js";
18
20
  import {
19
21
  log,
20
22
  printBanner
21
23
  } from "./chunk-NREZK463.js";
22
- import "./chunk-5UVDWG5L.js";
23
- import "./chunk-X2H7JJMR.js";
24
24
 
25
25
  // src/commands/statusline.ts
26
26
  import { confirm } from "@inquirer/prompts";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  run
3
3
  } from "./chunk-EVGXUDX4.js";
4
- import {
5
- log
6
- } from "./chunk-NREZK463.js";
7
4
  import {
8
5
  globalConfigDir
9
6
  } from "./chunk-X2H7JJMR.js";
7
+ import {
8
+ log
9
+ } from "./chunk-NREZK463.js";
10
10
 
11
11
  // src/lib/update-check.ts
12
12
  import { existsSync, readFileSync, writeFileSync, mkdirSync } from "fs";