@letta-ai/letta-client 0.1.206 → 0.1.207
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/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 +5 -5
- 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 +9 -9
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
- package/api/resources/templates/types/index.d.ts +3 -1
- package/api/resources/templates/types/index.js +3 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/DeleteDeploymentResponse.d.ts +12 -0
- package/api/types/DeleteDeploymentResponse.js +5 -0
- package/api/types/DeploymentEntity.d.ts +12 -0
- package/api/types/DeploymentEntity.js +5 -0
- package/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
- package/api/types/ListDeploymentEntitiesResponse.js +5 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -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/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 +5 -5
- 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 +9 -9
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
- package/dist/api/resources/templates/types/index.d.ts +3 -1
- package/dist/api/resources/templates/types/index.js +3 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/DeleteDeploymentResponse.d.ts +12 -0
- package/dist/api/types/DeleteDeploymentResponse.js +5 -0
- package/dist/api/types/DeploymentEntity.d.ts +12 -0
- package/dist/api/types/DeploymentEntity.js +5 -0
- package/dist/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
- package/dist/api/types/ListDeploymentEntitiesResponse.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
- package/dist/serialization/resources/templates/types/index.d.ts +3 -1
- package/dist/serialization/resources/templates/types/index.js +3 -1
- package/dist/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
- package/dist/serialization/types/DeleteDeploymentResponse.js +46 -0
- package/dist/serialization/types/DeploymentEntity.d.ts +15 -0
- package/dist/serialization/types/DeploymentEntity.js +46 -0
- package/dist/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
- package/dist/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
- package/serialization/resources/templates/types/index.d.ts +3 -1
- package/serialization/resources/templates/types/index.js +3 -1
- package/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
- package/serialization/types/DeleteDeploymentResponse.js +46 -0
- package/serialization/types/DeploymentEntity.d.ts +15 -0
- package/serialization/types/DeploymentEntity.js +46 -0
- package/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
- package/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
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 DeleteDeploymentResponse: core.serialization.ObjectSchema<serializers.DeleteDeploymentResponse.Raw, Letta.DeleteDeploymentResponse>;
|
|
8
|
+
export declare namespace DeleteDeploymentResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
deleted_blocks?: string[] | null;
|
|
11
|
+
deleted_agents?: string[] | null;
|
|
12
|
+
deleted_groups?: string[] | null;
|
|
13
|
+
message: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.DeleteDeploymentResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.DeleteDeploymentResponse = core.serialization.object({
|
|
42
|
+
deletedBlocks: core.serialization.property("deleted_blocks", core.serialization.list(core.serialization.string()).optional()),
|
|
43
|
+
deletedAgents: core.serialization.property("deleted_agents", core.serialization.list(core.serialization.string()).optional()),
|
|
44
|
+
deletedGroups: core.serialization.property("deleted_groups", core.serialization.list(core.serialization.string()).optional()),
|
|
45
|
+
message: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 DeploymentEntity: core.serialization.ObjectSchema<serializers.DeploymentEntity.Raw, Letta.DeploymentEntity>;
|
|
8
|
+
export declare namespace DeploymentEntity {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
type: string;
|
|
12
|
+
name?: string | null;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.DeploymentEntity = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.DeploymentEntity = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
type: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string().optional(),
|
|
45
|
+
description: core.serialization.string().optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { DeploymentEntity } from "./DeploymentEntity";
|
|
8
|
+
export declare const ListDeploymentEntitiesResponse: core.serialization.ObjectSchema<serializers.ListDeploymentEntitiesResponse.Raw, Letta.ListDeploymentEntitiesResponse>;
|
|
9
|
+
export declare namespace ListDeploymentEntitiesResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
entities?: DeploymentEntity.Raw[] | null;
|
|
12
|
+
total_count: number;
|
|
13
|
+
deployment_id: string;
|
|
14
|
+
message: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.ListDeploymentEntitiesResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const DeploymentEntity_1 = require("./DeploymentEntity");
|
|
42
|
+
exports.ListDeploymentEntitiesResponse = core.serialization.object({
|
|
43
|
+
entities: core.serialization.list(DeploymentEntity_1.DeploymentEntity).optional(),
|
|
44
|
+
totalCount: core.serialization.property("total_count", core.serialization.number()),
|
|
45
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string()),
|
|
46
|
+
message: core.serialization.string(),
|
|
47
|
+
});
|
|
@@ -106,6 +106,8 @@ export * from "./CustomFormatGrammar";
|
|
|
106
106
|
export * from "./CustomFormatGrammarGrammarSyntax";
|
|
107
107
|
export * from "./CustomFormatGrammarGrammar";
|
|
108
108
|
export * from "./CustomFormatText";
|
|
109
|
+
export * from "./DeleteDeploymentResponse";
|
|
110
|
+
export * from "./DeploymentEntity";
|
|
109
111
|
export * from "./DuplicateFileHandling";
|
|
110
112
|
export * from "./DynamicManager";
|
|
111
113
|
export * from "./DynamicManagerUpdate";
|
|
@@ -178,6 +180,7 @@ export * from "./LettaStopReason";
|
|
|
178
180
|
export * from "./LettaStreamingRequestMessagesItem";
|
|
179
181
|
export * from "./LettaStreamingRequest";
|
|
180
182
|
export * from "./LettaUsageStatistics";
|
|
183
|
+
export * from "./ListDeploymentEntitiesResponse";
|
|
181
184
|
export * from "./LocalSandboxConfig";
|
|
182
185
|
export * from "./McpServerSchema";
|
|
183
186
|
export * from "./McpServerType";
|
|
@@ -122,6 +122,8 @@ __exportStar(require("./CustomFormatGrammar"), exports);
|
|
|
122
122
|
__exportStar(require("./CustomFormatGrammarGrammarSyntax"), exports);
|
|
123
123
|
__exportStar(require("./CustomFormatGrammarGrammar"), exports);
|
|
124
124
|
__exportStar(require("./CustomFormatText"), exports);
|
|
125
|
+
__exportStar(require("./DeleteDeploymentResponse"), exports);
|
|
126
|
+
__exportStar(require("./DeploymentEntity"), exports);
|
|
125
127
|
__exportStar(require("./DuplicateFileHandling"), exports);
|
|
126
128
|
__exportStar(require("./DynamicManager"), exports);
|
|
127
129
|
__exportStar(require("./DynamicManagerUpdate"), exports);
|
|
@@ -194,6 +196,7 @@ __exportStar(require("./LettaStopReason"), exports);
|
|
|
194
196
|
__exportStar(require("./LettaStreamingRequestMessagesItem"), exports);
|
|
195
197
|
__exportStar(require("./LettaStreamingRequest"), exports);
|
|
196
198
|
__exportStar(require("./LettaUsageStatistics"), exports);
|
|
199
|
+
__exportStar(require("./ListDeploymentEntitiesResponse"), exports);
|
|
197
200
|
__exportStar(require("./LocalSandboxConfig"), exports);
|
|
198
201
|
__exportStar(require("./McpServerSchema"), exports);
|
|
199
202
|
__exportStar(require("./McpServerType"), 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.207";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -7,13 +7,16 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
import { SystemMessage } from "../../../../../types/SystemMessage";
|
|
8
8
|
import { UserMessage } from "../../../../../types/UserMessage";
|
|
9
9
|
import { ReasoningMessage } from "../../../../../types/ReasoningMessage";
|
|
10
|
+
import { HiddenReasoningMessage } from "../../../../../types/HiddenReasoningMessage";
|
|
10
11
|
import { ToolCallMessage } from "../../../../../types/ToolCallMessage";
|
|
11
12
|
import { ToolReturnMessage } from "../../../../../types/ToolReturnMessage";
|
|
12
13
|
import { AssistantMessage } from "../../../../../types/AssistantMessage";
|
|
14
|
+
import { ApprovalRequestMessage } from "../../../../../types/ApprovalRequestMessage";
|
|
15
|
+
import { ApprovalResponseMessage } from "../../../../../types/ApprovalResponseMessage";
|
|
13
16
|
import { LettaPing } from "../../../../../types/LettaPing";
|
|
14
17
|
import { LettaStopReason } from "../../../../../types/LettaStopReason";
|
|
15
18
|
import { LettaUsageStatistics } from "../../../../../types/LettaUsageStatistics";
|
|
16
19
|
export declare const LettaStreamingResponse: core.serialization.Schema<serializers.agents.LettaStreamingResponse.Raw, Letta.agents.LettaStreamingResponse>;
|
|
17
20
|
export declare namespace LettaStreamingResponse {
|
|
18
|
-
type Raw = SystemMessage.Raw | UserMessage.Raw | ReasoningMessage.Raw | ToolCallMessage.Raw | ToolReturnMessage.Raw | AssistantMessage.Raw | LettaPing.Raw | LettaStopReason.Raw | LettaUsageStatistics.Raw;
|
|
21
|
+
type Raw = SystemMessage.Raw | UserMessage.Raw | ReasoningMessage.Raw | HiddenReasoningMessage.Raw | ToolCallMessage.Raw | ToolReturnMessage.Raw | AssistantMessage.Raw | ApprovalRequestMessage.Raw | ApprovalResponseMessage.Raw | LettaPing.Raw | LettaStopReason.Raw | LettaUsageStatistics.Raw;
|
|
19
22
|
}
|
|
@@ -41,9 +41,12 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const SystemMessage_1 = require("../../../../../types/SystemMessage");
|
|
42
42
|
const UserMessage_1 = require("../../../../../types/UserMessage");
|
|
43
43
|
const ReasoningMessage_1 = require("../../../../../types/ReasoningMessage");
|
|
44
|
+
const HiddenReasoningMessage_1 = require("../../../../../types/HiddenReasoningMessage");
|
|
44
45
|
const ToolCallMessage_1 = require("../../../../../types/ToolCallMessage");
|
|
45
46
|
const ToolReturnMessage_1 = require("../../../../../types/ToolReturnMessage");
|
|
46
47
|
const AssistantMessage_1 = require("../../../../../types/AssistantMessage");
|
|
48
|
+
const ApprovalRequestMessage_1 = require("../../../../../types/ApprovalRequestMessage");
|
|
49
|
+
const ApprovalResponseMessage_1 = require("../../../../../types/ApprovalResponseMessage");
|
|
47
50
|
const LettaPing_1 = require("../../../../../types/LettaPing");
|
|
48
51
|
const LettaStopReason_1 = require("../../../../../types/LettaStopReason");
|
|
49
52
|
const LettaUsageStatistics_1 = require("../../../../../types/LettaUsageStatistics");
|
|
@@ -51,9 +54,12 @@ exports.LettaStreamingResponse = core.serialization.undiscriminatedUnion([
|
|
|
51
54
|
SystemMessage_1.SystemMessage,
|
|
52
55
|
UserMessage_1.UserMessage,
|
|
53
56
|
ReasoningMessage_1.ReasoningMessage,
|
|
57
|
+
HiddenReasoningMessage_1.HiddenReasoningMessage,
|
|
54
58
|
ToolCallMessage_1.ToolCallMessage,
|
|
55
59
|
ToolReturnMessage_1.ToolReturnMessage,
|
|
56
60
|
AssistantMessage_1.AssistantMessage,
|
|
61
|
+
ApprovalRequestMessage_1.ApprovalRequestMessage,
|
|
62
|
+
ApprovalResponseMessage_1.ApprovalResponseMessage,
|
|
57
63
|
LettaPing_1.LettaPing,
|
|
58
64
|
LettaStopReason_1.LettaStopReason,
|
|
59
65
|
LettaUsageStatistics_1.LettaUsageStatistics,
|
package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import { TemplatesGetTemplateSnapshotResponseAgentsItemProperties } from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
|
|
8
7
|
import { TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
|
|
9
8
|
import { TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables";
|
|
10
9
|
import { TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
|
|
11
10
|
import { TemplatesGetTemplateSnapshotResponseAgentsItemAgentType } from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
|
|
11
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItemProperties } from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
|
|
12
12
|
export declare const TemplatesGetTemplateSnapshotResponseAgentsItem: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItem.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItem>;
|
|
13
13
|
export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
|
|
14
14
|
interface Raw {
|
|
@@ -16,13 +16,13 @@ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
|
|
|
16
16
|
systemPrompt: string;
|
|
17
17
|
toolIds?: string[] | null;
|
|
18
18
|
sourceIds?: string[] | null;
|
|
19
|
-
properties?: TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw | null;
|
|
20
19
|
memoryVariables?: TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.Raw | null;
|
|
21
20
|
toolVariables?: TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.Raw | null;
|
|
22
21
|
tags?: string[] | null;
|
|
23
22
|
identityIds?: string[] | null;
|
|
24
23
|
toolRules?: TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.Raw[] | null;
|
|
25
24
|
agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.Raw;
|
|
25
|
+
properties?: TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw | null;
|
|
26
26
|
entityId: string;
|
|
27
27
|
name: string;
|
|
28
28
|
}
|
package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js
CHANGED
|
@@ -38,23 +38,23 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties");
|
|
42
41
|
const TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables");
|
|
43
42
|
const TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables");
|
|
44
43
|
const TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem");
|
|
45
44
|
const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType");
|
|
45
|
+
const TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties");
|
|
46
46
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItem = core.serialization.object({
|
|
47
47
|
model: core.serialization.string(),
|
|
48
48
|
systemPrompt: core.serialization.string(),
|
|
49
49
|
toolIds: core.serialization.list(core.serialization.string()).optional(),
|
|
50
50
|
sourceIds: core.serialization.list(core.serialization.string()).optional(),
|
|
51
|
-
properties: TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.optional(),
|
|
52
51
|
memoryVariables: TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables_1.TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.optional(),
|
|
53
52
|
toolVariables: TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables_1.TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.optional(),
|
|
54
53
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
55
54
|
identityIds: core.serialization.list(core.serialization.string()).optional(),
|
|
56
55
|
toolRules: core.serialization.list(TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem).optional(),
|
|
57
56
|
agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
|
|
57
|
+
properties: TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.optional(),
|
|
58
58
|
entityId: core.serialization.string(),
|
|
59
59
|
name: core.serialization.string(),
|
|
60
60
|
});
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel } from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel";
|
|
8
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort } from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort";
|
|
7
9
|
export declare const TemplatesGetTemplateSnapshotResponseAgentsItemProperties: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemProperties>;
|
|
8
10
|
export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemProperties {
|
|
9
11
|
interface Raw {
|
|
@@ -14,6 +16,8 @@ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemPropertie
|
|
|
14
16
|
max_reasoning_tokens?: number | null;
|
|
15
17
|
max_files_open?: number | null;
|
|
16
18
|
message_buffer_autoclear?: boolean | null;
|
|
19
|
+
verbosity_level?: TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.Raw | null;
|
|
20
|
+
reasoning_effort?: TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.Raw | null;
|
|
17
21
|
per_file_view_window_char_limit?: number | null;
|
|
18
22
|
temperature?: number | null;
|
|
19
23
|
}
|
|
@@ -38,6 +38,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItemProperties = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel");
|
|
42
|
+
const TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort");
|
|
41
43
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItemProperties = core.serialization.object({
|
|
42
44
|
enableReasoner: core.serialization.property("enable_reasoner", core.serialization.boolean().optional()),
|
|
43
45
|
putInnerThoughtsInKwargs: core.serialization.property("put_inner_thoughts_in_kwargs", core.serialization.boolean().optional()),
|
|
@@ -46,6 +48,8 @@ exports.TemplatesGetTemplateSnapshotResponseAgentsItemProperties = core.serializ
|
|
|
46
48
|
maxReasoningTokens: core.serialization.property("max_reasoning_tokens", core.serialization.number().optional()),
|
|
47
49
|
maxFilesOpen: core.serialization.property("max_files_open", core.serialization.number().optional()),
|
|
48
50
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
51
|
+
verbosityLevel: core.serialization.property("verbosity_level", TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel_1.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.optional()),
|
|
52
|
+
reasoningEffort: core.serialization.property("reasoning_effort", TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort_1.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.optional()),
|
|
49
53
|
perFileViewWindowCharLimit: core.serialization.property("per_file_view_window_char_limit", core.serialization.number().optional()),
|
|
50
54
|
temperature: core.serialization.number().optional(),
|
|
51
55
|
});
|
|
@@ -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 TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort: core.serialization.Schema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort>;
|
|
8
|
+
export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort {
|
|
9
|
+
type Raw = "minimal" | "low" | "medium" | "high";
|
|
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.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort = core.serialization.enum_(["minimal", "low", "medium", "high"]);
|
|
@@ -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 TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel: core.serialization.Schema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel>;
|
|
8
|
+
export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel {
|
|
9
|
+
type Raw = "low" | "medium" | "high";
|
|
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.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel = core.serialization.enum_(["low", "medium", "high"]);
|
|
@@ -3,7 +3,6 @@ export * from "./TemplatesListResponseTemplatesItem";
|
|
|
3
3
|
export * from "./TemplatesListResponse";
|
|
4
4
|
export * from "./TemplatesSaveTemplateVersionResponse";
|
|
5
5
|
export * from "./TemplatesDeleteTemplateResponse";
|
|
6
|
-
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
|
|
7
6
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem";
|
|
8
7
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
|
|
9
8
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem";
|
|
@@ -19,6 +18,9 @@ export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeve
|
|
|
19
18
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate";
|
|
20
19
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
|
|
21
20
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
|
|
21
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel";
|
|
22
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort";
|
|
23
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
|
|
22
24
|
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
|
|
23
25
|
export * from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
|
|
24
26
|
export * from "./TemplatesGetTemplateSnapshotResponseConfiguration";
|
|
@@ -19,7 +19,6 @@ __exportStar(require("./TemplatesListResponseTemplatesItem"), exports);
|
|
|
19
19
|
__exportStar(require("./TemplatesListResponse"), exports);
|
|
20
20
|
__exportStar(require("./TemplatesSaveTemplateVersionResponse"), exports);
|
|
21
21
|
__exportStar(require("./TemplatesDeleteTemplateResponse"), exports);
|
|
22
|
-
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties"), exports);
|
|
23
22
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem"), exports);
|
|
24
23
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables"), exports);
|
|
25
24
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem"), exports);
|
|
@@ -35,6 +34,9 @@ __exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesI
|
|
|
35
34
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemPromptTemplate"), exports);
|
|
36
35
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem"), exports);
|
|
37
36
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType"), exports);
|
|
37
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel"), exports);
|
|
38
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort"), exports);
|
|
39
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties"), exports);
|
|
38
40
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItem"), exports);
|
|
39
41
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseBlocksItem"), exports);
|
|
40
42
|
__exportStar(require("./TemplatesGetTemplateSnapshotResponseConfiguration"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
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 DeleteDeploymentResponse: core.serialization.ObjectSchema<serializers.DeleteDeploymentResponse.Raw, Letta.DeleteDeploymentResponse>;
|
|
8
|
+
export declare namespace DeleteDeploymentResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
deleted_blocks?: string[] | null;
|
|
11
|
+
deleted_agents?: string[] | null;
|
|
12
|
+
deleted_groups?: string[] | null;
|
|
13
|
+
message: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.DeleteDeploymentResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.DeleteDeploymentResponse = core.serialization.object({
|
|
42
|
+
deletedBlocks: core.serialization.property("deleted_blocks", core.serialization.list(core.serialization.string()).optional()),
|
|
43
|
+
deletedAgents: core.serialization.property("deleted_agents", core.serialization.list(core.serialization.string()).optional()),
|
|
44
|
+
deletedGroups: core.serialization.property("deleted_groups", core.serialization.list(core.serialization.string()).optional()),
|
|
45
|
+
message: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 DeploymentEntity: core.serialization.ObjectSchema<serializers.DeploymentEntity.Raw, Letta.DeploymentEntity>;
|
|
8
|
+
export declare namespace DeploymentEntity {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
type: string;
|
|
12
|
+
name?: string | null;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|