@letta-ai/letta-client 0.1.27 → 0.1.29

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 (137) hide show
  1. package/api/resources/agents/client/Client.js +20 -8
  2. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -1
  3. package/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
  4. package/api/resources/agents/resources/context/client/Client.js +1 -1
  5. package/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
  6. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  7. package/api/resources/agents/resources/messages/client/Client.js +5 -5
  8. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  9. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  10. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  11. package/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  12. package/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  13. package/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +2 -1
  14. package/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  15. package/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  16. package/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  17. package/api/resources/blocks/client/Client.js +6 -6
  18. package/api/resources/health/client/Client.js +1 -1
  19. package/api/resources/jobs/client/Client.js +4 -4
  20. package/api/resources/models/client/Client.js +2 -2
  21. package/api/resources/providers/client/Client.js +4 -4
  22. package/api/resources/runs/client/Client.js +6 -6
  23. package/api/resources/sources/client/Client.js +6 -6
  24. package/api/resources/sources/resources/files/client/Client.js +3 -3
  25. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  26. package/api/resources/steps/client/Client.js +2 -2
  27. package/api/resources/tag/client/Client.js +1 -1
  28. package/api/resources/templates/client/Client.js +1 -1
  29. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  30. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  31. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +2 -1
  32. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  33. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  34. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  35. package/api/resources/tools/client/Client.js +11 -11
  36. package/api/types/ActionParametersModel.d.ts +1 -0
  37. package/api/types/ActionResponseModel.d.ts +1 -0
  38. package/api/types/AppAuthSchemeAuthMode.d.ts +2 -1
  39. package/api/types/AppAuthSchemeAuthMode.js +1 -0
  40. package/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  41. package/api/types/EmbeddingConfigEmbeddingEndpointType.js +1 -0
  42. package/api/types/LlmConfigModelEndpointType.d.ts +2 -1
  43. package/api/types/LlmConfigModelEndpointType.js +1 -0
  44. package/dist/api/resources/agents/client/Client.js +20 -8
  45. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -1
  46. package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
  47. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  48. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
  49. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  50. package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
  51. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  52. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  53. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  54. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  55. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  56. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +2 -1
  57. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  58. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  59. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  60. package/dist/api/resources/blocks/client/Client.js +6 -6
  61. package/dist/api/resources/health/client/Client.js +1 -1
  62. package/dist/api/resources/jobs/client/Client.js +4 -4
  63. package/dist/api/resources/models/client/Client.js +2 -2
  64. package/dist/api/resources/providers/client/Client.js +4 -4
  65. package/dist/api/resources/runs/client/Client.js +6 -6
  66. package/dist/api/resources/sources/client/Client.js +6 -6
  67. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  68. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  69. package/dist/api/resources/steps/client/Client.js +2 -2
  70. package/dist/api/resources/tag/client/Client.js +1 -1
  71. package/dist/api/resources/templates/client/Client.js +1 -1
  72. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  73. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  74. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +2 -1
  75. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  76. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  77. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  78. package/dist/api/resources/tools/client/Client.js +11 -11
  79. package/dist/api/types/ActionParametersModel.d.ts +1 -0
  80. package/dist/api/types/ActionResponseModel.d.ts +1 -0
  81. package/dist/api/types/AppAuthSchemeAuthMode.d.ts +2 -1
  82. package/dist/api/types/AppAuthSchemeAuthMode.js +1 -0
  83. package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  84. package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.js +1 -0
  85. package/dist/api/types/LlmConfigModelEndpointType.d.ts +2 -1
  86. package/dist/api/types/LlmConfigModelEndpointType.js +1 -0
  87. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
  88. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  89. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  90. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  91. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  92. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  93. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  94. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  95. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  96. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  97. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  98. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  99. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  100. package/dist/serialization/types/ActionParametersModel.d.ts +1 -0
  101. package/dist/serialization/types/ActionParametersModel.js +1 -0
  102. package/dist/serialization/types/ActionResponseModel.d.ts +1 -0
  103. package/dist/serialization/types/ActionResponseModel.js +1 -0
  104. package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
  105. package/dist/serialization/types/AppAuthSchemeAuthMode.js +1 -1
  106. package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  107. package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +1 -0
  108. package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
  109. package/dist/serialization/types/LlmConfigModelEndpointType.js +1 -0
  110. package/dist/version.d.ts +1 -1
  111. package/dist/version.js +1 -1
  112. package/package.json +1 -1
  113. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
  114. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  115. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  116. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  117. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  118. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  119. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  120. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  121. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  122. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  123. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  124. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  125. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  126. package/serialization/types/ActionParametersModel.d.ts +1 -0
  127. package/serialization/types/ActionParametersModel.js +1 -0
  128. package/serialization/types/ActionResponseModel.d.ts +1 -0
  129. package/serialization/types/ActionResponseModel.js +1 -0
  130. package/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
  131. package/serialization/types/AppAuthSchemeAuthMode.js +1 -1
  132. package/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  133. package/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +1 -0
  134. package/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
  135. package/serialization/types/LlmConfigModelEndpointType.js +1 -0
  136. package/version.d.ts +1 -1
  137. package/version.js +1 -1
@@ -43,4 +43,5 @@ exports.ActionResponseModel = core.serialization.object({
43
43
  title: core.serialization.string(),
44
44
  type: core.serialization.string(),
45
45
  required: core.serialization.list(core.serialization.string()).optional(),
46
+ examples: core.serialization.list(core.serialization.unknown()).optional(),
46
47
  });
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const AppAuthSchemeAuthMode: core.serialization.Schema<serializers.AppAuthSchemeAuthMode.Raw, Letta.AppAuthSchemeAuthMode>;
8
8
  export declare namespace AppAuthSchemeAuthMode {
9
- type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT";
9
+ type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "NO_AUTH";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AppAuthSchemeAuthMode = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"]);
41
+ exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT", "NO_AUTH"]);
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const EmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.EmbeddingConfigEmbeddingEndpointType.Raw, Letta.EmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace EmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.EmbeddingConfigEmbeddingEndpointType = core.serialization.enum_([
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const LlmConfigModelEndpointType: core.serialization.Schema<serializers.LlmConfigModelEndpointType.Raw, Letta.LlmConfigModelEndpointType>;
8
8
  export declare namespace LlmConfigModelEndpointType {
9
- type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
9
+ type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
10
10
  }
@@ -43,6 +43,7 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
43
43
  "anthropic",
44
44
  "cohere",
45
45
  "google_ai",
46
+ "google_vertex",
46
47
  "azure",
47
48
  "groq",
48
49
  "ollama",
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.27";
1
+ export declare const SDK_VERSION = "0.1.29";
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.27";
4
+ exports.SDK_VERSION = "0.1.29";