@letta-ai/letta-code 0.1.11 → 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 +13 -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.11",
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: {
@@ -9377,6 +9377,7 @@ async function createAgent(name = "letta-cli-agent", model = "anthropic/claude-s
9377
9377
  context_window_limit: 200000,
9378
9378
  tools: toolNames,
9379
9379
  block_ids: blockIds,
9380
+ tags: ["origin:letta-code"],
9380
9381
  include_base_tools: false,
9381
9382
  include_base_tool_rules: false,
9382
9383
  initial_message_sequence: []
@@ -34575,7 +34576,7 @@ function buildMessageContentFromDisplay(text) {
34575
34576
  type: "image",
34576
34577
  source: {
34577
34578
  type: "base64",
34578
- mediaType: img.mediaType || "image/jpeg",
34579
+ media_type: img.mediaType || "image/jpeg",
34579
34580
  data: img.data
34580
34581
  }
34581
34582
  });
@@ -39835,21 +39836,21 @@ var require_models = __commonJS((exports, module) => {
39835
39836
  label: "Default (recommended)",
39836
39837
  description: "Use the default model (currently Sonnet 4.5)",
39837
39838
  isDefault: true,
39838
- updateArgs: { contextWindow: 200000 }
39839
+ updateArgs: { contextWindow: 180000 }
39839
39840
  },
39840
39841
  {
39841
39842
  id: "opus",
39842
39843
  handle: "anthropic/claude-opus-4-1-20250805",
39843
39844
  label: "Claude Opus 4.1",
39844
39845
  description: "Anthropic's smartest (and slowest) model",
39845
- updateArgs: { contextWindow: 200000 }
39846
+ updateArgs: { contextWindow: 180000 }
39846
39847
  },
39847
39848
  {
39848
39849
  id: "haiku",
39849
39850
  handle: "anthropic/claude-haiku-4-5-20251001",
39850
39851
  label: "Claude Haiku 4.5",
39851
39852
  description: "Anthropic's fastest model",
39852
- updateArgs: { contextWindow: 200000 }
39853
+ updateArgs: { contextWindow: 180000 }
39853
39854
  },
39854
39855
  {
39855
39856
  id: "gpt-5-codex",
@@ -39911,28 +39912,28 @@ var require_models = __commonJS((exports, module) => {
39911
39912
  handle: "google_ai/gemini-2.5-flash",
39912
39913
  label: "Gemini 2.5 Flash",
39913
39914
  description: "Google's fastest model",
39914
- updateArgs: { contextWindow: 200000 }
39915
+ updateArgs: { contextWindow: 180000 }
39915
39916
  },
39916
39917
  {
39917
39918
  id: "gemini-pro",
39918
39919
  handle: "google_ai/gemini-2.5-pro",
39919
39920
  label: "Gemini 2.5 Pro",
39920
39921
  description: "Google's smartest model",
39921
- updateArgs: { contextWindow: 200000 }
39922
+ updateArgs: { contextWindow: 180000 }
39922
39923
  },
39923
39924
  {
39924
39925
  id: "gpt-4.1",
39925
39926
  handle: "openai/gpt-4.1",
39926
39927
  label: "GPT-4.1",
39927
39928
  description: "OpenAI's most recent non-reasoner model",
39928
- updateArgs: { contextWindow: 200000 }
39929
+ updateArgs: { contextWindow: 180000 }
39929
39930
  },
39930
39931
  {
39931
39932
  id: "o4-mini",
39932
39933
  handle: "openai/o4-mini",
39933
39934
  label: "o4-mini",
39934
39935
  description: "OpenAI's latest o-series reasoning model",
39935
- updateArgs: { contextWindow: 200000 }
39936
+ updateArgs: { contextWindow: 180000 }
39936
39937
  }
39937
39938
  ];
39938
39939
  });
@@ -42704,6 +42705,7 @@ function App2({
42704
42705
  }
42705
42706
  await processConversation([
42706
42707
  {
42708
+ type: "message",
42707
42709
  role: "user",
42708
42710
  content: messageContent
42709
42711
  }
@@ -43200,6 +43202,7 @@ async function createAgent2(name = "letta-cli-agent", model = "anthropic/claude-
43200
43202
  context_window_limit: 200000,
43201
43203
  tools: toolNames,
43202
43204
  block_ids: blockIds,
43205
+ tags: ["origin:letta-code"],
43203
43206
  include_base_tools: false,
43204
43207
  include_base_tool_rules: false,
43205
43208
  initial_message_sequence: []
@@ -43671,4 +43674,4 @@ Note: Flags should use double dashes for full names (e.g., --yolo, not -yolo)`);
43671
43674
  }
43672
43675
  main();
43673
43676
 
43674
- //# debugId=0F267142ED5FD87364756E2164756E21
43677
+ //# debugId=22C804DFF09151C264756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.1.11",
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": {