mcp-filter 0.5.0 → 1.0.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 (63) hide show
  1. package/CHANGELOG.md +41 -3
  2. package/README.md +316 -235
  3. package/dist/cli.d.ts.map +1 -1
  4. package/dist/cli.js +34 -0
  5. package/dist/cli.js.map +1 -1
  6. package/dist/core/config-loader.d.ts +22 -0
  7. package/dist/core/config-loader.d.ts.map +1 -0
  8. package/dist/core/config-loader.js +308 -0
  9. package/dist/core/config-loader.js.map +1 -0
  10. package/dist/core/config-schema.d.ts +1363 -0
  11. package/dist/core/config-schema.d.ts.map +1 -0
  12. package/dist/core/config-schema.js +139 -0
  13. package/dist/core/config-schema.js.map +1 -0
  14. package/dist/core/server-manager.d.ts +51 -0
  15. package/dist/core/server-manager.d.ts.map +1 -0
  16. package/dist/core/server-manager.js +149 -0
  17. package/dist/core/server-manager.js.map +1 -0
  18. package/dist/features/discovery/config-init.d.ts +37 -0
  19. package/dist/features/discovery/config-init.d.ts.map +1 -0
  20. package/dist/features/discovery/config-init.js +95 -0
  21. package/dist/features/discovery/config-init.js.map +1 -0
  22. package/dist/features/discovery/discovery-handler.d.ts +128 -0
  23. package/dist/features/discovery/discovery-handler.d.ts.map +1 -0
  24. package/dist/features/discovery/discovery-handler.js +629 -0
  25. package/dist/features/discovery/discovery-handler.js.map +1 -0
  26. package/dist/features/discovery/initialization.d.ts +126 -0
  27. package/dist/features/discovery/initialization.d.ts.map +1 -0
  28. package/dist/features/discovery/initialization.js +314 -0
  29. package/dist/features/discovery/initialization.js.map +1 -0
  30. package/dist/features/discovery/search-phase.d.ts +19 -0
  31. package/dist/features/discovery/search-phase.d.ts.map +1 -0
  32. package/dist/features/discovery/search-phase.js +76 -0
  33. package/dist/features/discovery/search-phase.js.map +1 -0
  34. package/dist/features/discovery/simple-rag.d.ts +30 -0
  35. package/dist/features/discovery/simple-rag.d.ts.map +1 -0
  36. package/dist/features/discovery/simple-rag.js +85 -0
  37. package/dist/features/discovery/simple-rag.js.map +1 -0
  38. package/dist/features/filtering/filter.d.ts +18 -0
  39. package/dist/features/filtering/filter.d.ts.map +1 -0
  40. package/dist/features/filtering/filter.js +43 -0
  41. package/dist/features/filtering/filter.js.map +1 -0
  42. package/dist/features/overrides/override-manager.d.ts +25 -0
  43. package/dist/features/overrides/override-manager.d.ts.map +1 -0
  44. package/dist/features/overrides/override-manager.js +67 -0
  45. package/dist/features/overrides/override-manager.js.map +1 -0
  46. package/dist/index.js +81 -60
  47. package/dist/index.js.map +1 -1
  48. package/dist/logger.d.ts +2 -0
  49. package/dist/logger.d.ts.map +1 -0
  50. package/dist/logger.js +6 -0
  51. package/dist/logger.js.map +1 -0
  52. package/dist/proxy.d.ts +21 -0
  53. package/dist/proxy.d.ts.map +1 -1
  54. package/dist/proxy.js +250 -41
  55. package/dist/proxy.js.map +1 -1
  56. package/dist/transport.d.ts.map +1 -1
  57. package/dist/transport.js +18 -1
  58. package/dist/transport.js.map +1 -1
  59. package/dist/utils/debug-logger.d.ts +2 -0
  60. package/dist/utils/debug-logger.d.ts.map +1 -0
  61. package/dist/utils/debug-logger.js +33 -0
  62. package/dist/utils/debug-logger.js.map +1 -0
  63. package/package.json +19 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,44 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.0] - 2026-03-14
9
+
10
+ ### Added
11
+ - `--help` and `--version` CLI flags
12
+ - CI workflow (GitHub Actions, Node 20/22/24)
13
+ - CONTRIBUTING.md for OSS contributors
14
+ - Test for "all items filtered out" empty-list edge case
15
+ - Tests for `--help`, `--version`, and invalid CLI args
16
+
17
+ ### Changed
18
+ - **Stable release**: Public API is now considered stable
19
+ - Version is now read from package.json at runtime (no longer hardcoded)
20
+ - List operations (`tools/list`, `resources/list`, `prompts/list`, `resources/templates/list`) now forward AbortSignal for cancellation support
21
+ - `fetchAllPages()` accepts AbortSignal and checks it between pages
22
+ - `resources/read` now forwards progress notifications (like `tools/call` and `prompts/get`)
23
+ - Reverse-direction handlers (`sampling/createMessage`, `roots/list`, `elicitation/create`) now forward cancellation signals
24
+
25
+ ### Fixed
26
+ - Cancellation not propagated during paginated list operations
27
+ - Missing signal forwarding in reverse-direction request handlers
28
+
29
+ ## [0.6.0] - 2025-12-02
30
+
31
+ ### Added
32
+ - **Consola Logging**: Modern CLI output with colors, icons, and semantic log levels
33
+ - `info` for startup information
34
+ - `success` for connection and ready states
35
+ - `error` for errors with actionable messages
36
+ - `fatal` for unrecoverable errors
37
+ - **Argument Validation**: Detects common JSON configuration mistakes
38
+ - Catches combined flag+pattern in single string (e.g., `"--include pattern"`)
39
+ - Catches multiple flags in single string (e.g., `"--include pattern --"`)
40
+ - LLM-friendly error messages with WRONG/CORRECT examples
41
+
42
+ ### Changed
43
+ - **README restructured** for better onboarding (490 → 189 lines)
44
+ - Replaced all `console.*` calls with `consola` logger
45
+
8
46
  ## [0.5.0] - 2025-11-22
9
47
 
10
48
  ### Added
@@ -50,7 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
50
88
  - ADR-003 documenting subprocess delegation pattern
51
89
  - Claude Code configuration with custom slash commands
52
90
 
53
- ## [0.3.0] - 2025-01-XX
91
+ ## [0.3.0] - 2025-09-15
54
92
 
55
93
  ### Added
56
94
  - Rsync-style pattern evaluation (first match wins)
@@ -59,13 +97,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
59
97
  ### Changed
60
98
  - Pattern matching now evaluates in order with first-match-wins semantics
61
99
 
62
- ## [0.2.0] - 2025-01-XX
100
+ ## [0.2.0] - 2025-09-01
63
101
 
64
102
  ### Added
65
103
  - Comprehensive documentation updates
66
104
  - Testing infrastructure with Vitest
67
105
 
68
- ## [0.1.0] - 2025-01-XX
106
+ ## [0.1.0] - 2025-08-15
69
107
 
70
108
  ### Added
71
109
  - Initial release