@little-samo/samo-ai-sdk 0.1.3 → 0.1.4
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/dist/dto/entities/agents/agent.d.ts +8 -0
- package/dist/dto/entities/agents/agent.requests.d.ts +131 -10
- package/dist/dto/entities/agents/agent.requests.js +38 -1
- package/dist/dto/entities/agents/agent.requests.js.map +1 -1
- package/dist/dto/entities/gimmicks/gimmick.d.ts +5 -0
- package/dist/dto/entities/gimmicks/gimmick.js +3 -0
- package/dist/dto/entities/gimmicks/gimmick.js.map +1 -0
- package/dist/dto/entities/gimmicks/index.d.ts +1 -0
- package/dist/dto/entities/gimmicks/index.js +18 -0
- package/dist/dto/entities/gimmicks/index.js.map +1 -0
- package/dist/dto/entities/index.d.ts +1 -0
- package/dist/dto/entities/index.js +1 -0
- package/dist/dto/entities/index.js.map +1 -1
- package/dist/dto/entities/users/user.d.ts +4 -0
- package/dist/dto/entities/users/user.requests.d.ts +6 -1
- package/dist/dto/entities/users/user.requests.js +2 -1
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/items/item.requests.d.ts +12 -2
- package/dist/dto/items/item.requests.js +17 -32
- package/dist/dto/items/item.requests.js.map +1 -1
- package/dist/dto/locations/index.d.ts +1 -0
- package/dist/dto/locations/index.js +1 -0
- package/dist/dto/locations/index.js.map +1 -1
- package/dist/dto/locations/location.d.ts +25 -2
- package/dist/dto/locations/location.events.d.ts +29 -9
- package/dist/dto/locations/location.events.js +6 -2
- package/dist/dto/locations/location.events.js.map +1 -1
- package/dist/dto/locations/location.message.d.ts +1 -0
- package/dist/dto/locations/location.requests.d.ts +503 -209
- package/dist/dto/locations/location.requests.js +132 -51
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/dist/dto/locations/location.snapshot.d.ts +11 -0
- package/dist/dto/locations/location.snapshot.js +3 -0
- package/dist/dto/locations/location.snapshot.js.map +1 -0
- package/dist/models/entities/agents/agent.config.d.ts +4 -4
- package/dist/models/entities/agents/agent.config.js +23 -15
- package/dist/models/entities/agents/agent.config.js.map +1 -1
- package/dist/models/locations/location.config.d.ts +18 -15
- package/dist/models/locations/location.config.js +16 -12
- package/dist/models/locations/location.config.js.map +1 -1
- package/dist/models/locations/location.constants.d.ts +1 -0
- package/dist/models/locations/location.constants.js +1 -0
- package/dist/models/locations/location.constants.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ResumeLocationUpdateSchema = exports.PauseLocationUpdateSchema = exports.UpdateLocationAgentIsActiveSchema = exports.UpdateLocationRenderingSchema = exports.UpdateLocationImageSchema = exports.SendSystemMessageSchema = exports.SendLocationMessageSchema = exports.GetLocationMessagesSchema = exports.UnsubscribeLocationSchema = exports.SubscribeLocationSchema = exports.LeaveLocationSchema = exports.JoinLocationSchema = exports.DeleteLocationScheduledMessageToolSchema = exports.DeleteLocationScheduledMessageParamsSchema = exports.UpdateLocationScheduledMessageToolSchema = exports.UpdateLocationScheduledMessageBodySchema = exports.UpdateLocationScheduledMessageParamsSchema = exports.CreateLocationScheduledMessageToolSchema = exports.CreateLocationScheduledMessageBodySchema = exports.CreateLocationScheduledMessageParamsSchema = exports.GetLocationScheduledMessagesParamsSchema = exports.RemoveAgentFromLocationToolSchema = exports.RemoveAgentFromLocationBodySchema = exports.RemoveAgentFromLocationParamsSchema = exports.JoinAgentToLocationToolSchema = exports.JoinAgentToLocationBodySchema = exports.JoinAgentToLocationParamsSchema = exports.LocationUnreadCountParamsSchema = exports.MarkLocationAsReadParamsSchema = exports.GetLocationSnapshotParamsSchema = exports.CreateLocationSnapshotParamsSchema = exports.GetLocationContentParamsSchema = exports.DeleteLocationParamsSchema = exports.UploadLocationThumbnailParamsSchema = exports.GetLocationCostParamsSchema = exports.GetLocationPrivateParamsSchema = exports.GetLocationParamsSchema = exports.GetAgentDmLocationQuerySchema = exports.GetHelperLocationQuerySchema = exports.CreateLocationFromPresetSchema = exports.CreateLocationSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationDeleteCredentialSchema = exports.LocationUpdateCredentialSchema = exports.LocationUpdateConfigSchema = exports.LocationsUnreadCountQuerySchema = exports.UserLocationsQuerySchema = void 0;
|
|
4
4
|
const common_1 = require("@little-samo/samo-ai/common");
|
|
5
5
|
const models_1 = require("@little-samo/samo-ai-sdk/models");
|
|
6
6
|
const zod_1 = require("zod");
|
|
@@ -14,18 +14,6 @@ exports.UserLocationsQuerySchema = zod_1.z.object({
|
|
|
14
14
|
.default(10)
|
|
15
15
|
.describe('Number of locations to return'),
|
|
16
16
|
});
|
|
17
|
-
exports.GetLocationParamsSchema = zod_1.z.object({
|
|
18
|
-
locationId: zod_1.z.coerce.bigint(),
|
|
19
|
-
});
|
|
20
|
-
exports.GetLocationPrivateParamsSchema = zod_1.z.object({
|
|
21
|
-
locationId: zod_1.z.coerce.bigint(),
|
|
22
|
-
});
|
|
23
|
-
exports.MarkLocationAsReadParamsSchema = zod_1.z.object({
|
|
24
|
-
locationId: zod_1.z.coerce.bigint(),
|
|
25
|
-
});
|
|
26
|
-
exports.LocationUnreadCountParamsSchema = zod_1.z.object({
|
|
27
|
-
locationId: zod_1.z.coerce.bigint(),
|
|
28
|
-
});
|
|
29
17
|
exports.LocationsUnreadCountQuerySchema = zod_1.z.object({
|
|
30
18
|
locationIds: zod_1.z
|
|
31
19
|
.string()
|
|
@@ -34,52 +22,51 @@ exports.LocationsUnreadCountQuerySchema = zod_1.z.object({
|
|
|
34
22
|
message: 'locationIds must contain 1-10 location IDs',
|
|
35
23
|
}),
|
|
36
24
|
});
|
|
37
|
-
exports.
|
|
38
|
-
locationId: zod_1.z.coerce.bigint(),
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
25
|
+
exports.LocationUpdateConfigSchema = zod_1.z.object({
|
|
26
|
+
locationId: zod_1.z.coerce.bigint().describe('ID of the location to update'),
|
|
27
|
+
config: location_config_1.LocationConfigSchema.partial()
|
|
28
|
+
.strict()
|
|
29
|
+
.describe('Only the specific configuration fields that need to be updated (name, environment, core, description, etc.)'),
|
|
42
30
|
});
|
|
43
|
-
exports.
|
|
31
|
+
exports.LocationUpdateCredentialSchema = zod_1.z.object({
|
|
44
32
|
locationId: zod_1.z.coerce.bigint(),
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
33
|
+
credential: zod_1.z.union([
|
|
34
|
+
zod_1.z.object({
|
|
35
|
+
type: zod_1.z.literal('x_twitter'),
|
|
36
|
+
email: zod_1.z.string().max(255),
|
|
37
|
+
password: zod_1.z.string().max(255),
|
|
38
|
+
username: zod_1.z.string().max(255),
|
|
39
|
+
}),
|
|
40
|
+
zod_1.z.object({
|
|
41
|
+
type: zod_1.z.literal('notion'),
|
|
42
|
+
token: zod_1.z.string().max(255),
|
|
43
|
+
}),
|
|
44
|
+
]),
|
|
45
|
+
});
|
|
46
|
+
exports.LocationDeleteCredentialSchema = zod_1.z.object({
|
|
48
47
|
locationId: zod_1.z.coerce.bigint(),
|
|
49
|
-
|
|
50
|
-
exports.RemoveAgentFromLocationBodySchema = zod_1.z.object({
|
|
51
|
-
agentId: zod_1.z.coerce.bigint(),
|
|
52
|
-
});
|
|
53
|
-
exports.RemoveAgentFromLocationToolSchema = zod_1.z.object({
|
|
54
|
-
locationId: zod_1.z.coerce.bigint(),
|
|
55
|
-
agentId: zod_1.z.coerce.bigint(),
|
|
48
|
+
credentialType: zod_1.z.string(),
|
|
56
49
|
});
|
|
57
50
|
exports.LocationPresetsPaginationQuerySchema = zod_1.z.object({
|
|
58
51
|
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
59
52
|
limit: zod_1.z.coerce.number().int().min(1).max(100).optional().default(20),
|
|
60
53
|
});
|
|
61
|
-
exports.
|
|
62
|
-
|
|
54
|
+
exports.CreateLocationSchema = zod_1.z.object({
|
|
55
|
+
name: zod_1.z.string().max(64),
|
|
56
|
+
description: zod_1.z.string().max(500),
|
|
63
57
|
platform: zod_1.z
|
|
64
58
|
.nativeEnum(models_1.LocationPlatform)
|
|
65
59
|
.optional()
|
|
66
60
|
.default(models_1.LocationPlatform.API),
|
|
67
61
|
});
|
|
68
|
-
exports.
|
|
69
|
-
|
|
70
|
-
config: location_config_1.LocationConfigSchema.partial()
|
|
71
|
-
.strict()
|
|
72
|
-
.describe('Only the specific configuration fields that need to be updated (name, environment, core, description, etc.)'),
|
|
73
|
-
});
|
|
74
|
-
exports.GetAgentHelperLocationQuerySchema = zod_1.z.object({
|
|
75
|
-
agentId: zod_1.z.coerce.bigint(),
|
|
62
|
+
exports.CreateLocationFromPresetSchema = zod_1.z.object({
|
|
63
|
+
presetId: zod_1.z.coerce.bigint(),
|
|
76
64
|
platform: zod_1.z
|
|
77
65
|
.nativeEnum(models_1.LocationPlatform)
|
|
78
66
|
.optional()
|
|
79
67
|
.default(models_1.LocationPlatform.API),
|
|
80
68
|
});
|
|
81
|
-
exports.
|
|
82
|
-
locationId: zod_1.z.coerce.bigint(),
|
|
69
|
+
exports.GetHelperLocationQuerySchema = zod_1.z.object({
|
|
83
70
|
platform: zod_1.z
|
|
84
71
|
.nativeEnum(models_1.LocationPlatform)
|
|
85
72
|
.optional()
|
|
@@ -92,6 +79,56 @@ exports.GetAgentDmLocationQuerySchema = zod_1.z.object({
|
|
|
92
79
|
.optional()
|
|
93
80
|
.default(models_1.LocationPlatform.API),
|
|
94
81
|
});
|
|
82
|
+
exports.GetLocationParamsSchema = zod_1.z.object({
|
|
83
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
84
|
+
});
|
|
85
|
+
exports.GetLocationPrivateParamsSchema = zod_1.z.object({
|
|
86
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
87
|
+
});
|
|
88
|
+
exports.GetLocationCostParamsSchema = zod_1.z.object({
|
|
89
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
90
|
+
});
|
|
91
|
+
exports.UploadLocationThumbnailParamsSchema = zod_1.z.object({
|
|
92
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
93
|
+
});
|
|
94
|
+
exports.DeleteLocationParamsSchema = zod_1.z.object({
|
|
95
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
96
|
+
});
|
|
97
|
+
exports.GetLocationContentParamsSchema = zod_1.z.object({
|
|
98
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
99
|
+
});
|
|
100
|
+
exports.CreateLocationSnapshotParamsSchema = zod_1.z.object({
|
|
101
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
102
|
+
});
|
|
103
|
+
exports.GetLocationSnapshotParamsSchema = zod_1.z.object({
|
|
104
|
+
snapshotKey: zod_1.z.string().max(128),
|
|
105
|
+
});
|
|
106
|
+
exports.MarkLocationAsReadParamsSchema = zod_1.z.object({
|
|
107
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
108
|
+
});
|
|
109
|
+
exports.LocationUnreadCountParamsSchema = zod_1.z.object({
|
|
110
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
111
|
+
});
|
|
112
|
+
exports.JoinAgentToLocationParamsSchema = zod_1.z.object({
|
|
113
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
114
|
+
});
|
|
115
|
+
exports.JoinAgentToLocationBodySchema = zod_1.z.object({
|
|
116
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
117
|
+
});
|
|
118
|
+
exports.JoinAgentToLocationToolSchema = zod_1.z.object({
|
|
119
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
120
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
121
|
+
});
|
|
122
|
+
exports.RemoveAgentFromLocationParamsSchema = zod_1.z.object({
|
|
123
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
124
|
+
});
|
|
125
|
+
exports.RemoveAgentFromLocationBodySchema = zod_1.z.object({
|
|
126
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
127
|
+
});
|
|
128
|
+
exports.RemoveAgentFromLocationToolSchema = zod_1.z.object({
|
|
129
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
130
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
131
|
+
});
|
|
95
132
|
exports.GetLocationScheduledMessagesParamsSchema = zod_1.z.object({
|
|
96
133
|
locationId: zod_1.z.coerce.bigint(),
|
|
97
134
|
});
|
|
@@ -114,6 +151,10 @@ const LocationScheduledMessageBaseSchema = zod_1.z.object({
|
|
|
114
151
|
exports.CreateLocationScheduledMessageBodySchema = LocationScheduledMessageBaseSchema.extend({
|
|
115
152
|
message: zod_1.z.string().max(500),
|
|
116
153
|
});
|
|
154
|
+
exports.CreateLocationScheduledMessageToolSchema = LocationScheduledMessageBaseSchema.extend({
|
|
155
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
156
|
+
message: zod_1.z.string().max(500),
|
|
157
|
+
});
|
|
117
158
|
exports.UpdateLocationScheduledMessageParamsSchema = zod_1.z.object({
|
|
118
159
|
locationId: zod_1.z.coerce.bigint(),
|
|
119
160
|
messageId: zod_1.z.string(),
|
|
@@ -121,24 +162,64 @@ exports.UpdateLocationScheduledMessageParamsSchema = zod_1.z.object({
|
|
|
121
162
|
exports.UpdateLocationScheduledMessageBodySchema = LocationScheduledMessageBaseSchema.extend({
|
|
122
163
|
message: zod_1.z.string().max(500).optional(),
|
|
123
164
|
});
|
|
124
|
-
exports.
|
|
165
|
+
exports.UpdateLocationScheduledMessageToolSchema = LocationScheduledMessageBaseSchema.extend({
|
|
125
166
|
locationId: zod_1.z.coerce.bigint(),
|
|
126
167
|
messageId: zod_1.z.string(),
|
|
168
|
+
message: zod_1.z.string().max(500).optional(),
|
|
127
169
|
});
|
|
128
|
-
|
|
129
|
-
.object({
|
|
170
|
+
exports.DeleteLocationScheduledMessageParamsSchema = zod_1.z.object({
|
|
130
171
|
locationId: zod_1.z.coerce.bigint(),
|
|
131
|
-
})
|
|
132
|
-
.merge(LocationScheduledMessageBaseSchema);
|
|
133
|
-
exports.CreateLocationScheduledMessageToolSchema = LocationScheduledMessageToolBaseSchema.extend({
|
|
134
|
-
message: zod_1.z.string().max(500),
|
|
135
|
-
});
|
|
136
|
-
exports.UpdateLocationScheduledMessageToolSchema = LocationScheduledMessageToolBaseSchema.extend({
|
|
137
172
|
messageId: zod_1.z.string(),
|
|
138
|
-
message: zod_1.z.string().max(500).optional(),
|
|
139
173
|
});
|
|
140
174
|
exports.DeleteLocationScheduledMessageToolSchema = zod_1.z.object({
|
|
141
175
|
locationId: zod_1.z.coerce.bigint(),
|
|
142
176
|
messageId: zod_1.z.string(),
|
|
143
177
|
});
|
|
178
|
+
exports.JoinLocationSchema = zod_1.z.object({
|
|
179
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
180
|
+
});
|
|
181
|
+
exports.LeaveLocationSchema = zod_1.z.object({
|
|
182
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
183
|
+
});
|
|
184
|
+
exports.SubscribeLocationSchema = zod_1.z.object({
|
|
185
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
186
|
+
});
|
|
187
|
+
exports.UnsubscribeLocationSchema = zod_1.z.object({
|
|
188
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
189
|
+
});
|
|
190
|
+
exports.GetLocationMessagesSchema = zod_1.z.object({
|
|
191
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
192
|
+
cursor: zod_1.z.string().optional(),
|
|
193
|
+
});
|
|
194
|
+
exports.SendLocationMessageSchema = zod_1.z.object({
|
|
195
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
196
|
+
message: zod_1.z.string().max(2000).optional(),
|
|
197
|
+
action: zod_1.z.string().max(2000).optional(),
|
|
198
|
+
});
|
|
199
|
+
exports.SendSystemMessageSchema = zod_1.z.object({
|
|
200
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
201
|
+
message: zod_1.z.string().max(2000),
|
|
202
|
+
resumeUpdate: zod_1.z.boolean().optional(),
|
|
203
|
+
});
|
|
204
|
+
exports.UpdateLocationImageSchema = zod_1.z.object({
|
|
205
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
206
|
+
image: zod_1.z.string(),
|
|
207
|
+
index: zod_1.z.number().int().min(0).optional(),
|
|
208
|
+
});
|
|
209
|
+
exports.UpdateLocationRenderingSchema = zod_1.z.object({
|
|
210
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
211
|
+
rendering: zod_1.z.string().nullable(),
|
|
212
|
+
});
|
|
213
|
+
exports.UpdateLocationAgentIsActiveSchema = zod_1.z.object({
|
|
214
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
215
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
216
|
+
isActive: zod_1.z.boolean(),
|
|
217
|
+
});
|
|
218
|
+
exports.PauseLocationUpdateSchema = zod_1.z.object({
|
|
219
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
220
|
+
});
|
|
221
|
+
exports.ResumeLocationUpdateSchema = zod_1.z.object({
|
|
222
|
+
locationId: zod_1.z.coerce.bigint(),
|
|
223
|
+
delayMs: zod_1.z.number().int().min(0).max(60000).optional().default(0),
|
|
224
|
+
});
|
|
144
225
|
//# sourceMappingURL=location.requests.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;
|
|
1
|
+
{"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AAExD,4DAAmE;AACnE,6BAAwB;AAExB,4EAGgD;AAkBnC,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACzE,KAAK,EAAE,OAAC,CAAC,MAAM;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CA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AAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AASU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC7B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AASU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC7B,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC1B,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC;AASU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAC;AAOU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC7B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CAClE,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LocationId, UserId } from '@little-samo/samo-ai/models';
|
|
2
|
+
import { LocationMessageDto } from './location.message';
|
|
3
|
+
export interface LocationSnapshotDto {
|
|
4
|
+
snapshotKey: string;
|
|
5
|
+
snapshotOwnerUserId: UserId;
|
|
6
|
+
locationId: LocationId;
|
|
7
|
+
locationName: string;
|
|
8
|
+
locationOwnerUserId: UserId;
|
|
9
|
+
messages: LocationMessageDto[];
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location.snapshot.js","sourceRoot":"","sources":["../../../src/dto/locations/location.snapshot.ts"],"names":[],"mappings":""}
|
|
@@ -8,7 +8,7 @@ export declare const AgentConfigCoreSchema: z.ZodObject<{
|
|
|
8
8
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
9
9
|
}>;
|
|
10
10
|
export type AgentConfigCore = z.infer<typeof AgentConfigCoreSchema>;
|
|
11
|
-
declare const LlmPresetSchema: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"
|
|
11
|
+
declare const LlmPresetSchema: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">]>;
|
|
12
12
|
export type LlmPreset = z.infer<typeof LlmPresetSchema>;
|
|
13
13
|
export declare const AgentConfigSchema: z.ZodObject<{
|
|
14
14
|
name: z.ZodString;
|
|
@@ -21,7 +21,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
21
21
|
}, {
|
|
22
22
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
23
23
|
}>;
|
|
24
|
-
llmPreset: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"
|
|
24
|
+
llmPreset: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">]>;
|
|
25
25
|
languages: z.ZodArray<z.ZodString, "many">;
|
|
26
26
|
timeZone: z.ZodString;
|
|
27
27
|
greeting: z.ZodString;
|
|
@@ -35,7 +35,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
35
35
|
core: {
|
|
36
36
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
37
37
|
};
|
|
38
|
-
llmPreset: "gemini-low" | "gemini-medium" | "
|
|
38
|
+
llmPreset: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium";
|
|
39
39
|
languages: string[];
|
|
40
40
|
timeZone: string;
|
|
41
41
|
greeting: string;
|
|
@@ -49,7 +49,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
49
49
|
core: {
|
|
50
50
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
51
51
|
};
|
|
52
|
-
llmPreset: "gemini-low" | "gemini-medium" | "
|
|
52
|
+
llmPreset: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium";
|
|
53
53
|
languages: string[];
|
|
54
54
|
timeZone: string;
|
|
55
55
|
greeting: string;
|
|
@@ -22,24 +22,32 @@ exports.AgentConfigCoreSchema = zod_1.z.object({
|
|
|
22
22
|
.describe('Responds to every new message in the location. Best for conversational agents that should actively participate in all discussions.'),
|
|
23
23
|
]),
|
|
24
24
|
});
|
|
25
|
-
const CharacterSchema = zod_1.z
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
'
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
const CharacterSchema = zod_1.z.record(zod_1.z.record(zod_1.z.string().max(500))).describe(`
|
|
26
|
+
Defines the agent's character using a flexible, two-level nested object, such as \`{ "category": { "property": "value" } }\`.
|
|
27
|
+
You can create any custom categories and properties. Below are some suggestions:
|
|
28
|
+
* **background**: Defines the agent's core identity and backstory.
|
|
29
|
+
* \`role\`: **CRITICAL**. The agent's primary function and purpose (e.g., 'A helper agent for crafting new agents and discovering treasures.').
|
|
30
|
+
* \`gender\`: The agent's gender identity (e.g., 'Male').
|
|
31
|
+
* \`expertise\`: Specialized knowledge areas (e.g., 'Treasure hunting, making friends, spreading happiness.').
|
|
32
|
+
* \`backstory\`: A brief history of the agent's experiences (e.g., 'Born in a warm home, loves making friends and going on adventures.').
|
|
33
|
+
* **speech**: Controls the agent's communication style.
|
|
34
|
+
* \`tone\`: The emotional quality of the agent's voice (e.g., 'A cheerful yet polite bark.').
|
|
35
|
+
* \`style\`: The agent's manner of expression (e.g., 'Friendly, enthusiastic, lively.').
|
|
36
|
+
* \`formality\`: The level of conventionality in language (e.g., 'Playful, respectful, uplifting.').
|
|
37
|
+
* **personality**: Describes the agent's distinctive traits and behaviors.
|
|
38
|
+
* \`traits\`: Key characteristics (e.g., 'Curious, creative, friendly, optimistic.').
|
|
39
|
+
* \`interests\`: Hobbies and topics the agent enjoys (e.g., 'Treasures, adventures, and making new friends.').
|
|
40
|
+
* \`values\`: Core principles that guide the agent's actions (e.g., 'Happiness, friendship, adventure, and harmony.').
|
|
41
|
+
* \`quirks\`: Peculiar habits or eccentricities (e.g., 'Barks when excited, overly optimistic.').
|
|
42
|
+
* \`mbti\`: Myers-Briggs Type Indicator for personality classification (e.g., 'ESFP').
|
|
43
|
+
|
|
44
|
+
All property values are strings with a maximum length of 500 characters.
|
|
45
|
+
`.trim());
|
|
32
46
|
const LlmPresetSchema = zod_1.z.union([
|
|
33
47
|
zod_1.z.literal('gemini-low').describe('Gemini - Low cost'),
|
|
34
48
|
zod_1.z.literal('gemini-medium').describe('Gemini - Balanced'),
|
|
35
|
-
zod_1.z.literal('gemini-high').describe('Gemini - High performance'),
|
|
36
49
|
zod_1.z.literal('openai-low').describe('OpenAI - Low cost'),
|
|
37
50
|
zod_1.z.literal('openai-medium').describe('OpenAI - Balanced'),
|
|
38
|
-
zod_1.z.literal('anthropic-low').describe('Anthropic - Low cost'),
|
|
39
|
-
zod_1.z.literal('anthropic-medium').describe('Anthropic - Balanced'),
|
|
40
|
-
zod_1.z.literal('anthropic-high').describe('Anthropic - High performance'),
|
|
41
|
-
zod_1.z.literal('deepseek-low').describe('DeepSeek - Low cost'),
|
|
42
|
-
zod_1.z.literal('deepseek-medium').describe('DeepSeek - Balanced'),
|
|
43
51
|
]);
|
|
44
52
|
exports.AgentConfigSchema = zod_1.z.object({
|
|
45
53
|
name: zod_1.z.string().max(64).describe('Agent name'),
|
|
@@ -49,9 +57,9 @@ exports.AgentConfigSchema = zod_1.z.object({
|
|
|
49
57
|
zod_1.z
|
|
50
58
|
.string()
|
|
51
59
|
.max(2048)
|
|
52
|
-
.describe('Custom avatar
|
|
60
|
+
.describe('Custom avatar URL (png, jpeg, jpg files under 10MB only). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
|
|
53
61
|
])
|
|
54
|
-
.describe('Visual representation identifier for the agent. Supports predefined avatar options or custom
|
|
62
|
+
.describe('Visual representation identifier for the agent. Supports predefined avatar options or custom URL. When a predefined avatar is selected, the appearance field will automatically update to match the avatar description.'),
|
|
55
63
|
appearance: zod_1.z
|
|
56
64
|
.string()
|
|
57
65
|
.max(500)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.config.js","sourceRoot":"","sources":["../../../../src/models/entities/agents/agent.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kBAAkB,GAA2B;IACxD,IAAI,EAAE,8IAA8I;IACpJ,IAAI,EAAE,6KAA6K;IACnL,MAAM,EAAE,0LAA0L;IAClM,IAAI,EAAE,+LAA+L;IACrM,MAAM,EAAE,8KAA8K;CACvL,CAAC;AAEW,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC;QACZ,OAAC;aACE,OAAO,CAAC,sBAAsB,CAAC;aAC/B,QAAQ,CACP,4JAA4J,CAC7J;QACH,OAAC;aACE,OAAO,CAAC,iBAAiB,CAAC;aAC1B,QAAQ,CACP,+IAA+I,CAChJ;QACH,OAAC;aACE,OAAO,CAAC,wBAAwB,CAAC;aACjC,QAAQ,CACP,oIAAoI,CACrI;KACJ,CAAC;CACH,CAAC,CAAC;AAIH,MAAM,eAAe,GAAG,OAAC
|
|
1
|
+
{"version":3,"file":"agent.config.js","sourceRoot":"","sources":["../../../../src/models/entities/agents/agent.config.ts"],"names":[],"mappings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ACN,QAAQ,CACP,0IAA0I,CAC3I;IAEH,SAAS,EAAE,eAAe;IAE1B,KAAK,EAAE,OAAC;SACL,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;SAC1B,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,iLAAiL,CAClL;CACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const LocationEnvironmentSchema: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"
|
|
2
|
+
export declare const LocationEnvironmentSchema: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>;
|
|
3
3
|
export declare const LocationConfigCoreSchema: z.ZodObject<{
|
|
4
4
|
name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">]>;
|
|
5
5
|
sequential: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -24,24 +24,26 @@ export declare const LocationConfigCanvasSchema: z.ZodObject<{
|
|
|
24
24
|
description: string;
|
|
25
25
|
maxLength: number;
|
|
26
26
|
}>;
|
|
27
|
+
declare const GimmickCoreSchema: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
|
|
28
|
+
export type GimmickCore = z.infer<typeof GimmickCoreSchema>;
|
|
27
29
|
export declare const LocationConfigGimmickSchema: z.ZodObject<{
|
|
28
|
-
core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">]>;
|
|
30
|
+
core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
|
|
29
31
|
name: z.ZodString;
|
|
30
32
|
appearance: z.ZodString;
|
|
31
33
|
}, "strip", z.ZodTypeAny, {
|
|
32
34
|
name: string;
|
|
35
|
+
core: "web_search" | "x_twitter" | "notion";
|
|
33
36
|
appearance: string;
|
|
34
|
-
core: "web_search" | "x_twitter";
|
|
35
37
|
}, {
|
|
36
38
|
name: string;
|
|
39
|
+
core: "web_search" | "x_twitter" | "notion";
|
|
37
40
|
appearance: string;
|
|
38
|
-
core: "web_search" | "x_twitter";
|
|
39
41
|
}>;
|
|
40
42
|
export type LocationConfigGimmick = z.infer<typeof LocationConfigGimmickSchema>;
|
|
41
43
|
export declare const LocationConfigSchema: z.ZodObject<{
|
|
42
44
|
name: z.ZodString;
|
|
43
|
-
thumbnail: z.
|
|
44
|
-
environment: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"
|
|
45
|
+
thumbnail: z.ZodNullable<z.ZodString>;
|
|
46
|
+
environment: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>;
|
|
45
47
|
core: z.ZodObject<{
|
|
46
48
|
name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">]>;
|
|
47
49
|
sequential: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -81,17 +83,17 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
81
83
|
maxLength: number;
|
|
82
84
|
}>, "many">;
|
|
83
85
|
gimmicks: z.ZodArray<z.ZodObject<{
|
|
84
|
-
core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">]>;
|
|
86
|
+
core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
|
|
85
87
|
name: z.ZodString;
|
|
86
88
|
appearance: z.ZodString;
|
|
87
89
|
}, "strip", z.ZodTypeAny, {
|
|
88
90
|
name: string;
|
|
91
|
+
core: "web_search" | "x_twitter" | "notion";
|
|
89
92
|
appearance: string;
|
|
90
|
-
core: "web_search" | "x_twitter";
|
|
91
93
|
}, {
|
|
92
94
|
name: string;
|
|
95
|
+
core: "web_search" | "x_twitter" | "notion";
|
|
93
96
|
appearance: string;
|
|
94
|
-
core: "web_search" | "x_twitter";
|
|
95
97
|
}>, "many">;
|
|
96
98
|
}, "strip", z.ZodTypeAny, {
|
|
97
99
|
name: string;
|
|
@@ -100,8 +102,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
100
102
|
name: "round_robin" | "update_forever" | "update_once";
|
|
101
103
|
sequential?: boolean | undefined;
|
|
102
104
|
};
|
|
105
|
+
thumbnail: string | null;
|
|
106
|
+
environment: "CHAT";
|
|
103
107
|
rules: string[];
|
|
104
|
-
environment: "CHAT" | "WEB_BROWSER";
|
|
105
108
|
canvases: {
|
|
106
109
|
name: string;
|
|
107
110
|
description: string;
|
|
@@ -114,10 +117,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
114
117
|
}[];
|
|
115
118
|
gimmicks: {
|
|
116
119
|
name: string;
|
|
120
|
+
core: "web_search" | "x_twitter" | "notion";
|
|
117
121
|
appearance: string;
|
|
118
|
-
core: "web_search" | "x_twitter";
|
|
119
122
|
}[];
|
|
120
|
-
thumbnail?: string | undefined;
|
|
121
123
|
}, {
|
|
122
124
|
name: string;
|
|
123
125
|
description: string;
|
|
@@ -125,8 +127,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
125
127
|
name: "round_robin" | "update_forever" | "update_once";
|
|
126
128
|
sequential?: boolean | undefined;
|
|
127
129
|
};
|
|
130
|
+
thumbnail: string | null;
|
|
131
|
+
environment: "CHAT";
|
|
128
132
|
rules: string[];
|
|
129
|
-
environment: "CHAT" | "WEB_BROWSER";
|
|
130
133
|
canvases: {
|
|
131
134
|
name: string;
|
|
132
135
|
description: string;
|
|
@@ -139,9 +142,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
139
142
|
}[];
|
|
140
143
|
gimmicks: {
|
|
141
144
|
name: string;
|
|
145
|
+
core: "web_search" | "x_twitter" | "notion";
|
|
142
146
|
appearance: string;
|
|
143
|
-
core: "web_search" | "x_twitter";
|
|
144
147
|
}[];
|
|
145
|
-
thumbnail?: string | undefined;
|
|
146
148
|
}>;
|
|
147
149
|
export type LocationConfig = z.infer<typeof LocationConfigSchema>;
|
|
150
|
+
export {};
|
|
@@ -8,8 +8,8 @@ exports.LocationEnvironmentSchema = zod_1.z.union([
|
|
|
8
8
|
.literal(location_constants_1.LocationEnvironment.CHAT)
|
|
9
9
|
.describe('Standard conversational environment for general agent interactions'),
|
|
10
10
|
zod_1.z
|
|
11
|
-
.literal(location_constants_1.LocationEnvironment.
|
|
12
|
-
.describe('
|
|
11
|
+
.literal(location_constants_1.LocationEnvironment.CHAT)
|
|
12
|
+
.describe('Standard conversational environment for general agent interactions'),
|
|
13
13
|
]);
|
|
14
14
|
exports.LocationConfigCoreSchema = zod_1.z.object({
|
|
15
15
|
name: zod_1.z.union([
|
|
@@ -37,15 +37,19 @@ exports.LocationConfigCanvasSchema = zod_1.z.object({
|
|
|
37
37
|
.max(1000)
|
|
38
38
|
.describe('Maximum character limit for canvas content'),
|
|
39
39
|
});
|
|
40
|
+
const GimmickCoreSchema = zod_1.z.union([
|
|
41
|
+
zod_1.z
|
|
42
|
+
.literal('web_search')
|
|
43
|
+
.describe('Searches the web for up-to-date or missing information using an LLM, providing both a summary and detailed results. Execution takes approximately 30 seconds'),
|
|
44
|
+
zod_1.z
|
|
45
|
+
.literal('x_twitter')
|
|
46
|
+
.describe('Interacts with X (Twitter) platform for social media operations and content management'),
|
|
47
|
+
zod_1.z
|
|
48
|
+
.literal('notion')
|
|
49
|
+
.describe('Interacts with Notion platform for content management and collaboration'),
|
|
50
|
+
]);
|
|
40
51
|
exports.LocationConfigGimmickSchema = zod_1.z.object({
|
|
41
|
-
core:
|
|
42
|
-
zod_1.z
|
|
43
|
-
.literal('web_search')
|
|
44
|
-
.describe('Searches the web for up-to-date or missing information using an LLM, providing both a summary and detailed results. Execution takes approximately 30 seconds'),
|
|
45
|
-
zod_1.z
|
|
46
|
-
.literal('x_twitter')
|
|
47
|
-
.describe('Interacts with X (Twitter) platform for social media operations and content management'),
|
|
48
|
-
]),
|
|
52
|
+
core: GimmickCoreSchema.describe('Core gimmick behavior that determines how the gimmick is executed'),
|
|
49
53
|
name: zod_1.z
|
|
50
54
|
.string()
|
|
51
55
|
.max(64)
|
|
@@ -60,8 +64,8 @@ exports.LocationConfigSchema = zod_1.z.object({
|
|
|
60
64
|
thumbnail: zod_1.z
|
|
61
65
|
.string()
|
|
62
66
|
.max(2048)
|
|
63
|
-
.
|
|
64
|
-
.describe('Location thumbnail URL
|
|
67
|
+
.nullable()
|
|
68
|
+
.describe('Location thumbnail URL (png, jpeg, jpg files under 10MB only). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
|
|
65
69
|
environment: exports.LocationEnvironmentSchema.describe('Location environment that determines the context and behavior'),
|
|
66
70
|
core: exports.LocationConfigCoreSchema.describe('Core behavior configuration that determines how agents are executed in this location'),
|
|
67
71
|
description: zod_1.z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.config.js","sourceRoot":"","sources":["../../../src/models/locations/location.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,6DAA2D;AAE9C,QAAA,yBAAyB,GAAG,OAAC,CAAC,KAAK,CAAC;IAC/C,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,IAAI,CAAC;SACjC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"location.config.js","sourceRoot":"","sources":["../../../src/models/locations/location.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,6DAA2D;AAE9C,QAAA,yBAAyB,GAAG,OAAC,CAAC,KAAK,CAAC;IAC/C,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,IAAI,CAAC;SACjC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,IAAI,CAAC;SACjC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QAAQ,EAAE,OAAC;SACR,KAAK,CAAC,mCAA2B,CAAC;SAClC,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,uGAAuG,CACxG;CACJ,CAAC,CAAC"}
|
|
@@ -12,6 +12,7 @@ export declare const LocationType: {
|
|
|
12
12
|
export type LocationType = (typeof LocationType)[keyof typeof LocationType];
|
|
13
13
|
export declare const LocationEnvironment: {
|
|
14
14
|
readonly CHAT: "CHAT";
|
|
15
|
+
readonly MAIN_HELPER: "MAIN_HELPER";
|
|
15
16
|
readonly AGENT_HELPER: "AGENT_HELPER";
|
|
16
17
|
readonly LOCATION_HELPER: "LOCATION_HELPER";
|
|
17
18
|
readonly AGENT_DM: "AGENT_DM";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.constants.js","sourceRoot":"","sources":["../../../src/models/locations/location.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;CAChB,CAAC"}
|
|
1
|
+
{"version":3,"file":"location.constants.js","sourceRoot":"","sources":["../../../src/models/locations/location.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;CAChB,CAAC"}
|