@loop_ouroboros/mcp-hub-lite 1.2.2 → 1.2.4

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 (44) hide show
  1. package/CHANGELOG.md +552 -380
  2. package/dist/client/assets/{HomeView-V1fKvWQ8.js → HomeView-BnO4yIT9.js} +1 -1
  3. package/dist/client/assets/{ResourceDetailView-DHGHssrh.js → ResourceDetailView-BGBtmsyc.js} +1 -1
  4. package/dist/client/assets/{ResourcesView-B1bvkmQD.js → ResourcesView-B5Xg0ynh.js} +1 -1
  5. package/dist/client/assets/{ServerDashboard-CZCByd7y.js → ServerDashboard-DYAVrrUk.js} +1 -1
  6. package/dist/client/assets/{ServerDetail-CI5UD8gj.js → ServerDetail-q94ZFfjL.js} +1 -1
  7. package/dist/client/assets/ServerListView-C7kcd4GC.js +36 -0
  8. package/dist/client/assets/{ServerListView-B-bPljsO.css → ServerListView-DshgDGSc.css} +1 -1
  9. package/dist/client/assets/{SettingsView-C-ae0-zz.js → SettingsView-BM6P5yrT.js} +1 -1
  10. package/dist/client/assets/{ToolCallDialog-BudOyGvS.js → ToolCallDialog-BoAGxlB5.js} +1 -1
  11. package/dist/client/assets/{ToolsView-CbQkgTAu.js → ToolsView-lqFhr7Bk.js} +1 -1
  12. package/dist/client/assets/{_baseClone-e9R6V78L.js → _baseClone-kbJbcBJT.js} +1 -1
  13. package/dist/client/assets/{el-form-item-Dyx5MiWB.js → el-form-item-iQ0G8e97.js} +1 -1
  14. package/dist/client/assets/{el-input-CL9HPfdW.js → el-input-DkJq57wP.js} +1 -1
  15. package/dist/client/assets/{el-loading-2TW6JdfY.js → el-loading-C3v6a9xV.js} +1 -1
  16. package/dist/client/assets/{el-overlay-B5ZGCmXY.js → el-overlay-Cy5xg31y.js} +1 -1
  17. package/dist/client/assets/{el-radio-group-Cr2ScjjJ.js → el-radio-group-C9QUL5mm.js} +1 -1
  18. package/dist/client/assets/{el-skeleton-item-CdAfEgVR.js → el-skeleton-item-Bbmpc0Xz.js} +1 -1
  19. package/dist/client/assets/{el-switch-DnN1s0Wb.js → el-switch-KpjV93lm.js} +1 -1
  20. package/dist/client/assets/{el-tab-pane-BebZh0XF.js → el-tab-pane-YsYuBcem.js} +1 -1
  21. package/dist/client/assets/{el-table-column-CV2zp3yI.js → el-table-column-fofd_2n-.js} +1 -1
  22. package/dist/client/assets/{index-Ci5n5dA9.js → index-5tzIwwtS.js} +1 -1
  23. package/dist/client/assets/{index-DTZ9o3XO.js → index-MqHvQjDP.js} +2 -2
  24. package/dist/client/assets/{omit-DlmW8Yd6.js → omit-CB4hTeTH.js} +1 -1
  25. package/dist/client/assets/{raf-CeCd08aN.js → raf-MWAHt9ca.js} +1 -1
  26. package/dist/client/index.html +1 -1
  27. package/dist/server/src/cli/commands/install.d.ts +25 -0
  28. package/dist/server/src/cli/commands/install.d.ts.map +1 -0
  29. package/dist/server/src/cli/commands/install.js +274 -0
  30. package/dist/server/src/cli/commands/use-guide.d.ts +11 -0
  31. package/dist/server/src/cli/commands/use-guide.d.ts.map +1 -0
  32. package/dist/server/src/cli/commands/use-guide.js +175 -0
  33. package/dist/server/src/cli/index.d.ts.map +1 -1
  34. package/dist/server/src/cli/index.js +4 -0
  35. package/dist/server/src/cli/server.d.ts +71 -0
  36. package/dist/server/src/cli/server.d.ts.map +1 -1
  37. package/dist/server/src/cli/server.js +138 -0
  38. package/dist/server/src/cli/use-guide.md +156 -0
  39. package/dist/server/src/services/gateway/request-handlers/initialize-handler.d.ts.map +1 -1
  40. package/dist/server/src/services/gateway/request-handlers/initialize-handler.js +12 -5
  41. package/dist/server/src/services/hub-tools.service.d.ts.map +1 -1
  42. package/dist/server/src/services/hub-tools.service.js +4 -0
  43. package/package.json +1 -5
  44. package/dist/client/assets/ServerListView-D8qv-xYg.js +0 -36
package/CHANGELOG.md CHANGED
@@ -1,435 +1,607 @@
1
1
  # Changelog
2
2
 
3
- ## 2026-04-17
3
+ All notable changes to this project will be documented in this file.
4
4
 
5
- - **Version**: Bump version to 1.2.2
6
- - **Config Fix**: Correct servers sorting in config-loader
7
- - **Logger Refactor**: Add STDERR log module for stdio transport
8
- - **Gateway Feature**: Add gatewayDebug logging control
9
- - **Frontend Feature**: Add time unit types and conversion utilities
5
+ ## [1.2.4] - 2026-04-25
10
6
 
11
- ## 2026-04-16
7
+ ### Frontend
12
8
 
13
- - **Frontend Feature**: Add Startup configuration tab to Settings page
14
- - **Startup Fix**: Extract ensureServerInstances() to eliminate DRY violation
15
- - **Connection Refactor**: Split connect() into SRP-compliant private methods
16
- - **Startup Refactor**: Extract startup orchestration logic into dedicated module
9
+ - Shorten long server version display with tooltip for full version
17
10
 
18
- ## 2026-04-15
11
+ ### Hub Tools
19
12
 
20
- - **Resource Fix**: Ensure consistent { contents: [...] } format in resource read API
21
- - **Docs**: Add community acknowledgment for LinuxDo
13
+ - Improve error message when attempting to update gateway server
22
14
 
