@letta-ai/letta-client 0.0.68649 → 0.0.68650

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 (152) 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 +4 -4
  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 +9 -9
  10. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  13. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  14. package/api/resources/batches/client/Client.js +4 -4
  15. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  16. package/api/resources/blocks/client/Client.js +6 -6
  17. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  18. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  19. package/api/resources/folders/client/Client.js +9 -9
  20. package/api/resources/folders/resources/files/client/Client.js +3 -3
  21. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  22. package/api/resources/groups/client/Client.js +6 -6
  23. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  24. package/api/resources/health/client/Client.js +1 -1
  25. package/api/resources/identities/client/Client.js +7 -7
  26. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  27. package/api/resources/index.d.ts +0 -1
  28. package/api/resources/index.js +0 -1
  29. package/api/resources/jobs/client/Client.js +5 -5
  30. package/api/resources/models/client/Client.js +2 -2
  31. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  32. package/api/resources/projects/client/Client.js +1 -1
  33. package/api/resources/providers/client/Client.d.ts +7 -3
  34. package/api/resources/providers/client/Client.js +40 -16
  35. package/api/resources/runs/client/Client.js +5 -5
  36. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  37. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  38. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  39. package/api/resources/sources/client/Client.js +10 -10
  40. package/api/resources/sources/resources/files/client/Client.js +3 -3
  41. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  42. package/api/resources/steps/client/Client.js +2 -2
  43. package/api/resources/steps/resources/feedback/client/Client.d.ts +3 -3
  44. package/api/resources/steps/resources/feedback/client/Client.js +4 -4
  45. package/api/resources/steps/resources/feedback/client/requests/{AddFeedbackRequest.d.ts → ModifyFeedbackRequest.d.ts} +1 -1
  46. package/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  47. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  48. package/api/resources/steps/resources/trace/client/Client.js +1 -1
  49. package/api/resources/tags/client/Client.js +1 -1
  50. package/api/resources/telemetry/client/Client.d.ts +4 -0
  51. package/api/resources/telemetry/client/Client.js +5 -1
  52. package/api/resources/templates/client/Client.js +9 -9
  53. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  54. package/api/resources/tools/client/Client.d.ts +2 -4
  55. package/api/resources/tools/client/Client.js +28 -32
  56. package/api/resources/tools/client/requests/index.d.ts +0 -2
  57. package/api/resources/voice/client/Client.d.ts +3 -6
  58. package/api/resources/voice/client/Client.js +4 -7
  59. package/api/resources/voice/client/index.d.ts +1 -1
  60. package/api/resources/voice/client/index.js +0 -15
  61. package/dist/api/resources/agents/client/Client.js +10 -10
  62. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  63. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  64. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  65. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  66. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  67. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  68. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  69. package/dist/api/resources/agents/resources/messages/client/Client.js +9 -9
  70. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  71. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  72. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  73. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  74. package/dist/api/resources/batches/client/Client.js +4 -4
  75. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  76. package/dist/api/resources/blocks/client/Client.js +6 -6
  77. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  78. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  79. package/dist/api/resources/folders/client/Client.js +9 -9
  80. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  81. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  82. package/dist/api/resources/groups/client/Client.js +6 -6
  83. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  84. package/dist/api/resources/health/client/Client.js +1 -1
  85. package/dist/api/resources/identities/client/Client.js +7 -7
  86. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  87. package/dist/api/resources/index.d.ts +0 -1
  88. package/dist/api/resources/index.js +0 -1
  89. package/dist/api/resources/jobs/client/Client.js +5 -5
  90. package/dist/api/resources/models/client/Client.js +2 -2
  91. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  92. package/dist/api/resources/projects/client/Client.js +1 -1
  93. package/dist/api/resources/providers/client/Client.d.ts +7 -3
  94. package/dist/api/resources/providers/client/Client.js +40 -16
  95. package/dist/api/resources/runs/client/Client.js +5 -5
  96. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  97. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  98. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  99. package/dist/api/resources/sources/client/Client.js +10 -10
  100. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  101. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  102. package/dist/api/resources/steps/client/Client.js +2 -2
  103. package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +3 -3
  104. package/dist/api/resources/steps/resources/feedback/client/Client.js +4 -4
  105. package/dist/api/resources/steps/resources/feedback/client/requests/{AddFeedbackRequest.d.ts → ModifyFeedbackRequest.d.ts} +1 -1
  106. package/dist/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  107. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  108. package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
  109. package/dist/api/resources/tags/client/Client.js +1 -1
  110. package/dist/api/resources/telemetry/client/Client.d.ts +4 -0
  111. package/dist/api/resources/telemetry/client/Client.js +5 -1
  112. package/dist/api/resources/templates/client/Client.js +9 -9
  113. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  114. package/dist/api/resources/tools/client/Client.d.ts +2 -4
  115. package/dist/api/resources/tools/client/Client.js +28 -32
  116. package/dist/api/resources/tools/client/requests/index.d.ts +0 -2
  117. package/dist/api/resources/voice/client/Client.d.ts +3 -6
  118. package/dist/api/resources/voice/client/Client.js +4 -7
  119. package/dist/api/resources/voice/client/index.d.ts +1 -1
  120. package/dist/api/resources/voice/client/index.js +0 -15
  121. package/dist/serialization/resources/steps/resources/feedback/client/requests/{AddFeedbackRequest.d.ts → ModifyFeedbackRequest.d.ts} +2 -2
  122. package/dist/serialization/resources/steps/resources/feedback/client/requests/{AddFeedbackRequest.js → ModifyFeedbackRequest.js} +2 -2
  123. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  124. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.js +3 -3
  125. package/dist/version.d.ts +1 -1
  126. package/dist/version.js +1 -1
  127. package/package.json +1 -1
  128. package/reference.md +40 -26
  129. package/serialization/resources/steps/resources/feedback/client/requests/{AddFeedbackRequest.d.ts → ModifyFeedbackRequest.d.ts} +2 -2
  130. package/serialization/resources/steps/resources/feedback/client/requests/{AddFeedbackRequest.js → ModifyFeedbackRequest.js} +2 -2
  131. package/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  132. package/serialization/resources/steps/resources/feedback/client/requests/index.js +3 -3
  133. package/version.d.ts +1 -1
  134. package/version.js +1 -1
  135. package/api/resources/tools/client/requests/ListComposioAppsRequest.d.ts +0 -10
  136. package/api/resources/tools/client/requests/ListMcpServersRequest.d.ts +0 -10
  137. package/api/resources/tools/client/requests/ListMcpServersRequest.js +0 -5
  138. package/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.d.ts +0 -15
  139. package/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.js +0 -5
  140. package/api/resources/voice/client/requests/index.d.ts +0 -1
  141. package/api/resources/voice/client/requests/index.js +0 -2
  142. package/dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +0 -5
  143. package/dist/api/resources/tools/client/requests/ListComposioAppsRequest.d.ts +0 -10
  144. package/dist/api/resources/tools/client/requests/ListComposioAppsRequest.js +0 -5
  145. package/dist/api/resources/tools/client/requests/ListMcpServersRequest.d.ts +0 -10
  146. package/dist/api/resources/tools/client/requests/ListMcpServersRequest.js +0 -5
  147. package/dist/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.d.ts +0 -15
  148. package/dist/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.js +0 -5
  149. package/dist/api/resources/voice/client/requests/index.d.ts +0 -1
  150. package/dist/api/resources/voice/client/requests/index.js +0 -2
  151. /package/api/resources/steps/resources/feedback/client/requests/{AddFeedbackRequest.js → ModifyFeedbackRequest.js} +0 -0
  152. /package/{api/resources/tools/client/requests/ListComposioAppsRequest.js → dist/api/resources/steps/resources/feedback/client/requests/ModifyFeedbackRequest.js} +0 -0
