@letta-ai/letta-code 0.28.2 → 0.28.3

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 +6 -5
  2. package/package.json +1 -1
package/letta.js CHANGED
@@ -4815,7 +4815,7 @@ var package_default;
4815
4815
  var init_package = __esm(() => {
4816
4816
  package_default = {
4817
4817
  name: "@letta-ai/letta-code",
4818
- version: "0.28.2",
4818
+ version: "0.28.3",
4819
4819
  description: "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
4820
4820
  type: "module",
4821
4821
  packageManager: "bun@1.3.0",
@@ -393725,7 +393725,8 @@ function projectLocalMessageToStoredMessages(message, fallbackAgentId, fallbackC
393725
393725
  conversation_id: conversationId,
393726
393726
  message_type: "user_message",
393727
393727
  role: "user",
393728
- content: userContentToStoredContent(message.content)
393728
+ content: userContentToStoredContent(message.content),
393729
+ ...message.otid ? { otid: message.otid } : {}
393729
393730
  }
393730
393731
  ];
393731
393732
  }
@@ -395109,11 +395110,11 @@ class LocalStore {
395109
395110
  }
395110
395111
  appendUserLocalMessage(conversationId, agentId, message) {
395111
395112
  const conversation = this.ensureConversation(conversationId, agentId);
395112
- const id2 = this.nextLocalMessageId();
395113
395113
  const date6 = this.currentLocalMessageDate();
395114
395114
  const localMessage = {
395115
- id: id2,
395115
+ id: this.nextLocalMessageId(),
395116
395116
  role: "user",
395117
+ otid: optionalString(message.otid ?? message.client_message_id),
395117
395118
  metadata: {
395118
395119
  created_at: date6,
395119
395120
  updated_at: date6,
@@ -554642,4 +554643,4 @@ Error during initialization: ${message}`);
554642
554643
  }
554643
554644
  main2();
554644
554645
 
554645
- //# debugId=FBD3E3DABCE593F564756E2164756E21
554646
+ //# debugId=6B7881A097F42D3C64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.28.2",
3
+ "version": "0.28.3",
4
4
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.0",