23
- ## 2026-04-14
15
+ ### Docs
24
16
 
25
- - **Lint Fix**: Remove unnecessary escape character in CLI entry detection
26
- - **Docs**: Format README files for release
27
- - **Version**: Bump version to 1.2.1
28
- - **CLI Fix**: Fix CLI entry detection for Windows/npm symlink environments
29
- - **CLI Refactor**: Fix command count and rename mcpToolUseCommand to toolUseCommand
30
- - **Config Refactor**: Change config loading logs from info to debug level
31
- - **Core Feature**: Add normalizeToolName for cross-format tool name matching
32
- - **CLI Feature**: Add tool-use command for MCP server tool operations
33
- - **Gateway Feature**: Implement per-request transport mode to fix connection errors
17
+ - Add "解决痛点" section to Chinese README
18
+ - Add LinuxDo topic link to Chinese README
34
19
 
35
- ## 2026-04-13
20
+ ---
36
21
 
37
- - **Deps**: Add undici dependency for HTTP transport
38
- - **Frontend Fix**: Prevent runtime error when tool is undefined in groupedTools
39
- - **Version**: Bump version to 1.1.0
40
- - **Core Refactor**: Use composite key serverName-serverIndex instead of serverId
41
- - **Resource Feature**: Implement MCP native resource forwarding
42
- - **Docs**: Update search functionality description in CLAUDE.md
43
- - **Hub Tools Refactor**: Add non-strict mode to selectBestInstance
44
- - **Search Refactor**: Remove complex search module, simplify to string matching
45
- - **Test Refactor**: Remove evaluation tests not compliant with MCP spec
22
+ ## [1.2.3] - 2026-04-20
46
23
 
47
- ## 2026-04-12
24
+ ### CLI
48
25
 
49
- - **Config Refactor**: Move instance selection strategy to template
50
- - **Frontend Refactor**: Improve type declarations and test type safety
51
- - **Frontend Refactor**: Compute instance counts from server.instances directly
52
- - **Gateway Feature**: Restrict call_tool from invoking system tools
53
- - **Docs**: Compress use-guide from 13 to 7 sections
54
- - **Gateway Fix**: Return 400 for missing Accept header
26
+ - Add use-guide command for CLI usage reference
27
+ - Add install command for adding new MCP servers
28
+ - Remove redundant npm scripts
55
29
 
56
- ## 2026-04-10
30
+ ### Gateway
57
31
 
58
- - **Transport Refactor**: Use official SDK StdioClientTransport
59
- - **Stdio Transport Refactor**: Log non-JSON-RPC stdout and unify stderr log level
60
- - **Frontend Fix**: Fix tools and resources not displaying in server detail
61
- - **Frontend Fix**: Add description field to ConfigTemplateForm
62
- - **Tools Fix**: Handle nested toolArgs in updateServerDescription
32
+ - Wrap initialize handler debug logs with gatewayDebug condition
63
33
 
64
- ## 2026-04-09
34
+ ### Docs
65
35
 
66
- - **Security Feature**: Mask sensitive values in config change logs
67
- - **Frontend Fix**: Improve instance status reactivity and management
68
- - **i18n Fix**: Improve noToolsFound message to reflect tool aggregation
69
- - **Frontend Fix**: Add bottom padding to prevent save button cutoff on scroll
70
- - **Gateway Refactor**: Extract version and protocol version to shared utility
71
- - **Config Refactor**: Unify instance ID generation with content hash
36
+ - Reorganize changelog by functional areas
72
37
 
73
- ## 2026-04-08
38
+ ---
74
39
 
75
- - **MCP Status Fix**: Prevent automatic enabled field updates on connect/disconnect
76
- - **Chore**: Update .gitignore to ignore .full-review directory
40
+ ## [1.2.2] - 2026-04-17
77
41
 
78
- ## 2026-04-07
42
+ ### Gateway
79
43
 
80
- - **Frontend Fix**: Fix TypeScript type errors in component event handlers
44
+ - Add gatewayDebug logging control
81
45
 
82
- ## 2026-04-04
46
+ ### Frontend
83
47
 
84
- - **Test Refactor**: Simplify ServerStatusTags tests with mocks
85
- - **Config Feature**: Sort env and headers keys on config save
86
- - **Proxy Feature**: Add proxy configuration support for SSE and Streamable HTTP transports
48
+ - Add time unit types and conversion utilities
49
+ - Add Startup configuration tab to Settings page
87
50
 
88
- ## 2026-04-03
51
+ ### Config
89
52
 
90
- - **Config Feature**: Sort env and headers keys on config save
91
- - **Config Refactor**: Optimize updateServerInstance logging
92
- - **Connection Refactor**: Improve serverId handling and protocol version support
53
+ - Correct servers sorting in config-loader
93
54
 
94
- ## 2026-04-02
55
+ ### Startup
95
56
 
96
- - **Docs**: Update CLAUDE.md documentation for logging and composables
97
- - **Logging Refactor**: Enhance transport logging with serverId context
98
- - **Transports Feature**: Add LineBuffer for proper stderr line buffering
99
- - **Logging Refactor**: Enhance logging module and configuration change tracking
100
- - **Docs**: Update CLAUDE.md documentation for v1.1 config refactor
57
+ - Extract ensureServerInstances() to eliminate DRY violation
58
+ - Extract startup orchestration logic into dedicated module
101
59
 
102
- ## 2026-04-01
60
+ ### Resources
103
61
 
104
- - **Config Refactor**: Complete v1.1 multi-instance configuration refactoring
105
- - **Docs**: Update CLAUDE.md files to reflect session removal
106
- - **Session Refactor**: Remove session persistence mechanism and use SDK native stateless mode
107
- - **Session Refactor**: Remove session persistence mechanism
62
+ - Ensure consistent { contents: [...] } format in resource read API
108
63
 
109
- ## 2026-03-31
64
+ ### Logging
110
65
 
111
- - **UI Fix**: Ensure log viewer area fills available container height
112
- - **Frontend Feature**: Add instance tab routing synchronization
66
+ - Add STDERR log module for stdio transport
113
67
 
