@heylemon/lemonade 0.5.3 → 0.5.4

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.
@@ -10,9 +10,11 @@ const CLAUDE_MODEL_ALIASES = {
10
10
  "claude-opus-4-5": "opus",
11
11
  "claude-opus-4": "opus",
12
12
  sonnet: "sonnet",
13
+ "sonnet-4.6": "sonnet",
13
14
  "sonnet-4.5": "sonnet",
14
15
  "sonnet-4.1": "sonnet",
15
16
  "sonnet-4.0": "sonnet",
17
+ "claude-sonnet-4-6": "sonnet",
16
18
  "claude-sonnet-4-5": "sonnet",
17
19
  "claude-sonnet-4-1": "sonnet",
18
20
  "claude-sonnet-4-0": "sonnet",
@@ -1,6 +1,6 @@
1
1
  // Defaults for agent metadata when upstream does not supply them.
2
2
  // Model id uses pi-ai's built-in Anthropic catalog.
3
3
  export const DEFAULT_PROVIDER = "anthropic";
4
- export const DEFAULT_MODEL = "claude-opus-4-5";
5
- // Context window: Opus 4.5 supports ~200k tokens (per pi-ai models.generated.ts).
4
+ export const DEFAULT_MODEL = "claude-sonnet-4-6";
5
+ // Context window: Sonnet 4.6 supports up to 1M tokens (200k default).
6
6
  export const DEFAULT_CONTEXT_TOKENS = 200_000;
@@ -1,4 +1,4 @@
1
- const ANTHROPIC_PREFIXES = ["claude-opus-4-5", "claude-sonnet-4-5", "claude-haiku-4-5"];
1
+ const ANTHROPIC_PREFIXES = ["claude-opus-4-5", "claude-sonnet-4-6", "claude-sonnet-4-5", "claude-haiku-4-5"];
2
2
  const OPENAI_MODELS = ["gpt-5.2", "gpt-5.0"];
3
3
  const CODEX_MODELS = [
4
4
  "gpt-5.2",
@@ -33,6 +33,8 @@ function normalizeAnthropicModelId(model) {
33
33
  const lower = trimmed.toLowerCase();
34
34
  if (lower === "opus-4.5")
35
35
  return "claude-opus-4-5";
36
+ if (lower === "sonnet-4.6")
37
+ return "claude-sonnet-4-6";
36
38
  if (lower === "sonnet-4.5")
37
39
  return "claude-sonnet-4-5";
38
40
  return trimmed;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.3",
2
+ "version": "0.5.4",
3
3
  "commit": "bdb274db9db6b173eb00625602e3043d8c07e0d2",
4
- "builtAt": "2026-02-26T06:24:57.760Z"
4
+ "builtAt": "2026-02-26T08:03:30.886Z"
5
5
  }
@@ -1 +1 @@
1
- b9c4e1e0c802224de855221042a77031ff6b822b64643ae6db63ec6f58e47a4c
1
+ c86e59b5d61a3ebb815da0f7ea8465d789b2fca4f8b55a1071e34b44c62a1c7b
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heylemon/lemonade",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "AI gateway CLI for Lemon - local AI assistant with integrations",
5
5
  "publishConfig": {
6
6
  "access": "restricted"