@letta-ai/letta-client 0.1.166 → 0.1.168
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.
- package/api/resources/agents/client/Client.js +10 -10
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +3 -3
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +36 -7
- package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +32 -0
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +5 -5
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.d.ts +2 -27
- package/api/resources/tools/client/Client.js +34 -106
- package/api/resources/tools/client/requests/index.d.ts +0 -1
- package/api/resources/tools/types/ConnectMcpServerResponseEvent.d.ts +12 -0
- package/api/resources/tools/types/ConnectMcpServerResponseEvent.js +14 -0
- package/api/resources/tools/types/StreamingResponse.d.ts +9 -0
- package/api/resources/tools/types/index.d.ts +2 -0
- package/api/resources/tools/types/index.js +2 -0
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/FileMetadata.d.ts +0 -2
- package/api/types/LettaPing.d.ts +10 -0
- package/api/types/LlmConfig.d.ts +2 -0
- package/api/types/LlmConfigCompatibilityType.d.ts +8 -0
- package/api/types/LlmConfigCompatibilityType.js +10 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/dist/api/resources/agents/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +36 -7
- package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +32 -0
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +5 -5
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.d.ts +2 -27
- package/dist/api/resources/tools/client/Client.js +34 -106
- package/dist/api/resources/tools/client/requests/index.d.ts +0 -1
- package/dist/api/resources/tools/types/ConnectMcpServerResponseEvent.d.ts +12 -0
- package/dist/api/resources/tools/types/ConnectMcpServerResponseEvent.js +14 -0
- package/dist/api/resources/tools/types/StreamingResponse.d.ts +9 -0
- package/dist/api/resources/tools/types/StreamingResponse.js +5 -0
- package/dist/api/resources/tools/types/index.d.ts +2 -0
- package/dist/api/resources/tools/types/index.js +2 -0
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/FileMetadata.d.ts +0 -2
- package/dist/api/types/LettaPing.d.ts +10 -0
- package/dist/api/types/LettaPing.js +5 -0
- package/dist/api/types/LlmConfig.d.ts +2 -0
- package/dist/api/types/LlmConfigCompatibilityType.d.ts +8 -0
- package/dist/api/types/LlmConfigCompatibilityType.js +10 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +2 -1
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +2 -0
- package/dist/serialization/resources/tools/types/ConnectMcpServerResponseEvent.d.ts +10 -0
- package/dist/serialization/resources/tools/types/ConnectMcpServerResponseEvent.js +48 -0
- package/dist/serialization/resources/tools/types/StreamingResponse.d.ts +16 -0
- package/dist/serialization/resources/tools/types/StreamingResponse.js +47 -0
- package/dist/serialization/resources/tools/types/index.d.ts +2 -0
- package/dist/serialization/resources/tools/types/index.js +2 -0
- package/dist/serialization/types/FileMetadata.d.ts +0 -1
- package/dist/serialization/types/FileMetadata.js +0 -1
- package/dist/serialization/types/LettaPing.d.ts +12 -0
- package/dist/serialization/types/LettaPing.js +43 -0
- package/dist/serialization/types/LlmConfig.d.ts +2 -0
- package/dist/serialization/types/LlmConfig.js +2 -0
- package/dist/serialization/types/LlmConfigCompatibilityType.d.ts +10 -0
- package/dist/serialization/types/LlmConfigCompatibilityType.js +41 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +6 -74
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +2 -1
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +2 -0
- package/serialization/resources/tools/types/ConnectMcpServerResponseEvent.d.ts +10 -0
- package/serialization/resources/tools/types/ConnectMcpServerResponseEvent.js +48 -0
- package/serialization/resources/tools/types/StreamingResponse.d.ts +16 -0
- package/serialization/resources/tools/types/StreamingResponse.js +47 -0
- package/serialization/resources/tools/types/index.d.ts +2 -0
- package/serialization/resources/tools/types/index.js +2 -0
- package/serialization/types/FileMetadata.d.ts +0 -1
- package/serialization/types/FileMetadata.js +0 -1
- package/serialization/types/LettaPing.d.ts +12 -0
- package/serialization/types/LettaPing.js +43 -0
- package/serialization/types/LlmConfig.d.ts +2 -0
- package/serialization/types/LlmConfig.js +2 -0
- package/serialization/types/LlmConfigCompatibilityType.d.ts +10 -0
- package/serialization/types/LlmConfigCompatibilityType.js +41 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/tools/client/requests/McpOauthCallbackRequest.d.ts +0 -25
- package/dist/api/resources/tools/client/requests/McpOauthCallbackRequest.d.ts +0 -25
- /package/api/resources/tools/{client/requests/McpOauthCallbackRequest.js → types/StreamingResponse.js} +0 -0
- /package/{dist/api/resources/tools/client/requests/McpOauthCallbackRequest.js → api/types/LettaPing.js} +0 -0
|
@@ -7,6 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
import { LlmConfigModelEndpointType } from "./LlmConfigModelEndpointType";
|
|
8
8
|
import { ProviderCategory } from "./ProviderCategory";
|
|
9
9
|
import { LlmConfigReasoningEffort } from "./LlmConfigReasoningEffort";
|
|
10
|
+
import { LlmConfigCompatibilityType } from "./LlmConfigCompatibilityType";
|
|
10
11
|
export declare const LlmConfig: core.serialization.ObjectSchema<serializers.LlmConfig.Raw, Letta.LlmConfig>;
|
|
11
12
|
export declare namespace LlmConfig {
|
|
12
13
|
interface Raw {
|
|
@@ -25,5 +26,6 @@ export declare namespace LlmConfig {
|
|
|
25
26
|
reasoning_effort?: LlmConfigReasoningEffort.Raw | null;
|
|
26
27
|
max_reasoning_tokens?: number | null;
|
|
27
28
|
frequency_penalty?: number | null;
|
|
29
|
+
compatibility_type?: LlmConfigCompatibilityType.Raw | null;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const LlmConfigModelEndpointType_1 = require("./LlmConfigModelEndpointType");
|
|
42
42
|
const ProviderCategory_1 = require("./ProviderCategory");
|
|
43
43
|
const LlmConfigReasoningEffort_1 = require("./LlmConfigReasoningEffort");
|
|
44
|
+
const LlmConfigCompatibilityType_1 = require("./LlmConfigCompatibilityType");
|
|
44
45
|
exports.LlmConfig = core.serialization.object({
|
|
45
46
|
model: core.serialization.string(),
|
|
46
47
|
modelEndpointType: core.serialization.property("model_endpoint_type", LlmConfigModelEndpointType_1.LlmConfigModelEndpointType),
|
|
@@ -57,4 +58,5 @@ exports.LlmConfig = core.serialization.object({
|
|
|
57
58
|
reasoningEffort: core.serialization.property("reasoning_effort", LlmConfigReasoningEffort_1.LlmConfigReasoningEffort.optional()),
|
|
58
59
|
maxReasoningTokens: core.serialization.property("max_reasoning_tokens", core.serialization.number().optional()),
|
|
59
60
|
frequencyPenalty: core.serialization.property("frequency_penalty", core.serialization.number().optional()),
|
|
61
|
+
compatibilityType: core.serialization.property("compatibility_type", LlmConfigCompatibilityType_1.LlmConfigCompatibilityType.optional()),
|
|
60
62
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const LlmConfigCompatibilityType: core.serialization.Schema<serializers.LlmConfigCompatibilityType.Raw, Letta.LlmConfigCompatibilityType>;
|
|
8
|
+
export declare namespace LlmConfigCompatibilityType {
|
|
9
|
+
type Raw = "gguf" | "mlx";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.LlmConfigCompatibilityType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.LlmConfigCompatibilityType = core.serialization.enum_(["gguf", "mlx"]);
|
|
@@ -131,6 +131,7 @@ export * from "./JsonObjectResponseFormat";
|
|
|
131
131
|
export * from "./JsonSchemaResponseFormat";
|
|
132
132
|
export * from "./LlmConfigModelEndpointType";
|
|
133
133
|
export * from "./LlmConfigReasoningEffort";
|
|
134
|
+
export * from "./LlmConfigCompatibilityType";
|
|
134
135
|
export * from "./LlmConfig";
|
|
135
136
|
export * from "./LettaBatchMessages";
|
|
136
137
|
export * from "./LettaBatchRequest";
|
|
@@ -260,3 +261,4 @@ export * from "./LettaMessageUnion";
|
|
|
260
261
|
export * from "./LettaMessageContentUnion";
|
|
261
262
|
export * from "./ComponentsSchemasTextContent";
|
|
262
263
|
export * from "./LettaUserMessageContentUnion";
|
|
264
|
+
export * from "./LettaPing";
|
|
@@ -147,6 +147,7 @@ __exportStar(require("./JsonObjectResponseFormat"), exports);
|
|
|
147
147
|
__exportStar(require("./JsonSchemaResponseFormat"), exports);
|
|
148
148
|
__exportStar(require("./LlmConfigModelEndpointType"), exports);
|
|
149
149
|
__exportStar(require("./LlmConfigReasoningEffort"), exports);
|
|
150
|
+
__exportStar(require("./LlmConfigCompatibilityType"), exports);
|
|
150
151
|
__exportStar(require("./LlmConfig"), exports);
|
|
151
152
|
__exportStar(require("./LettaBatchMessages"), exports);
|
|
152
153
|
__exportStar(require("./LettaBatchRequest"), exports);
|
|
@@ -276,3 +277,4 @@ __exportStar(require("./LettaMessageUnion"), exports);
|
|
|
276
277
|
__exportStar(require("./LettaMessageContentUnion"), exports);
|
|
277
278
|
__exportStar(require("./ComponentsSchemasTextContent"), exports);
|
|
278
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.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.168";
|
package/version.js
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {}
|
|
7
|
-
*/
|
|
8
|
-
export interface McpOauthCallbackRequest {
|
|
9
|
-
/**
|
|
10
|
-
* OAuth authorization code
|
|
11
|
-
*/
|
|
12
|
-
code?: string;
|
|
13
|
-
/**
|
|
14
|
-
* OAuth state parameter
|
|
15
|
-
*/
|
|
16
|
-
state?: string;
|
|
17
|
-
/**
|
|
18
|
-
* OAuth error
|
|
19
|
-
*/
|
|
20
|
-
error?: string;
|
|
21
|
-
/**
|
|
22
|
-
* OAuth error description
|
|
23
|
-
*/
|
|
24
|
-
errorDescription?: string;
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {}
|
|
7
|
-
*/
|
|
8
|
-
export interface McpOauthCallbackRequest {
|
|
9
|
-
/**
|
|
10
|
-
* OAuth authorization code
|
|
11
|
-
*/
|
|
12
|
-
code?: string;
|
|
13
|
-
/**
|
|
14
|
-
* OAuth state parameter
|
|
15
|
-
*/
|
|
16
|
-
state?: string;
|
|
17
|
-
/**
|
|
18
|
-
* OAuth error
|
|
19
|
-
*/
|
|
20
|
-
error?: string;
|
|
21
|
-
/**
|
|
22
|
-
* OAuth error description
|
|
23
|
-
*/
|
|
24
|
-
errorDescription?: string;
|
|
25
|
-
}
|
|
File without changes
|
|
File without changes
|