@letta-ai/letta-code 0.1.12 → 0.1.14

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.
Files changed (2) hide show
  1. package/letta.js +11 -10
  2. package/package.json +1 -1
package/letta.js CHANGED
@@ -6288,7 +6288,7 @@ var package_default;
6288
6288
  var init_package = __esm(() => {
6289
6289
  package_default = {
6290
6290
  name: "@letta-ai/letta-code",
6291
- version: "0.1.12",
6291
+ version: "0.1.14",
6292
6292
  description: "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
6293
6293
  type: "module",
6294
6294
  bin: {
@@ -34576,7 +34576,7 @@ function buildMessageContentFromDisplay(text) {
34576
34576
  type: "image",
34577
34577
  source: {
34578
34578
  type: "base64",
34579
- mediaType: img.mediaType || "image/jpeg",
34579
+ media_type: img.mediaType || "image/jpeg",
34580
34580
  data: img.data
34581
34581
  }
34582
34582
  });
@@ -39836,21 +39836,21 @@ var require_models = __commonJS((exports, module) => {
39836
39836
  label: "Default (recommended)",
39837
39837
  description: "Use the default model (currently Sonnet 4.5)",
39838
39838
  isDefault: true,
39839
- updateArgs: { contextWindow: 200000 }
39839
+ updateArgs: { contextWindow: 180000 }
39840
39840
  },
39841
39841
  {
39842
39842
  id: "opus",
39843
39843
  handle: "anthropic/claude-opus-4-1-20250805",
39844
39844
  label: "Claude Opus 4.1",
39845
39845
  description: "Anthropic's smartest (and slowest) model",
39846
- updateArgs: { contextWindow: 200000 }
39846
+ updateArgs: { contextWindow: 180000 }
39847
39847
  },
39848
39848
  {
39849
39849
  id: "haiku",
39850
39850
  handle: "anthropic/claude-haiku-4-5-20251001",
39851
39851
  label: "Claude Haiku 4.5",
39852
39852
  description: "Anthropic's fastest model",
39853
- updateArgs: { contextWindow: 200000 }
39853
+ updateArgs: { contextWindow: 180000 }
39854
39854
  },
39855
39855
  {
39856
39856
  id: "gpt-5-codex",
@@ -39912,28 +39912,28 @@ var require_models = __commonJS((exports, module) => {
39912
39912
  handle: "google_ai/gemini-2.5-flash",
39913
39913
  label: "Gemini 2.5 Flash",
39914
39914
  description: "Google's fastest model",
39915
- updateArgs: { contextWindow: 200000 }
39915
+ updateArgs: { contextWindow: 180000 }
39916
39916
  },
39917
39917
  {
39918
39918
  id: "gemini-pro",
39919
39919
  handle: "google_ai/gemini-2.5-pro",
39920
39920
  label: "Gemini 2.5 Pro",
39921
39921
  description: "Google's smartest model",
39922
- updateArgs: { contextWindow: 200000 }
39922
+ updateArgs: { contextWindow: 180000 }
39923
39923
  },
39924
39924
  {
39925
39925
  id: "gpt-4.1",
39926
39926
  handle: "openai/gpt-4.1",
39927
39927
  label: "GPT-4.1",
39928
39928
  description: "OpenAI's most recent non-reasoner model",
39929
- updateArgs: { contextWindow: 200000 }
39929
+ updateArgs: { contextWindow: 180000 }
39930
39930
  },
39931
39931
  {
39932
39932
  id: "o4-mini",
39933
39933
  handle: "openai/o4-mini",
39934
39934
  label: "o4-mini",
39935
39935
  description: "OpenAI's latest o-series reasoning model",
39936
- updateArgs: { contextWindow: 200000 }
39936
+ updateArgs: { contextWindow: 180000 }
39937
39937
  }
39938
39938
  ];
39939
39939
  });
@@ -42705,6 +42705,7 @@ function App2({
42705
42705
  }
42706
42706
  await processConversation([
42707
42707
  {
42708
+ type: "message",
42708
42709
  role: "user",
42709
42710
  content: messageContent
42710
42711
  }
@@ -43673,4 +43674,4 @@ Note: Flags should use double dashes for full names (e.g., --yolo, not -yolo)`);
43673
43674
  }
43674
43675
  main();
43675
43676
 
43676
- //# debugId=EBDC2BA0C86BA81D64756E2164756E21
43677
+ //# debugId=22C804DFF09151C264756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
5
5
  "type": "module",
6
6
  "bin": {