@little-samo/samo-ai-sdk 0.1.0-rv1
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/LICENSE +21 -0
- package/README.md +50 -0
- package/dist/dto/entities/agents/agent.d.ts +13 -0
- package/dist/dto/entities/agents/agent.js +3 -0
- package/dist/dto/entities/agents/agent.js.map +1 -0
- package/dist/dto/entities/agents/agent.preset.d.ts +10 -0
- package/dist/dto/entities/agents/agent.preset.js +3 -0
- package/dist/dto/entities/agents/agent.preset.js.map +1 -0
- package/dist/dto/entities/agents/agent.requests.d.ts +537 -0
- package/dist/dto/entities/agents/agent.requests.js +24 -0
- package/dist/dto/entities/agents/agent.requests.js.map +1 -0
- package/dist/dto/entities/agents/index.d.ts +3 -0
- package/dist/dto/entities/agents/index.js +20 -0
- package/dist/dto/entities/agents/index.js.map +1 -0
- package/dist/dto/entities/entity.d.ts +8 -0
- package/dist/dto/entities/entity.js +3 -0
- package/dist/dto/entities/entity.js.map +1 -0
- package/dist/dto/entities/index.d.ts +3 -0
- package/dist/dto/entities/index.js +20 -0
- package/dist/dto/entities/index.js.map +1 -0
- package/dist/dto/entities/users/index.d.ts +2 -0
- package/dist/dto/entities/users/index.js +19 -0
- package/dist/dto/entities/users/index.js.map +1 -0
- package/dist/dto/entities/users/user.d.ts +16 -0
- package/dist/dto/entities/users/user.events.d.ts +14 -0
- package/dist/dto/entities/users/user.events.js +7 -0
- package/dist/dto/entities/users/user.events.js.map +1 -0
- package/dist/dto/entities/users/user.js +3 -0
- package/dist/dto/entities/users/user.js.map +1 -0
- package/dist/dto/index.d.ts +3 -0
- package/dist/dto/index.js +20 -0
- package/dist/dto/index.js.map +1 -0
- package/dist/dto/items/index.d.ts +4 -0
- package/dist/dto/items/index.js +21 -0
- package/dist/dto/items/index.js.map +1 -0
- package/dist/dto/items/item.d.ts +12 -0
- package/dist/dto/items/item.events.d.ts +19 -0
- package/dist/dto/items/item.events.js +8 -0
- package/dist/dto/items/item.events.js.map +1 -0
- package/dist/dto/items/item.js +3 -0
- package/dist/dto/items/item.js.map +1 -0
- package/dist/dto/items/item.rankings.d.ts +7 -0
- package/dist/dto/items/item.rankings.js +3 -0
- package/dist/dto/items/item.rankings.js.map +1 -0
- package/dist/dto/items/item.requests.d.ts +3 -0
- package/dist/dto/items/item.requests.js +36 -0
- package/dist/dto/items/item.requests.js.map +1 -0
- package/dist/dto/locations/index.d.ts +6 -0
- package/dist/dto/locations/index.js +23 -0
- package/dist/dto/locations/index.js.map +1 -0
- package/dist/dto/locations/location.d.ts +21 -0
- package/dist/dto/locations/location.events.d.ts +36 -0
- package/dist/dto/locations/location.events.js +11 -0
- package/dist/dto/locations/location.events.js.map +1 -0
- package/dist/dto/locations/location.js +3 -0
- package/dist/dto/locations/location.js.map +1 -0
- package/dist/dto/locations/location.messages.d.ts +13 -0
- package/dist/dto/locations/location.messages.js +3 -0
- package/dist/dto/locations/location.messages.js.map +1 -0
- package/dist/dto/locations/location.preset.d.ts +12 -0
- package/dist/dto/locations/location.preset.js +3 -0
- package/dist/dto/locations/location.preset.js.map +1 -0
- package/dist/dto/locations/location.requests.d.ts +214 -0
- package/dist/dto/locations/location.requests.js +27 -0
- package/dist/dto/locations/location.requests.js.map +1 -0
- package/dist/dto/locations/location.states.d.ts +3 -0
- package/dist/dto/locations/location.states.js +3 -0
- package/dist/dto/locations/location.states.js.map +1 -0
- package/dist/models/entities/agents/agent.config.d.ts +336 -0
- package/dist/models/entities/agents/agent.config.js +124 -0
- package/dist/models/entities/agents/agent.config.js.map +1 -0
- package/dist/models/entities/agents/agent.constants.d.ts +4 -0
- package/dist/models/entities/agents/agent.constants.js +7 -0
- package/dist/models/entities/agents/agent.constants.js.map +1 -0
- package/dist/models/entities/agents/index.d.ts +2 -0
- package/dist/models/entities/agents/index.js +19 -0
- package/dist/models/entities/agents/index.js.map +1 -0
- package/dist/models/entities/index.d.ts +1 -0
- package/dist/models/entities/index.js +18 -0
- package/dist/models/entities/index.js.map +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +19 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/locations/index.d.ts +2 -0
- package/dist/models/locations/index.js +19 -0
- package/dist/models/locations/index.js.map +1 -0
- package/dist/models/locations/location.config.d.ts +111 -0
- package/dist/models/locations/location.config.js +75 -0
- package/dist/models/locations/location.config.js.map +1 -0
- package/dist/models/locations/location.constants.d.ts +8 -0
- package/dist/models/locations/location.constants.js +11 -0
- package/dist/models/locations/location.constants.js.map +1 -0
- package/package.json +92 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Little Samo
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://media.githubusercontent.com/media/little-samo/CI/master/assets/characters/samo/profile.png" alt="Little Samo Mascot" width="250" />
|
|
3
|
+
<h1>SamoAI SDK</h1>
|
|
4
|
+
<p><em>TypeScript SDK for <a href="https://github.com/little-samo/SamoAI">@little-samo/samo-ai</a> with comprehensive DTOs and configuration models</em></p>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="#features">Features</a> •
|
|
9
|
+
<a href="#installation">Installation</a> •
|
|
10
|
+
<a href="#learn-more">Learn More</a> •
|
|
11
|
+
<a href="#license">License</a>
|
|
12
|
+
</p>
|
|
13
|
+
|
|
14
|
+
## Features
|
|
15
|
+
|
|
16
|
+
- **Type-safe DTOs** for all SamoAI entities (Agents, Users, Locations, Items)
|
|
17
|
+
- **Zod validation schemas** for runtime type checking
|
|
18
|
+
- **Configuration models** with comprehensive validation
|
|
19
|
+
- **Event system** for real-time updates
|
|
20
|
+
- **Request/Response types** for API interactions
|
|
21
|
+
- **Full TypeScript support** with strict type checking
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
Install the package using npm:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install @little-samo/samo-ai-sdk
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Or using yarn:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
yarn add @little-samo/samo-ai-sdk
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Learn More
|
|
38
|
+
|
|
39
|
+
- [SamoAI Core Library](https://github.com/little-samo/SamoAI) - The main SamoAI framework
|
|
40
|
+
- [SamoAI Example CLI](https://github.com/little-samo/SamoAI-Example-CLI) - Example implementation
|
|
41
|
+
|
|
42
|
+
## License
|
|
43
|
+
|
|
44
|
+
[MIT License](LICENSE)
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
<div align="center">
|
|
49
|
+
<p>Made with ❤️ by the SamoAI Team</p>
|
|
50
|
+
</div>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AgentId, UserId } from '@little-samo/samo-ai';
|
|
2
|
+
import { AgentConfig } from '@little-samo/samo-ai-sdk/models';
|
|
3
|
+
import { EntityDto } from '../entity';
|
|
4
|
+
export interface AgentDto extends EntityDto {
|
|
5
|
+
id: AgentId;
|
|
6
|
+
}
|
|
7
|
+
export interface AgentPrivateDto {
|
|
8
|
+
id: AgentId;
|
|
9
|
+
name: string;
|
|
10
|
+
username: string | null;
|
|
11
|
+
ownerUserId: UserId;
|
|
12
|
+
config: AgentConfig;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../../../../src/dto/entities/agents/agent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AgentConfig } from '@little-samo/samo-ai-sdk/models';
|
|
2
|
+
export interface AgentPresetDto {
|
|
3
|
+
id: bigint;
|
|
4
|
+
presetName: string;
|
|
5
|
+
presetShortDescription: string;
|
|
6
|
+
presetDescription: string;
|
|
7
|
+
config: AgentConfig;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent.preset.js","sourceRoot":"","sources":["../../../../src/dto/entities/agents/agent.preset.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,537 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { AgentPrivateDto } from './agent';
|
|
3
|
+
import { AgentPresetDto } from './agent.preset';
|
|
4
|
+
export declare const AgentsPaginationQuerySchema: z.ZodObject<{
|
|
5
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
page: number;
|
|
9
|
+
limit: number;
|
|
10
|
+
}, {
|
|
11
|
+
page?: number | undefined;
|
|
12
|
+
limit?: number | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
|
|
15
|
+
export interface AgentsPaginatedResponseDto {
|
|
16
|
+
data: AgentPrivateDto[];
|
|
17
|
+
meta: {
|
|
18
|
+
total: number;
|
|
19
|
+
page: number;
|
|
20
|
+
limit: number;
|
|
21
|
+
totalPages: number;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
25
|
+
agentId: z.ZodBigInt;
|
|
26
|
+
config: z.ZodObject<{
|
|
27
|
+
name: z.ZodOptional<z.ZodString>;
|
|
28
|
+
avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString]>>;
|
|
29
|
+
appearance: z.ZodOptional<z.ZodString>;
|
|
30
|
+
core: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">]>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
34
|
+
}, {
|
|
35
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
36
|
+
}>>;
|
|
37
|
+
llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"anthropic-low">, z.ZodLiteral<"anthropic-medium">, z.ZodLiteral<"anthropic-high">, z.ZodLiteral<"deepseek-low">, z.ZodLiteral<"deepseek-medium">]>>;
|
|
38
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
39
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
40
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
41
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"explore_web">, z.ZodLiteral<"todo">]>, "many">>;
|
|
42
|
+
character: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
43
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
46
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
47
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
48
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
49
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
51
|
+
role: z.ZodOptional<z.ZodString>;
|
|
52
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
53
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
54
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
55
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
56
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
58
|
+
role: z.ZodOptional<z.ZodString>;
|
|
59
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
60
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
61
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
62
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
63
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
65
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
67
|
+
style: z.ZodOptional<z.ZodString>;
|
|
68
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
70
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
71
|
+
style: z.ZodOptional<z.ZodString>;
|
|
72
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
74
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
75
|
+
style: z.ZodOptional<z.ZodString>;
|
|
76
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
78
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
80
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
81
|
+
values: z.ZodOptional<z.ZodString>;
|
|
82
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
83
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
84
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
85
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
86
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
87
|
+
values: z.ZodOptional<z.ZodString>;
|
|
88
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
89
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
90
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
91
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
92
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
93
|
+
values: z.ZodOptional<z.ZodString>;
|
|
94
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
95
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
97
|
+
}, "strip", z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, z.objectOutputType<{
|
|
98
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
role: z.ZodOptional<z.ZodString>;
|
|
100
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
101
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
102
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
103
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
104
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
105
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
106
|
+
role: z.ZodOptional<z.ZodString>;
|
|
107
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
108
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
109
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
110
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
111
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
112
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
113
|
+
role: z.ZodOptional<z.ZodString>;
|
|
114
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
115
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
116
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
117
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
118
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
120
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
122
|
+
style: z.ZodOptional<z.ZodString>;
|
|
123
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
124
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
125
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
126
|
+
style: z.ZodOptional<z.ZodString>;
|
|
127
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
129
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
130
|
+
style: z.ZodOptional<z.ZodString>;
|
|
131
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
132
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
133
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
135
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
136
|
+
values: z.ZodOptional<z.ZodString>;
|
|
137
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
138
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
140
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
141
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
142
|
+
values: z.ZodOptional<z.ZodString>;
|
|
143
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
144
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
146
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
147
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
148
|
+
values: z.ZodOptional<z.ZodString>;
|
|
149
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
150
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
152
|
+
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip">, z.objectInputType<{
|
|
153
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
154
|
+
role: z.ZodOptional<z.ZodString>;
|
|
155
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
156
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
157
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
158
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
159
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
161
|
+
role: z.ZodOptional<z.ZodString>;
|
|
162
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
163
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
164
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
165
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
166
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
168
|
+
role: z.ZodOptional<z.ZodString>;
|
|
169
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
170
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
171
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
172
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
173
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
174
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
175
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
177
|
+
style: z.ZodOptional<z.ZodString>;
|
|
178
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
180
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
181
|
+
style: z.ZodOptional<z.ZodString>;
|
|
182
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
184
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
185
|
+
style: z.ZodOptional<z.ZodString>;
|
|
186
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
187
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
188
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
189
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
190
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
191
|
+
values: z.ZodOptional<z.ZodString>;
|
|
192
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
193
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
194
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
195
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
196
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
197
|
+
values: z.ZodOptional<z.ZodString>;
|
|
198
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
199
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
200
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
201
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
202
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
203
|
+
values: z.ZodOptional<z.ZodString>;
|
|
204
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
205
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
206
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
207
|
+
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip">>>>;
|
|
208
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
name?: string | undefined;
|
|
211
|
+
avatar?: string | undefined;
|
|
212
|
+
appearance?: string | undefined;
|
|
213
|
+
core?: {
|
|
214
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
215
|
+
} | undefined;
|
|
216
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
|
|
217
|
+
languages?: string[] | undefined;
|
|
218
|
+
timeZone?: string | undefined;
|
|
219
|
+
greeting?: string | undefined;
|
|
220
|
+
actions?: ("explore_web" | "todo")[] | undefined;
|
|
221
|
+
character?: z.objectOutputType<{
|
|
222
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
role: z.ZodOptional<z.ZodString>;
|
|
224
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
225
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
226
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
227
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
228
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
229
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
230
|
+
role: z.ZodOptional<z.ZodString>;
|
|
231
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
232
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
233
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
234
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
235
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
236
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
237
|
+
role: z.ZodOptional<z.ZodString>;
|
|
238
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
239
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
240
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
241
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
242
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
244
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
246
|
+
style: z.ZodOptional<z.ZodString>;
|
|
247
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
249
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
250
|
+
style: z.ZodOptional<z.ZodString>;
|
|
251
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
252
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
253
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
254
|
+
style: z.ZodOptional<z.ZodString>;
|
|
255
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
256
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
257
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
258
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
259
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
260
|
+
values: z.ZodOptional<z.ZodString>;
|
|
261
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
262
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
263
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
264
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
265
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
266
|
+
values: z.ZodOptional<z.ZodString>;
|
|
267
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
268
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
269
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
270
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
271
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
272
|
+
values: z.ZodOptional<z.ZodString>;
|
|
273
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
274
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
275
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
276
|
+
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
|
|
277
|
+
rules?: string[] | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
name?: string | undefined;
|
|
280
|
+
avatar?: string | undefined;
|
|
281
|
+
appearance?: string | undefined;
|
|
282
|
+
core?: {
|
|
283
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
284
|
+
} | undefined;
|
|
285
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
|
|
286
|
+
languages?: string[] | undefined;
|
|
287
|
+
timeZone?: string | undefined;
|
|
288
|
+
greeting?: string | undefined;
|
|
289
|
+
actions?: ("explore_web" | "todo")[] | undefined;
|
|
290
|
+
character?: z.objectInputType<{
|
|
291
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
292
|
+
role: z.ZodOptional<z.ZodString>;
|
|
293
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
294
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
295
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
296
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
297
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
298
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
299
|
+
role: z.ZodOptional<z.ZodString>;
|
|
300
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
301
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
302
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
303
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
304
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
305
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
306
|
+
role: z.ZodOptional<z.ZodString>;
|
|
307
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
308
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
309
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
310
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
311
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
313
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
315
|
+
style: z.ZodOptional<z.ZodString>;
|
|
316
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
317
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
318
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
319
|
+
style: z.ZodOptional<z.ZodString>;
|
|
320
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
321
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
322
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
323
|
+
style: z.ZodOptional<z.ZodString>;
|
|
324
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
326
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
328
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
329
|
+
values: z.ZodOptional<z.ZodString>;
|
|
330
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
331
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
332
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
333
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
334
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
335
|
+
values: z.ZodOptional<z.ZodString>;
|
|
336
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
337
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
338
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
339
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
340
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
341
|
+
values: z.ZodOptional<z.ZodString>;
|
|
342
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
343
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
344
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
345
|
+
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
|
|
346
|
+
rules?: string[] | undefined;
|
|
347
|
+
}>;
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
agentId: bigint;
|
|
350
|
+
config: {
|
|
351
|
+
name?: string | undefined;
|
|
352
|
+
avatar?: string | undefined;
|
|
353
|
+
appearance?: string | undefined;
|
|
354
|
+
core?: {
|
|
355
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
356
|
+
} | undefined;
|
|
357
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
|
|
358
|
+
languages?: string[] | undefined;
|
|
359
|
+
timeZone?: string | undefined;
|
|
360
|
+
greeting?: string | undefined;
|
|
361
|
+
actions?: ("explore_web" | "todo")[] | undefined;
|
|
362
|
+
character?: z.objectOutputType<{
|
|
363
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
364
|
+
role: z.ZodOptional<z.ZodString>;
|
|
365
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
366
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
367
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
368
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
369
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
371
|
+
role: z.ZodOptional<z.ZodString>;
|
|
372
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
373
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
374
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
375
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
376
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
378
|
+
role: z.ZodOptional<z.ZodString>;
|
|
379
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
380
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
381
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
382
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
383
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
384
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
385
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
386
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
387
|
+
style: z.ZodOptional<z.ZodString>;
|
|
388
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
389
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
390
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
391
|
+
style: z.ZodOptional<z.ZodString>;
|
|
392
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
393
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
394
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
395
|
+
style: z.ZodOptional<z.ZodString>;
|
|
396
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
397
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
398
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
399
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
400
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
401
|
+
values: z.ZodOptional<z.ZodString>;
|
|
402
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
403
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
404
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
405
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
406
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
407
|
+
values: z.ZodOptional<z.ZodString>;
|
|
408
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
409
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
410
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
411
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
412
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
413
|
+
values: z.ZodOptional<z.ZodString>;
|
|
414
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
415
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
416
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
417
|
+
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
|
|
418
|
+
rules?: string[] | undefined;
|
|
419
|
+
};
|
|
420
|
+
}, {
|
|
421
|
+
agentId: bigint;
|
|
422
|
+
config: {
|
|
423
|
+
name?: string | undefined;
|
|
424
|
+
avatar?: string | undefined;
|
|
425
|
+
appearance?: string | undefined;
|
|
426
|
+
core?: {
|
|
427
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
428
|
+
} | undefined;
|
|
429
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
|
|
430
|
+
languages?: string[] | undefined;
|
|
431
|
+
timeZone?: string | undefined;
|
|
432
|
+
greeting?: string | undefined;
|
|
433
|
+
actions?: ("explore_web" | "todo")[] | undefined;
|
|
434
|
+
character?: z.objectInputType<{
|
|
435
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
436
|
+
role: z.ZodOptional<z.ZodString>;
|
|
437
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
438
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
439
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
440
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
441
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
442
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
443
|
+
role: z.ZodOptional<z.ZodString>;
|
|
444
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
445
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
446
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
447
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
448
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
449
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
450
|
+
role: z.ZodOptional<z.ZodString>;
|
|
451
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
452
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
453
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
454
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
455
|
+
occupation: z.ZodOptional<z.ZodString>;
|
|
456
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
457
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
458
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
459
|
+
style: z.ZodOptional<z.ZodString>;
|
|
460
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
461
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
462
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
463
|
+
style: z.ZodOptional<z.ZodString>;
|
|
464
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
465
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
466
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
467
|
+
style: z.ZodOptional<z.ZodString>;
|
|
468
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
469
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
470
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
471
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
472
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
473
|
+
values: z.ZodOptional<z.ZodString>;
|
|
474
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
475
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
476
|
+
}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{
|
|
477
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
478
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
479
|
+
values: z.ZodOptional<z.ZodString>;
|
|
480
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
481
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
482
|
+
}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{
|
|
483
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
484
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
485
|
+
values: z.ZodOptional<z.ZodString>;
|
|
486
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
487
|
+
mbti: z.ZodOptional<z.ZodString>;
|
|
488
|
+
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
489
|
+
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
|
|
490
|
+
rules?: string[] | undefined;
|
|
491
|
+
};
|
|
492
|
+
}>;
|
|
493
|
+
export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
|
|
494
|
+
export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
|
|
495
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
496
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
497
|
+
}, "strip", z.ZodTypeAny, {
|
|
498
|
+
page: number;
|
|
499
|
+
limit: number;
|
|
500
|
+
}, {
|
|
501
|
+
page?: number | undefined;
|
|
502
|
+
limit?: number | undefined;
|
|
503
|
+
}>;
|
|
504
|
+
export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
|
|
505
|
+
export interface AgentPresetsPaginatedResponseDto {
|
|
506
|
+
data: AgentPresetDto[];
|
|
507
|
+
meta: {
|
|
508
|
+
total: number;
|
|
509
|
+
page: number;
|
|
510
|
+
limit: number;
|
|
511
|
+
totalPages: number;
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
export declare const CreateAgentFromPresetSchema: z.ZodObject<{
|
|
515
|
+
presetId: z.ZodBigInt;
|
|
516
|
+
}, "strip", z.ZodTypeAny, {
|
|
517
|
+
presetId: bigint;
|
|
518
|
+
}, {
|
|
519
|
+
presetId: bigint;
|
|
520
|
+
}>;
|
|
521
|
+
export type CreateAgentFromPresetDto = z.infer<typeof CreateAgentFromPresetSchema>;
|
|
522
|
+
export interface CreateAgentFromPresetResponseDto {
|
|
523
|
+
agent: AgentPrivateDto;
|
|
524
|
+
}
|
|
525
|
+
export declare const GetHelperAgentSchema: z.ZodObject<{
|
|
526
|
+
helperType: z.ZodNativeEnum<{
|
|
527
|
+
readonly SAMO: "SAMO";
|
|
528
|
+
}>;
|
|
529
|
+
}, "strip", z.ZodTypeAny, {
|
|
530
|
+
helperType: "SAMO";
|
|
531
|
+
}, {
|
|
532
|
+
helperType: "SAMO";
|
|
533
|
+
}>;
|
|
534
|
+
export type GetHelperAgentDto = z.infer<typeof GetHelperAgentSchema>;
|
|
535
|
+
export interface GetHelperAgentResponseDto {
|
|
536
|
+
agent: AgentPrivateDto;
|
|
537
|
+
}
|