supercompat 3.15.6 → 3.16.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/dist/index.cjs +1160 -115
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +1136 -95
- package/dist/index.js.map +1 -1
- package/dist/supercompat.cjs +0 -9
- package/dist/supercompat.cjs.map +1 -1
- package/dist/supercompat.js +0 -9
- package/dist/supercompat.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -179,6 +179,20 @@ declare const ollamaClientAdapter: ({ ollama, }: {
|
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
+
declare const openRouterClientAdapter: ({ openRouter, }: {
|
|
183
|
+
openRouter: OpenAI;
|
|
184
|
+
}) => {
|
|
185
|
+
client: OpenAI;
|
|
186
|
+
requestHandlers: {
|
|
187
|
+
'^/v1/models$': {
|
|
188
|
+
get: (_url: string, _options: any) => Promise<Response>;
|
|
189
|
+
};
|
|
190
|
+
'^/(?:v1|/?openai)/chat/completions$': {
|
|
191
|
+
post: (_url: string, options: any) => Promise<Response>;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
|
|
182
196
|
declare const completionsRunAdapter: () => {
|
|
183
197
|
handleRun: ({ client, run, onEvent, getMessages, }: {
|
|
184
198
|
client: OpenAI;
|
|
@@ -309,4 +323,4 @@ declare const azureAgentsRunAdapter: ({ azureAiProject, }: {
|
|
|
309
323
|
}) => Promise<void>;
|
|
310
324
|
};
|
|
311
325
|
|
|
312
|
-
export { anthropicClientAdapter, azureAgentsRunAdapter, azureAgentsStorageAdapter, azureAiProjectClientAdapter, azureOpenaiClientAdapter, azureResponsesStorageAdapter, completionsRunAdapter, googleClientAdapter, groqClientAdapter, humirisClientAdapter, mistralClientAdapter, ollamaClientAdapter, openaiClientAdapter, perplexityClientAdapter, prismaStorageAdapter, responsesRunAdapter, responsesStorageAdapter, togetherClientAdapter };
|
|
326
|
+
export { anthropicClientAdapter, azureAgentsRunAdapter, azureAgentsStorageAdapter, azureAiProjectClientAdapter, azureOpenaiClientAdapter, azureResponsesStorageAdapter, completionsRunAdapter, googleClientAdapter, groqClientAdapter, humirisClientAdapter, mistralClientAdapter, ollamaClientAdapter, openRouterClientAdapter, openaiClientAdapter, perplexityClientAdapter, prismaStorageAdapter, responsesRunAdapter, responsesStorageAdapter, togetherClientAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -179,6 +179,20 @@ declare const ollamaClientAdapter: ({ ollama, }: {
|
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
+
declare const openRouterClientAdapter: ({ openRouter, }: {
|
|
183
|
+
openRouter: OpenAI;
|
|
184
|
+
}) => {
|
|
185
|
+
client: OpenAI;
|
|
186
|
+
requestHandlers: {
|
|
187
|
+
'^/v1/models$': {
|
|
188
|
+
get: (_url: string, _options: any) => Promise<Response>;
|
|
189
|
+
};
|
|
190
|
+
'^/(?:v1|/?openai)/chat/completions$': {
|
|
191
|
+
post: (_url: string, options: any) => Promise<Response>;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
|
|
182
196
|
declare const completionsRunAdapter: () => {
|
|
183
197
|
handleRun: ({ client, run, onEvent, getMessages, }: {
|
|
184
198
|
client: OpenAI;
|
|
@@ -309,4 +323,4 @@ declare const azureAgentsRunAdapter: ({ azureAiProject, }: {
|
|
|
309
323
|
}) => Promise<void>;
|
|
310
324
|
};
|
|
311
325
|
|
|
312
|
-
export { anthropicClientAdapter, azureAgentsRunAdapter, azureAgentsStorageAdapter, azureAiProjectClientAdapter, azureOpenaiClientAdapter, azureResponsesStorageAdapter, completionsRunAdapter, googleClientAdapter, groqClientAdapter, humirisClientAdapter, mistralClientAdapter, ollamaClientAdapter, openaiClientAdapter, perplexityClientAdapter, prismaStorageAdapter, responsesRunAdapter, responsesStorageAdapter, togetherClientAdapter };
|
|
326
|
+
export { anthropicClientAdapter, azureAgentsRunAdapter, azureAgentsStorageAdapter, azureAiProjectClientAdapter, azureOpenaiClientAdapter, azureResponsesStorageAdapter, completionsRunAdapter, googleClientAdapter, groqClientAdapter, humirisClientAdapter, mistralClientAdapter, ollamaClientAdapter, openRouterClientAdapter, openaiClientAdapter, perplexityClientAdapter, prismaStorageAdapter, responsesRunAdapter, responsesStorageAdapter, togetherClientAdapter };
|