@letta-ai/letta-client 0.1.111 → 0.1.112

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 (127) hide show
  1. package/api/resources/agents/client/Client.js +9 -9
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  6. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  7. package/api/resources/agents/resources/messages/client/Client.js +6 -6
  8. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  9. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  10. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  11. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  12. package/api/resources/batches/client/Client.js +4 -4
  13. package/api/resources/blocks/client/Client.js +5 -5
  14. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  15. package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  16. package/api/resources/embeddingModels/client/Client.js +1 -1
  17. package/api/resources/embeddings/client/Client.js +1 -1
  18. package/api/resources/groups/client/Client.js +5 -5
  19. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  20. package/api/resources/health/client/Client.js +1 -1
  21. package/api/resources/identities/client/Client.js +7 -7
  22. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  23. package/api/resources/jobs/client/Client.js +4 -4
  24. package/api/resources/models/client/Client.js +1 -1
  25. package/api/resources/projects/client/Client.js +1 -1
  26. package/api/resources/providers/client/Client.js +4 -4
  27. package/api/resources/runs/client/Client.js +4 -4
  28. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  29. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  30. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  31. package/api/resources/sources/client/Client.js +7 -7
  32. package/api/resources/sources/resources/files/client/Client.js +3 -3
  33. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  34. package/api/resources/steps/client/Client.js +2 -2
  35. package/api/resources/tags/client/Client.js +1 -1
  36. package/api/resources/templates/client/Client.js +1 -1
  37. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  38. package/api/resources/tools/client/Client.js +17 -17
  39. package/api/resources/voice/client/Client.js +1 -1
  40. package/api/types/AssistantMessage.d.ts +1 -0
  41. package/api/types/HiddenReasoningMessage.d.ts +1 -0
  42. package/api/types/Message.d.ts +5 -0
  43. package/api/types/ReasoningMessage.d.ts +1 -0
  44. package/api/types/SystemMessage.d.ts +1 -0
  45. package/api/types/ToolCallMessage.d.ts +1 -0
  46. package/api/types/ToolReturnMessage.d.ts +1 -0
  47. package/api/types/UserMessage.d.ts +1 -0
  48. package/dist/api/resources/agents/client/Client.js +9 -9
  49. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  50. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  51. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  52. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  53. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  54. package/dist/api/resources/agents/resources/messages/client/Client.js +6 -6
  55. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  56. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  57. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  58. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  59. package/dist/api/resources/batches/client/Client.js +4 -4
  60. package/dist/api/resources/blocks/client/Client.js +5 -5
  61. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  62. package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  63. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  64. package/dist/api/resources/embeddings/client/Client.js +1 -1
  65. package/dist/api/resources/groups/client/Client.js +5 -5
  66. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  67. package/dist/api/resources/health/client/Client.js +1 -1
  68. package/dist/api/resources/identities/client/Client.js +7 -7
  69. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  70. package/dist/api/resources/jobs/client/Client.js +4 -4
  71. package/dist/api/resources/models/client/Client.js +1 -1
  72. package/dist/api/resources/projects/client/Client.js +1 -1
  73. package/dist/api/resources/providers/client/Client.js +4 -4
  74. package/dist/api/resources/runs/client/Client.js +4 -4
  75. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  76. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  77. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  78. package/dist/api/resources/sources/client/Client.js +7 -7
  79. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  80. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  81. package/dist/api/resources/steps/client/Client.js +2 -2
  82. package/dist/api/resources/tags/client/Client.js +1 -1
  83. package/dist/api/resources/templates/client/Client.js +1 -1
  84. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  85. package/dist/api/resources/tools/client/Client.js +17 -17
  86. package/dist/api/resources/voice/client/Client.js +1 -1
  87. package/dist/api/types/AssistantMessage.d.ts +1 -0
  88. package/dist/api/types/HiddenReasoningMessage.d.ts +1 -0
  89. package/dist/api/types/Message.d.ts +5 -0
  90. package/dist/api/types/ReasoningMessage.d.ts +1 -0
  91. package/dist/api/types/SystemMessage.d.ts +1 -0
  92. package/dist/api/types/ToolCallMessage.d.ts +1 -0
  93. package/dist/api/types/ToolReturnMessage.d.ts +1 -0
  94. package/dist/api/types/UserMessage.d.ts +1 -0
  95. package/dist/serialization/types/AssistantMessage.d.ts +1 -0
  96. package/dist/serialization/types/AssistantMessage.js +1 -0
  97. package/dist/serialization/types/HiddenReasoningMessage.d.ts +1 -0
  98. package/dist/serialization/types/HiddenReasoningMessage.js +1 -0
  99. package/dist/serialization/types/ReasoningMessage.d.ts +1 -0
  100. package/dist/serialization/types/ReasoningMessage.js +1 -0
  101. package/dist/serialization/types/SystemMessage.d.ts +1 -0
  102. package/dist/serialization/types/SystemMessage.js +1 -0
  103. package/dist/serialization/types/ToolCallMessage.d.ts +1 -0
  104. package/dist/serialization/types/ToolCallMessage.js +1 -0
  105. package/dist/serialization/types/ToolReturnMessage.d.ts +1 -0
  106. package/dist/serialization/types/ToolReturnMessage.js +1 -0
  107. package/dist/serialization/types/UserMessage.d.ts +1 -0
  108. package/dist/serialization/types/UserMessage.js +1 -0
  109. package/dist/version.d.ts +1 -1
  110. package/dist/version.js +1 -1
  111. package/package.json +1 -1
  112. package/serialization/types/AssistantMessage.d.ts +1 -0
  113. package/serialization/types/AssistantMessage.js +1 -0
  114. package/serialization/types/HiddenReasoningMessage.d.ts +1 -0
  115. package/serialization/types/HiddenReasoningMessage.js +1 -0
  116. package/serialization/types/ReasoningMessage.d.ts +1 -0
  117. package/serialization/types/ReasoningMessage.js +1 -0
  118. package/serialization/types/SystemMessage.d.ts +1 -0
  119. package/serialization/types/SystemMessage.js +1 -0
  120. package/serialization/types/ToolCallMessage.d.ts +1 -0
  121. package/serialization/types/ToolCallMessage.js +1 -0
  122. package/serialization/types/ToolReturnMessage.d.ts +1 -0
  123. package/serialization/types/ToolReturnMessage.js +1 -0
  124. package/serialization/types/UserMessage.d.ts +1 -0
  125. package/serialization/types/UserMessage.js +1 -0
  126. package/version.d.ts +1 -1
  127. package/version.js +1 -1
