@hiper2d/ai-agents 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -9,6 +9,9 @@ Extracted from the [AI Werewolf](https://aiwerewolf.net) game so its model layer
9
9
  shared across apps. Text agents today; TTS, STT and image-generation agents are planned as
10
10
  subpath exports.
11
11
 
12
+ Migrating a project that has its own agent implementations? Hand [`MIGRATION.md`](./MIGRATION.md)
13
+ to your AI coding assistant — it is written for that job.
14
+
12
15
  ## Install
13
16
 
14
17
  ```bash
package/dist/index.js CHANGED
@@ -934,10 +934,10 @@ var LLM_CONSTANTS = {
934
934
  };
935
935
  var DEFAULT_MAX_OUTPUT_TOKENS = 8192;
936
936
  var SupportedAiModels = {
937
- // Claude Fable - frontier reasoning model. Thinking is always on (no non-thinking variant).
937
+ // Claude Fable 5.1 (2026-09-02, was Fable 5) - frontier reasoning model. Thinking is always on (no non-thinking variant).
938
938
  [LLM_CONSTANTS.CLAUDE_FABLE]: {
939
- displayName: "Claude Fable 5",
940
- modelApiName: "claude-fable-5",
939
+ displayName: "Claude Fable 5.1",
940
+ modelApiName: "claude-fable-5-1",
941
941
  apiKeyName: API_KEY_CONSTANTS.ANTHROPIC,
942
942
  hasThinking: true,
943
943
  reasoningEffort: "high",
@@ -1335,10 +1335,11 @@ var MODEL_PRICING = {
1335
1335
  },
1336
1336
  // Anthropic models
1337
1337
  [SupportedAiModels[LLM_CONSTANTS.CLAUDE_FABLE].modelApiName]: {
1338
- // Full 1M context window at standard pricing (no extended-context premium)
1338
+ // Full 1M context window at standard pricing (no extended-context premium).
1339
+ // Fable 5.1 (2026-09-02): same $10/$50 as Fable 5, but cache reads dropped to $0.25/MTok.
1339
1340
  inputPrice: 10,
1340
1341
  outputPrice: 50,
1341
- cacheHitPrice: 1
1342
+ cacheHitPrice: 0.25
1342
1343
  },
1343
1344
  [SupportedAiModels[LLM_CONSTANTS.CLAUDE_OPUS].modelApiName]: {
1344
1345
  inputPrice: 5,