@nyte-ai/ai 0.0.23 → 0.0.25-beta.1
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-8qzk56vj.js → account-limits-cache-4qpef10z.js} +14 -1
- package/dist/chunks/{account-limits-cache-xds88kxd.js → account-limits-cache-525841fw.js} +12 -2
- package/dist/chunks/{account-limits-cache-me1x57bs.js → account-limits-cache-5ya94ve1.js} +42 -12
- package/dist/chunks/{account-limits-cache-ezvbhjym.js → account-limits-cache-5zw0zvpy.js} +4 -4
- package/dist/chunks/{account-limits-cache-pfa86y8e.js → account-limits-cache-9twrnvar.js} +1 -1
- package/dist/chunks/{account-limits-cache-vwgfz727.js → account-limits-cache-b25batbp.js} +2 -2
- package/dist/chunks/{account-limits-cache-vbw7n959.js → account-limits-cache-c8r9ga7d.js} +8 -8
- package/dist/chunks/{account-limits-cache-tq0ddhww.js → account-limits-cache-eq2sae8w.js} +3 -3
- package/dist/chunks/{account-limits-cache-zn01kscn.js → account-limits-cache-gtv32njs.js} +1 -1
- package/dist/chunks/{account-limits-cache-nxkprk3g.js → account-limits-cache-gvscpb51.js} +1 -1
- package/dist/chunks/{account-limits-cache-925zgz25.js → account-limits-cache-jt8g1rn2.js} +4 -4
- package/dist/chunks/{account-limits-cache-hndeb95d.js → account-limits-cache-k4zewdqs.js} +1 -1
- package/dist/chunks/{account-limits-cache-8yq9e32s.js → account-limits-cache-kn9pwsba.js} +3 -3
- package/dist/chunks/{account-limits-cache-0jdep92d.js → account-limits-cache-n916ac1t.js} +1 -1
- package/dist/chunks/{account-limits-cache-fdwad56n.js → account-limits-cache-qnrhx8gg.js} +1 -1
- package/dist/chunks/{account-limits-cache-w8ya0xct.js → account-limits-cache-rp9ht95p.js} +1 -1
- package/dist/chunks/{account-limits-cache-n3yk6g5c.js → account-limits-cache-s77e2bgc.js} +1 -1
- package/dist/chunks/{account-limits-cache-bsknrh6t.js → account-limits-cache-sk1m9fsp.js} +1 -1
- package/dist/chunks/{account-limits-cache-aazmkcnq.js → account-limits-cache-w0abqhna.js} +2 -2
- package/dist/chunks/{account-limits-cache-j8c5ra3q.js → account-limits-cache-wawwj02k.js} +16 -5
- package/dist/chunks/{account-limits-cache-6r6bqm7g.js → account-limits-cache-ygydb22m.js} +1 -1
- package/dist/chunks/{account-limits-cache-fbkaq46e.js → account-limits-cache-z9mfzg68.js} +1 -1
- package/dist/src/api/anthropic-convert.d.ts +9 -3
- package/dist/src/api/anthropic-convert.js +5 -2
- package/dist/src/api/anthropic-messages.js +48 -17
- 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 +1 -1
- package/dist/src/api/google-generative-ai.lazy.js +1 -1
- package/dist/src/api/openai-codex-compact.js +7 -7
- package/dist/src/api/openai-codex-protocol.js +4 -4
- package/dist/src/api/openai-codex-responses.js +8 -8
- package/dist/src/api/openai-codex-responses.lazy.js +1 -1
- package/dist/src/api/openai-codex-websocket.js +7 -7
- package/dist/src/api/openai-completions-convert.js +2 -2
- package/dist/src/api/openai-completions-params.js +3 -3
- package/dist/src/api/openai-completions-reasoning.d.ts +5 -5
- package/dist/src/api/openai-completions.js +4 -4
- package/dist/src/api/openai-completions.lazy.js +1 -1
- package/dist/src/api/openai-responses-convert.js +2 -2
- package/dist/src/api/openai-responses-events.d.ts +98 -98
- package/dist/src/api/openai-responses-stream.js +4 -4
- package/dist/src/api/openai-responses.js +4 -4
- package/dist/src/api/openai-responses.lazy.js +1 -1
- package/dist/src/api/transform-messages.d.ts +11 -1
- package/dist/src/api/transform-messages.js +3 -1
- package/dist/src/auth/oauth/authorization-input.d.ts +2 -2
- package/dist/src/index.js +19 -19
- package/dist/src/providers/anthropic.js +2 -2
- package/dist/src/providers/github-copilot.d.ts +1 -1
- package/dist/src/providers/github-copilot.js +4 -4
- package/dist/src/providers/nyte-catalog.js +14 -14
- package/dist/src/providers/openai-codex.js +2 -2
- package/dist/src/providers/openai.js +2 -2
- package/dist/src/providers/opencode-go.js +6 -6
- package/dist/src/providers/opencode.js +5 -5
- package/dist/src/providers/openrouter.js +2 -2
- package/dist/src/providers/vercel-ai-gateway.js +2 -2
- package/dist/src/utils/failure.js +1 -1
- package/dist/src/utils/json-parse.js +1 -1
- package/dist/src/utils/overflow.js +2 -2
- package/dist/src/utils/retry.js +2 -2
- package/dist/src/utils/sse.js +1 -1
- package/package.json +3 -4
- /package/dist/chunks/{account-limits-cache-eyx1jcxc.js → account-limits-cache-20ttssmw.js} +0 -0
- /package/dist/chunks/{account-limits-cache-3dpd8f8k.js → account-limits-cache-3as87r3h.js} +0 -0
- /package/dist/chunks/{account-limits-cache-hxy4942k.js → account-limits-cache-khyz4r1r.js} +0 -0
- /package/dist/chunks/{account-limits-cache-k8z39pe7.js → account-limits-cache-s4xgnvwg.js} +0 -0
- /package/dist/chunks/{account-limits-cache-cknzwbq2.js → account-limits-cache-yck8f1w5.js} +0 -0
- /package/dist/chunks/{account-limits-cache-s9b5ecy4.js → account-limits-cache-z4y0mmpy.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vercelAiGatewayProvider2
|
|
3
|
-
} from "../../chunks/account-limits-cache-
|
|
3
|
+
} from "../../chunks/account-limits-cache-rp9ht95p.js";
|
|
4
4
|
import"../../chunks/account-limits-cache-ydq8p8qp.js";
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
5
|
+
import"../../chunks/account-limits-cache-3as87r3h.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";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
reportsQuotaExhaustion2,
|
|
3
3
|
classifyAssistantFailure2,
|
|
4
4
|
retryCanHelp2
|
|
5
|
-
} from "../../chunks/account-limits-cache-
|
|
5
|
+
} from "../../chunks/account-limits-cache-525841fw.js";
|
|
6
6
|
export {
|
|
7
7
|
classifyAssistantFailure2 as classifyAssistantFailure,
|
|
8
8
|
reportsQuotaExhaustion2 as reportsQuotaExhaustion,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
parseStreamingJson2,
|
|
4
4
|
parseToolCallArguments2,
|
|
5
5
|
unfinishedToolCallArguments2
|
|
6
|
-
} from "../../chunks/account-limits-cache-
|
|
6
|
+
} from "../../chunks/account-limits-cache-z9mfzg68.js";
|
|
7
7
|
export {
|
|
8
8
|
parseStreamingJson2 as parseStreamingJson,
|
|
9
9
|
parseToolCallArguments2 as parseToolCallArguments,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
overflowsContext2,
|
|
3
3
|
stoppedShort2
|
|
4
|
-
} from "../../chunks/account-limits-cache-
|
|
5
|
-
import"../../chunks/account-limits-cache-
|
|
4
|
+
} from "../../chunks/account-limits-cache-gvscpb51.js";
|
|
5
|
+
import"../../chunks/account-limits-cache-525841fw.js";
|
|
6
6
|
export {
|
|
7
7
|
overflowsContext2 as overflowsContext,
|
|
8
8
|
stoppedShort2 as stoppedShort
|
package/dist/src/utils/retry.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
abortableSleep2,
|
|
6
6
|
retryAssistantCall2,
|
|
7
7
|
failedTransiently2
|
|
8
|
-
} from "../../chunks/account-limits-cache-
|
|
9
|
-
import"../../chunks/account-limits-cache-
|
|
8
|
+
} from "../../chunks/account-limits-cache-sk1m9fsp.js";
|
|
9
|
+
import"../../chunks/account-limits-cache-525841fw.js";
|
|
10
10
|
import"../../chunks/account-limits-cache-j2bt392s.js";
|
|
11
11
|
export {
|
|
12
12
|
DEFAULT_MAX_AGENT_RETRY_DELAY_MS2 as DEFAULT_MAX_AGENT_RETRY_DELAY_MS,
|
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.25-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -131,14 +131,13 @@
|
|
|
131
131
|
"dependencies": {
|
|
132
132
|
"@anthropic-ai/sdk": "^1.0.0",
|
|
133
133
|
"@google/genai": "^2.30.0",
|
|
134
|
-
"@nyte-ai/schema": "0.0.
|
|
134
|
+
"@nyte-ai/schema": "0.0.25-beta.1",
|
|
135
135
|
"openai": "^7.41.0",
|
|
136
136
|
"partial-json": "^0.1.7",
|
|
137
137
|
"typebox": "^1.4.2"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@types/node": "^26.6.5",
|
|
141
|
-
"typescript": "6.0.3",
|
|
142
141
|
"vitest": "^5.0.5"
|
|
143
142
|
},
|
|
144
143
|
"engines": {
|
|
@@ -148,7 +147,7 @@
|
|
|
148
147
|
"clean": "rm -rf node_modules .turbo",
|
|
149
148
|
"models:generate": "node scripts/generate-models.ts",
|
|
150
149
|
"models:publish": "node scripts/publish-models.ts",
|
|
151
|
-
"typecheck": "
|
|
150
|
+
"typecheck": "tsc --noEmit",
|
|
152
151
|
"test": "vitest --run",
|
|
153
152
|
"build:package": "bun ../../scripts/sdk-packages.mjs build ai"
|
|
154
153
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|