@hiper2d/ai-agents 0.31.1 → 0.32.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.js +16 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1083,7 +1083,7 @@ var SupportedAiModels = {
|
|
|
1083
1083
|
apiKeyName: API_KEY_CONSTANTS.ANTHROPIC,
|
|
1084
1084
|
hasThinking: true,
|
|
1085
1085
|
reasoningEffort: "high",
|
|
1086
|
-
tags: ["expensive"]
|
|
1086
|
+
tags: ["fast", "expensive"]
|
|
1087
1087
|
},
|
|
1088
1088
|
// Haiku moved 4.5 → 5.5 on 2026-10-08 (`claude-haiku-5-5`, verified live with the platform
|
|
1089
1089
|
// key). 10x cheaper ($0.10/$0.50 up to 100K-token prompts), 1M context / 128K output.
|
|
@@ -1097,7 +1097,7 @@ var SupportedAiModels = {
|
|
|
1097
1097
|
apiKeyName: API_KEY_CONSTANTS.ANTHROPIC,
|
|
1098
1098
|
hasThinking: true,
|
|
1099
1099
|
reasoningEffort: "high",
|
|
1100
|
-
tags: ["cheap"]
|
|
1100
|
+
tags: ["fast", "cheap"]
|
|
1101
1101
|
},
|
|
1102
1102
|
// DeepSeek V4 models — thinking-only entries (non-thinking variants retired 2026-08-05).
|
|
1103
1103
|
// reasoningEffort pinned to 'low' 2026-08-30: at the provider default ('high', no budget
|
|
@@ -1114,7 +1114,7 @@ var SupportedAiModels = {
|
|
|
1114
1114
|
reasoningEffort: "low",
|
|
1115
1115
|
// Reasoning tokens share the output budget, so leave room for both CoT and answer.
|
|
1116
1116
|
maxOutputTokens: 65536,
|
|
1117
|
-
tags: ["cheap"]
|
|
1117
|
+
tags: ["very-fast", "cheap"]
|
|
1118
1118
|
},
|
|
1119
1119
|
[LLM_CONSTANTS.DEEPSEEK_PRO]: {
|
|
1120
1120
|
displayName: "DeepSeek V4 Pro",
|
|
@@ -1233,8 +1233,7 @@ var SupportedAiModels = {
|
|
|
1233
1233
|
modelApiName: "gemini-3.8-flash",
|
|
1234
1234
|
apiKeyName: API_KEY_CONSTANTS.GOOGLE,
|
|
1235
1235
|
hasThinking: true,
|
|
1236
|
-
reasoningEffort: "medium"
|
|
1237
|
-
tags: ["fast"]
|
|
1236
|
+
reasoningEffort: "medium"
|
|
1238
1237
|
},
|
|
1239
1238
|
[LLM_CONSTANTS.GEMINI_LITE]: {
|
|
1240
1239
|
displayName: "Gemini 3.5 Flash Lite",
|
|
@@ -1244,7 +1243,7 @@ var SupportedAiModels = {
|
|
|
1244
1243
|
reasoningEffort: "minimal",
|
|
1245
1244
|
// Pre-3.6, same as Pro: keeps the 0.2 it always had.
|
|
1246
1245
|
temperature: 0.2,
|
|
1247
|
-
tags: ["fast", "cheap"]
|
|
1246
|
+
tags: ["very-fast", "cheap"]
|
|
1248
1247
|
},
|
|
1249
1248
|
// Always-on reasoning — no non-thinking sibling. Bumped 4.6 → 4.7 on 2026-09-22 (id verified
|
|
1250
1249
|
// against GET /v1/models). Same price, same 200K extended-context boundary; the context
|
|
@@ -1299,7 +1298,7 @@ var SupportedAiModels = {
|
|
|
1299
1298
|
// model reasons when the field is omitted. The API now takes low|medium|high on Large 4
|
|
1300
1299
|
// (the 400 for `none` lists exactly those; Small still takes only high|none); the level
|
|
1301
1300
|
// barely moved latency or trace size (4-12k chars at every level), so it stays on the
|
|
1302
|
-
// documented 'high' default. Model list: 1M context. Tagged `slow`:
|
|
1301
|
+
// documented 'high' default. Model list: 1M context. Tagged `slow`: prod p90 27.8s (2026-11-03).
|
|
1303
1302
|
[LLM_CONSTANTS.MISTRAL_LARGE]: {
|
|
1304
1303
|
displayName: "Mistral Large 4",
|
|
1305
1304
|
// `mistral-large-latest` still points at Large 3 (no reasoning); use the explicit id.
|
|
@@ -1316,7 +1315,7 @@ var SupportedAiModels = {
|
|
|
1316
1315
|
apiKeyName: API_KEY_CONSTANTS.MISTRAL,
|
|
1317
1316
|
hasThinking: true,
|
|
1318
1317
|
reasoningEffort: "high",
|
|
1319
|
-
tags: ["
|
|
1318
|
+
tags: ["fast", "cheap"]
|
|
1320
1319
|
},
|
|
1321
1320
|
// Kimi models. Always-reasoning entries: K3-series models reason by default and the only way
|
|
1322
1321
|
// to stop it is the undocumented K2-era `thinking: disabled` toggle, which we no longer rely on.
|
|
@@ -1327,7 +1326,7 @@ var SupportedAiModels = {
|
|
|
1327
1326
|
// 15-character story pipeline) to Kimi K3.1 Pro ($2/$10, 1M context, same low|high|max
|
|
1328
1327
|
// effort levels, default max). Live at high effort 2026-10-23: 3-sentence schema ask
|
|
1329
1328
|
// 4.2-4.5s, 8-character scene (476-845 output tokens) 9.7-14.9s = 49-57 tok/s — the same
|
|
1330
|
-
// output speed as K3
|
|
1329
|
+
// output speed as K3. Prod 2026-11-03: p90 34.1s, so `very-slow`.
|
|
1331
1330
|
// Consumer policy (werewolf): 1 bot per free game (opt-in) until 100 turns are measured.
|
|
1332
1331
|
[LLM_CONSTANTS.KIMI]: {
|
|
1333
1332
|
displayName: "Kimi K3.1 Pro",
|
|
@@ -1338,7 +1337,7 @@ var SupportedAiModels = {
|
|
|
1338
1337
|
// Pinned 'high' 2026-09-22, down from Moonshot's 'max' default: K3 had no levels at
|
|
1339
1338
|
// launch and the agent hardcoded max, so this is the first time the knob exists.
|
|
1340
1339
|
reasoningEffort: "high",
|
|
1341
|
-
tags: ["slow", "expensive"]
|
|
1340
|
+
tags: ["very-slow", "expensive"]
|
|
1342
1341
|
},
|
|
1343
1342
|
// Same model, Moonshot's high-speed serving tier ("roughly two to three times faster",
|
|
1344
1343
|
// platform.kimi.ai K3.1 Pro quickstart, read 2026-10-23) at 2x the price ($4/$20 — Opus 5.5
|
|
@@ -1368,8 +1367,7 @@ var SupportedAiModels = {
|
|
|
1368
1367
|
reasoningEffort: "high",
|
|
1369
1368
|
// Headroom for the shared reasoning+answer budget (like the DeepSeek entries), sized
|
|
1370
1369
|
// at 2x default rather than DeepSeek's 65536 to bound worst-case latency on a slow model.
|
|
1371
|
-
maxOutputTokens: 16384
|
|
1372
|
-
tags: ["slow"]
|
|
1370
|
+
maxOutputTokens: 16384
|
|
1373
1371
|
},
|
|
1374
1372
|
// GLM-5.3-Flash (added 2026-08-30): the cheap sibling. Same API contract as GLM-5.3 —
|
|
1375
1373
|
// thinking cannot be disabled and reasoning_effort takes low|high|max only
|
|
@@ -1450,7 +1448,7 @@ var SupportedAiModels = {
|
|
|
1450
1448
|
// the 3.7 models (verified live) — add it to their entries if they ever need taming.
|
|
1451
1449
|
thinkingBudgetTokens: 1024,
|
|
1452
1450
|
// Capped it measures 25-26s → the >25s tier.
|
|
1453
|
-
tags: ["
|
|
1451
|
+
tags: ["slow"]
|
|
1454
1452
|
},
|
|
1455
1453
|
// qwen3.8-flash replaced qwen3.7-flash on 2026-08-30 (same 1M context, 128k max output);
|
|
1456
1454
|
// qwen3.7-plus was retired the same day — persisted 'qwen-plus' ids resolve to this entry
|
|
@@ -1478,8 +1476,8 @@ var SupportedAiModels = {
|
|
|
1478
1476
|
// 1.7s and the 8-character scene (363 output tokens) in 2.4s — ~150 tok/s, the fastest
|
|
1479
1477
|
// provider in the sweep that day (Kimi Highspeed's scene takes 8s); a 3.2k-token game
|
|
1480
1478
|
// prompt with a two-sentence JSON reply took 1.9-2.1s at every effort level vs 3.5s for M3.
|
|
1481
|
-
//
|
|
1482
|
-
//
|
|
1479
|
+
// Production 2026-11-03 (1,271 bot turns): p50 4.8s but p90 16.0s, so no speed tag (see
|
|
1480
|
+
// the grading above; it was `fast` on the sweep). Launched 2026-09-27 as Token-Plan-only (the
|
|
1483
1481
|
// 2026-10-02 probe got `unknown model` on the pay-as-you-go key); on the key since at
|
|
1484
1482
|
// least 2026-10-27.
|
|
1485
1483
|
[LLM_CONSTANTS.MINIMAX]: {
|
|
@@ -1488,7 +1486,7 @@ var SupportedAiModels = {
|
|
|
1488
1486
|
apiKeyName: API_KEY_CONSTANTS.MINIMAX,
|
|
1489
1487
|
hasThinking: true,
|
|
1490
1488
|
reasoningEffort: "medium",
|
|
1491
|
-
tags: ["
|
|
1489
|
+
tags: ["cheap"]
|
|
1492
1490
|
},
|
|
1493
1491
|
// Meta Muse Spark 1.3 (added 2026-09-12) on Meta's own Model API — Standard tier, i.e.
|
|
1494
1492
|
// the private model id (the `-contributor` id is a quarter of the price but Meta trains
|
|
@@ -1498,8 +1496,8 @@ var SupportedAiModels = {
|
|
|
1498
1496
|
// game default: turns are short and every reasoning token bills as output.
|
|
1499
1497
|
// Temperature: Meta documents the model as tuned to its 1.0 default.
|
|
1500
1498
|
// Speed: measured 2026-09-12 at medium effort — 9.6s on a full-context day-2 vote, 4-8s on
|
|
1501
|
-
// short turns (reasoning ≈ 90% of output tokens).
|
|
1502
|
-
//
|
|
1499
|
+
// short turns (reasoning ≈ 90% of output tokens). Prod 2026-11-03: p50 10.5s, p90 24.6s,
|
|
1500
|
+
// which is `slow` by the grading above. Price-wise it
|
|
1503
1501
|
// is neither cheap nor expensive.
|
|
1504
1502
|
[LLM_CONSTANTS.MUSE_SPARK]: {
|
|
1505
1503
|
displayName: "Muse Spark 1.3",
|