@@ -17,6 +17,7 @@ export interface SystemMessage {
17
17
  messageType: "system_message";
18
18
  otid?: string;
19
19
  senderId?: string;
20
+ stepId?: string;
20
21
  /** The message content sent by the system */
21
22
  content: string;
22
23
  }
@@ -18,5 +18,6 @@ export interface ToolCallMessage {
18
18
  messageType: "tool_call_message";
19
19
  otid?: string;
20
20
  senderId?: string;
21
+ stepId?: string;
21
22
  toolCall: Letta.ToolCallMessageToolCall;
22
23
  }
@@ -22,6 +22,7 @@ export interface ToolReturnMessage {
22
22
  messageType: "tool_return_message";
23
23
  otid?: string;
24
24
  senderId?: string;
25
+ stepId?: string;
25
26
  toolReturn: string;
26
27
  status: Letta.ToolReturnMessageStatus;
27
28
  toolCallId: string;
@@ -18,6 +18,7 @@ export interface UserMessage {
18
18
  messageType: "user_message";
19
19
  otid?: string;
20
20
  senderId?: string;
21
+ stepId?: string;
21
22
  /** The message content sent by the user (can be a string or an array of multi-modal content parts) */
22
23
  content: Letta.UserMessageContent;
23
24
  }
@@ -14,6 +14,7 @@ export declare namespace AssistantMessage {
14
14
  message_type: "assistant_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  content: AssistantMessageContent.Raw;
18
19
  }
19
20
  }
@@ -46,5 +46,6 @@ exports.AssistantMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("assistant_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  content: AssistantMessageContent_1.AssistantMessageContent,
50
51
  });
@@ -14,6 +14,7 @@ export declare namespace HiddenReasoningMessage {
14
14
  message_type: "hidden_reasoning_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  state: HiddenReasoningMessageState.Raw;
18
19
  hidden_reasoning?: string | null;
19
20
  }
@@ -46,6 +46,7 @@ exports.HiddenReasoningMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("hidden_reasoning_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  state: HiddenReasoningMessageState_1.HiddenReasoningMessageState,
50
51
  hiddenReasoning: core.serialization.property("hidden_reasoning", core.serialization.string().optional()),
51
52
  });
@@ -14,6 +14,7 @@ export declare namespace ReasoningMessage {
14
14
  message_type: "reasoning_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  source?: ReasoningMessageSource.Raw | null;
18
19
  reasoning: string;
19
20
  signature?: string | null;
@@ -46,6 +46,7 @@ exports.ReasoningMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("reasoning_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  source: ReasoningMessageSource_1.ReasoningMessageSource.optional(),
50
51
  reasoning: core.serialization.string(),
51
52
  signature: core.serialization.string().optional(),
@@ -13,6 +13,7 @@ export declare namespace SystemMessage {
13
13
  message_type: "system_message";
14
14
  otid?: string | null;
15
15
  sender_id?: string | null;
16
+ step_id?: string | null;
16
17
  content: string;
17
18
  }
18
19
  }
@@ -45,5 +45,6 @@ exports.SystemMessage = core.serialization.object({
45
45
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("system_message")),
46
46
  otid: core.serialization.string().optional(),
47
47
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
48
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
48
49
  content: core.serialization.string(),
49
50
  });
@@ -14,6 +14,7 @@ export declare namespace ToolCallMessage {
14
14
  message_type: "tool_call_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  tool_call: ToolCallMessageToolCall.Raw;
18
19
  }
19
20
  }