114
- ## 2026-03-29
68
+ ### Connection
115
69
 
116
- - **i18n Fix**: Correct missing translation key in InstanceConfig component
70
+ - Split connect() into SRP-compliant private methods
117
71
 
118
- ## 2026-03-28
72
+ ### Other
119
73
 
120
- - **Hub Tools Feature**: Implement instance selection strategies
74
+ - Update changelog for 2026-04-15 to 2026-04-17
75
+ - Add LinuxDo community acknowledgment
121
76
 
122
- ## 2026-03-27
77
+ ---
123
78
 
124
- - **Docs**: Update CLAUDE.md files across project modules
125
- - **Session Feature**: Remove cwd and project fields from session management
126
- - **UI Fix**: Optimize instance list display in English and hide redundant Running tag
127
- - **Config Fix**: Ensure server instance indexes from config load and migration
79
+ ## [1.2.0] - 2026-04-14
128
80
 
129
- ## 2026-03-26
81
+ ### Core
130
82
 
131
- - **Config Feature**: Implement v1.1 instance configuration system
83
+ - Add normalizeToolName for cross-format tool name matching
132
84
 
133
- ## 2026-03-25
85
+ ### CLI
134
86
 
135
- - **Config Fix**: Support string index type for server instance operations
136
- - **Docs**: Update CLAUDE.md files to reflect recent v1.1 config changes
137
- - **Config Feature**: Enhance instance management with display name and route selection
87
+ - Add tool-use command for MCP server tool operations
88
+ - Fix CLI entry detection for Windows/npm symlink environments
89
+ - Fix command count and rename mcpToolUseCommand to toolUseCommand
138
90
 
139
- ## 2026-03-24
91
+ ### Config
140
92
 
141
- - **Config Refactor**: Activate v1.1 config format with instance support
142
- - **Gateway Fix**: Only include tools from servers with allowedTools configured
143
- - **Hub Tools Fix**: Support both toolArgs and arguments for backward compatibility
93
+ - Change config loading logs from info to debug level
144
94
 
145
- ## 2026-03-23
95
+ ### System Tools
146
96
 
147
- - **Config Refactor**: Activate v1.1 config format, remove v1.0 compatibility code
148
- - **Config Feature**: Add empty value cleaning when saving config
97
+ - Rename list_tools_in_server to list_tools
149
98
 
150
- ## 2026-03-20
99
+ ### Documentation
151
100
 
152
- - **UI Fix**: Correct dark mode background color and refine instance UI
153
- - **UI Feature**: Add server instance management UI components
154
- - **Config Feature**: Add index and displayName to ServerInstanceConfig with reassignment API
155
- - **UI Feature**: Add tag management UI with TagManager component
156
- - **Config Feature**: Add v1.1 config schema with auto-migration support
101
+ - Complete CLAUDE.md documentation for all submodules
102
+ - Update changelog and README for v1.2 release
157
103
 
158
- ## 2026-03-19
104
+ ### Utils
159
105
 
160
- - **i18n Fix**: Fix headers label and add button text in server config
161
- - **UI Feature**: Add description field support in AddServerModal
106
+ - Add unit tests for normalizeToolName function
162
107
 
163
- ## 2026-03-17
108
+ ---
164
109
 
165
- - **UI Enhancement**: Update resource detail and list views with hub tools integration
166
- - **System Tools Refactor**: Enhance system tools handling and API endpoints
167
- - **Hub Tools Refactor**: Restructure core hub tools service architecture
110
+ ## [1.1.1] - 2026-04-14
168
111
 
169
- ## 2026-03-15
112
+ ### Gateway
170
113
 
171
- - **Lint Fix**: Add fallback for missing .eslintrc-auto-import.json
172
- - **UI Fix**: Correct serverName prop in ServerDetail for ToolCallDialog
173
- - **Hub Tools Refactor**: Simplify dynamic resources list to only server metadata
114
+ - Implement per-request transport mode to fix connection errors
174
115
 
175
- ## 2026-03-09
116
+ ### Frontend
176
117
 
