@letta-ai/letta-client 0.1.80 → 0.1.82
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 +13 -10
- package/api/resources/agents/client/requests/BodyImportAgentSerialized.d.ts +4 -0
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/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/agents/types/CreateAgentRequestToolRulesItem.d.ts +1 -1
- package/api/resources/agents/types/UpdateAgentToolRulesItem.d.ts +1 -1
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/groups/client/Client.js +7 -7
- package/api/resources/groups/resources/messages/client/Client.js +4 -4
- package/api/resources/groups/types/GroupCreateManagerConfig.d.ts +1 -1
- package/api/resources/groups/types/GroupUpdateManagerConfig.d.ts +1 -1
- 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.d.ts +4 -2
- package/api/resources/runs/client/Client.js +35 -11
- package/api/resources/runs/client/requests/ListActiveRunsRequest.d.ts +13 -0
- package/api/resources/runs/client/requests/ListRunsRequest.d.ts +13 -0
- package/api/resources/runs/client/requests/index.d.ts +2 -0
- 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/AgentState.d.ts +2 -0
- package/api/types/AgentStateToolRulesItem.d.ts +1 -1
- package/api/types/AgentType.d.ts +2 -2
- package/api/types/AgentType.js +1 -1
- package/api/types/AppAuthSchemeAuthMode.d.ts +1 -2
- package/api/types/AppAuthSchemeAuthMode.js +0 -1
- package/api/types/AssistantMessage.d.ts +1 -0
- package/api/types/ChatCompletionAudioParamVoice.d.ts +1 -11
- package/api/types/ChatCompletionAudioParamVoice.js +0 -11
- package/api/types/Group.d.ts +1 -1
- package/api/types/HiddenReasoningMessage.d.ts +1 -0
- package/api/types/JobStatus.d.ts +3 -1
- package/api/types/JobStatus.js +2 -0
- package/api/types/ManagerType.d.ts +2 -2
- package/api/types/ManagerType.js +1 -1
- package/api/types/Message.d.ts +7 -7
- package/api/types/MessageCreate.d.ts +2 -0
- package/api/types/ParentToolRule.d.ts +13 -0
- package/api/types/ParentToolRule.js +5 -0
- package/api/types/ReasoningMessage.d.ts +1 -0
- package/api/types/{BackgroundManager.d.ts → SleeptimeManager.d.ts} +3 -3
- package/api/types/SleeptimeManager.js +5 -0
- package/api/types/SystemMessage.d.ts +1 -0
- package/api/types/ToolCallMessage.d.ts +1 -0
- package/api/types/ToolReturnMessage.d.ts +1 -0
- package/api/types/ToolType.d.ts +2 -1
- package/api/types/ToolType.js +1 -0
- package/api/types/UserMessage.d.ts +1 -0
- package/api/types/index.d.ts +2 -1
- package/api/types/index.js +2 -1
- package/dist/api/resources/agents/client/Client.js +13 -10
- package/dist/api/resources/agents/client/requests/BodyImportAgentSerialized.d.ts +4 -0
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/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/agents/types/CreateAgentRequestToolRulesItem.d.ts +1 -1
- package/dist/api/resources/agents/types/UpdateAgentToolRulesItem.d.ts +1 -1
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/groups/client/Client.js +7 -7
- package/dist/api/resources/groups/resources/messages/client/Client.js +4 -4
- package/dist/api/resources/groups/types/GroupCreateManagerConfig.d.ts +1 -1
- package/dist/api/resources/groups/types/GroupUpdateManagerConfig.d.ts +1 -1
- 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.d.ts +4 -2
- package/dist/api/resources/runs/client/Client.js +35 -11
- package/dist/api/resources/runs/client/requests/ListActiveRunsRequest.d.ts +13 -0
- package/dist/api/resources/runs/client/requests/ListActiveRunsRequest.js +5 -0
- package/dist/api/resources/runs/client/requests/ListRunsRequest.d.ts +13 -0
- package/dist/api/resources/runs/client/requests/ListRunsRequest.js +5 -0
- package/dist/api/resources/runs/client/requests/index.d.ts +2 -0
- 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/AgentState.d.ts +2 -0
- package/dist/api/types/AgentStateToolRulesItem.d.ts +1 -1
- package/dist/api/types/AgentType.d.ts +2 -2
- package/dist/api/types/AgentType.js +1 -1
- package/dist/api/types/AppAuthSchemeAuthMode.d.ts +1 -2
- package/dist/api/types/AppAuthSchemeAuthMode.js +0 -1
- package/dist/api/types/AssistantMessage.d.ts +1 -0
- package/dist/api/types/ChatCompletionAudioParamVoice.d.ts +1 -11
- package/dist/api/types/ChatCompletionAudioParamVoice.js +0 -11
- package/dist/api/types/Group.d.ts +1 -1
- package/dist/api/types/HiddenReasoningMessage.d.ts +1 -0
- package/dist/api/types/JobStatus.d.ts +3 -1
- package/dist/api/types/JobStatus.js +2 -0
- package/dist/api/types/ManagerType.d.ts +2 -2
- package/dist/api/types/ManagerType.js +1 -1
- package/dist/api/types/Message.d.ts +7 -7
- package/dist/api/types/MessageCreate.d.ts +2 -0
- package/dist/api/types/ParentToolRule.d.ts +13 -0
- package/dist/api/types/ParentToolRule.js +5 -0
- package/dist/api/types/ReasoningMessage.d.ts +1 -0
- package/dist/api/types/{BackgroundManager.d.ts → SleeptimeManager.d.ts} +3 -3
- package/dist/api/types/SleeptimeManager.js +5 -0
- package/dist/api/types/SystemMessage.d.ts +1 -0
- package/dist/api/types/ToolCallMessage.d.ts +1 -0
- package/dist/api/types/ToolReturnMessage.d.ts +1 -0
- package/dist/api/types/ToolType.d.ts +2 -1
- package/dist/api/types/ToolType.js +1 -0
- package/dist/api/types/UserMessage.d.ts +1 -0
- package/dist/api/types/index.d.ts +2 -1
- package/dist/api/types/index.js +2 -1
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +2 -1
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +2 -0
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +2 -1
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +2 -0
- package/dist/serialization/resources/groups/types/GroupCreateManagerConfig.d.ts +2 -2
- package/dist/serialization/resources/groups/types/GroupCreateManagerConfig.js +2 -2
- package/dist/serialization/resources/groups/types/GroupUpdateManagerConfig.d.ts +2 -2
- package/dist/serialization/resources/groups/types/GroupUpdateManagerConfig.js +2 -2
- package/dist/serialization/types/AgentState.d.ts +1 -0
- package/dist/serialization/types/AgentState.js +1 -0
- package/dist/serialization/types/AgentStateToolRulesItem.d.ts +2 -1
- package/dist/serialization/types/AgentStateToolRulesItem.js +2 -0
- package/dist/serialization/types/AgentType.d.ts +1 -1
- package/dist/serialization/types/AgentType.js +1 -1
- package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
- package/dist/serialization/types/AppAuthSchemeAuthMode.js +0 -1
- package/dist/serialization/types/AssistantMessage.d.ts +1 -0
- package/dist/serialization/types/AssistantMessage.js +1 -0
- package/dist/serialization/types/ChatCompletionAudioParamVoice.d.ts +1 -1
- package/dist/serialization/types/ChatCompletionAudioParamVoice.js +14 -1
- package/dist/serialization/types/Group.d.ts +1 -1
- package/dist/serialization/types/Group.js +1 -1
- package/dist/serialization/types/HiddenReasoningMessage.d.ts +1 -0
- package/dist/serialization/types/HiddenReasoningMessage.js +1 -0
- package/dist/serialization/types/JobStatus.d.ts +1 -1
- package/dist/serialization/types/JobStatus.js +1 -1
- package/dist/serialization/types/ManagerType.d.ts +1 -1
- package/dist/serialization/types/ManagerType.js +1 -1
- package/dist/serialization/types/Message.d.ts +2 -2
- package/dist/serialization/types/Message.js +2 -2
- package/dist/serialization/types/MessageCreate.d.ts +1 -0
- package/dist/serialization/types/MessageCreate.js +1 -0
- package/dist/serialization/types/ParentToolRule.d.ts +14 -0
- package/dist/serialization/types/ParentToolRule.js +45 -0
- package/dist/serialization/types/ReasoningMessage.d.ts +1 -0
- package/dist/serialization/types/ReasoningMessage.js +1 -0
- package/dist/serialization/types/SleeptimeManager.d.ts +14 -0
- package/dist/serialization/types/{BackgroundManager.js → SleeptimeManager.js} +4 -4
- package/dist/serialization/types/SystemMessage.d.ts +1 -0
- package/dist/serialization/types/SystemMessage.js +1 -0
- package/dist/serialization/types/ToolCallMessage.d.ts +1 -0
- package/dist/serialization/types/ToolCallMessage.js +1 -0
- package/dist/serialization/types/ToolReturnMessage.d.ts +1 -0
- package/dist/serialization/types/ToolReturnMessage.js +1 -0
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +1 -0
- package/dist/serialization/types/UserMessage.d.ts +1 -0
- package/dist/serialization/types/UserMessage.js +1 -0
- package/dist/serialization/types/index.d.ts +2 -1
- package/dist/serialization/types/index.js +2 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +18 -2
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +2 -1
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +2 -0
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +2 -1
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +2 -0
- package/serialization/resources/groups/types/GroupCreateManagerConfig.d.ts +2 -2
- package/serialization/resources/groups/types/GroupCreateManagerConfig.js +2 -2
- package/serialization/resources/groups/types/GroupUpdateManagerConfig.d.ts +2 -2
- package/serialization/resources/groups/types/GroupUpdateManagerConfig.js +2 -2
- package/serialization/types/AgentState.d.ts +1 -0
- package/serialization/types/AgentState.js +1 -0
- package/serialization/types/AgentStateToolRulesItem.d.ts +2 -1
- package/serialization/types/AgentStateToolRulesItem.js +2 -0
- package/serialization/types/AgentType.d.ts +1 -1
- package/serialization/types/AgentType.js +1 -1
- package/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
- package/serialization/types/AppAuthSchemeAuthMode.js +0 -1
- package/serialization/types/AssistantMessage.d.ts +1 -0
- package/serialization/types/AssistantMessage.js +1 -0
- package/serialization/types/ChatCompletionAudioParamVoice.d.ts +1 -1
- package/serialization/types/ChatCompletionAudioParamVoice.js +14 -1
- package/serialization/types/Group.d.ts +1 -1
- package/serialization/types/Group.js +1 -1
- package/serialization/types/HiddenReasoningMessage.d.ts +1 -0
- package/serialization/types/HiddenReasoningMessage.js +1 -0
- package/serialization/types/JobStatus.d.ts +1 -1
- package/serialization/types/JobStatus.js +1 -1
- package/serialization/types/ManagerType.d.ts +1 -1
- package/serialization/types/ManagerType.js +1 -1
- package/serialization/types/Message.d.ts +2 -2
- package/serialization/types/Message.js +2 -2
- package/serialization/types/MessageCreate.d.ts +1 -0
- package/serialization/types/MessageCreate.js +1 -0
- package/serialization/types/ParentToolRule.d.ts +14 -0
- package/serialization/types/ParentToolRule.js +45 -0
- package/serialization/types/ReasoningMessage.d.ts +1 -0
- package/serialization/types/ReasoningMessage.js +1 -0
- package/serialization/types/SleeptimeManager.d.ts +14 -0
- package/serialization/types/{BackgroundManager.js → SleeptimeManager.js} +4 -4
- package/serialization/types/SystemMessage.d.ts +1 -0
- package/serialization/types/SystemMessage.js +1 -0
- package/serialization/types/ToolCallMessage.d.ts +1 -0
- package/serialization/types/ToolCallMessage.js +1 -0
- package/serialization/types/ToolReturnMessage.d.ts +1 -0
- package/serialization/types/ToolReturnMessage.js +1 -0
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +1 -0
- package/serialization/types/UserMessage.d.ts +1 -0
- package/serialization/types/UserMessage.js +1 -0
- package/serialization/types/index.d.ts +2 -1
- package/serialization/types/index.js +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/types/BackgroundManager.d.ts +0 -14
- package/serialization/types/BackgroundManager.d.ts +0 -14
- /package/api/{types/BackgroundManager.js → resources/runs/client/requests/ListActiveRunsRequest.js} +0 -0
- /package/{dist/api/types/BackgroundManager.js → api/resources/runs/client/requests/ListRunsRequest.js} +0 -0
|
@@ -36,7 +36,6 @@ __exportStar(require("./Audio"), exports);
|
|
|
36
36
|
__exportStar(require("./AuthRequest"), exports);
|
|
37
37
|
__exportStar(require("./AuthResponse"), exports);
|
|
38
38
|
__exportStar(require("./AuthSchemeField"), exports);
|
|
39
|
-
__exportStar(require("./BackgroundManager"), exports);
|
|
40
39
|
__exportStar(require("./BaseToolRuleSchema"), exports);
|
|
41
40
|
__exportStar(require("./Block"), exports);
|
|
42
41
|
__exportStar(require("./BlockUpdate"), exports);
|
|
@@ -155,6 +154,7 @@ __exportStar(require("./OrganizationCreate"), exports);
|
|
|
155
154
|
__exportStar(require("./OrganizationUpdate"), exports);
|
|
156
155
|
__exportStar(require("./ParameterProperties"), exports);
|
|
157
156
|
__exportStar(require("./ParametersSchema"), exports);
|
|
157
|
+
__exportStar(require("./ParentToolRule"), exports);
|
|
158
158
|
__exportStar(require("./Passage"), exports);
|
|
159
159
|
__exportStar(require("./PipRequirement"), exports);
|
|
160
160
|
__exportStar(require("./Provider"), exports);
|
|
@@ -177,6 +177,7 @@ __exportStar(require("./SandboxEnvironmentVariable"), exports);
|
|
|
177
177
|
__exportStar(require("./SandboxEnvironmentVariableCreate"), exports);
|
|
178
178
|
__exportStar(require("./SandboxEnvironmentVariableUpdate"), exports);
|
|
179
179
|
__exportStar(require("./SandboxType"), exports);
|
|
180
|
+
__exportStar(require("./SleeptimeManager"), exports);
|
|
180
181
|
__exportStar(require("./Source"), exports);
|
|
181
182
|
__exportStar(require("./StdioServerConfig"), exports);
|
|
182
183
|
__exportStar(require("./Step"), 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.82";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3822,7 +3822,7 @@ await client.providers.modifyProvider({
|
|
|
3822
3822
|
|
|
3823
3823
|
## Runs
|
|
3824
3824
|
|
|
3825
|
-
<details><summary><code>client.runs.<a href="/src/api/resources/runs/client/Client.ts">listRuns</a>() -> Letta.Run[]</code></summary>
|
|
3825
|
+
<details><summary><code>client.runs.<a href="/src/api/resources/runs/client/Client.ts">listRuns</a>({ ...params }) -> Letta.Run[]</code></summary>
|
|
3826
3826
|
<dl>
|
|
3827
3827
|
<dd>
|
|
3828
3828
|
|
|
@@ -3866,6 +3866,14 @@ await client.runs.listRuns();
|
|
|
3866
3866
|
<dl>
|
|
3867
3867
|
<dd>
|
|
3868
3868
|
|
|
3869
|
+
**request:** `Letta.ListRunsRequest`
|
|
3870
|
+
|
|
3871
|
+
</dd>
|
|
3872
|
+
</dl>
|
|
3873
|
+
|
|
3874
|
+
<dl>
|
|
3875
|
+
<dd>
|
|
3876
|
+
|
|
3869
3877
|
**requestOptions:** `Runs.RequestOptions`
|
|
3870
3878
|
|
|
3871
3879
|
</dd>
|
|
@@ -3877,7 +3885,7 @@ await client.runs.listRuns();
|
|
|
3877
3885
|
</dl>
|
|
3878
3886
|
</details>
|
|
3879
3887
|
|
|
3880
|
-
<details><summary><code>client.runs.<a href="/src/api/resources/runs/client/Client.ts">listActiveRuns</a>() -> Letta.Run[]</code></summary>
|
|
3888
|
+
<details><summary><code>client.runs.<a href="/src/api/resources/runs/client/Client.ts">listActiveRuns</a>({ ...params }) -> Letta.Run[]</code></summary>
|
|
3881
3889
|
<dl>
|
|
3882
3890
|
<dd>
|
|
3883
3891
|
|
|
@@ -3921,6 +3929,14 @@ await client.runs.listActiveRuns();
|
|
|
3921
3929
|
<dl>
|
|
3922
3930
|
<dd>
|
|
3923
3931
|
|
|
3932
|
+
**request:** `Letta.ListActiveRunsRequest`
|
|
3933
|
+
|
|
3934
|
+
</dd>
|
|
3935
|
+
</dl>
|
|
3936
|
+
|
|
3937
|
+
<dl>
|
|
3938
|
+
<dd>
|
|
3939
|
+
|
|
3924
3940
|
**requestOptions:** `Runs.RequestOptions`
|
|
3925
3941
|
|
|
3926
3942
|
</dd>
|
|
@@ -9,8 +9,9 @@ import { ChildToolRule } from "../../../types/ChildToolRule";
|
|
|
9
9
|
import { ContinueToolRule } from "../../../types/ContinueToolRule";
|
|
10
10
|
import { TerminalToolRule } from "../../../types/TerminalToolRule";
|
|
11
11
|
import { MaxCountPerStepToolRule } from "../../../types/MaxCountPerStepToolRule";
|
|
12
|
+
import { ParentToolRule } from "../../../types/ParentToolRule";
|
|
12
13
|
import { InitToolRule } from "../../../types/InitToolRule";
|
|
13
14
|
export declare const CreateAgentRequestToolRulesItem: core.serialization.Schema<serializers.CreateAgentRequestToolRulesItem.Raw, Letta.CreateAgentRequestToolRulesItem>;
|
|
14
15
|
export declare namespace CreateAgentRequestToolRulesItem {
|
|
15
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | InitToolRule.Raw;
|
|
16
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | InitToolRule.Raw;
|
|
16
17
|
}
|
|
@@ -43,6 +43,7 @@ const ChildToolRule_1 = require("../../../types/ChildToolRule");
|
|
|
43
43
|
const ContinueToolRule_1 = require("../../../types/ContinueToolRule");
|
|
44
44
|
const TerminalToolRule_1 = require("../../../types/TerminalToolRule");
|
|
45
45
|
const MaxCountPerStepToolRule_1 = require("../../../types/MaxCountPerStepToolRule");
|
|
46
|
+
const ParentToolRule_1 = require("../../../types/ParentToolRule");
|
|
46
47
|
const InitToolRule_1 = require("../../../types/InitToolRule");
|
|
47
48
|
exports.CreateAgentRequestToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
48
49
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
@@ -50,5 +51,6 @@ exports.CreateAgentRequestToolRulesItem = core.serialization.undiscriminatedUnio
|
|
|
50
51
|
ContinueToolRule_1.ContinueToolRule,
|
|
51
52
|
TerminalToolRule_1.TerminalToolRule,
|
|
52
53
|
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
54
|
+
ParentToolRule_1.ParentToolRule,
|
|
53
55
|
InitToolRule_1.InitToolRule,
|
|
54
56
|
]);
|
|
@@ -9,8 +9,9 @@ import { ChildToolRule } from "../../../types/ChildToolRule";
|
|
|
9
9
|
import { ContinueToolRule } from "../../../types/ContinueToolRule";
|
|
10
10
|
import { TerminalToolRule } from "../../../types/TerminalToolRule";
|
|
11
11
|
import { MaxCountPerStepToolRule } from "../../../types/MaxCountPerStepToolRule";
|
|
12
|
+
import { ParentToolRule } from "../../../types/ParentToolRule";
|
|
12
13
|
import { InitToolRule } from "../../../types/InitToolRule";
|
|
13
14
|
export declare const UpdateAgentToolRulesItem: core.serialization.Schema<serializers.UpdateAgentToolRulesItem.Raw, Letta.UpdateAgentToolRulesItem>;
|
|
14
15
|
export declare namespace UpdateAgentToolRulesItem {
|
|
15
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | InitToolRule.Raw;
|
|
16
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | InitToolRule.Raw;
|
|
16
17
|
}
|
|
@@ -43,6 +43,7 @@ const ChildToolRule_1 = require("../../../types/ChildToolRule");
|
|
|
43
43
|
const ContinueToolRule_1 = require("../../../types/ContinueToolRule");
|
|
44
44
|
const TerminalToolRule_1 = require("../../../types/TerminalToolRule");
|
|
45
45
|
const MaxCountPerStepToolRule_1 = require("../../../types/MaxCountPerStepToolRule");
|
|
46
|
+
const ParentToolRule_1 = require("../../../types/ParentToolRule");
|
|
46
47
|
const InitToolRule_1 = require("../../../types/InitToolRule");
|
|
47
48
|
exports.UpdateAgentToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
48
49
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
@@ -50,5 +51,6 @@ exports.UpdateAgentToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
|
50
51
|
ContinueToolRule_1.ContinueToolRule,
|
|
51
52
|
TerminalToolRule_1.TerminalToolRule,
|
|
52
53
|
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
54
|
+
ParentToolRule_1.ParentToolRule,
|
|
53
55
|
InitToolRule_1.InitToolRule,
|
|
54
56
|
]);
|
|
@@ -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 { BackgroundManager } from "../../../types/BackgroundManager";
|
|
8
7
|
import { DynamicManager } from "../../../types/DynamicManager";
|
|
9
8
|
import { RoundRobinManager } from "../../../types/RoundRobinManager";
|
|
9
|
+
import { SleeptimeManager } from "../../../types/SleeptimeManager";
|
|
10
10
|
import { SupervisorManager } from "../../../types/SupervisorManager";
|
|
11
11
|
export declare const GroupCreateManagerConfig: core.serialization.Schema<serializers.GroupCreateManagerConfig.Raw, Letta.GroupCreateManagerConfig>;
|
|
12
12
|
export declare namespace GroupCreateManagerConfig {
|
|
13
|
-
type Raw =
|
|
13
|
+
type Raw = DynamicManager.Raw | RoundRobinManager.Raw | SleeptimeManager.Raw | SupervisorManager.Raw;
|
|
14
14
|
}
|
|
@@ -38,8 +38,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.GroupCreateManagerConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const BackgroundManager_1 = require("../../../types/BackgroundManager");
|
|
42
41
|
const DynamicManager_1 = require("../../../types/DynamicManager");
|
|
43
42
|
const RoundRobinManager_1 = require("../../../types/RoundRobinManager");
|
|
43
|
+
const SleeptimeManager_1 = require("../../../types/SleeptimeManager");
|
|
44
44
|
const SupervisorManager_1 = require("../../../types/SupervisorManager");
|
|
45
|
-
exports.GroupCreateManagerConfig = core.serialization.undiscriminatedUnion([
|
|
45
|
+
exports.GroupCreateManagerConfig = core.serialization.undiscriminatedUnion([DynamicManager_1.DynamicManager, RoundRobinManager_1.RoundRobinManager, SleeptimeManager_1.SleeptimeManager, SupervisorManager_1.SupervisorManager]);
|
|
@@ -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 { BackgroundManager } from "../../../types/BackgroundManager";
|
|
8
7
|
import { DynamicManager } from "../../../types/DynamicManager";
|
|
9
8
|
import { RoundRobinManager } from "../../../types/RoundRobinManager";
|
|
9
|
+
import { SleeptimeManager } from "../../../types/SleeptimeManager";
|
|
10
10
|
import { SupervisorManager } from "../../../types/SupervisorManager";
|
|
11
11
|
export declare const GroupUpdateManagerConfig: core.serialization.Schema<serializers.GroupUpdateManagerConfig.Raw, Letta.GroupUpdateManagerConfig>;
|
|
12
12
|
export declare namespace GroupUpdateManagerConfig {
|
|
13
|
-
type Raw =
|
|
13
|
+
type Raw = DynamicManager.Raw | RoundRobinManager.Raw | SleeptimeManager.Raw | SupervisorManager.Raw;
|
|
14
14
|
}
|
|
@@ -38,8 +38,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.GroupUpdateManagerConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const BackgroundManager_1 = require("../../../types/BackgroundManager");
|
|
42
41
|
const DynamicManager_1 = require("../../../types/DynamicManager");
|
|
43
42
|
const RoundRobinManager_1 = require("../../../types/RoundRobinManager");
|
|
43
|
+
const SleeptimeManager_1 = require("../../../types/SleeptimeManager");
|
|
44
44
|
const SupervisorManager_1 = require("../../../types/SupervisorManager");
|
|
45
|
-
exports.GroupUpdateManagerConfig = core.serialization.undiscriminatedUnion([
|
|
45
|
+
exports.GroupUpdateManagerConfig = core.serialization.undiscriminatedUnion([DynamicManager_1.DynamicManager, RoundRobinManager_1.RoundRobinManager, SleeptimeManager_1.SleeptimeManager, SupervisorManager_1.SupervisorManager]);
|
|
@@ -72,5 +72,6 @@ exports.AgentState = core.serialization.object({
|
|
|
72
72
|
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
73
73
|
identityIds: core.serialization.property("identity_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
74
74
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
75
|
+
enableSleeptime: core.serialization.property("enable_sleeptime", core.serialization.boolean().optional()),
|
|
75
76
|
multiAgentGroup: core.serialization.property("multi_agent_group", Group_1.Group.optional()),
|
|
76
77
|
});
|
|
@@ -9,8 +9,9 @@ import { ChildToolRule } from "./ChildToolRule";
|
|
|
9
9
|
import { ContinueToolRule } from "./ContinueToolRule";
|
|
10
10
|
import { TerminalToolRule } from "./TerminalToolRule";
|
|
11
11
|
import { MaxCountPerStepToolRule } from "./MaxCountPerStepToolRule";
|
|
12
|
+
import { ParentToolRule } from "./ParentToolRule";
|
|
12
13
|
import { InitToolRule } from "./InitToolRule";
|
|
13
14
|
export declare const AgentStateToolRulesItem: core.serialization.Schema<serializers.AgentStateToolRulesItem.Raw, Letta.AgentStateToolRulesItem>;
|
|
14
15
|
export declare namespace AgentStateToolRulesItem {
|
|
15
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | InitToolRule.Raw;
|
|
16
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | InitToolRule.Raw;
|
|
16
17
|
}
|
|
@@ -43,6 +43,7 @@ const ChildToolRule_1 = require("./ChildToolRule");
|
|
|
43
43
|
const ContinueToolRule_1 = require("./ContinueToolRule");
|
|
44
44
|
const TerminalToolRule_1 = require("./TerminalToolRule");
|
|
45
45
|
const MaxCountPerStepToolRule_1 = require("./MaxCountPerStepToolRule");
|
|
46
|
+
const ParentToolRule_1 = require("./ParentToolRule");
|
|
46
47
|
const InitToolRule_1 = require("./InitToolRule");
|
|
47
48
|
exports.AgentStateToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
48
49
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
@@ -50,5 +51,6 @@ exports.AgentStateToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
|
50
51
|
ContinueToolRule_1.ContinueToolRule,
|
|
51
52
|
TerminalToolRule_1.TerminalToolRule,
|
|
52
53
|
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
54
|
+
ParentToolRule_1.ParentToolRule,
|
|
53
55
|
InitToolRule_1.InitToolRule,
|
|
54
56
|
]);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AgentType: core.serialization.Schema<serializers.AgentType.Raw, Letta.AgentType>;
|
|
8
8
|
export declare namespace AgentType {
|
|
9
|
-
type Raw = "memgpt_agent" | "split_thread_agent" | "
|
|
9
|
+
type Raw = "memgpt_agent" | "split_thread_agent" | "sleeptime_agent";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AgentType = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.AgentType = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "
|
|
41
|
+
exports.AgentType = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "sleeptime_agent"]);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppAuthSchemeAuthMode: core.serialization.Schema<serializers.AppAuthSchemeAuthMode.Raw, Letta.AppAuthSchemeAuthMode>;
|
|
8
8
|
export declare namespace AppAuthSchemeAuthMode {
|
|
9
|
-
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "GOOGLE_SERVICE_ACCOUNT" | "GOOGLEADS_AUTH" | "NO_AUTH" | "
|
|
9
|
+
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "GOOGLE_SERVICE_ACCOUNT" | "GOOGLEADS_AUTH" | "NO_AUTH" | "CALCOM_AUTH";
|
|
10
10
|
}
|
|
@@ -43,6 +43,7 @@ exports.AssistantMessage = core.serialization.object({
|
|
|
43
43
|
id: core.serialization.string(),
|
|
44
44
|
date: core.serialization.date(),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
|
+
otid: core.serialization.string().optional(),
|
|
46
47
|
messageType: core.serialization.property("message_type", core.serialization.stringLiteral("assistant_message")),
|
|
47
48
|
content: AssistantMessageContent_1.AssistantMessageContent,
|
|
48
49
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ChatCompletionAudioParamVoice: core.serialization.Schema<serializers.ChatCompletionAudioParamVoice.Raw, Letta.ChatCompletionAudioParamVoice>;
|
|
8
8
|
export declare namespace ChatCompletionAudioParamVoice {
|
|
9
|
-
type Raw = "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse";
|
|
9
|
+
type Raw = string | "alloy" | "ash" | "ballad" | "coral" | "echo" | "fable" | "onyx" | "nova" | "sage" | "shimmer" | "verse";
|
|
10
10
|
}
|
|
@@ -38,4 +38,17 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ChatCompletionAudioParamVoice = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.ChatCompletionAudioParamVoice = core.serialization.
|
|
41
|
+
exports.ChatCompletionAudioParamVoice = core.serialization.undiscriminatedUnion([
|
|
42
|
+
core.serialization.string(),
|
|
43
|
+
core.serialization.stringLiteral("alloy"),
|
|
44
|
+
core.serialization.stringLiteral("ash"),
|
|
45
|
+
core.serialization.stringLiteral("ballad"),
|
|
46
|
+
core.serialization.stringLiteral("coral"),
|
|
47
|
+
core.serialization.stringLiteral("echo"),
|
|
48
|
+
core.serialization.stringLiteral("fable"),
|
|
49
|
+
core.serialization.stringLiteral("onyx"),
|
|
50
|
+
core.serialization.stringLiteral("nova"),
|
|
51
|
+
core.serialization.stringLiteral("sage"),
|
|
52
|
+
core.serialization.stringLiteral("shimmer"),
|
|
53
|
+
core.serialization.stringLiteral("verse"),
|
|
54
|
+
]);
|
|
@@ -16,7 +16,7 @@ export declare namespace Group {
|
|
|
16
16
|
manager_agent_id?: string | null;
|
|
17
17
|
termination_token?: string | null;
|
|
18
18
|
max_turns?: number | null;
|
|
19
|
-
|
|
19
|
+
sleeptime_agent_frequency?: number | null;
|
|
20
20
|
turns_counter?: number | null;
|
|
21
21
|
last_processed_message_id?: string | null;
|
|
22
22
|
}
|
|
@@ -48,7 +48,7 @@ exports.Group = core.serialization.object({
|
|
|
48
48
|
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string().optional()),
|
|
49
49
|
terminationToken: core.serialization.property("termination_token", core.serialization.string().optional()),
|
|
50
50
|
maxTurns: core.serialization.property("max_turns", core.serialization.number().optional()),
|
|
51
|
-
|
|
51
|
+
sleeptimeAgentFrequency: core.serialization.property("sleeptime_agent_frequency", core.serialization.number().optional()),
|
|
52
52
|
turnsCounter: core.serialization.property("turns_counter", core.serialization.number().optional()),
|
|
53
53
|
lastProcessedMessageId: core.serialization.property("last_processed_message_id", core.serialization.string().optional()),
|
|
54
54
|
});
|
|
@@ -43,6 +43,7 @@ exports.HiddenReasoningMessage = core.serialization.object({
|
|
|
43
43
|
id: core.serialization.string(),
|
|
44
44
|
date: core.serialization.date(),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
|
+
otid: core.serialization.string().optional(),
|
|
46
47
|
messageType: core.serialization.property("message_type", core.serialization.stringLiteral("hidden_reasoning_message")),
|
|
47
48
|
state: HiddenReasoningMessageState_1.HiddenReasoningMessageState,
|
|
48
49
|
hiddenReasoning: core.serialization.property("hidden_reasoning", core.serialization.string().optional()),
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const JobStatus: core.serialization.Schema<serializers.JobStatus.Raw, Letta.JobStatus>;
|
|
8
8
|
export declare namespace JobStatus {
|
|
9
|
-
type Raw = "created" | "running" | "completed" | "failed" | "pending";
|
|
9
|
+
type Raw = "not_started" | "created" | "running" | "completed" | "failed" | "pending" | "cancelled";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.JobStatus = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.JobStatus = core.serialization.enum_(["created", "running", "completed", "failed", "pending"]);
|
|
41
|
+
exports.JobStatus = core.serialization.enum_(["not_started", "created", "running", "completed", "failed", "pending", "cancelled"]);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ManagerType: core.serialization.Schema<serializers.ManagerType.Raw, Letta.ManagerType>;
|
|
8
8
|
export declare namespace ManagerType {
|
|
9
|
-
type Raw = "round_robin" | "supervisor" | "dynamic" | "
|
|
9
|
+
type Raw = "round_robin" | "supervisor" | "dynamic" | "sleeptime" | "swarm";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ManagerType = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.ManagerType = core.serialization.enum_(["round_robin", "supervisor", "dynamic", "
|
|
41
|
+
exports.ManagerType = core.serialization.enum_(["round_robin", "supervisor", "dynamic", "sleeptime", "swarm"]);
|
|
@@ -16,10 +16,10 @@ export declare namespace Message {
|
|
|
16
16
|
created_at?: string | null;
|
|
17
17
|
updated_at?: string | null;
|
|
18
18
|
id?: string | null;
|
|
19
|
-
role: MessageRole.Raw;
|
|
20
|
-
content?: MessageContentItem.Raw[] | null;
|
|
21
19
|
agent_id?: string | null;
|
|
22
20
|
model?: string | null;
|
|
21
|
+
role: MessageRole.Raw;
|
|
22
|
+
content?: MessageContentItem.Raw[] | null;
|
|
23
23
|
name?: string | null;
|
|
24
24
|
tool_calls?: ChatCompletionMessageToolCall.Raw[] | null;
|
|
25
25
|
tool_call_id?: string | null;
|
|
@@ -48,10 +48,10 @@ exports.Message = core.serialization.object({
|
|
|
48
48
|
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
49
49
|
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
|
50
50
|
id: core.serialization.string().optional(),
|
|
51
|
-
role: MessageRole_1.MessageRole,
|
|
52
|
-
content: core.serialization.list(MessageContentItem_1.MessageContentItem).optional(),
|
|
53
51
|
agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
|
|
54
52
|
model: core.serialization.string().optional(),
|
|
53
|
+
role: MessageRole_1.MessageRole,
|
|
54
|
+
content: core.serialization.list(MessageContentItem_1.MessageContentItem).optional(),
|
|
55
55
|
name: core.serialization.string().optional(),
|
|
56
56
|
toolCalls: core.serialization.property("tool_calls", core.serialization.list(ChatCompletionMessageToolCall_1.ChatCompletionMessageToolCall).optional()),
|
|
57
57
|
toolCallId: core.serialization.property("tool_call_id", core.serialization.string().optional()),
|
|
@@ -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 ParentToolRule: core.serialization.ObjectSchema<serializers.ParentToolRule.Raw, Letta.ParentToolRule>;
|
|
8
|
+
export declare namespace ParentToolRule {
|
|
9
|
+
interface Raw {
|
|
10
|
+
tool_name: string;
|
|
11
|
+
type: "parent_last_tool";
|
|
12
|
+
children: string[];
|
|
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.ParentToolRule = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ParentToolRule = core.serialization.object({
|
|
42
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
43
|
+
type: core.serialization.stringLiteral("parent_last_tool"),
|
|
44
|
+
children: core.serialization.list(core.serialization.string()),
|
|
45
|
+
});
|
|
@@ -43,6 +43,7 @@ exports.ReasoningMessage = core.serialization.object({
|
|
|
43
43
|
id: core.serialization.string(),
|
|
44
44
|
date: core.serialization.date(),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
|
+
otid: core.serialization.string().optional(),
|
|
46
47
|
messageType: core.serialization.property("message_type", core.serialization.stringLiteral("reasoning_message")),
|
|
47
48
|
source: ReasoningMessageSource_1.ReasoningMessageSource.optional(),
|
|
48
49
|
reasoning: core.serialization.string(),
|
|
@@ -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 SleeptimeManager: core.serialization.ObjectSchema<serializers.SleeptimeManager.Raw, Letta.SleeptimeManager>;
|
|
8
|
+
export declare namespace SleeptimeManager {
|
|
9
|
+
interface Raw {
|
|
10
|
+
manager_type: "sleeptime";
|
|
11
|
+
manager_agent_id: string;
|
|
12
|
+
sleeptime_agent_frequency?: number | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SleeptimeManager = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
managerType: core.serialization.property("manager_type", core.serialization.stringLiteral("
|
|
41
|
+
exports.SleeptimeManager = core.serialization.object({
|
|
42
|
+
managerType: core.serialization.property("manager_type", core.serialization.stringLiteral("sleeptime")),
|
|
43
43
|
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string()),
|
|
44
|
-
|
|
44
|
+
sleeptimeAgentFrequency: core.serialization.property("sleeptime_agent_frequency", core.serialization.number().optional()),
|
|
45
45
|
});
|
|
@@ -42,6 +42,7 @@ exports.SystemMessage = core.serialization.object({
|
|
|
42
42
|
id: core.serialization.string(),
|
|
43
43
|
date: core.serialization.date(),
|
|
44
44
|
name: core.serialization.string().optional(),
|
|
45
|
+
otid: core.serialization.string().optional(),
|
|
45
46
|
messageType: core.serialization.property("message_type", core.serialization.stringLiteral("system_message")),
|
|
46
47
|
content: core.serialization.string(),
|
|
47
48
|
});
|
|
@@ -43,6 +43,7 @@ exports.ToolCallMessage = core.serialization.object({
|
|
|
43
43
|
id: core.serialization.string(),
|
|
44
44
|
date: core.serialization.date(),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
|
+
otid: core.serialization.string().optional(),
|
|
46
47
|
messageType: core.serialization.property("message_type", core.serialization.stringLiteral("tool_call_message")),
|
|
47
48
|
toolCall: core.serialization.property("tool_call", ToolCallMessageToolCall_1.ToolCallMessageToolCall),
|
|
48
49
|
});
|
|
@@ -43,6 +43,7 @@ exports.ToolReturnMessage = core.serialization.object({
|
|
|
43
43
|
id: core.serialization.string(),
|
|
44
44
|
date: core.serialization.date(),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
|
+
otid: core.serialization.string().optional(),
|
|
46
47
|
messageType: core.serialization.property("message_type", core.serialization.stringLiteral("tool_return_message")),
|
|
47
48
|
toolReturn: core.serialization.property("tool_return", core.serialization.string()),
|
|
48
49
|
status: ToolReturnMessageStatus_1.ToolReturnMessageStatus,
|