ai 5.0.0-beta.22 → 5.0.0-beta.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3055,7 +3055,7 @@ function isToolUIPart(part) {
3055
3055
  return part.type.startsWith("tool-");
3056
3056
  }
3057
3057
  function getToolName(part) {
3058
- return part.type.split("-")[1];
3058
+ return part.type.split("-").slice(1).join("-");
3059
3059
  }
3060
3060
 
3061
3061
  // src/ui/process-ui-message-stream.ts