@nyte-ai/ai 0.0.21 → 0.0.23
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/chunks/{account-limits-cache-09vs98g6.js → account-limits-cache-0jdep92d.js} +1 -1
- package/dist/chunks/{account-limits-cache-75smws02.js → account-limits-cache-2yc2hv5v.js} +2 -2
- package/dist/chunks/{account-limits-cache-gsa5tzck.js → account-limits-cache-6r6bqm7g.js} +1 -1
- package/dist/chunks/{account-limits-cache-a1jyaq00.js → account-limits-cache-8yq9e32s.js} +2 -2
- package/dist/chunks/{account-limits-cache-nbkyhs6v.js → account-limits-cache-925zgz25.js} +3 -3
- package/dist/chunks/{account-limits-cache-53e64mhx.js → account-limits-cache-aazmkcnq.js} +1 -1
- package/dist/chunks/{account-limits-cache-nyy770yd.js → account-limits-cache-ezvbhjym.js} +3 -3
- package/dist/chunks/{account-limits-cache-8wfqg73s.js → account-limits-cache-hndeb95d.js} +1 -1
- package/dist/chunks/{account-limits-cache-4b8ckwqw.js → account-limits-cache-j8c5ra3q.js} +1 -1
- package/dist/chunks/{account-limits-cache-a558rjbg.js → account-limits-cache-nem079h8.js} +1 -0
- package/dist/chunks/{account-limits-cache-hwehc67r.js → account-limits-cache-tq0ddhww.js} +1 -1
- package/dist/chunks/{account-limits-cache-wtg64ez7.js → account-limits-cache-vbw7n959.js} +7 -7
- package/dist/chunks/{account-limits-cache-q63mc41j.js → account-limits-cache-w8ya0xct.js} +1 -1
- package/dist/src/api/anthropic-client.js +1 -1
- package/dist/src/api/anthropic-convert.js +1 -1
- package/dist/src/api/anthropic-messages.js +2 -5
- package/dist/src/api/anthropic-messages.lazy.js +1 -1
- package/dist/src/api/deferred.js +1 -1
- package/dist/src/api/google-generative-ai.js +2 -0
- package/dist/src/api/google-generative-ai.lazy.js +1 -1
- package/dist/src/api/openai-codex-compact.js +2 -2
- package/dist/src/api/openai-codex-responses.js +3 -3
- package/dist/src/api/openai-codex-responses.lazy.js +1 -1
- package/dist/src/api/openai-codex-websocket.js +3 -3
- package/dist/src/api/openai-responses-events.d.ts +1 -1
- package/dist/src/api/openai-responses-events.js +1 -1
- package/dist/src/api/openai-responses-stream.js +2 -2
- package/dist/src/api/openai-responses.js +2 -2
- package/dist/src/api/openai-responses.lazy.js +1 -1
- package/dist/src/index.js +13 -13
- package/dist/src/providers/anthropic.js +2 -2
- package/dist/src/providers/github-copilot.js +3 -3
- package/dist/src/providers/nyte-catalog.js +12 -12
- package/dist/src/providers/openai-codex.js +2 -2
- package/dist/src/providers/openai.js +2 -2
- package/dist/src/providers/opencode-go.js +5 -5
- package/dist/src/providers/opencode.js +4 -4
- package/dist/src/providers/vercel-ai-gateway.js +2 -2
- package/package.json +7 -7
- /package/dist/chunks/{account-limits-cache-zqdb4yh4.js → account-limits-cache-3dpd8f8k.js} +0 -0
- /package/dist/chunks/{account-limits-cache-fp03ztsw.js → account-limits-cache-cknzwbq2.js} +0 -0
- /package/dist/chunks/{account-limits-cache-x9fvb3s5.js → account-limits-cache-hxy4942k.js} +0 -0
- /package/dist/chunks/{account-limits-cache-q1ebtvet.js → account-limits-cache-k8z39pe7.js} +0 -0
- /package/dist/chunks/{account-limits-cache-5rx2pfm5.js → account-limits-cache-s9b5ecy4.js} +0 -0
|
@@ -197,12 +197,12 @@ function createClient2(model, apiKey, interleavedThinking, useFineGrainedToolStr
|
|
|
197
197
|
return { client: federationClient.client.withOptions({ defaultHeaders }), isOAuthToken: false };
|
|
198
198
|
}
|
|
199
199
|
const client = new PiAnthropic({
|
|
200
|
-
apiKey:
|
|
200
|
+
apiKey: null,
|
|
201
201
|
authToken: null,
|
|
202
202
|
baseURL: model.baseUrl,
|
|
203
203
|
dangerouslyAllowBrowser: true,
|
|
204
204
|
fetch,
|
|
205
|
-
defaultHeaders
|
|
205
|
+
defaultHeaders: mergeAnthropicHeaders2({ "x-api-key": apiKey ?? null }, defaultHeaders)
|
|
206
206
|
});
|
|
207
207
|
return { client, isOAuthToken: false };
|
|
208
208
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
anthropicMessagesApi2
|
|
3
|
-
} from "./account-limits-cache-
|
|
3
|
+
} from "./account-limits-cache-3dpd8f8k.js";
|
|
4
4
|
import {
|
|
5
5
|
openAICompletionsApi2
|
|
6
6
|
} from "./account-limits-cache-eyx1jcxc.js";
|
|
7
7
|
import {
|
|
8
8
|
openAIResponsesApi2
|
|
9
|
-
} from "./account-limits-cache-
|
|
9
|
+
} from "./account-limits-cache-k8z39pe7.js";
|
|
10
10
|
import {
|
|
11
11
|
envApiKeyAuth2
|
|
12
12
|
} from "./account-limits-cache-6x05n06z.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
anthropicMessagesApi2
|
|
3
|
-
} from "./account-limits-cache-
|
|
3
|
+
} from "./account-limits-cache-3dpd8f8k.js";
|
|
4
4
|
import {
|
|
5
5
|
googleGenerativeAIApi2
|
|
6
|
-
} from "./account-limits-cache-
|
|
6
|
+
} from "./account-limits-cache-hxy4942k.js";
|
|
7
7
|
import {
|
|
8
8
|
openAICompletionsApi2
|
|
9
9
|
} from "./account-limits-cache-eyx1jcxc.js";
|
|
10
10
|
import {
|
|
11
11
|
openAIResponsesApi2
|
|
12
|
-
} from "./account-limits-cache-
|
|
12
|
+
} from "./account-limits-cache-k8z39pe7.js";
|
|
13
13
|
import {
|
|
14
14
|
envApiKeyAuth2
|
|
15
15
|
} from "./account-limits-cache-6x05n06z.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
StoredReasoningItemSchema2,
|
|
25
25
|
ServiceTierSchema2,
|
|
26
26
|
ResponsesStreamEventCheck2
|
|
27
|
-
} from "./account-limits-cache-
|
|
27
|
+
} from "./account-limits-cache-nem079h8.js";
|
|
28
28
|
|
|
29
29
|
// src/api/openai-responses-stream.ts
|
|
30
30
|
import { Type } from "typebox";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
anthropicMessagesApi2
|
|
3
|
-
} from "./account-limits-cache-
|
|
3
|
+
} from "./account-limits-cache-3dpd8f8k.js";
|
|
4
4
|
import {
|
|
5
5
|
openAICompletionsApi2
|
|
6
6
|
} from "./account-limits-cache-eyx1jcxc.js";
|
|
7
7
|
import {
|
|
8
8
|
openAIResponsesApi2
|
|
9
|
-
} from "./account-limits-cache-
|
|
9
|
+
} from "./account-limits-cache-k8z39pe7.js";
|
|
10
10
|
import {
|
|
11
11
|
envApiKeyAuth2
|
|
12
12
|
} from "./account-limits-cache-6x05n06z.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./account-limits-cache-fht68jp2.js";
|
|
19
19
|
import {
|
|
20
20
|
OPENCODE_PROMPT_CACHE2
|
|
21
|
-
} from "./account-limits-cache-
|
|
21
|
+
} from "./account-limits-cache-925zgz25.js";
|
|
22
22
|
|
|
23
23
|
// src/providers/opencode-go.ts
|
|
24
24
|
function opencodeGoProvider2() {
|
|
@@ -215,7 +215,7 @@ function convertMessages3(transformedMessages, isOAuthToken, cacheControl, allow
|
|
|
215
215
|
if (lastBlock && (lastBlock.type === "text" || lastBlock.type === "image" || lastBlock.type === "tool_result" || lastBlock.type === "tool_addition" || lastBlock.type === "tool_removal")) {
|
|
216
216
|
lastBlock.cache_control = cacheControl;
|
|
217
217
|
}
|
|
218
|
-
} else {
|
|
218
|
+
} else if (typeof lastMessage.content === "string") {
|
|
219
219
|
lastMessage.content = [
|
|
220
220
|
{
|
|
221
221
|
type: "text",
|
|
@@ -12,28 +12,28 @@ import {
|
|
|
12
12
|
} from "./account-limits-cache-5jdhn0e1.js";
|
|
13
13
|
import {
|
|
14
14
|
anthropicProvider2
|
|
15
|
-
} from "./account-limits-cache-
|
|
15
|
+
} from "./account-limits-cache-hndeb95d.js";
|
|
16
16
|
import {
|
|
17
17
|
githubCopilotProvider2
|
|
18
|
-
} from "./account-limits-cache-
|
|
18
|
+
} from "./account-limits-cache-8yq9e32s.js";
|
|
19
19
|
import {
|
|
20
20
|
openaiCodexProvider2
|
|
21
|
-
} from "./account-limits-cache-
|
|
21
|
+
} from "./account-limits-cache-0jdep92d.js";
|
|
22
22
|
import {
|
|
23
23
|
openaiProvider2
|
|
24
|
-
} from "./account-limits-cache-
|
|
24
|
+
} from "./account-limits-cache-6r6bqm7g.js";
|
|
25
25
|
import {
|
|
26
26
|
opencodeProvider2
|
|
27
|
-
} from "./account-limits-cache-
|
|
27
|
+
} from "./account-limits-cache-925zgz25.js";
|
|
28
28
|
import {
|
|
29
29
|
opencodeGoProvider2
|
|
30
|
-
} from "./account-limits-cache-
|
|
30
|
+
} from "./account-limits-cache-ezvbhjym.js";
|
|
31
31
|
import {
|
|
32
32
|
openrouterProvider2
|
|
33
33
|
} from "./account-limits-cache-pfa86y8e.js";
|
|
34
34
|
import {
|
|
35
35
|
vercelAiGatewayProvider2
|
|
36
|
-
} from "./account-limits-cache-
|
|
36
|
+
} from "./account-limits-cache-w8ya0xct.js";
|
|
37
37
|
|
|
38
38
|
// src/providers/nyte-catalog.ts
|
|
39
39
|
var NYTE_PROVIDERS = [
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getAnthropicFederation2,
|
|
10
10
|
createClient2,
|
|
11
11
|
shouldUseFineGrainedToolStreamingBeta2
|
|
12
|
-
} from "../../chunks/account-limits-cache-
|
|
12
|
+
} from "../../chunks/account-limits-cache-2yc2hv5v.js";
|
|
13
13
|
import"../../chunks/account-limits-cache-ks1sjym9.js";
|
|
14
14
|
import"../../chunks/account-limits-cache-6250ykn6.js";
|
|
15
15
|
import"../../chunks/account-limits-cache-gknnm1kv.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
normalizeToolCallId2,
|
|
3
3
|
convertMessages3,
|
|
4
4
|
convertTools3
|
|
5
|
-
} from "../../chunks/account-limits-cache-
|
|
5
|
+
} from "../../chunks/account-limits-cache-j8c5ra3q.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-h92bzz1j.js";
|
|
7
7
|
import"../../chunks/account-limits-cache-eqwweapz.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-ks1sjym9.js";
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
getAnthropicFederation2,
|
|
86
86
|
createClient2,
|
|
87
87
|
shouldUseFineGrainedToolStreamingBeta2
|
|
88
|
-
} from "../../chunks/account-limits-cache-
|
|
88
|
+
} from "../../chunks/account-limits-cache-2yc2hv5v.js";
|
|
89
89
|
import"../../chunks/account-limits-cache-h92bzz1j.js";
|
|
90
90
|
import {
|
|
91
91
|
normalizeToolCallId2,
|
|
92
92
|
convertMessages3,
|
|
93
93
|
convertTools3
|
|
94
|
-
} from "../../chunks/account-limits-cache-
|
|
94
|
+
} from "../../chunks/account-limits-cache-j8c5ra3q.js";
|
|
95
95
|
|
|
96
96
|
// src/api/anthropic-messages.ts
|
|
97
97
|
import { Type } from "typebox";
|
|
@@ -489,9 +489,6 @@ function buildParams(model, context, isOAuthToken, nativeToolChanges, options) {
|
|
|
489
489
|
} else if (initialSystemText) {
|
|
490
490
|
params.system = [systemBlock(sanitizeSurrogates2(initialSystemText), cacheControl)];
|
|
491
491
|
}
|
|
492
|
-
if (options?.temperature !== undefined && !options?.thinkingEnabled && compat.supportsTemperature) {
|
|
493
|
-
params.temperature = options.temperature;
|
|
494
|
-
}
|
|
495
492
|
const toolCacheControl = compat.supportsCacheControlOnTools ? cacheControl : undefined;
|
|
496
493
|
if (nativeToolChanges) {
|
|
497
494
|
const initialNames = new Set(initialTools.map((tool) => tool.name));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
anthropicMessagesApi2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-3dpd8f8k.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-90c9c2eb.js";
|
|
5
5
|
import"../../chunks/account-limits-cache-fsktnetm.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-zcbkmrvy.js";
|
package/dist/src/api/deferred.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compactOpenAICodexContext2,
|
|
3
3
|
compactOpenAIResponsesContext2
|
|
4
|
-
} from "../../chunks/account-limits-cache-
|
|
4
|
+
} from "../../chunks/account-limits-cache-cknzwbq2.js";
|
|
5
5
|
import"../../chunks/account-limits-cache-031vfpt3.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-f9z00x8c.js";
|
|
7
7
|
export {
|
|
@@ -538,6 +538,7 @@ function mapStopReason(reason) {
|
|
|
538
538
|
case FinishReason.STOP:
|
|
539
539
|
return "stop";
|
|
540
540
|
case FinishReason.MAX_TOKENS:
|
|
541
|
+
case FinishReason.CONTINUATION:
|
|
541
542
|
return "length";
|
|
542
543
|
case FinishReason.BLOCKLIST:
|
|
543
544
|
case FinishReason.PROHIBITED_CONTENT:
|
|
@@ -553,6 +554,7 @@ function mapStopReason(reason) {
|
|
|
553
554
|
case FinishReason.LANGUAGE:
|
|
554
555
|
case FinishReason.MALFORMED_FUNCTION_CALL:
|
|
555
556
|
case FinishReason.UNEXPECTED_TOOL_CALL:
|
|
557
|
+
case FinishReason.TOO_MANY_TOOL_CALLS:
|
|
556
558
|
case FinishReason.NO_IMAGE:
|
|
557
559
|
return "error";
|
|
558
560
|
default: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
googleGenerativeAIApi2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-hxy4942k.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-90c9c2eb.js";
|
|
5
5
|
import"../../chunks/account-limits-cache-fsktnetm.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-zcbkmrvy.js";
|
|
@@ -65,10 +65,10 @@ import {
|
|
|
65
65
|
} from "../../chunks/account-limits-cache-csbxvam7.js";
|
|
66
66
|
import"../../chunks/account-limits-cache-fbkaq46e.js";
|
|
67
67
|
import"../../chunks/account-limits-cache-736tdyme.js";
|
|
68
|
-
import"../../chunks/account-limits-cache-
|
|
68
|
+
import"../../chunks/account-limits-cache-nem079h8.js";
|
|
69
69
|
import {
|
|
70
70
|
withPriorityTier2
|
|
71
|
-
} from "../../chunks/account-limits-cache-
|
|
71
|
+
} from "../../chunks/account-limits-cache-aazmkcnq.js";
|
|
72
72
|
|
|
73
73
|
// src/api/openai-codex-compact.ts
|
|
74
74
|
import { Type } from "typebox";
|
|
@@ -63,14 +63,14 @@ import"../../chunks/account-limits-cache-0yd6bde8.js";
|
|
|
63
63
|
import"../../chunks/account-limits-cache-zgzptd0z.js";
|
|
64
64
|
import"../../chunks/account-limits-cache-fbkaq46e.js";
|
|
65
65
|
import"../../chunks/account-limits-cache-736tdyme.js";
|
|
66
|
-
import"../../chunks/account-limits-cache-
|
|
66
|
+
import"../../chunks/account-limits-cache-nem079h8.js";
|
|
67
67
|
import {
|
|
68
68
|
withPriorityTier2,
|
|
69
69
|
processResponsesStream2
|
|
70
|
-
} from "../../chunks/account-limits-cache-
|
|
70
|
+
} from "../../chunks/account-limits-cache-aazmkcnq.js";
|
|
71
71
|
import {
|
|
72
72
|
streamOverWebSocket2
|
|
73
|
-
} from "../../chunks/account-limits-cache-
|
|
73
|
+
} from "../../chunks/account-limits-cache-tq0ddhww.js";
|
|
74
74
|
import {
|
|
75
75
|
clampOpenAIPromptCacheKey2
|
|
76
76
|
} from "../../chunks/account-limits-cache-csbxvam7.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openAICodexResponsesApi2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-s9b5ecy4.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-90c9c2eb.js";
|
|
5
5
|
import"../../chunks/account-limits-cache-fsktnetm.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-zcbkmrvy.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
closeOpenAICodexWebSocketSessions2,
|
|
3
3
|
streamOverWebSocket2
|
|
4
|
-
} from "../../chunks/account-limits-cache-
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
6
|
-
import"../../chunks/account-limits-cache-
|
|
4
|
+
} from "../../chunks/account-limits-cache-tq0ddhww.js";
|
|
5
|
+
import"../../chunks/account-limits-cache-aazmkcnq.js";
|
|
6
|
+
import"../../chunks/account-limits-cache-nem079h8.js";
|
|
7
7
|
import"../../chunks/account-limits-cache-vwgfz727.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-n3yk6g5c.js";
|
|
9
9
|
import"../../chunks/account-limits-cache-8qzk56vj.js";
|
|
@@ -55,7 +55,7 @@ export declare const StoredReasoningItemSchema: Type.TObject<{
|
|
|
55
55
|
declare const ResponseStatusSchema: Type.TUnion<[Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"in_progress">, Type.TLiteral<"cancelled">, Type.TLiteral<"queued">, Type.TLiteral<"incomplete">]>;
|
|
56
56
|
export type ResponsesStatus = Static<typeof ResponseStatusSchema>;
|
|
57
57
|
/** A service tier as the Responses API reports it; GPT-6 reports Fast mode as `fast`. */
|
|
58
|
-
export declare const ServiceTierSchema: Type.TUnion<[Type.TLiteral<"auto">, Type.TLiteral<"default">, Type.TLiteral<"flex">, Type.TLiteral<"scale">, Type.TLiteral<"priority">, Type.TLiteral<"fast">, Type.TNull]>;
|
|
58
|
+
export declare const ServiceTierSchema: Type.TUnion<[Type.TLiteral<"auto">, Type.TLiteral<"default">, Type.TLiteral<"flex">, Type.TLiteral<"scale">, Type.TLiteral<"priority">, Type.TLiteral<"fast">, Type.TLiteral<"ultrafast">, Type.TNull]>;
|
|
59
59
|
export type ResponsesServiceTier = Static<typeof ServiceTierSchema>;
|
|
60
60
|
/**
|
|
61
61
|
* The terminal response metadata the processor reads. Usage and service tier stay unknown
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
StoredReasoningItemSchema2,
|
|
4
4
|
ServiceTierSchema2,
|
|
5
5
|
ResponsesStreamEventCheck2
|
|
6
|
-
} from "../../chunks/account-limits-cache-
|
|
6
|
+
} from "../../chunks/account-limits-cache-nem079h8.js";
|
|
7
7
|
export {
|
|
8
8
|
ResponsesStreamEventCheck2 as ResponsesStreamEventCheck,
|
|
9
9
|
ServiceTierSchema2 as ServiceTierSchema,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
withPriorityTier2,
|
|
3
3
|
ResponsesUsageError2,
|
|
4
4
|
processResponsesStream2
|
|
5
|
-
} from "../../chunks/account-limits-cache-
|
|
6
|
-
import"../../chunks/account-limits-cache-
|
|
5
|
+
} from "../../chunks/account-limits-cache-aazmkcnq.js";
|
|
6
|
+
import"../../chunks/account-limits-cache-nem079h8.js";
|
|
7
7
|
import"../../chunks/account-limits-cache-n3yk6g5c.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-8qzk56vj.js";
|
|
9
9
|
import"../../chunks/account-limits-cache-736tdyme.js";
|
|
@@ -58,11 +58,11 @@ import {
|
|
|
58
58
|
import"../../chunks/account-limits-cache-zgzptd0z.js";
|
|
59
59
|
import"../../chunks/account-limits-cache-fbkaq46e.js";
|
|
60
60
|
import"../../chunks/account-limits-cache-736tdyme.js";
|
|
61
|
-
import"../../chunks/account-limits-cache-
|
|
61
|
+
import"../../chunks/account-limits-cache-nem079h8.js";
|
|
62
62
|
import {
|
|
63
63
|
withPriorityTier2,
|
|
64
64
|
processResponsesStream2
|
|
65
|
-
} from "../../chunks/account-limits-cache-
|
|
65
|
+
} from "../../chunks/account-limits-cache-aazmkcnq.js";
|
|
66
66
|
import {
|
|
67
67
|
readOpenAICompactResponse2
|
|
68
68
|
} from "../../chunks/account-limits-cache-pfr14mcn.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openAIResponsesApi2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-k8z39pe7.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-90c9c2eb.js";
|
|
5
5
|
import"../../chunks/account-limits-cache-fsktnetm.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-zcbkmrvy.js";
|
package/dist/src/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
compactOpenAICodexContext2,
|
|
14
14
|
compactOpenAIResponsesContext2
|
|
15
|
-
} from "../chunks/account-limits-cache-
|
|
15
|
+
} from "../chunks/account-limits-cache-cknzwbq2.js";
|
|
16
16
|
import"../chunks/account-limits-cache-nn9jebsj.js";
|
|
17
17
|
import {
|
|
18
18
|
EventStream2,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
validateToolArguments2,
|
|
197
197
|
createToolArgumentParser2
|
|
198
198
|
} from "../chunks/account-limits-cache-kjx405q0.js";
|
|
199
|
-
import"../chunks/account-limits-cache-
|
|
199
|
+
import"../chunks/account-limits-cache-3dpd8f8k.js";
|
|
200
200
|
import"../chunks/account-limits-cache-ks1sjym9.js";
|
|
201
201
|
import"../chunks/account-limits-cache-ehy0ze2b.js";
|
|
202
202
|
import {
|
|
@@ -205,13 +205,13 @@ import {
|
|
|
205
205
|
import"../chunks/account-limits-cache-ydq8p8qp.js";
|
|
206
206
|
import {
|
|
207
207
|
anthropicProvider2
|
|
208
|
-
} from "../chunks/account-limits-cache-
|
|
208
|
+
} from "../chunks/account-limits-cache-hndeb95d.js";
|
|
209
209
|
import"../chunks/account-limits-cache-eyx1jcxc.js";
|
|
210
|
-
import"../chunks/account-limits-cache-
|
|
210
|
+
import"../chunks/account-limits-cache-k8z39pe7.js";
|
|
211
211
|
import {
|
|
212
212
|
githubCopilotProvider2
|
|
213
|
-
} from "../chunks/account-limits-cache-
|
|
214
|
-
import"../chunks/account-limits-cache-
|
|
213
|
+
} from "../chunks/account-limits-cache-8yq9e32s.js";
|
|
214
|
+
import"../chunks/account-limits-cache-s9b5ecy4.js";
|
|
215
215
|
import"../chunks/account-limits-cache-gknnm1kv.js";
|
|
216
216
|
import"../chunks/account-limits-cache-fvadc36m.js";
|
|
217
217
|
import {
|
|
@@ -219,29 +219,29 @@ import {
|
|
|
219
219
|
} from "../chunks/account-limits-cache-hj3ek3ty.js";
|
|
220
220
|
import {
|
|
221
221
|
openaiCodexProvider2
|
|
222
|
-
} from "../chunks/account-limits-cache-
|
|
222
|
+
} from "../chunks/account-limits-cache-0jdep92d.js";
|
|
223
223
|
import {
|
|
224
224
|
openaiProvider2
|
|
225
|
-
} from "../chunks/account-limits-cache-
|
|
225
|
+
} from "../chunks/account-limits-cache-6r6bqm7g.js";
|
|
226
226
|
import"../chunks/account-limits-cache-fht68jp2.js";
|
|
227
|
-
import"../chunks/account-limits-cache-
|
|
227
|
+
import"../chunks/account-limits-cache-hxy4942k.js";
|
|
228
228
|
import {
|
|
229
229
|
opencodeProvider2
|
|
230
|
-
} from "../chunks/account-limits-cache-
|
|
230
|
+
} from "../chunks/account-limits-cache-925zgz25.js";
|
|
231
231
|
import {
|
|
232
232
|
opencodeGoProvider2
|
|
233
|
-
} from "../chunks/account-limits-cache-
|
|
233
|
+
} from "../chunks/account-limits-cache-ezvbhjym.js";
|
|
234
234
|
import {
|
|
235
235
|
openrouterProvider2
|
|
236
236
|
} from "../chunks/account-limits-cache-pfa86y8e.js";
|
|
237
237
|
import {
|
|
238
238
|
vercelAiGatewayProvider2
|
|
239
|
-
} from "../chunks/account-limits-cache-
|
|
239
|
+
} from "../chunks/account-limits-cache-w8ya0xct.js";
|
|
240
240
|
import {
|
|
241
241
|
defaultModelPerProvider2,
|
|
242
242
|
createNyteModels2,
|
|
243
243
|
nyteProviders2
|
|
244
|
-
} from "../chunks/account-limits-cache-
|
|
244
|
+
} from "../chunks/account-limits-cache-vbw7n959.js";
|
|
245
245
|
|
|
246
246
|
// src/index.ts
|
|
247
247
|
import { Type } from "typebox";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
anthropicProvider2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-hndeb95d.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-ydq8p8qp.js";
|
|
5
5
|
import"../../chunks/account-limits-cache-re8hpzwn.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-ks1sjym9.js";
|
|
7
7
|
import"../../chunks/account-limits-cache-ehy0ze2b.js";
|
|
8
|
-
import"../../chunks/account-limits-cache-
|
|
8
|
+
import"../../chunks/account-limits-cache-3dpd8f8k.js";
|
|
9
9
|
import"../../chunks/account-limits-cache-6x05n06z.js";
|
|
10
10
|
import"../../chunks/account-limits-cache-ag5b8dja.js";
|
|
11
11
|
import"../../chunks/account-limits-cache-ykbqsvv6.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
githubCopilotProvider2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-8yq9e32s.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-cw7q7vfy.js";
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
5
|
+
import"../../chunks/account-limits-cache-k8z39pe7.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-eyx1jcxc.js";
|
|
7
|
-
import"../../chunks/account-limits-cache-
|
|
7
|
+
import"../../chunks/account-limits-cache-3dpd8f8k.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-6x05n06z.js";
|
|
9
9
|
import"../../chunks/account-limits-cache-gs8a3fhw.js";
|
|
10
10
|
import"../../chunks/account-limits-cache-za42x8a3.js";
|
|
@@ -2,29 +2,29 @@ import {
|
|
|
2
2
|
defaultModelPerProvider2,
|
|
3
3
|
createNyteModels2,
|
|
4
4
|
nyteProviders2
|
|
5
|
-
} from "../../chunks/account-limits-cache-
|
|
5
|
+
} from "../../chunks/account-limits-cache-vbw7n959.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-yzyp0c2h.js";
|
|
7
|
-
import"../../chunks/account-limits-cache-
|
|
8
|
-
import"../../chunks/account-limits-cache-
|
|
7
|
+
import"../../chunks/account-limits-cache-0jdep92d.js";
|
|
8
|
+
import"../../chunks/account-limits-cache-s9b5ecy4.js";
|
|
9
9
|
import"../../chunks/account-limits-cache-hj3ek3ty.js";
|
|
10
10
|
import"../../chunks/account-limits-cache-fvadc36m.js";
|
|
11
|
-
import"../../chunks/account-limits-cache-
|
|
12
|
-
import"../../chunks/account-limits-cache-
|
|
13
|
-
import"../../chunks/account-limits-cache-
|
|
14
|
-
import"../../chunks/account-limits-cache-
|
|
11
|
+
import"../../chunks/account-limits-cache-6r6bqm7g.js";
|
|
12
|
+
import"../../chunks/account-limits-cache-ezvbhjym.js";
|
|
13
|
+
import"../../chunks/account-limits-cache-925zgz25.js";
|
|
14
|
+
import"../../chunks/account-limits-cache-hxy4942k.js";
|
|
15
15
|
import"../../chunks/account-limits-cache-fht68jp2.js";
|
|
16
16
|
import"../../chunks/account-limits-cache-pfa86y8e.js";
|
|
17
|
-
import"../../chunks/account-limits-cache-
|
|
18
|
-
import"../../chunks/account-limits-cache-
|
|
17
|
+
import"../../chunks/account-limits-cache-w8ya0xct.js";
|
|
18
|
+
import"../../chunks/account-limits-cache-hndeb95d.js";
|
|
19
19
|
import"../../chunks/account-limits-cache-ydq8p8qp.js";
|
|
20
20
|
import"../../chunks/account-limits-cache-re8hpzwn.js";
|
|
21
21
|
import"../../chunks/account-limits-cache-ks1sjym9.js";
|
|
22
22
|
import"../../chunks/account-limits-cache-ehy0ze2b.js";
|
|
23
|
-
import"../../chunks/account-limits-cache-
|
|
23
|
+
import"../../chunks/account-limits-cache-8yq9e32s.js";
|
|
24
24
|
import"../../chunks/account-limits-cache-cw7q7vfy.js";
|
|
25
|
-
import"../../chunks/account-limits-cache-
|
|
25
|
+
import"../../chunks/account-limits-cache-k8z39pe7.js";
|
|
26
26
|
import"../../chunks/account-limits-cache-eyx1jcxc.js";
|
|
27
|
-
import"../../chunks/account-limits-cache-
|
|
27
|
+
import"../../chunks/account-limits-cache-3dpd8f8k.js";
|
|
28
28
|
import"../../chunks/account-limits-cache-6x05n06z.js";
|
|
29
29
|
import"../../chunks/account-limits-cache-gs8a3fhw.js";
|
|
30
30
|
import"../../chunks/account-limits-cache-za42x8a3.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiCodexProvider2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
4
|
-
import"../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-0jdep92d.js";
|
|
4
|
+
import"../../chunks/account-limits-cache-s9b5ecy4.js";
|
|
5
5
|
import"../../chunks/account-limits-cache-hj3ek3ty.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-fvadc36m.js";
|
|
7
7
|
import"../../chunks/account-limits-cache-ehy0ze2b.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiProvider2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-6r6bqm7g.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-ydq8p8qp.js";
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
5
|
+
import"../../chunks/account-limits-cache-k8z39pe7.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-6x05n06z.js";
|
|
7
7
|
import"../../chunks/account-limits-cache-ag5b8dja.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-ykbqsvv6.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
opencodeGoProvider2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
4
|
-
import"../../chunks/account-limits-cache-
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-ezvbhjym.js";
|
|
4
|
+
import"../../chunks/account-limits-cache-925zgz25.js";
|
|
5
|
+
import"../../chunks/account-limits-cache-hxy4942k.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-fht68jp2.js";
|
|
7
|
-
import"../../chunks/account-limits-cache-
|
|
7
|
+
import"../../chunks/account-limits-cache-k8z39pe7.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-eyx1jcxc.js";
|
|
9
|
-
import"../../chunks/account-limits-cache-
|
|
9
|
+
import"../../chunks/account-limits-cache-3dpd8f8k.js";
|
|
10
10
|
import"../../chunks/account-limits-cache-6x05n06z.js";
|
|
11
11
|
import"../../chunks/account-limits-cache-ykbqsvv6.js";
|
|
12
12
|
import"../../chunks/account-limits-cache-90c9c2eb.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OPENCODE_PROMPT_CACHE2,
|
|
3
3
|
opencodeProvider2
|
|
4
|
-
} from "../../chunks/account-limits-cache-
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
4
|
+
} from "../../chunks/account-limits-cache-925zgz25.js";
|
|
5
|
+
import"../../chunks/account-limits-cache-hxy4942k.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-fht68jp2.js";
|
|
7
|
-
import"../../chunks/account-limits-cache-
|
|
7
|
+
import"../../chunks/account-limits-cache-k8z39pe7.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-eyx1jcxc.js";
|
|
9
|
-
import"../../chunks/account-limits-cache-
|
|
9
|
+
import"../../chunks/account-limits-cache-3dpd8f8k.js";
|
|
10
10
|
import"../../chunks/account-limits-cache-6x05n06z.js";
|
|
11
11
|
import"../../chunks/account-limits-cache-ykbqsvv6.js";
|
|
12
12
|
import"../../chunks/account-limits-cache-90c9c2eb.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vercelAiGatewayProvider2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-w8ya0xct.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-ydq8p8qp.js";
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
5
|
+
import"../../chunks/account-limits-cache-3dpd8f8k.js";
|
|
6
6
|
import"../../chunks/account-limits-cache-6x05n06z.js";
|
|
7
7
|
import"../../chunks/account-limits-cache-ag5b8dja.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-ykbqsvv6.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyte-ai/ai",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -129,12 +129,12 @@
|
|
|
129
129
|
"provenance": true
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@anthropic-ai/sdk": "0.
|
|
133
|
-
"@google/genai": "
|
|
134
|
-
"@nyte-ai/schema": "0.0.
|
|
135
|
-
"openai": "
|
|
136
|
-
"partial-json": "0.1.7",
|
|
137
|
-
"typebox": "1.
|
|
132
|
+
"@anthropic-ai/sdk": "^1.0.0",
|
|
133
|
+
"@google/genai": "^2.30.0",
|
|
134
|
+
"@nyte-ai/schema": "0.0.23",
|
|
135
|
+
"openai": "^7.41.0",
|
|
136
|
+
"partial-json": "^0.1.7",
|
|
137
|
+
"typebox": "^1.4.2"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@types/node": "^26.6.5",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|