@snap-agent/core 0.1.3 → 0.1.4
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/index.d.mts +12 -6
- package/dist/index.d.ts +12 -6
- package/dist/index.js +19 -6
- package/dist/index.mjs +19 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -30,21 +30,27 @@ declare class ProviderFactory {
|
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Common model names for quick reference
|
|
33
|
+
* Updated: February 2026
|
|
33
34
|
*/
|
|
34
35
|
declare const Models: {
|
|
35
36
|
readonly OpenAI: {
|
|
37
|
+
readonly GPT5: "gpt-5";
|
|
38
|
+
readonly GPT5_MINI: "gpt-5-mini";
|
|
36
39
|
readonly GPT4O: "gpt-4o";
|
|
37
40
|
readonly GPT4O_MINI: "gpt-4o-mini";
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
41
|
+
readonly O1: "o1";
|
|
42
|
+
readonly O1_MINI: "o1-mini";
|
|
40
43
|
};
|
|
41
44
|
readonly Anthropic: {
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
+
readonly CLAUDE_4_OPUS: "claude-opus-4-20250514";
|
|
46
|
+
readonly CLAUDE_4_SONNET: "claude-sonnet-4-20250514";
|
|
47
|
+
readonly CLAUDE_37_SONNET: "claude-3-7-sonnet-latest";
|
|
48
|
+
readonly CLAUDE_35_SONNET: "claude-3-5-sonnet-latest";
|
|
49
|
+
readonly CLAUDE_35_HAIKU: "claude-3-5-haiku-latest";
|
|
45
50
|
};
|
|
46
51
|
readonly Google: {
|
|
47
|
-
readonly GEMINI_2_FLASH: "gemini-2.0-flash
|
|
52
|
+
readonly GEMINI_2_FLASH: "gemini-2.0-flash";
|
|
53
|
+
readonly GEMINI_2_FLASH_LITE: "gemini-2.0-flash-lite";
|
|
48
54
|
readonly GEMINI_15_PRO: "gemini-1.5-pro";
|
|
49
55
|
readonly GEMINI_15_FLASH: "gemini-1.5-flash";
|
|
50
56
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -30,21 +30,27 @@ declare class ProviderFactory {
|
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Common model names for quick reference
|
|
33
|
+
* Updated: February 2026
|
|
33
34
|
*/
|
|
34
35
|
declare const Models: {
|
|
35
36
|
readonly OpenAI: {
|
|
37
|
+
readonly GPT5: "gpt-5";
|
|
38
|
+
readonly GPT5_MINI: "gpt-5-mini";
|
|
36
39
|
readonly GPT4O: "gpt-4o";
|
|
37
40
|
readonly GPT4O_MINI: "gpt-4o-mini";
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
41
|
+
readonly O1: "o1";
|
|
42
|
+
readonly O1_MINI: "o1-mini";
|
|
40
43
|
};
|
|
41
44
|
readonly Anthropic: {
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
+
readonly CLAUDE_4_OPUS: "claude-opus-4-20250514";
|
|
46
|
+
readonly CLAUDE_4_SONNET: "claude-sonnet-4-20250514";
|
|
47
|
+
readonly CLAUDE_37_SONNET: "claude-3-7-sonnet-latest";
|
|
48
|
+
readonly CLAUDE_35_SONNET: "claude-3-5-sonnet-latest";
|
|
49
|
+
readonly CLAUDE_35_HAIKU: "claude-3-5-haiku-latest";
|
|
45
50
|
};
|
|
46
51
|
readonly Google: {
|
|
47
|
-
readonly GEMINI_2_FLASH: "gemini-2.0-flash
|
|
52
|
+
readonly GEMINI_2_FLASH: "gemini-2.0-flash";
|
|
53
|
+
readonly GEMINI_2_FLASH_LITE: "gemini-2.0-flash-lite";
|
|
48
54
|
readonly GEMINI_15_PRO: "gemini-1.5-pro";
|
|
49
55
|
readonly GEMINI_15_FLASH: "gemini-1.5-flash";
|
|
50
56
|
};
|
package/dist/index.js
CHANGED
|
@@ -8223,18 +8223,31 @@ var ProviderFactory = class {
|
|
|
8223
8223
|
};
|
|
8224
8224
|
var Models = {
|
|
8225
8225
|
OpenAI: {
|
|
8226
|
+
// GPT-5 series (latest)
|
|
8227
|
+
GPT5: "gpt-5",
|
|
8228
|
+
GPT5_MINI: "gpt-5-mini",
|
|
8229
|
+
// GPT-4o series (stable)
|
|
8226
8230
|
GPT4O: "gpt-4o",
|
|
8227
8231
|
GPT4O_MINI: "gpt-4o-mini",
|
|
8228
|
-
|
|
8229
|
-
|
|
8232
|
+
// Reasoning models
|
|
8233
|
+
O1: "o1",
|
|
8234
|
+
O1_MINI: "o1-mini"
|
|
8230
8235
|
},
|
|
8231
8236
|
Anthropic: {
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8237
|
+
// Claude 4 series (latest)
|
|
8238
|
+
CLAUDE_4_OPUS: "claude-opus-4-20250514",
|
|
8239
|
+
CLAUDE_4_SONNET: "claude-sonnet-4-20250514",
|
|
8240
|
+
// Claude 3.7 series
|
|
8241
|
+
CLAUDE_37_SONNET: "claude-3-7-sonnet-latest",
|
|
8242
|
+
// Claude 3.5 series (stable)
|
|
8243
|
+
CLAUDE_35_SONNET: "claude-3-5-sonnet-latest",
|
|
8244
|
+
CLAUDE_35_HAIKU: "claude-3-5-haiku-latest"
|
|
8235
8245
|
},
|
|
8236
8246
|
Google: {
|
|
8237
|
-
|
|
8247
|
+
// Gemini 2.0 series (latest)
|
|
8248
|
+
GEMINI_2_FLASH: "gemini-2.0-flash",
|
|
8249
|
+
GEMINI_2_FLASH_LITE: "gemini-2.0-flash-lite",
|
|
8250
|
+
// Gemini 1.5 series (stable)
|
|
8238
8251
|
GEMINI_15_PRO: "gemini-1.5-pro",
|
|
8239
8252
|
GEMINI_15_FLASH: "gemini-1.5-flash"
|
|
8240
8253
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -887,18 +887,31 @@ var ProviderFactory = class {
|
|
|
887
887
|
};
|
|
888
888
|
var Models = {
|
|
889
889
|
OpenAI: {
|
|
890
|
+
// GPT-5 series (latest)
|
|
891
|
+
GPT5: "gpt-5",
|
|
892
|
+
GPT5_MINI: "gpt-5-mini",
|
|
893
|
+
// GPT-4o series (stable)
|
|
890
894
|
GPT4O: "gpt-4o",
|
|
891
895
|
GPT4O_MINI: "gpt-4o-mini",
|
|
892
|
-
|
|
893
|
-
|
|
896
|
+
// Reasoning models
|
|
897
|
+
O1: "o1",
|
|
898
|
+
O1_MINI: "o1-mini"
|
|
894
899
|
},
|
|
895
900
|
Anthropic: {
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
901
|
+
// Claude 4 series (latest)
|
|
902
|
+
CLAUDE_4_OPUS: "claude-opus-4-20250514",
|
|
903
|
+
CLAUDE_4_SONNET: "claude-sonnet-4-20250514",
|
|
904
|
+
// Claude 3.7 series
|
|
905
|
+
CLAUDE_37_SONNET: "claude-3-7-sonnet-latest",
|
|
906
|
+
// Claude 3.5 series (stable)
|
|
907
|
+
CLAUDE_35_SONNET: "claude-3-5-sonnet-latest",
|
|
908
|
+
CLAUDE_35_HAIKU: "claude-3-5-haiku-latest"
|
|
899
909
|
},
|
|
900
910
|
Google: {
|
|
901
|
-
|
|
911
|
+
// Gemini 2.0 series (latest)
|
|
912
|
+
GEMINI_2_FLASH: "gemini-2.0-flash",
|
|
913
|
+
GEMINI_2_FLASH_LITE: "gemini-2.0-flash-lite",
|
|
914
|
+
// Gemini 1.5 series (stable)
|
|
902
915
|
GEMINI_15_PRO: "gemini-1.5-pro",
|
|
903
916
|
GEMINI_15_FLASH: "gemini-1.5-flash"
|
|
904
917
|
}
|
package/package.json
CHANGED