@ai-sdk/open-responses 2.0.55 → 2.0.57

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.
@@ -97,7 +97,7 @@ You can use the following optional settings to customize the Open Responses prov
97
97
 
98
98
  - **userAgentSuffix** _string_
99
99
 
100
- Overrides the default `ai-sdk/open-responses/<version>` user-agent suffix.
100
+ Overrides the default `ai-sdk-open-responses/<version>` user-agent suffix.
101
101
 
102
102
  ### Endpoint Examples
103
103
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/open-responses",
3
- "version": "2.0.55",
3
+ "version": "2.0.57",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -29,14 +29,14 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/provider": "4.0.19",
33
- "@ai-sdk/provider-utils": "5.0.50"
32
+ "@ai-sdk/provider": "4.0.20",
33
+ "@ai-sdk/provider-utils": "5.0.52"
34
34
  },
35
35
  "devDependencies": {
36
- "@ai-sdk/test-server": "2.0.2",
36
+ "@ai-sdk/test-server": "2.0.3",
37
37
  "@types/node": "22.19.19",
38
38
  "@vercel/ai-tsconfig": "0.0.0",
39
- "tsup": "^8.5.1",
39
+ "tsdown": "^0.23.0",
40
40
  "typescript": "5.8.3",
41
41
  "zod": "3.25.76"
42
42
  },
@@ -63,9 +63,9 @@
63
63
  "ai"
64
64
  ],
65
65
  "scripts": {
66
- "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
67
- "build:watch": "pnpm clean && tsup --watch",
68
- "clean": "del-cli dist docs *.tsbuildinfo",
66
+ "build": "pnpm clean && tsdown",
67
+ "build:watch": "pnpm clean && tsdown --watch",
68
+ "clean": "del-cli docs *.tsbuildinfo",
69
69
  "type-check": "tsc --build",
70
70
  "test": "pnpm test:node && pnpm test:edge",
71
71
  "test:update": "pnpm test:node -u",
@@ -90,7 +90,7 @@ export interface OpenResponsesProviderSettings {
90
90
  /**
91
91
  * User-agent suffix for requests.
92
92
  *
93
- * @default `ai-sdk/open-responses/<version>`
93
+ * @default `ai-sdk-open-responses/<version>`
94
94
  */
95
95
  userAgentSuffix?: string;
96
96
 
@@ -123,7 +123,7 @@ export function createOpenResponses(
123
123
  ? options.headers()
124
124
  : options.headers),
125
125
  },
126
- options.userAgentSuffix ?? `ai-sdk/open-responses/${VERSION}`,
126
+ options.userAgentSuffix ?? `ai-sdk-open-responses/${VERSION}`,
127
127
  );
128
128
 
129
129
  const createResponsesModel = (modelId: string) => {