package/reference.md CHANGED
@@ -578,7 +578,7 @@ await client.tools.runToolFromSource({
578
578
  </dl>
579
579
  </details>
580
580
 
581
- <details><summary><code>client.tools.<a href="/src/api/resources/tools/client/Client.ts">listComposioApps</a>({ ...params }) -> Letta.AppModel[]</code></summary>
581
+ <details><summary><code>client.tools.<a href="/src/api/resources/tools/client/Client.ts">listComposioApps</a>() -> Letta.AppModel[]</code></summary>
582
582
  <dl>
583
583
  <dd>
584
584
 
@@ -622,14 +622,6 @@ await client.tools.listComposioApps();
622
622
  <dl>
623
623
  <dd>
624
624
 
625
- **request:** `Letta.ListComposioAppsRequest`
626
-
627
- </dd>
628
- </dl>
629
-
630
- <dl>
631
- <dd>
632
-
633
625
  **requestOptions:** `Tools.RequestOptions`
634
626
 
635
627
  </dd>
@@ -767,7 +759,7 @@ await client.tools.addComposioTool("composio_action_name");
767
759
  </dl>
768
760
  </details>
769
761
 
770
- <details><summary><code>client.tools.<a href="/src/api/resources/tools/client/Client.ts">listMcpServers</a>({ ...params }) -> Record<string, Letta.ListMcpServersResponseValue></code></summary>
762
+ <details><summary><code>client.tools.<a href="/src/api/resources/tools/client/Client.ts">listMcpServers</a>() -> Record<string, Letta.ListMcpServersResponseValue></code></summary>
771
763
  <dl>
772
764
  <dd>
773
765
 
@@ -811,14 +803,6 @@ await client.tools.listMcpServers();
811
803
  <dl>
812
804
  <dd>
813
805
 
814
- **request:** `Letta.ListMcpServersRequest`
815
-
816
- </dd>
817
- </dl>
818
-
819
- <dl>
820
- <dd>
821
-
822
806
  **requestOptions:** `Tools.RequestOptions`
823
807
 
824
808
  </dd>
@@ -4890,10 +4874,25 @@ await client.providers.create({
4890
4874
  </dl>
4891
4875
  </details>
4892
4876
 
4893
- <details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">retrieve</a>(providerId) -> void</code></summary>
4877
+ <details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">retrieveProvider</a>(providerId) -> Letta.Provider</code></summary>
4894
4878
  <dl>
4895
4879
  <dd>
4896
4880
 
4881
+ #### 📝 Description
4882
+
4883
+ <dl>
4884
+ <dd>
4885
+
4886
+ <dl>
4887
+ <dd>
4888
+
4889
+ Get a provider by ID.
4890
+
4891
+ </dd>
4892
+ </dl>
4893
+ </dd>
4894
+ </dl>
4895
+
4897
4896
  #### 🔌 Usage
4898
4897
 
4899
4898
  <dl>
@@ -4903,7 +4902,7 @@ await client.providers.create({
4903
4902
  <dd>
4904
4903
 
4905
4904
  ```typescript
4906
- await client.providers.retrieve("provider_id");
4905
+ await client.providers.retrieveProvider("provider_id");
4907
4906
  ```
4908
4907
 
4909
4908
  </dd>
@@ -5652,6 +5651,23 @@ await client.tags.list();
5652
5651
  <dl>
5653
5652
  <dd>
5654
5653
 
5654
+ #### 📝 Description
5655
+
5656
+ <dl>
5657
+ <dd>
5658
+
5659
+ <dl>
5660
+ <dd>
5661
+
5662
+ **DEPRECATED**: Use `GET /steps/{step_id}/trace` instead.
5663
+
5664
+ Retrieve provider trace by step ID.
5665
+
5666
+ </dd>
5667
+ </dl>
5668
+ </dd>
5669
+ </dl>
5670
+
5655
5671
  #### 🔌 Usage
5656
5672
 
5657
5673
  <dl>
@@ -5986,9 +6002,7 @@ await client.batches.cancel("batch_id");
5986
6002
 
5987
6003
  ```typescript
5988
6004
  await client.voice.createVoiceChatCompletions("agent_id", {
5989
- body: {
5990
- key: "value",
5991
- },
6005
+ key: "value",
5992
6006
  });
5993
6007
  ```
5994
6008
 
@@ -6013,7 +6027,7 @@ await client.voice.createVoiceChatCompletions("agent_id", {
6013
6027
  <dl>
6014
6028
  <dd>
6015
6029
 
6016
- **request:** `Letta.CreateVoiceChatCompletionsRequest`
6030
+ **request:** `Record<string, unknown>`
6017
6031
 
6018
6032
  </dd>
6019
6033
  </dl>
@@ -11477,7 +11491,7 @@ await client.steps.trace.retrieve("step_id");
11477
11491
  <dl>
11478
11492
  <dd>
11479
11493
 
11480
- Add feedback to a step.
11494
+ Modify feedback for a given step.
11481
11495
 
11482
11496
  </dd>
11483
11497
  </dl>
@@ -11517,7 +11531,7 @@ await client.steps.feedback.create("step_id");
11517
11531
  <dl>
11518
11532
  <dd>
11519
11533
 
11520
- **request:** `Letta.steps.AddFeedbackRequest`
11534
+ **request:** `Letta.steps.ModifyFeedbackRequest`
11521
11535
 
11522
11536
  </dd>
11523
11537
  </dl>
@@ -5,8 +5,8 @@ import * as serializers from "../../../../../../index";
5
5
  import * as Letta from "../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../core";
7
7
  import { FeedbackType } from "../../../../../../types/FeedbackType";
8
- export declare const AddFeedbackRequest: core.serialization.Schema<serializers.steps.AddFeedbackRequest.Raw, Letta.steps.AddFeedbackRequest>;
9
- export declare namespace AddFeedbackRequest {
8
+ export declare const ModifyFeedbackRequest: core.serialization.Schema<serializers.steps.ModifyFeedbackRequest.Raw, Letta.steps.ModifyFeedbackRequest>;
9
+ export declare namespace ModifyFeedbackRequest {
10
10
  interface Raw {
11
11
  feedback?: FeedbackType.Raw | null;
12
12
  tags?: string[] | null;
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AddFeedbackRequest = void 0;
39
+ exports.ModifyFeedbackRequest = void 0;
40
40
  const core = __importStar(require("../../../../../../../core"));
41
41
  const FeedbackType_1 = require("../../../../../../types/FeedbackType");
42
- exports.AddFeedbackRequest = core.serialization.object({
42
+ exports.ModifyFeedbackRequest = core.serialization.object({
43
43
  feedback: FeedbackType_1.FeedbackType.optional(),
44
44
  tags: core.serialization.list(core.serialization.string()).optional(),
45
45
  });
@@ -1 +1 @@
1
- export { AddFeedbackRequest } from "./AddFeedbackRequest";
1
+ export { ModifyFeedbackRequest } from "./ModifyFeedbackRequest";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddFeedbackRequest = void 0;
4
- var AddFeedbackRequest_1 = require("./AddFeedbackRequest");
5
- Object.defineProperty(exports, "AddFeedbackRequest", { enumerable: true, get: function () { return AddFeedbackRequest_1.AddFeedbackRequest; } });
3
+ exports.ModifyFeedbackRequest = void 0;
4
+ var ModifyFeedbackRequest_1 = require("./ModifyFeedbackRequest");
5
+ Object.defineProperty(exports, "ModifyFeedbackRequest", { enumerable: true, get: function () { return ModifyFeedbackRequest_1.ModifyFeedbackRequest; } });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.68649";
1
+ export declare const SDK_VERSION = "0.0.68650";
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.0.68649";
4
+ exports.SDK_VERSION = "0.0.68650";
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {}
7
- */
8
- export interface ListComposioAppsRequest {
9
- userId?: string;
10
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {}
7
- */
8
- export interface ListMcpServersRequest {
9
- userId?: string;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * body: {
8
- * "key": "value"
9
- * }
10
- * }
11
- */
12
- export interface CreateVoiceChatCompletionsRequest {
13
- userId?: string;
14
- body: Record<string, unknown>;
15
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export { type CreateVoiceChatCompletionsRequest } from "./CreateVoiceChatCompletionsRequest";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {}
7
- */
8
- export interface ListComposioAppsRequest {
9
- userId?: string;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {}
7
- */
8
- export interface ListMcpServersRequest {
9
- userId?: string;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * body: {
8
- * "key": "value"
9
- * }
10
- * }
11
- */
12
- export interface CreateVoiceChatCompletionsRequest {
13
- userId?: string;
14
- body: Record<string, unknown>;
15
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export { type CreateVoiceChatCompletionsRequest } from "./CreateVoiceChatCompletionsRequest";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });