@letta-ai/letta-client 0.1.29 → 0.1.30

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 (97) hide show
  1. package/api/resources/agents/client/Client.js +8 -20
  2. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -2
  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/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +3 -1
  12. package/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
  13. package/api/resources/blocks/client/Client.js +6 -6
  14. package/api/resources/health/client/Client.js +1 -1
  15. package/api/resources/jobs/client/Client.js +4 -4
  16. package/api/resources/models/client/Client.js +2 -2
  17. package/api/resources/providers/client/Client.js +4 -4
  18. package/api/resources/runs/client/Client.js +6 -6
  19. package/api/resources/sources/client/Client.js +6 -6
  20. package/api/resources/sources/resources/files/client/Client.js +3 -3
  21. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  22. package/api/resources/steps/client/Client.js +2 -2
  23. package/api/resources/tag/client/Client.js +1 -1
  24. package/api/resources/templates/client/Client.js +1 -1
  25. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +3 -1
  26. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
  27. package/api/resources/tools/client/Client.js +11 -11
  28. package/api/types/ActionParametersModel.d.ts +0 -1
  29. package/api/types/ActionResponseModel.d.ts +0 -1
  30. package/api/types/AppAuthSchemeAuthMode.d.ts +1 -2
  31. package/api/types/AppAuthSchemeAuthMode.js +0 -1
  32. package/api/types/LlmConfigModelEndpointType.d.ts +3 -1
  33. package/api/types/LlmConfigModelEndpointType.js +2 -0
  34. package/dist/api/resources/agents/client/Client.js +8 -20
  35. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -2
  36. package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
  37. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  38. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
  39. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  40. package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
  41. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  42. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  43. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  44. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +3 -1
  45. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
  46. package/dist/api/resources/blocks/client/Client.js +6 -6
  47. package/dist/api/resources/health/client/Client.js +1 -1
  48. package/dist/api/resources/jobs/client/Client.js +4 -4
  49. package/dist/api/resources/models/client/Client.js +2 -2
  50. package/dist/api/resources/providers/client/Client.js +4 -4
  51. package/dist/api/resources/runs/client/Client.js +6 -6
  52. package/dist/api/resources/sources/client/Client.js +6 -6
  53. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  54. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  55. package/dist/api/resources/steps/client/Client.js +2 -2
  56. package/dist/api/resources/tag/client/Client.js +1 -1
  57. package/dist/api/resources/templates/client/Client.js +1 -1
  58. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +3 -1
  59. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
  60. package/dist/api/resources/tools/client/Client.js +11 -11
  61. package/dist/api/types/ActionParametersModel.d.ts +0 -1
  62. package/dist/api/types/ActionResponseModel.d.ts +0 -1
  63. package/dist/api/types/AppAuthSchemeAuthMode.d.ts +1 -2
  64. package/dist/api/types/AppAuthSchemeAuthMode.js +0 -1
  65. package/dist/api/types/LlmConfigModelEndpointType.d.ts +3 -1
  66. package/dist/api/types/LlmConfigModelEndpointType.js +2 -0
  67. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
  68. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  69. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
  70. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  71. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
  72. package/dist/serialization/types/ActionParametersModel.d.ts +0 -1
  73. package/dist/serialization/types/ActionParametersModel.js +0 -1
  74. package/dist/serialization/types/ActionResponseModel.d.ts +0 -1
  75. package/dist/serialization/types/ActionResponseModel.js +0 -1
  76. package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
  77. package/dist/serialization/types/AppAuthSchemeAuthMode.js +1 -1
  78. package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
  79. package/dist/serialization/types/LlmConfigModelEndpointType.js +2 -0
  80. package/dist/version.d.ts +1 -1
  81. package/dist/version.js +1 -1
  82. package/package.json +1 -1
  83. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
  84. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  85. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
  86. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  87. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
  88. package/serialization/types/ActionParametersModel.d.ts +0 -1
  89. package/serialization/types/ActionParametersModel.js +0 -1
  90. package/serialization/types/ActionResponseModel.d.ts +0 -1
  91. package/serialization/types/ActionResponseModel.js +0 -1
  92. package/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
  93. package/serialization/types/AppAuthSchemeAuthMode.js +1 -1
  94. package/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
  95. package/serialization/types/LlmConfigModelEndpointType.js +2 -0
  96. package/version.d.ts +1 -1
  97. package/version.js +1 -1
@@ -11,6 +11,5 @@ export declare namespace ActionParametersModel {
11
11
  title: string;
12
12
  type: string;
13
13
  required?: string[] | null;
14
- examples?: unknown[] | null;
15
14
  }
16
15
  }
@@ -43,5 +43,4 @@ exports.ActionParametersModel = 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(),
47
46
  });
@@ -11,6 +11,5 @@ export declare namespace ActionResponseModel {
11
11
  title: string;
12
12
  type: string;
13
13
  required?: string[] | null;
14
- examples?: unknown[] | null;
15
14
  }
16
15
  }
@@ -43,5 +43,4 @@ 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(),
47
46
  });
@@ -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" | "NO_AUTH";
9
+ type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT";
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", "NO_AUTH"]);
41
+ exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"]);
@@ -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" | "google_vertex" | "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" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek";
10
10
  }
@@ -51,6 +51,7 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
51
51
  "webui-legacy",
52
52
  "lmstudio",
53
53
  "lmstudio-legacy",
54
+ "lmstudio-chatcompletions",
54
55
  "llamacpp",
55
56
  "koboldcpp",
56
57
  "vllm",
@@ -58,4 +59,5 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
58
59
  "mistral",
59
60
  "together",
60
61
  "bedrock",
62
+ "deepseek",
61
63
  ]);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.29";
1
+ export declare const SDK_VERSION = "0.1.30";
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.29";
4
+ exports.SDK_VERSION = "0.1.30";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
@@ -10,7 +10,7 @@ import { AgentType } from "../../../../types/AgentType";
10
10
  import { LlmConfig } from "../../../../types/LlmConfig";
11
11
  import { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
12
12
  import { MessageCreate } from "../../../../types/MessageCreate";
13
- export declare const CreateAgentRequest: core.serialization.Schema<serializers.CreateAgentRequest.Raw, Omit<Letta.CreateAgentRequest, "projectSlug">>;
13
+ export declare const CreateAgentRequest: core.serialization.Schema<serializers.CreateAgentRequest.Raw, Letta.CreateAgentRequest>;
14
14
  export declare namespace CreateAgentRequest {
15
15
  interface Raw {
16
16
  name?: string | null;
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const AgentsSearchResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.Raw, Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType>;
8
8
  export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelEndpointType {
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";
9
+ type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek";
10
10
  }
@@ -51,6 +51,7 @@ exports.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = core.serializ
51
51
  "webui-legacy",
52
52
  "lmstudio",
53
53
  "lmstudio-legacy",
54
+ "lmstudio-chatcompletions",
54
55
  "llamacpp",
55
56
  "koboldcpp",
56
57
  "vllm",
@@ -58,4 +59,5 @@ exports.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = core.serializ
58
59
  "mistral",
59
60
  "together",
60
61
  "bedrock",
62
+ "deepseek",
61
63
  ]);
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType>;
8
8
  export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType {
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";
9
+ type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek";
10
10
  }
@@ -51,6 +51,7 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpoin
51
51
  "webui-legacy",
52
52
  "lmstudio",
53
53
  "lmstudio-legacy",
54
+ "lmstudio-chatcompletions",
54
55
  "llamacpp",
55
56
  "koboldcpp",
56
57
  "vllm",
@@ -58,4 +59,5 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpoin
58
59
  "mistral",
59
60
  "together",
60
61
  "bedrock",
62
+ "deepseek",
61
63
  ]);
@@ -11,6 +11,5 @@ export declare namespace ActionParametersModel {
11
11
  title: string;
12
12
  type: string;
13
13
  required?: string[] | null;
14
- examples?: unknown[] | null;
15
14
  }
16
15
  }
@@ -43,5 +43,4 @@ exports.ActionParametersModel = 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(),
47
46
  });
@@ -11,6 +11,5 @@ export declare namespace ActionResponseModel {
11
11
  title: string;
12
12
  type: string;
13
13
  required?: string[] | null;
14
- examples?: unknown[] | null;
15
14
  }
16
15
  }
@@ -43,5 +43,4 @@ 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(),
47
46
  });
@@ -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" | "NO_AUTH";
9
+ type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT";
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", "NO_AUTH"]);
41
+ exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"]);
@@ -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" | "google_vertex" | "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" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek";
10
10
  }
@@ -51,6 +51,7 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
51
51
  "webui-legacy",
52
52
  "lmstudio",
53
53
  "lmstudio-legacy",
54
+ "lmstudio-chatcompletions",
54
55
  "llamacpp",
55
56
  "koboldcpp",
56
57
  "vllm",
@@ -58,4 +59,5 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
58
59
  "mistral",
59
60
  "together",
60
61
  "bedrock",
62
+ "deepseek",
61
63
  ]);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.29";
1
+ export declare const SDK_VERSION = "0.1.30";
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.29";
4
+ exports.SDK_VERSION = "0.1.30";