@hiper2d/ai-agents 0.23.0 → 0.24.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 CHANGED
@@ -386,6 +386,7 @@ declare const LLM_CONSTANTS: {
386
386
  QWEN_FLASH: string;
387
387
  MINIMAX: string;
388
388
  MUSE_SPARK: string;
389
+ MUSE_WONDER: string;
389
390
  };
390
391
  /**
391
392
  * Per-request output ceiling for ordinary requests. Reasoning tokens are billed inside this
package/dist/index.d.ts CHANGED
@@ -386,6 +386,7 @@ declare const LLM_CONSTANTS: {
386
386
  QWEN_FLASH: string;
387
387
  MINIMAX: string;
388
388
  MUSE_SPARK: string;
389
+ MUSE_WONDER: string;
389
390
  };
390
391
  /**
391
392
  * Per-request output ceiling for ordinary requests. Reasoning tokens are billed inside this
package/dist/index.js CHANGED
@@ -999,7 +999,9 @@ var LLM_CONSTANTS = {
999
999
  // MiniMax. Single M3 entry; stable id without the version for the same repoint reason.
1000
1000
  MINIMAX: "minimax",
1001
1001
  // Meta Model API (api.meta.ai). Muse Spark; version-free id so a 1.3 → 1.4 repoint is entry-only.
1002
- MUSE_SPARK: "muse-spark"
1002
+ MUSE_SPARK: "muse-spark",
1003
+ // Muse Wonder, Meta's larger model above Spark (added 2026-10-13); same version-free pattern.
1004
+ MUSE_WONDER: "muse-wonder"
1003
1005
  };
1004
1006
  var DEFAULT_MAX_OUTPUT_TOKENS = 8192;
1005
1007
  var DEFAULT_REQUEST_TIMEOUT_MS = 6e4;
@@ -1405,6 +1407,20 @@ var SupportedAiModels = {
1405
1407
  temperature: 1,
1406
1408
  reasoningEffort: "medium",
1407
1409
  tags: ["slow"]
1410
+ },
1411
+ // Muse Wonder 1.0 (added 2026-10-13, id verified against GET /v1/models): Meta's model above
1412
+ // Spark, Standard mode only (no Contributor tier). Same MetaAgent and effort vocabulary as
1413
+ // Spark; probed low/medium/high on a short game prompt: 347/455/565 reasoning tokens in
1414
+ // 5.9/7.3/8.5s, so the pin stays 'medium' like Spark. Game-length turns and the story
1415
+ // pipeline are unmeasured — not tagged 'slow' yet; the host decides on Game Master use.
1416
+ [LLM_CONSTANTS.MUSE_WONDER]: {
1417
+ displayName: "Muse Wonder 1.0",
1418
+ modelApiName: "muse-wonder-1.0",
1419
+ apiKeyName: API_KEY_CONSTANTS.META,
1420
+ hasThinking: true,
1421
+ temperature: 1,
1422
+ reasoningEffort: "medium",
1423
+ tags: ["expensive"]
1408
1424
  }
1409
1425
  };
1410
1426
  function createCatalog(overrides = {}) {
@@ -1693,6 +1709,13 @@ var MODEL_PRICING = {
1693
1709
  inputPrice: 1.25,
1694
1710
  outputPrice: 4.25,
1695
1711
  cacheHitPrice: 0.15
1712
+ },
1713
+ // Standard mode (Meta Model API pricing page, 2026-10-13); Contributor mode is not offered
1714
+ // for Wonder. Cached input at 5% of input.
1715
+ [SupportedAiModels[LLM_CONSTANTS.MUSE_WONDER].modelApiName]: {
1716
+ inputPrice: 4,
1717
+ outputPrice: 20,
1718
+ cacheHitPrice: 0.2
1696
1719
  }
1697
1720
  };
1698
1721
  var HYBRID_THINKING_API_NAMES = /* @__PURE__ */ new Set([
@@ -5562,6 +5585,7 @@ var AgentFactory = class {
5562
5585
  return new MiniMaxAgent(name, instruction, model.modelApiName, key, model.temperature, shouldEnableThinking);
5563
5586
  // Meta Muse Spark — Responses API with encrypted reasoning replay, effort from the catalog
5564
5587
  case LLM_CONSTANTS.MUSE_SPARK:
5588
+ case LLM_CONSTANTS.MUSE_WONDER:
5565
5589
  return new MetaAgent(name, instruction, model.modelApiName, key, model.temperature, shouldEnableThinking);
5566
5590
  default:
5567
5591
  throw new Error(`Unknown Key: ${modelName}`);