ai 6.0.0-beta.70 → 6.0.0-beta.71
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/CHANGELOG.md +6 -0
 - package/dist/index.d.mts +32 -7
 - package/dist/index.d.ts +32 -7
 - package/dist/index.js +11 -3
 - package/dist/index.js.map +1 -1
 - package/dist/index.mjs +11 -3
 - package/dist/index.mjs.map +1 -1
 - package/dist/internal/index.js +1 -1
 - package/dist/internal/index.mjs +1 -1
 - package/package.json +1 -1
 
    
        package/dist/index.mjs
    CHANGED
    
    | 
         @@ -775,7 +775,7 @@ import { 
     | 
|
| 
       775 
775 
     | 
    
         
             
            } from "@ai-sdk/provider-utils";
         
     | 
| 
       776 
776 
     | 
    
         | 
| 
       777 
777 
     | 
    
         
             
            // src/version.ts
         
     | 
| 
       778 
     | 
    
         
            -
            var VERSION = true ? "6.0.0-beta. 
     | 
| 
      
 778 
     | 
    
         
            +
            var VERSION = true ? "6.0.0-beta.71" : "0.0.0-test";
         
     | 
| 
       779 
779 
     | 
    
         | 
| 
       780 
780 
     | 
    
         
             
            // src/util/download/download.ts
         
     | 
| 
       781 
781 
     | 
    
         
             
            var download = async ({ url }) => {
         
     | 
| 
         @@ -2559,7 +2559,8 @@ async function generateText({ 
     | 
|
| 
       2559 
2559 
     | 
    
         
             
              abortSignal,
         
     | 
| 
       2560 
2560 
     | 
    
         
             
              headers,
         
     | 
| 
       2561 
2561 
     | 
    
         
             
              stopWhen = stepCountIs(1),
         
     | 
| 
       2562 
     | 
    
         
            -
              experimental_output 
     | 
| 
      
 2562 
     | 
    
         
            +
              experimental_output,
         
     | 
| 
      
 2563 
     | 
    
         
            +
              output = experimental_output,
         
     | 
| 
       2563 
2564 
     | 
    
         
             
              experimental_telemetry: telemetry,
         
     | 
| 
       2564 
2565 
     | 
    
         
             
              providerOptions,
         
     | 
| 
       2565 
2566 
     | 
    
         
             
              experimental_activeTools,
         
     | 
| 
         @@ -3070,6 +3071,9 @@ var DefaultGenerateTextResult = class { 
     | 
|
| 
       3070 
3071 
     | 
    
         
             
                return this.finalStep.usage;
         
     | 
| 
       3071 
3072 
     | 
    
         
             
              }
         
     | 
| 
       3072 
3073 
     | 
    
         
             
              get experimental_output() {
         
     | 
| 
      
 3074 
     | 
    
         
            +
                return this.output;
         
     | 
| 
      
 3075 
     | 
    
         
            +
              }
         
     | 
| 
      
 3076 
     | 
    
         
            +
              get output() {
         
     | 
| 
       3073 
3077 
     | 
    
         
             
                if (this.resolvedOutput == null) {
         
     | 
| 
       3074 
3078 
     | 
    
         
             
                  throw new NoOutputSpecifiedError();
         
     | 
| 
       3075 
3079 
     | 
    
         
             
                }
         
     | 
| 
         @@ -4856,7 +4860,8 @@ function streamText({ 
     | 
|
| 
       4856 
4860 
     | 
    
         
             
              abortSignal,
         
     | 
| 
       4857 
4861 
     | 
    
         
             
              headers,
         
     | 
| 
       4858 
4862 
     | 
    
         
             
              stopWhen = stepCountIs(1),
         
     | 
| 
       4859 
     | 
    
         
            -
              experimental_output 
     | 
| 
      
 4863 
     | 
    
         
            +
              experimental_output,
         
     | 
| 
      
 4864 
     | 
    
         
            +
              output = experimental_output,
         
     | 
| 
       4860 
4865 
     | 
    
         
             
              experimental_telemetry: telemetry,
         
     | 
| 
       4861 
4866 
     | 
    
         
             
              prepareStep,
         
     | 
| 
       4862 
4867 
     | 
    
         
             
              providerOptions,
         
     | 
| 
         @@ -5907,6 +5912,9 @@ var DefaultStreamTextResult = class { 
     | 
|
| 
       5907 
5912 
     | 
    
         
             
                }
         
     | 
| 
       5908 
5913 
     | 
    
         
             
              }
         
     | 
| 
       5909 
5914 
     | 
    
         
             
              get experimental_partialOutputStream() {
         
     | 
| 
      
 5915 
     | 
    
         
            +
                return this.partialOutputStream;
         
     | 
| 
      
 5916 
     | 
    
         
            +
              }
         
     | 
| 
      
 5917 
     | 
    
         
            +
              get partialOutputStream() {
         
     | 
| 
       5910 
5918 
     | 
    
         
             
                if (this.output == null) {
         
     | 
| 
       5911 
5919 
     | 
    
         
             
                  throw new NoOutputSpecifiedError();
         
     | 
| 
       5912 
5920 
     | 
    
         
             
                }
         
     |