Skip to content

Conversation

@htcarr3
Copy link
Contributor

@htcarr3 htcarr3 commented Jan 25, 2026

What

Adds the remaining message types and MCP control methods to achieve complete feature parity with the TypeScript SDK.

Why

The Ruby SDK was missing a few message types and MCP lifecycle methods that the TypeScript SDK supports. This closes the gap for full parity.

Changes

New message types:

  • HookStartedMessage - emitted when hook execution starts
  • HookProgressMessage - reports progress during hook execution
  • ToolUseSummaryMessage - summary of tool use for collapsed display

New MCP control methods:

  • mcp_reconnect(server_name) - reconnect to a disconnected MCP server
  • mcp_toggle(server_name, enabled:) - enable/disable an MCP server

Updated:

  • SPEC.md reflects complete TypeScript SDK parity
  • RBS type signatures for all new types
  • Full test coverage for new functionality

… MCP methods

Add HookStartedMessage, HookProgressMessage, and ToolUseSummaryMessage for
full hook lifecycle visibility. Add mcp_reconnect and mcp_toggle control
methods for MCP server lifecycle management.
@htcarr3 htcarr3 merged commit 078ff6c into main Jan 25, 2026
1 check passed
@htcarr3 htcarr3 deleted the update_specs branch January 25, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants