Merge branch 'main' into feat/debug-logging-refactor

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-02-04 17:30:58 +08:00
commit 9b524a59c1
70 changed files with 4434 additions and 933 deletions

View file

@ -347,6 +347,9 @@ export async function main() {
process.cwd(),
argv.extensions,
);
// Register cleanup for MCP clients as early as possible
// This ensures MCP server subprocesses are properly terminated on exit
registerCleanup(() => config.shutdown());
// FIXME: list extensions after the config initialize