@absolutejs/ai 0.2.7 → 0.2.9

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/CHANGELOG.md CHANGED
@@ -6,6 +6,18 @@ This file is generated by `absolute-changelog` from the entries in
6
6
  `changelog/`. Edit an entry, not this file — and add new ones under
7
7
  `changelog/unreleased/`.
8
8
 
9
+ ## 0.2.9 — 2026-09-25
10
+
11
+ ### Added
12
+
13
+ - **Add model tiers and a shared `recommendModel` for automatic model choice (fast for quick questions and edits, frontier for deep analysis, balanced otherwise), and feature exactly one frontier model per provider** (`recommendModel`, `recommendTier`, `ModelTier`, `ModelDirectoryEntry`, `MODEL_DIRECTORY`)
14
+
15
+ ## 0.2.8 — 2026-09-25
16
+
17
+ ### Added
18
+
19
+ - **Add a shared model directory for pickers (names, descriptions, featured and legacy flags) with `listModels`, and refresh Anthropic metadata from the Models API: add Claude Opus 5.5, Fable 5, Opus 4.8, Opus 4.7, Opus 4.5 and Sonnet 4.5, record 1M context for Opus 4.6 and Sonnet 4.6, and add their reasoning effort levels** (`MODEL_DIRECTORY`, `MODEL_PROVIDERS`, `listModels`, `findModel`, `modelKey`, `ListedModel`, `ModelDirectoryEntry`, `MODEL_METADATA`, `MODEL_REASONING`)
20
+
9
21
  ## 0.2.7 — 2026-09-24
10
22
 
11
23
  ### Added
package/changelog.json CHANGED
@@ -2,6 +2,44 @@
2
2
  "contract": 1,
3
3
  "name": "@absolutejs/ai",
4
4
  "releases": [
5
+ {
6
+ "changes": [
7
+ {
8
+ "kind": "added",
9
+ "summary": "Add model tiers and a shared `recommendModel` for automatic model choice (fast for quick questions and edits, frontier for deep analysis, balanced otherwise), and feature exactly one frontier model per provider",
10
+ "symbols": [
11
+ "recommendModel",
12
+ "recommendTier",
13
+ "ModelTier",
14
+ "ModelDirectoryEntry",
15
+ "MODEL_DIRECTORY"
16
+ ]
17
+ }
18
+ ],
19
+ "date": "2026-09-25",
20
+ "version": "0.2.9"
21
+ },
22
+ {
23
+ "changes": [
24
+ {
25
+ "kind": "added",
26
+ "summary": "Add a shared model directory for pickers (names, descriptions, featured and legacy flags) with `listModels`, and refresh Anthropic metadata from the Models API: add Claude Opus 5.5, Fable 5, Opus 4.8, Opus 4.7, Opus 4.5 and Sonnet 4.5, record 1M context for Opus 4.6 and Sonnet 4.6, and add their reasoning effort levels",
27
+ "symbols": [
28
+ "MODEL_DIRECTORY",
29
+ "MODEL_PROVIDERS",
30
+ "listModels",
31
+ "findModel",
32
+ "modelKey",
33
+ "ListedModel",
34
+ "ModelDirectoryEntry",
35
+ "MODEL_METADATA",
36
+ "MODEL_REASONING"
37
+ ]
38
+ }
39
+ ],
40
+ "date": "2026-09-25",
41
+ "version": "0.2.8"
42
+ },
5
43
  {
6
44
  "changes": [
7
45
  {
package/dist/ai/index.js CHANGED
@@ -590,6 +590,7 @@ var claude46 = {
590
590
  ...claude,
591
591
  efforts: ["low", "medium", "high", "max"]
592
592
  };
593
+ var opus45 = { ...claude, efforts: ["low", "medium", "high"] };
593
594
  var haiku = profile("budget", ["none", "low", "medium", "high"], "Thinking-token budget: Low 2,048; Medium 8,192; High 16,384. Actual usage can be lower.", "https://platform.claude.com/docs/en/build-with-claude/extended-thinking");
594
595
  var gpt = profile("effort", ["none", "low", "medium", "high", "xhigh", "max"], claude.description, "https://developers.openai.com/api/docs/models/gpt-5.6-sol");
595
596
  var gemini = profile("effort", ["low", "medium", "high"], claude.description, "https://ai.google.dev/gemini-api/docs/openai");
@@ -597,12 +598,18 @@ var deepseek = profile("effort", ["none", "low", "high", "max"], claude.descript
597
598
  var mistral = profile("effort", ["none", "high"], "Minimal thinking or full reasoning. This model does not offer intermediate effort levels.", "https://docs.mistral.ai/studio/conversations/reasoning");
598
599
  var qwen = profile("budget", ["none", "low", "medium", "high"], haiku.description, "https://help.aliyun.com/en/model-studio/deep-thinking");
599
600
  var MODEL_REASONING = {
601
+ "anthropic:claude-opus-5-5": claude,
600
602
  "anthropic:claude-fable-5-1": claude,
601
603
  "anthropic:claude-opus-5": claude,
602
604
  "anthropic:claude-sonnet-5": claude,
605
+ "anthropic:claude-fable-5": claude,
606
+ "anthropic:claude-opus-4-8": claude,
607
+ "anthropic:claude-opus-4-7": claude,
603
608
  "anthropic:claude-sonnet-4-6": claude46,
604
609
  "anthropic:claude-opus-4-6": claude46,
610
+ "anthropic:claude-opus-4-5": opus45,
605
611
  "anthropic:claude-haiku-4-5": haiku,
612
+ "anthropic:claude-sonnet-4-5": haiku,
606
613
  "openai:gpt-6-astra": {
607
614
  ...gpt,
608
615
  efforts: ["low", "medium", "high", "xhigh", "max"],
@@ -8902,5 +8909,5 @@ export {
8902
8909
  xai
8903
8910
  };
8904
8911
 
8905
- //# debugId=F8FFC7094E06DA7B64756E2164756E21
8912
+ //# debugId=E09A768F1F0FB95564756E2164756E21
8906
8913
  //# sourceMappingURL=index.js.map