@nyte-ai/ai 0.0.23 → 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.
Files changed (32) hide show
  1. package/THIRD-PARTY-NOTICES.md +2 -38
  2. package/dist/chunks/{account-limits-cache-hndeb95d.js → account-limits-cache-0n99ptc5.js} +1 -1
  3. package/dist/chunks/{account-limits-cache-925zgz25.js → account-limits-cache-1mjrnf6q.js} +1 -1
  4. package/dist/chunks/{account-limits-cache-vbw7n959.js → account-limits-cache-1ny9js0t.js} +6 -6
  5. package/dist/chunks/{account-limits-cache-tq0ddhww.js → account-limits-cache-1vkyhjec.js} +1 -1
  6. package/dist/chunks/{account-limits-cache-w8ya0xct.js → account-limits-cache-4beqq05p.js} +1 -1
  7. package/dist/chunks/{account-limits-cache-me1x57bs.js → account-limits-cache-5ya94ve1.js} +42 -12
  8. package/dist/chunks/{account-limits-cache-vwgfz727.js → account-limits-cache-gznczekg.js} +1 -1
  9. package/dist/chunks/{account-limits-cache-8yq9e32s.js → account-limits-cache-h0fr16f1.js} +1 -1
  10. package/dist/chunks/{account-limits-cache-ezvbhjym.js → account-limits-cache-r7mzqsvd.js} +2 -2
  11. package/dist/chunks/{account-limits-cache-0jdep92d.js → account-limits-cache-tj8a9am1.js} +1 -1
  12. package/dist/src/api/anthropic-messages.js +1 -1
  13. package/dist/src/api/anthropic-messages.lazy.js +1 -1
  14. package/dist/src/api/deferred.js +1 -1
  15. package/dist/src/api/openai-codex-compact.js +2 -2
  16. package/dist/src/api/openai-codex-protocol.js +2 -2
  17. package/dist/src/api/openai-codex-responses.js +3 -3
  18. package/dist/src/api/openai-codex-responses.lazy.js +1 -1
  19. package/dist/src/api/openai-codex-websocket.js +3 -3
  20. package/dist/src/index.js +10 -10
  21. package/dist/src/providers/anthropic.js +2 -2
  22. package/dist/src/providers/github-copilot.js +2 -2
  23. package/dist/src/providers/nyte-catalog.js +9 -9
  24. package/dist/src/providers/openai-codex.js +2 -2
  25. package/dist/src/providers/opencode-go.js +3 -3
  26. package/dist/src/providers/opencode.js +2 -2
  27. package/dist/src/providers/vercel-ai-gateway.js +2 -2
  28. package/dist/src/utils/sse.js +1 -1
  29. package/package.json +2 -2
  30. /package/dist/chunks/{account-limits-cache-3dpd8f8k.js → account-limits-cache-92q56978.js} +0 -0
  31. /package/dist/chunks/{account-limits-cache-cknzwbq2.js → account-limits-cache-fdhrgjpr.js} +0 -0
  32. /package/dist/chunks/{account-limits-cache-s9b5ecy4.js → account-limits-cache-tdgrj49j.js} +0 -0
