@letta-ai/letta-client 0.1.200 → 0.1.202
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 +11 -11
- 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 +4 -4
- 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/index.d.ts +2 -1
- package/api/resources/agents/resources/index.js +3 -2
- 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/passages/client/Client.d.ts +20 -0
- package/api/resources/agents/resources/passages/client/Client.js +111 -4
- package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +36 -0
- package/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.js +5 -0
- package/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/passages/index.d.ts +1 -0
- package/api/resources/agents/resources/passages/index.js +1 -0
- package/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +11 -0
- package/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +10 -0
- package/api/resources/agents/resources/passages/types/index.d.ts +1 -0
- package/api/resources/agents/resources/passages/types/index.js +17 -0
- 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 +4 -4
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- 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 +2 -2
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +5 -5
- 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 +3 -3
- 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 +8 -8
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +14 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +16 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
- package/api/resources/templates/types/index.d.ts +1 -0
- package/api/resources/templates/types/index.js +1 -0
- package/api/resources/tools/client/Client.js +103 -24
- package/api/resources/tools/client/requests/ToolsCountRequest.d.ts +27 -2
- package/api/resources/tools/client/requests/ToolsListRequest.d.ts +24 -0
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/ArchivalMemorySearchResponse.d.ts +10 -0
- package/api/types/ArchivalMemorySearchResponse.js +5 -0
- package/api/types/ArchivalMemorySearchResult.d.ts +11 -0
- package/api/types/ArchivalMemorySearchResult.js +5 -0
- package/api/types/UpdateSsemcpServer.d.ts +0 -2
- package/api/types/UpdateStdioMcpServer.d.ts +0 -2
- package/api/types/UpdateStreamableHttpmcpServer.d.ts +0 -2
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/api/resources/agents/client/Client.js +11 -11
- 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 +4 -4
- 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/index.d.ts +2 -1
- package/dist/api/resources/agents/resources/index.js +3 -2
- 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/passages/client/Client.d.ts +20 -0
- package/dist/api/resources/agents/resources/passages/client/Client.js +111 -4
- package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.d.ts +36 -0
- package/dist/api/resources/agents/resources/passages/client/requests/PassagesSearchRequest.js +5 -0
- package/dist/api/resources/agents/resources/passages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/passages/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/passages/index.js +1 -0
- package/dist/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +11 -0
- package/dist/api/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +10 -0
- package/dist/api/resources/agents/resources/passages/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/passages/types/index.js +17 -0
- 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 +4 -4
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- 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 +2 -2
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +5 -5
- 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 +3 -3
- 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 +8 -8
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +14 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +16 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
- package/dist/api/resources/templates/types/index.d.ts +1 -0
- package/dist/api/resources/templates/types/index.js +1 -0
- package/dist/api/resources/tools/client/Client.js +103 -24
- package/dist/api/resources/tools/client/requests/ToolsCountRequest.d.ts +27 -2
- package/dist/api/resources/tools/client/requests/ToolsListRequest.d.ts +24 -0
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/ArchivalMemorySearchResponse.d.ts +10 -0
- package/dist/api/types/ArchivalMemorySearchResponse.js +5 -0
- package/dist/api/types/ArchivalMemorySearchResult.d.ts +11 -0
- package/dist/api/types/ArchivalMemorySearchResult.js +5 -0
- package/dist/api/types/UpdateSsemcpServer.d.ts +0 -2
- package/dist/api/types/UpdateStdioMcpServer.d.ts +0 -2
- package/dist/api/types/UpdateStreamableHttpmcpServer.d.ts +0 -2
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/agents/resources/index.d.ts +2 -1
- package/dist/serialization/resources/agents/resources/index.js +3 -2
- package/dist/serialization/resources/agents/resources/passages/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/passages/index.js +1 -0
- package/dist/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +41 -0
- package/dist/serialization/resources/agents/resources/passages/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/passages/types/index.js +17 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +50 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +1 -1
- package/dist/serialization/resources/templates/types/index.d.ts +1 -0
- package/dist/serialization/resources/templates/types/index.js +1 -0
- package/dist/serialization/types/ArchivalMemorySearchResponse.d.ts +14 -0
- package/dist/serialization/types/ArchivalMemorySearchResponse.js +45 -0
- package/dist/serialization/types/ArchivalMemorySearchResult.d.ts +14 -0
- package/dist/serialization/types/ArchivalMemorySearchResult.js +45 -0
- package/dist/serialization/types/UpdateSsemcpServer.d.ts +0 -1
- package/dist/serialization/types/UpdateSsemcpServer.js +0 -1
- package/dist/serialization/types/UpdateStdioMcpServer.d.ts +0 -1
- package/dist/serialization/types/UpdateStdioMcpServer.js +0 -1
- package/dist/serialization/types/UpdateStreamableHttpmcpServer.d.ts +0 -1
- package/dist/serialization/types/UpdateStreamableHttpmcpServer.js +0 -1
- 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 +77 -0
- package/serialization/resources/agents/resources/index.d.ts +2 -1
- package/serialization/resources/agents/resources/index.js +3 -2
- package/serialization/resources/agents/resources/passages/index.d.ts +1 -0
- package/serialization/resources/agents/resources/passages/index.js +1 -0
- package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.d.ts +10 -0
- package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js +41 -0
- package/serialization/resources/agents/resources/passages/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/passages/types/index.js +17 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +50 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +1 -1
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +1 -1
- package/serialization/resources/templates/types/index.d.ts +1 -0
- package/serialization/resources/templates/types/index.js +1 -0
- package/serialization/types/ArchivalMemorySearchResponse.d.ts +14 -0
- package/serialization/types/ArchivalMemorySearchResponse.js +45 -0
- package/serialization/types/ArchivalMemorySearchResult.d.ts +14 -0
- package/serialization/types/ArchivalMemorySearchResult.js +45 -0
- package/serialization/types/UpdateSsemcpServer.d.ts +0 -1
- package/serialization/types/UpdateSsemcpServer.js +0 -1
- package/serialization/types/UpdateStdioMcpServer.d.ts +0 -1
- package/serialization/types/UpdateStdioMcpServer.js +0 -1
- package/serialization/types/UpdateStreamableHttpmcpServer.d.ts +0 -1
- package/serialization/types/UpdateStreamableHttpmcpServer.js +0 -1
- 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
|
@@ -42,6 +42,7 @@ const TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1 = require("./Te
|
|
|
42
42
|
const TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables");
|
|
43
43
|
const TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables");
|
|
44
44
|
const TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem");
|
|
45
|
+
const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType");
|
|
45
46
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItem = core.serialization.object({
|
|
46
47
|
model: core.serialization.string(),
|
|
47
48
|
systemPrompt: core.serialization.string(),
|
|
@@ -53,6 +54,7 @@ exports.TemplatesGetTemplateSnapshotResponseAgentsItem = core.serialization.obje
|
|
|
53
54
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
54
55
|
identityIds: core.serialization.list(core.serialization.string()).optional(),
|
|
55
56
|
toolRules: core.serialization.list(TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem).optional(),
|
|
57
|
+
agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
|
|
56
58
|
entityId: core.serialization.string(),
|
|
57
59
|
name: core.serialization.string(),
|
|
58
60
|
});
|
|
@@ -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 TemplatesGetTemplateSnapshotResponseAgentsItemAgentType: core.serialization.Schema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType>;
|
|
8
|
+
export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemAgentType {
|
|
9
|
+
type Raw = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
10
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = core.serialization.enum_([
|
|
42
|
+
"memgpt_agent",
|
|
43
|
+
"memgpt_v2_agent",
|
|
44
|
+
"react_agent",
|
|
45
|
+
"workflow_agent",
|
|
46
|
+
"split_thread_agent",
|
|
47
|
+
"sleeptime_agent",
|
|
48
|
+
"voice_convo_agent",
|
|
49
|
+
"voice_sleeptime_agent",
|
|
50
|
+
]);
|
|
@@ -7,7 +7,7 @@ import * as core from "../../../../core";
|
|
|
7
7
|
export declare const TemplatesGetTemplateSnapshotResponseConfiguration: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseConfiguration.Raw, Letta.TemplatesGetTemplateSnapshotResponseConfiguration>;
|
|
8
8
|
export declare namespace TemplatesGetTemplateSnapshotResponseConfiguration {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
managerAgentEntityId?: string | null;
|
|
11
11
|
managerType?: string | null;
|
|
12
12
|
terminationToken?: string | null;
|
|
13
13
|
maxTurns?: number | null;
|
|
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.TemplatesGetTemplateSnapshotResponseConfiguration = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
exports.TemplatesGetTemplateSnapshotResponseConfiguration = core.serialization.object({
|
|
42
|
-
|
|
42
|
+
managerAgentEntityId: core.serialization.string().optional(),
|
|
43
43
|
managerType: core.serialization.string().optional(),
|
|
44
44
|
terminationToken: core.serialization.string().optional(),
|
|
45
45
|
maxTurns: core.serialization.number().optional(),
|
|
@@ -18,6 +18,7 @@ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxC
|
|
|
18
18
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven";
|
|
19
19
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate";
|
|
20
20
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
|
|
21
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
|
|
21
22
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
|
|
22
23
|
export * from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
|
|
23
24
|
export * from "./TemplatesGetTemplateSnapshotResponseConfiguration";
|
|
@@ -34,6 +34,7 @@ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesI
|
|
|
34
34
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven"), exports);
|
|
35
35
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate"), exports);
|
|
36
36
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem"), exports);
|
|
37
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType"), exports);
|
|
37
38
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItem"), exports);
|
|
38
39
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseBlocksItem"), exports);
|
|
39
40
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseConfiguration"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
import { ArchivalMemorySearchResult } from "./ArchivalMemorySearchResult";
|
|
8
|
+
export declare const ArchivalMemorySearchResponse: core.serialization.ObjectSchema<serializers.ArchivalMemorySearchResponse.Raw, Letta.ArchivalMemorySearchResponse>;
|
|
9
|
+
export declare namespace ArchivalMemorySearchResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
results: ArchivalMemorySearchResult.Raw[];
|
|
12
|
+
count: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.ArchivalMemorySearchResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ArchivalMemorySearchResult_1 = require("./ArchivalMemorySearchResult");
|
|
42
|
+
exports.ArchivalMemorySearchResponse = core.serialization.object({
|
|
43
|
+
results: core.serialization.list(ArchivalMemorySearchResult_1.ArchivalMemorySearchResult),
|
|
44
|
+
count: core.serialization.number(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 ArchivalMemorySearchResult: core.serialization.ObjectSchema<serializers.ArchivalMemorySearchResult.Raw, Letta.ArchivalMemorySearchResult>;
|
|
8
|
+
export declare namespace ArchivalMemorySearchResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
timestamp: string;
|
|
11
|
+
content: string;
|
|
12
|
+
tags?: string[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.ArchivalMemorySearchResult = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ArchivalMemorySearchResult = core.serialization.object({
|
|
42
|
+
timestamp: core.serialization.string(),
|
|
43
|
+
content: core.serialization.string(),
|
|
44
|
+
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
45
|
+
});
|
|
@@ -7,7 +7,6 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const UpdateSsemcpServer: core.serialization.ObjectSchema<serializers.UpdateSsemcpServer.Raw, Letta.UpdateSsemcpServer>;
|
|
8
8
|
export declare namespace UpdateSsemcpServer {
|
|
9
9
|
interface Raw {
|
|
10
|
-
server_name?: string | null;
|
|
11
10
|
server_url?: string | null;
|
|
12
11
|
token?: string | null;
|
|
13
12
|
custom_headers?: Record<string, string | null | undefined> | null;
|
|
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.UpdateSsemcpServer = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.UpdateSsemcpServer = core.serialization.object({
|
|
42
|
-
serverName: core.serialization.property("server_name", core.serialization.string().optional()),
|
|
43
42
|
serverUrl: core.serialization.property("server_url", core.serialization.string().optional()),
|
|
44
43
|
token: core.serialization.string().optional(),
|
|
45
44
|
customHeaders: core.serialization.property("custom_headers", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
@@ -8,7 +8,6 @@ import { StdioServerConfig } from "./StdioServerConfig";
|
|
|
8
8
|
export declare const UpdateStdioMcpServer: core.serialization.ObjectSchema<serializers.UpdateStdioMcpServer.Raw, Letta.UpdateStdioMcpServer>;
|
|
9
9
|
export declare namespace UpdateStdioMcpServer {
|
|
10
10
|
interface Raw {
|
|
11
|
-
server_name?: string | null;
|
|
12
11
|
stdio_config?: StdioServerConfig.Raw | null;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -40,6 +40,5 @@ exports.UpdateStdioMcpServer = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const StdioServerConfig_1 = require("./StdioServerConfig");
|
|
42
42
|
exports.UpdateStdioMcpServer = core.serialization.object({
|
|
43
|
-
serverName: core.serialization.property("server_name", core.serialization.string().optional()),
|
|
44
43
|
stdioConfig: core.serialization.property("stdio_config", StdioServerConfig_1.StdioServerConfig.optional()),
|
|
45
44
|
});
|
|
@@ -7,7 +7,6 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const UpdateStreamableHttpmcpServer: core.serialization.ObjectSchema<serializers.UpdateStreamableHttpmcpServer.Raw, Letta.UpdateStreamableHttpmcpServer>;
|
|
8
8
|
export declare namespace UpdateStreamableHttpmcpServer {
|
|
9
9
|
interface Raw {
|
|
10
|
-
server_name?: string | null;
|
|
11
10
|
server_url?: string | null;
|
|
12
11
|
auth_header?: string | null;
|
|
13
12
|
auth_token?: string | null;
|
|
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.UpdateStreamableHttpmcpServer = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.UpdateStreamableHttpmcpServer = core.serialization.object({
|
|
42
|
-
serverName: core.serialization.property("server_name", core.serialization.string().optional()),
|
|
43
42
|
serverUrl: core.serialization.property("server_url", core.serialization.string().optional()),
|
|
44
43
|
authHeader: core.serialization.property("auth_header", core.serialization.string().optional()),
|
|
45
44
|
authToken: core.serialization.property("auth_token", core.serialization.string().optional()),
|
|
@@ -18,6 +18,8 @@ export * from "./AppModel";
|
|
|
18
18
|
export * from "./ApprovalCreate";
|
|
19
19
|
export * from "./ApprovalRequestMessage";
|
|
20
20
|
export * from "./ApprovalResponseMessage";
|
|
21
|
+
export * from "./ArchivalMemorySearchResponse";
|
|
22
|
+
export * from "./ArchivalMemorySearchResult";
|
|
21
23
|
export * from "./AssistantMessageContent";
|
|
22
24
|
export * from "./AssistantMessage";
|
|
23
25
|
export * from "./Audio";
|
|
@@ -34,6 +34,8 @@ __exportStar(require("./AppModel"), exports);
|
|
|
34
34
|
__exportStar(require("./ApprovalCreate"), exports);
|
|
35
35
|
__exportStar(require("./ApprovalRequestMessage"), exports);
|
|
36
36
|
__exportStar(require("./ApprovalResponseMessage"), exports);
|
|
37
|
+
__exportStar(require("./ArchivalMemorySearchResponse"), exports);
|
|
38
|
+
__exportStar(require("./ArchivalMemorySearchResult"), exports);
|
|
37
39
|
__exportStar(require("./AssistantMessageContent"), exports);
|
|
38
40
|
__exportStar(require("./AssistantMessage"), exports);
|
|
39
41
|
__exportStar(require("./Audio"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.202";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -8745,6 +8745,83 @@ await client.agents.passages.create("agent_id", {
|
|
|
8745
8745
|
</dl>
|
|
8746
8746
|
</details>
|
|
8747
8747
|
|
|
8748
|
+
<details><summary><code>client.agents.passages.<a href="/src/api/resources/agents/resources/passages/client/Client.ts">search</a>(agentId, { ...params }) -> Letta.ArchivalMemorySearchResponse</code></summary>
|
|
8749
|
+
<dl>
|
|
8750
|
+
<dd>
|
|
8751
|
+
|
|
8752
|
+
#### 📝 Description
|
|
8753
|
+
|
|
8754
|
+
<dl>
|
|
8755
|
+
<dd>
|
|
8756
|
+
|
|
8757
|
+
<dl>
|
|
8758
|
+
<dd>
|
|
8759
|
+
|
|
8760
|
+
Search archival memory using semantic (embedding-based) search with optional temporal filtering.
|
|
8761
|
+
|
|
8762
|
+
This endpoint allows manual triggering of archival memory searches, enabling users to query
|
|
8763
|
+
an agent's archival memory store directly via the API. The search uses the same functionality
|
|
8764
|
+
as the agent's archival_memory_search tool but is accessible for external API usage.
|
|
8765
|
+
|
|
8766
|
+
</dd>
|
|
8767
|
+
</dl>
|
|
8768
|
+
</dd>
|
|
8769
|
+
</dl>
|
|
8770
|
+
|
|
8771
|
+
#### 🔌 Usage
|
|
8772
|
+
|
|
8773
|
+
<dl>
|
|
8774
|
+
<dd>
|
|
8775
|
+
|
|
8776
|
+
<dl>
|
|
8777
|
+
<dd>
|
|
8778
|
+
|
|
8779
|
+
```typescript
|
|
8780
|
+
await client.agents.passages.search("agent_id", {
|
|
8781
|
+
query: "query",
|
|
8782
|
+
});
|
|
8783
|
+
```
|
|
8784
|
+
|
|
8785
|
+
</dd>
|
|
8786
|
+
</dl>
|
|
8787
|
+
</dd>
|
|
8788
|
+
</dl>
|
|
8789
|
+
|
|
8790
|
+
#### ⚙️ Parameters
|
|
8791
|
+
|
|
8792
|
+
<dl>
|
|
8793
|
+
<dd>
|
|
8794
|
+
|
|
8795
|
+
<dl>
|
|
8796
|
+
<dd>
|
|
8797
|
+
|
|
8798
|
+
**agentId:** `string`
|
|
8799
|
+
|
|
8800
|
+
</dd>
|
|
8801
|
+
</dl>
|
|
8802
|
+
|
|
8803
|
+
<dl>
|
|
8804
|
+
<dd>
|
|
8805
|
+
|
|
8806
|
+
**request:** `Letta.agents.PassagesSearchRequest`
|
|
8807
|
+
|
|
8808
|
+
</dd>
|
|
8809
|
+
</dl>
|
|
8810
|
+
|
|
8811
|
+
<dl>
|
|
8812
|
+
<dd>
|
|
8813
|
+
|
|
8814
|
+
**requestOptions:** `Passages.RequestOptions`
|
|
8815
|
+
|
|
8816
|
+
</dd>
|
|
8817
|
+
</dl>
|
|
8818
|
+
</dd>
|
|
8819
|
+
</dl>
|
|
8820
|
+
|
|
8821
|
+
</dd>
|
|
8822
|
+
</dl>
|
|
8823
|
+
</details>
|
|
8824
|
+
|
|
8748
8825
|
<details><summary><code>client.agents.passages.<a href="/src/api/resources/agents/resources/passages/client/Client.ts">delete</a>(agentId, memoryId) -> unknown</code></summary>
|
|
8749
8826
|
<dl>
|
|
8750
8827
|
<dd>
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * as passages from "./passages";
|
|
2
|
+
export * from "./passages/types";
|
|
1
3
|
export * as messages from "./messages";
|
|
2
4
|
export * from "./messages/types";
|
|
3
5
|
export * as templates from "./templates";
|
|
@@ -9,7 +11,6 @@ export * as sources from "./sources";
|
|
|
9
11
|
export * as folders from "./folders";
|
|
10
12
|
export * as files from "./files";
|
|
11
13
|
export * as blocks from "./blocks";
|
|
12
|
-
export * as passages from "./passages";
|
|
13
14
|
export * as groups from "./groups";
|
|
14
15
|
export * from "./passages/client/requests";
|
|
15
16
|
export * from "./messages/client/requests";
|
|
@@ -36,7 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.groups = exports.
|
|
39
|
+
exports.groups = exports.blocks = exports.files = exports.folders = exports.sources = exports.tools = exports.memoryVariables = exports.templates = exports.messages = exports.passages = void 0;
|
|
40
|
+
exports.passages = __importStar(require("./passages"));
|
|
41
|
+
__exportStar(require("./passages/types"), exports);
|
|
40
42
|
exports.messages = __importStar(require("./messages"));
|
|
41
43
|
__exportStar(require("./messages/types"), exports);
|
|
42
44
|
exports.templates = __importStar(require("./templates"));
|
|
@@ -48,7 +50,6 @@ exports.sources = __importStar(require("./sources"));
|
|
|
48
50
|
exports.folders = __importStar(require("./folders"));
|
|
49
51
|
exports.files = __importStar(require("./files"));
|
|
50
52
|
exports.blocks = __importStar(require("./blocks"));
|
|
51
|
-
exports.passages = __importStar(require("./passages"));
|
|
52
53
|
exports.groups = __importStar(require("./groups"));
|
|
53
54
|
__exportStar(require("./passages/client/requests"), exports);
|
|
54
55
|
__exportStar(require("./messages/client/requests"), exports);
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -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 PassagesSearchRequestTagMatchMode: core.serialization.Schema<serializers.agents.PassagesSearchRequestTagMatchMode.Raw, Letta.agents.PassagesSearchRequestTagMatchMode>;
|
|
8
|
+
export declare namespace PassagesSearchRequestTagMatchMode {
|
|
9
|
+
type Raw = "any" | "all";
|
|
10
|
+
}
|
package/serialization/resources/agents/resources/passages/types/PassagesSearchRequestTagMatchMode.js
ADDED
|
@@ -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.PassagesSearchRequestTagMatchMode = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.PassagesSearchRequestTagMatchMode = core.serialization.enum_(["any", "all"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./PassagesSearchRequestTagMatchMode";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./PassagesSearchRequestTagMatchMode"), exports);
|
package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { TemplatesGetTemplateSnapshotResponseAgentsItemProperties } from "./Temp
|
|
|
8
8
|
import { TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
|
|
9
9
|
import { TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables";
|
|
10
10
|
import { TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
|
|
11
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItemAgentType } from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
|
|
11
12
|
export declare const TemplatesGetTemplateSnapshotResponseAgentsItem: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItem.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItem>;
|
|
12
13
|
export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
|
|
13
14
|
interface Raw {
|
|
@@ -21,6 +22,7 @@ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
|
|
|
21
22
|
tags?: string[] | null;
|
|
22
23
|
identityIds?: string[] | null;
|
|
23
24
|
toolRules?: TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.Raw[] | null;
|
|
25
|
+
agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.Raw;
|
|
24
26
|
entityId: string;
|
|
25
27
|
name: string;
|
|
26
28
|
}
|
package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js
CHANGED
|
@@ -42,6 +42,7 @@ const TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1 = require("./Te
|
|
|
42
42
|
const TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables");
|
|
43
43
|
const TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables");
|
|
44
44
|
const TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem");
|
|
45
|
+
const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType");
|
|
45
46
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItem = core.serialization.object({
|
|
46
47
|
model: core.serialization.string(),
|
|
47
48
|
systemPrompt: core.serialization.string(),
|
|
@@ -53,6 +54,7 @@ exports.TemplatesGetTemplateSnapshotResponseAgentsItem = core.serialization.obje
|
|
|
53
54
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
54
55
|
identityIds: core.serialization.list(core.serialization.string()).optional(),
|
|
55
56
|
toolRules: core.serialization.list(TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem).optional(),
|
|
57
|
+
agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
|
|
56
58
|
entityId: core.serialization.string(),
|
|
57
59
|
name: core.serialization.string(),
|
|
58
60
|
});
|
|
@@ -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 TemplatesGetTemplateSnapshotResponseAgentsItemAgentType: core.serialization.Schema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType>;
|
|
8
|
+
export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemAgentType {
|
|
9
|
+
type Raw = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
10
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = core.serialization.enum_([
|
|
42
|
+
"memgpt_agent",
|
|
43
|
+
"memgpt_v2_agent",
|
|
44
|
+
"react_agent",
|
|
45
|
+
"workflow_agent",
|
|
46
|
+
"split_thread_agent",
|
|
47
|
+
"sleeptime_agent",
|
|
48
|
+
"voice_convo_agent",
|
|
49
|
+
"voice_sleeptime_agent",
|
|
50
|
+
]);
|