@letta-ai/letta-client 0.1.63 → 0.1.64
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.d.ts +7 -7
- package/api/resources/agents/client/Client.js +28 -22
- package/api/resources/agents/client/requests/{BodyUploadAgentSerialized.d.ts → BodyImportAgentSerialized.d.ts} +1 -1
- package/api/resources/agents/client/requests/index.d.ts +1 -1
- 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/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/api/resources/agents/resources/passages/client/Client.js +3 -3
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/groups/client/Client.js +7 -7
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +6 -6
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.js +7 -7
- package/api/resources/sources/client/Client.js +6 -6
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/tag/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +16 -16
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentSchema.d.ts +27 -0
- package/api/types/CoreMemoryBlockSchema.d.ts +16 -0
- package/api/types/CoreMemoryBlockSchema.js +5 -0
- package/api/types/MessageSchema.d.ts +16 -0
- package/api/types/MessageSchema.js +5 -0
- package/api/types/ParameterProperties.d.ts +7 -0
- package/api/types/ParameterProperties.js +5 -0
- package/api/types/ParametersSchema.d.ts +9 -0
- package/api/types/ParametersSchema.js +5 -0
- package/api/types/TagSchema.d.ts +6 -0
- package/api/types/TagSchema.js +5 -0
- package/api/types/ToolEnvVarSchema.d.ts +11 -0
- package/api/types/ToolEnvVarSchema.js +5 -0
- package/api/types/ToolJsonSchema.d.ts +11 -0
- package/api/types/ToolJsonSchema.js +5 -0
- package/api/types/ToolRuleSchema.d.ts +7 -0
- package/api/types/ToolRuleSchema.js +5 -0
- package/api/types/ToolSchema.d.ts +18 -0
- package/api/types/ToolSchema.js +5 -0
- package/api/types/index.d.ts +10 -0
- package/api/types/index.js +10 -0
- package/dist/api/resources/agents/client/Client.d.ts +7 -7
- package/dist/api/resources/agents/client/Client.js +28 -22
- package/dist/api/resources/agents/client/requests/{BodyUploadAgentSerialized.d.ts → BodyImportAgentSerialized.d.ts} +1 -1
- package/dist/api/resources/agents/client/requests/BodyImportAgentSerialized.js +5 -0
- package/dist/api/resources/agents/client/requests/index.d.ts +1 -1
- 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/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/groups/client/Client.js +7 -7
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +6 -6
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.js +7 -7
- package/dist/api/resources/sources/client/Client.js +6 -6
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/tag/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +16 -16
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentSchema.d.ts +27 -0
- package/dist/api/types/AgentSchema.js +5 -0
- package/dist/api/types/CoreMemoryBlockSchema.d.ts +16 -0
- package/dist/api/types/CoreMemoryBlockSchema.js +5 -0
- package/dist/api/types/MessageSchema.d.ts +16 -0
- package/dist/api/types/MessageSchema.js +5 -0
- package/dist/api/types/ParameterProperties.d.ts +7 -0
- package/dist/api/types/ParameterProperties.js +5 -0
- package/dist/api/types/ParametersSchema.d.ts +9 -0
- package/dist/api/types/ParametersSchema.js +5 -0
- package/dist/api/types/TagSchema.d.ts +6 -0
- package/dist/api/types/TagSchema.js +5 -0
- package/dist/api/types/ToolEnvVarSchema.d.ts +11 -0
- package/dist/api/types/ToolEnvVarSchema.js +5 -0
- package/dist/api/types/ToolJsonSchema.d.ts +11 -0
- package/dist/api/types/ToolJsonSchema.js +5 -0
- package/dist/api/types/ToolRuleSchema.d.ts +7 -0
- package/dist/api/types/ToolRuleSchema.js +5 -0
- package/dist/api/types/ToolSchema.d.ts +18 -0
- package/dist/api/types/ToolSchema.js +5 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/api/types/index.js +10 -0
- package/dist/serialization/types/AgentSchema.d.ts +40 -0
- package/dist/serialization/types/AgentSchema.js +71 -0
- package/dist/serialization/types/CoreMemoryBlockSchema.d.ts +22 -0
- package/dist/serialization/types/CoreMemoryBlockSchema.js +53 -0
- package/dist/serialization/types/MessageSchema.d.ts +22 -0
- package/dist/serialization/types/MessageSchema.js +53 -0
- package/dist/serialization/types/ParameterProperties.d.ts +13 -0
- package/dist/serialization/types/ParameterProperties.js +44 -0
- package/dist/serialization/types/ParametersSchema.d.ts +15 -0
- package/dist/serialization/types/ParametersSchema.js +46 -0
- package/dist/serialization/types/TagSchema.d.ts +12 -0
- package/dist/serialization/types/TagSchema.js +43 -0
- package/dist/serialization/types/ToolEnvVarSchema.d.ts +17 -0
- package/dist/serialization/types/ToolEnvVarSchema.js +48 -0
- package/dist/serialization/types/ToolJsonSchema.d.ts +17 -0
- package/dist/serialization/types/ToolJsonSchema.js +48 -0
- package/dist/serialization/types/ToolRuleSchema.d.ts +13 -0
- package/dist/serialization/types/ToolRuleSchema.js +44 -0
- package/dist/serialization/types/ToolSchema.d.ts +24 -0
- package/dist/serialization/types/ToolSchema.js +55 -0
- package/dist/serialization/types/index.d.ts +10 -0
- package/dist/serialization/types/index.js +10 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +7 -7
- package/serialization/types/AgentSchema.d.ts +40 -0
- package/serialization/types/AgentSchema.js +71 -0
- package/serialization/types/CoreMemoryBlockSchema.d.ts +22 -0
- package/serialization/types/CoreMemoryBlockSchema.js +53 -0
- package/serialization/types/MessageSchema.d.ts +22 -0
- package/serialization/types/MessageSchema.js +53 -0
- package/serialization/types/ParameterProperties.d.ts +13 -0
- package/serialization/types/ParameterProperties.js +44 -0
- package/serialization/types/ParametersSchema.d.ts +15 -0
- package/serialization/types/ParametersSchema.js +46 -0
- package/serialization/types/TagSchema.d.ts +12 -0
- package/serialization/types/TagSchema.js +43 -0
- package/serialization/types/ToolEnvVarSchema.d.ts +17 -0
- package/serialization/types/ToolEnvVarSchema.js +48 -0
- package/serialization/types/ToolJsonSchema.d.ts +17 -0
- package/serialization/types/ToolJsonSchema.js +48 -0
- package/serialization/types/ToolRuleSchema.d.ts +13 -0
- package/serialization/types/ToolRuleSchema.js +44 -0
- package/serialization/types/ToolSchema.d.ts +24 -0
- package/serialization/types/ToolSchema.js +55 -0
- package/serialization/types/index.d.ts +10 -0
- package/serialization/types/index.js +10 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/agents/client/requests/{BodyUploadAgentSerialized.js → BodyImportAgentSerialized.js} +0 -0
- /package/{dist/api/resources/agents/client/requests/BodyUploadAgentSerialized.js → api/types/AgentSchema.js} +0 -0
|
@@ -22,6 +22,7 @@ __exportStar(require("./ActionModel"), exports);
|
|
|
22
22
|
__exportStar(require("./ActionParametersModel"), exports);
|
|
23
23
|
__exportStar(require("./ActionResponseModel"), exports);
|
|
24
24
|
__exportStar(require("./AgentEnvironmentVariable"), exports);
|
|
25
|
+
__exportStar(require("./AgentSchema"), exports);
|
|
25
26
|
__exportStar(require("./AgentStateToolRulesItem"), exports);
|
|
26
27
|
__exportStar(require("./AgentState"), exports);
|
|
27
28
|
__exportStar(require("./AgentType"), exports);
|
|
@@ -88,6 +89,7 @@ __exportStar(require("./CompletionCreateParamsStreaming"), exports);
|
|
|
88
89
|
__exportStar(require("./ConditionalToolRule"), exports);
|
|
89
90
|
__exportStar(require("./ContextWindowOverview"), exports);
|
|
90
91
|
__exportStar(require("./ContinueToolRule"), exports);
|
|
92
|
+
__exportStar(require("./CoreMemoryBlockSchema"), exports);
|
|
91
93
|
__exportStar(require("./CreateBlock"), exports);
|
|
92
94
|
__exportStar(require("./DynamicManager"), exports);
|
|
93
95
|
__exportStar(require("./E2BSandboxConfig"), exports);
|
|
@@ -138,8 +140,11 @@ __exportStar(require("./MessageCreateRole"), exports);
|
|
|
138
140
|
__exportStar(require("./MessageCreateContent"), exports);
|
|
139
141
|
__exportStar(require("./MessageCreate"), exports);
|
|
140
142
|
__exportStar(require("./MessageRole"), exports);
|
|
143
|
+
__exportStar(require("./MessageSchema"), exports);
|
|
141
144
|
__exportStar(require("./Organization"), exports);
|
|
142
145
|
__exportStar(require("./OrganizationCreate"), exports);
|
|
146
|
+
__exportStar(require("./ParameterProperties"), exports);
|
|
147
|
+
__exportStar(require("./ParametersSchema"), exports);
|
|
143
148
|
__exportStar(require("./Passage"), exports);
|
|
144
149
|
__exportStar(require("./PipRequirement"), exports);
|
|
145
150
|
__exportStar(require("./Provider"), exports);
|
|
@@ -165,6 +170,7 @@ __exportStar(require("./Step"), exports);
|
|
|
165
170
|
__exportStar(require("./SupervisorManager"), exports);
|
|
166
171
|
__exportStar(require("./SystemMessageContent"), exports);
|
|
167
172
|
__exportStar(require("./SystemMessage"), exports);
|
|
173
|
+
__exportStar(require("./TagSchema"), exports);
|
|
168
174
|
__exportStar(require("./TerminalToolRule"), exports);
|
|
169
175
|
__exportStar(require("./TextContent"), exports);
|
|
170
176
|
__exportStar(require("./Tool"), exports);
|
|
@@ -173,10 +179,14 @@ __exportStar(require("./ToolCallDelta"), exports);
|
|
|
173
179
|
__exportStar(require("./ToolCallMessageToolCall"), exports);
|
|
174
180
|
__exportStar(require("./ToolCallMessage"), exports);
|
|
175
181
|
__exportStar(require("./ToolCreate"), exports);
|
|
182
|
+
__exportStar(require("./ToolEnvVarSchema"), exports);
|
|
183
|
+
__exportStar(require("./ToolJsonSchema"), exports);
|
|
176
184
|
__exportStar(require("./ToolReturnStatus"), exports);
|
|
177
185
|
__exportStar(require("./ToolReturn"), exports);
|
|
178
186
|
__exportStar(require("./ToolReturnMessageStatus"), exports);
|
|
179
187
|
__exportStar(require("./ToolReturnMessage"), exports);
|
|
188
|
+
__exportStar(require("./ToolRuleSchema"), exports);
|
|
189
|
+
__exportStar(require("./ToolSchema"), exports);
|
|
180
190
|
__exportStar(require("./ToolType"), exports);
|
|
181
191
|
__exportStar(require("./UpdateAssistantMessageContent"), exports);
|
|
182
192
|
__exportStar(require("./UpdateAssistantMessage"), 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.64";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1528,7 +1528,7 @@ await client.agents.create();
|
|
|
1528
1528
|
</dl>
|
|
1529
1529
|
</details>
|
|
1530
1530
|
|
|
1531
|
-
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">
|
|
1531
|
+
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">exportAgentSerialized</a>(agentId) -> Letta.AgentSchema</code></summary>
|
|
1532
1532
|
<dl>
|
|
1533
1533
|
<dd>
|
|
1534
1534
|
|
|
@@ -1540,7 +1540,7 @@ await client.agents.create();
|
|
|
1540
1540
|
<dl>
|
|
1541
1541
|
<dd>
|
|
1542
1542
|
|
|
1543
|
-
|
|
1543
|
+
Export the serialized JSON representation of an agent.
|
|
1544
1544
|
|
|
1545
1545
|
</dd>
|
|
1546
1546
|
</dl>
|
|
@@ -1556,7 +1556,7 @@ Download the serialized JSON representation of an agent.
|
|
|
1556
1556
|
<dd>
|
|
1557
1557
|
|
|
1558
1558
|
```typescript
|
|
1559
|
-
await client.agents.
|
|
1559
|
+
await client.agents.exportAgentSerialized("agent_id");
|
|
1560
1560
|
```
|
|
1561
1561
|
|
|
1562
1562
|
</dd>
|
|
@@ -1591,7 +1591,7 @@ await client.agents.downloadAgentSerialized("agent_id");
|
|
|
1591
1591
|
</dl>
|
|
1592
1592
|
</details>
|
|
1593
1593
|
|
|
1594
|
-
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">
|
|
1594
|
+
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">importAgentSerialized</a>(file, { ...params }) -> Letta.AgentState</code></summary>
|
|
1595
1595
|
<dl>
|
|
1596
1596
|
<dd>
|
|
1597
1597
|
|
|
@@ -1603,7 +1603,7 @@ await client.agents.downloadAgentSerialized("agent_id");
|
|
|
1603
1603
|
<dl>
|
|
1604
1604
|
<dd>
|
|
1605
1605
|
|
|
1606
|
-
|
|
1606
|
+
Import a serialized agent file and recreate the agent in the system.
|
|
1607
1607
|
|
|
1608
1608
|
</dd>
|
|
1609
1609
|
</dl>
|
|
@@ -1619,7 +1619,7 @@ Upload a serialized agent JSON file and recreate the agent in the system.
|
|
|
1619
1619
|
<dd>
|
|
1620
1620
|
|
|
1621
1621
|
```typescript
|
|
1622
|
-
await client.agents.
|
|
1622
|
+
await client.agents.importAgentSerialized(fs.createReadStream("/path/to/your/file"), {});
|
|
1623
1623
|
```
|
|
1624
1624
|
|
|
1625
1625
|
</dd>
|
|
@@ -1643,7 +1643,7 @@ await client.agents.uploadAgentSerialized(fs.createReadStream("/path/to/your/fil
|
|
|
1643
1643
|
<dl>
|
|
1644
1644
|
<dd>
|
|
1645
1645
|
|
|
1646
|
-
**request:** `Letta.
|
|
1646
|
+
**request:** `Letta.BodyImportAgentSerialized`
|
|
1647
1647
|
|
|
1648
1648
|
</dd>
|
|
1649
1649
|
</dl>
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { CoreMemoryBlockSchema } from "./CoreMemoryBlockSchema";
|
|
8
|
+
import { EmbeddingConfig } from "./EmbeddingConfig";
|
|
9
|
+
import { LlmConfig } from "./LlmConfig";
|
|
10
|
+
import { MessageSchema } from "./MessageSchema";
|
|
11
|
+
import { TagSchema } from "./TagSchema";
|
|
12
|
+
import { ToolEnvVarSchema } from "./ToolEnvVarSchema";
|
|
13
|
+
import { ToolRuleSchema } from "./ToolRuleSchema";
|
|
14
|
+
import { ToolSchema } from "./ToolSchema";
|
|
15
|
+
export declare const AgentSchema: core.serialization.ObjectSchema<serializers.AgentSchema.Raw, Letta.AgentSchema>;
|
|
16
|
+
export declare namespace AgentSchema {
|
|
17
|
+
interface Raw {
|
|
18
|
+
agent_type: string;
|
|
19
|
+
core_memory: CoreMemoryBlockSchema.Raw[];
|
|
20
|
+
created_at: string;
|
|
21
|
+
description: string;
|
|
22
|
+
embedding_config: EmbeddingConfig.Raw;
|
|
23
|
+
groups: unknown[];
|
|
24
|
+
identities: unknown[];
|
|
25
|
+
is_deleted: boolean;
|
|
26
|
+
llm_config: LlmConfig.Raw;
|
|
27
|
+
message_buffer_autoclear: boolean;
|
|
28
|
+
messages: MessageSchema.Raw[];
|
|
29
|
+
metadata_: Record<string, unknown>;
|
|
30
|
+
multi_agent_group?: unknown;
|
|
31
|
+
name: string;
|
|
32
|
+
system: string;
|
|
33
|
+
tags: TagSchema.Raw[];
|
|
34
|
+
tool_exec_environment_variables: ToolEnvVarSchema.Raw[];
|
|
35
|
+
tool_rules: ToolRuleSchema.Raw[];
|
|
36
|
+
tools: ToolSchema.Raw[];
|
|
37
|
+
updated_at: string;
|
|
38
|
+
version: string;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.AgentSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const CoreMemoryBlockSchema_1 = require("./CoreMemoryBlockSchema");
|
|
42
|
+
const EmbeddingConfig_1 = require("./EmbeddingConfig");
|
|
43
|
+
const LlmConfig_1 = require("./LlmConfig");
|
|
44
|
+
const MessageSchema_1 = require("./MessageSchema");
|
|
45
|
+
const TagSchema_1 = require("./TagSchema");
|
|
46
|
+
const ToolEnvVarSchema_1 = require("./ToolEnvVarSchema");
|
|
47
|
+
const ToolRuleSchema_1 = require("./ToolRuleSchema");
|
|
48
|
+
const ToolSchema_1 = require("./ToolSchema");
|
|
49
|
+
exports.AgentSchema = core.serialization.object({
|
|
50
|
+
agentType: core.serialization.property("agent_type", core.serialization.string()),
|
|
51
|
+
coreMemory: core.serialization.property("core_memory", core.serialization.list(CoreMemoryBlockSchema_1.CoreMemoryBlockSchema)),
|
|
52
|
+
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
53
|
+
description: core.serialization.string(),
|
|
54
|
+
embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig),
|
|
55
|
+
groups: core.serialization.list(core.serialization.unknown()),
|
|
56
|
+
identities: core.serialization.list(core.serialization.unknown()),
|
|
57
|
+
isDeleted: core.serialization.property("is_deleted", core.serialization.boolean()),
|
|
58
|
+
llmConfig: core.serialization.property("llm_config", LlmConfig_1.LlmConfig),
|
|
59
|
+
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean()),
|
|
60
|
+
messages: core.serialization.list(MessageSchema_1.MessageSchema),
|
|
61
|
+
metadata: core.serialization.property("metadata_", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
62
|
+
multiAgentGroup: core.serialization.property("multi_agent_group", core.serialization.unknown()),
|
|
63
|
+
name: core.serialization.string(),
|
|
64
|
+
system: core.serialization.string(),
|
|
65
|
+
tags: core.serialization.list(TagSchema_1.TagSchema),
|
|
66
|
+
toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.list(ToolEnvVarSchema_1.ToolEnvVarSchema)),
|
|
67
|
+
toolRules: core.serialization.property("tool_rules", core.serialization.list(ToolRuleSchema_1.ToolRuleSchema)),
|
|
68
|
+
tools: core.serialization.list(ToolSchema_1.ToolSchema),
|
|
69
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.string()),
|
|
70
|
+
version: core.serialization.string(),
|
|
71
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
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 CoreMemoryBlockSchema: core.serialization.ObjectSchema<serializers.CoreMemoryBlockSchema.Raw, Letta.CoreMemoryBlockSchema>;
|
|
8
|
+
export declare namespace CoreMemoryBlockSchema {
|
|
9
|
+
interface Raw {
|
|
10
|
+
created_at: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
identities: unknown[];
|
|
13
|
+
is_deleted: boolean;
|
|
14
|
+
is_template: boolean;
|
|
15
|
+
label: string;
|
|
16
|
+
limit: number;
|
|
17
|
+
metadata_?: Record<string, unknown> | null;
|
|
18
|
+
template_name?: string | null;
|
|
19
|
+
updated_at: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.CoreMemoryBlockSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.CoreMemoryBlockSchema = core.serialization.object({
|
|
42
|
+
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
identities: core.serialization.list(core.serialization.unknown()),
|
|
45
|
+
isDeleted: core.serialization.property("is_deleted", core.serialization.boolean()),
|
|
46
|
+
isTemplate: core.serialization.property("is_template", core.serialization.boolean()),
|
|
47
|
+
label: core.serialization.string(),
|
|
48
|
+
limit: core.serialization.number(),
|
|
49
|
+
metadata: core.serialization.property("metadata_", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
50
|
+
templateName: core.serialization.property("template_name", core.serialization.string().optional()),
|
|
51
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.string()),
|
|
52
|
+
value: core.serialization.string(),
|
|
53
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
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 MessageSchema: core.serialization.ObjectSchema<serializers.MessageSchema.Raw, Letta.MessageSchema>;
|
|
8
|
+
export declare namespace MessageSchema {
|
|
9
|
+
interface Raw {
|
|
10
|
+
created_at: string;
|
|
11
|
+
group_id?: string | null;
|
|
12
|
+
in_context: boolean;
|
|
13
|
+
model?: string | null;
|
|
14
|
+
name?: string | null;
|
|
15
|
+
role: string;
|
|
16
|
+
text: string;
|
|
17
|
+
tool_call_id?: string | null;
|
|
18
|
+
tool_calls: unknown[];
|
|
19
|
+
tool_returns: unknown[];
|
|
20
|
+
updated_at: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.MessageSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.MessageSchema = core.serialization.object({
|
|
42
|
+
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
43
|
+
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
44
|
+
inContext: core.serialization.property("in_context", core.serialization.boolean()),
|
|
45
|
+
model: core.serialization.string().optional(),
|
|
46
|
+
name: core.serialization.string().optional(),
|
|
47
|
+
role: core.serialization.string(),
|
|
48
|
+
text: core.serialization.string(),
|
|
49
|
+
toolCallId: core.serialization.property("tool_call_id", core.serialization.string().optional()),
|
|
50
|
+
toolCalls: core.serialization.property("tool_calls", core.serialization.list(core.serialization.unknown())),
|
|
51
|
+
toolReturns: core.serialization.property("tool_returns", core.serialization.list(core.serialization.unknown())),
|
|
52
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.string()),
|
|
53
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 ParameterProperties: core.serialization.ObjectSchema<serializers.ParameterProperties.Raw, Letta.ParameterProperties>;
|
|
8
|
+
export declare namespace ParameterProperties {
|
|
9
|
+
interface Raw {
|
|
10
|
+
type: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ParameterProperties = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ParameterProperties = core.serialization.object({
|
|
42
|
+
type: core.serialization.string(),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
});
|
|
@@ -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
|
+
import { ParameterProperties } from "./ParameterProperties";
|
|
8
|
+
export declare const ParametersSchema: core.serialization.ObjectSchema<serializers.ParametersSchema.Raw, Letta.ParametersSchema>;
|
|
9
|
+
export declare namespace ParametersSchema {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type?: string | null;
|
|
12
|
+
properties: Record<string, ParameterProperties.Raw>;
|
|
13
|
+
required?: 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.ParametersSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ParameterProperties_1 = require("./ParameterProperties");
|
|
42
|
+
exports.ParametersSchema = core.serialization.object({
|
|
43
|
+
type: core.serialization.string().optional(),
|
|
44
|
+
properties: core.serialization.record(core.serialization.string(), ParameterProperties_1.ParameterProperties),
|
|
45
|
+
required: core.serialization.list(core.serialization.string()).optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TagSchema: core.serialization.ObjectSchema<serializers.TagSchema.Raw, Letta.TagSchema>;
|
|
8
|
+
export declare namespace TagSchema {
|
|
9
|
+
interface Raw {
|
|
10
|
+
tag: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TagSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.TagSchema = core.serialization.object({
|
|
42
|
+
tag: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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 ToolEnvVarSchema: core.serialization.ObjectSchema<serializers.ToolEnvVarSchema.Raw, Letta.ToolEnvVarSchema>;
|
|
8
|
+
export declare namespace ToolEnvVarSchema {
|
|
9
|
+
interface Raw {
|
|
10
|
+
created_at: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
is_deleted: boolean;
|
|
13
|
+
key: string;
|
|
14
|
+
updated_at: string;
|
|
15
|
+
value: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.ToolEnvVarSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ToolEnvVarSchema = core.serialization.object({
|
|
42
|
+
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
isDeleted: core.serialization.property("is_deleted", core.serialization.boolean()),
|
|
45
|
+
key: core.serialization.string(),
|
|
46
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.string()),
|
|
47
|
+
value: core.serialization.string(),
|
|
48
|
+
});
|