@letta-ai/letta-code 0.34.30 → 0.34.31

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/letta.js CHANGED
@@ -6044,7 +6044,7 @@ var package_default;
6044
6044
  var init_package = __esm(() => {
6045
6045
  package_default = {
6046
6046
  name: "@letta-ai/letta-code",
6047
- version: "0.34.30",
6047
+ version: "0.34.31",
6048
6048
  lettaStartupLogProtocol: 1,
6049
6049
  lettaConfigDirProtocol: 1,
6050
6050
  description: "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
@@ -211550,7 +211550,7 @@ var init_mcp_client = __esm(() => {
211550
211550
  init_streamableHttp();
211551
211551
  DEFAULT_CLIENT_INFO = {
211552
211552
  name: "letta-code",
211553
- version: "0.34.30"
211553
+ version: "0.34.31"
211554
211554
  };
211555
211555
  });
211556
211556
 
@@ -244499,7 +244499,7 @@ class CodexAppServerClient {
244499
244499
  await this.request("initialize", {
244500
244500
  clientInfo: {
244501
244501
  name: "letta-code",
244502
- version: "0.34.30"
244502
+ version: "0.34.31"
244503
244503
  },
244504
244504
  capabilities: null
244505
244505
  });
@@ -443068,7 +443068,7 @@ function handleTeleportRequest(params) {
443068
443068
  }
443069
443069
  pendingTeleports.set(key4, pending2);
443070
443070
  const conversationRuntime = getOrCreateScopedRuntime(listener, pending2.agentId, pending2.conversationId);
443071
- pending2.drainAcceptedInputs = hasAcceptedInputsWaiting(conversationRuntime, true);
443071
+ pending2.drainAcceptedInputs = hasAcceptedInputsWaiting(conversationRuntime, !conversationRuntime.isProcessing);
443072
443072
  if (!conversationRuntime.isProcessing && !pending2.drainAcceptedInputs) {
443073
443073
  const connection = listener.connections.get(pending2.connectionId);
443074
443074
  if (!connection || !isListenerTransportOpen(connection.writer)) {
@@ -454187,12 +454187,12 @@ function rowToolCalls(row, index, diagnostics2) {
454187
454187
  }
454188
454188
  return calls;
454189
454189
  }
454190
- function contentText2(content) {
454190
+ function contentText3(content) {
454191
454191
  if (typeof content === "string") {
454192
454192
  if (content.startsWith(CONTENT_JSON_PREFIX)) {
454193
454193
  const encoded = content.slice(CONTENT_JSON_PREFIX.length);
454194
454194
  try {
454195
- return contentText2(JSON.parse(encoded));
454195
+ return contentText3(JSON.parse(encoded));
454196
454196
  } catch {
454197
454197
  return encoded;
454198
454198
  }
@@ -454278,7 +454278,7 @@ var init_hermes = __esm(() => {
454278
454278
  });
454279
454279
  };
454280
454280
  if (row.role === "user") {
454281
- const content = contentText2(row.content);
454281
+ const content = contentText3(row.content);
454282
454282
  if (content) {
454283
454283
  emit({
454284
454284
  type: "message",
@@ -454298,7 +454298,7 @@ var init_hermes = __esm(() => {
454298
454298
  ...timestamp ? { timestamp } : {}
454299
454299
  });
454300
454300
  }
454301
- const content = contentText2(row.content);
454301
+ const content = contentText3(row.content);
454302
454302
  if (content) {
454303
454303
  emit({
454304
454304
  type: "message",
@@ -454321,7 +454321,7 @@ var init_hermes = __esm(() => {
454321
454321
  if (row.role === "tool") {
454322
454322
  emit({
454323
454323
  type: "tool_result",
454324
- content: contentText2(row.content),
454324
+ content: contentText3(row.content),
454325
454325
  ...typeof row.tool_call_id === "string" && row.tool_call_id ? { callId: row.tool_call_id } : {},
454326
454326
  ...timestamp ? { timestamp } : {}
454327
454327
  });
@@ -539182,4 +539182,4 @@ function registerBunOAuthFlows() {
539182
539182
  registerBunOAuthFlows();
539183
539183
  await init_src5().then(() => exports_src2);
539184
539184
 
539185
- //# debugId=9F448AA0C77E79A664756E2164756E21
539185
+ //# debugId=5AEE6E35869AE1C864756E2164756E21
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.30",
3
+ "version": "0.34.31",
4
4
  "lockfileVersion": 3,
5
5
  "packages": {
6
6
  "node_modules/@alcalzone/ansi-tokenize": {
@@ -5633,7 +5633,7 @@
5633
5633
  },
5634
5634
  "": {
5635
5635
  "name": "@letta-ai/letta-code",
5636
- "version": "0.34.30",
5636
+ "version": "0.34.31",
5637
5637
  "dependencies": {
5638
5638
  "@cursor/sdk": "1.1.0",
5639
5639
  "@earendil-works/pi-ai": "^0.99.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.30",
3
+ "version": "0.34.31",
4
4
  "lettaStartupLogProtocol": 1,
5
5
  "lettaConfigDirProtocol": 1,
6
6
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",