@little-samo/samo-ai-sdk 0.3.2 → 0.3.3
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.requests.d.ts +18 -18
- package/dist/dto/locations/location.requests.d.ts +50 -50
- package/dist/dto/upload/upload.requests.d.ts +8 -2
- package/dist/dto/upload/upload.requests.js +7 -1
- package/dist/dto/upload/upload.requests.js.map +1 -1
- package/dist/models/entities/agents/agent.config.js +43 -47
- package/dist/models/entities/agents/agent.config.js.map +1 -1
- package/dist/models/locations/location.config.d.ts +8 -8
- package/dist/models/locations/location.config.js +30 -39
- package/dist/models/locations/location.config.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,11 +7,11 @@ export declare const AgentsPaginationQuerySchema: z.ZodObject<{
|
|
|
7
7
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
8
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
page: number;
|
|
11
10
|
limit: number;
|
|
11
|
+
page: number;
|
|
12
12
|
}, {
|
|
13
|
-
page?: number | undefined;
|
|
14
13
|
limit?: number | undefined;
|
|
14
|
+
page?: number | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
|
|
17
17
|
export interface AgentsPaginatedResponseDto {
|
|
@@ -145,9 +145,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
145
145
|
}>>;
|
|
146
146
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
147
147
|
}, "strict", z.ZodTypeAny, {
|
|
148
|
-
appearance?: string | undefined;
|
|
149
148
|
name?: string | undefined;
|
|
150
149
|
avatar?: string | undefined;
|
|
150
|
+
appearance?: string | undefined;
|
|
151
151
|
core?: {
|
|
152
152
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
153
153
|
} | undefined;
|
|
@@ -178,9 +178,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
178
178
|
} | undefined;
|
|
179
179
|
rules?: string[] | undefined;
|
|
180
180
|
}, {
|
|
181
|
-
appearance?: string | undefined;
|
|
182
181
|
name?: string | undefined;
|
|
183
182
|
avatar?: string | undefined;
|
|
183
|
+
appearance?: string | undefined;
|
|
184
184
|
core?: {
|
|
185
185
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
186
186
|
} | undefined;
|
|
@@ -212,11 +212,10 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
212
212
|
rules?: string[] | undefined;
|
|
213
213
|
}>;
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
|
-
agentId: bigint;
|
|
216
215
|
config: {
|
|
217
|
-
appearance?: string | undefined;
|
|
218
216
|
name?: string | undefined;
|
|
219
217
|
avatar?: string | undefined;
|
|
218
|
+
appearance?: string | undefined;
|
|
220
219
|
core?: {
|
|
221
220
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
222
221
|
} | undefined;
|
|
@@ -247,12 +246,12 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
247
246
|
} | undefined;
|
|
248
247
|
rules?: string[] | undefined;
|
|
249
248
|
};
|
|
250
|
-
}, {
|
|
251
249
|
agentId: bigint;
|
|
250
|
+
}, {
|
|
252
251
|
config: {
|
|
253
|
-
appearance?: string | undefined;
|
|
254
252
|
name?: string | undefined;
|
|
255
253
|
avatar?: string | undefined;
|
|
254
|
+
appearance?: string | undefined;
|
|
256
255
|
core?: {
|
|
257
256
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
258
257
|
} | undefined;
|
|
@@ -283,6 +282,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
283
282
|
} | undefined;
|
|
284
283
|
rules?: string[] | undefined;
|
|
285
284
|
};
|
|
285
|
+
agentId: bigint;
|
|
286
286
|
}>;
|
|
287
287
|
export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
|
|
288
288
|
export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
|
|
@@ -308,7 +308,6 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
|
|
|
308
308
|
token: string;
|
|
309
309
|
}>]>;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
agentId: bigint;
|
|
312
311
|
credential: {
|
|
313
312
|
type: "notion";
|
|
314
313
|
token: string;
|
|
@@ -316,8 +315,8 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
|
|
|
316
315
|
type: "notion";
|
|
317
316
|
token: string;
|
|
318
317
|
};
|
|
319
|
-
}, {
|
|
320
318
|
agentId: bigint;
|
|
319
|
+
}, {
|
|
321
320
|
credential: {
|
|
322
321
|
type: "notion";
|
|
323
322
|
token: string;
|
|
@@ -325,6 +324,7 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
|
|
|
325
324
|
type: "notion";
|
|
326
325
|
token: string;
|
|
327
326
|
};
|
|
327
|
+
agentId: bigint;
|
|
328
328
|
}>;
|
|
329
329
|
export type AgentUpdateCredentialDto = z.infer<typeof AgentUpdateCredentialSchema>;
|
|
330
330
|
export interface AgentUpdateCredentialResponseDto {
|
|
@@ -335,11 +335,11 @@ export declare const AgentDeleteCredentialSchema: z.ZodObject<{
|
|
|
335
335
|
agentId: z.ZodBigInt;
|
|
336
336
|
credentialType: z.ZodString;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
agentId: bigint;
|
|
339
338
|
credentialType: string;
|
|
340
|
-
}, {
|
|
341
339
|
agentId: bigint;
|
|
340
|
+
}, {
|
|
342
341
|
credentialType: string;
|
|
342
|
+
agentId: bigint;
|
|
343
343
|
}>;
|
|
344
344
|
export type AgentDeleteCredentialDto = z.infer<typeof AgentDeleteCredentialSchema>;
|
|
345
345
|
export interface AgentDeleteCredentialResponseDto {
|
|
@@ -350,11 +350,11 @@ export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
|
|
|
350
350
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
351
351
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
|
-
page: number;
|
|
354
353
|
limit: number;
|
|
354
|
+
page: number;
|
|
355
355
|
}, {
|
|
356
|
-
page?: number | undefined;
|
|
357
356
|
limit?: number | undefined;
|
|
357
|
+
page?: number | undefined;
|
|
358
358
|
}>;
|
|
359
359
|
export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
|
|
360
360
|
export interface AgentPresetsPaginatedResponseDto {
|
|
@@ -473,9 +473,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
473
473
|
}>>;
|
|
474
474
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
475
475
|
}, "strict", z.ZodTypeAny, {
|
|
476
|
-
appearance?: string | undefined;
|
|
477
476
|
name?: string | undefined;
|
|
478
477
|
avatar?: string | undefined;
|
|
478
|
+
appearance?: string | undefined;
|
|
479
479
|
core?: {
|
|
480
480
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
481
481
|
} | undefined;
|
|
@@ -506,9 +506,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
506
506
|
} | undefined;
|
|
507
507
|
rules?: string[] | undefined;
|
|
508
508
|
}, {
|
|
509
|
-
appearance?: string | undefined;
|
|
510
509
|
name?: string | undefined;
|
|
511
510
|
avatar?: string | undefined;
|
|
511
|
+
appearance?: string | undefined;
|
|
512
512
|
core?: {
|
|
513
513
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
514
514
|
} | undefined;
|
|
@@ -541,9 +541,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
541
541
|
}>;
|
|
542
542
|
}, "strip", z.ZodTypeAny, {
|
|
543
543
|
config: {
|
|
544
|
-
appearance?: string | undefined;
|
|
545
544
|
name?: string | undefined;
|
|
546
545
|
avatar?: string | undefined;
|
|
546
|
+
appearance?: string | undefined;
|
|
547
547
|
core?: {
|
|
548
548
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
549
549
|
} | undefined;
|
|
@@ -576,9 +576,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
576
576
|
};
|
|
577
577
|
}, {
|
|
578
578
|
config: {
|
|
579
|
-
appearance?: string | undefined;
|
|
580
579
|
name?: string | undefined;
|
|
581
580
|
avatar?: string | undefined;
|
|
581
|
+
appearance?: string | undefined;
|
|
582
582
|
core?: {
|
|
583
583
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
584
584
|
} | undefined;
|
|
@@ -15,8 +15,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
|
|
|
15
15
|
limit: number;
|
|
16
16
|
cursor?: string | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
limit?: number | undefined;
|
|
19
18
|
cursor?: string | undefined;
|
|
19
|
+
limit?: number | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
|
|
22
22
|
export interface UserLocationsResponseDto {
|
|
@@ -30,11 +30,11 @@ export declare const PublishedLocationsQuerySchema: z.ZodObject<{
|
|
|
30
30
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
31
31
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
page: number;
|
|
34
33
|
limit: number;
|
|
34
|
+
page: number;
|
|
35
35
|
}, {
|
|
36
|
-
page?: number | undefined;
|
|
37
36
|
limit?: number | undefined;
|
|
37
|
+
page?: number | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export type PublishedLocationsQueryDto = z.infer<typeof PublishedLocationsQuerySchema>;
|
|
40
40
|
export interface PublishedLocationsResponseDto {
|
|
@@ -118,7 +118,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
118
118
|
maxLength: number;
|
|
119
119
|
}>, "many">>;
|
|
120
120
|
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
|
-
core: z.ZodUnion<[z.ZodLiteral<"
|
|
121
|
+
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">[]]>;
|
|
122
122
|
name: z.ZodString;
|
|
123
123
|
appearance: z.ZodString;
|
|
124
124
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -135,18 +135,18 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
135
135
|
url?: string | undefined;
|
|
136
136
|
}>, "many">>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
appearance: string;
|
|
139
138
|
name: string;
|
|
140
|
-
|
|
139
|
+
appearance: string;
|
|
140
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
141
141
|
images?: {
|
|
142
142
|
description: string;
|
|
143
143
|
name?: string | undefined;
|
|
144
144
|
url?: string | undefined;
|
|
145
145
|
}[] | undefined;
|
|
146
146
|
}, {
|
|
147
|
-
appearance: string;
|
|
148
147
|
name: string;
|
|
149
|
-
|
|
148
|
+
appearance: string;
|
|
149
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
150
150
|
images?: {
|
|
151
151
|
description: string;
|
|
152
152
|
name?: string | undefined;
|
|
@@ -176,9 +176,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
176
176
|
maxLength: number;
|
|
177
177
|
}[] | undefined;
|
|
178
178
|
gimmicks?: {
|
|
179
|
-
appearance: string;
|
|
180
179
|
name: string;
|
|
181
|
-
|
|
180
|
+
appearance: string;
|
|
181
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
182
182
|
images?: {
|
|
183
183
|
description: string;
|
|
184
184
|
name?: string | undefined;
|
|
@@ -208,9 +208,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
208
208
|
maxLength: number;
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
gimmicks?: {
|
|
211
|
-
appearance: string;
|
|
212
211
|
name: string;
|
|
213
|
-
|
|
212
|
+
appearance: string;
|
|
213
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
214
214
|
images?: {
|
|
215
215
|
description: string;
|
|
216
216
|
name?: string | undefined;
|
|
@@ -219,6 +219,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
219
219
|
}[] | undefined;
|
|
220
220
|
}>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
locationId: bigint;
|
|
222
223
|
config: {
|
|
223
224
|
name?: string | undefined;
|
|
224
225
|
description?: string | undefined;
|
|
@@ -242,9 +243,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
242
243
|
maxLength: number;
|
|
243
244
|
}[] | undefined;
|
|
244
245
|
gimmicks?: {
|
|
245
|
-
appearance: string;
|
|
246
246
|
name: string;
|
|
247
|
-
|
|
247
|
+
appearance: string;
|
|
248
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
248
249
|
images?: {
|
|
249
250
|
description: string;
|
|
250
251
|
name?: string | undefined;
|
|
@@ -252,8 +253,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
252
253
|
}[] | undefined;
|
|
253
254
|
}[] | undefined;
|
|
254
255
|
};
|
|
255
|
-
locationId: bigint;
|
|
256
256
|
}, {
|
|
257
|
+
locationId: bigint;
|
|
257
258
|
config: {
|
|
258
259
|
name?: string | undefined;
|
|
259
260
|
description?: string | undefined;
|
|
@@ -277,9 +278,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
277
278
|
maxLength: number;
|
|
278
279
|
}[] | undefined;
|
|
279
280
|
gimmicks?: {
|
|
280
|
-
appearance: string;
|
|
281
281
|
name: string;
|
|
282
|
-
|
|
282
|
+
appearance: string;
|
|
283
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
283
284
|
images?: {
|
|
284
285
|
description: string;
|
|
285
286
|
name?: string | undefined;
|
|
@@ -287,7 +288,6 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
287
288
|
}[] | undefined;
|
|
288
289
|
}[] | undefined;
|
|
289
290
|
};
|
|
290
|
-
locationId: bigint;
|
|
291
291
|
}>;
|
|
292
292
|
export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
|
|
293
293
|
export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
|
|
@@ -313,6 +313,7 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
|
|
|
313
313
|
token: string;
|
|
314
314
|
}>]>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
locationId: bigint;
|
|
316
317
|
credential: {
|
|
317
318
|
type: "notion";
|
|
318
319
|
token: string;
|
|
@@ -320,8 +321,8 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
|
|
|
320
321
|
type: "notion";
|
|
321
322
|
token: string;
|
|
322
323
|
};
|
|
323
|
-
locationId: bigint;
|
|
324
324
|
}, {
|
|
325
|
+
locationId: bigint;
|
|
325
326
|
credential: {
|
|
326
327
|
type: "notion";
|
|
327
328
|
token: string;
|
|
@@ -329,7 +330,6 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
|
|
|
329
330
|
type: "notion";
|
|
330
331
|
token: string;
|
|
331
332
|
};
|
|
332
|
-
locationId: bigint;
|
|
333
333
|
}>;
|
|
334
334
|
export type LocationUpdateCredentialDto = z.infer<typeof LocationUpdateCredentialSchema>;
|
|
335
335
|
export interface LocationUpdateCredentialResponseDto {
|
|
@@ -340,11 +340,11 @@ export declare const LocationDeleteCredentialSchema: z.ZodObject<{
|
|
|
340
340
|
locationId: z.ZodBigInt;
|
|
341
341
|
credentialType: z.ZodString;
|
|
342
342
|
}, "strip", z.ZodTypeAny, {
|
|
343
|
-
credentialType: string;
|
|
344
343
|
locationId: bigint;
|
|
345
|
-
}, {
|
|
346
344
|
credentialType: string;
|
|
345
|
+
}, {
|
|
347
346
|
locationId: bigint;
|
|
347
|
+
credentialType: string;
|
|
348
348
|
}>;
|
|
349
349
|
export type LocationDeleteCredentialDto = z.infer<typeof LocationDeleteCredentialSchema>;
|
|
350
350
|
export interface LocationDeleteCredentialResponseDto {
|
|
@@ -355,11 +355,11 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
|
|
|
355
355
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
356
356
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
357
357
|
}, "strip", z.ZodTypeAny, {
|
|
358
|
-
page: number;
|
|
359
358
|
limit: number;
|
|
359
|
+
page: number;
|
|
360
360
|
}, {
|
|
361
|
-
page?: number | undefined;
|
|
362
361
|
limit?: number | undefined;
|
|
362
|
+
page?: number | undefined;
|
|
363
363
|
}>;
|
|
364
364
|
export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
|
|
365
365
|
export interface LocationPresetsPaginatedResponseDto {
|
|
@@ -377,12 +377,12 @@ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
377
377
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
378
378
|
}, "strip", z.ZodTypeAny, {
|
|
379
379
|
type: "NOVEL";
|
|
380
|
-
page: number;
|
|
381
380
|
limit: number;
|
|
381
|
+
page: number;
|
|
382
382
|
}, {
|
|
383
383
|
type: "NOVEL";
|
|
384
|
-
page?: number | undefined;
|
|
385
384
|
limit?: number | undefined;
|
|
385
|
+
page?: number | undefined;
|
|
386
386
|
}>;
|
|
387
387
|
export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
|
|
388
388
|
export interface PublishedLocationPresetsResponseDto {
|
|
@@ -643,8 +643,8 @@ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
|
|
|
643
643
|
cursor?: string | undefined;
|
|
644
644
|
}, {
|
|
645
645
|
presetId: bigint;
|
|
646
|
-
limit?: number | undefined;
|
|
647
646
|
cursor?: string | undefined;
|
|
647
|
+
limit?: number | undefined;
|
|
648
648
|
}>;
|
|
649
649
|
export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
|
|
650
650
|
export interface GetLocationPresetLocationsResponseDto {
|
|
@@ -704,7 +704,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
704
704
|
maxLength: number;
|
|
705
705
|
}>, "many">>;
|
|
706
706
|
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
707
|
-
core: z.ZodUnion<[z.ZodLiteral<"
|
|
707
|
+
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">[]]>;
|
|
708
708
|
name: z.ZodString;
|
|
709
709
|
appearance: z.ZodString;
|
|
710
710
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -721,18 +721,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
721
721
|
url?: string | undefined;
|
|
722
722
|
}>, "many">>;
|
|
723
723
|
}, "strip", z.ZodTypeAny, {
|
|
724
|
-
appearance: string;
|
|
725
724
|
name: string;
|
|
726
|
-
|
|
725
|
+
appearance: string;
|
|
726
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
727
727
|
images?: {
|
|
728
728
|
description: string;
|
|
729
729
|
name?: string | undefined;
|
|
730
730
|
url?: string | undefined;
|
|
731
731
|
}[] | undefined;
|
|
732
732
|
}, {
|
|
733
|
-
appearance: string;
|
|
734
733
|
name: string;
|
|
735
|
-
|
|
734
|
+
appearance: string;
|
|
735
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
736
736
|
images?: {
|
|
737
737
|
description: string;
|
|
738
738
|
name?: string | undefined;
|
|
@@ -762,9 +762,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
762
762
|
maxLength: number;
|
|
763
763
|
}[] | undefined;
|
|
764
764
|
gimmicks?: {
|
|
765
|
-
appearance: string;
|
|
766
765
|
name: string;
|
|
767
|
-
|
|
766
|
+
appearance: string;
|
|
767
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
768
768
|
images?: {
|
|
769
769
|
description: string;
|
|
770
770
|
name?: string | undefined;
|
|
@@ -794,9 +794,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
794
794
|
maxLength: number;
|
|
795
795
|
}[] | undefined;
|
|
796
796
|
gimmicks?: {
|
|
797
|
-
appearance: string;
|
|
798
797
|
name: string;
|
|
799
|
-
|
|
798
|
+
appearance: string;
|
|
799
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
800
800
|
images?: {
|
|
801
801
|
description: string;
|
|
802
802
|
name?: string | undefined;
|
|
@@ -832,9 +832,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
832
832
|
maxLength: number;
|
|
833
833
|
}[] | undefined;
|
|
834
834
|
gimmicks?: {
|
|
835
|
-
appearance: string;
|
|
836
835
|
name: string;
|
|
837
|
-
|
|
836
|
+
appearance: string;
|
|
837
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
838
838
|
images?: {
|
|
839
839
|
description: string;
|
|
840
840
|
name?: string | undefined;
|
|
@@ -867,9 +867,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
867
867
|
maxLength: number;
|
|
868
868
|
}[] | undefined;
|
|
869
869
|
gimmicks?: {
|
|
870
|
-
appearance: string;
|
|
871
870
|
name: string;
|
|
872
|
-
|
|
871
|
+
appearance: string;
|
|
872
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
873
873
|
images?: {
|
|
874
874
|
description: string;
|
|
875
875
|
name?: string | undefined;
|
|
@@ -925,8 +925,8 @@ export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
|
|
|
925
925
|
readonly MINIMO: "MINIMO";
|
|
926
926
|
}>>>;
|
|
927
927
|
}, "strip", z.ZodTypeAny, {
|
|
928
|
-
agentId: bigint;
|
|
929
928
|
platform: "API" | "MINIMO";
|
|
929
|
+
agentId: bigint;
|
|
930
930
|
}, {
|
|
931
931
|
agentId: bigint;
|
|
932
932
|
platform?: "API" | "MINIMO" | undefined;
|
|
@@ -959,8 +959,8 @@ export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
|
|
|
959
959
|
readonly MINIMO: "MINIMO";
|
|
960
960
|
}>>>;
|
|
961
961
|
}, "strip", z.ZodTypeAny, {
|
|
962
|
-
agentId: bigint;
|
|
963
962
|
platform: "API" | "MINIMO";
|
|
963
|
+
agentId: bigint;
|
|
964
964
|
}, {
|
|
965
965
|
agentId: bigint;
|
|
966
966
|
platform?: "API" | "MINIMO" | undefined;
|
|
@@ -1158,11 +1158,11 @@ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
|
|
|
1158
1158
|
locationId: z.ZodBigInt;
|
|
1159
1159
|
agentId: z.ZodBigInt;
|
|
1160
1160
|
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
agentId: bigint;
|
|
1162
1161
|
locationId: bigint;
|
|
1163
|
-
}, {
|
|
1164
1162
|
agentId: bigint;
|
|
1163
|
+
}, {
|
|
1165
1164
|
locationId: bigint;
|
|
1165
|
+
agentId: bigint;
|
|
1166
1166
|
}>;
|
|
1167
1167
|
export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
|
|
1168
1168
|
export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
|
|
@@ -1189,11 +1189,11 @@ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
|
|
|
1189
1189
|
locationId: z.ZodBigInt;
|
|
1190
1190
|
agentId: z.ZodBigInt;
|
|
1191
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1192
|
-
agentId: bigint;
|
|
1193
1192
|
locationId: bigint;
|
|
1194
|
-
}, {
|
|
1195
1193
|
agentId: bigint;
|
|
1194
|
+
}, {
|
|
1196
1195
|
locationId: bigint;
|
|
1196
|
+
agentId: bigint;
|
|
1197
1197
|
}>;
|
|
1198
1198
|
export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
|
|
1199
1199
|
export declare const UpdateLocationParamsSchema: z.ZodObject<{
|
|
@@ -1518,12 +1518,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
|
|
|
1518
1518
|
image: z.ZodString;
|
|
1519
1519
|
index: z.ZodOptional<z.ZodNumber>;
|
|
1520
1520
|
}, "strip", z.ZodTypeAny, {
|
|
1521
|
-
image: string;
|
|
1522
1521
|
locationId: bigint;
|
|
1522
|
+
image: string;
|
|
1523
1523
|
index?: number | undefined;
|
|
1524
1524
|
}, {
|
|
1525
|
-
image: string;
|
|
1526
1525
|
locationId: bigint;
|
|
1526
|
+
image: string;
|
|
1527
1527
|
index?: number | undefined;
|
|
1528
1528
|
}>;
|
|
1529
1529
|
export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
|
|
@@ -1558,12 +1558,12 @@ export declare const UpdateLocationAgentIsActiveSchema: z.ZodObject<{
|
|
|
1558
1558
|
agentId: z.ZodBigInt;
|
|
1559
1559
|
isActive: z.ZodBoolean;
|
|
1560
1560
|
}, "strip", z.ZodTypeAny, {
|
|
1561
|
-
agentId: bigint;
|
|
1562
1561
|
locationId: bigint;
|
|
1562
|
+
agentId: bigint;
|
|
1563
1563
|
isActive: boolean;
|
|
1564
1564
|
}, {
|
|
1565
|
-
agentId: bigint;
|
|
1566
1565
|
locationId: bigint;
|
|
1566
|
+
agentId: bigint;
|
|
1567
1567
|
isActive: boolean;
|
|
1568
1568
|
}>;
|
|
1569
1569
|
export type UpdateLocationAgentIsActiveDto = z.infer<typeof UpdateLocationAgentIsActiveSchema>;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const GetImageUploadUrlBodySchema: z.ZodObject<{
|
|
2
|
+
export declare const GetImageUploadUrlBodySchema: z.ZodObject<{
|
|
3
|
+
fileSizeBytes: z.ZodNumber;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
fileSizeBytes: number;
|
|
6
|
+
}, {
|
|
7
|
+
fileSizeBytes: number;
|
|
8
|
+
}>;
|
|
3
9
|
export type GetImageUploadUrlBodyDto = z.infer<typeof GetImageUploadUrlBodySchema>;
|
|
4
10
|
export interface GetImageUploadUrlResponseDto {
|
|
5
11
|
url: string;
|
|
6
|
-
|
|
12
|
+
contentType: string;
|
|
7
13
|
path: string;
|
|
8
14
|
}
|
|
@@ -2,5 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetImageUploadUrlBodySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.GetImageUploadUrlBodySchema = zod_1.z.object({
|
|
5
|
+
exports.GetImageUploadUrlBodySchema = zod_1.z.object({
|
|
6
|
+
fileSizeBytes: zod_1.z
|
|
7
|
+
.number()
|
|
8
|
+
.int()
|
|
9
|
+
.positive()
|
|
10
|
+
.max(1024 * 1024),
|
|
11
|
+
});
|
|
6
12
|
//# sourceMappingURL=upload.requests.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.requests.js","sourceRoot":"","sources":["../../../src/dto/upload/upload.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAOX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"upload.requests.js","sourceRoot":"","sources":["../../../src/dto/upload/upload.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAOX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,aAAa,EAAE,OAAC;SACb,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC;CACpB,CAAC,CAAC"}
|
|
@@ -13,13 +13,13 @@ exports.AgentConfigCoreSchema = zod_1.z.object({
|
|
|
13
13
|
name: zod_1.z.union([
|
|
14
14
|
zod_1.z
|
|
15
15
|
.literal('evaluate_and_actions')
|
|
16
|
-
.describe('
|
|
16
|
+
.describe('Analyzes context first, then acts. Use for agents that need thoughtful, situation-aware responses.'),
|
|
17
17
|
zod_1.z
|
|
18
18
|
.literal('execute_actions')
|
|
19
|
-
.describe('
|
|
19
|
+
.describe('Acts immediately without analysis. Use for fast, reactive agents.'),
|
|
20
20
|
zod_1.z
|
|
21
21
|
.literal('response_every_message')
|
|
22
|
-
.describe('
|
|
22
|
+
.describe('Replies to every message. Use for highly conversational agents.'),
|
|
23
23
|
]),
|
|
24
24
|
});
|
|
25
25
|
exports.CharacterSchema = zod_1.z
|
|
@@ -29,63 +29,67 @@ exports.CharacterSchema = zod_1.z
|
|
|
29
29
|
role: zod_1.z
|
|
30
30
|
.string()
|
|
31
31
|
.max(500)
|
|
32
|
-
.describe("**CRITICAL
|
|
32
|
+
.describe("**CRITICAL**: Agent's primary purpose. Example: 'Helper for crafting agents and discovering treasures'")
|
|
33
33
|
.optional(),
|
|
34
34
|
gender: zod_1.z
|
|
35
35
|
.string()
|
|
36
36
|
.max(30)
|
|
37
|
-
.describe("
|
|
37
|
+
.describe("Agent's gender identity")
|
|
38
38
|
.optional(),
|
|
39
39
|
expertise: zod_1.z
|
|
40
40
|
.string()
|
|
41
41
|
.max(500)
|
|
42
|
-
.describe('
|
|
42
|
+
.describe('Areas of specialized knowledge')
|
|
43
43
|
.optional(),
|
|
44
44
|
backstory: zod_1.z
|
|
45
45
|
.string()
|
|
46
46
|
.max(1000)
|
|
47
|
-
.describe("
|
|
47
|
+
.describe("Agent's history and past experiences")
|
|
48
48
|
.optional(),
|
|
49
49
|
})
|
|
50
|
-
.describe("
|
|
50
|
+
.describe("Agent's core identity and background")
|
|
51
51
|
.optional(),
|
|
52
52
|
speech: zod_1.z
|
|
53
53
|
.object({
|
|
54
54
|
tone: zod_1.z
|
|
55
55
|
.string()
|
|
56
56
|
.max(500)
|
|
57
|
-
.describe(
|
|
57
|
+
.describe('Emotional quality (e.g., warm, serious, playful)')
|
|
58
58
|
.optional(),
|
|
59
59
|
style: zod_1.z
|
|
60
60
|
.string()
|
|
61
61
|
.max(500)
|
|
62
|
-
.describe(
|
|
62
|
+
.describe('Expression style (e.g., concise, verbose, poetic)')
|
|
63
63
|
.optional(),
|
|
64
64
|
formality: zod_1.z
|
|
65
65
|
.string()
|
|
66
66
|
.max(500)
|
|
67
|
-
.describe('
|
|
67
|
+
.describe('Language formality level (e.g., casual, professional, formal)')
|
|
68
68
|
.optional(),
|
|
69
69
|
})
|
|
70
|
-
.describe(
|
|
70
|
+
.describe('How the agent communicates')
|
|
71
71
|
.optional(),
|
|
72
72
|
personality: zod_1.z
|
|
73
73
|
.object({
|
|
74
|
-
traits: zod_1.z
|
|
74
|
+
traits: zod_1.z
|
|
75
|
+
.string()
|
|
76
|
+
.max(500)
|
|
77
|
+
.describe('Defining characteristics')
|
|
78
|
+
.optional(),
|
|
75
79
|
interests: zod_1.z
|
|
76
80
|
.string()
|
|
77
81
|
.max(500)
|
|
78
|
-
.describe('
|
|
82
|
+
.describe('Topics and activities the agent enjoys')
|
|
79
83
|
.optional(),
|
|
80
84
|
values: zod_1.z
|
|
81
85
|
.string()
|
|
82
86
|
.max(500)
|
|
83
|
-
.describe(
|
|
87
|
+
.describe('Core principles guiding behavior')
|
|
84
88
|
.optional(),
|
|
85
89
|
quirks: zod_1.z
|
|
86
90
|
.string()
|
|
87
91
|
.max(500)
|
|
88
|
-
.describe('
|
|
92
|
+
.describe('Unique habits or mannerisms')
|
|
89
93
|
.optional(),
|
|
90
94
|
mbti: zod_1.z
|
|
91
95
|
.union([
|
|
@@ -108,33 +112,29 @@ exports.CharacterSchema = zod_1.z
|
|
|
108
112
|
])
|
|
109
113
|
.optional(),
|
|
110
114
|
})
|
|
111
|
-
.describe("
|
|
115
|
+
.describe("Agent's personality traits and behaviors")
|
|
112
116
|
.optional(),
|
|
113
117
|
})
|
|
114
|
-
.describe(
|
|
118
|
+
.describe('Structured character definition with background, speech style, and personality');
|
|
115
119
|
const LlmPresetSchema = zod_1.z.union([
|
|
116
|
-
zod_1.z.literal('free').describe('Free tier
|
|
120
|
+
zod_1.z.literal('free').describe('Free tier: Basic capabilities'),
|
|
117
121
|
zod_1.z
|
|
118
122
|
.literal('gemini-low')
|
|
119
|
-
.describe('Gemini
|
|
123
|
+
.describe('Gemini Low: Cost-effective for simple tasks'),
|
|
120
124
|
zod_1.z
|
|
121
125
|
.literal('gemini-medium')
|
|
122
|
-
.describe('Gemini
|
|
126
|
+
.describe('Gemini Medium: **RECOMMENDED**. Best balanced performance for general use. Primary choice for most applications'),
|
|
123
127
|
zod_1.z
|
|
124
128
|
.literal('gemini-high')
|
|
125
|
-
.describe('Gemini
|
|
126
|
-
zod_1.z
|
|
127
|
-
.literal('openai-low')
|
|
128
|
-
.describe('OpenAI GPT - Budget-friendly model designed for elementary tasks and routine operations. Efficient for basic conversational needs.'),
|
|
129
|
+
.describe('Gemini High: Premium reasoning for complex tasks. Higher cost and slower'),
|
|
130
|
+
zod_1.z.literal('openai-low').describe('OpenAI Low: Budget-friendly alternative'),
|
|
129
131
|
zod_1.z
|
|
130
132
|
.literal('openai-medium')
|
|
131
|
-
.describe('OpenAI
|
|
132
|
-
zod_1.z
|
|
133
|
-
.literal('xai-low')
|
|
134
|
-
.describe('xAI Grok - Budget-friendly model optimized for efficient processing and basic conversational tasks. Cost-effective option for routine operations.'),
|
|
133
|
+
.describe('OpenAI Medium: Alternative versatile option'),
|
|
134
|
+
zod_1.z.literal('xai-low').describe('xAI Grok Low: Alternative for routine tasks'),
|
|
135
135
|
zod_1.z
|
|
136
136
|
.literal('xai-medium')
|
|
137
|
-
.describe('xAI Grok
|
|
137
|
+
.describe('xAI Grok Medium: Alternative balanced option'),
|
|
138
138
|
]);
|
|
139
139
|
exports.AgentConfigSchema = zod_1.z.object({
|
|
140
140
|
name: zod_1.z.string().max(64).describe('Agent name'),
|
|
@@ -145,43 +145,39 @@ exports.AgentConfigSchema = zod_1.z.object({
|
|
|
145
145
|
.string()
|
|
146
146
|
.max(2048)
|
|
147
147
|
.regex(/^https?:\/\/.+/)
|
|
148
|
-
.describe('
|
|
149
|
-
zod_1.z.string().max(32).describe('Location message image key
|
|
148
|
+
.describe('Official CDN URL (webp only)'),
|
|
149
|
+
zod_1.z.string().max(32).describe('Location message image key'),
|
|
150
150
|
])
|
|
151
|
-
.describe('Visual representation
|
|
151
|
+
.describe('Visual representation: predefined avatars, CDN URLs, or image keys. Predefined avatars auto-update the appearance field'),
|
|
152
152
|
appearance: zod_1.z
|
|
153
153
|
.string()
|
|
154
154
|
.max(500)
|
|
155
|
-
.describe("
|
|
156
|
-
core: exports.AgentConfigCoreSchema.describe('
|
|
157
|
-
llmPreset: LlmPresetSchema.describe('AI model selection
|
|
155
|
+
.describe("Character description for the agent's internal use. Influences role-playing, communication style, and behavior. Auto-updated with predefined avatars, but update manually for custom images to maintain consistency"),
|
|
156
|
+
core: exports.AgentConfigCoreSchema.describe('Behavior pattern determining when and how the agent takes actions'),
|
|
157
|
+
llmPreset: LlmPresetSchema.describe('AI model selection. Higher tiers = better reasoning + higher cost'),
|
|
158
158
|
languages: zod_1.z
|
|
159
159
|
.array(zod_1.z.string().max(32))
|
|
160
160
|
.max(4)
|
|
161
|
-
.describe('
|
|
161
|
+
.describe('Languages (max 4). "ALL" is a special keyword enabling global multi-language support while maintaining the specified primary language(s). Examples: ["English"] = English only, ["ALL", "English"] = can communicate in any language worldwide but primarily uses English, ["ALL", "Korean", "English"] = global languages with Korean as primary and English as secondary, ["Spanish", "French"] = only Spanish and French without ALL keyword'),
|
|
162
162
|
timeZone: zod_1.z
|
|
163
163
|
.string()
|
|
164
164
|
.max(32)
|
|
165
|
-
.describe('
|
|
165
|
+
.describe('IANA timezone for time operations (e.g., "America/New_York", "Europe/London", "UTC")'),
|
|
166
166
|
greeting: zod_1.z
|
|
167
167
|
.string()
|
|
168
168
|
.max(500)
|
|
169
|
-
.describe("
|
|
169
|
+
.describe("First message sent when joining a location. Should reflect the agent's character"),
|
|
170
170
|
actions: zod_1.z
|
|
171
171
|
.array(zod_1.z.union([
|
|
172
|
-
zod_1.z
|
|
173
|
-
|
|
174
|
-
.describe('Placeholder for future action capabilities - to be implemented'),
|
|
175
|
-
zod_1.z
|
|
176
|
-
.literal('todo')
|
|
177
|
-
.describe('Placeholder for future action capabilities - to be implemented'),
|
|
172
|
+
zod_1.z.literal('todo').describe('Placeholder - to be implemented'),
|
|
173
|
+
zod_1.z.literal('todo').describe('Placeholder - to be implemented'),
|
|
178
174
|
]))
|
|
179
175
|
.max(4)
|
|
180
|
-
.describe(
|
|
176
|
+
.describe('Capabilities beyond conversation (e.g., tools, integrations)'),
|
|
181
177
|
character: exports.CharacterSchema,
|
|
182
178
|
rules: zod_1.z
|
|
183
179
|
.array(zod_1.z.string().max(200))
|
|
184
180
|
.max(20)
|
|
185
|
-
.describe('
|
|
181
|
+
.describe('Strict constraints that cannot be violated. Use character field for personality; use rules only for mandatory restrictions'),
|
|
186
182
|
});
|
|
187
183
|
//# sourceMappingURL=agent.config.js.map
|
|
@@ -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,
|
|
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,oGAAoG,CACrG;QACH,OAAC;aACE,OAAO,CAAC,iBAAiB,CAAC;aAC1B,QAAQ,CACP,mEAAmE,CACpE;QACH,OAAC;aACE,OAAO,CAAC,wBAAwB,CAAC;aACjC,QAAQ,CACP,iEAAiE,CAClE;KACJ,CAAC;CACH,CAAC,CAAC;AAIU,QAAA,eAAe,GAAG,OAAC;KAC7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}>, "many">>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
66
|
name: string;
|
|
67
|
-
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
68
67
|
appearance: string;
|
|
68
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
69
69
|
images?: {
|
|
70
70
|
description: string;
|
|
71
71
|
name?: string | undefined;
|
|
@@ -73,8 +73,8 @@ export declare const LocationConfigGimmickSchema: z.ZodObject<{
|
|
|
73
73
|
}[] | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
name: string;
|
|
76
|
-
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
77
76
|
appearance: string;
|
|
77
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
78
78
|
images?: {
|
|
79
79
|
description: string;
|
|
80
80
|
name?: string | undefined;
|
|
@@ -149,8 +149,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
149
149
|
}>, "many">>;
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
|
151
151
|
name: string;
|
|
152
|
-
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
153
152
|
appearance: string;
|
|
153
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
154
154
|
images?: {
|
|
155
155
|
description: string;
|
|
156
156
|
name?: string | undefined;
|
|
@@ -158,8 +158,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
158
158
|
}[] | undefined;
|
|
159
159
|
}, {
|
|
160
160
|
name: string;
|
|
161
|
-
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
162
161
|
appearance: string;
|
|
162
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
163
163
|
images?: {
|
|
164
164
|
description: string;
|
|
165
165
|
name?: string | undefined;
|
|
@@ -175,9 +175,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
175
175
|
interval?: number | undefined;
|
|
176
176
|
maxAgentExecutions?: number | null | undefined;
|
|
177
177
|
};
|
|
178
|
+
rules: string[];
|
|
178
179
|
thumbnail: string | null;
|
|
179
180
|
environment: "CHAT" | "NOVEL";
|
|
180
|
-
rules: string[];
|
|
181
181
|
canvases: {
|
|
182
182
|
name: string;
|
|
183
183
|
description: string;
|
|
@@ -190,8 +190,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
190
190
|
}[];
|
|
191
191
|
gimmicks: {
|
|
192
192
|
name: string;
|
|
193
|
-
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
194
193
|
appearance: string;
|
|
194
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
195
195
|
images?: {
|
|
196
196
|
description: string;
|
|
197
197
|
name?: string | undefined;
|
|
@@ -207,9 +207,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
207
207
|
interval?: number | undefined;
|
|
208
208
|
maxAgentExecutions?: number | null | undefined;
|
|
209
209
|
};
|
|
210
|
+
rules: string[];
|
|
210
211
|
thumbnail: string | null;
|
|
211
212
|
environment: "CHAT" | "NOVEL";
|
|
212
|
-
rules: string[];
|
|
213
213
|
canvases: {
|
|
214
214
|
name: string;
|
|
215
215
|
description: string;
|
|
@@ -222,8 +222,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
222
222
|
}[];
|
|
223
223
|
gimmicks: {
|
|
224
224
|
name: string;
|
|
225
|
-
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
226
225
|
appearance: string;
|
|
226
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
|
|
227
227
|
images?: {
|
|
228
228
|
description: string;
|
|
229
229
|
name?: string | undefined;
|
|
@@ -7,52 +7,50 @@ const location_constants_1 = require("./location.constants");
|
|
|
7
7
|
exports.LocationEnvironmentSchema = zod_1.z.union([
|
|
8
8
|
zod_1.z
|
|
9
9
|
.literal(location_constants_1.LocationEnvironment.CHAT)
|
|
10
|
-
.describe('Standard
|
|
10
|
+
.describe('Standard chat environment for general conversations'),
|
|
11
11
|
zod_1.z
|
|
12
12
|
.literal(location_constants_1.LocationEnvironment.NOVEL)
|
|
13
|
-
.describe('Novel environment with UI
|
|
13
|
+
.describe('Novel writing environment with specialized UI'),
|
|
14
14
|
]);
|
|
15
15
|
exports.LocationConfigCoreSchema = zod_1.z.object({
|
|
16
16
|
name: zod_1.z.union([
|
|
17
|
-
zod_1.z.literal('round_robin').describe('
|
|
18
|
-
zod_1.z
|
|
19
|
-
|
|
20
|
-
.describe('Continuously update agents without stopping'),
|
|
21
|
-
zod_1.z.literal('update_once').describe('Execute agents only once per cycle'),
|
|
17
|
+
zod_1.z.literal('round_robin').describe('Agents take turns in rotation'),
|
|
18
|
+
zod_1.z.literal('update_forever').describe('Agents update continuously'),
|
|
19
|
+
zod_1.z.literal('update_once').describe('Agents execute once per cycle'),
|
|
22
20
|
zod_1.z
|
|
23
21
|
.literal('update_until_idle')
|
|
24
|
-
.describe('
|
|
22
|
+
.describe('Agents update until no more actions'),
|
|
25
23
|
]),
|
|
26
|
-
sequential: zod_1.z.boolean().optional().describe('Execute
|
|
24
|
+
sequential: zod_1.z.boolean().optional().describe('Execute in fixed order'),
|
|
27
25
|
interval: zod_1.z
|
|
28
26
|
.number()
|
|
29
27
|
.min(0)
|
|
30
28
|
.max(60 * 60 * 1000)
|
|
31
29
|
.optional()
|
|
32
|
-
.describe('
|
|
30
|
+
.describe('Milliseconds between agent executions. Uses default if unspecified'),
|
|
33
31
|
maxAgentExecutions: zod_1.z
|
|
34
32
|
.number()
|
|
35
33
|
.min(1)
|
|
36
34
|
.max(10)
|
|
37
35
|
.nullable()
|
|
38
36
|
.optional()
|
|
39
|
-
.describe('
|
|
37
|
+
.describe('Max agent executions per cycle'),
|
|
40
38
|
});
|
|
41
39
|
exports.LocationConfigCanvasSchema = zod_1.z.object({
|
|
42
40
|
name: zod_1.z
|
|
43
41
|
.string()
|
|
44
42
|
.max(32)
|
|
45
43
|
.regex(/^[a-zA-Z_]+$/, 'Name must contain only letters and underscores')
|
|
46
|
-
.describe('Unique identifier
|
|
44
|
+
.describe('Unique identifier agents use to reference this canvas'),
|
|
47
45
|
description: zod_1.z
|
|
48
46
|
.string()
|
|
49
47
|
.max(1000)
|
|
50
|
-
.describe('
|
|
48
|
+
.describe('Purpose and usage guide for agents'),
|
|
51
49
|
maxLength: zod_1.z
|
|
52
50
|
.number()
|
|
53
51
|
.min(100)
|
|
54
52
|
.max(5000)
|
|
55
|
-
.describe('
|
|
53
|
+
.describe('Character limit for canvas content'),
|
|
56
54
|
});
|
|
57
55
|
exports.LocationConfigGimmickImageSchema = zod_1.z.object({
|
|
58
56
|
url: zod_1.z.union([
|
|
@@ -61,34 +59,27 @@ exports.LocationConfigGimmickImageSchema = zod_1.z.object({
|
|
|
61
59
|
.max(2048)
|
|
62
60
|
.regex(/^https?:\/\/.+/)
|
|
63
61
|
.optional()
|
|
64
|
-
.describe('
|
|
65
|
-
zod_1.z.string().max(32).describe('
|
|
62
|
+
.describe('Official CDN URL (webp only)'),
|
|
63
|
+
zod_1.z.string().max(32).describe('Location message image key'),
|
|
66
64
|
]),
|
|
67
|
-
name: zod_1.z
|
|
68
|
-
.string()
|
|
69
|
-
.max(64)
|
|
70
|
-
.optional()
|
|
71
|
-
.describe('Optional name identifying this reference image'),
|
|
65
|
+
name: zod_1.z.string().max(64).optional().describe('Name for this reference image'),
|
|
72
66
|
description: zod_1.z
|
|
73
67
|
.string()
|
|
74
68
|
.max(500)
|
|
75
|
-
.describe('Stable Diffusion
|
|
69
|
+
.describe('Stable Diffusion prompt describing the image'),
|
|
76
70
|
});
|
|
77
71
|
exports.LocationConfigGimmickSchema = zod_1.z.object({
|
|
78
|
-
core: gimmicks_1.GimmickCoreSchema.describe('
|
|
79
|
-
name: zod_1.z
|
|
80
|
-
.string()
|
|
81
|
-
.max(64)
|
|
82
|
-
.describe('Gimmick display name for identification purposes'),
|
|
72
|
+
core: gimmicks_1.GimmickCoreSchema.describe('Gimmick type determining behavior'),
|
|
73
|
+
name: zod_1.z.string().max(64).describe('Display name'),
|
|
83
74
|
appearance: zod_1.z
|
|
84
75
|
.string()
|
|
85
76
|
.max(500)
|
|
86
|
-
.describe('
|
|
77
|
+
.describe('For character_image_generator: base appearance prompt. For others: how it appears in the location'),
|
|
87
78
|
images: zod_1.z
|
|
88
79
|
.array(exports.LocationConfigGimmickImageSchema)
|
|
89
80
|
.max(6)
|
|
90
81
|
.optional()
|
|
91
|
-
.describe('Reference images
|
|
82
|
+
.describe('Reference images. image_generator: url+description. character_image_generator: name+description only. scene_image_generator: url+name+description for character references'),
|
|
92
83
|
});
|
|
93
84
|
exports.LocationConfigSchema = zod_1.z.object({
|
|
94
85
|
name: zod_1.z.string().max(64).describe('Location name'),
|
|
@@ -98,32 +89,32 @@ exports.LocationConfigSchema = zod_1.z.object({
|
|
|
98
89
|
.string()
|
|
99
90
|
.max(2048)
|
|
100
91
|
.regex(/^https?:\/\/.+/)
|
|
101
|
-
.describe('
|
|
102
|
-
zod_1.z.string().max(32).describe('Location message image key
|
|
92
|
+
.describe('Official CDN URL (webp only)'),
|
|
93
|
+
zod_1.z.string().max(32).describe('Location message image key'),
|
|
103
94
|
])
|
|
104
95
|
.nullable()
|
|
105
|
-
.describe('Location thumbnail
|
|
106
|
-
environment: exports.LocationEnvironmentSchema.describe('
|
|
107
|
-
core: exports.LocationConfigCoreSchema.describe('
|
|
96
|
+
.describe('Location thumbnail. Supports CDN URLs and image keys'),
|
|
97
|
+
environment: exports.LocationEnvironmentSchema.describe('Environment determining context and behavior'),
|
|
98
|
+
core: exports.LocationConfigCoreSchema.describe('Agent execution behavior. Use defaults unless needed'),
|
|
108
99
|
description: zod_1.z
|
|
109
100
|
.string()
|
|
110
101
|
.max(1000)
|
|
111
|
-
.describe('
|
|
102
|
+
.describe('Location description providing context to agents'),
|
|
112
103
|
rules: zod_1.z
|
|
113
104
|
.array(zod_1.z.string().max(200))
|
|
114
105
|
.max(20)
|
|
115
|
-
.describe('
|
|
106
|
+
.describe('Strict constraints all agents must enforce. Cannot be violated. Override agent preferences'),
|
|
116
107
|
canvases: zod_1.z
|
|
117
108
|
.array(exports.LocationConfigCanvasSchema)
|
|
118
109
|
.max(4)
|
|
119
|
-
.describe('Shared canvases
|
|
110
|
+
.describe('Shared canvases accessible to all entities'),
|
|
120
111
|
agentCanvases: zod_1.z
|
|
121
112
|
.array(exports.LocationConfigCanvasSchema)
|
|
122
113
|
.max(4)
|
|
123
|
-
.describe('Private
|
|
114
|
+
.describe('Private canvases for individual agents'),
|
|
124
115
|
gimmicks: zod_1.z
|
|
125
116
|
.array(exports.LocationConfigGimmickSchema)
|
|
126
117
|
.max(4)
|
|
127
|
-
.describe('
|
|
118
|
+
.describe('Tools agents can execute (e.g., web search, social media)'),
|
|
128
119
|
});
|
|
129
120
|
//# sourceMappingURL=location.config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.config.js","sourceRoot":"","sources":["../../../src/models/locations/location.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,0DAAgE;AAEhE,6DAA2D;AAE9C,QAAA,yBAAyB,GAAG,OAAC,CAAC,KAAK,CAAC;IAC/C,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,IAAI,CAAC;SACjC,QAAQ,
|
|
1
|
+
{"version":3,"file":"location.config.js","sourceRoot":"","sources":["../../../src/models/locations/location.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,0DAAgE;AAEhE,6DAA2D;AAE9C,QAAA,yBAAyB,GAAG,OAAC,CAAC,KAAK,CAAC;IAC/C,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,IAAI,CAAC;SACjC,QAAQ,CAAC,qDAAqD,CAAC;IAClE,OAAC;SACE,OAAO,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