@little-samo/samo-ai-sdk 0.3.3 → 0.4.1
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 +58 -30
- package/dist/dto/entities/gimmicks/gimmick.config.d.ts +2 -3
- package/dist/dto/entities/gimmicks/gimmick.config.js +1 -2
- package/dist/dto/entities/gimmicks/gimmick.config.js.map +1 -1
- package/dist/dto/entities/users/user.d.ts +9 -0
- package/dist/dto/entities/users/user.requests.d.ts +41 -1
- package/dist/dto/entities/users/user.requests.js +13 -1
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/images/image.requests.d.ts +17 -0
- package/dist/dto/images/image.requests.js +9 -0
- package/dist/dto/images/image.requests.js.map +1 -0
- package/dist/dto/images/index.d.ts +1 -0
- package/dist/dto/images/index.js +18 -0
- package/dist/dto/images/index.js.map +1 -0
- package/dist/dto/index.d.ts +1 -0
- package/dist/dto/index.js +1 -0
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/locations/location.preset.d.ts +5 -1
- package/dist/dto/locations/location.preset.js.map +1 -1
- package/dist/dto/locations/location.requests.d.ts +1067 -169
- package/dist/dto/locations/location.requests.js +13 -8
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/dist/models/entities/agents/agent.config.d.ts +25 -9
- package/dist/models/entities/agents/agent.config.js +13 -3
- 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 +1 -1
- package/dist/models/locations/location.config.js.map +1 -1
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@ import { z } from 'zod';
|
|
|
4
4
|
import { LocationConfig } from '../../models/locations/location.config';
|
|
5
5
|
import { LocationContentDto, LocationCostDto, LocationListItemDto, LocationPrivateDto } from './location';
|
|
6
6
|
import { LocationMessageDto } from './location.message';
|
|
7
|
-
import { LocationPresetDetailDto, LocationPresetDto } from './location.preset';
|
|
7
|
+
import { LocationPresetDetailDto, LocationPresetDto, LocationPresetPrivateDto } from './location.preset';
|
|
8
8
|
import { LocationScheduledMessageDto } from './location.scheduled-message';
|
|
9
9
|
import { LocationSnapshotDto } from './location.snapshot';
|
|
10
10
|
import type { AgentPrivateDto } from '../entities';
|
|
@@ -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<"web_search" | "image_generator" | "character_image_generator" | "
|
|
121
|
+
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_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
|
-
name: string;
|
|
139
138
|
appearance: string;
|
|
140
|
-
|
|
139
|
+
name: string;
|
|
140
|
+
core: "web_search" | "image_generator" | "character_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
|
-
name: string;
|
|
148
147
|
appearance: string;
|
|
149
|
-
|
|
148
|
+
name: string;
|
|
149
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
150
150
|
images?: {
|
|
151
151
|
description: string;
|
|
152
152
|
name?: string | undefined;
|
|
@@ -155,16 +155,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
155
155
|
}>, "many">>;
|
|
156
156
|
}, "strict", z.ZodTypeAny, {
|
|
157
157
|
name?: string | undefined;
|
|
158
|
-
|
|
158
|
+
thumbnail?: string | null | undefined;
|
|
159
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
159
160
|
core?: {
|
|
160
161
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
161
162
|
sequential?: boolean | undefined;
|
|
162
163
|
interval?: number | undefined;
|
|
163
164
|
maxAgentExecutions?: number | null | undefined;
|
|
164
165
|
} | undefined;
|
|
166
|
+
description?: string | undefined;
|
|
165
167
|
rules?: string[] | undefined;
|
|
166
|
-
thumbnail?: string | null | undefined;
|
|
167
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
168
168
|
canvases?: {
|
|
169
169
|
name: string;
|
|
170
170
|
description: string;
|
|
@@ -176,9 +176,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
176
176
|
maxLength: number;
|
|
177
177
|
}[] | undefined;
|
|
178
178
|
gimmicks?: {
|
|
179
|
-
name: string;
|
|
180
179
|
appearance: string;
|
|
181
|
-
|
|
180
|
+
name: string;
|
|
181
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
182
182
|
images?: {
|
|
183
183
|
description: string;
|
|
184
184
|
name?: string | undefined;
|
|
@@ -187,16 +187,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
187
187
|
}[] | undefined;
|
|
188
188
|
}, {
|
|
189
189
|
name?: string | undefined;
|
|
190
|
-
|
|
190
|
+
thumbnail?: string | null | undefined;
|
|
191
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
191
192
|
core?: {
|
|
192
193
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
193
194
|
sequential?: boolean | undefined;
|
|
194
195
|
interval?: number | undefined;
|
|
195
196
|
maxAgentExecutions?: number | null | undefined;
|
|
196
197
|
} | undefined;
|
|
198
|
+
description?: string | undefined;
|
|
197
199
|
rules?: string[] | undefined;
|
|
198
|
-
thumbnail?: string | null | undefined;
|
|
199
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
200
200
|
canvases?: {
|
|
201
201
|
name: string;
|
|
202
202
|
description: string;
|
|
@@ -208,9 +208,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
208
208
|
maxLength: number;
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
gimmicks?: {
|
|
211
|
-
name: string;
|
|
212
211
|
appearance: string;
|
|
213
|
-
|
|
212
|
+
name: string;
|
|
213
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
214
214
|
images?: {
|
|
215
215
|
description: string;
|
|
216
216
|
name?: string | undefined;
|
|
@@ -222,16 +222,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
222
222
|
locationId: bigint;
|
|
223
223
|
config: {
|
|
224
224
|
name?: string | undefined;
|
|
225
|
-
|
|
225
|
+
thumbnail?: string | null | undefined;
|
|
226
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
226
227
|
core?: {
|
|
227
228
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
228
229
|
sequential?: boolean | undefined;
|
|
229
230
|
interval?: number | undefined;
|
|
230
231
|
maxAgentExecutions?: number | null | undefined;
|
|
231
232
|
} | undefined;
|
|
233
|
+
description?: string | undefined;
|
|
232
234
|
rules?: string[] | undefined;
|
|
233
|
-
thumbnail?: string | null | undefined;
|
|
234
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
235
235
|
canvases?: {
|
|
236
236
|
name: string;
|
|
237
237
|
description: string;
|
|
@@ -243,9 +243,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
243
243
|
maxLength: number;
|
|
244
244
|
}[] | undefined;
|
|
245
245
|
gimmicks?: {
|
|
246
|
-
name: string;
|
|
247
246
|
appearance: string;
|
|
248
|
-
|
|
247
|
+
name: string;
|
|
248
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
249
249
|
images?: {
|
|
250
250
|
description: string;
|
|
251
251
|
name?: string | undefined;
|
|
@@ -257,16 +257,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
257
257
|
locationId: bigint;
|
|
258
258
|
config: {
|
|
259
259
|
name?: string | undefined;
|
|
260
|
-
|
|
260
|
+
thumbnail?: string | null | undefined;
|
|
261
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
261
262
|
core?: {
|
|
262
263
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
263
264
|
sequential?: boolean | undefined;
|
|
264
265
|
interval?: number | undefined;
|
|
265
266
|
maxAgentExecutions?: number | null | undefined;
|
|
266
267
|
} | undefined;
|
|
268
|
+
description?: string | undefined;
|
|
267
269
|
rules?: string[] | undefined;
|
|
268
|
-
thumbnail?: string | null | undefined;
|
|
269
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
270
270
|
canvases?: {
|
|
271
271
|
name: string;
|
|
272
272
|
description: string;
|
|
@@ -278,9 +278,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
278
278
|
maxLength: number;
|
|
279
279
|
}[] | undefined;
|
|
280
280
|
gimmicks?: {
|
|
281
|
-
name: string;
|
|
282
281
|
appearance: string;
|
|
283
|
-
|
|
282
|
+
name: string;
|
|
283
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
284
284
|
images?: {
|
|
285
285
|
description: string;
|
|
286
286
|
name?: string | undefined;
|
|
@@ -406,11 +406,542 @@ export interface TrendingLocationPresetsResponseDto {
|
|
|
406
406
|
data: LocationPresetDetailDto[];
|
|
407
407
|
}
|
|
408
408
|
export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
409
|
-
locationId: z.ZodBigInt
|
|
409
|
+
locationId: z.ZodOptional<z.ZodBigInt>;
|
|
410
410
|
visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
|
|
411
411
|
name: z.ZodOptional<z.ZodString>;
|
|
412
412
|
presetDescription: z.ZodString;
|
|
413
413
|
presetShortDescription: z.ZodString;
|
|
414
|
+
hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
415
|
+
isAllowImport: z.ZodOptional<z.ZodBoolean>;
|
|
416
|
+
isSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
417
|
+
locationConfig: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
name: z.ZodOptional<z.ZodString>;
|
|
419
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
420
|
+
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
|
|
421
|
+
core: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
|
|
423
|
+
sequential: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
425
|
+
maxAgentExecutions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
426
|
+
}, "strip", z.ZodTypeAny, {
|
|
427
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
428
|
+
sequential?: boolean | undefined;
|
|
429
|
+
interval?: number | undefined;
|
|
430
|
+
maxAgentExecutions?: number | null | undefined;
|
|
431
|
+
}, {
|
|
432
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
433
|
+
sequential?: boolean | undefined;
|
|
434
|
+
interval?: number | undefined;
|
|
435
|
+
maxAgentExecutions?: number | null | undefined;
|
|
436
|
+
}>>;
|
|
437
|
+
description: z.ZodOptional<z.ZodString>;
|
|
438
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
439
|
+
canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
440
|
+
name: z.ZodString;
|
|
441
|
+
description: z.ZodString;
|
|
442
|
+
maxLength: z.ZodNumber;
|
|
443
|
+
}, "strip", z.ZodTypeAny, {
|
|
444
|
+
name: string;
|
|
445
|
+
description: string;
|
|
446
|
+
maxLength: number;
|
|
447
|
+
}, {
|
|
448
|
+
name: string;
|
|
449
|
+
description: string;
|
|
450
|
+
maxLength: number;
|
|
451
|
+
}>, "many">>;
|
|
452
|
+
agentCanvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
453
|
+
name: z.ZodString;
|
|
454
|
+
description: z.ZodString;
|
|
455
|
+
maxLength: z.ZodNumber;
|
|
456
|
+
}, "strip", z.ZodTypeAny, {
|
|
457
|
+
name: string;
|
|
458
|
+
description: string;
|
|
459
|
+
maxLength: number;
|
|
460
|
+
}, {
|
|
461
|
+
name: string;
|
|
462
|
+
description: string;
|
|
463
|
+
maxLength: number;
|
|
464
|
+
}>, "many">>;
|
|
465
|
+
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
466
|
+
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">[]]>;
|
|
467
|
+
name: z.ZodString;
|
|
468
|
+
appearance: z.ZodString;
|
|
469
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
470
|
+
url: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodString]>;
|
|
471
|
+
name: z.ZodOptional<z.ZodString>;
|
|
472
|
+
description: z.ZodString;
|
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
|
474
|
+
description: string;
|
|
475
|
+
name?: string | undefined;
|
|
476
|
+
url?: string | undefined;
|
|
477
|
+
}, {
|
|
478
|
+
description: string;
|
|
479
|
+
name?: string | undefined;
|
|
480
|
+
url?: string | undefined;
|
|
481
|
+
}>, "many">>;
|
|
482
|
+
}, "strip", z.ZodTypeAny, {
|
|
483
|
+
appearance: string;
|
|
484
|
+
name: string;
|
|
485
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
486
|
+
images?: {
|
|
487
|
+
description: string;
|
|
488
|
+
name?: string | undefined;
|
|
489
|
+
url?: string | undefined;
|
|
490
|
+
}[] | undefined;
|
|
491
|
+
}, {
|
|
492
|
+
appearance: string;
|
|
493
|
+
name: string;
|
|
494
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
495
|
+
images?: {
|
|
496
|
+
description: string;
|
|
497
|
+
name?: string | undefined;
|
|
498
|
+
url?: string | undefined;
|
|
499
|
+
}[] | undefined;
|
|
500
|
+
}>, "many">>;
|
|
501
|
+
}, "strip", z.ZodTypeAny, {
|
|
502
|
+
name?: string | undefined;
|
|
503
|
+
thumbnail?: string | null | undefined;
|
|
504
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
505
|
+
core?: {
|
|
506
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
507
|
+
sequential?: boolean | undefined;
|
|
508
|
+
interval?: number | undefined;
|
|
509
|
+
maxAgentExecutions?: number | null | undefined;
|
|
510
|
+
} | undefined;
|
|
511
|
+
description?: string | undefined;
|
|
512
|
+
rules?: string[] | undefined;
|
|
513
|
+
canvases?: {
|
|
514
|
+
name: string;
|
|
515
|
+
description: string;
|
|
516
|
+
maxLength: number;
|
|
517
|
+
}[] | undefined;
|
|
518
|
+
agentCanvases?: {
|
|
519
|
+
name: string;
|
|
520
|
+
description: string;
|
|
521
|
+
maxLength: number;
|
|
522
|
+
}[] | undefined;
|
|
523
|
+
gimmicks?: {
|
|
524
|
+
appearance: string;
|
|
525
|
+
name: string;
|
|
526
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
527
|
+
images?: {
|
|
528
|
+
description: string;
|
|
529
|
+
name?: string | undefined;
|
|
530
|
+
url?: string | undefined;
|
|
531
|
+
}[] | undefined;
|
|
532
|
+
}[] | undefined;
|
|
533
|
+
}, {
|
|
534
|
+
name?: string | undefined;
|
|
535
|
+
thumbnail?: string | null | undefined;
|
|
536
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
537
|
+
core?: {
|
|
538
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
539
|
+
sequential?: boolean | undefined;
|
|
540
|
+
interval?: number | undefined;
|
|
541
|
+
maxAgentExecutions?: number | null | undefined;
|
|
542
|
+
} | undefined;
|
|
543
|
+
description?: string | undefined;
|
|
544
|
+
rules?: string[] | undefined;
|
|
545
|
+
canvases?: {
|
|
546
|
+
name: string;
|
|
547
|
+
description: string;
|
|
548
|
+
maxLength: number;
|
|
549
|
+
}[] | undefined;
|
|
550
|
+
agentCanvases?: {
|
|
551
|
+
name: string;
|
|
552
|
+
description: string;
|
|
553
|
+
maxLength: number;
|
|
554
|
+
}[] | undefined;
|
|
555
|
+
gimmicks?: {
|
|
556
|
+
appearance: string;
|
|
557
|
+
name: string;
|
|
558
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
559
|
+
images?: {
|
|
560
|
+
description: string;
|
|
561
|
+
name?: string | undefined;
|
|
562
|
+
url?: string | undefined;
|
|
563
|
+
}[] | undefined;
|
|
564
|
+
}[] | undefined;
|
|
565
|
+
}>>;
|
|
566
|
+
agentConfigs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
567
|
+
name: z.ZodOptional<z.ZodString>;
|
|
568
|
+
avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>>;
|
|
569
|
+
referenceAvatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
570
|
+
appearance: z.ZodOptional<z.ZodString>;
|
|
571
|
+
core: z.ZodOptional<z.ZodObject<{
|
|
572
|
+
name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">, z.ZodLiteral<"no_action">]>;
|
|
573
|
+
}, "strip", z.ZodTypeAny, {
|
|
574
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
575
|
+
}, {
|
|
576
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
577
|
+
}>>;
|
|
578
|
+
llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"free">, z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"xai-low">, z.ZodLiteral<"xai-medium">]>>;
|
|
579
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
580
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
581
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
582
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"todo">, z.ZodLiteral<"todo">]>, "many">>;
|
|
583
|
+
character: z.ZodOptional<z.ZodObject<{
|
|
584
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
585
|
+
role: z.ZodOptional<z.ZodString>;
|
|
586
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
587
|
+
age: z.ZodOptional<z.ZodString>;
|
|
588
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
589
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
590
|
+
}, "strip", z.ZodTypeAny, {
|
|
591
|
+
role?: string | undefined;
|
|
592
|
+
gender?: string | undefined;
|
|
593
|
+
age?: string | undefined;
|
|
594
|
+
expertise?: string | undefined;
|
|
595
|
+
backstory?: string | undefined;
|
|
596
|
+
}, {
|
|
597
|
+
role?: string | undefined;
|
|
598
|
+
gender?: string | undefined;
|
|
599
|
+
age?: string | undefined;
|
|
600
|
+
expertise?: string | undefined;
|
|
601
|
+
backstory?: string | undefined;
|
|
602
|
+
}>>;
|
|
603
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
604
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
605
|
+
style: z.ZodOptional<z.ZodString>;
|
|
606
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
607
|
+
}, "strip", z.ZodTypeAny, {
|
|
608
|
+
tone?: string | undefined;
|
|
609
|
+
style?: string | undefined;
|
|
610
|
+
formality?: string | undefined;
|
|
611
|
+
}, {
|
|
612
|
+
tone?: string | undefined;
|
|
613
|
+
style?: string | undefined;
|
|
614
|
+
formality?: string | undefined;
|
|
615
|
+
}>>;
|
|
616
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
618
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
619
|
+
values: z.ZodOptional<z.ZodString>;
|
|
620
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
621
|
+
mbti: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"INTJ">, z.ZodLiteral<"INTP">, z.ZodLiteral<"ENTJ">, z.ZodLiteral<"ENTP">, z.ZodLiteral<"INFJ">, z.ZodLiteral<"INFP">, z.ZodLiteral<"ENFJ">, z.ZodLiteral<"ENFP">, z.ZodLiteral<"ISTJ">, z.ZodLiteral<"ISFJ">, z.ZodLiteral<"ESTJ">, z.ZodLiteral<"ESFJ">, z.ZodLiteral<"ISTP">, z.ZodLiteral<"ISFP">, z.ZodLiteral<"ESTP">, z.ZodLiteral<"ESFP">]>>;
|
|
622
|
+
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
values?: string | undefined;
|
|
624
|
+
traits?: string | undefined;
|
|
625
|
+
interests?: string | undefined;
|
|
626
|
+
quirks?: string | undefined;
|
|
627
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
628
|
+
}, {
|
|
629
|
+
values?: string | undefined;
|
|
630
|
+
traits?: string | undefined;
|
|
631
|
+
interests?: string | undefined;
|
|
632
|
+
quirks?: string | undefined;
|
|
633
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
634
|
+
}>>;
|
|
635
|
+
}, "strip", z.ZodTypeAny, {
|
|
636
|
+
background?: {
|
|
637
|
+
role?: string | undefined;
|
|
638
|
+
gender?: string | undefined;
|
|
639
|
+
age?: string | undefined;
|
|
640
|
+
expertise?: string | undefined;
|
|
641
|
+
backstory?: string | undefined;
|
|
642
|
+
} | undefined;
|
|
643
|
+
speech?: {
|
|
644
|
+
tone?: string | undefined;
|
|
645
|
+
style?: string | undefined;
|
|
646
|
+
formality?: string | undefined;
|
|
647
|
+
} | undefined;
|
|
648
|
+
personality?: {
|
|
649
|
+
values?: string | undefined;
|
|
650
|
+
traits?: string | undefined;
|
|
651
|
+
interests?: string | undefined;
|
|
652
|
+
quirks?: string | undefined;
|
|
653
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
654
|
+
} | undefined;
|
|
655
|
+
}, {
|
|
656
|
+
background?: {
|
|
657
|
+
role?: string | undefined;
|
|
658
|
+
gender?: string | undefined;
|
|
659
|
+
age?: string | undefined;
|
|
660
|
+
expertise?: string | undefined;
|
|
661
|
+
backstory?: string | undefined;
|
|
662
|
+
} | undefined;
|
|
663
|
+
speech?: {
|
|
664
|
+
tone?: string | undefined;
|
|
665
|
+
style?: string | undefined;
|
|
666
|
+
formality?: string | undefined;
|
|
667
|
+
} | undefined;
|
|
668
|
+
personality?: {
|
|
669
|
+
values?: string | undefined;
|
|
670
|
+
traits?: string | undefined;
|
|
671
|
+
interests?: string | undefined;
|
|
672
|
+
quirks?: string | undefined;
|
|
673
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
674
|
+
} | undefined;
|
|
675
|
+
}>>;
|
|
676
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
678
|
+
avatar?: string | undefined;
|
|
679
|
+
referenceAvatar?: string | undefined;
|
|
680
|
+
appearance?: string | undefined;
|
|
681
|
+
name?: string | undefined;
|
|
682
|
+
core?: {
|
|
683
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
684
|
+
} | undefined;
|
|
685
|
+
rules?: string[] | undefined;
|
|
686
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
687
|
+
languages?: string[] | undefined;
|
|
688
|
+
timeZone?: string | undefined;
|
|
689
|
+
greeting?: string | undefined;
|
|
690
|
+
actions?: "todo"[] | undefined;
|
|
691
|
+
character?: {
|
|
692
|
+
background?: {
|
|
693
|
+
role?: string | undefined;
|
|
694
|
+
gender?: string | undefined;
|
|
695
|
+
age?: string | undefined;
|
|
696
|
+
expertise?: string | undefined;
|
|
697
|
+
backstory?: string | undefined;
|
|
698
|
+
} | undefined;
|
|
699
|
+
speech?: {
|
|
700
|
+
tone?: string | undefined;
|
|
701
|
+
style?: string | undefined;
|
|
702
|
+
formality?: string | undefined;
|
|
703
|
+
} | undefined;
|
|
704
|
+
personality?: {
|
|
705
|
+
values?: string | undefined;
|
|
706
|
+
traits?: string | undefined;
|
|
707
|
+
interests?: string | undefined;
|
|
708
|
+
quirks?: string | undefined;
|
|
709
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
710
|
+
} | undefined;
|
|
711
|
+
} | undefined;
|
|
712
|
+
}, {
|
|
713
|
+
avatar?: string | undefined;
|
|
714
|
+
referenceAvatar?: string | undefined;
|
|
715
|
+
appearance?: string | undefined;
|
|
716
|
+
name?: string | undefined;
|
|
717
|
+
core?: {
|
|
718
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
719
|
+
} | undefined;
|
|
720
|
+
rules?: string[] | undefined;
|
|
721
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
722
|
+
languages?: string[] | undefined;
|
|
723
|
+
timeZone?: string | undefined;
|
|
724
|
+
greeting?: string | undefined;
|
|
725
|
+
actions?: "todo"[] | undefined;
|
|
726
|
+
character?: {
|
|
727
|
+
background?: {
|
|
728
|
+
role?: string | undefined;
|
|
729
|
+
gender?: string | undefined;
|
|
730
|
+
age?: string | undefined;
|
|
731
|
+
expertise?: string | undefined;
|
|
732
|
+
backstory?: string | undefined;
|
|
733
|
+
} | undefined;
|
|
734
|
+
speech?: {
|
|
735
|
+
tone?: string | undefined;
|
|
736
|
+
style?: string | undefined;
|
|
737
|
+
formality?: string | undefined;
|
|
738
|
+
} | undefined;
|
|
739
|
+
personality?: {
|
|
740
|
+
values?: string | undefined;
|
|
741
|
+
traits?: string | undefined;
|
|
742
|
+
interests?: string | undefined;
|
|
743
|
+
quirks?: string | undefined;
|
|
744
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
745
|
+
} | undefined;
|
|
746
|
+
} | undefined;
|
|
747
|
+
}>, "many">>;
|
|
748
|
+
}, "strip", z.ZodTypeAny, {
|
|
749
|
+
presetDescription: string;
|
|
750
|
+
presetShortDescription: string;
|
|
751
|
+
name?: string | undefined;
|
|
752
|
+
locationId?: bigint | undefined;
|
|
753
|
+
visibility?: "private" | "public" | "publish" | undefined;
|
|
754
|
+
hashtags?: string[] | undefined;
|
|
755
|
+
isAllowImport?: boolean | undefined;
|
|
756
|
+
isSensitive?: boolean | undefined;
|
|
757
|
+
locationConfig?: {
|
|
758
|
+
name?: string | undefined;
|
|
759
|
+
thumbnail?: string | null | undefined;
|
|
760
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
761
|
+
core?: {
|
|
762
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
763
|
+
sequential?: boolean | undefined;
|
|
764
|
+
interval?: number | undefined;
|
|
765
|
+
maxAgentExecutions?: number | null | undefined;
|
|
766
|
+
} | undefined;
|
|
767
|
+
description?: string | undefined;
|
|
768
|
+
rules?: string[] | undefined;
|
|
769
|
+
canvases?: {
|
|
770
|
+
name: string;
|
|
771
|
+
description: string;
|
|
772
|
+
maxLength: number;
|
|
773
|
+
}[] | undefined;
|
|
774
|
+
agentCanvases?: {
|
|
775
|
+
name: string;
|
|
776
|
+
description: string;
|
|
777
|
+
maxLength: number;
|
|
778
|
+
}[] | undefined;
|
|
779
|
+
gimmicks?: {
|
|
780
|
+
appearance: string;
|
|
781
|
+
name: string;
|
|
782
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
783
|
+
images?: {
|
|
784
|
+
description: string;
|
|
785
|
+
name?: string | undefined;
|
|
786
|
+
url?: string | undefined;
|
|
787
|
+
}[] | undefined;
|
|
788
|
+
}[] | undefined;
|
|
789
|
+
} | undefined;
|
|
790
|
+
agentConfigs?: {
|
|
791
|
+
avatar?: string | undefined;
|
|
792
|
+
referenceAvatar?: string | undefined;
|
|
793
|
+
appearance?: string | undefined;
|
|
794
|
+
name?: string | undefined;
|
|
795
|
+
core?: {
|
|
796
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
797
|
+
} | undefined;
|
|
798
|
+
rules?: string[] | undefined;
|
|
799
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
800
|
+
languages?: string[] | undefined;
|
|
801
|
+
timeZone?: string | undefined;
|
|
802
|
+
greeting?: string | undefined;
|
|
803
|
+
actions?: "todo"[] | undefined;
|
|
804
|
+
character?: {
|
|
805
|
+
background?: {
|
|
806
|
+
role?: string | undefined;
|
|
807
|
+
gender?: string | undefined;
|
|
808
|
+
age?: string | undefined;
|
|
809
|
+
expertise?: string | undefined;
|
|
810
|
+
backstory?: string | undefined;
|
|
811
|
+
} | undefined;
|
|
812
|
+
speech?: {
|
|
813
|
+
tone?: string | undefined;
|
|
814
|
+
style?: string | undefined;
|
|
815
|
+
formality?: string | undefined;
|
|
816
|
+
} | undefined;
|
|
817
|
+
personality?: {
|
|
818
|
+
values?: string | undefined;
|
|
819
|
+
traits?: string | undefined;
|
|
820
|
+
interests?: string | undefined;
|
|
821
|
+
quirks?: string | undefined;
|
|
822
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
823
|
+
} | undefined;
|
|
824
|
+
} | undefined;
|
|
825
|
+
}[] | undefined;
|
|
826
|
+
}, {
|
|
827
|
+
presetDescription: string;
|
|
828
|
+
presetShortDescription: string;
|
|
829
|
+
name?: string | undefined;
|
|
830
|
+
locationId?: bigint | undefined;
|
|
831
|
+
visibility?: "private" | "public" | "publish" | undefined;
|
|
832
|
+
hashtags?: string[] | undefined;
|
|
833
|
+
isAllowImport?: boolean | undefined;
|
|
834
|
+
isSensitive?: boolean | undefined;
|
|
835
|
+
locationConfig?: {
|
|
836
|
+
name?: string | undefined;
|
|
837
|
+
thumbnail?: string | null | undefined;
|
|
838
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
839
|
+
core?: {
|
|
840
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
841
|
+
sequential?: boolean | undefined;
|
|
842
|
+
interval?: number | undefined;
|
|
843
|
+
maxAgentExecutions?: number | null | undefined;
|
|
844
|
+
} | undefined;
|
|
845
|
+
description?: string | undefined;
|
|
846
|
+
rules?: string[] | undefined;
|
|
847
|
+
canvases?: {
|
|
848
|
+
name: string;
|
|
849
|
+
description: string;
|
|
850
|
+
maxLength: number;
|
|
851
|
+
}[] | undefined;
|
|
852
|
+
agentCanvases?: {
|
|
853
|
+
name: string;
|
|
854
|
+
description: string;
|
|
855
|
+
maxLength: number;
|
|
856
|
+
}[] | undefined;
|
|
857
|
+
gimmicks?: {
|
|
858
|
+
appearance: string;
|
|
859
|
+
name: string;
|
|
860
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
861
|
+
images?: {
|
|
862
|
+
description: string;
|
|
863
|
+
name?: string | undefined;
|
|
864
|
+
url?: string | undefined;
|
|
865
|
+
}[] | undefined;
|
|
866
|
+
}[] | undefined;
|
|
867
|
+
} | undefined;
|
|
868
|
+
agentConfigs?: {
|
|
869
|
+
avatar?: string | undefined;
|
|
870
|
+
referenceAvatar?: string | undefined;
|
|
871
|
+
appearance?: string | undefined;
|
|
872
|
+
name?: string | undefined;
|
|
873
|
+
core?: {
|
|
874
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
875
|
+
} | undefined;
|
|
876
|
+
rules?: string[] | undefined;
|
|
877
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
878
|
+
languages?: string[] | undefined;
|
|
879
|
+
timeZone?: string | undefined;
|
|
880
|
+
greeting?: string | undefined;
|
|
881
|
+
actions?: "todo"[] | undefined;
|
|
882
|
+
character?: {
|
|
883
|
+
background?: {
|
|
884
|
+
role?: string | undefined;
|
|
885
|
+
gender?: string | undefined;
|
|
886
|
+
age?: string | undefined;
|
|
887
|
+
expertise?: string | undefined;
|
|
888
|
+
backstory?: string | undefined;
|
|
889
|
+
} | undefined;
|
|
890
|
+
speech?: {
|
|
891
|
+
tone?: string | undefined;
|
|
892
|
+
style?: string | undefined;
|
|
893
|
+
formality?: string | undefined;
|
|
894
|
+
} | undefined;
|
|
895
|
+
personality?: {
|
|
896
|
+
values?: string | undefined;
|
|
897
|
+
traits?: string | undefined;
|
|
898
|
+
interests?: string | undefined;
|
|
899
|
+
quirks?: string | undefined;
|
|
900
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
901
|
+
} | undefined;
|
|
902
|
+
} | undefined;
|
|
903
|
+
}[] | undefined;
|
|
904
|
+
}>;
|
|
905
|
+
export type CreateLocationPresetDto = z.infer<typeof CreateLocationPresetSchema>;
|
|
906
|
+
export interface CreateLocationPresetResponseDto {
|
|
907
|
+
preset: LocationPresetDto;
|
|
908
|
+
}
|
|
909
|
+
export declare const GetLocationPresetParamsSchema: z.ZodObject<{
|
|
910
|
+
presetId: z.ZodBigInt;
|
|
911
|
+
}, "strip", z.ZodTypeAny, {
|
|
912
|
+
presetId: bigint;
|
|
913
|
+
}, {
|
|
914
|
+
presetId: bigint;
|
|
915
|
+
}>;
|
|
916
|
+
export type GetLocationPresetParamsDto = z.infer<typeof GetLocationPresetParamsSchema>;
|
|
917
|
+
export interface GetLocationPresetResponseDto {
|
|
918
|
+
preset: LocationPresetDetailDto;
|
|
919
|
+
}
|
|
920
|
+
export declare const GetLocationPresetPrivateParamsSchema: z.ZodObject<{
|
|
921
|
+
presetId: z.ZodBigInt;
|
|
922
|
+
}, "strip", z.ZodTypeAny, {
|
|
923
|
+
presetId: bigint;
|
|
924
|
+
}, {
|
|
925
|
+
presetId: bigint;
|
|
926
|
+
}>;
|
|
927
|
+
export type GetLocationPresetPrivateParamsDto = z.infer<typeof GetLocationPresetPrivateParamsSchema>;
|
|
928
|
+
export interface GetLocationPresetPrivateResponseDto {
|
|
929
|
+
preset: LocationPresetPrivateDto;
|
|
930
|
+
}
|
|
931
|
+
export declare const UpdateLocationPresetParamsSchema: z.ZodObject<{
|
|
932
|
+
presetId: z.ZodBigInt;
|
|
933
|
+
}, "strip", z.ZodTypeAny, {
|
|
934
|
+
presetId: bigint;
|
|
935
|
+
}, {
|
|
936
|
+
presetId: bigint;
|
|
937
|
+
}>;
|
|
938
|
+
export type UpdateLocationPresetParamsDto = z.infer<typeof UpdateLocationPresetParamsSchema>;
|
|
939
|
+
export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
940
|
+
visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
|
|
941
|
+
name: z.ZodOptional<z.ZodString>;
|
|
942
|
+
presetDescription: z.ZodOptional<z.ZodString>;
|
|
943
|
+
presetShortDescription: z.ZodOptional<z.ZodString>;
|
|
944
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
414
945
|
canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
415
946
|
name: z.ZodString;
|
|
416
947
|
text: z.ZodString;
|
|
@@ -432,122 +963,439 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
432
963
|
message: z.ZodOptional<z.ZodString>;
|
|
433
964
|
image: z.ZodOptional<z.ZodString>;
|
|
434
965
|
}, "strip", z.ZodTypeAny, {
|
|
435
|
-
entityType: "system" | "agent" | "user" | "gimmick";
|
|
436
|
-
entityId: bigint;
|
|
437
|
-
message?: string | undefined;
|
|
438
|
-
image?: string | undefined;
|
|
966
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
967
|
+
entityId: bigint;
|
|
968
|
+
message?: string | undefined;
|
|
969
|
+
image?: string | undefined;
|
|
970
|
+
}, {
|
|
971
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
972
|
+
entityId: bigint;
|
|
973
|
+
message?: string | undefined;
|
|
974
|
+
image?: string | undefined;
|
|
975
|
+
}>, "many">>;
|
|
976
|
+
hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
977
|
+
isAllowImport: z.ZodOptional<z.ZodBoolean>;
|
|
978
|
+
isSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
979
|
+
locationConfig: z.ZodOptional<z.ZodObject<{
|
|
980
|
+
name: z.ZodOptional<z.ZodString>;
|
|
981
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
982
|
+
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
|
|
983
|
+
core: z.ZodOptional<z.ZodObject<{
|
|
984
|
+
name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
|
|
985
|
+
sequential: z.ZodOptional<z.ZodBoolean>;
|
|
986
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
987
|
+
maxAgentExecutions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
988
|
+
}, "strip", z.ZodTypeAny, {
|
|
989
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
990
|
+
sequential?: boolean | undefined;
|
|
991
|
+
interval?: number | undefined;
|
|
992
|
+
maxAgentExecutions?: number | null | undefined;
|
|
993
|
+
}, {
|
|
994
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
995
|
+
sequential?: boolean | undefined;
|
|
996
|
+
interval?: number | undefined;
|
|
997
|
+
maxAgentExecutions?: number | null | undefined;
|
|
998
|
+
}>>;
|
|
999
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1001
|
+
canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1002
|
+
name: z.ZodString;
|
|
1003
|
+
description: z.ZodString;
|
|
1004
|
+
maxLength: z.ZodNumber;
|
|
1005
|
+
}, "strip", z.ZodTypeAny, {
|
|
1006
|
+
name: string;
|
|
1007
|
+
description: string;
|
|
1008
|
+
maxLength: number;
|
|
1009
|
+
}, {
|
|
1010
|
+
name: string;
|
|
1011
|
+
description: string;
|
|
1012
|
+
maxLength: number;
|
|
1013
|
+
}>, "many">>;
|
|
1014
|
+
agentCanvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1015
|
+
name: z.ZodString;
|
|
1016
|
+
description: z.ZodString;
|
|
1017
|
+
maxLength: z.ZodNumber;
|
|
1018
|
+
}, "strip", z.ZodTypeAny, {
|
|
1019
|
+
name: string;
|
|
1020
|
+
description: string;
|
|
1021
|
+
maxLength: number;
|
|
1022
|
+
}, {
|
|
1023
|
+
name: string;
|
|
1024
|
+
description: string;
|
|
1025
|
+
maxLength: number;
|
|
1026
|
+
}>, "many">>;
|
|
1027
|
+
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1028
|
+
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">[]]>;
|
|
1029
|
+
name: z.ZodString;
|
|
1030
|
+
appearance: z.ZodString;
|
|
1031
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1032
|
+
url: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodString]>;
|
|
1033
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
description: z.ZodString;
|
|
1035
|
+
}, "strip", z.ZodTypeAny, {
|
|
1036
|
+
description: string;
|
|
1037
|
+
name?: string | undefined;
|
|
1038
|
+
url?: string | undefined;
|
|
1039
|
+
}, {
|
|
1040
|
+
description: string;
|
|
1041
|
+
name?: string | undefined;
|
|
1042
|
+
url?: string | undefined;
|
|
1043
|
+
}>, "many">>;
|
|
1044
|
+
}, "strip", z.ZodTypeAny, {
|
|
1045
|
+
appearance: string;
|
|
1046
|
+
name: string;
|
|
1047
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1048
|
+
images?: {
|
|
1049
|
+
description: string;
|
|
1050
|
+
name?: string | undefined;
|
|
1051
|
+
url?: string | undefined;
|
|
1052
|
+
}[] | undefined;
|
|
1053
|
+
}, {
|
|
1054
|
+
appearance: string;
|
|
1055
|
+
name: string;
|
|
1056
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1057
|
+
images?: {
|
|
1058
|
+
description: string;
|
|
1059
|
+
name?: string | undefined;
|
|
1060
|
+
url?: string | undefined;
|
|
1061
|
+
}[] | undefined;
|
|
1062
|
+
}>, "many">>;
|
|
1063
|
+
}, "strip", z.ZodTypeAny, {
|
|
1064
|
+
name?: string | undefined;
|
|
1065
|
+
thumbnail?: string | null | undefined;
|
|
1066
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1067
|
+
core?: {
|
|
1068
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1069
|
+
sequential?: boolean | undefined;
|
|
1070
|
+
interval?: number | undefined;
|
|
1071
|
+
maxAgentExecutions?: number | null | undefined;
|
|
1072
|
+
} | undefined;
|
|
1073
|
+
description?: string | undefined;
|
|
1074
|
+
rules?: string[] | undefined;
|
|
1075
|
+
canvases?: {
|
|
1076
|
+
name: string;
|
|
1077
|
+
description: string;
|
|
1078
|
+
maxLength: number;
|
|
1079
|
+
}[] | undefined;
|
|
1080
|
+
agentCanvases?: {
|
|
1081
|
+
name: string;
|
|
1082
|
+
description: string;
|
|
1083
|
+
maxLength: number;
|
|
1084
|
+
}[] | undefined;
|
|
1085
|
+
gimmicks?: {
|
|
1086
|
+
appearance: string;
|
|
1087
|
+
name: string;
|
|
1088
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1089
|
+
images?: {
|
|
1090
|
+
description: string;
|
|
1091
|
+
name?: string | undefined;
|
|
1092
|
+
url?: string | undefined;
|
|
1093
|
+
}[] | undefined;
|
|
1094
|
+
}[] | undefined;
|
|
1095
|
+
}, {
|
|
1096
|
+
name?: string | undefined;
|
|
1097
|
+
thumbnail?: string | null | undefined;
|
|
1098
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1099
|
+
core?: {
|
|
1100
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1101
|
+
sequential?: boolean | undefined;
|
|
1102
|
+
interval?: number | undefined;
|
|
1103
|
+
maxAgentExecutions?: number | null | undefined;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
description?: string | undefined;
|
|
1106
|
+
rules?: string[] | undefined;
|
|
1107
|
+
canvases?: {
|
|
1108
|
+
name: string;
|
|
1109
|
+
description: string;
|
|
1110
|
+
maxLength: number;
|
|
1111
|
+
}[] | undefined;
|
|
1112
|
+
agentCanvases?: {
|
|
1113
|
+
name: string;
|
|
1114
|
+
description: string;
|
|
1115
|
+
maxLength: number;
|
|
1116
|
+
}[] | undefined;
|
|
1117
|
+
gimmicks?: {
|
|
1118
|
+
appearance: string;
|
|
1119
|
+
name: string;
|
|
1120
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1121
|
+
images?: {
|
|
1122
|
+
description: string;
|
|
1123
|
+
name?: string | undefined;
|
|
1124
|
+
url?: string | undefined;
|
|
1125
|
+
}[] | undefined;
|
|
1126
|
+
}[] | undefined;
|
|
1127
|
+
}>>;
|
|
1128
|
+
agentConfigs: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodObject<{
|
|
1129
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>>;
|
|
1131
|
+
referenceAvatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1132
|
+
appearance: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
core: z.ZodOptional<z.ZodObject<{
|
|
1134
|
+
name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">, z.ZodLiteral<"no_action">]>;
|
|
1135
|
+
}, "strip", z.ZodTypeAny, {
|
|
1136
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1137
|
+
}, {
|
|
1138
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1139
|
+
}>>;
|
|
1140
|
+
llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"free">, z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"xai-low">, z.ZodLiteral<"xai-medium">]>>;
|
|
1141
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1142
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"todo">, z.ZodLiteral<"todo">]>, "many">>;
|
|
1145
|
+
character: z.ZodOptional<z.ZodObject<{
|
|
1146
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
1147
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
age: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
}, "strip", z.ZodTypeAny, {
|
|
1153
|
+
role?: string | undefined;
|
|
1154
|
+
gender?: string | undefined;
|
|
1155
|
+
age?: string | undefined;
|
|
1156
|
+
expertise?: string | undefined;
|
|
1157
|
+
backstory?: string | undefined;
|
|
1158
|
+
}, {
|
|
1159
|
+
role?: string | undefined;
|
|
1160
|
+
gender?: string | undefined;
|
|
1161
|
+
age?: string | undefined;
|
|
1162
|
+
expertise?: string | undefined;
|
|
1163
|
+
backstory?: string | undefined;
|
|
1164
|
+
}>>;
|
|
1165
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
1166
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
style: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
}, "strip", z.ZodTypeAny, {
|
|
1170
|
+
tone?: string | undefined;
|
|
1171
|
+
style?: string | undefined;
|
|
1172
|
+
formality?: string | undefined;
|
|
1173
|
+
}, {
|
|
1174
|
+
tone?: string | undefined;
|
|
1175
|
+
style?: string | undefined;
|
|
1176
|
+
formality?: string | undefined;
|
|
1177
|
+
}>>;
|
|
1178
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
1179
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
values: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
mbti: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"INTJ">, z.ZodLiteral<"INTP">, z.ZodLiteral<"ENTJ">, z.ZodLiteral<"ENTP">, z.ZodLiteral<"INFJ">, z.ZodLiteral<"INFP">, z.ZodLiteral<"ENFJ">, z.ZodLiteral<"ENFP">, z.ZodLiteral<"ISTJ">, z.ZodLiteral<"ISFJ">, z.ZodLiteral<"ESTJ">, z.ZodLiteral<"ESFJ">, z.ZodLiteral<"ISTP">, z.ZodLiteral<"ISFP">, z.ZodLiteral<"ESTP">, z.ZodLiteral<"ESFP">]>>;
|
|
1184
|
+
}, "strip", z.ZodTypeAny, {
|
|
1185
|
+
values?: string | undefined;
|
|
1186
|
+
traits?: string | undefined;
|
|
1187
|
+
interests?: string | undefined;
|
|
1188
|
+
quirks?: string | undefined;
|
|
1189
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1190
|
+
}, {
|
|
1191
|
+
values?: string | undefined;
|
|
1192
|
+
traits?: string | undefined;
|
|
1193
|
+
interests?: string | undefined;
|
|
1194
|
+
quirks?: string | undefined;
|
|
1195
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1196
|
+
}>>;
|
|
1197
|
+
}, "strip", z.ZodTypeAny, {
|
|
1198
|
+
background?: {
|
|
1199
|
+
role?: string | undefined;
|
|
1200
|
+
gender?: string | undefined;
|
|
1201
|
+
age?: string | undefined;
|
|
1202
|
+
expertise?: string | undefined;
|
|
1203
|
+
backstory?: string | undefined;
|
|
1204
|
+
} | undefined;
|
|
1205
|
+
speech?: {
|
|
1206
|
+
tone?: string | undefined;
|
|
1207
|
+
style?: string | undefined;
|
|
1208
|
+
formality?: string | undefined;
|
|
1209
|
+
} | undefined;
|
|
1210
|
+
personality?: {
|
|
1211
|
+
values?: string | undefined;
|
|
1212
|
+
traits?: string | undefined;
|
|
1213
|
+
interests?: string | undefined;
|
|
1214
|
+
quirks?: string | undefined;
|
|
1215
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1216
|
+
} | undefined;
|
|
1217
|
+
}, {
|
|
1218
|
+
background?: {
|
|
1219
|
+
role?: string | undefined;
|
|
1220
|
+
gender?: string | undefined;
|
|
1221
|
+
age?: string | undefined;
|
|
1222
|
+
expertise?: string | undefined;
|
|
1223
|
+
backstory?: string | undefined;
|
|
1224
|
+
} | undefined;
|
|
1225
|
+
speech?: {
|
|
1226
|
+
tone?: string | undefined;
|
|
1227
|
+
style?: string | undefined;
|
|
1228
|
+
formality?: string | undefined;
|
|
1229
|
+
} | undefined;
|
|
1230
|
+
personality?: {
|
|
1231
|
+
values?: string | undefined;
|
|
1232
|
+
traits?: string | undefined;
|
|
1233
|
+
interests?: string | undefined;
|
|
1234
|
+
quirks?: string | undefined;
|
|
1235
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1236
|
+
} | undefined;
|
|
1237
|
+
}>>;
|
|
1238
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1239
|
+
}, "strip", z.ZodTypeAny, {
|
|
1240
|
+
avatar?: string | undefined;
|
|
1241
|
+
referenceAvatar?: string | undefined;
|
|
1242
|
+
appearance?: string | undefined;
|
|
1243
|
+
name?: string | undefined;
|
|
1244
|
+
core?: {
|
|
1245
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1246
|
+
} | undefined;
|
|
1247
|
+
rules?: string[] | undefined;
|
|
1248
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1249
|
+
languages?: string[] | undefined;
|
|
1250
|
+
timeZone?: string | undefined;
|
|
1251
|
+
greeting?: string | undefined;
|
|
1252
|
+
actions?: "todo"[] | undefined;
|
|
1253
|
+
character?: {
|
|
1254
|
+
background?: {
|
|
1255
|
+
role?: string | undefined;
|
|
1256
|
+
gender?: string | undefined;
|
|
1257
|
+
age?: string | undefined;
|
|
1258
|
+
expertise?: string | undefined;
|
|
1259
|
+
backstory?: string | undefined;
|
|
1260
|
+
} | undefined;
|
|
1261
|
+
speech?: {
|
|
1262
|
+
tone?: string | undefined;
|
|
1263
|
+
style?: string | undefined;
|
|
1264
|
+
formality?: string | undefined;
|
|
1265
|
+
} | undefined;
|
|
1266
|
+
personality?: {
|
|
1267
|
+
values?: string | undefined;
|
|
1268
|
+
traits?: string | undefined;
|
|
1269
|
+
interests?: string | undefined;
|
|
1270
|
+
quirks?: string | undefined;
|
|
1271
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1272
|
+
} | undefined;
|
|
1273
|
+
} | undefined;
|
|
439
1274
|
}, {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
1275
|
+
avatar?: string | undefined;
|
|
1276
|
+
referenceAvatar?: string | undefined;
|
|
1277
|
+
appearance?: string | undefined;
|
|
1278
|
+
name?: string | undefined;
|
|
1279
|
+
core?: {
|
|
1280
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1281
|
+
} | undefined;
|
|
1282
|
+
rules?: string[] | undefined;
|
|
1283
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1284
|
+
languages?: string[] | undefined;
|
|
1285
|
+
timeZone?: string | undefined;
|
|
1286
|
+
greeting?: string | undefined;
|
|
1287
|
+
actions?: "todo"[] | undefined;
|
|
1288
|
+
character?: {
|
|
1289
|
+
background?: {
|
|
1290
|
+
role?: string | undefined;
|
|
1291
|
+
gender?: string | undefined;
|
|
1292
|
+
age?: string | undefined;
|
|
1293
|
+
expertise?: string | undefined;
|
|
1294
|
+
backstory?: string | undefined;
|
|
1295
|
+
} | undefined;
|
|
1296
|
+
speech?: {
|
|
1297
|
+
tone?: string | undefined;
|
|
1298
|
+
style?: string | undefined;
|
|
1299
|
+
formality?: string | undefined;
|
|
1300
|
+
} | undefined;
|
|
1301
|
+
personality?: {
|
|
1302
|
+
values?: string | undefined;
|
|
1303
|
+
traits?: string | undefined;
|
|
1304
|
+
interests?: string | undefined;
|
|
1305
|
+
quirks?: string | undefined;
|
|
1306
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1307
|
+
} | undefined;
|
|
1308
|
+
} | undefined;
|
|
1309
|
+
}>>, "many">>;
|
|
448
1310
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
locationId: bigint;
|
|
450
|
-
presetDescription: string;
|
|
451
|
-
presetShortDescription: string;
|
|
452
1311
|
name?: string | undefined;
|
|
1312
|
+
thumbnail?: string | undefined;
|
|
453
1313
|
canvases?: {
|
|
454
1314
|
name: string;
|
|
455
1315
|
text: string;
|
|
456
1316
|
}[] | undefined;
|
|
457
1317
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
entityId: bigint;
|
|
461
|
-
message?: string | undefined;
|
|
462
|
-
image?: string | undefined;
|
|
463
|
-
}[] | undefined;
|
|
1318
|
+
presetDescription?: string | undefined;
|
|
1319
|
+
presetShortDescription?: string | undefined;
|
|
464
1320
|
hashtags?: string[] | undefined;
|
|
465
1321
|
isAllowImport?: boolean | undefined;
|
|
466
1322
|
isSensitive?: boolean | undefined;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
1323
|
+
locationConfig?: {
|
|
1324
|
+
name?: string | undefined;
|
|
1325
|
+
thumbnail?: string | null | undefined;
|
|
1326
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1327
|
+
core?: {
|
|
1328
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1329
|
+
sequential?: boolean | undefined;
|
|
1330
|
+
interval?: number | undefined;
|
|
1331
|
+
maxAgentExecutions?: number | null | undefined;
|
|
1332
|
+
} | undefined;
|
|
1333
|
+
description?: string | undefined;
|
|
1334
|
+
rules?: string[] | undefined;
|
|
1335
|
+
canvases?: {
|
|
1336
|
+
name: string;
|
|
1337
|
+
description: string;
|
|
1338
|
+
maxLength: number;
|
|
1339
|
+
}[] | undefined;
|
|
1340
|
+
agentCanvases?: {
|
|
1341
|
+
name: string;
|
|
1342
|
+
description: string;
|
|
1343
|
+
maxLength: number;
|
|
1344
|
+
}[] | undefined;
|
|
1345
|
+
gimmicks?: {
|
|
1346
|
+
appearance: string;
|
|
1347
|
+
name: string;
|
|
1348
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1349
|
+
images?: {
|
|
1350
|
+
description: string;
|
|
1351
|
+
name?: string | undefined;
|
|
1352
|
+
url?: string | undefined;
|
|
1353
|
+
}[] | undefined;
|
|
1354
|
+
}[] | undefined;
|
|
1355
|
+
} | undefined;
|
|
1356
|
+
agentConfigs?: ({
|
|
1357
|
+
avatar?: string | undefined;
|
|
1358
|
+
referenceAvatar?: string | undefined;
|
|
1359
|
+
appearance?: string | undefined;
|
|
1360
|
+
name?: string | undefined;
|
|
1361
|
+
core?: {
|
|
1362
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1363
|
+
} | undefined;
|
|
1364
|
+
rules?: string[] | undefined;
|
|
1365
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1366
|
+
languages?: string[] | undefined;
|
|
1367
|
+
timeZone?: string | undefined;
|
|
1368
|
+
greeting?: string | undefined;
|
|
1369
|
+
actions?: "todo"[] | undefined;
|
|
1370
|
+
character?: {
|
|
1371
|
+
background?: {
|
|
1372
|
+
role?: string | undefined;
|
|
1373
|
+
gender?: string | undefined;
|
|
1374
|
+
age?: string | undefined;
|
|
1375
|
+
expertise?: string | undefined;
|
|
1376
|
+
backstory?: string | undefined;
|
|
1377
|
+
} | undefined;
|
|
1378
|
+
speech?: {
|
|
1379
|
+
tone?: string | undefined;
|
|
1380
|
+
style?: string | undefined;
|
|
1381
|
+
formality?: string | undefined;
|
|
1382
|
+
} | undefined;
|
|
1383
|
+
personality?: {
|
|
1384
|
+
values?: string | undefined;
|
|
1385
|
+
traits?: string | undefined;
|
|
1386
|
+
interests?: string | undefined;
|
|
1387
|
+
quirks?: string | undefined;
|
|
1388
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1389
|
+
} | undefined;
|
|
1390
|
+
} | undefined;
|
|
1391
|
+
} | null)[] | undefined;
|
|
477
1392
|
messages?: {
|
|
478
1393
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
479
1394
|
entityId: bigint;
|
|
480
1395
|
message?: string | undefined;
|
|
481
1396
|
image?: string | undefined;
|
|
482
1397
|
}[] | undefined;
|
|
483
|
-
hashtags?: string[] | undefined;
|
|
484
|
-
isAllowImport?: boolean | undefined;
|
|
485
|
-
isSensitive?: boolean | undefined;
|
|
486
|
-
}>;
|
|
487
|
-
export type CreateLocationPresetDto = z.infer<typeof CreateLocationPresetSchema>;
|
|
488
|
-
export interface CreateLocationPresetResponseDto {
|
|
489
|
-
preset: LocationPresetDto;
|
|
490
|
-
}
|
|
491
|
-
export declare const GetLocationPresetParamsSchema: z.ZodObject<{
|
|
492
|
-
presetId: z.ZodBigInt;
|
|
493
|
-
}, "strip", z.ZodTypeAny, {
|
|
494
|
-
presetId: bigint;
|
|
495
|
-
}, {
|
|
496
|
-
presetId: bigint;
|
|
497
|
-
}>;
|
|
498
|
-
export type GetLocationPresetParamsDto = z.infer<typeof GetLocationPresetParamsSchema>;
|
|
499
|
-
export interface GetLocationPresetResponseDto {
|
|
500
|
-
preset: LocationPresetDetailDto;
|
|
501
|
-
}
|
|
502
|
-
export declare const UpdateLocationPresetParamsSchema: z.ZodObject<{
|
|
503
|
-
presetId: z.ZodBigInt;
|
|
504
|
-
}, "strip", z.ZodTypeAny, {
|
|
505
|
-
presetId: bigint;
|
|
506
1398
|
}, {
|
|
507
|
-
presetId: bigint;
|
|
508
|
-
}>;
|
|
509
|
-
export type UpdateLocationPresetParamsDto = z.infer<typeof UpdateLocationPresetParamsSchema>;
|
|
510
|
-
export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
511
|
-
visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
|
|
512
|
-
name: z.ZodOptional<z.ZodString>;
|
|
513
|
-
thumbnail: z.ZodOptional<z.ZodString>;
|
|
514
|
-
presetDescription: z.ZodOptional<z.ZodString>;
|
|
515
|
-
presetShortDescription: z.ZodOptional<z.ZodString>;
|
|
516
|
-
canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
517
|
-
name: z.ZodString;
|
|
518
|
-
text: z.ZodString;
|
|
519
|
-
}, "strip", z.ZodTypeAny, {
|
|
520
|
-
name: string;
|
|
521
|
-
text: string;
|
|
522
|
-
}, {
|
|
523
|
-
name: string;
|
|
524
|
-
text: string;
|
|
525
|
-
}>, "many">>;
|
|
526
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
527
|
-
entityType: z.ZodNativeEnum<{
|
|
528
|
-
readonly System: "system";
|
|
529
|
-
readonly Agent: "agent";
|
|
530
|
-
readonly User: "user";
|
|
531
|
-
readonly Gimmick: "gimmick";
|
|
532
|
-
}>;
|
|
533
|
-
entityId: z.ZodBigInt;
|
|
534
|
-
message: z.ZodOptional<z.ZodString>;
|
|
535
|
-
image: z.ZodOptional<z.ZodString>;
|
|
536
|
-
}, "strip", z.ZodTypeAny, {
|
|
537
|
-
entityType: "system" | "agent" | "user" | "gimmick";
|
|
538
|
-
entityId: bigint;
|
|
539
|
-
message?: string | undefined;
|
|
540
|
-
image?: string | undefined;
|
|
541
|
-
}, {
|
|
542
|
-
entityType: "system" | "agent" | "user" | "gimmick";
|
|
543
|
-
entityId: bigint;
|
|
544
|
-
message?: string | undefined;
|
|
545
|
-
image?: string | undefined;
|
|
546
|
-
}>, "many">>;
|
|
547
|
-
hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
548
|
-
isAllowImport: z.ZodOptional<z.ZodBoolean>;
|
|
549
|
-
isSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
550
|
-
}, "strip", z.ZodTypeAny, {
|
|
551
1399
|
name?: string | undefined;
|
|
552
1400
|
thumbnail?: string | undefined;
|
|
553
1401
|
canvases?: {
|
|
@@ -557,34 +1405,84 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
557
1405
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
558
1406
|
presetDescription?: string | undefined;
|
|
559
1407
|
presetShortDescription?: string | undefined;
|
|
560
|
-
messages?: {
|
|
561
|
-
entityType: "system" | "agent" | "user" | "gimmick";
|
|
562
|
-
entityId: bigint;
|
|
563
|
-
message?: string | undefined;
|
|
564
|
-
image?: string | undefined;
|
|
565
|
-
}[] | undefined;
|
|
566
1408
|
hashtags?: string[] | undefined;
|
|
567
1409
|
isAllowImport?: boolean | undefined;
|
|
568
1410
|
isSensitive?: boolean | undefined;
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
1411
|
+
locationConfig?: {
|
|
1412
|
+
name?: string | undefined;
|
|
1413
|
+
thumbnail?: string | null | undefined;
|
|
1414
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1415
|
+
core?: {
|
|
1416
|
+
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1417
|
+
sequential?: boolean | undefined;
|
|
1418
|
+
interval?: number | undefined;
|
|
1419
|
+
maxAgentExecutions?: number | null | undefined;
|
|
1420
|
+
} | undefined;
|
|
1421
|
+
description?: string | undefined;
|
|
1422
|
+
rules?: string[] | undefined;
|
|
1423
|
+
canvases?: {
|
|
1424
|
+
name: string;
|
|
1425
|
+
description: string;
|
|
1426
|
+
maxLength: number;
|
|
1427
|
+
}[] | undefined;
|
|
1428
|
+
agentCanvases?: {
|
|
1429
|
+
name: string;
|
|
1430
|
+
description: string;
|
|
1431
|
+
maxLength: number;
|
|
1432
|
+
}[] | undefined;
|
|
1433
|
+
gimmicks?: {
|
|
1434
|
+
appearance: string;
|
|
1435
|
+
name: string;
|
|
1436
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1437
|
+
images?: {
|
|
1438
|
+
description: string;
|
|
1439
|
+
name?: string | undefined;
|
|
1440
|
+
url?: string | undefined;
|
|
1441
|
+
}[] | undefined;
|
|
1442
|
+
}[] | undefined;
|
|
1443
|
+
} | undefined;
|
|
1444
|
+
agentConfigs?: ({
|
|
1445
|
+
avatar?: string | undefined;
|
|
1446
|
+
referenceAvatar?: string | undefined;
|
|
1447
|
+
appearance?: string | undefined;
|
|
1448
|
+
name?: string | undefined;
|
|
1449
|
+
core?: {
|
|
1450
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1451
|
+
} | undefined;
|
|
1452
|
+
rules?: string[] | undefined;
|
|
1453
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1454
|
+
languages?: string[] | undefined;
|
|
1455
|
+
timeZone?: string | undefined;
|
|
1456
|
+
greeting?: string | undefined;
|
|
1457
|
+
actions?: "todo"[] | undefined;
|
|
1458
|
+
character?: {
|
|
1459
|
+
background?: {
|
|
1460
|
+
role?: string | undefined;
|
|
1461
|
+
gender?: string | undefined;
|
|
1462
|
+
age?: string | undefined;
|
|
1463
|
+
expertise?: string | undefined;
|
|
1464
|
+
backstory?: string | undefined;
|
|
1465
|
+
} | undefined;
|
|
1466
|
+
speech?: {
|
|
1467
|
+
tone?: string | undefined;
|
|
1468
|
+
style?: string | undefined;
|
|
1469
|
+
formality?: string | undefined;
|
|
1470
|
+
} | undefined;
|
|
1471
|
+
personality?: {
|
|
1472
|
+
values?: string | undefined;
|
|
1473
|
+
traits?: string | undefined;
|
|
1474
|
+
interests?: string | undefined;
|
|
1475
|
+
quirks?: string | undefined;
|
|
1476
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1477
|
+
} | undefined;
|
|
1478
|
+
} | undefined;
|
|
1479
|
+
} | null)[] | undefined;
|
|
579
1480
|
messages?: {
|
|
580
1481
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
581
1482
|
entityId: bigint;
|
|
582
1483
|
message?: string | undefined;
|
|
583
1484
|
image?: string | undefined;
|
|
584
1485
|
}[] | undefined;
|
|
585
|
-
hashtags?: string[] | undefined;
|
|
586
|
-
isAllowImport?: boolean | undefined;
|
|
587
|
-
isSensitive?: boolean | undefined;
|
|
588
1486
|
}>;
|
|
589
1487
|
export type UpdateLocationPresetBodyDto = z.infer<typeof UpdateLocationPresetBodySchema>;
|
|
590
1488
|
export interface UpdateLocationPresetResponseDto {
|
|
@@ -704,7 +1602,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
704
1602
|
maxLength: number;
|
|
705
1603
|
}>, "many">>;
|
|
706
1604
|
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
707
|
-
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "
|
|
1605
|
+
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">[]]>;
|
|
708
1606
|
name: z.ZodString;
|
|
709
1607
|
appearance: z.ZodString;
|
|
710
1608
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -721,18 +1619,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
721
1619
|
url?: string | undefined;
|
|
722
1620
|
}>, "many">>;
|
|
723
1621
|
}, "strip", z.ZodTypeAny, {
|
|
724
|
-
name: string;
|
|
725
1622
|
appearance: string;
|
|
726
|
-
|
|
1623
|
+
name: string;
|
|
1624
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
727
1625
|
images?: {
|
|
728
1626
|
description: string;
|
|
729
1627
|
name?: string | undefined;
|
|
730
1628
|
url?: string | undefined;
|
|
731
1629
|
}[] | undefined;
|
|
732
1630
|
}, {
|
|
733
|
-
name: string;
|
|
734
1631
|
appearance: string;
|
|
735
|
-
|
|
1632
|
+
name: string;
|
|
1633
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
736
1634
|
images?: {
|
|
737
1635
|
description: string;
|
|
738
1636
|
name?: string | undefined;
|
|
@@ -741,16 +1639,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
741
1639
|
}>, "many">>;
|
|
742
1640
|
}, "strict", z.ZodTypeAny, {
|
|
743
1641
|
name?: string | undefined;
|
|
744
|
-
|
|
1642
|
+
thumbnail?: string | null | undefined;
|
|
1643
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
745
1644
|
core?: {
|
|
746
1645
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
747
1646
|
sequential?: boolean | undefined;
|
|
748
1647
|
interval?: number | undefined;
|
|
749
1648
|
maxAgentExecutions?: number | null | undefined;
|
|
750
1649
|
} | undefined;
|
|
1650
|
+
description?: string | undefined;
|
|
751
1651
|
rules?: string[] | undefined;
|
|
752
|
-
thumbnail?: string | null | undefined;
|
|
753
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
754
1652
|
canvases?: {
|
|
755
1653
|
name: string;
|
|
756
1654
|
description: string;
|
|
@@ -762,9 +1660,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
762
1660
|
maxLength: number;
|
|
763
1661
|
}[] | undefined;
|
|
764
1662
|
gimmicks?: {
|
|
765
|
-
name: string;
|
|
766
1663
|
appearance: string;
|
|
767
|
-
|
|
1664
|
+
name: string;
|
|
1665
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
768
1666
|
images?: {
|
|
769
1667
|
description: string;
|
|
770
1668
|
name?: string | undefined;
|
|
@@ -773,16 +1671,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
773
1671
|
}[] | undefined;
|
|
774
1672
|
}, {
|
|
775
1673
|
name?: string | undefined;
|
|
776
|
-
|
|
1674
|
+
thumbnail?: string | null | undefined;
|
|
1675
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
777
1676
|
core?: {
|
|
778
1677
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
779
1678
|
sequential?: boolean | undefined;
|
|
780
1679
|
interval?: number | undefined;
|
|
781
1680
|
maxAgentExecutions?: number | null | undefined;
|
|
782
1681
|
} | undefined;
|
|
1682
|
+
description?: string | undefined;
|
|
783
1683
|
rules?: string[] | undefined;
|
|
784
|
-
thumbnail?: string | null | undefined;
|
|
785
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
786
1684
|
canvases?: {
|
|
787
1685
|
name: string;
|
|
788
1686
|
description: string;
|
|
@@ -794,9 +1692,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
794
1692
|
maxLength: number;
|
|
795
1693
|
}[] | undefined;
|
|
796
1694
|
gimmicks?: {
|
|
797
|
-
name: string;
|
|
798
1695
|
appearance: string;
|
|
799
|
-
|
|
1696
|
+
name: string;
|
|
1697
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
800
1698
|
images?: {
|
|
801
1699
|
description: string;
|
|
802
1700
|
name?: string | undefined;
|
|
@@ -811,16 +1709,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
811
1709
|
}, "strip", z.ZodTypeAny, {
|
|
812
1710
|
config: {
|
|
813
1711
|
name?: string | undefined;
|
|
814
|
-
|
|
1712
|
+
thumbnail?: string | null | undefined;
|
|
1713
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
815
1714
|
core?: {
|
|
816
1715
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
817
1716
|
sequential?: boolean | undefined;
|
|
818
1717
|
interval?: number | undefined;
|
|
819
1718
|
maxAgentExecutions?: number | null | undefined;
|
|
820
1719
|
} | undefined;
|
|
1720
|
+
description?: string | undefined;
|
|
821
1721
|
rules?: string[] | undefined;
|
|
822
|
-
thumbnail?: string | null | undefined;
|
|
823
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
824
1722
|
canvases?: {
|
|
825
1723
|
name: string;
|
|
826
1724
|
description: string;
|
|
@@ -832,9 +1730,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
832
1730
|
maxLength: number;
|
|
833
1731
|
}[] | undefined;
|
|
834
1732
|
gimmicks?: {
|
|
835
|
-
name: string;
|
|
836
1733
|
appearance: string;
|
|
837
|
-
|
|
1734
|
+
name: string;
|
|
1735
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
838
1736
|
images?: {
|
|
839
1737
|
description: string;
|
|
840
1738
|
name?: string | undefined;
|
|
@@ -846,16 +1744,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
846
1744
|
}, {
|
|
847
1745
|
config: {
|
|
848
1746
|
name?: string | undefined;
|
|
849
|
-
|
|
1747
|
+
thumbnail?: string | null | undefined;
|
|
1748
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
850
1749
|
core?: {
|
|
851
1750
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
852
1751
|
sequential?: boolean | undefined;
|
|
853
1752
|
interval?: number | undefined;
|
|
854
1753
|
maxAgentExecutions?: number | null | undefined;
|
|
855
1754
|
} | undefined;
|
|
1755
|
+
description?: string | undefined;
|
|
856
1756
|
rules?: string[] | undefined;
|
|
857
|
-
thumbnail?: string | null | undefined;
|
|
858
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
859
1757
|
canvases?: {
|
|
860
1758
|
name: string;
|
|
861
1759
|
description: string;
|
|
@@ -867,9 +1765,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
867
1765
|
maxLength: number;
|
|
868
1766
|
}[] | undefined;
|
|
869
1767
|
gimmicks?: {
|
|
870
|
-
name: string;
|
|
871
1768
|
appearance: string;
|
|
872
|
-
|
|
1769
|
+
name: string;
|
|
1770
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
873
1771
|
images?: {
|
|
874
1772
|
description: string;
|
|
875
1773
|
name?: string | undefined;
|