@letta-ai/letta-client 0.1.45 → 0.1.47

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 (85) hide show
  1. package/api/resources/agents/client/Client.js +8 -8
  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/memoryVariables/client/Client.js +1 -1
  6. package/api/resources/agents/resources/messages/client/Client.js +5 -5
  7. package/api/resources/agents/resources/passages/client/Client.js +3 -3
  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/AgentsSearchResponseAgentsItemAgentType.d.ts +1 -2
  12. package/api/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.js +0 -1
  13. package/api/resources/blocks/client/Client.js +6 -6
  14. package/api/resources/health/client/Client.js +1 -1
  15. package/api/resources/identities/client/Client.js +6 -6
  16. package/api/resources/jobs/client/Client.js +4 -4
  17. package/api/resources/models/client/Client.js +2 -2
  18. package/api/resources/providers/client/Client.js +4 -4
  19. package/api/resources/runs/client/Client.js +6 -6
  20. package/api/resources/sources/client/Client.js +6 -6
  21. package/api/resources/sources/resources/files/client/Client.js +3 -3
  22. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  23. package/api/resources/steps/client/Client.js +2 -2
  24. package/api/resources/tag/client/Client.js +1 -1
  25. package/api/resources/templates/client/Client.js +1 -1
  26. package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemAgentType.d.ts +1 -2
  27. package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemAgentType.js +0 -1
  28. package/api/resources/tools/client/Client.js +11 -11
  29. package/api/resources/voice/client/Client.js +1 -1
  30. package/api/types/AgentType.d.ts +1 -2
  31. package/api/types/AgentType.js +0 -1
  32. package/api/types/Step.d.ts +2 -0
  33. package/dist/api/resources/agents/client/Client.js +8 -8
  34. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  35. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  36. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  37. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  38. package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
  39. package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
  40. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  41. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  42. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  43. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.d.ts +1 -2
  44. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.js +0 -1
  45. package/dist/api/resources/blocks/client/Client.js +6 -6
  46. package/dist/api/resources/health/client/Client.js +1 -1
  47. package/dist/api/resources/identities/client/Client.js +6 -6
  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/TemplatesCreateAgentsResponseAgentsItemAgentType.d.ts +1 -2
  59. package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemAgentType.js +0 -1
  60. package/dist/api/resources/tools/client/Client.js +11 -11
  61. package/dist/api/resources/voice/client/Client.js +1 -1
  62. package/dist/api/types/AgentType.d.ts +1 -2
  63. package/dist/api/types/AgentType.js +0 -1
  64. package/dist/api/types/Step.d.ts +2 -0
  65. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.d.ts +1 -1
  66. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.js +1 -1
  67. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemAgentType.d.ts +1 -1
  68. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemAgentType.js +1 -1
  69. package/dist/serialization/types/AgentType.d.ts +1 -1
  70. package/dist/serialization/types/AgentType.js +1 -1
  71. package/dist/serialization/types/Step.d.ts +1 -0
  72. package/dist/serialization/types/Step.js +1 -0
  73. package/dist/version.d.ts +1 -1
  74. package/dist/version.js +1 -1
  75. package/package.json +1 -1
  76. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.d.ts +1 -1
  77. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.js +1 -1
  78. package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemAgentType.d.ts +1 -1
  79. package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemAgentType.js +1 -1
  80. package/serialization/types/AgentType.d.ts +1 -1
  81. package/serialization/types/AgentType.js +1 -1
  82. package/serialization/types/Step.d.ts +1 -0
  83. package/serialization/types/Step.js +1 -0
  84. package/version.d.ts +1 -1
  85. package/version.js +1 -1
@@ -54,5 +54,6 @@ exports.Step = core.serialization.object({
54
54
  completionTokensDetails: core.serialization.property("completion_tokens_details", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
55
55
  tags: core.serialization.list(core.serialization.string()).optional(),
56
56
  tid: core.serialization.string().optional(),
57
+ traceId: core.serialization.property("trace_id", core.serialization.string().optional()),
57
58
  messages: core.serialization.list(Message_1.Message).optional(),
58
59
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.45";
1
+ export declare const SDK_VERSION = "0.1.47";
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.45";
4
+ exports.SDK_VERSION = "0.1.47";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const AgentsSearchResponseAgentsItemAgentType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemAgentType.Raw, Letta.AgentsSearchResponseAgentsItemAgentType>;
8
8
  export declare namespace AgentsSearchResponseAgentsItemAgentType {
9
- type Raw = "memgpt_agent" | "split_thread_agent" | "offline_memory_agent" | "chat_only_agent";
9
+ type Raw = "memgpt_agent" | "split_thread_agent" | "offline_memory_agent";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AgentsSearchResponseAgentsItemAgentType = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- exports.AgentsSearchResponseAgentsItemAgentType = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "offline_memory_agent", "chat_only_agent"]);
41
+ exports.AgentsSearchResponseAgentsItemAgentType = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "offline_memory_agent"]);
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const TemplatesCreateAgentsResponseAgentsItemAgentType: core.serialization.Schema<serializers.TemplatesCreateAgentsResponseAgentsItemAgentType.Raw, Letta.TemplatesCreateAgentsResponseAgentsItemAgentType>;
8
8
  export declare namespace TemplatesCreateAgentsResponseAgentsItemAgentType {
9
- type Raw = "memgpt_agent" | "split_thread_agent" | "offline_memory_agent" | "chat_only_agent";
9
+ type Raw = "memgpt_agent" | "split_thread_agent" | "offline_memory_agent";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TemplatesCreateAgentsResponseAgentsItemAgentType = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- exports.TemplatesCreateAgentsResponseAgentsItemAgentType = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "offline_memory_agent", "chat_only_agent"]);
41
+ exports.TemplatesCreateAgentsResponseAgentsItemAgentType = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "offline_memory_agent"]);
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const AgentType: core.serialization.Schema<serializers.AgentType.Raw, Letta.AgentType>;
8
8
  export declare namespace AgentType {
9
- type Raw = "memgpt_agent" | "split_thread_agent" | "offline_memory_agent" | "chat_only_agent";
9
+ type Raw = "memgpt_agent" | "split_thread_agent" | "offline_memory_agent";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AgentType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.AgentType = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "offline_memory_agent", "chat_only_agent"]);
41
+ exports.AgentType = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "offline_memory_agent"]);
@@ -22,6 +22,7 @@ export declare namespace Step {
22
22
  completion_tokens_details?: Record<string, unknown> | null;
23
23
  tags?: string[] | null;
24
24
  tid?: string | null;
25
+ trace_id?: string | null;
25
26
  messages?: Message.Raw[] | null;
26
27
  }
27
28
  }
@@ -54,5 +54,6 @@ exports.Step = core.serialization.object({
54
54
  completionTokensDetails: core.serialization.property("completion_tokens_details", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
55
55
  tags: core.serialization.list(core.serialization.string()).optional(),
56
56
  tid: core.serialization.string().optional(),
57
+ traceId: core.serialization.property("trace_id", core.serialization.string().optional()),
57
58
  messages: core.serialization.list(Message_1.Message).optional(),
58
59
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.45";
1
+ export declare const SDK_VERSION = "0.1.47";
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.45";
4
+ exports.SDK_VERSION = "0.1.47";