@haven_ai/sdk 0.0.0-dev.202609181352.6793586 → 0.0.0-dev.202609181540.08a5f50

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.cjs CHANGED
@@ -4956,8 +4956,10 @@ check on in-flight payments. Do not poll in a tight loop.
4956
4956
  ## Failure handling
4957
4957
 
4958
4958
  Haven tool failures are shaped like \`{ success: false, code, message, ... }\`
4959
- or older \`{ error, status, details? }\` responses. Branch on \`code\` when
4960
- present and surface \`message\` or \`error\` verbatim. Common cases:
4959
+ or older \`{ error, status, details? }\` responses. A failure carries the same
4960
+ \`next_action\` / \`next_tool\` / \`next_arguments\` / \`next_tool_omitted_reason\`
4961
+ fields a success does; follow them first, then branch on \`code\` and surface
4962
+ \`message\` or \`error\` verbatim. Common cases:
4961
4963
 
4962
4964
  - \`insufficient_funds\`: the Haven wallet doesn't hold enough of that token.
4963
4965
  Suggest the user add funds in the Haven dashboard.