@zhivex-ai/openai 0.7.2 → 0.8.0
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/README.md +221 -11
- package/dist/index.d.ts +99 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +733 -194
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,32 +5,242 @@ OpenAI adapter for Zhivex AI SDK.
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
bun add @zhivex-ai/openai
|
|
8
|
+
bun add @zhivex-ai/openai @zhivex-ai/core zod
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## GPT-5.6
|
|
12
12
|
|
|
13
|
-
The adapter
|
|
13
|
+
The adapter recognizes the three GPT-5.6 model IDs and their shared SDK surface:
|
|
14
|
+
|
|
15
|
+
- `gpt-5.6-sol`, also available through the `gpt-5.6` alias
|
|
16
|
+
- `gpt-5.6-terra`
|
|
17
|
+
- `gpt-5.6-luna`
|
|
18
|
+
|
|
19
|
+
Upstream availability is currently a limited preview for approved organizations; there is no public enrollment or general-availability date. API and Codex access are approved separately. See [OpenAI's GPT-5.6 preview access notes](https://help.openai.com/en/articles/20001325-a-preview-of-gpt-5-6-sol-terra-and-luna).
|
|
20
|
+
|
|
21
|
+
GPT-5.6 uses the Responses API by default in this adapter. `providerOptions.apiMode` can force either endpoint for compatibility; `"chat"` cannot be combined with Responses-only tools or Multi-agent.
|
|
22
|
+
|
|
23
|
+
For prompts with more than 272K input tokens, OpenAI charges 2x the input rate and 1.5x the output rate for the entire request, across Sol, Terra, and Luna. See the official [Sol](https://developers.openai.com/api/docs/models/gpt-5.6-sol), [Terra](https://developers.openai.com/api/docs/models/gpt-5.6-terra), and [Luna](https://developers.openai.com/api/docs/models/gpt-5.6-luna) model pages.
|
|
14
24
|
|
|
15
25
|
```ts
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
26
|
+
import { generateText } from "@zhivex-ai/core";
|
|
27
|
+
import { createOpenAI } from "@zhivex-ai/openai";
|
|
18
28
|
|
|
19
29
|
const openai = createOpenAI({ apiKey: process.env.OPENAI_API_KEY });
|
|
20
30
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
31
|
+
const result = await generateText({
|
|
32
|
+
model: openai("gpt-5.6"),
|
|
33
|
+
prompt: "Design a resilient job queue.",
|
|
34
|
+
reasoning: {
|
|
35
|
+
effort: "max",
|
|
36
|
+
mode: "pro",
|
|
37
|
+
context: "all_turns"
|
|
38
|
+
},
|
|
39
|
+
providerOptions: {
|
|
40
|
+
apiMode: "responses",
|
|
41
|
+
safety_identifier: "user_8f2a"
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
console.log(result.text);
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
`reasoning.mode` (`"standard"` or `"pro"`) and `reasoning.context` (`"auto"`, `"current_turn"`, or `"all_turns"`) are Responses-only controls. Chat Completions continues to accept `reasoning.effort`, including `"max"`, but rejects `mode` and `context` instead of silently dropping them.
|
|
49
|
+
|
|
50
|
+
Multi-turn Responses normally continue through `previous_response_id`. With `providerOptions.store: false`, the adapter automatically requests `reasoning.encrypted_content` and replays the returned reasoning and output items instead, including across local tool-loop continuations.
|
|
51
|
+
|
|
52
|
+
Use `providerOptions.safety_identifier` for a stable, non-PII identifier for the end user. It is sent as an OpenAI request field; do not put email addresses, names, or other direct personal data in it.
|
|
53
|
+
|
|
54
|
+
## Prompt caching
|
|
55
|
+
|
|
56
|
+
OpenAI prompt cache controls pass through `providerOptions`. Explicit breakpoints can be attached directly to a cacheable text, image, or file part through `providerMetadata`, or inserted immediately after a cacheable part with `openAIPromptCacheBreakpoint()`.
|
|
57
|
+
|
|
58
|
+
```ts
|
|
59
|
+
import { generateText, user } from "@zhivex-ai/core";
|
|
60
|
+
import { createOpenAI, openAIPromptCacheBreakpoint } from "@zhivex-ai/openai";
|
|
61
|
+
|
|
62
|
+
const openai = createOpenAI();
|
|
24
63
|
|
|
25
64
|
await generateText({
|
|
26
|
-
model: openai("gpt-5.
|
|
27
|
-
|
|
65
|
+
model: openai("gpt-5.6-terra"),
|
|
66
|
+
messages: [
|
|
67
|
+
user([
|
|
68
|
+
{
|
|
69
|
+
type: "text",
|
|
70
|
+
text: "Reusable project context",
|
|
71
|
+
providerMetadata: {
|
|
72
|
+
openai: { prompt_cache_breakpoint: { mode: "explicit" } }
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{ type: "text", text: "Answer the current question." },
|
|
76
|
+
openAIPromptCacheBreakpoint()
|
|
77
|
+
])
|
|
78
|
+
],
|
|
79
|
+
providerOptions: {
|
|
80
|
+
prompt_cache_key: "project-docs-v1",
|
|
81
|
+
prompt_cache_options: { mode: "explicit", ttl: "30m" }
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
The helper marks the content block immediately before it. Placing it before any cacheable content throws `ConfigurationError`. `prompt_cache_retention` remains available for older model families, but it is a legacy alternative to `prompt_cache_options` and should not be combined with it for GPT-5.6.
|
|
87
|
+
|
|
88
|
+
For GPT-5.6, cache writes cost 1.25x the uncached input rate and cache reads receive a 90% discount. Normalized usage exposes these as `result.usage.cacheWriteTokens` and `result.usage.cachedInputTokens`; the raw response remains available when provider-specific details are needed. See [OpenAI's pricing and prompt caching notes](https://help.openai.com/en/articles/20001325-a-preview-of-gpt-5-6-sol-terra-and-luna).
|
|
89
|
+
|
|
90
|
+
## Programmatic Tool Calling
|
|
91
|
+
|
|
92
|
+
GPT-5.6 supports Programmatic Tool Calling through `openAIProgrammaticToolCallingTool()`. Wrap callable tools with `openAIProgrammaticTool()` to declare `allowed_callers` and an optional provider output schema. The adapter preserves the provider `caller` metadata across tool execution and continuation requests.
|
|
93
|
+
|
|
94
|
+
```ts
|
|
95
|
+
import { generateText, tool } from "@zhivex-ai/core";
|
|
96
|
+
import {
|
|
97
|
+
createOpenAI,
|
|
98
|
+
openAIProgrammaticTool,
|
|
99
|
+
openAIProgrammaticToolCallingTool
|
|
100
|
+
} from "@zhivex-ai/openai";
|
|
101
|
+
import { z } from "zod";
|
|
102
|
+
|
|
103
|
+
const openai = createOpenAI();
|
|
104
|
+
const inventory = openAIProgrammaticTool(
|
|
105
|
+
tool({
|
|
106
|
+
name: "inventory",
|
|
107
|
+
schema: z.object({ sku: z.string() }),
|
|
108
|
+
execute: ({ sku }) => ({ sku, available: 12 })
|
|
109
|
+
}),
|
|
110
|
+
{
|
|
111
|
+
allowedCallers: ["programmatic"],
|
|
112
|
+
outputSchema: z.object({ sku: z.string(), available: z.number() })
|
|
113
|
+
}
|
|
114
|
+
);
|
|
115
|
+
|
|
116
|
+
await generateText({
|
|
117
|
+
model: openai("gpt-5.6-luna"),
|
|
118
|
+
prompt: "Check the requested SKUs efficiently.",
|
|
119
|
+
maxSteps: 4,
|
|
28
120
|
tools: {
|
|
29
|
-
|
|
121
|
+
program: openAIProgrammaticToolCallingTool(),
|
|
122
|
+
inventory
|
|
30
123
|
}
|
|
31
124
|
});
|
|
32
125
|
```
|
|
33
126
|
|
|
127
|
+
Hosted Code Interpreter and remote MCP accept `allowed_callers`; `openAIHostedShellTool()`, `openAIShellTool()`, and `openAIApplyPatchTool()` expose the equivalent `allowedCallers` option.
|
|
128
|
+
|
|
129
|
+
## Multi-agent beta
|
|
130
|
+
|
|
131
|
+
Enable the GPT-5.6 Multi-agent beta with `providerOptions.multi_agent`. The adapter adds the `responses_multi_agent=v1` beta header automatically and returns the root agent's final answer from provider output.
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
const result = await generateText({
|
|
135
|
+
model: openai("gpt-5.6-sol"),
|
|
136
|
+
prompt: "Delegate research and implementation planning, then return one final plan.",
|
|
137
|
+
providerOptions: {
|
|
138
|
+
multi_agent: {
|
|
139
|
+
enabled: true,
|
|
140
|
+
max_concurrent_subagents: 3
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Agent tools and capabilities
|
|
147
|
+
|
|
148
|
+
GPT-5.6 supports Tool Search, Computer Use GA, hosted and local shell, apply patch, and skills. The adapter validates model/tool combinations before a request is sent. `openAIComputerTool()` exposes GA Computer Use with batched actions and app-owned screenshot execution; `openAIComputerUseTool()` remains available for the legacy preview shape. `openAIShellTool()` and `openAIApplyPatchTool()` are SDK-managed harnesses that require approval by default.
|
|
149
|
+
|
|
150
|
+
Current family gates are:
|
|
151
|
+
|
|
152
|
+
| Capability | Supported OpenAI model families |
|
|
153
|
+
| --- | --- |
|
|
154
|
+
| Tool Search | GPT-5.6; GPT-5.5 base; GPT-5.4 base and mini |
|
|
155
|
+
| Computer Use | GPT-5.6; GPT-5.5 base; GPT-5.4 base and mini |
|
|
156
|
+
| Shell | GPT-5.6; GPT-5.5 base and pro; GPT-5.4 base, mini, nano, and pro |
|
|
157
|
+
| Apply patch and skills | GPT-5.6; GPT-5.5 base; GPT-5.4 base, mini, and nano |
|
|
158
|
+
| Programmatic Tool Calling and Multi-agent | GPT-5.6 |
|
|
159
|
+
|
|
160
|
+
```ts
|
|
161
|
+
import { getAgentCapabilities } from "@zhivex-ai/core";
|
|
162
|
+
import {
|
|
163
|
+
openAIComputerTool,
|
|
164
|
+
openAIShellTool,
|
|
165
|
+
openAIToolSearchTool
|
|
166
|
+
} from "@zhivex-ai/openai";
|
|
167
|
+
|
|
168
|
+
const model = openai("gpt-5.6-sol");
|
|
169
|
+
console.log(getAgentCapabilities(model));
|
|
170
|
+
|
|
171
|
+
declare const computerHarness: {
|
|
172
|
+
execute(actions: unknown[]): Promise<void>;
|
|
173
|
+
screenshot(): Promise<string>;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
await generateText({
|
|
177
|
+
model,
|
|
178
|
+
prompt: "Inspect the project and the current browser state.",
|
|
179
|
+
maxSteps: 4,
|
|
180
|
+
toolApprovalPolicy: () => ({ approved: true }),
|
|
181
|
+
tools: {
|
|
182
|
+
search: openAIToolSearchTool(),
|
|
183
|
+
computer: openAIComputerTool({
|
|
184
|
+
async execute({ actions }) {
|
|
185
|
+
await computerHarness.execute(actions);
|
|
186
|
+
return {
|
|
187
|
+
type: "computer_screenshot",
|
|
188
|
+
image_url: await computerHarness.screenshot()
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
}),
|
|
192
|
+
shell: openAIShellTool({
|
|
193
|
+
rootDir: process.cwd(),
|
|
194
|
+
timeoutMs: 10_000,
|
|
195
|
+
environment: {
|
|
196
|
+
type: "local",
|
|
197
|
+
skills: [
|
|
198
|
+
{
|
|
199
|
+
name: "repo-conventions",
|
|
200
|
+
description: "Repository-specific implementation rules",
|
|
201
|
+
path: ".agents/skills/repo-conventions"
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
})
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Local and hosted shell are deliberately separate:
|
|
211
|
+
|
|
212
|
+
- `openAIShellTool()` runs commands through an app-owned local callback or process and accepts only `environment.type: "local"`.
|
|
213
|
+
- `openAIHostedShellTool()` sends `container_auto` or `container_reference` to OpenAI. It never re-executes hosted commands in the local process.
|
|
214
|
+
|
|
215
|
+
Hosted containers have no outbound network access by default. Enabling it requires both an organization allowlist and a request-level `network_policy`. The request may only narrow the organization policy:
|
|
216
|
+
|
|
217
|
+
```ts
|
|
218
|
+
import { openAIHostedShellTool } from "@zhivex-ai/openai";
|
|
219
|
+
|
|
220
|
+
const hostedShell = openAIHostedShellTool({
|
|
221
|
+
allowedCallers: ["direct", "programmatic"],
|
|
222
|
+
environment: {
|
|
223
|
+
type: "container_auto",
|
|
224
|
+
skills: [
|
|
225
|
+
{ type: "skill_reference", skill_id: "skill_123", version: "latest" }
|
|
226
|
+
],
|
|
227
|
+
network_policy: {
|
|
228
|
+
type: "allowlist",
|
|
229
|
+
allowed_domains: ["api.example.com"],
|
|
230
|
+
domain_secrets: [
|
|
231
|
+
{
|
|
232
|
+
domain: "api.example.com",
|
|
233
|
+
name: "API_TOKEN",
|
|
234
|
+
value: process.env.EXAMPLE_API_TOKEN!
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
Treat every allowlisted domain as an exfiltration boundary. Prompt injection can cause a shell workflow to send data or injected domain secrets outward, so allow only domains you trust and that an attacker cannot use as a data receiver. See OpenAI's [Hosted Shell network and safety guidance](https://developers.openai.com/api/docs/guides/tools-shell#network-access).
|
|
243
|
+
|
|
34
244
|
Repository and full documentation:
|
|
35
245
|
|
|
36
246
|
- <https://github.com/Zhivex/zhivex-ai-sdk>
|
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ type OpenAIRemoteMcpToolSharedConfig = {
|
|
|
47
47
|
authorization?: string;
|
|
48
48
|
require_approval?: OpenAIMcpRequireApproval;
|
|
49
49
|
allowed_tools?: OpenAIMcpAllowedTools;
|
|
50
|
+
allowed_callers?: OpenAIProgrammaticToolCaller[];
|
|
50
51
|
};
|
|
51
52
|
export type OpenAIRemoteMcpToolConfig = (OpenAIRemoteMcpToolSharedConfig & {
|
|
52
53
|
server_url: string;
|
|
@@ -60,12 +61,26 @@ export interface OpenAIComputerUseToolConfig {
|
|
|
60
61
|
display_width?: number;
|
|
61
62
|
display_height?: number;
|
|
62
63
|
}
|
|
64
|
+
export interface OpenAIComputerCallInput {
|
|
65
|
+
actions: JsonValue[];
|
|
66
|
+
}
|
|
67
|
+
export interface OpenAIComputerScreenshotOutput {
|
|
68
|
+
type: "computer_screenshot";
|
|
69
|
+
image_url: string;
|
|
70
|
+
detail?: "original";
|
|
71
|
+
}
|
|
72
|
+
export interface OpenAIComputerToolConfig {
|
|
73
|
+
name?: string;
|
|
74
|
+
requiresApproval?: boolean;
|
|
75
|
+
execute: (input: OpenAIComputerCallInput) => Promise<OpenAIComputerScreenshotOutput> | OpenAIComputerScreenshotOutput;
|
|
76
|
+
}
|
|
63
77
|
export interface OpenAICodeInterpreterToolConfig {
|
|
64
78
|
container: string | {
|
|
65
79
|
type: "auto";
|
|
66
80
|
memory_limit?: "1g" | "4g" | "16g" | "64g";
|
|
67
81
|
file_ids?: string[];
|
|
68
82
|
};
|
|
83
|
+
allowed_callers?: OpenAIProgrammaticToolCaller[];
|
|
69
84
|
}
|
|
70
85
|
export interface OpenAIShellToolConfig {
|
|
71
86
|
name?: string;
|
|
@@ -73,12 +88,56 @@ export interface OpenAIShellToolConfig {
|
|
|
73
88
|
rootDir?: string;
|
|
74
89
|
timeoutMs?: number;
|
|
75
90
|
maxOutputLength?: number;
|
|
76
|
-
|
|
91
|
+
allowedCallers?: OpenAIProgrammaticToolCaller[];
|
|
92
|
+
environment?: OpenAILocalShellEnvironment;
|
|
93
|
+
execute?: (input: OpenAIShellToolInput) => Promise<OpenAIShellToolOutput | OpenAIShellToolOutput[]> | OpenAIShellToolOutput | OpenAIShellToolOutput[];
|
|
94
|
+
}
|
|
95
|
+
export type OpenAIHostedShellEnvironment = {
|
|
96
|
+
type: "container_auto";
|
|
97
|
+
skills?: Array<{
|
|
98
|
+
type: "skill_reference";
|
|
99
|
+
skill_id: string;
|
|
100
|
+
version?: number | "latest";
|
|
101
|
+
}>;
|
|
102
|
+
network_policy?: OpenAIHostedShellNetworkPolicy;
|
|
103
|
+
} | {
|
|
104
|
+
type: "container_reference";
|
|
105
|
+
container_id: string;
|
|
106
|
+
skills?: Array<{
|
|
107
|
+
type: "skill_reference";
|
|
108
|
+
skill_id: string;
|
|
109
|
+
version?: number | "latest";
|
|
110
|
+
}>;
|
|
111
|
+
network_policy?: OpenAIHostedShellNetworkPolicy;
|
|
112
|
+
};
|
|
113
|
+
export interface OpenAIHostedShellNetworkPolicy {
|
|
114
|
+
type: "allowlist";
|
|
115
|
+
allowed_domains: string[];
|
|
116
|
+
domain_secrets?: Array<{
|
|
117
|
+
domain: string;
|
|
118
|
+
name: string;
|
|
119
|
+
value: string;
|
|
120
|
+
}>;
|
|
121
|
+
}
|
|
122
|
+
export interface OpenAILocalShellEnvironment {
|
|
123
|
+
type: "local";
|
|
124
|
+
skills?: Array<{
|
|
125
|
+
name: string;
|
|
126
|
+
description?: string;
|
|
127
|
+
path: string;
|
|
128
|
+
}>;
|
|
129
|
+
}
|
|
130
|
+
export type OpenAIShellEnvironment = OpenAIHostedShellEnvironment | OpenAILocalShellEnvironment;
|
|
131
|
+
export interface OpenAIHostedShellToolConfig {
|
|
132
|
+
environment: OpenAIHostedShellEnvironment;
|
|
133
|
+
allowedCallers?: OpenAIProgrammaticToolCaller[];
|
|
77
134
|
}
|
|
78
135
|
export interface OpenAIShellToolInput {
|
|
79
136
|
command?: string;
|
|
80
137
|
action?: {
|
|
81
138
|
command?: string;
|
|
139
|
+
commands?: string[];
|
|
140
|
+
timeout_ms?: number;
|
|
82
141
|
max_output_length?: number;
|
|
83
142
|
maxOutputLength?: number;
|
|
84
143
|
};
|
|
@@ -91,6 +150,7 @@ export interface OpenAIShellToolOutput {
|
|
|
91
150
|
outcome: {
|
|
92
151
|
type: "exit" | "timeout";
|
|
93
152
|
exitCode?: number;
|
|
153
|
+
exit_code?: number;
|
|
94
154
|
};
|
|
95
155
|
maxOutputLength?: number;
|
|
96
156
|
}
|
|
@@ -102,6 +162,7 @@ export interface OpenAIApplyPatchOperation {
|
|
|
102
162
|
export interface OpenAIApplyPatchToolConfig {
|
|
103
163
|
name?: string;
|
|
104
164
|
rootDir?: string;
|
|
165
|
+
allowedCallers?: OpenAIProgrammaticToolCaller[];
|
|
105
166
|
applyOperation: (operation: OpenAIApplyPatchOperation) => Promise<OpenAIApplyPatchToolOutput> | OpenAIApplyPatchToolOutput;
|
|
106
167
|
}
|
|
107
168
|
export interface OpenAIApplyPatchToolInput {
|
|
@@ -114,6 +175,19 @@ export interface OpenAIApplyPatchToolOutput {
|
|
|
114
175
|
export interface OpenAIToolSearchToolConfig {
|
|
115
176
|
[key: string]: unknown;
|
|
116
177
|
}
|
|
178
|
+
export type OpenAIProgrammaticToolCaller = "direct" | "programmatic";
|
|
179
|
+
export interface OpenAIProgrammaticToolOptions {
|
|
180
|
+
allowedCallers?: OpenAIProgrammaticToolCaller[];
|
|
181
|
+
outputSchema?: z.ZodTypeAny;
|
|
182
|
+
}
|
|
183
|
+
export interface OpenAIPromptCacheOptions {
|
|
184
|
+
mode?: "implicit" | "explicit";
|
|
185
|
+
ttl?: "30m";
|
|
186
|
+
}
|
|
187
|
+
export interface OpenAIMultiAgentOptions {
|
|
188
|
+
enabled: boolean;
|
|
189
|
+
max_concurrent_subagents?: number;
|
|
190
|
+
}
|
|
117
191
|
export interface OpenAIMcpApprovalRequest {
|
|
118
192
|
type: "mcp_approval_request";
|
|
119
193
|
id: string;
|
|
@@ -145,16 +219,34 @@ export interface OpenAIMcpListTools {
|
|
|
145
219
|
server_label?: string;
|
|
146
220
|
tools?: JsonValue;
|
|
147
221
|
}
|
|
222
|
+
export interface OpenAIPromptCacheBreakpointData {
|
|
223
|
+
type: "prompt_cache_breakpoint";
|
|
224
|
+
mode: "explicit";
|
|
225
|
+
}
|
|
226
|
+
export interface OpenAIResponsesOutputData {
|
|
227
|
+
type: "responses_output";
|
|
228
|
+
items: JsonValue[];
|
|
229
|
+
}
|
|
148
230
|
export type OpenAIProviderData = {
|
|
149
231
|
responseId: string;
|
|
150
|
-
} | OpenAIMcpApprovalRequest | OpenAIMcpApprovalResponse | OpenAIMcpCall | OpenAIMcpListTools;
|
|
232
|
+
} | OpenAIMcpApprovalRequest | OpenAIMcpApprovalResponse | OpenAIMcpCall | OpenAIMcpListTools | OpenAIPromptCacheBreakpointData | OpenAIResponsesOutputData;
|
|
151
233
|
export interface OpenAILanguageModelOptions {
|
|
234
|
+
apiMode?: "auto" | "chat" | "responses";
|
|
235
|
+
headers?: Record<string, string>;
|
|
236
|
+
betas?: string[];
|
|
152
237
|
top_p?: number;
|
|
153
238
|
frequency_penalty?: number;
|
|
154
239
|
presence_penalty?: number;
|
|
155
240
|
stop?: string | string[];
|
|
156
241
|
seed?: number;
|
|
157
242
|
user?: string;
|
|
243
|
+
safety_identifier?: string;
|
|
244
|
+
prompt_cache_key?: string;
|
|
245
|
+
prompt_cache_options?: OpenAIPromptCacheOptions;
|
|
246
|
+
prompt_cache_retention?: "in_memory" | "24h";
|
|
247
|
+
multi_agent?: OpenAIMultiAgentOptions;
|
|
248
|
+
include?: string[];
|
|
249
|
+
store?: boolean;
|
|
158
250
|
tool_choice?: "none" | "auto" | "required" | {
|
|
159
251
|
type: "function";
|
|
160
252
|
function: {
|
|
@@ -170,9 +262,14 @@ export declare const openAIWebSearchTool: (config?: OpenAIWebSearchToolConfig) =
|
|
|
170
262
|
export declare const openAIFileSearchTool: (config?: OpenAIFileSearchToolConfig) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
|
|
171
263
|
export declare const openAICodeInterpreterTool: (config: OpenAICodeInterpreterToolConfig) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
|
|
172
264
|
export declare const openAIToolSearchTool: (config?: OpenAIToolSearchToolConfig) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
|
|
265
|
+
export declare const openAIProgrammaticToolCallingTool: () => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
|
|
266
|
+
export declare const openAIProgrammaticTool: <TSchema extends z.ZodTypeAny, TResult>(definition: ToolDefinition<TSchema, TResult>, options?: OpenAIProgrammaticToolOptions) => ToolDefinition<TSchema, TResult>;
|
|
173
267
|
export declare const openAIRemoteMcpTool: (config: OpenAIRemoteMcpToolConfig) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
|
|
174
268
|
export declare const openAIMcpApprovalResponse: (response: Omit<OpenAIMcpApprovalResponse, "type">) => import("@zhivex-ai/core").ContentPart;
|
|
269
|
+
export declare const openAIPromptCacheBreakpoint: () => import("@zhivex-ai/core").ContentPart;
|
|
175
270
|
export declare const openAIComputerUseTool: (config: OpenAIComputerUseToolConfig) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
|
|
271
|
+
export declare const openAIComputerTool: (config: OpenAIComputerToolConfig) => ToolDefinition<z.ZodType<OpenAIComputerCallInput>, JsonValue>;
|
|
272
|
+
export declare const openAIHostedShellTool: (config: OpenAIHostedShellToolConfig) => import("@zhivex-ai/core").HostedToolDefinition<JsonValue>;
|
|
176
273
|
export declare const openAIShellTool: (config?: OpenAIShellToolConfig) => ToolDefinition<z.ZodType<OpenAIShellToolInput>, JsonValue>;
|
|
177
274
|
export declare const openAIApplyPatchTool: (config: OpenAIApplyPatchToolConfig) => ToolDefinition<z.ZodType<OpenAIApplyPatchToolInput>, JsonValue>;
|
|
178
275
|
export {};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,CAAC,EAAE,MAAM,KAAK,CAAC;AAEtC,OAAO,EAsBL,KAAK,uBAAuB,EAQ5B,KAAK,SAAS,EAKd,KAAK,eAAe,EAEpB,KAAK,yBAAyB,EAO9B,KAAK,cAAc,EAGpB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yBAAyB,CAAC,EAAE,yBAAyB,CAAC;CACvD;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,CAAC,EAAE,YAAY,GAAG,uBAAuB,CAAC;IAC9C,mBAAmB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IACp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