ai 7.0.114 → 7.0.117

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/index.js +951 -1250
  3. package/dist/index.js.map +1 -1
  4. package/dist/internal/index.js +159 -212
  5. package/dist/internal/index.js.map +1 -1
  6. package/docs/03-agents/02-building-agents.mdx +2 -2
  7. package/docs/03-agents/08-terminal-ui.mdx +12 -8
  8. package/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +6 -1
  9. package/docs/03-ai-sdk-core/17-mcp-apps.mdx +1 -1
  10. package/docs/03-ai-sdk-core/26-reasoning.mdx +2 -2
  11. package/docs/03-ai-sdk-core/32-evaluation.mdx +7 -4
  12. package/docs/03-ai-sdk-core/65-lifecycle-callbacks.mdx +7 -4
  13. package/docs/03-ai-sdk-harnesses/01-overview.mdx +3 -2
  14. package/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +97 -107
  15. package/docs/03-ai-sdk-harnesses/03-tools.mdx +1 -22
  16. package/docs/03-ai-sdk-harnesses/04-skills.mdx +0 -4
  17. package/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +3 -3
  18. package/docs/03-ai-sdk-harnesses/06-workflow-utilities.mdx +43 -9
  19. package/docs/03-ai-sdk-harnesses/07-ui.mdx +33 -30
  20. package/docs/03-ai-sdk-harnesses/08-terminal-ui.mdx +8 -6
  21. package/docs/04-ai-sdk-ui/01-overview.mdx +1 -1
  22. package/docs/04-ai-sdk-ui/02-chatbot.mdx +9 -7
  23. package/docs/04-ai-sdk-ui/08-object-generation.mdx +4 -1
  24. package/docs/06-advanced/04-caching.mdx +2 -1
  25. package/docs/06-advanced/11-secure-url-fetching.mdx +39 -0
  26. package/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +1 -1
  27. package/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +4 -1
  28. package/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +1 -0
  29. package/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +1 -1
  30. package/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +1 -1
  31. package/docs/07-reference/06-ai-sdk-tui/01-run-agent-tui.mdx +12 -8
  32. package/package.json +12 -12
  33. package/src/prompt/file-part-data.ts +9 -3
  34. package/src/util/download/download.ts +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # ai
2
2
 
3
+ ## 7.0.117
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [b67b1b7]
8
+ - @ai-sdk/gateway@4.0.95
9
+
10
+ ## 7.0.116
11
+
12
+ ### Patch Changes
13
+
14
+ - af9597b: Compile packages for ES2022 runtime target
15
+ - bc49f78: Preserve original opaque URI strings in tagged file URLs during prompt conversion. Match explicit supported URL MIME types exactly so unsupported subtypes are not forwarded to providers.
16
+ - Updated dependencies [af9597b]
17
+ - Updated dependencies [bc49f78]
18
+ - @ai-sdk/provider-utils@5.0.49
19
+ - @ai-sdk/gateway@4.0.94
20
+
21
+ ## 7.0.115
22
+
23
+ ### Patch Changes
24
+
25
+ - be877ff: Use the new `fetchUntrustedUrl` helper for SDK downloads, preserving the existing
26
+ user-agent header and URL validation while enforcing first-hop credential isolation.
27
+ - Updated dependencies [80b9100]
28
+ - Updated dependencies [d3cc6ae]
29
+ - Updated dependencies [be877ff]
30
+ - @ai-sdk/gateway@4.0.93
31
+ - @ai-sdk/provider-utils@5.0.48
32
+
3
33
  ## 7.0.114
4
34
 
5
35
  ### Patch Changes