@letta-ai/letta-client 0.1.167 → 0.1.169

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 +10 -10
  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/files/client/Client.js +3 -3
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  10. package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  11. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  12. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  13. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  14. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  15. package/api/resources/batches/client/Client.js +4 -4
  16. package/api/resources/blocks/client/Client.js +36 -7
  17. package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +32 -0
  18. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  19. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  20. package/api/resources/embeddingModels/client/Client.js +1 -1
  21. package/api/resources/folders/client/Client.js +9 -9
  22. package/api/resources/folders/resources/files/client/Client.js +3 -3
  23. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  24. package/api/resources/groups/client/Client.js +6 -6
  25. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  26. package/api/resources/health/client/Client.js +1 -1
  27. package/api/resources/identities/client/Client.js +7 -7
  28. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  29. package/api/resources/jobs/client/Client.js +5 -5
  30. package/api/resources/messages/client/Client.js +1 -1
  31. package/api/resources/models/client/Client.js +1 -1
  32. package/api/resources/projects/client/Client.js +1 -1
  33. package/api/resources/providers/client/Client.js +5 -5
  34. package/api/resources/runs/client/Client.js +4 -4
  35. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  36. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  37. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  38. package/api/resources/sources/client/Client.js +10 -10
  39. package/api/resources/sources/resources/files/client/Client.js +3 -3
  40. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  41. package/api/resources/steps/client/Client.js +2 -2
  42. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  43. package/api/resources/tags/client/Client.js +1 -1
  44. package/api/resources/telemetry/client/Client.js +1 -1
  45. package/api/resources/templates/client/Client.js +1 -1
  46. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  47. package/api/resources/tools/client/Client.js +20 -20
  48. package/api/resources/voice/client/Client.js +1 -1
  49. package/api/types/ChatCompletionAudioParamVoice.d.ts +1 -1
  50. package/api/types/LettaPing.d.ts +10 -0
  51. package/api/types/LettaPing.js +5 -0
  52. package/api/types/index.d.ts +1 -0
  53. package/api/types/index.js +1 -0
  54. package/dist/api/resources/agents/client/Client.js +10 -10
  55. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  56. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  57. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  58. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  59. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  60. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  61. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  62. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  63. package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  64. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  65. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  66. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  67. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  68. package/dist/api/resources/batches/client/Client.js +4 -4
  69. package/dist/api/resources/blocks/client/Client.js +36 -7
  70. package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +32 -0
  71. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  72. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  73. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  74. package/dist/api/resources/folders/client/Client.js +9 -9
  75. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  76. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  77. package/dist/api/resources/groups/client/Client.js +6 -6
  78. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  79. package/dist/api/resources/health/client/Client.js +1 -1
  80. package/dist/api/resources/identities/client/Client.js +7 -7
  81. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  82. package/dist/api/resources/jobs/client/Client.js +5 -5
  83. package/dist/api/resources/messages/client/Client.js +1 -1
  84. package/dist/api/resources/models/client/Client.js +1 -1
  85. package/dist/api/resources/projects/client/Client.js +1 -1
  86. package/dist/api/resources/providers/client/Client.js +5 -5
  87. package/dist/api/resources/runs/client/Client.js +4 -4
  88. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  89. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  90. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  91. package/dist/api/resources/sources/client/Client.js +10 -10
  92. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  93. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  94. package/dist/api/resources/steps/client/Client.js +2 -2
  95. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  96. package/dist/api/resources/tags/client/Client.js +1 -1
  97. package/dist/api/resources/telemetry/client/Client.js +1 -1
  98. package/dist/api/resources/templates/client/Client.js +1 -1
  99. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  100. package/dist/api/resources/tools/client/Client.js +20 -20
  101. package/dist/api/resources/voice/client/Client.js +1 -1
  102. package/dist/api/types/ChatCompletionAudioParamVoice.d.ts +1 -1
  103. package/dist/api/types/LettaPing.d.ts +10 -0
  104. package/dist/api/types/LettaPing.js +5 -0
  105. package/dist/api/types/index.d.ts +1 -0
  106. package/dist/api/types/index.js +1 -0
  107. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +2 -1
  108. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +2 -0
  109. package/dist/serialization/types/ChatCompletionAudioParamVoice.d.ts +1 -1
  110. package/dist/serialization/types/ChatCompletionAudioParamVoice.js +0 -3
  111. package/dist/serialization/types/LettaPing.d.ts +12 -0
  112. package/dist/serialization/types/LettaPing.js +43 -0
  113. package/dist/serialization/types/index.d.ts +1 -0
  114. package/dist/serialization/types/index.js +1 -0
  115. package/dist/version.d.ts +1 -1
  116. package/dist/version.js +1 -1
  117. package/package.json +1 -1
  118. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +2 -1
  119. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +2 -0
  120. package/serialization/types/ChatCompletionAudioParamVoice.d.ts +1 -1
  121. package/serialization/types/ChatCompletionAudioParamVoice.js +0 -3
  122. package/serialization/types/LettaPing.d.ts +12 -0
  123. package/serialization/types/LettaPing.js +43 -0
  124. package/serialization/types/index.d.ts +1 -0
  125. package/serialization/types/index.js +1 -0
  126. package/version.d.ts +1 -1
  127. package/version.js +1 -1
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.LettaPing = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.LettaPing = core.serialization.object({
42
+ messageType: core.serialization.property("message_type", core.serialization.stringLiteral("ping")),
43
+ });
@@ -261,3 +261,4 @@ export * from "./LettaMessageUnion";
261
261
  export * from "./LettaMessageContentUnion";
262
262
  export * from "./ComponentsSchemasTextContent";
263
263
  export * from "./LettaUserMessageContentUnion";
264
+ export * from "./LettaPing";
@@ -277,3 +277,4 @@ __exportStar(require("./LettaMessageUnion"), exports);
277
277
  __exportStar(require("./LettaMessageContentUnion"), exports);
278
278
  __exportStar(require("./ComponentsSchemasTextContent"), exports);
279
279
  __exportStar(require("./LettaUserMessageContentUnion"), exports);
280
+ __exportStar(require("./LettaPing"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.167";
1
+ export declare const SDK_VERSION = "0.1.169";
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.167";
4
+ exports.SDK_VERSION = "0.1.169";