supercompat 4.0.3 → 4.1.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.
@@ -5,7 +5,7 @@ import { Mistral } from '@mistralai/mistralai';
5
5
  import Anthropic from '@anthropic-ai/sdk';
6
6
  import { GoogleGenAI } from '@google/genai';
7
7
  import { OpenRouter } from '@openrouter/sdk';
8
- import { MessageWithRun, StorageAdapterArgs, RequestHandler, RunAdapterWithAssistant } from '../types/index.cjs';
8
+ import { AssistantsRunBody, ResponsesRunBody, MessageWithRun, RunAdapterBody, GetOpenaiAssistantFn, StorageAdapterArgs, RequestHandler, RunAdapterWithAssistant } from '../types/index.cjs';
9
9
  import { PrismaClient } from '@prisma/client';
10
10
 
11
11
  declare const groqClientAdapter: ({ groq, }: {
@@ -67,7 +67,7 @@ declare const azureOpenaiClientAdapter: ({ azureOpenai, }: {
67
67
  * const client = supercompat({
68
68
  * client: azureAiProjectClientAdapter({ azureAiProject }),
69
69
  * storage: azureResponsesStorageAdapter(),
70
- * runAdapter: responsesRunAdapter({ ... })
70
+ * runAdapter: azureResponsesRunAdapter({ ... })
71
71
  * })
72
72
  * ```
73
73
  */
@@ -199,42 +199,19 @@ declare const openRouterClientAdapter: ({ openRouter, provider, }: {
199
199
  };
200
200
 
201
201
  declare const completionsRunAdapter: () => {
202
- handleRun: ({ client, run, onEvent, getMessages, }: {
202
+ handleRun: ({ client, body, onEvent, getMessages, }: {
203
203
  client: OpenAI;
204
- run: OpenAI.Beta.Threads.Run;
204
+ body: AssistantsRunBody | ResponsesRunBody;
205
205
  onEvent: (event: OpenAI.Beta.AssistantStreamEvent) => Promise<any>;
206
- getMessages: () => Promise<MessageWithRun[]>;
206
+ getMessages?: () => Promise<MessageWithRun[]>;
207
207
  }) => Promise<any>;
208
208
  };
209
209
 
210
- type Args = {
211
- select?: {
212
- id?: boolean;
213
- };
214
- };
215
- declare const responsesRunAdapter: ({ getOpenaiAssistant: getDirectOpenaiAssistant, waitUntil }: {
216
- getOpenaiAssistant: (args?: Args) => Promise<OpenAI.Beta.Assistants.Assistant> | OpenAI.Beta.Assistants.Assistant | Pick<OpenAI.Beta.Assistants.Assistant, "id"> | Promise<Pick<OpenAI.Beta.Assistants.Assistant, "id">>;
217
- waitUntil?: <T>(p: Promise<T>) => void | Promise<void>;
218
- }) => {
219
- handleRun: ({ client, threadId, response, onEvent, }: {
220
- client: OpenAI;
221
- threadId: string;
222
- response: AsyncIterable<any>;
223
- onEvent: (event: OpenAI.Beta.AssistantStreamEvent) => Promise<any>;
224
- }) => Promise<void>;
225
- getOpenaiAssistant: ({ select: { id } }?: Args) => Promise<OpenAI.Beta.Assistants.Assistant | {
226
- id: string;
227
- }>;
228
- };
229
-
230
210
  declare const azureAgentsRunAdapter: ({ azureAiProject, }: {
231
211
  azureAiProject: AIProjectClient;
232
212
  }) => {
233
- handleRun: ({ threadId, assistantId, instructions, tools, onEvent, }: {
234
- threadId: string;
235
- assistantId: string;
236
- instructions?: string;
237
- tools?: any[];
213
+ handleRun: ({ body, onEvent, }: {
214
+ body: RunAdapterBody;
238
215
  onEvent: (event: OpenAI.Beta.AssistantStreamEvent) => Promise<any>;
239
216
  }) => Promise<void>;
240
217
  };
@@ -244,9 +221,9 @@ declare const perplexityAgentRunAdapter: ({ apiKey, baseURL, preset, }: {
244
221
  baseURL?: string;
245
222
  preset?: string;
246
223
  }) => {
247
- handleRun: ({ run, onEvent, getMessages, }: {
224
+ handleRun: ({ body, onEvent, getMessages, }: {
248
225
  client: OpenAI;
249
- run: OpenAI.Beta.Threads.Run;
226
+ body: RunAdapterBody;
250
227
  onEvent: (event: OpenAI.Beta.AssistantStreamEvent) => Promise<any>;
251
228
  getMessages: () => Promise<MessageWithRun[]>;
252
229
  }) => Promise<any>;
@@ -257,36 +234,43 @@ declare const perplexityAgentRunAdapter: ({ apiKey, baseURL, preset, }: {
257
234
  *
258
235
  * Calls OpenAI's native Responses API directly and streams events through.
259
236
  * Supports all built-in tools (web_search, file_search, code_interpreter, computer_use).
237
+ *
238
+ * When used with openaiResponsesStorageAdapter (Assistants surface), pass getOpenaiAssistant
239
+ * so the storage adapter can resolve assistant data for building the request body.
260
240
  */
261
241
 
262
- type ResponsesRunEvent$4 = {
263
- type: string;
264
- [key: string]: any;
265
- };
266
- type HandleArgs$4 = {
267
- requestBody: any;
268
- onEvent: (event: ResponsesRunEvent$4) => Promise<void>;
269
- };
270
- declare const openaiResponsesRunAdapter: ({ openai, }: {
271
- openai: OpenAI;
242
+ declare const openaiResponsesRunAdapter: ({ getOpenaiAssistant, waitUntil, }?: {
243
+ getOpenaiAssistant?: GetOpenaiAssistantFn;
244
+ waitUntil?: <T>(p: Promise<T>) => void | Promise<void>;
272
245
  }) => {
246
+ handleRun: ({ client, body, onEvent, }: {
247
+ client: OpenAI;
248
+ body: RunAdapterBody;
249
+ onEvent: (event: OpenAI.Responses.ResponseStreamEvent) => Promise<void>;
250
+ }) => Promise<void>;
251
+ getOpenaiAssistant?: GetOpenaiAssistantFn | undefined;
273
252
  type: "responses-openai";
274
- handleRun: ({ requestBody, onEvent, }: HandleArgs$4) => Promise<void>;
275
253
  };
276
254
 
277
- type ResponsesRunEvent$3 = {
278
- type: string;
279
- [key: string]: any;
280
- };
281
- type HandleArgs$3 = {
282
- requestBody: any;
283
- onEvent: (event: ResponsesRunEvent$3) => Promise<void>;
284
- };
285
- declare const azureResponsesRunAdapter: ({ azureAiProject, }: {
255
+ /**
256
+ * Azure Responses run adapter for the Responses API surface.
257
+ *
258
+ * Calls Azure's native Responses API directly and streams events through.
259
+ * Uses AIProjectClient.getOpenAIClient() to obtain an authenticated OpenAI client,
260
+ * since the supercompat client wrapper doesn't handle Azure auth for direct API calls.
261
+ */
262
+
263
+ declare const azureResponsesRunAdapter: ({ azureAiProject, getOpenaiAssistant, }: {
286
264
  azureAiProject: AIProjectClient;
265
+ getOpenaiAssistant?: GetOpenaiAssistantFn;
287
266
  }) => {
267
+ handleRun: ({ body, onEvent, }: {
268
+ client?: OpenAI;
269
+ body: RunAdapterBody;
270
+ onEvent: (event: OpenAI.Responses.ResponseStreamEvent) => Promise<void>;
271
+ }) => Promise<void>;
272
+ getOpenaiAssistant?: GetOpenaiAssistantFn | undefined;
288
273
  type: "responses-azure";
289
- handleRun: ({ requestBody, onEvent, }: HandleArgs$3) => Promise<void>;
290
274
  };
291
275
 
292
276
  /**
@@ -304,14 +288,14 @@ type ResponsesRunEvent$2 = {
304
288
  [key: string]: any;
305
289
  };
306
290
  type HandleArgs$2 = {
307
- requestBody: any;
291
+ body: ResponsesRunBody;
308
292
  onEvent: (event: ResponsesRunEvent$2) => Promise<void>;
309
293
  };
310
294
  declare const anthropicRunAdapter: ({ anthropic, }: {
311
295
  anthropic: Anthropic;
312
296
  }) => {
313
297
  type: "responses-anthropic";
314
- handleRun: ({ requestBody, onEvent, }: HandleArgs$2) => Promise<void>;
298
+ handleRun: ({ body: requestBody, onEvent, }: HandleArgs$2) => Promise<void>;
315
299
  };
316
300
 
317
301
  /**
@@ -328,7 +312,7 @@ type ResponsesRunEvent$1 = {
328
312
  [key: string]: any;
329
313
  };
330
314
  type HandleArgs$1 = {
331
- requestBody: any;
315
+ body: ResponsesRunBody;
332
316
  onEvent: (event: ResponsesRunEvent$1) => Promise<void>;
333
317
  agentId?: string;
334
318
  threadId?: string;
@@ -337,7 +321,7 @@ declare const azureAgentsResponsesRunAdapter: ({ azureAiProject, }: {
337
321
  azureAiProject: AIProjectClient;
338
322
  }) => {
339
323
  type: "responses-azure-agents";
340
- handleRun: ({ requestBody, onEvent, agentId: existingAgentId, threadId: existingThreadId, }: HandleArgs$1) => Promise<void>;
324
+ handleRun: ({ body: requestBody, onEvent, agentId: existingAgentId, threadId: existingThreadId, }: HandleArgs$1) => Promise<void>;
341
325
  };
342
326
 
343
327
  /**
@@ -354,14 +338,14 @@ type ResponsesRunEvent = {
354
338
  [key: string]: any;
355
339
  };
356
340
  type HandleArgs = {
357
- requestBody: any;
341
+ body: ResponsesRunBody;
358
342
  onEvent: (event: ResponsesRunEvent) => Promise<void>;
359
343
  };
360
344
  declare const geminiRunAdapter: ({ google, }: {
361
345
  google: GoogleGenAI;
362
346
  }) => {
363
347
  type: "responses-gemini";
364
- handleRun: ({ requestBody, onEvent, }: HandleArgs) => Promise<void>;
348
+ handleRun: ({ body: requestBody, onEvent, }: HandleArgs) => Promise<void>;
365
349
  };
366
350
 
367
351
  declare const prismaStorageAdapter: ({ prisma, }: {
@@ -397,7 +381,7 @@ type MethodHandlers$1 = {
397
381
  type ResponsesStorageAdapterArgs = StorageAdapterArgs & {
398
382
  runAdapter: RunAdapterWithAssistant;
399
383
  };
400
- declare const responsesStorageAdapter: ({ deferItemCreationUntilRun, }?: {
384
+ declare const openaiResponsesStorageAdapter: ({ deferItemCreationUntilRun, }?: {
401
385
  deferItemCreationUntilRun?: boolean;
402
386
  }) => ((args: ResponsesStorageAdapterArgs) => {
403
387
  requestHandlers: Record<string, MethodHandlers$1>;
@@ -495,7 +479,7 @@ type AzureResponsesStorageAdapterArgs = StorageAdapterArgs & {
495
479
  * const client = supercompat({
496
480
  * client: azureAiProjectClientAdapter({ azureAiProject }),
497
481
  * storage: azureResponsesStorageAdapter(),
498
- * runAdapter: responsesRunAdapter({ getOpenaiAssistant: () => assistant }),
482
+ * runAdapter: azureResponsesRunAdapter({ getOpenaiAssistant: () => assistant }),
499
483
  * })
500
484
  * ```
501
485
  */
@@ -544,4 +528,4 @@ declare const serializeCompatComputerCall: ({ item, }: {
544
528
  };
545
529
  };
546
530
 
547
- export { anthropicClientAdapter, anthropicRunAdapter, azureAgentsResponsesRunAdapter, azureAgentsRunAdapter, azureAgentsStorageAdapter, azureAiProjectClientAdapter, azureOpenaiClientAdapter, azureResponsesRunAdapter, azureResponsesStorageAdapter, completionsRunAdapter, geminiRunAdapter, getComputerCallActions, googleClientAdapter, groqClientAdapter, humirisClientAdapter, isOpenaiComputerUseModel, memoryStorageAdapter, mistralClientAdapter, ollamaClientAdapter, openRouterClientAdapter, openaiClientAdapter, openaiResponsesRunAdapter, perplexityAgentRunAdapter, perplexityClientAdapter, prismaStorageAdapter, responsesRunAdapter, responsesStorageAdapter, serializeCompatComputerCall, serializeComputerUseTool, togetherClientAdapter };
531
+ export { anthropicClientAdapter, anthropicRunAdapter, azureAgentsResponsesRunAdapter, azureAgentsRunAdapter, azureAgentsStorageAdapter, azureAiProjectClientAdapter, azureOpenaiClientAdapter, azureResponsesRunAdapter, azureResponsesStorageAdapter, completionsRunAdapter, geminiRunAdapter, getComputerCallActions, googleClientAdapter, groqClientAdapter, humirisClientAdapter, isOpenaiComputerUseModel, memoryStorageAdapter, mistralClientAdapter, ollamaClientAdapter, openRouterClientAdapter, openaiClientAdapter, openaiResponsesRunAdapter, openaiResponsesStorageAdapter, perplexityAgentRunAdapter, perplexityClientAdapter, prismaStorageAdapter, serializeCompatComputerCall, serializeComputerUseTool, togetherClientAdapter };
@@ -5,7 +5,7 @@ import { Mistral } from '@mistralai/mistralai';
5
5
  import Anthropic from '@anthropic-ai/sdk';
6
6
  import { GoogleGenAI } from '@google/genai';
7
7
  import { OpenRouter } from '@openrouter/sdk';
8
- import { MessageWithRun, StorageAdapterArgs, RequestHandler, RunAdapterWithAssistant } from '../types/index.js';
8
+ import { AssistantsRunBody, ResponsesRunBody, MessageWithRun, RunAdapterBody, GetOpenaiAssistantFn, StorageAdapterArgs, RequestHandler, RunAdapterWithAssistant } from '../types/index.js';
9
9
  import { PrismaClient } from '@prisma/client';
10
10
 
11
11
  declare const groqClientAdapter: ({ groq, }: {
@@ -67,7 +67,7 @@ declare const azureOpenaiClientAdapter: ({ azureOpenai, }: {
67
67
  * const client = supercompat({
68
68
  * client: azureAiProjectClientAdapter({ azureAiProject }),
69
69
  * storage: azureResponsesStorageAdapter(),
70
- * runAdapter: responsesRunAdapter({ ... })
70
+ * runAdapter: azureResponsesRunAdapter({ ... })
71
71
  * })
72
72
  * ```
73
73
  */
@@ -199,42 +199,19 @@ declare const openRouterClientAdapter: ({ openRouter, provider, }: {
199
199
  };
200
200
 
201
201
  declare const completionsRunAdapter: () => {
202
- handleRun: ({ client, run, onEvent, getMessages, }: {
202
+ handleRun: ({ client, body, onEvent, getMessages, }: {
203
203
  client: OpenAI;
204
- run: OpenAI.Beta.Threads.Run;
204
+ body: AssistantsRunBody | ResponsesRunBody;
205
205
  onEvent: (event: OpenAI.Beta.AssistantStreamEvent) => Promise<any>;
206
- getMessages: () => Promise<MessageWithRun[]>;
206
+ getMessages?: () => Promise<MessageWithRun[]>;
207
207
  }) => Promise<any>;
208
208
  };
209
209
 
210
- type Args = {
211
- select?: {
212
- id?: boolean;
213
- };
214
- };
215
- declare const responsesRunAdapter: ({ getOpenaiAssistant: getDirectOpenaiAssistant, waitUntil }: {
216
- getOpenaiAssistant: (args?: Args) => Promise<OpenAI.Beta.Assistants.Assistant> | OpenAI.Beta.Assistants.Assistant | Pick<OpenAI.Beta.Assistants.Assistant, "id"> | Promise<Pick<OpenAI.Beta.Assistants.Assistant, "id">>;
217
- waitUntil?: <T>(p: Promise<T>) => void | Promise<void>;
218
- }) => {
219
- handleRun: ({ client, threadId, response, onEvent, }: {
220
- client: OpenAI;
221
- threadId: string;
222
- response: AsyncIterable<any>;
223
- onEvent: (event: OpenAI.Beta.AssistantStreamEvent) => Promise<any>;
224
- }) => Promise<void>;
225
- getOpenaiAssistant: ({ select: { id } }?: Args) => Promise<OpenAI.Beta.Assistants.Assistant | {
226
- id: string;
227
- }>;
228
- };
229
-
230
210
  declare const azureAgentsRunAdapter: ({ azureAiProject, }: {
231
211
  azureAiProject: AIProjectClient;
232
212
  }) => {
233
- handleRun: ({ threadId, assistantId, instructions, tools, onEvent, }: {
234
- threadId: string;
235
- assistantId: string;
236
- instructions?: string;
237
- tools?: any[];
213
+ handleRun: ({ body, onEvent, }: {
214
+ body: RunAdapterBody;
238
215
  onEvent: (event: OpenAI.Beta.AssistantStreamEvent) => Promise<any>;
239
216
  }) => Promise<void>;
240
217
  };
@@ -244,9 +221,9 @@ declare const perplexityAgentRunAdapter: ({ apiKey, baseURL, preset, }: {
244
221
  baseURL?: string;
245
222
  preset?: string;
246
223
  }) => {
247
- handleRun: ({ run, onEvent, getMessages, }: {
224
+ handleRun: ({ body, onEvent, getMessages, }: {
248
225
  client: OpenAI;
249
- run: OpenAI.Beta.Threads.Run;
226
+ body: RunAdapterBody;
250
227
  onEvent: (event: OpenAI.Beta.AssistantStreamEvent) => Promise<any>;
251
228
  getMessages: () => Promise<MessageWithRun[]>;
252
229
  }) => Promise<any>;
@@ -257,36 +234,43 @@ declare const perplexityAgentRunAdapter: ({ apiKey, baseURL, preset, }: {
257
234
  *
258
235
  * Calls OpenAI's native Responses API directly and streams events through.
259
236
  * Supports all built-in tools (web_search, file_search, code_interpreter, computer_use).
237
+ *
238
+ * When used with openaiResponsesStorageAdapter (Assistants surface), pass getOpenaiAssistant
239
+ * so the storage adapter can resolve assistant data for building the request body.
260
240
  */
261
241
 
262
- type ResponsesRunEvent$4 = {
263
- type: string;
264
- [key: string]: any;
265
- };
266
- type HandleArgs$4 = {
267
- requestBody: any;
268
- onEvent: (event: ResponsesRunEvent$4) => Promise<void>;
269
- };
270
- declare const openaiResponsesRunAdapter: ({ openai, }: {
271
- openai: OpenAI;
242
+ declare const openaiResponsesRunAdapter: ({ getOpenaiAssistant, waitUntil, }?: {
243
+ getOpenaiAssistant?: GetOpenaiAssistantFn;
244
+ waitUntil?: <T>(p: Promise<T>) => void | Promise<void>;
272
245
  }) => {
246
+ handleRun: ({ client, body, onEvent, }: {
247
+ client: OpenAI;
248
+ body: RunAdapterBody;
249
+ onEvent: (event: OpenAI.Responses.ResponseStreamEvent) => Promise<void>;
250
+ }) => Promise<void>;
251
+ getOpenaiAssistant?: GetOpenaiAssistantFn | undefined;
273
252
  type: "responses-openai";
274
- handleRun: ({ requestBody, onEvent, }: HandleArgs$4) => Promise<void>;
275
253
  };
276
254
 
277
- type ResponsesRunEvent$3 = {
278
- type: string;
279
- [key: string]: any;
280
- };
281
- type HandleArgs$3 = {
282
- requestBody: any;
283
- onEvent: (event: ResponsesRunEvent$3) => Promise<void>;
284
- };
285
- declare const azureResponsesRunAdapter: ({ azureAiProject, }: {
255
+ /**
256
+ * Azure Responses run adapter for the Responses API surface.
257
+ *
258
+ * Calls Azure's native Responses API directly and streams events through.
259
+ * Uses AIProjectClient.getOpenAIClient() to obtain an authenticated OpenAI client,
260
+ * since the supercompat client wrapper doesn't handle Azure auth for direct API calls.
261
+ */
262
+
263
+ declare const azureResponsesRunAdapter: ({ azureAiProject, getOpenaiAssistant, }: {
286
264
  azureAiProject: AIProjectClient;
265
+ getOpenaiAssistant?: GetOpenaiAssistantFn;
287
266
  }) => {
267
+ handleRun: ({ body, onEvent, }: {
268
+ client?: OpenAI;
269
+ body: RunAdapterBody;
270
+ onEvent: (event: OpenAI.Responses.ResponseStreamEvent) => Promise<void>;
271
+ }) => Promise<void>;
272
+ getOpenaiAssistant?: GetOpenaiAssistantFn | undefined;
288
273
  type: "responses-azure";
289
- handleRun: ({ requestBody, onEvent, }: HandleArgs$3) => Promise<void>;
290
274
  };
291
275
 
292
276
  /**
@@ -304,14 +288,14 @@ type ResponsesRunEvent$2 = {
304
288
  [key: string]: any;
305
289
  };
306
290
  type HandleArgs$2 = {
307
- requestBody: any;
291
+ body: ResponsesRunBody;
308
292
  onEvent: (event: ResponsesRunEvent$2) => Promise<void>;
309
293
  };
310
294
  declare const anthropicRunAdapter: ({ anthropic, }: {
311
295
  anthropic: Anthropic;
312
296
  }) => {
313
297
  type: "responses-anthropic";
314
- handleRun: ({ requestBody, onEvent, }: HandleArgs$2) => Promise<void>;
298
+ handleRun: ({ body: requestBody, onEvent, }: HandleArgs$2) => Promise<void>;
315
299
  };
316
300
 
317
301
  /**
@@ -328,7 +312,7 @@ type ResponsesRunEvent$1 = {
328
312
  [key: string]: any;
329
313
  };
330
314
  type HandleArgs$1 = {
331
- requestBody: any;
315
+ body: ResponsesRunBody;
332
316
  onEvent: (event: ResponsesRunEvent$1) => Promise<void>;
333
317
  agentId?: string;
334
318
  threadId?: string;
@@ -337,7 +321,7 @@ declare const azureAgentsResponsesRunAdapter: ({ azureAiProject, }: {
337
321
  azureAiProject: AIProjectClient;
338
322
  }) => {
339
323
  type: "responses-azure-agents";
340
- handleRun: ({ requestBody, onEvent, agentId: existingAgentId, threadId: existingThreadId, }: HandleArgs$1) => Promise<void>;
324
+ handleRun: ({ body: requestBody, onEvent, agentId: existingAgentId, threadId: existingThreadId, }: HandleArgs$1) => Promise<void>;
341
325
  };
342
326
 
343
327
  /**
@@ -354,14 +338,14 @@ type ResponsesRunEvent = {
354
338
  [key: string]: any;
355
339
  };
356
340
  type HandleArgs = {
357
- requestBody: any;
341
+ body: ResponsesRunBody;
358
342
  onEvent: (event: ResponsesRunEvent) => Promise<void>;
359
343
  };
360
344
  declare const geminiRunAdapter: ({ google, }: {
361
345
  google: GoogleGenAI;
362
346
  }) => {
363
347
  type: "responses-gemini";
364
- handleRun: ({ requestBody, onEvent, }: HandleArgs) => Promise<void>;
348
+ handleRun: ({ body: requestBody, onEvent, }: HandleArgs) => Promise<void>;
365
349
  };
366
350
 
367
351
  declare const prismaStorageAdapter: ({ prisma, }: {
@@ -397,7 +381,7 @@ type MethodHandlers$1 = {
397
381
  type ResponsesStorageAdapterArgs = StorageAdapterArgs & {
398
382
  runAdapter: RunAdapterWithAssistant;
399
383
  };
400
- declare const responsesStorageAdapter: ({ deferItemCreationUntilRun, }?: {
384
+ declare const openaiResponsesStorageAdapter: ({ deferItemCreationUntilRun, }?: {
401
385
  deferItemCreationUntilRun?: boolean;
402
386
  }) => ((args: ResponsesStorageAdapterArgs) => {
403
387
  requestHandlers: Record<string, MethodHandlers$1>;
@@ -495,7 +479,7 @@ type AzureResponsesStorageAdapterArgs = StorageAdapterArgs & {
495
479
  * const client = supercompat({
496
480
  * client: azureAiProjectClientAdapter({ azureAiProject }),
497
481
  * storage: azureResponsesStorageAdapter(),
498
- * runAdapter: responsesRunAdapter({ getOpenaiAssistant: () => assistant }),
482
+ * runAdapter: azureResponsesRunAdapter({ getOpenaiAssistant: () => assistant }),
499
483
  * })
500
484
  * ```
501
485
  */
@@ -544,4 +528,4 @@ declare const serializeCompatComputerCall: ({ item, }: {
544
528
  };
545
529
  };
546
530
 
547
- export { anthropicClientAdapter, anthropicRunAdapter, azureAgentsResponsesRunAdapter, azureAgentsRunAdapter, azureAgentsStorageAdapter, azureAiProjectClientAdapter, azureOpenaiClientAdapter, azureResponsesRunAdapter, azureResponsesStorageAdapter, completionsRunAdapter, geminiRunAdapter, getComputerCallActions, googleClientAdapter, groqClientAdapter, humirisClientAdapter, isOpenaiComputerUseModel, memoryStorageAdapter, mistralClientAdapter, ollamaClientAdapter, openRouterClientAdapter, openaiClientAdapter, openaiResponsesRunAdapter, perplexityAgentRunAdapter, perplexityClientAdapter, prismaStorageAdapter, responsesRunAdapter, responsesStorageAdapter, serializeCompatComputerCall, serializeComputerUseTool, togetherClientAdapter };
531
+ export { anthropicClientAdapter, anthropicRunAdapter, azureAgentsResponsesRunAdapter, azureAgentsRunAdapter, azureAgentsStorageAdapter, azureAiProjectClientAdapter, azureOpenaiClientAdapter, azureResponsesRunAdapter, azureResponsesStorageAdapter, completionsRunAdapter, geminiRunAdapter, getComputerCallActions, googleClientAdapter, groqClientAdapter, humirisClientAdapter, isOpenaiComputerUseModel, memoryStorageAdapter, mistralClientAdapter, ollamaClientAdapter, openRouterClientAdapter, openaiClientAdapter, openaiResponsesRunAdapter, openaiResponsesStorageAdapter, perplexityAgentRunAdapter, perplexityClientAdapter, prismaStorageAdapter, serializeCompatComputerCall, serializeComputerUseTool, togetherClientAdapter };