Repository navigation
fix: restart 命令显示服务名称 (v1.1.4) - #19
Merged
Merged
Conversation
修复 restart 命令的日志显示问题,现在会显示每个服务器的连接状态, 包括服务器名称(例如:- alibaba-cloud-observability... Connected ✓)。 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1. 修复子进程追踪:将 `config.type === 'stdio'` 改为 `'command' in config` - 修复了 childPids 始终为空的问题 - 确保 restart 时能正确终止旧进程 2. 统一日志格式:移除所有 `[Daemon]` 前缀 - pool.ts 和 client.ts 中的日志不再带前缀 - 与 daemon.ts 保持一致 3. 添加 verbose 日志控制 - debug 日志仅在 MCPS_VERBOSE=true 时显示 - 常规日志保持简洁 4. server.ts: 使用 daemonRequest() 绕过代理 - 修复 http_proxy 环境变量导致的连接问题 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
修复
restart命令的日志显示问题,现在会显示每个 MCP 服务器的连接状态,包括服务器名称。主要变更
-开头的服务名称行测试计划
🤖 Generated with Claude Code