coding-friend-cli 1.21.1 → 1.23.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/dist/{chunk-PDVSGGH6.js → chunk-2ETE7NEL.js} +32 -28
  2. package/dist/{chunk-PYTEAC6K.js → chunk-DMJCO6LJ.js} +1 -1
  3. package/dist/{chunk-3KXYEC2T.js → chunk-LTHJTWJ6.js} +82 -3
  4. package/dist/chunk-NREZK463.js +41 -0
  5. package/dist/{chunk-BIX7AJU3.js → chunk-O4CNZB5H.js} +1 -1
  6. package/dist/{memory-27ZSRPM7.js → chunk-WCSNAEOF.js} +155 -73
  7. package/dist/{config-5I3XJEEL.js → config-5DKOGWWJ.js} +9 -14
  8. package/dist/{dev-4A5CTBGK.js → dev-S7S3SFKI.js} +19 -18
  9. package/dist/{disable-FNMRPUO7.js → disable-V7OLXEUH.js} +2 -2
  10. package/dist/{enable-HUKTMK5U.js → enable-OLHRKZCV.js} +2 -2
  11. package/dist/{host-V5O3PDCF.js → host-RR6FT7AX.js} +7 -6
  12. package/dist/index.js +31 -31
  13. package/dist/{init-3XMC6YJI.js → init-6B2OHKFX.js} +22 -40
  14. package/dist/{install-5ZBHH2OM.js → install-BURZ5QEM.js} +7 -6
  15. package/dist/mcp-CB4PUUES.js +156 -0
  16. package/dist/memory-TJZNGTOA.js +37 -0
  17. package/dist/{permission-BEC6YZQA.js → permission-QIJLEMJ6.js} +4 -3
  18. package/dist/postinstall.js +2 -2
  19. package/dist/{session-ZDJ2APGL.js → session-IECOM63R.js} +1 -1
  20. package/dist/{status-F6WASK7N.js → status-ZZRJ3VGF.js} +7 -7
  21. package/dist/{statusline-AISH77XP.js → statusline-YL44XYGF.js} +4 -3
  22. package/dist/{uninstall-RJ6SBB76.js → uninstall-OXWRPWYF.js} +7 -6
  23. package/dist/{update-536C3YG7.js → update-6N7EASFT.js} +4 -4
  24. package/dist/{update-check-L5TNWT2J.js → update-check-XSETLRVR.js} +1 -1
  25. package/lib/cf-memory/README.md +4 -1
  26. package/lib/cf-memory/package.json +0 -1
  27. package/lib/cf-memory/src/__tests__/daemon-client.test.ts +146 -0
  28. package/lib/cf-memory/src/daemon/process.ts +7 -0
  29. package/lib/cf-memory/src/index.ts +21 -2
  30. package/lib/cf-memory/src/lib/daemon-client.ts +54 -3
  31. package/lib/cf-memory/src/lib/tier.ts +27 -3
  32. package/lib/learn-host/package.json +0 -1
  33. package/lib/learn-mcp/package.json +0 -1
  34. package/lib/learn-mcp/src/index.ts +8 -1
  35. package/package.json +1 -1
  36. package/dist/chunk-W5CD7WTX.js +0 -15
  37. package/dist/mcp-U34LFD34.js +0 -106
  38. package/lib/cf-memory/CHANGELOG.md +0 -42
  39. package/lib/learn-host/CHANGELOG.md +0 -35
  40. package/lib/learn-mcp/CHANGELOG.md +0 -16
