@nyte-ai/ai 0.0.21 → 0.0.24
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/THIRD-PARTY-NOTICES.md +2 -38
- package/dist/chunks/{account-limits-cache-8wfqg73s.js → account-limits-cache-0n99ptc5.js} +1 -1
- package/dist/chunks/{account-limits-cache-nbkyhs6v.js → account-limits-cache-1mjrnf6q.js} +3 -3
- package/dist/chunks/{account-limits-cache-wtg64ez7.js → account-limits-cache-1ny9js0t.js} +7 -7
- package/dist/chunks/{account-limits-cache-hwehc67r.js → account-limits-cache-1vkyhjec.js} +2 -2
- package/dist/chunks/{account-limits-cache-75smws02.js → account-limits-cache-2yc2hv5v.js} +2 -2
- package/dist/chunks/{account-limits-cache-q63mc41j.js → account-limits-cache-4beqq05p.js} +1 -1
- package/dist/chunks/{account-limits-cache-me1x57bs.js → account-limits-cache-5ya94ve1.js} +42 -12
- package/dist/chunks/{account-limits-cache-gsa5tzck.js → account-limits-cache-6r6bqm7g.js} +1 -1
- package/dist/chunks/{account-limits-cache-53e64mhx.js → account-limits-cache-aazmkcnq.js} +1 -1
- package/dist/chunks/{account-limits-cache-vwgfz727.js → account-limits-cache-gznczekg.js} +1 -1
- package/dist/chunks/{account-limits-cache-a1jyaq00.js → account-limits-cache-h0fr16f1.js} +2 -2
- 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-nyy770yd.js → account-limits-cache-r7mzqsvd.js} +3 -3
- package/dist/chunks/{account-limits-cache-09vs98g6.js → account-limits-cache-tj8a9am1.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 +3 -6
- 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 +4 -4
- package/dist/src/api/openai-codex-protocol.js +2 -2
- package/dist/src/api/openai-codex-responses.js +5 -5
- package/dist/src/api/openai-codex-responses.lazy.js +1 -1
- package/dist/src/api/openai-codex-websocket.js +5 -5
- 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/dist/src/utils/sse.js +1 -1
- package/package.json +7 -7
- /package/dist/chunks/{account-limits-cache-zqdb4yh4.js → account-limits-cache-92q56978.js} +0 -0
- /package/dist/chunks/{account-limits-cache-fp03ztsw.js → account-limits-cache-fdhrgjpr.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-tdgrj49j.js} +0 -0
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -45,39 +45,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
45
45
|
SOFTWARE.
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
## pi-claude-code (`earendil-works/pi-claude-code`)
|
|
49
|
-
|
|
50
|
-
- Repository: https://github.com/earendil-works/pi-claude-code
|
|
51
|
-
- What: the Claude Code CLI provider, single-turn relay, transcript replay,
|
|
52
|
-
process reuse, and billing guards in `packages/plugin/examples/claude-code`
|
|
53
|
-
are adapted from commit `70abb65186592ca788b29b3db22c3160d629c41f`.
|
|
54
|
-
|
|
55
|
-
License: MIT, with the following notice:
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
MIT License
|
|
59
|
-
|
|
60
|
-
Copyright (c) 2026 Armin Ronacher
|
|
61
|
-
|
|
62
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
63
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
64
|
-
in the Software without restriction, including without limitation the rights
|
|
65
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
66
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
67
|
-
furnished to do so, subject to the following conditions:
|
|
68
|
-
|
|
69
|
-
The above copyright notice and this permission notice shall be included in all
|
|
70
|
-
copies or substantial portions of the Software.
|
|
71
|
-
|
|
72
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
73
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
74
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
75
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
76
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
77
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
78
|
-
SOFTWARE.
|
|
79
|
-
```
|
|
80
|
-
|
|
81
48
|
## pi (`earendil-works/pi`)
|
|
82
49
|
|
|
83
50
|
- Repository: https://github.com/earendil-works/pi
|
|
@@ -345,8 +312,8 @@ Copyright 2025 OpenAI
|
|
|
345
312
|
front of the queue (`packages/tui/src/model/interactions.ts`) is its
|
|
346
313
|
`onEmptySubmit`. The rename
|
|
347
314
|
plugin's context construction, prompt, model fallback, and output cleanup
|
|
348
|
-
(`packages/plugin/
|
|
349
|
-
plugin set (`packages/plugin/
|
|
315
|
+
(`packages/plugin/src/rename.ts`) port OpenCode v2. The web-search
|
|
316
|
+
plugin set (`packages/plugin/src/web-search.ts`) ports its Exa, Firecrawl,
|
|
350
317
|
Parallel, and Tavily adapters, its stateless MCP `tools/call` transport and
|
|
351
318
|
response bounds, its result and error vocabulary, and its arrangement of one
|
|
352
319
|
plugin per provider from OpenCode v2.
|
|
@@ -429,9 +396,6 @@ SOFTWARE.
|
|
|
429
396
|
bypass, and connection tuning in `packages/host/src/sqlite*.ts` are adapted
|
|
430
397
|
from `bf8ffe81a63c82d3de5fbaa9991fd5f30034a452`.
|
|
431
398
|
- Homepage: https://t3.codes
|
|
432
|
-
- What: the demo desktop app (`packages/demo/desktop`) follows T3 Code's
|
|
433
|
-
control-surface shape — agents in a sidebar, a conversation workspace, a
|
|
434
|
-
shared composer, and settings behind a dialog.
|
|
435
399
|
|
|
436
400
|
License: MIT, with the following notice:
|
|
437
401
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
anthropicMessagesApi2
|
|
3
|
-
} from "./account-limits-cache-
|
|
3
|
+
} from "./account-limits-cache-92q56978.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";
|
|
@@ -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-0n99ptc5.js";
|
|
16
16
|
import {
|
|
17
17
|
githubCopilotProvider2
|
|
18
|
-
} from "./account-limits-cache-
|
|
18
|
+
} from "./account-limits-cache-h0fr16f1.js";
|
|
19
19
|
import {
|
|
20
20
|
openaiCodexProvider2
|
|
21
|
-
} from "./account-limits-cache-
|
|
21
|
+
} from "./account-limits-cache-tj8a9am1.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-1mjrnf6q.js";
|
|
28
28
|
import {
|
|
29
29
|
opencodeGoProvider2
|
|
30
|
-
} from "./account-limits-cache-
|
|
30
|
+
} from "./account-limits-cache-r7mzqsvd.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-4beqq05p.js";
|
|
37
37
|
|
|
38
38
|
// src/providers/nyte-catalog.ts
|
|
39
39
|
var NYTE_PROVIDERS = [
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
CodexApiError2,
|
|
37
37
|
CodexProtocolError2,
|
|
38
38
|
mapCodexEvents2
|
|
39
|
-
} from "./account-limits-cache-
|
|
39
|
+
} from "./account-limits-cache-gznczekg.js";
|
|
40
40
|
import {
|
|
41
41
|
ResponsesUsageError2,
|
|
42
42
|
processResponsesStream2
|
|
43
|
-
} from "./account-limits-cache-
|
|
43
|
+
} from "./account-limits-cache-aazmkcnq.js";
|
|
44
44
|
|
|
45
45
|
// src/api/openai-codex-websocket.ts
|
|
46
46
|
import { Value } from "typebox/value";
|
|
@@ -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,6 +1,4 @@
|
|
|
1
1
|
// src/utils/sse.ts
|
|
2
|
-
var LINE_BREAK = /\r\n|\r|\n/;
|
|
3
|
-
var FIELD = /^([^:]*):? ?(.*)$/s;
|
|
4
2
|
function flushEvent(state) {
|
|
5
3
|
if (state.event === null && state.data.length === 0)
|
|
6
4
|
return;
|
|
@@ -21,20 +19,51 @@ function decodeLine(line, state) {
|
|
|
21
19
|
state.raw.push(line);
|
|
22
20
|
if (line.startsWith(":"))
|
|
23
21
|
return;
|
|
24
|
-
const
|
|
22
|
+
const colon = line.indexOf(":");
|
|
23
|
+
const field = colon === -1 ? line : line.slice(0, colon);
|
|
24
|
+
const value = colon === -1 ? "" : line.slice(colon + (line[colon + 1] === " " ? 2 : 1));
|
|
25
25
|
if (field === "event")
|
|
26
26
|
state.event = value;
|
|
27
27
|
else if (field === "data")
|
|
28
28
|
state.data.push(value);
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
|
-
function* takeLines(buffer, final) {
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
function* takeLines(buffer, chunk, final) {
|
|
32
|
+
let start = 0;
|
|
33
|
+
if (buffer.pendingCr) {
|
|
34
|
+
if (chunk.length === 0 && !final)
|
|
34
35
|
return;
|
|
35
|
-
yield buffer.
|
|
36
|
-
buffer.
|
|
36
|
+
yield buffer.fragments.join("");
|
|
37
|
+
buffer.fragments = [];
|
|
38
|
+
buffer.pendingCr = false;
|
|
39
|
+
if (chunk.startsWith(`
|
|
40
|
+
`))
|
|
41
|
+
start = 1;
|
|
37
42
|
}
|
|
43
|
+
let cr = chunk.indexOf("\r", start);
|
|
44
|
+
let lf = chunk.indexOf(`
|
|
45
|
+
`, start);
|
|
46
|
+
while (cr !== -1 || lf !== -1) {
|
|
47
|
+
const index = cr === -1 ? lf : lf === -1 ? cr : Math.min(cr, lf);
|
|
48
|
+
const isCr = index === cr;
|
|
49
|
+
buffer.fragments.push(chunk.slice(start, index));
|
|
50
|
+
if (!final && isCr && index === chunk.length - 1) {
|
|
51
|
+
buffer.pendingCr = true;
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
yield buffer.fragments.join("");
|
|
55
|
+
buffer.fragments = [];
|
|
56
|
+
start = index + 1;
|
|
57
|
+
if (isCr && lf === start)
|
|
58
|
+
start += 1;
|
|
59
|
+
if (cr !== -1 && cr < start)
|
|
60
|
+
cr = chunk.indexOf("\r", start);
|
|
61
|
+
if (lf !== -1 && lf < start)
|
|
62
|
+
lf = chunk.indexOf(`
|
|
63
|
+
`, start);
|
|
64
|
+
}
|
|
65
|
+
if (start < chunk.length)
|
|
66
|
+
buffer.fragments.push(chunk.slice(start));
|
|
38
67
|
}
|
|
39
68
|
async function* iterateServerSentEvents2(body, signal, idleTimeoutMs) {
|
|
40
69
|
const reader = body.getReader();
|
|
@@ -44,7 +73,7 @@ async function* iterateServerSentEvents2(body, signal, idleTimeoutMs) {
|
|
|
44
73
|
signal?.addEventListener("abort", cancel, { once: true });
|
|
45
74
|
const decoder = new TextDecoder;
|
|
46
75
|
const state = { event: null, data: [], raw: [] };
|
|
47
|
-
const buffer = {
|
|
76
|
+
const buffer = { fragments: [], pendingCr: false };
|
|
48
77
|
let idleTimer;
|
|
49
78
|
let idleTimedOut = false;
|
|
50
79
|
try {
|
|
@@ -63,8 +92,8 @@ async function* iterateServerSentEvents2(body, signal, idleTimeoutMs) {
|
|
|
63
92
|
throw new Error("Request was aborted");
|
|
64
93
|
if (idleTimedOut)
|
|
65
94
|
throw new DOMException("SSE idle timeout", "TimeoutError");
|
|
66
|
-
|
|
67
|
-
for (const line of takeLines(buffer, done)) {
|
|
95
|
+
const chunk = done ? decoder.decode() : decoder.decode(value, { stream: true });
|
|
96
|
+
for (const line of takeLines(buffer, chunk, done)) {
|
|
68
97
|
const event = decodeLine(line, state);
|
|
69
98
|
if (event)
|
|
70
99
|
yield event;
|
|
@@ -72,7 +101,8 @@ async function* iterateServerSentEvents2(body, signal, idleTimeoutMs) {
|
|
|
72
101
|
if (done)
|
|
73
102
|
break;
|
|
74
103
|
}
|
|
75
|
-
const
|
|
104
|
+
const text = buffer.fragments.join("");
|
|
105
|
+
const trailing = text.length > 0 ? decodeLine(text, state) : undefined;
|
|
76
106
|
if (trailing)
|
|
77
107
|
yield trailing;
|
|
78
108
|
const last = flushEvent(state);
|
|
@@ -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";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./account-limits-cache-9wqk28n5.js";
|
|
21
21
|
import {
|
|
22
22
|
iterateServerSentEvents2
|
|
23
|
-
} from "./account-limits-cache-
|
|
23
|
+
} from "./account-limits-cache-5ya94ve1.js";
|
|
24
24
|
import {
|
|
25
25
|
getSystemMessageText2
|
|
26
26
|
} from "./account-limits-cache-b4edaybk.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
anthropicMessagesApi2
|
|
3
|
-
} from "./account-limits-cache-
|
|
3
|
+
} from "./account-limits-cache-92q56978.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";
|
|
@@ -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",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
anthropicMessagesApi2
|
|
3
|
-
} from "./account-limits-cache-
|
|
3
|
+
} from "./account-limits-cache-92q56978.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-1mjrnf6q.js";
|
|
22
22
|
|
|
23
23
|
// src/providers/opencode-go.ts
|
|
24
24
|
function opencodeGoProvider2() {
|
|
@@ -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";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "../../chunks/account-limits-cache-nbhht7xz.js";
|
|
27
27
|
import {
|
|
28
28
|
iterateServerSentEvents2
|
|
29
|
-
} from "../../chunks/account-limits-cache-
|
|
29
|
+
} from "../../chunks/account-limits-cache-5ya94ve1.js";
|
|
30
30
|
import {
|
|
31
31
|
sanitizeSurrogates2
|
|
32
32
|
} from "../../chunks/account-limits-cache-eqwweapz.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-92q56978.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-fdhrgjpr.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";
|
|
@@ -42,7 +42,7 @@ import"../../chunks/account-limits-cache-ehy0ze2b.js";
|
|
|
42
42
|
import"../../chunks/account-limits-cache-hj3ek3ty.js";
|
|
43
43
|
import"../../chunks/account-limits-cache-8s8bz4dr.js";
|
|
44
44
|
import"../../chunks/account-limits-cache-9wqk28n5.js";
|
|
45
|
-
import"../../chunks/account-limits-cache-
|
|
45
|
+
import"../../chunks/account-limits-cache-5ya94ve1.js";
|
|
46
46
|
import"../../chunks/account-limits-cache-b4edaybk.js";
|
|
47
47
|
import"../../chunks/account-limits-cache-h92bzz1j.js";
|
|
48
48
|
import"../../chunks/account-limits-cache-0af5gqeg.js";
|
|
@@ -59,16 +59,16 @@ import {
|
|
|
59
59
|
CodexProtocolError2,
|
|
60
60
|
extractCodexEventError2,
|
|
61
61
|
parseSSE2
|
|
62
|
-
} from "../../chunks/account-limits-cache-
|
|
62
|
+
} from "../../chunks/account-limits-cache-gznczekg.js";
|
|
63
63
|
import {
|
|
64
64
|
clampOpenAIPromptCacheKey2
|
|
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";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
mapCodexEvents2,
|
|
14
14
|
parseSSE2,
|
|
15
15
|
parseErrorResponse2
|
|
16
|
-
} from "../../chunks/account-limits-cache-
|
|
16
|
+
} from "../../chunks/account-limits-cache-gznczekg.js";
|
|
17
17
|
import"../../chunks/account-limits-cache-n3yk6g5c.js";
|
|
18
18
|
import"../../chunks/account-limits-cache-8qzk56vj.js";
|
|
19
19
|
import"../../chunks/account-limits-cache-h92bzz1j.js";
|
|
20
20
|
import"../../chunks/account-limits-cache-eqwweapz.js";
|
|
21
|
-
import"../../chunks/account-limits-cache-
|
|
21
|
+
import"../../chunks/account-limits-cache-5ya94ve1.js";
|
|
22
22
|
import"../../chunks/account-limits-cache-0af5gqeg.js";
|
|
23
23
|
import"../../chunks/account-limits-cache-8s8bz4dr.js";
|
|
24
24
|
import"../../chunks/account-limits-cache-hj3ek3ty.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "../../chunks/account-limits-cache-h92bzz1j.js";
|
|
42
42
|
import"../../chunks/account-limits-cache-f9z00x8c.js";
|
|
43
43
|
import"../../chunks/account-limits-cache-8s8bz4dr.js";
|
|
44
|
-
import"../../chunks/account-limits-cache-
|
|
44
|
+
import"../../chunks/account-limits-cache-5ya94ve1.js";
|
|
45
45
|
import"../../chunks/account-limits-cache-b4edaybk.js";
|
|
46
46
|
import"../../chunks/account-limits-cache-0af5gqeg.js";
|
|
47
47
|
import"../../chunks/account-limits-cache-eqwweapz.js";
|
|
@@ -56,21 +56,21 @@ import {
|
|
|
56
56
|
mapCodexEvents2,
|
|
57
57
|
parseSSE2,
|
|
58
58
|
parseErrorResponse2
|
|
59
|
-
} from "../../chunks/account-limits-cache-
|
|
59
|
+
} from "../../chunks/account-limits-cache-gznczekg.js";
|
|
60
60
|
import"../../chunks/account-limits-cache-gqsrbky9.js";
|
|
61
61
|
import"../../chunks/account-limits-cache-b23sbrke.js";
|
|
62
62
|
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-1vkyhjec.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-tdgrj49j.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,16 +1,16 @@
|
|
|
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-
|
|
7
|
-
import"../../chunks/account-limits-cache-
|
|
4
|
+
} from "../../chunks/account-limits-cache-1vkyhjec.js";
|
|
5
|
+
import"../../chunks/account-limits-cache-aazmkcnq.js";
|
|
6
|
+
import"../../chunks/account-limits-cache-nem079h8.js";
|
|
7
|
+
import"../../chunks/account-limits-cache-gznczekg.js";
|
|
8
8
|
import"../../chunks/account-limits-cache-n3yk6g5c.js";
|
|
9
9
|
import"../../chunks/account-limits-cache-8qzk56vj.js";
|
|
10
10
|
import"../../chunks/account-limits-cache-736tdyme.js";
|
|
11
11
|
import"../../chunks/account-limits-cache-h92bzz1j.js";
|
|
12
12
|
import"../../chunks/account-limits-cache-eqwweapz.js";
|
|
13
|
-
import"../../chunks/account-limits-cache-
|
|
13
|
+
import"../../chunks/account-limits-cache-5ya94ve1.js";
|
|
14
14
|
import"../../chunks/account-limits-cache-0af5gqeg.js";
|
|
15
15
|
import"../../chunks/account-limits-cache-0yd6bde8.js";
|
|
16
16
|
import"../../chunks/account-limits-cache-8s8bz4dr.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-fdhrgjpr.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-92q56978.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-0n99ptc5.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-h0fr16f1.js";
|
|
214
|
+
import"../chunks/account-limits-cache-tdgrj49j.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-tj8a9am1.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-1mjrnf6q.js";
|
|
231
231
|
import {
|
|
232
232
|
opencodeGoProvider2
|
|
233
|
-
} from "../chunks/account-limits-cache-
|
|
233
|
+
} from "../chunks/account-limits-cache-r7mzqsvd.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-4beqq05p.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-1ny9js0t.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-0n99ptc5.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-92q56978.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-h0fr16f1.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-92q56978.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-1ny9js0t.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-tj8a9am1.js";
|
|
8
|
+
import"../../chunks/account-limits-cache-tdgrj49j.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-r7mzqsvd.js";
|
|
13
|
+
import"../../chunks/account-limits-cache-1mjrnf6q.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-4beqq05p.js";
|
|
18
|
+
import"../../chunks/account-limits-cache-0n99ptc5.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-h0fr16f1.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-92q56978.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-tj8a9am1.js";
|
|
4
|
+
import"../../chunks/account-limits-cache-tdgrj49j.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-r7mzqsvd.js";
|
|
4
|
+
import"../../chunks/account-limits-cache-1mjrnf6q.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-92q56978.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-1mjrnf6q.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-92q56978.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-4beqq05p.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-ydq8p8qp.js";
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
5
|
+
import"../../chunks/account-limits-cache-92q56978.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/dist/src/utils/sse.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyte-ai/ai",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
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.24",
|
|
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
|