You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@ai-sdk/openai

Package Overview
Dependencies
Maintainers
3
Versions
483
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/openai - npm Package Compare versions

Comparing version
4.0.0-beta.9
to
4.0.0-beta.10
+1
-18
dist/index.d.mts

@@ -607,6 +607,2 @@ import * as _ai_sdk_provider from '@ai-sdk/provider';

/**
* The name of the custom tool, used to identify it in the API.
*/
name: string;
/**
* An optional description of what the tool does.

@@ -679,3 +675,2 @@ */

*
* @param name - The name of the custom tool.
* @param description - An optional description of the tool.

@@ -882,15 +877,3 @@ * @param format - The output format constraint (grammar type, syntax, and definition).

city?: string;
region
/**
* Local shell is a tool that allows agents to run shell commands locally
* on a machine you or the user provides.
*
* Supported models: `gpt-5-codex`
*/
? /**
* Local shell is a tool that allows agents to run shell commands locally
* on a machine you or the user provides.
*
* Supported models: `gpt-5-codex`
*/: string;
region?: string;
timezone?: string;

@@ -897,0 +880,0 @@ };

@@ -607,6 +607,2 @@ import * as _ai_sdk_provider from '@ai-sdk/provider';

/**
* The name of the custom tool, used to identify it in the API.
*/
name: string;
/**
* An optional description of what the tool does.

@@ -679,3 +675,2 @@ */

*
* @param name - The name of the custom tool.
* @param description - An optional description of the tool.

@@ -882,15 +877,3 @@ * @param format - The output format constraint (grammar type, syntax, and definition).

city?: string;
region
/**
* Local shell is a tool that allows agents to run shell commands locally
* on a machine you or the user provides.
*
* Supported models: `gpt-5-codex`
*/
? /**
* Local shell is a tool that allows agents to run shell commands locally
* on a machine you or the user provides.
*
* Supported models: `gpt-5-codex`
*/: string;
region?: string;
timezone?: string;

@@ -897,0 +880,0 @@ };

+2
-2
{
"name": "@ai-sdk/openai",
"version": "4.0.0-beta.9",
"version": "4.0.0-beta.10",
"license": "Apache-2.0",

@@ -40,3 +40,3 @@ "sideEffects": false,

"@ai-sdk/provider": "4.0.0-beta.2",
"@ai-sdk/provider-utils": "5.0.0-beta.3"
"@ai-sdk/provider-utils": "5.0.0-beta.4"
},

@@ -43,0 +43,0 @@ "devDependencies": {

@@ -28,3 +28,2 @@ import { applyPatch } from './tool/apply-patch';

*
* @param name - The name of the custom tool.
* @param description - An optional description of the tool.

@@ -31,0 +30,0 @@ * @param format - The output format constraint (grammar type, syntax, and definition).

@@ -252,7 +252,7 @@ import {

type: 'custom',
name: args.name,
name: tool.name,
description: args.description,
format: args.format,
});
resolvedCustomProviderToolNames.add(args.name);
resolvedCustomProviderToolNames.add(tool.name);
break;

@@ -259,0 +259,0 @@ }

@@ -11,3 +11,2 @@ import {

z.object({
name: z.string(),
description: z.string().optional(),

@@ -36,7 +35,2 @@ format: z

/**
* The name of the custom tool, used to identify it in the API.
*/
name: string;
/**
* An optional description of what the tool does.

@@ -43,0 +37,0 @@ */

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display