Files
openclaw/src
lee-xydt b7f014036f fix(plugin-sdk): restore provider stream compatibility exports (#115757)
* fix(plugin-sdk): add missing thinking stream hooks to provider-stream-family exports

The provider-stream-family subpath was missing re-exports for deprecated
thinking-stream hook constants (MOONSHOT_THINKING_STREAM_HOOKS,
GOOGLE_THINKING_STREAM_HOOKS, KILOCODE_THINKING_STREAM_HOOKS,
MINIMAX_FAST_MODE_STREAM_HOOKS, OPENROUTER_THINKING_STREAM_HOOKS,
TOOL_STREAM_DEFAULT_ON_HOOKS) that are defined in provider-stream.js.

This caused @openclaw/moonshot-provider to fail at load time with:
  SyntaxError: does not provide an export named 'MOONSHOT_THINKING_STREAM_HOOKS'

Fixes #115580

* test(plugin-sdk): preserve provider stream family exports

* test(plugin-sdk): cover provider stream compatibility exports

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-07-30 00:58:05 +08:00
..