@letta-ai/letta-client 0.1.101 → 0.1.102
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 +8 -8
- package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
- package/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
- 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/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 +6 -6
- 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/agents/types/CreateAgentRequestResponseFormat.d.ts +5 -0
- package/api/resources/agents/types/CreateAgentRequestResponseFormat.js +5 -0
- package/api/resources/agents/types/UpdateAgentResponseFormat.d.ts +5 -0
- package/api/resources/agents/types/UpdateAgentResponseFormat.js +5 -0
- package/api/resources/agents/types/index.d.ts +2 -0
- package/api/resources/agents/types/index.js +2 -0
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +5 -5
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/api/resources/embeddings/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +5 -5
- 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 +6 -6
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +4 -4
- 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 +4 -4
- 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 +6 -6
- 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 +3 -3
- package/api/resources/tags/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.js +16 -16
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentState.d.ts +2 -0
- package/api/types/AgentStateResponseFormat.d.ts +5 -0
- package/api/types/AgentStateResponseFormat.js +5 -0
- package/api/types/JsonObjectResponseFormat.d.ts +9 -0
- package/api/types/JsonObjectResponseFormat.js +5 -0
- package/api/types/JsonSchemaResponseFormat.d.ts +11 -0
- package/api/types/JsonSchemaResponseFormat.js +5 -0
- package/api/types/TextResponseFormat.d.ts +9 -0
- package/api/types/TextResponseFormat.js +5 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- package/dist/api/resources/agents/client/Client.js +8 -8
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
- package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
- 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/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 +6 -6
- 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/agents/types/CreateAgentRequestResponseFormat.d.ts +5 -0
- package/dist/api/resources/agents/types/CreateAgentRequestResponseFormat.js +5 -0
- package/dist/api/resources/agents/types/UpdateAgentResponseFormat.d.ts +5 -0
- package/dist/api/resources/agents/types/UpdateAgentResponseFormat.js +5 -0
- package/dist/api/resources/agents/types/index.d.ts +2 -0
- package/dist/api/resources/agents/types/index.js +2 -0
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/dist/api/resources/embeddings/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +5 -5
- 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 +6 -6
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +4 -4
- 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 +4 -4
- 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 +6 -6
- 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 +3 -3
- package/dist/api/resources/tags/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.js +16 -16
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentState.d.ts +2 -0
- package/dist/api/types/AgentStateResponseFormat.d.ts +5 -0
- package/dist/api/types/AgentStateResponseFormat.js +5 -0
- package/dist/api/types/JsonObjectResponseFormat.d.ts +9 -0
- package/dist/api/types/JsonObjectResponseFormat.js +5 -0
- package/dist/api/types/JsonSchemaResponseFormat.d.ts +11 -0
- package/dist/api/types/JsonSchemaResponseFormat.js +5 -0
- package/dist/api/types/TextResponseFormat.d.ts +9 -0
- package/dist/api/types/TextResponseFormat.js +5 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +2 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +13 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestResponseFormat.js +44 -0
- package/dist/serialization/resources/agents/types/UpdateAgentResponseFormat.d.ts +13 -0
- package/dist/serialization/resources/agents/types/UpdateAgentResponseFormat.js +44 -0
- package/dist/serialization/resources/agents/types/index.d.ts +2 -0
- package/dist/serialization/resources/agents/types/index.js +2 -0
- package/dist/serialization/types/AgentState.d.ts +2 -0
- package/dist/serialization/types/AgentState.js +2 -0
- package/dist/serialization/types/AgentStateResponseFormat.d.ts +13 -0
- package/dist/serialization/types/AgentStateResponseFormat.js +44 -0
- package/dist/serialization/types/JsonObjectResponseFormat.d.ts +12 -0
- package/dist/serialization/types/JsonObjectResponseFormat.js +43 -0
- package/dist/serialization/types/JsonSchemaResponseFormat.d.ts +13 -0
- package/dist/serialization/types/JsonSchemaResponseFormat.js +44 -0
- package/dist/serialization/types/TextResponseFormat.d.ts +12 -0
- package/dist/serialization/types/TextResponseFormat.js +43 -0
- package/dist/serialization/types/index.d.ts +4 -0
- package/dist/serialization/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
- package/serialization/resources/agents/client/requests/CreateAgentRequest.js +2 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
- package/serialization/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +13 -0
- package/serialization/resources/agents/types/CreateAgentRequestResponseFormat.js +44 -0
- package/serialization/resources/agents/types/UpdateAgentResponseFormat.d.ts +13 -0
- package/serialization/resources/agents/types/UpdateAgentResponseFormat.js +44 -0
- package/serialization/resources/agents/types/index.d.ts +2 -0
- package/serialization/resources/agents/types/index.js +2 -0
- package/serialization/types/AgentState.d.ts +2 -0
- package/serialization/types/AgentState.js +2 -0
- package/serialization/types/AgentStateResponseFormat.d.ts +13 -0
- package/serialization/types/AgentStateResponseFormat.js +44 -0
- package/serialization/types/JsonObjectResponseFormat.d.ts +12 -0
- package/serialization/types/JsonObjectResponseFormat.js +43 -0
- package/serialization/types/JsonSchemaResponseFormat.d.ts +13 -0
- package/serialization/types/JsonSchemaResponseFormat.js +44 -0
- package/serialization/types/TextResponseFormat.d.ts +12 -0
- package/serialization/types/TextResponseFormat.js +43 -0
- package/serialization/types/index.d.ts +4 -0
- package/serialization/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
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.JsonSchemaResponseFormat = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.JsonSchemaResponseFormat = core.serialization.object({
|
|
42
|
+
type: core.serialization.stringLiteral("json_schema"),
|
|
43
|
+
jsonSchema: core.serialization.property("json_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
44
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 TextResponseFormat: core.serialization.ObjectSchema<serializers.TextResponseFormat.Raw, Letta.TextResponseFormat>;
|
|
8
|
+
export declare namespace TextResponseFormat {
|
|
9
|
+
interface Raw {
|
|
10
|
+
type: "text";
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -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.TextResponseFormat = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.TextResponseFormat = core.serialization.object({
|
|
42
|
+
type: core.serialization.stringLiteral("text"),
|
|
43
|
+
});
|
|
@@ -10,6 +10,7 @@ export * from "./AgentEnvironmentVariable";
|
|
|
10
10
|
export * from "./AgentSchemaToolRulesItem";
|
|
11
11
|
export * from "./AgentSchema";
|
|
12
12
|
export * from "./AgentStateToolRulesItem";
|
|
13
|
+
export * from "./AgentStateResponseFormat";
|
|
13
14
|
export * from "./AgentState";
|
|
14
15
|
export * from "./AgentType";
|
|
15
16
|
export * from "./AppAuthSchemeAuthMode";
|
|
@@ -113,6 +114,8 @@ export * from "./JsonSchema";
|
|
|
113
114
|
export * from "./Job";
|
|
114
115
|
export * from "./JobStatus";
|
|
115
116
|
export * from "./JobType";
|
|
117
|
+
export * from "./JsonObjectResponseFormat";
|
|
118
|
+
export * from "./JsonSchemaResponseFormat";
|
|
116
119
|
export * from "./LlmConfigModelEndpointType";
|
|
117
120
|
export * from "./LlmConfigReasoningEffort";
|
|
118
121
|
export * from "./LlmConfig";
|
|
@@ -177,6 +180,7 @@ export * from "./SystemMessage";
|
|
|
177
180
|
export * from "./TagSchema";
|
|
178
181
|
export * from "./TerminalToolRule";
|
|
179
182
|
export * from "./TextContent";
|
|
183
|
+
export * from "./TextResponseFormat";
|
|
180
184
|
export * from "./Tool";
|
|
181
185
|
export * from "./ToolCall";
|
|
182
186
|
export * from "./ToolCallContent";
|
|
@@ -26,6 +26,7 @@ __exportStar(require("./AgentEnvironmentVariable"), exports);
|
|
|
26
26
|
__exportStar(require("./AgentSchemaToolRulesItem"), exports);
|
|
27
27
|
__exportStar(require("./AgentSchema"), exports);
|
|
28
28
|
__exportStar(require("./AgentStateToolRulesItem"), exports);
|
|
29
|
+
__exportStar(require("./AgentStateResponseFormat"), exports);
|
|
29
30
|
__exportStar(require("./AgentState"), exports);
|
|
30
31
|
__exportStar(require("./AgentType"), exports);
|
|
31
32
|
__exportStar(require("./AppAuthSchemeAuthMode"), exports);
|
|
@@ -129,6 +130,8 @@ __exportStar(require("./JsonSchema"), exports);
|
|
|
129
130
|
__exportStar(require("./Job"), exports);
|
|
130
131
|
__exportStar(require("./JobStatus"), exports);
|
|
131
132
|
__exportStar(require("./JobType"), exports);
|
|
133
|
+
__exportStar(require("./JsonObjectResponseFormat"), exports);
|
|
134
|
+
__exportStar(require("./JsonSchemaResponseFormat"), exports);
|
|
132
135
|
__exportStar(require("./LlmConfigModelEndpointType"), exports);
|
|
133
136
|
__exportStar(require("./LlmConfigReasoningEffort"), exports);
|
|
134
137
|
__exportStar(require("./LlmConfig"), exports);
|
|
@@ -193,6 +196,7 @@ __exportStar(require("./SystemMessage"), exports);
|
|
|
193
196
|
__exportStar(require("./TagSchema"), exports);
|
|
194
197
|
__exportStar(require("./TerminalToolRule"), exports);
|
|
195
198
|
__exportStar(require("./TextContent"), exports);
|
|
199
|
+
__exportStar(require("./TextResponseFormat"), exports);
|
|
196
200
|
__exportStar(require("./Tool"), exports);
|
|
197
201
|
__exportStar(require("./ToolCall"), exports);
|
|
198
202
|
__exportStar(require("./ToolCallContent"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.102";
|
package/version.js
CHANGED