@dreb/ai 2.9.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models.generated.d.ts +47 -35
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +40 -36
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +19 -0
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/oauth/index.d.ts +2 -0
- package/dist/utils/oauth/index.d.ts.map +1 -1
- package/dist/utils/oauth/index.js +4 -0
- package/dist/utils/oauth/index.js.map +1 -1
- package/dist/utils/oauth/kimi-coding.d.ts +35 -0
- package/dist/utils/oauth/kimi-coding.d.ts.map +1 -0
- package/dist/utils/oauth/kimi-coding.js +416 -0
- package/dist/utils/oauth/kimi-coding.js.map +1 -0
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -1944,23 +1944,6 @@ export const MODELS = {
|
|
|
1944
1944
|
},
|
|
1945
1945
|
},
|
|
1946
1946
|
"azure-openai-responses": {
|
|
1947
|
-
"codex-mini-latest": {
|
|
1948
|
-
id: "codex-mini-latest",
|
|
1949
|
-
name: "Codex Mini",
|
|
1950
|
-
api: "azure-openai-responses",
|
|
1951
|
-
provider: "azure-openai-responses",
|
|
1952
|
-
baseUrl: "",
|
|
1953
|
-
reasoning: true,
|
|
1954
|
-
input: ["text"],
|
|
1955
|
-
cost: {
|
|
1956
|
-
input: 1.5,
|
|
1957
|
-
output: 6,
|
|
1958
|
-
cacheRead: 0.375,
|
|
1959
|
-
cacheWrite: 0,
|
|
1960
|
-
},
|
|
1961
|
-
contextWindow: 200000,
|
|
1962
|
-
maxTokens: 100000,
|
|
1963
|
-
},
|
|
1964
1947
|
"gpt-4": {
|
|
1965
1948
|
id: "gpt-4",
|
|
1966
1949
|
name: "GPT-4",
|
|
@@ -2750,6 +2733,24 @@ export const MODELS = {
|
|
|
2750
2733
|
contextWindow: 1000000,
|
|
2751
2734
|
maxTokens: 64000,
|
|
2752
2735
|
},
|
|
2736
|
+
"claude-opus-4.7": {
|
|
2737
|
+
id: "claude-opus-4.7",
|
|
2738
|
+
name: "Claude Opus 4.7",
|
|
2739
|
+
api: "anthropic-messages",
|
|
2740
|
+
provider: "github-copilot",
|
|
2741
|
+
baseUrl: "https://api.individual.githubcopilot.com",
|
|
2742
|
+
headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
|
|
2743
|
+
reasoning: true,
|
|
2744
|
+
input: ["text", "image"],
|
|
2745
|
+
cost: {
|
|
2746
|
+
input: 0,
|
|
2747
|
+
output: 0,
|
|
2748
|
+
cacheRead: 0,
|
|
2749
|
+
cacheWrite: 0,
|
|
2750
|
+
},
|
|
2751
|
+
contextWindow: 144000,
|
|
2752
|
+
maxTokens: 64000,
|
|
2753
|
+
},
|
|
2753
2754
|
"claude-sonnet-4": {
|
|
2754
2755
|
id: "claude-sonnet-4",
|
|
2755
2756
|
name: "Claude Sonnet 4",
|
|
@@ -4768,6 +4769,26 @@ export const MODELS = {
|
|
|
4768
4769
|
maxTokens: 32768,
|
|
4769
4770
|
},
|
|
4770
4771
|
},
|
|
4772
|
+
"kimi-coding-oauth": {
|
|
4773
|
+
"kimi-for-coding": {
|
|
4774
|
+
id: "kimi-for-coding",
|
|
4775
|
+
name: "Kimi For Coding",
|
|
4776
|
+
api: "openai-completions",
|
|
4777
|
+
provider: "kimi-coding-oauth",
|
|
4778
|
+
baseUrl: "https://api.kimi.com/coding/v1",
|
|
4779
|
+
compat: { "thinkingFormat": "kimi", "supportsDeveloperRole": false },
|
|
4780
|
+
reasoning: true,
|
|
4781
|
+
input: ["text"],
|
|
4782
|
+
cost: {
|
|
4783
|
+
input: 0,
|
|
4784
|
+
output: 0,
|
|
4785
|
+
cacheRead: 0,
|
|
4786
|
+
cacheWrite: 0,
|
|
4787
|
+
},
|
|
4788
|
+
contextWindow: 262144,
|
|
4789
|
+
maxTokens: 32768,
|
|
4790
|
+
},
|
|
4791
|
+
},
|
|
4771
4792
|
"minimax": {
|
|
4772
4793
|
"MiniMax-M2.7": {
|
|
4773
4794
|
id: "MiniMax-M2.7",
|
|
@@ -5285,23 +5306,6 @@ export const MODELS = {
|
|
|
5285
5306
|
},
|
|
5286
5307
|
},
|
|
5287
5308
|
"openai": {
|
|
5288
|
-
"codex-mini-latest": {
|
|
5289
|
-
id: "codex-mini-latest",
|
|
5290
|
-
name: "Codex Mini",
|
|
5291
|
-
api: "openai-responses",
|
|
5292
|
-
provider: "openai",
|
|
5293
|
-
baseUrl: "https://api.openai.com/v1",
|
|
5294
|
-
reasoning: true,
|
|
5295
|
-
input: ["text"],
|
|
5296
|
-
cost: {
|
|
5297
|
-
input: 1.5,
|
|
5298
|
-
output: 6,
|
|
5299
|
-
cacheRead: 0.375,
|
|
5300
|
-
cacheWrite: 0,
|
|
5301
|
-
},
|
|
5302
|
-
contextWindow: 200000,
|
|
5303
|
-
maxTokens: 100000,
|
|
5304
|
-
},
|
|
5305
5309
|
"gpt-4": {
|
|
5306
5310
|
id: "gpt-4",
|
|
5307
5311
|
name: "GPT-4",
|
|
@@ -7492,7 +7496,7 @@ export const MODELS = {
|
|
|
7492
7496
|
api: "openai-completions",
|
|
7493
7497
|
provider: "openrouter",
|
|
7494
7498
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
7495
|
-
reasoning:
|
|
7499
|
+
reasoning: false,
|
|
7496
7500
|
input: ["text"],
|
|
7497
7501
|
cost: {
|
|
7498
7502
|
input: 0.19999999999999998,
|
|
@@ -8588,7 +8592,7 @@ export const MODELS = {
|
|
|
8588
8592
|
cacheRead: 0.07,
|
|
8589
8593
|
cacheWrite: 0,
|
|
8590
8594
|
},
|
|
8591
|
-
contextWindow:
|
|
8595
|
+
contextWindow: 256000,
|
|
8592
8596
|
maxTokens: 4096,
|
|
8593
8597
|
},
|
|
8594
8598
|
"nex-agi/deepseek-v3.1-nex-n1": {
|