@@ -46,5 +46,6 @@ exports.ToolCallMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("tool_call_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  toolCall: core.serialization.property("tool_call", ToolCallMessageToolCall_1.ToolCallMessageToolCall),
50
51
  });
@@ -14,6 +14,7 @@ export declare namespace ToolReturnMessage {
14
14
  message_type: "tool_return_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  tool_return: string;
18
19
  status: ToolReturnMessageStatus.Raw;
19
20
  tool_call_id: string;
@@ -46,6 +46,7 @@ exports.ToolReturnMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("tool_return_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  toolReturn: core.serialization.property("tool_return", core.serialization.string()),
50
51
  status: ToolReturnMessageStatus_1.ToolReturnMessageStatus,
51
52
  toolCallId: core.serialization.property("tool_call_id", core.serialization.string()),
@@ -14,6 +14,7 @@ export declare namespace UserMessage {
14
14
  message_type: "user_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  content: UserMessageContent.Raw;
18
19
  }
19
20
  }
@@ -46,5 +46,6 @@ exports.UserMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("user_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  content: UserMessageContent_1.UserMessageContent,
50
51
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.111";
1
+ export declare const SDK_VERSION = "0.1.112";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.111";
4
+ exports.SDK_VERSION = "0.1.112";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.111",
3
+ "version": "0.1.112",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
@@ -14,6 +14,7 @@ export declare namespace AssistantMessage {
14
14
  message_type: "assistant_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  content: AssistantMessageContent.Raw;
18
19
  }
19
20
  }
@@ -46,5 +46,6 @@ exports.AssistantMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("assistant_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  content: AssistantMessageContent_1.AssistantMessageContent,
50
51
  });
@@ -14,6 +14,7 @@ export declare namespace HiddenReasoningMessage {
14
14
  message_type: "hidden_reasoning_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  state: HiddenReasoningMessageState.Raw;
18
19
  hidden_reasoning?: string | null;
19
20
  }
@@ -46,6 +46,7 @@ exports.HiddenReasoningMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("hidden_reasoning_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  state: HiddenReasoningMessageState_1.HiddenReasoningMessageState,
50
51
  hiddenReasoning: core.serialization.property("hidden_reasoning", core.serialization.string().optional()),
51
52
  });
@@ -14,6 +14,7 @@ export declare namespace ReasoningMessage {
14
14
  message_type: "reasoning_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  source?: ReasoningMessageSource.Raw | null;
18
19
  reasoning: string;
19
20
  signature?: string | null;
@@ -46,6 +46,7 @@ exports.ReasoningMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("reasoning_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  source: ReasoningMessageSource_1.ReasoningMessageSource.optional(),
50
51
  reasoning: core.serialization.string(),
51
52
  signature: core.serialization.string().optional(),
@@ -13,6 +13,7 @@ export declare namespace SystemMessage {
13
13
  message_type: "system_message";
14
14
  otid?: string | null;
15
15
  sender_id?: string | null;
16
+ step_id?: string | null;
16
17
  content: string;
17
18
  }
18
19
  }
@@ -45,5 +45,6 @@ exports.SystemMessage = core.serialization.object({
45
45
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("system_message")),
46
46
  otid: core.serialization.string().optional(),
47
47
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
48
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
48
49
  content: core.serialization.string(),
49
50
  });
@@ -14,6 +14,7 @@ export declare namespace ToolCallMessage {
14
14
  message_type: "tool_call_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  tool_call: ToolCallMessageToolCall.Raw;
18
19
  }
19
20
  }
@@ -46,5 +46,6 @@ exports.ToolCallMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("tool_call_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  toolCall: core.serialization.property("tool_call", ToolCallMessageToolCall_1.ToolCallMessageToolCall),
50
51
  });
@@ -14,6 +14,7 @@ export declare namespace ToolReturnMessage {
14
14
  message_type: "tool_return_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  tool_return: string;
18
19
  status: ToolReturnMessageStatus.Raw;
19
20
  tool_call_id: string;
@@ -46,6 +46,7 @@ exports.ToolReturnMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("tool_return_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  toolReturn: core.serialization.property("tool_return", core.serialization.string()),
50
51
  status: ToolReturnMessageStatus_1.ToolReturnMessageStatus,
51
52
  toolCallId: core.serialization.property("tool_call_id", core.serialization.string()),
@@ -14,6 +14,7 @@ export declare namespace UserMessage {
14
14
  message_type: "user_message";
15
15
  otid?: string | null;
16
16
  sender_id?: string | null;
17
+ step_id?: string | null;
17
18
  content: UserMessageContent.Raw;
18
19
  }
19
20
  }
@@ -46,5 +46,6 @@ exports.UserMessage = core.serialization.object({
46
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("user_message")),
47
47
  otid: core.serialization.string().optional(),
48
48
  senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
49
+ stepId: core.serialization.property("step_id", core.serialization.string().optional()),
49
50
  content: UserMessageContent_1.UserMessageContent,
50
51
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.111";
1
+ export declare const SDK_VERSION = "0.1.112";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.111";
4
+ exports.SDK_VERSION = "0.1.112";