@hiper2d/ai-agents 0.40.0 → 0.41.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/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1031,6 +1031,7 @@ var LLM_CONSTANTS = {
|
|
|
1031
1031
|
GPT: "gpt",
|
|
1032
1032
|
GPT_MINI: "gpt-mini",
|
|
1033
1033
|
// Gemini 4 Argon sits above Pro; version-free id so a later Argon repoint keeps persisted ids.
|
|
1034
|
+
GEMINI_NEON: "gemini-neon",
|
|
1034
1035
|
GEMINI_ARGON: "gemini-argon",
|
|
1035
1036
|
GEMINI_PRO: "gemini-pro",
|
|
1036
1037
|
GEMINI_FLASH: "gemini-flash",
|
|
@@ -1217,6 +1218,21 @@ var SupportedAiModels = {
|
|
|
1217
1218
|
// werewolf day-2 vote fixture took 16-34s (380-415 output tokens). At medium the same
|
|
1218
1219
|
// prompt took 4-11s (75-110 output tokens) with the same vote target and a reason just
|
|
1219
1220
|
// as specific — the same trade Grok 4.7 made on 2026-10-06.
|
|
1221
|
+
// Gemini 4 Neon (added 2026-11-18, id verified against GET /v1beta/models): 1M in / 64K
|
|
1222
|
+
// out. Same thinkingLevel dialect — accepts low|medium|high, rejects 'minimal' and 'none'
|
|
1223
|
+
// (probed). Pinned LOW: it thinks even there (200-1,500 tokens a turn where Argon at medium
|
|
1224
|
+
// reports none). Werewolf day-3 prompt (10.5K tokens, cold cache, 2 runs, medians):
|
|
1225
|
+
// low = discussion 8.9s, vote 12.9s, night 10.7s, end-of-day notes 36s, 3.8-5.9¢ a turn;
|
|
1226
|
+
// medium = 15-16s on the short turns for no visible gain; high = 21-23s, notes 51s.
|
|
1227
|
+
// No `temperature` (see the Pro note). Speed tag owed until it has 100 production turns.
|
|
1228
|
+
[LLM_CONSTANTS.GEMINI_NEON]: {
|
|
1229
|
+
displayName: "Gemini 4 Neon",
|
|
1230
|
+
modelApiName: "gemini-4-neon",
|
|
1231
|
+
apiKeyName: API_KEY_CONSTANTS.GOOGLE,
|
|
1232
|
+
hasThinking: true,
|
|
1233
|
+
reasoningEffort: "low",
|
|
1234
|
+
tags: ["expensive"]
|
|
1235
|
+
},
|
|
1220
1236
|
[LLM_CONSTANTS.GEMINI_ARGON]: {
|
|
1221
1237
|
displayName: "Gemini 4 Argon",
|
|
1222
1238
|
modelApiName: "gemini-4-argon",
|
|
@@ -1762,6 +1778,14 @@ var MODEL_PRICING = {
|
|
|
1762
1778
|
extendedContextThresholdTokens: 1e5
|
|
1763
1779
|
},
|
|
1764
1780
|
// Google models
|
|
1781
|
+
[SupportedAiModels[LLM_CONSTANTS.GEMINI_NEON].modelApiName]: {
|
|
1782
|
+
// ai.google.dev pricing page, read 2026-11-18: one flat tier over the whole 1M window
|
|
1783
|
+
// (no long-context rows). Implicit caching only, cached input at 5% of input. Not on
|
|
1784
|
+
// Google's free tier.
|
|
1785
|
+
inputPrice: 3,
|
|
1786
|
+
outputPrice: 15,
|
|
1787
|
+
cacheHitPrice: 0.15
|
|
1788
|
+
},
|
|
1765
1789
|
[SupportedAiModels[LLM_CONSTANTS.GEMINI_ARGON].modelApiName]: {
|
|
1766
1790
|
// Launch pricing (ai.google.dev pricing page, fetched 2026-10-13), one flat tier — no
|
|
1767
1791
|
// >200K long-context rows, unlike 3.1 Pro. DOUBLES on 2026-12-01 to $4.00 / $20.00 /
|
|
@@ -5850,6 +5874,7 @@ var AgentFactory = class {
|
|
|
5850
5874
|
case LLM_CONSTANTS.GPT:
|
|
5851
5875
|
case LLM_CONSTANTS.GPT_MINI:
|
|
5852
5876
|
return new Gpt5Agent(name, instruction, model.modelApiName, key, model.temperature, shouldEnableThinking);
|
|
5877
|
+
case LLM_CONSTANTS.GEMINI_NEON:
|
|
5853
5878
|
case LLM_CONSTANTS.GEMINI_ARGON:
|
|
5854
5879
|
case LLM_CONSTANTS.GEMINI_PRO:
|
|
5855
5880
|
case LLM_CONSTANTS.GEMINI_FLASH:
|