@@ -1,42 +0,0 @@
1
- # CF Memory Changelog
2
-
3
- ## v0.2.1 (2026-03-22)
4
-
5
- - Fix flaky tier detection tests — mock `isDaemonRunning` to prevent local daemon from affecting test results [#d786f08](https://github.com/dinhanhthi/coding-friend/commit/d786f08)
6
-
7
- ## v0.2.0 (2026-03-21)
8
-
9
- - Add `index_only` option to `memory_store` MCP tool — skip file writing when file already exists on disk, enabling clean separation between file creation and indexing [#7f56711](https://github.com/dinhanhthi/coding-friend/commit/7f56711)
10
-
11
- ## v0.1.3 (2026-03-19)
12
-
13
- - Use path-based project IDs instead of SHA256 hashes for human-readable project directories (e.g. `-Users-thi-git-foo` instead of `a1b2c3d4e5f6`) [#9c4cac0](https://github.com/dinhanhthi/coding-friend/commit/9c4cac0)
14
- - Rename `cf memory start`/`stop` to `cf memory start-daemon`/`stop-daemon` in documentation [#acbe789](https://github.com/dinhanhthi/coding-friend/commit/acbe789)
15
-
16
- ## v0.1.1 (2026-03-17)
17
-
18
- - Fix `today()` to capture full timestamp (`YYYY-MM-DD HH:MM`) instead of date-only for memory created/updated fields [#31e0824](https://github.com/dinhanhthi/coding-friend/commit/31e0824)
19
-
20
- ## v0.1.0 (2026-03-17)
21
-
22
- - Auto-start daemon from MCP server for file watching — daemon spawns automatically when Tier 1 or 2 is detected, no manual `cf memory start` needed [#2211b84](https://github.com/dinhanhthi/coding-friend/commit/2211b84)
23
- - Add `spawnDaemon()` function to `daemon/process.ts` with dynamic path resolution via `import.meta.url` [#2211b84](https://github.com/dinhanhthi/coding-friend/commit/2211b84)
24
-
25
- ## v0.0.1 (2026-03-16)
26
-
27
- - Add persistent memory system — MCP server with 6 tools (`memory_store`, `memory_search`, `memory_retrieve`, `memory_list`, `memory_update`, `memory_delete`) + 2 resources (`memory://index`, `memory://stats`)
28
- - Add 3-tier graceful degradation: SQLite + hybrid search (Tier 1) → MiniSearch daemon + BM25/fuzzy (Tier 2) → Markdown file I/O (Tier 3)
29
- - Add SQLite backend with FTS5 + sqlite-vec + RRF fusion for hybrid keyword/semantic search
30
- - Add MiniSearch daemon (Hono + Unix Domain Socket) with file watcher and idle timeout
31
- - Add lazy dependency installer for heavy deps (`better-sqlite3`, `sqlite-vec`, `@huggingface/transformers`)
32
- - Add Ollama embedding support with automatic fallback to Transformers.js
33
- - Add `cf memory` CLI commands: `status`, `search`, `list`, `start`, `stop`, `rebuild`, `init`
34
- - Add PreCompact auto-capture hook and smart capture in skills (`cf-fix`, `cf-sys-debug`, `cf-review`, `cf-ask`)
35
- - Add deduplication detection and temporal decay scoring
36
- - Add frontmatter migration script for existing `docs/memory/` files
37
- - Migrate `/cf-remember` and Frontmatter Recall to use `memory_search` MCP tool
38
- - Add `cf memory rm` and `cf memory ls` commands for project database management [#1da99b1](https://github.com/dinhanhthi/coding-friend/commit/1da99b1)
39
- - Add dynamic embedding dimensions support and config wiring [#b7f6eba](https://github.com/dinhanhthi/coding-friend/commit/b7f6eba)
40
- - Fix correct embedding model name in v1→v2 migration [#04d3c19](https://github.com/dinhanhthi/coding-friend/commit/04d3c19)
41
- - Fix empty project directories created on SQLite backend failure [#4ab7570](https://github.com/dinhanhthi/coding-friend/commit/4ab7570)
42
- - Fix unit tests creating orphaned SQLite databases [#ec0bfee](https://github.com/dinhanhthi/coding-friend/commit/ec0bfee)
@@ -1,35 +0,0 @@
1
- # Changelog (Learn Host)
2
-
3
- ## v0.3.0 (2026-03-21)
4
-
5
- - Improve date display — show only updated date when different from created date, hide if same [#1fc2e65](https://github.com/dinhanhthi/coding-friend/commit/1fc2e65)
6
- - Increase sidebar font size for better readability [#1fc2e65](https://github.com/dinhanhthi/coding-friend/commit/1fc2e65)
7
-
8
- ## v0.2.1 (2026-03-05)
9
-
10
- - Fix TOC heading text stripping markdown links from slug generation ([#9a8fb5c](https://github.com/dinhanhthi/coding-friend/commit/9a8fb5c))
11
- - Decorate inline codes for TOC ([#573d7b0](https://github.com/dinhanhthi/coding-friend/commit/573d7b0))
12
-
13
- ## v0.2.0 (2026-03-03)
14
-
15
- - Add dedicated tag pages for filtering docs by tag ([#06f5847](https://github.com/dinhanhthi/coding-friend/commit/06f5847))
16
- - Style improvements across website and learn-host ([#0029522](https://github.com/dinhanhthi/coding-friend/commit/0029522))
17
-
18
- ## v0.1.0 (2026-03-03)
19
-
20
- - Add copy button to code blocks ([#ac47c74](https://github.com/dinhanhthi/coding-friend/commit/ac47c74))
21
- - Redesign home page with elegant layout and updated color scheme ([#2d53836](https://github.com/dinhanhthi/coding-friend/commit/2d53836))
22
- - Improve TableOfContents heading styling with border ([#2267508](https://github.com/dinhanhthi/coding-friend/commit/2267508))
23
-
24
- ## v0.0.2 (2026-03-01)
25
-
26
- - Update header styling for consistency with ecosystem redesign
27
- - Code formatting and style improvements
28
-
29
- ## v0.0.1
30
-
31
- - Next.js app for hosting learning docs at `localhost:3333`
32
- - ISR (Incremental Static Regeneration) for auto-updating docs without rebuild
33
- - Full-text search via Pagefind
34
- - Modern UI with command palette, dark theme, and responsive layout
35
- - Markdown rendering with syntax highlighting and GFM support
@@ -1,16 +0,0 @@
1
- # Changelog (Learn MCP)
2
-
3
- ## v0.0.3 (2026-03-03)
4
-
5
- - Add Claude Desktop config documentation for compiled output ([#d37a6b9](https://github.com/dinhanhthi/coding-friend/commit/d37a6b9))
6
-
7
- ## v0.0.2 (2026-03-01)
8
-
9
- - Add support for coding-friend-cli integration
10
- - Add watch mode for development (`npm run dev`)
11
-
12
- ## v0.0.1
13
-
14
- - MCP server for LLM integration with learning docs
15
- - Tools: list categories, list documents, read document content
16
- - Works with any MCP-compatible client (ChatGPT, Claude Desktop, etc.)