177
- - **Core Refactor**: Update core modules for session and client migration
178
- - **Gateway Refactor**: Clean up deprecated methods and update tool cache access
179
- - **Client Refactor**: Remove deprecated client tracking and stores
180
- - **Session Refactor**: Migrate from mcp-session-manager to session-tracker service
181
- - **Test**: Enable initialized notification test
182
- - **Style**: Improve regex formatting for caller info
183
- - **Session Feature**: Add capabilities support in session manager
184
- - **Session Refactor**: Simplify sessionId generation
185
- - **Gateway Feature**: Add initialized notification and capabilities handling
186
- - **Client Tracker Feature**: Add capabilities and project inference
187
- - **Session Feature**: Add capabilities field to session model
188
- - **UI Feature**: Add capabilities display in SessionsView
189
- - **Logger Feature**: Add caller information and environment variable controls
190
- - **Logger Fix**: Ensure JSON pretty-printing for empty capabilities messages
191
- - **API Refactor**: Make MCP communication debug logging conditional
192
- - **Feature**: Add headers support and default to streamable-http
193
- - **UI Fix**: Fix environment variable value input display
194
-
195
- ## 2026-03-06
196
-
197
- - **System Tool Fix**: Fix system tool call validation errors when requestOptions.sessionId is null
198
- - **Frontend Fix**: Change system tool serverName from 'system' to 'mcp-hub-lite' for consistency
199
- - **Zod Schema Enhancement**: Enhance sessionId schema to accept null and transform to undefined
200
- - **ToolCallDialog Improvement**: Only include requestOptions when selectedInstanceId has value
201
- - **Version Bump**: Update package.json version to 1.0.1
202
-
203
- ## 2026-03-05
204
-
205
- - **Project Initialization**: Execute full project documentation architecture initialization and update
206
- - **Root CLAUDE.md Update**: Add 2026-03-05 changelog entry, verify module structure diagram and navigation link integrity
207
- - **Module Documentation Status Check**: Confirm CLAUDE.md document status for all 20 major modules
208
- - **Coverage Report Verification**: Verify project scan coverage and scan status
209
-
210
- ## 2026-03-04
211
-
212
- - **CLI Fix**: Ensure CLI commands exit properly after execution
213
- - **CLI/Logger Fix**: Fix server startup and log ANSI color issues
214
- - **CLI Enhancement**: Enhance status command with formatted output
215
- - **UI Enhancement**: Improve settings page UI and dev mode handling
216
- - **Logging Refactor**: Improve MCP gateway logging
217
- - **Logging Refactor**: Unify dev mode detection, remove devLogFile config
218
- - **Logging Enhancement**: Enhance stdio transport with log store integration
219
-
220
- ## 2026-03-03
221
-
222
- - **Test Update**: Update tests for new log config system
223
- - **Logging Fix**: Use getMcpCommDebugSetting() in connection-manager
224
- - **Logging Refactor**: Unify logging configuration system
225
- - **Config Enhancement**: Extend config schema with new log options
226
- - **UI Enhancement**: Add new logging config options in settings
227
- - **Logging Refactor**: Extract and unify MCP notification message handling
228
- - **Logging Fix**: Improve stderr log level detection logic
229
- - **Logging Refactor**: Use MCP_COMM_DEBUG environment variable for communication logs
230
- - **Gateway Refactor**: Remove SSE connection timestamp tracking
231
- - **Session Enhancement**: Count expired sessions and use configured flush interval
232
- - **Logging Enhancement**: Filter binary image data in MCP response logs
233
- - **UI Styling**: Remove trailing semicolon in SettingsView style
234
- - **Refactor**: Improve type handling and SSE logging
235
- - **Documentation**: Update project documentation
236
- - **UI Refactor**: Implement Element Plus auto-import
237
- - **UI Fix**: Fix el-input-number width issue in SettingsView
238
-
239
- ## 2026-03-02
240
-
241
- - **Session Enhancement**: Skip expired sessions during recovery
242
- - **Telemetry Removal**: Remove OpenTelemetry and telemetry features
243
- - **Styling**: Format codebase with prettier
244
- - **SSE Enhancement**: Add connection timeout config and reconnection detection
245
- - **Logging Enhancement**: Enhance JSON pretty-printing with newline handling
246
- - **Logging Styling**: Unify LOG_MODULES format as PascalCase
247
- - **Session Refactor**: Simplify session matching logic
248
-
249
- ## 2026-03-01
250
-
251
- - **Logging Refactor**: Change log file naming to timestamp-based format
252
- - **Refactor**: Add LOG_MODULES context and update hub-manager service tests
253
- - **Session Enhancement**: Enhance sessionId extraction with header support and improved fallback logic
254
- - **Session Refactor**: Extract session manager to modular structure
255
- - **Connection Refactor**: Extract connection manager to modular structure
256
-
257
- ## 2026-02-28
258
-
259
- - **Documentation**: Update CLAUDE.md with project initialization summary
260
- - **Logging Refactor**: Rename subModule to module, add LOG_MODULES constants
261
- - **Hub-Tools Refactor**: Extract hub-tools.service.ts to modular structure
262
- - **Gateway Refactor**: Extract gateway.service.ts to modular structure
263
- - **API/MCP Refactor**: Extract gateway module to separate files
264
- - **Config Refactor**: Split config-manager to modular structure
265
- - **Logging Refactor**: Add missing subModule context to log statements
266
- - **Logging Refactor**: Split monolithic logger to modular structure
267
- - **Gateway Fix**: Add missing uri field in ReadMcpResourceTool response
268
-
269
- ## 2026-02-27
270
-
271
- - **Gateway Refactor**: Enhance SSE stream management and response logging
272
- - **Refactor**: Remove duplicate debug logging in gateway
273
- - **Refactor**: Resolve config-logger circular dependency with config getter pattern
274
- - **Logging Fix**: Use stringifyForLogging for gateway header, improve rawHeaders readability
275
-
276
- ## 2026-02-26
277
-
278
- - **Refactor**: Fix ESM imports and optimize CLI startup performance
279
- - **Frontend Enhancement**: Add type safety for JsonSchema in frontend ToolsView
280
- - **Documentation**: Update docs for config path and logging
281
- - **Enhancement**: Enhance dev server startup logging
282
- - **Refactor**: Optimize logging verbosity
283
- - **Enhancement**: Add rawHeaders operation for session header propagation
284
- - **Enhancement**: Enhance session persistence and cleanup logic
285
- - **Enhancement**: Introduce unified system tools processor and prefix tool name support
286
- - **Enhancement**: Enhance session management with consistency check and request header handling
287
- - **Refactor**: Optimize logger options extraction
288
- - **Enhancement**: Improve tool call dialog and system tools display
289
-
290
- ## 2026-02-25
291
-
292
- - **Enhancement**: Enhance documentation and system configuration
293
- - **MCP Connection Manager Refactor**: Optimize getTools/getResources logging with cache hit indicator and resource cache improvements
294
- - **Refactor**: Extract common stderr handling logic to reduce code duplication
295
- - **Enhancement**: Add server description field and resource detail improvements
296
-
297
- ## 2026-02-15
298
-
299
- - **Session Persistence Feature**: Implement session state persistence to disk with dirty tracking and batch flushing
300
- - **Graceful Shutdown Handling**: Add graceful shutdown handler for session state flushing
301
- - **Session Management API**: Add session management API endpoints (list, get, delete)
302
- - **Session Recovery Logic**: Enhance session recovery logic with clientName matching
303
- - **Settings Page Enhancement**: Add time unit selector (seconds/minutes/hours/days)
304
- - **Logging System Improvements**: Support subModule context and tools/list response simplification
305
- - **Log Directory Optimization**: Move log directory to ~/.mcp-hub-lite/logs
306
- - **Full Check Command**: Add `npm run full:check` command for simplified complete project checking
307
- - **Unit Test Coverage**: Add comprehensive unit tests for session manager
308
-
309
- ## 2026-02-14
310
-
311
- - **Session Persistence Implementation**: Implement session persistence and configuration management
312
- - **CLI Unit Tests**: Add comprehensive unit tests for CLI commands
313
- - **Session Timeout Configuration**: Add configurable session timeout for MCP gateway
314
- - **Type Safety Improvements**: Comprehensive eslint no-explicit-any fixes and type safety enhancements
315
-
316
- ## 2026-02-13
317
-
318
- - **CLI Command Tests**: Add comprehensive unit tests for CLI commands
319
- - **Session Timeout Configuration**: Add configurable session timeout for MCP gateway
320
- - **Type Safety Fixes**: Comprehensive eslint no-explicit-any fixes and type safety improvements
321
-
322
- ## 2026-02-11
323
-
324
- - **Frontend i18n Support**: Update server status tags and tool call dialog components with i18n support
325
- - **ESLint Configuration Fix**: Fix lint:log command and ESLint configuration
326
- - **Frontend Resource View**: Improve resource view with table layout
327
- - **Type System Refactor**: Establish shared type system for frontend-backend integration
328
- - **WebSocket Types**: Establish client and WebSocket type system
329
- - **Config Manager Optimization**: Prevent test pollution with lazy initialization for ConfigManager
330
- - **System Tools Optimization**: Enhance system tools type safety and naming
331
- - **MCP Resource Support**: Add MCP resource support with UI and API endpoints
332
- - **Client Tracking Enhancement**: Enhance client tracking and connection management
333
- - **Tool Call Dialog**: Improve tool call dialog with i18n and response display
334
- - **Search Functionality Optimization**: Implement comprehensive search functionality across MCP servers
335
-
336
- ## 2026-02-10
337
-
338
- - **Fix config.test.ts Intermittent Test Failure**: Resolve "should save config to file" intermittent test failure
339
- - **Root Cause Analysis**: ConfigManager singleton pattern caused test state pollution and temporary file path conflicts
340
- - **Fix Solution**:
341
- - Modify getConfigManager() to create new instances in test environment for isolation
342
- - Generate unique temporary file paths for each test with timestamp and random suffix
343
- - Enhance file cleanup logic with retry mechanism to handle Windows file system permissions
344
- - **Validation Results**: 100 sequential tests, 50 parallel tests (2 concurrency), 200 parallel tests (5 concurrency) all passed
345
- - **Documentation**: Add A3 problem analysis report and detailed technical fix report
346
-
347
- ## 2026-01-31
348
-
349
- - **Frontend UI Enhancement**: Enhance server card and interaction
350
- - **Configuration Backup Optimization**: Optimize backup system with caching and compilation phase handling
351
- - **Tool Call Dialog**: Enhance tool call dialog with i18n and response display
352
- - **System Tools Simplification**: Simplify system tools API and improve type safety
353
- - **MCP Connection Optimization**: Optimize connection management logic
354
- - **Path Alias System**: Enhance path alias system with module-specific aliases
355
- - **Server Status Tags**: Add server status tags component with i18n support
356
- - **Search Functionality Optimization**: Implement comprehensive search functionality across MCP servers
357
-
358
- ## 2026-01-30
359
-
360
- - **Config Manager Optimization**: Optimize backup logic and implement lazy initialization
361
- - **Test Coverage Optimization**: Add temporary directory to test coverage paths
362
- - **Logging System Refactor**: Extract common log method to eliminate code duplication
363
- - **Test Fix**: Fix missing logger.setLevel method and system.logging property mock configuration in runner.test.ts
364
- - **PID Formatting Optimization**: Increase PID formatting width to 8 characters
365
- - **TypeScript Fix**: Resolve TypeScript type errors in unit tests
366
- - **Server Optimization**: Optimize batch import with single save and concurrent startup
367
- - **Configuration Optimization**: Skip backup creation for default configuration
368
-
369
- ## 2026-01-27
370
-
371
- - **Server Fix**: Fix auto-start not working and sidebar display issues
372
- - **Temporary File Cleanup**: Remove temporary files
373
- - **Frontend Layout Refactor**: Update App.vue with new layout structure
374
- - **Dependency Update**: Update package dependencies and Vite configuration
375
- - **Test Updates**: Update tests for new features and services
376
- - **Server Runtime Optimization**: Optimize server runtime and CLI commands
377
- - **Service Enhancement**: Add Hub Manager and Search Core services
378
- - **API Enhancement**: Enhance MCP gateway and web API endpoints
379
- - **Frontend Features**: Add tool calls store and WebSocket utilities
380
- - **Multi-language Support**: Add multi-language support and update UI components
381
-
382
- ## 2026-01-26
383
-
384
- - **WebSocket Functionality**: Implement real-time log streaming via WebSocket
385
- - **Client Management**: Add client management functionality
386
- - **Branch Merge**: Merge branch 'feat/client-management' into 003-DEV
387
-
388
- ## 2026-01-21
389
-
390
- - **Logging Optimization**: Optimize logging for tools/list responses
391
- - **Client Management**: Add client management functionality
392
-
393
- ## 2026-02-01
394
-
395
- - **Project Summary Update**: Execute "root-level concise + module-level detailed" hybrid strategy update
396
- - **File Statistics**: Identify complete project structure and modules
397
- - **Module Coverage**: All major modules have been identified and CLAUDE.md documents created/updated
398
- - **Coverage Rate**: 100% module coverage, complete file scanning finished
399
- - **Enhance Module Structure Diagram**: Update Mermaid structure diagram, ensure all module links are correct
400
- - **Update Module Index**: Include all submodules
401
-
402
- ### 2026-01-29
403
-
404
- - **Project Index Update**: Execute complete scan, update project documentation index
405
- - **File Statistics**: Identify 94 source code files (47 backend + 27 frontend + 20 tests)
406
- - **Module Coverage**: All 16 modules have been identified and CLAUDE.md documents created
407
- - **Coverage Rate**: 100% module coverage, 100% file scanning completed
408
- - **Enhance Module Structure Diagram**: Add missing module links (including CONTRACT module)
409
- - **Update Module Index**: Include all submodules
410
-
411
- ### 2026-01-28
412
-
413
- - Update summary
414
- - Improve module structure diagram, add missing module links (including CONTRACT module)
415
- - Create detailed CLAUDE.md documents for src/server and src/pid modules
416
- - Create detailed CLAUDE.md documents for frontend/router and frontend/i18n modules
417
- - Create detailed CLAUDE.md documents for tests/contract module
418
- - Update module index, include all submodules
419
- - **Add Frontend Test Coverage**: Add unit tests for Dashboard component, ToolCard component, and Server Store
420
- - **Update Test Configuration**: Configure Vue Test Utils and JSDOM environment for frontend component testing
421
- - **Update Project Documentation**: Reflect improvements in frontend test status
422
- - **Add Server Runtime Tests**: Add complete unit test coverage for src/server/runner.ts
423
- - **Update Test Documentation**: Add server module test documentation in tests/unit/CLAUDE.md
424
-
425
- ### 2026-01-20
426
-
427
- - Optimize HubTools call logic, replace serverName parameter with serverId in all methods, directly use server unique identifier for operations, avoiding the overhead of finding servers by name
428
- - Add HubToolsService documentation
429
- - Update project architecture documentation
430
-
431
- ### 2026-01-19
432
-
433
- - Initialize project AI context documentation
434
- - Generate module structure diagram and index
435
- - Integrate architecture specifications and development processes
118
+ - Prevent runtime error when tool is undefined in groupedTools
119
+
120
+ ---
121
+
122
+ ## [1.1.0] - 2026-04-13
123
+
124
+ ### Resources
125
+
126
+ - Implement MCP native resource forwarding
127
+
128
+ ### Gateway
129
+
130
+ - Restrict call_tool from invoking system tools
131
+ - Return 400 for missing Accept header
132
+ - Extract version and protocol version to shared utility
133
+ - Only include tools from servers with allowedTools configured
134
+
135
+ ### Security
136
+
137
+ - Mask sensitive values in config change logs
138
+
139
+ ### Config
140
+
141
+ - Sort env and headers keys on config save
142
+ - Implement v1.1 instance configuration system
143
+ - Enhance instance management with display name and route selection
144
+ - Add empty value cleaning when saving config
145
+ - Add index and displayName to ServerInstanceConfig with reassignment API
146
+ - Add v1.1 config schema with auto-migration support
147
+ - Move instance selection strategy to template
148
+ - Complete v1.1 multi-instance configuration refactoring
149
+ - Activate v1.1 config format with instance support
150
+ - Activate v1.1 config format, remove v1.0 compatibility code
151
+ - Ensure server instance indexes from config load and migration
152
+ - Support string index type for server instance operations
153
+ - Unify instance ID generation with content hash
154
+
155
+ ### Proxy
156
+
157
+ - Add proxy configuration support for SSE and Streamable HTTP transports
158
+
159
+ ### Transport
160
+
161
+ - Add LineBuffer for proper stderr line buffering
162
+ - Use official SDK StdioClientTransport
163
+ - Log non-JSON-RPC stdout and unify stderr log level
164
+
165
+ ### Frontend
166
+
167
+ - Add instance tab routing synchronization
168
+ - Fix tools and resources not displaying in server detail
169
+ - Add description field to ConfigTemplateForm
170
+ - Improve instance status reactivity and management
171
+ - Add bottom padding to prevent save button cutoff on scroll
172
+ - Fix TypeScript type errors in component event handlers
173
+ - Ensure log viewer area fills available container height
174
+ - Optimize instance list display in English and hide redundant Running tag
175
+ - Correct dark mode background color and refine instance UI
176
+ - Improve type declarations and test type safety
177
+ - Compute instance counts from server.instances directly
178
+
179
+ ### UI Components
180
+
181
+ - Add server instance management UI components
182
+ - Add tag management UI with TagManager component
183
+ - Add description field support in AddServerModal
184
+ - Update resource detail and list views with hub tools integration
185
+
186
+ ### i18n
187
+
188
+ - Improve noToolsFound message to reflect tool aggregation
189
+ - Correct missing translation key in InstanceConfig component
190
+ - Fix headers label and add button text in server config
191
+
192
+ ### Session
193
+
194
+ - Remove cwd and project fields from session management
195
+ - Remove session persistence mechanism and use SDK native stateless mode
196
+ - Remove session persistence mechanism
197
+
198
+ ### System Tools
199
+
200
+ - Implement instance selection strategies
201
+ - Add update_server_description system tool
202
+ - Support both toolArgs and arguments for backward compatibility
203
+ - Add MCP_HUB_LITE_SERVER handling to getTool
204
+ - listServers only returns connected servers
205
+ - Restructure core hub tools service architecture
206
+ - Enhance system tools handling and API endpoints
207
+ - Add non-strict mode to selectBestInstance
208
+ - Optimize hub tools service and API
209
+ - Simplify system tools API and improve type safety
210
+
211
+ ### MCP Status
212
+
213
+ - Prevent automatic enabled field updates on connect/disconnect
214
+
215
+ ### Connection
216
+
217
+ - Improve serverId handling and protocol version support
218
+
219
+ ### Search
220
+
221
+ - Remove complex search module, simplify to string matching
222
+ - Simplify search logic using server-level caching
223
+
224
+ ### Tests
225
+
226
+ - Remove evaluation tests not compliant with MCP spec
227
+
228
+ ### Core
229
+
230
+ - Use composite key serverName-serverIndex instead of serverId
231
+
232
+ ### Documentation
233
+
234
+ - Update search functionality description
235
+ - Update CLAUDE.md documentation for logging and composables
236
+ - Update CLAUDE.md documentation for v1.1 config refactor
237
+ - Update CLAUDE.md files to reflect session removal
238
+ - Update CLAUDE.md files across project modules
239
+ - Update CLAUDE.md files to reflect recent v1.1 config changes
240
+ - Update CLAUDE.md files with format improvements and new content
241
+
242
+ ### Use Guide
243
+
244
+ - Compress use-guide from 13 to 7 sections
245
+
246
+ ### Tools
247
+
248
+ - Handle nested toolArgs in updateServerDescription
249
+ - Simplify ServerStatusTags tests with mocks
250
+ - Optimize updateServerInstance logging
251
+
252
+ ### Lint
253
+
254
+ - Add fallback for missing .eslintrc-auto-import.json
255
+
256
+ ### Status
257
+
258
+ - Show all configured servers including disabled ones in status
259
+
260
+ ---
261
+
262
+ ## [1.0.2] - 2026-03-15
263
+
264
+ ### Session
265
+
266
+ - Add capabilities support in session manager
267
+ - Add capabilities field to session model
268
+ - Simplify sessionId generation
269
+
270
+ ### Gateway
271
+
272
+ - Add initialized notification and capabilities handling
273
+ - Clean up deprecated methods and update tool cache access
274
+ - Enable initialized notification test
275
+
276
+ ### Client
277
+
278
+ - Add capabilities and project inference
279
+
280
+ ### UI
281
+
282
+ - Add capabilities display in SessionsView
283
+ - Correct serverName prop in ServerDetail for ToolCallDialog
284
+
285
+ ### System Tools
286
+
287
+ - Simplify dynamic resources list to only server metadata
288
+
289
+ ### Core
290
+
291
+ - Update core modules for session and client migration
292
+
293
+ ### Client Tracking
294
+
295
+ - Remove deprecated client tracking and stores
296
+
297
+ ### Session Migration
298
+
299
+ - Migrate from mcp-session-manager to session-tracker service
300
+
301
+ ### API
302
+
303
+ - Make MCP communication debug logging conditional
304
+
305
+ ---
306
+
307
+ ## [1.0.1] - 2026-03-15
308
+
309
+ ### UI
310
+
311
+ - Fix environment variable value input display
312
+
313
+ ### System Tools
314
+
315
+ - Resolve system tool call validation errors
316
+
317
+ ---
318
+
319
+ ## [1.0.0] - 2026-03-15
320
+
321
+ ### UI
322
+
323
+ - Improve dashboard and server status tags
324
+ - Improve settings page UI and dev mode handling
325
+ - Add new logging configuration options to settings
326
+ - Improve resources view with table layout
327
+ - Improve tool call dialog and system tools display
328
+ - Enhance server card and interaction
329
+ - Enhance tool call dialog with i18n and response display
330
+ - Add server status tags component with i18n support
331
+ - Update App.vue with new layout structure
332
+
333
+ ### CLI
334
+
335
+ - Enhance status command with formatted output
336
+ - Add comprehensive unit tests for CLI commands
337
+ - Ensure CLI commands exit properly after execution
338
+ - Fix server startup and log ANSI color issues
339
+
340
+ ### Logging
341
+
342
+ - Enhance log storage integration for stdio transports
343
+ - Filter binary image data in MCP response logs
344
+ - Enhance JSON pretty printing with newline processing
345
+ - Improve MCP gateway logging
346
+ - Unify dev mode detection and remove devLogFile config
347
+ - Unify logging configuration system
348
+ - Extract and unify MCP notification message handling
349
+ - Use MCP_COMM_DEBUG env var to control communication logs
350
+ - Change log file naming to timestamp-based format
351
+ - Add missing subModule context to log statements
352
+ - Split monolithic logger into modular structure
353
+ - Enhance SSE stream management and response logging
354
+ - Extract common log method to eliminate code duplication
355
+ - Optimize logging verbosity
356
+ - Optimize logger options extraction
357
+ - Optimize getTools/getResources logging with cache hit indicators and resource cache improvement
358
+ - Improve stderr log level detection logic
359
+ - Use getMcpCommDebugSetting() in connection-manager
360
+ - Use stringifyForLogging for gateway headers and improve rawHeaders readability
361
+ - Enhance development server logging and hot reload
362
+ - Organize file structure and enhance logging
363
+ - Optimize logging for tools/list responses
364
+ - Update documentation for config path and logging
365
+
366
+ ### Config
367
+
368
+ - Extend config schema with new logging options
369
+ - Add configurable session timeout for MCP gateway
370
+ - Simplify config-manager implementation
371
+ - Use default config on validation failure
372
+ - Prevent auto-creation of config file and add error logging
373
+ - Add immediate save option to updateConfig method
374
+ - Optimize backup system with caching and compilation phase handling
375
+ - Optimize backup logic and implement lazy initialization
376
+ - Skip backup creation for default config
377
+ - Remove delayed save mechanism
378
+ - Correct config path
379
+
380
+ ### Session
381
+
382
+ - Count expired sessions and use config flush interval
383
+ - Skip expired sessions during restore
384
+ - Enhance sessionId extraction with header support and improved fallback logic
385
+ - Enhance session persistence and cleanup logic
386
+ - Enhance session management with consistency checks and request header handling
387
+ - Implement comprehensive session persistence and management
388
+ - Implement session persistence and configuration management
389
+ - Simplify session matching logic
390
+ - Extract session manager into modular structure
391
+
392
+ ### SSE
393
+
394
+ - Add connection timeout config and reconnection detection
395
+ - Remove SSE connection timestamp tracking
396
+ - Improve type handling and SSE logging
397
+
398
+ ### Type System
399
+
400
+ - Add type safety for JsonSchema in frontend ToolsView
401
+ - Comprehensive eslint no-explicit-any fixes and type safety improvements
402
+ - Establish shared type system for frontend-backend integration
403
+
404
+ ### System Tools
405
+
406
+ - Introduce unified system tool handler and prefixed tool name support
407
+ - Implement system tools framework with centralized constants
408
+
409
+ ### Documentation
410
+
411
+ - Enhance documentation and system configuration
412
+ - Add server description field and resource detail improvements
413
+ - Update project documentation and configuration
414
+
415
+ ### Request Headers
416
+
417
+ - Add rawHeaders manipulation for session header propagation
418
+
419
+ ### Tools
420
+
421
+ - Add serverName field to tool model and implement server-level caching
422
+
423
+ ### Observability
424
+
425
+ - Enhance OpenTelemetry integration and logging system
426
+ - Add OpenTelemetry tracing support
427
+ - Simplify tracing exporters to console and OTLP only
428
+ - Remove OpenTelemetry and telemetry functionality
429
+
430
+ ### Logger
431
+
432
+ - Add subModule support to logger and update WebSocket logs
433
+ - Add LOG_MODULES context and update hub-manager service tests
434
+
435
+ ### Search
436
+
437
+ - Implement simple search service for basic tool discovery
438
+ - Enhance tool call dialog and tools view with search integration
439
+ - Implement comprehensive search functionality across MCP servers
440
+
441
+ ### WebSocket
442
+
443
+ - Add server update event listeners
444
+
445
+ ### Tool Views
446
+
447
+ - Enhance tools view with serverName-based grouping
448
+ - Enhance tool call dialog and tools view with search integration
449
+
450
+ ### Batch Operations
451
+
452
+ - Optimize batch import with single save and concurrent startup
453
+
454
+ ### Services
455
+
456
+ - Add hub manager and search core services
457
+
458
+ ### API
459
+
460
+ - Enhance MCP gateway and web API endpoints
461
+
462
+ ### Client Tracking
463
+
464
+ - Enhance client tracking and connection management
465
+
466
+ ### Frontend Store
467
+
468
+ - Add tool calls store and websocket utilities
469
+
470
+ ### Client
471
+
472
+ - Add client version display
473
+ - Add manual save button to server list
474
+ - Add client management functionality
475
+
476
+ ### i18n
477
+
478
+ - Add multi-language support and update UI components
479
+ - Add internationalization support for server management actions
480
+
481
+ ### Server Management
482
+
483
+ - Enhance system configuration management and server management functionality
484
+ - Enhance server management functionality, add timeout and auto-start configurations
485
+ - Optimize server detail page status display and uptime calculation
486
+
487
+ ### Tool Management
488
+
489
+ - Implement comprehensive tool search and management system
490
+
491
+ ### Tool Gateway
492
+
493
+ - Implement Tools Gateway and refactor navigation
494
+
495
+ ### MCP Server
496
+
497
+ - Add server auto-start configuration and refactor MCP gateway transport
498
+ - Add server version information display functionality
499
+ - Implement MCP Server log page to display complete logs
500
+ - Add server config timeout setting functionality
501
+ - Refactor MCP connection management and transport layer, add resource model support
502
+ - Fix auto-start not working and sidebar display issues
503
+
504
+ ### Resources
505
+
506
+ - Display tool and resource counts in tabs
507
+ - Add MCP resources support with UI and API endpoints
508
+
509
+ ### Transport
510
+
511
+ - Add Streamable HTTP transport support for Microsoft Learn MCP Server
512
+
513
+ ### Frontend Tools
514
+
515
+ - Add remote server support and HTTP utilities
516
+ - Save development progress with UI enhancements and new components
517
+ - Complete frontend architecture refactoring and implement new UI components
518
+ - Use shared types in frontend code
519
+ - Enhance path alias system with module-specific aliases
520
+ - Rename dashboard and header components to view suffix
521
+ - Frontend code cleanup and improvements
522
+ - Enhance type safety in gateway and hub tools services
523
+
524
+ ### Implementation Milestones
525
+
526
+ - Complete MCP Hub Lite implementation with multi-server support
527
+ - Simplify architecture and enhance CLI status command
528
+ - Enhance CLI, add i18n, update config & cleanup
529
+ - Implement pid management and stop/restart commands
530
+ - Implement cli commands (start, list, status, ui)
531
+ - Implement fault tolerance and health checks
532
+ - Implement mcp streaming gateway with stdio support
533
+ - Implement mcp connection and tool search
534
+ - Complete phase 3 server management implementation
535
+ - Complete Phase 1 & 2 (infrastructure, models, config)
536
+
537
+ ### Tests
538
+
539
+ - Resolve config manager intermittent test failure
540
+ - Prevent test pollution by implementing lazy initialization for ConfigManager
541
+ - Resolve TypeScript type errors in unit tests
542
+ - Fix runner.test.ts missing logger.setLevel method and system.logging mock config
543
+ - Update all tests to include serverName field
544
+ - Add comprehensive utility unit tests
545
+ - Add comprehensive server runner unit tests
546
+ - Add comprehensive frontend and backend test infrastructure
547
+ - Fix lint:log command and ESLint configuration
548
+ - Add evaluation test files
549
+
550
+ ### Element Plus
551
+
552
+ - Implement Element Plus auto-import
553
+
554
+ ### Imports
555
+
556
+ - Replace relative imports with path aliases
557
+
558
+ ### Vitest
559
+
560
+ - Add temp directory to test coverage paths
561
+ - Exclude frontend unit tests from main tsconfig
562
+
563
+ ### Images
564
+
565
+ - Remove unused image
566
+
567
+ ### Index
568
+
569
+ - Update project index and fix documentation typos
570
+ - Update project AI context documentation
571
+
572
+ ### Debugging
573
+
574
+ - Remove duplicate debug logs in gateway
575
+ - Fix ESM imports and optimize CLI startup performance
576
+ - Resolve config-logger circular dependency using config getter pattern
577
+
578
+ ### Bug Fixes
579
+
580
+ - Fix el-input-number width issue in SettingsView
581
+ - Add missing uri field in ReadMcpResourceTool response
582
+ - Correct serverName usage in tool call dialog
583
+ - Correct variable declaration in applyFilters
584
+ - Correct config path in SettingsView computed properties
585
+ - Ensure allowedTools is initialized as empty array for new servers
586
+ - Fix tool aggregation toggle logic in frontend
587
+ - Fix log loading issues in Dashboard and ServerDetail
588
+ - Fix two issues with server deletion functionality
589
+ - Fix CLI commands hanging after execution
590
+ - Add missing PidManager import in index.ts
591
+ - Fix missing imports in app.ts
592
+
593
+ ### Backend
594
+
595
+ - Use shared types in backend code
596
+
597
+ ### Architecture
598
+
599
+ - Establish shared type system for frontend-backend integration
600
+
601
+ ### Type Safety
602
+
603
+ - Improve system tools type safety and naming
604
+ - Optimize configuration and logging system
605
+ - Enhance test coverage and SDK helpers
606
+ - Improve configuration and telemetry
607
+ - Optimize connection management logic