New

Bo-Yi Wu
2 months ago

Commit: cbf8d4f

Date: November 10, 2025 at 12:46 PM

  • refactor(mcp): integrate context propagation and signal-based cancellation
  • Add signal handling to gracefully cancel the context on interrupt (SIGINT, SIGTERM)
  • Update functions to accept context instead of creating a new one internally
  • Pass the main context to MCP transport constructors for improved cancellation support

Signed-off-by: appleboy

  • refactor: improve signal handling and cleanup unused imports
  • Remove unused import of syscall
  • Create cancellation context only for SIGINT (Ctrl+C), not SIGTERM

Signed-off-by: appleboy

  • style: adopt Go-style octal file permissions throughout codebase
  • Use Go-style octal notation (0o) for file permission arguments in os.MkdirAll and os.WriteFile
  • Remove a few unnecessary blank lines at the end of main functions

Signed-off-by: appleboy

---------

Signed-off-by: appleboy