@letta-ai/letta-client 0.1.109 → 0.1.111
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 +9 -9
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +6 -6
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +5 -5
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/embeddings/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +5 -5
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/models/client/Client.d.ts +4 -1
- package/api/resources/models/client/Client.js +28 -7
- package/api/resources/models/client/index.d.ts +1 -1
- package/api/resources/models/client/index.js +15 -0
- package/api/resources/models/client/requests/ModelsListRequest.d.ts +10 -0
- package/api/resources/models/client/requests/index.d.ts +1 -0
- package/api/resources/models/client/requests/index.js +2 -0
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.d.ts +1 -0
- package/api/resources/providers/client/Client.js +12 -5
- package/api/resources/providers/client/requests/ProviderCreate.d.ts +4 -0
- package/api/resources/providers/client/requests/ProvidersListRequest.d.ts +3 -0
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +7 -7
- 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.d.ts +3 -10
- package/api/resources/steps/client/Client.js +8 -51
- package/api/resources/steps/client/requests/{ListStepsRequest.d.ts → StepsListRequest.d.ts} +1 -1
- package/api/resources/steps/client/requests/index.d.ts +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +17 -17
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/Group.d.ts +4 -0
- package/api/types/LlmConfig.d.ts +2 -0
- package/api/types/Provider.d.ts +5 -0
- package/api/types/ProviderType.d.ts +21 -0
- package/api/types/ProviderType.js +23 -0
- package/api/types/VoiceSleeptimeManager.d.ts +4 -0
- package/api/types/VoiceSleeptimeManagerUpdate.d.ts +4 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/agents/client/Client.js +9 -9
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +6 -6
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/embeddings/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +5 -5
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.d.ts +4 -1
- package/dist/api/resources/models/client/Client.js +28 -7
- package/dist/api/resources/models/client/index.d.ts +1 -1
- package/dist/api/resources/models/client/index.js +15 -0
- package/dist/api/resources/models/client/requests/ModelsListRequest.d.ts +10 -0
- package/dist/api/resources/models/client/requests/ModelsListRequest.js +5 -0
- package/dist/api/resources/models/client/requests/index.d.ts +1 -0
- package/dist/api/resources/models/client/requests/index.js +2 -0
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.d.ts +1 -0
- package/dist/api/resources/providers/client/Client.js +12 -5
- package/dist/api/resources/providers/client/requests/ProviderCreate.d.ts +4 -0
- package/dist/api/resources/providers/client/requests/ProvidersListRequest.d.ts +3 -0
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +7 -7
- 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.d.ts +3 -10
- package/dist/api/resources/steps/client/Client.js +8 -51
- package/dist/api/resources/steps/client/requests/{ListStepsRequest.d.ts → StepsListRequest.d.ts} +1 -1
- package/dist/api/resources/steps/client/requests/StepsListRequest.js +5 -0
- package/dist/api/resources/steps/client/requests/index.d.ts +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +17 -17
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/Group.d.ts +4 -0
- package/dist/api/types/LlmConfig.d.ts +2 -0
- package/dist/api/types/Provider.d.ts +5 -0
- package/dist/api/types/ProviderType.d.ts +21 -0
- package/dist/api/types/ProviderType.js +23 -0
- package/dist/api/types/VoiceSleeptimeManager.d.ts +4 -0
- package/dist/api/types/VoiceSleeptimeManagerUpdate.d.ts +4 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
- package/dist/serialization/resources/steps/client/index.d.ts +1 -1
- package/dist/serialization/resources/steps/client/index.js +2 -2
- package/dist/serialization/resources/steps/client/{listSteps.d.ts → list.d.ts} +1 -1
- package/dist/serialization/types/Group.d.ts +2 -0
- package/dist/serialization/types/Group.js +2 -0
- package/dist/serialization/types/LlmConfig.d.ts +1 -0
- package/dist/serialization/types/LlmConfig.js +1 -0
- package/dist/serialization/types/Provider.d.ts +3 -0
- package/dist/serialization/types/Provider.js +3 -0
- package/dist/serialization/types/ProviderType.d.ts +10 -0
- package/dist/serialization/types/ProviderType.js +57 -0
- package/dist/serialization/types/VoiceSleeptimeManager.d.ts +2 -0
- package/dist/serialization/types/VoiceSleeptimeManager.js +2 -0
- package/dist/serialization/types/VoiceSleeptimeManagerUpdate.d.ts +2 -0
- package/dist/serialization/types/VoiceSleeptimeManagerUpdate.js +2 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +13 -44
- package/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
- package/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
- package/serialization/resources/steps/client/index.d.ts +1 -1
- package/serialization/resources/steps/client/index.js +2 -2
- package/serialization/resources/steps/client/{listSteps.d.ts → list.d.ts} +1 -1
- package/serialization/types/Group.d.ts +2 -0
- package/serialization/types/Group.js +2 -0
- package/serialization/types/LlmConfig.d.ts +1 -0
- package/serialization/types/LlmConfig.js +1 -0
- package/serialization/types/Provider.d.ts +3 -0
- package/serialization/types/Provider.js +3 -0
- package/serialization/types/ProviderType.d.ts +10 -0
- package/serialization/types/ProviderType.js +57 -0
- package/serialization/types/VoiceSleeptimeManager.d.ts +2 -0
- package/serialization/types/VoiceSleeptimeManager.js +2 -0
- package/serialization/types/VoiceSleeptimeManagerUpdate.d.ts +2 -0
- package/serialization/types/VoiceSleeptimeManagerUpdate.js +2 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/{steps/client/requests/ListStepsRequest.js → models/client/requests/ModelsListRequest.js} +0 -0
- /package/{dist/api/resources/steps/client/requests/ListStepsRequest.js → api/resources/steps/client/requests/StepsListRequest.js} +0 -0
- /package/dist/serialization/resources/steps/client/{listSteps.js → list.js} +0 -0
- /package/serialization/resources/steps/client/{listSteps.js → list.js} +0 -0
package/reference.md
CHANGED
|
@@ -2834,7 +2834,7 @@ await client.identities.modify("identity_id");
|
|
|
2834
2834
|
|
|
2835
2835
|
## Models
|
|
2836
2836
|
|
|
2837
|
-
<details><summary><code>client.models.<a href="/src/api/resources/models/client/Client.ts">list</a>() -> Letta.LlmConfig[]</code></summary>
|
|
2837
|
+
<details><summary><code>client.models.<a href="/src/api/resources/models/client/Client.ts">list</a>({ ...params }) -> Letta.LlmConfig[]</code></summary>
|
|
2838
2838
|
<dl>
|
|
2839
2839
|
<dd>
|
|
2840
2840
|
|
|
@@ -2863,6 +2863,14 @@ await client.models.list();
|
|
|
2863
2863
|
<dl>
|
|
2864
2864
|
<dd>
|
|
2865
2865
|
|
|
2866
|
+
**request:** `Letta.ModelsListRequest`
|
|
2867
|
+
|
|
2868
|
+
</dd>
|
|
2869
|
+
</dl>
|
|
2870
|
+
|
|
2871
|
+
<dl>
|
|
2872
|
+
<dd>
|
|
2873
|
+
|
|
2866
2874
|
**requestOptions:** `Models.RequestOptions`
|
|
2867
2875
|
|
|
2868
2876
|
</dd>
|
|
@@ -3552,6 +3560,7 @@ Create a new custom provider
|
|
|
3552
3560
|
```typescript
|
|
3553
3561
|
await client.providers.create({
|
|
3554
3562
|
name: "name",
|
|
3563
|
+
providerType: "anthropic",
|
|
3555
3564
|
apiKey: "api_key",
|
|
3556
3565
|
});
|
|
3557
3566
|
```
|
|
@@ -3980,7 +3989,7 @@ await client.runs.delete("run_id");
|
|
|
3980
3989
|
|
|
3981
3990
|
## Steps
|
|
3982
3991
|
|
|
3983
|
-
<details><summary><code>client.steps.<a href="/src/api/resources/steps/client/Client.ts">
|
|
3992
|
+
<details><summary><code>client.steps.<a href="/src/api/resources/steps/client/Client.ts">list</a>({ ...params }) -> Letta.Step[]</code></summary>
|
|
3984
3993
|
<dl>
|
|
3985
3994
|
<dd>
|
|
3986
3995
|
|
|
@@ -4009,7 +4018,7 @@ Dates should be provided in ISO 8601 format (e.g. 2025-01-29T15:01:19-08:00)
|
|
|
4009
4018
|
<dd>
|
|
4010
4019
|
|
|
4011
4020
|
```typescript
|
|
4012
|
-
await client.steps.
|
|
4021
|
+
await client.steps.list();
|
|
4013
4022
|
```
|
|
4014
4023
|
|
|
4015
4024
|
</dd>
|
|
@@ -4025,7 +4034,7 @@ await client.steps.listSteps();
|
|
|
4025
4034
|
<dl>
|
|
4026
4035
|
<dd>
|
|
4027
4036
|
|
|
4028
|
-
**request:** `Letta.
|
|
4037
|
+
**request:** `Letta.StepsListRequest`
|
|
4029
4038
|
|
|
4030
4039
|
</dd>
|
|
4031
4040
|
</dl>
|
|
@@ -4107,46 +4116,6 @@ await client.steps.retrieve("step_id");
|
|
|
4107
4116
|
</dl>
|
|
4108
4117
|
</details>
|
|
4109
4118
|
|
|
4110
|
-
<details><summary><code>client.steps.<a href="/src/api/resources/steps/client/Client.ts">list</a>() -> void</code></summary>
|
|
4111
|
-
<dl>
|
|
4112
|
-
<dd>
|
|
4113
|
-
|
|
4114
|
-
#### 🔌 Usage
|
|
4115
|
-
|
|
4116
|
-
<dl>
|
|
4117
|
-
<dd>
|
|
4118
|
-
|
|
4119
|
-
<dl>
|
|
4120
|
-
<dd>
|
|
4121
|
-
|
|
4122
|
-
```typescript
|
|
4123
|
-
await client.steps.list();
|
|
4124
|
-
```
|
|
4125
|
-
|
|
4126
|
-
</dd>
|
|
4127
|
-
</dl>
|
|
4128
|
-
</dd>
|
|
4129
|
-
</dl>
|
|
4130
|
-
|
|
4131
|
-
#### ⚙️ Parameters
|
|
4132
|
-
|
|
4133
|
-
<dl>
|
|
4134
|
-
<dd>
|
|
4135
|
-
|
|
4136
|
-
<dl>
|
|
4137
|
-
<dd>
|
|
4138
|
-
|
|
4139
|
-
**requestOptions:** `Steps.RequestOptions`
|
|
4140
|
-
|
|
4141
|
-
</dd>
|
|
4142
|
-
</dl>
|
|
4143
|
-
</dd>
|
|
4144
|
-
</dl>
|
|
4145
|
-
|
|
4146
|
-
</dd>
|
|
4147
|
-
</dl>
|
|
4148
|
-
</details>
|
|
4149
|
-
|
|
4150
4119
|
## Tags
|
|
4151
4120
|
|
|
4152
4121
|
<details><summary><code>client.tags.<a href="/src/api/resources/tags/client/Client.ts">list</a>({ ...params }) -> string[]</code></summary>
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../../index";
|
|
5
5
|
import * as Letta from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
|
+
import { ProviderType } from "../../../../types/ProviderType";
|
|
7
8
|
export declare const ProviderCreate: core.serialization.Schema<serializers.ProviderCreate.Raw, Letta.ProviderCreate>;
|
|
8
9
|
export declare namespace ProviderCreate {
|
|
9
10
|
interface Raw {
|
|
10
11
|
name: string;
|
|
12
|
+
provider_type: ProviderType.Raw;
|
|
11
13
|
api_key: string;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -38,7 +38,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ProviderCreate = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
const ProviderType_1 = require("../../../../types/ProviderType");
|
|
41
42
|
exports.ProviderCreate = core.serialization.object({
|
|
42
43
|
name: core.serialization.string(),
|
|
44
|
+
providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
|
|
43
45
|
apiKey: core.serialization.property("api_key", core.serialization.string()),
|
|
44
46
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as list from "./list";
|
|
@@ -33,5 +33,5 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
36
|
+
exports.list = void 0;
|
|
37
|
+
exports.list = __importStar(require("./list"));
|
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { Step } from "../../../types/Step";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.steps.
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.steps.list.Response.Raw, Letta.Step[]>;
|
|
9
9
|
export declare namespace Response {
|
|
10
10
|
type Raw = Step.Raw[];
|
|
11
11
|
}
|
|
@@ -51,4 +51,6 @@ exports.Group = core.serialization.object({
|
|
|
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
|
+
maxMessageBufferLength: core.serialization.property("max_message_buffer_length", core.serialization.number().optional()),
|
|
55
|
+
minMessageBufferLength: core.serialization.property("min_message_buffer_length", core.serialization.number().optional()),
|
|
54
56
|
});
|
|
@@ -12,6 +12,7 @@ export declare namespace LlmConfig {
|
|
|
12
12
|
model: string;
|
|
13
13
|
model_endpoint_type: LlmConfigModelEndpointType.Raw;
|
|
14
14
|
model_endpoint?: string | null;
|
|
15
|
+
provider_name?: string | null;
|
|
15
16
|
model_wrapper?: string | null;
|
|
16
17
|
context_window: number;
|
|
17
18
|
put_inner_thoughts_in_kwargs?: boolean | null;
|
|
@@ -44,6 +44,7 @@ exports.LlmConfig = core.serialization.object({
|
|
|
44
44
|
model: core.serialization.string(),
|
|
45
45
|
modelEndpointType: core.serialization.property("model_endpoint_type", LlmConfigModelEndpointType_1.LlmConfigModelEndpointType),
|
|
46
46
|
modelEndpoint: core.serialization.property("model_endpoint", core.serialization.string().optional()),
|
|
47
|
+
providerName: core.serialization.property("provider_name", core.serialization.string().optional()),
|
|
47
48
|
modelWrapper: core.serialization.property("model_wrapper", core.serialization.string().optional()),
|
|
48
49
|
contextWindow: core.serialization.property("context_window", core.serialization.number()),
|
|
49
50
|
putInnerThoughtsInKwargs: core.serialization.property("put_inner_thoughts_in_kwargs", core.serialization.boolean().optional()),
|
|
@@ -4,12 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Letta from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { ProviderType } from "./ProviderType";
|
|
7
8
|
export declare const Provider: core.serialization.ObjectSchema<serializers.Provider.Raw, Letta.Provider>;
|
|
8
9
|
export declare namespace Provider {
|
|
9
10
|
interface Raw {
|
|
10
11
|
id?: string | null;
|
|
11
12
|
name: string;
|
|
13
|
+
provider_type: ProviderType.Raw;
|
|
12
14
|
api_key?: string | null;
|
|
15
|
+
base_url?: string | null;
|
|
13
16
|
updated_at?: string | null;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
@@ -38,9 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Provider = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const ProviderType_1 = require("./ProviderType");
|
|
41
42
|
exports.Provider = core.serialization.object({
|
|
42
43
|
id: core.serialization.string().optional(),
|
|
43
44
|
name: core.serialization.string(),
|
|
45
|
+
providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
|
|
44
46
|
apiKey: core.serialization.property("api_key", core.serialization.string().optional()),
|
|
47
|
+
baseUrl: core.serialization.property("base_url", core.serialization.string().optional()),
|
|
45
48
|
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
|
46
49
|
});
|
|
@@ -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 ProviderType: core.serialization.Schema<serializers.ProviderType.Raw, Letta.ProviderType>;
|
|
8
|
+
export declare namespace ProviderType {
|
|
9
|
+
type Raw = "anthropic" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
|
|
10
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.ProviderType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ProviderType = core.serialization.enum_([
|
|
42
|
+
"anthropic",
|
|
43
|
+
"google_ai",
|
|
44
|
+
"google_vertex",
|
|
45
|
+
"openai",
|
|
46
|
+
"letta",
|
|
47
|
+
"deepseek",
|
|
48
|
+
"lmstudio_openai",
|
|
49
|
+
"xai",
|
|
50
|
+
"mistral",
|
|
51
|
+
"ollama",
|
|
52
|
+
"groq",
|
|
53
|
+
"together",
|
|
54
|
+
"azure",
|
|
55
|
+
"vllm",
|
|
56
|
+
"bedrock",
|
|
57
|
+
]);
|
|
@@ -41,4 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.VoiceSleeptimeManager = core.serialization.object({
|
|
42
42
|
managerType: core.serialization.property("manager_type", core.serialization.stringLiteral("voice_sleeptime")),
|
|
43
43
|
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string()),
|
|
44
|
+
maxMessageBufferLength: core.serialization.property("max_message_buffer_length", core.serialization.number().optional()),
|
|
45
|
+
minMessageBufferLength: core.serialization.property("min_message_buffer_length", core.serialization.number().optional()),
|
|
44
46
|
});
|
|
@@ -41,4 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.VoiceSleeptimeManagerUpdate = core.serialization.object({
|
|
42
42
|
managerType: core.serialization.property("manager_type", core.serialization.stringLiteral("voice_sleeptime")),
|
|
43
43
|
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string().optional()),
|
|
44
|
+
maxMessageBufferLength: core.serialization.property("max_message_buffer_length", core.serialization.number().optional()),
|
|
45
|
+
minMessageBufferLength: core.serialization.property("min_message_buffer_length", core.serialization.number().optional()),
|
|
44
46
|
});
|
|
@@ -149,6 +149,7 @@ export * from "./ParentToolRule";
|
|
|
149
149
|
export * from "./Passage";
|
|
150
150
|
export * from "./PipRequirement";
|
|
151
151
|
export * from "./Provider";
|
|
152
|
+
export * from "./ProviderType";
|
|
152
153
|
export * from "./ReasoningContent";
|
|
153
154
|
export * from "./ReasoningMessageSource";
|
|
154
155
|
export * from "./ReasoningMessage";
|
|
@@ -165,6 +165,7 @@ __exportStar(require("./ParentToolRule"), exports);
|
|
|
165
165
|
__exportStar(require("./Passage"), exports);
|
|
166
166
|
__exportStar(require("./PipRequirement"), exports);
|
|
167
167
|
__exportStar(require("./Provider"), exports);
|
|
168
|
+
__exportStar(require("./ProviderType"), exports);
|
|
168
169
|
__exportStar(require("./ReasoningContent"), exports);
|
|
169
170
|
__exportStar(require("./ReasoningMessageSource"), exports);
|
|
170
171
|
__exportStar(require("./ReasoningMessage"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.111";
|
package/version.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|