@@ -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/examples/rename.ts`) port OpenCode v2. The web-search
349
- plugin set (`packages/plugin/examples/web-search/`) ports its Exa, Firecrawl,
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,6 +1,6 @@
1
1
  import {
2
2
  anthropicMessagesApi2
3
- } from "./account-limits-cache-3dpd8f8k.js";
3
+ } from "./account-limits-cache-92q56978.js";
4
4
  import {
5
5
  usesClaudeSubscription2
6
6
  } from "./account-limits-cache-ks1sjym9.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  anthropicMessagesApi2
3
- } from "./account-limits-cache-3dpd8f8k.js";
3
+ } from "./account-limits-cache-92q56978.js";
4
4
  import {
5
5
  googleGenerativeAIApi2
6
6
  } from "./account-limits-cache-hxy4942k.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-hndeb95d.js";
15
+ } from "./account-limits-cache-0n99ptc5.js";
16
16
  import {
17
17
  githubCopilotProvider2
18
- } from "./account-limits-cache-8yq9e32s.js";
18
+ } from "./account-limits-cache-h0fr16f1.js";
19
19
  import {
20
20
  openaiCodexProvider2
21
- } from "./account-limits-cache-0jdep92d.js";
21
+ } from "./account-limits-cache-tj8a9am1.js";
22
22
  import {
23
23
  openaiProvider2
24
24
  } from "./account-limits-cache-6r6bqm7g.js";
25
25
  import {
26
26
  opencodeProvider2
27
- } from "./account-limits-cache-925zgz25.js";
27
+ } from "./account-limits-cache-1mjrnf6q.js";
28
28
  import {
29
29
  opencodeGoProvider2
30
- } from "./account-limits-cache-ezvbhjym.js";
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-w8ya0xct.js";
36
+ } from "./account-limits-cache-4beqq05p.js";
37
37
 
38
38
  // src/providers/nyte-catalog.ts
39
39
  var NYTE_PROVIDERS = [
@@ -36,7 +36,7 @@ import {
36
36
  CodexApiError2,
37
37
  CodexProtocolError2,
38
38
  mapCodexEvents2
39
- } from "./account-limits-cache-vwgfz727.js";
39
+ } from "./account-limits-cache-gznczekg.js";
40
40
  import {
41
41
  ResponsesUsageError2,
42
42
  processResponsesStream2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  anthropicMessagesApi2
3
- } from "./account-limits-cache-3dpd8f8k.js";
3
+ } from "./account-limits-cache-92q56978.js";
4
4
  import {
5
5
  envApiKeyAuth2
6
6
  } from "./account-limits-cache-6x05n06z.js";
@@ -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 [, field = "", value = ""] = FIELD.exec(line) ?? [];
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
- for (let match = LINE_BREAK.exec(buffer.text);match; match = LINE_BREAK.exec(buffer.text)) {
33
- if (!final && match[0] === "\r" && match.index === buffer.text.length - 1)
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.text.slice(0, match.index);
36
- buffer.text = buffer.text.slice(match.index + match[0].length);
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 = { text: "" };
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
- buffer.text += done ? decoder.decode() : decoder.decode(value, { stream: true });
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 trailing = buffer.text.length > 0 ? decodeLine(buffer.text, state) : undefined;
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);
@@ -20,7 +20,7 @@ import {
20
20
  } from "./account-limits-cache-9wqk28n5.js";
21
21
  import {
22
22
  iterateServerSentEvents2
23
- } from "./account-limits-cache-me1x57bs.js";
23
+ } from "./account-limits-cache-5ya94ve1.js";
24
24
  import {
25
25
  getSystemMessageText2
26
26
  } from "./account-limits-cache-b4edaybk.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  anthropicMessagesApi2
3
- } from "./account-limits-cache-3dpd8f8k.js";
3
+ } from "./account-limits-cache-92q56978.js";
4
4
  import {
5
5
  openAICompletionsApi2
6
6
  } from "./account-limits-cache-eyx1jcxc.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  anthropicMessagesApi2
3
- } from "./account-limits-cache-3dpd8f8k.js";
3
+ } from "./account-limits-cache-92q56978.js";
4
4
  import {
5
5
  openAICompletionsApi2
6
6
  } from "./account-limits-cache-eyx1jcxc.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-925zgz25.js";
21
+ } from "./account-limits-cache-1mjrnf6q.js";
22
22
 
23
23
  // src/providers/opencode-go.ts
24
24
  function opencodeGoProvider2() {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  openAICodexResponsesApi2
3
- } from "./account-limits-cache-s9b5ecy4.js";
3
+ } from "./account-limits-cache-tdgrj49j.js";
4
4
  import {
5
5
  fetchOpenAICodexAccountLimits2
6
6
  } from "./account-limits-cache-hj3ek3ty.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-me1x57bs.js";
29
+ } from "../../chunks/account-limits-cache-5ya94ve1.js";
30
30
  import {
31
31
  sanitizeSurrogates2
32
32
  } from "../../chunks/account-limits-cache-eqwweapz.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  anthropicMessagesApi2
3
- } from "../../chunks/account-limits-cache-3dpd8f8k.js";
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";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  compactOpenAICodexContext2,
3
3
  compactOpenAIResponsesContext2
4
- } from "../../chunks/account-limits-cache-cknzwbq2.js";
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 {
@@ -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-me1x57bs.js";
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,7 +59,7 @@ import {
59
59
  CodexProtocolError2,
60
60
  extractCodexEventError2,
61
61
  parseSSE2
62
- } from "../../chunks/account-limits-cache-vwgfz727.js";
62
+ } from "../../chunks/account-limits-cache-gznczekg.js";
63
63
  import {
64
64
  clampOpenAIPromptCacheKey2
65
65
  } from "../../chunks/account-limits-cache-csbxvam7.js";
@@ -13,12 +13,12 @@ import {
13
13
  mapCodexEvents2,
14
14
  parseSSE2,
15
15
  parseErrorResponse2
16
- } from "../../chunks/account-limits-cache-vwgfz727.js";
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-me1x57bs.js";
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-me1x57bs.js";
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,7 +56,7 @@ import {
56
56
  mapCodexEvents2,
57
57
  parseSSE2,
58
58
  parseErrorResponse2
59
- } from "../../chunks/account-limits-cache-vwgfz727.js";
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";
@@ -70,7 +70,7 @@ import {
70
70
  } from "../../chunks/account-limits-cache-aazmkcnq.js";
71
71
  import {
72
72
  streamOverWebSocket2
73
- } from "../../chunks/account-limits-cache-tq0ddhww.js";
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-s9b5ecy4.js";
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-tq0ddhww.js";
4
+ } from "../../chunks/account-limits-cache-1vkyhjec.js";
5
5
  import"../../chunks/account-limits-cache-aazmkcnq.js";
6
6
  import"../../chunks/account-limits-cache-nem079h8.js";
7
- import"../../chunks/account-limits-cache-vwgfz727.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-me1x57bs.js";
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";
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-cknzwbq2.js";
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-3dpd8f8k.js";
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-hndeb95d.js";
208
+ } from "../chunks/account-limits-cache-0n99ptc5.js";
209
209
  import"../chunks/account-limits-cache-eyx1jcxc.js";
210
210
  import"../chunks/account-limits-cache-k8z39pe7.js";
211
211
  import {
212
212
  githubCopilotProvider2
213
- } from "../chunks/account-limits-cache-8yq9e32s.js";
214
- import"../chunks/account-limits-cache-s9b5ecy4.js";
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,7 +219,7 @@ import {
219
219
  } from "../chunks/account-limits-cache-hj3ek3ty.js";
220
220
  import {
221
221
  openaiCodexProvider2
222
- } from "../chunks/account-limits-cache-0jdep92d.js";
222
+ } from "../chunks/account-limits-cache-tj8a9am1.js";
223
223
  import {
224
224
  openaiProvider2
225
225
  } from "../chunks/account-limits-cache-6r6bqm7g.js";
@@ -227,21 +227,21 @@ import"../chunks/account-limits-cache-fht68jp2.js";
227
227
  import"../chunks/account-limits-cache-hxy4942k.js";
228
228
  import {
229
229
  opencodeProvider2
230
- } from "../chunks/account-limits-cache-925zgz25.js";
230
+ } from "../chunks/account-limits-cache-1mjrnf6q.js";
231
231
  import {
232
232
  opencodeGoProvider2
233
- } from "../chunks/account-limits-cache-ezvbhjym.js";
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-w8ya0xct.js";
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-vbw7n959.js";
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-hndeb95d.js";
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-3dpd8f8k.js";
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-8yq9e32s.js";
3
+ } from "../../chunks/account-limits-cache-h0fr16f1.js";
4
4
  import"../../chunks/account-limits-cache-cw7q7vfy.js";
5
5
  import"../../chunks/account-limits-cache-k8z39pe7.js";
6
6
  import"../../chunks/account-limits-cache-eyx1jcxc.js";
7
- import"../../chunks/account-limits-cache-3dpd8f8k.js";
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-vbw7n959.js";
5
+ } from "../../chunks/account-limits-cache-1ny9js0t.js";
6
6
  import"../../chunks/account-limits-cache-yzyp0c2h.js";
7
- import"../../chunks/account-limits-cache-0jdep92d.js";
8
- import"../../chunks/account-limits-cache-s9b5ecy4.js";
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
11
  import"../../chunks/account-limits-cache-6r6bqm7g.js";
12
- import"../../chunks/account-limits-cache-ezvbhjym.js";
13
- import"../../chunks/account-limits-cache-925zgz25.js";
12
+ import"../../chunks/account-limits-cache-r7mzqsvd.js";
13
+ import"../../chunks/account-limits-cache-1mjrnf6q.js";
14
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-w8ya0xct.js";
18
- import"../../chunks/account-limits-cache-hndeb95d.js";
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-8yq9e32s.js";
23
+ import"../../chunks/account-limits-cache-h0fr16f1.js";
24
24
  import"../../chunks/account-limits-cache-cw7q7vfy.js";
25
25
  import"../../chunks/account-limits-cache-k8z39pe7.js";
26
26
  import"../../chunks/account-limits-cache-eyx1jcxc.js";
27
- import"../../chunks/account-limits-cache-3dpd8f8k.js";
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-0jdep92d.js";
4
- import"../../chunks/account-limits-cache-s9b5ecy4.js";
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,12 +1,12 @@
1
1
  import {
2
2
  opencodeGoProvider2
3
- } from "../../chunks/account-limits-cache-ezvbhjym.js";
4
- import"../../chunks/account-limits-cache-925zgz25.js";
3
+ } from "../../chunks/account-limits-cache-r7mzqsvd.js";
4
+ import"../../chunks/account-limits-cache-1mjrnf6q.js";
5
5
  import"../../chunks/account-limits-cache-hxy4942k.js";
6
6
  import"../../chunks/account-limits-cache-fht68jp2.js";
7
7
  import"../../chunks/account-limits-cache-k8z39pe7.js";
8
8
  import"../../chunks/account-limits-cache-eyx1jcxc.js";
9
- import"../../chunks/account-limits-cache-3dpd8f8k.js";
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-925zgz25.js";
4
+ } from "../../chunks/account-limits-cache-1mjrnf6q.js";
5
5
  import"../../chunks/account-limits-cache-hxy4942k.js";
6
6
  import"../../chunks/account-limits-cache-fht68jp2.js";
7
7
  import"../../chunks/account-limits-cache-k8z39pe7.js";
8
8
  import"../../chunks/account-limits-cache-eyx1jcxc.js";
9
- import"../../chunks/account-limits-cache-3dpd8f8k.js";
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-w8ya0xct.js";
3
+ } from "../../chunks/account-limits-cache-4beqq05p.js";
4
4
  import"../../chunks/account-limits-cache-ydq8p8qp.js";
5
- import"../../chunks/account-limits-cache-3dpd8f8k.js";
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";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  iterateServerSentEvents2
3
- } from "../../chunks/account-limits-cache-me1x57bs.js";
3
+ } from "../../chunks/account-limits-cache-5ya94ve1.js";
4
4
  export {
5
5
  iterateServerSentEvents2 as iterateServerSentEvents
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyte-ai/ai",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -131,7 +131,7 @@
131
131
  "dependencies": {
132
132
  "@anthropic-ai/sdk": "^1.0.0",
133
133
  "@google/genai": "^2.30.0",
134
- "@nyte-ai/schema": "0.0.23",
134
+ "@nyte-ai/schema": "0.0.24",
135
135
  "openai": "^7.41.0",
136
136
  "partial-json": "^0.1.7",
137
137
  "typebox": "^1.4.2"