@little-samo/samo-ai-sdk 0.4.0 → 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 +16 -16
- package/dist/dto/entities/users/user.d.ts +3 -2
- package/dist/dto/entities/users/user.requests.d.ts +19 -16
- package/dist/dto/entities/users/user.requests.js +4 -3
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/locations/location.preset.d.ts +2 -2
- package/dist/dto/locations/location.requests.d.ts +350 -147
- package/dist/dto/locations/location.requests.js +1 -2
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/package.json +1 -1
|
@@ -135,8 +135,8 @@ 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;
|
|
139
|
+
name: string;
|
|
140
140
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
141
141
|
images?: {
|
|
142
142
|
description: string;
|
|
@@ -144,8 +144,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
144
144
|
url?: string | undefined;
|
|
145
145
|
}[] | undefined;
|
|
146
146
|
}, {
|
|
147
|
-
name: string;
|
|
148
147
|
appearance: string;
|
|
148
|
+
name: string;
|
|
149
149
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
150
150
|
images?: {
|
|
151
151
|
description: string;
|
|
@@ -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,8 +176,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
176
176
|
maxLength: number;
|
|
177
177
|
}[] | undefined;
|
|
178
178
|
gimmicks?: {
|
|
179
|
-
name: string;
|
|
180
179
|
appearance: string;
|
|
180
|
+
name: string;
|
|
181
181
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
182
182
|
images?: {
|
|
183
183
|
description: string;
|
|
@@ -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,8 +208,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
208
208
|
maxLength: number;
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
gimmicks?: {
|
|
211
|
-
name: string;
|
|
212
211
|
appearance: string;
|
|
212
|
+
name: string;
|
|
213
213
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
214
214
|
images?: {
|
|
215
215
|
description: string;
|
|
@@ -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,8 +243,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
243
243
|
maxLength: number;
|
|
244
244
|
}[] | undefined;
|
|
245
245
|
gimmicks?: {
|
|
246
|
-
name: string;
|
|
247
246
|
appearance: string;
|
|
247
|
+
name: string;
|
|
248
248
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
249
249
|
images?: {
|
|
250
250
|
description: string;
|
|
@@ -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,8 +278,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
278
278
|
maxLength: number;
|
|
279
279
|
}[] | undefined;
|
|
280
280
|
gimmicks?: {
|
|
281
|
-
name: string;
|
|
282
281
|
appearance: string;
|
|
282
|
+
name: string;
|
|
283
283
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
284
284
|
images?: {
|
|
285
285
|
description: string;
|
|
@@ -411,37 +411,6 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
411
411
|
name: z.ZodOptional<z.ZodString>;
|
|
412
412
|
presetDescription: z.ZodString;
|
|
413
413
|
presetShortDescription: z.ZodString;
|
|
414
|
-
canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
415
|
-
name: z.ZodString;
|
|
416
|
-
text: z.ZodString;
|
|
417
|
-
}, "strip", z.ZodTypeAny, {
|
|
418
|
-
name: string;
|
|
419
|
-
text: string;
|
|
420
|
-
}, {
|
|
421
|
-
name: string;
|
|
422
|
-
text: string;
|
|
423
|
-
}>, "many">>;
|
|
424
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
425
|
-
entityType: z.ZodNativeEnum<{
|
|
426
|
-
readonly System: "system";
|
|
427
|
-
readonly Agent: "agent";
|
|
428
|
-
readonly User: "user";
|
|
429
|
-
readonly Gimmick: "gimmick";
|
|
430
|
-
}>;
|
|
431
|
-
entityId: z.ZodBigInt;
|
|
432
|
-
message: z.ZodOptional<z.ZodString>;
|
|
433
|
-
image: z.ZodOptional<z.ZodString>;
|
|
434
|
-
}, "strip", z.ZodTypeAny, {
|
|
435
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
436
|
-
entityId: bigint;
|
|
437
|
-
message?: string | undefined;
|
|
438
|
-
image?: string | undefined;
|
|
439
|
-
}, {
|
|
440
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
441
|
-
entityId: bigint;
|
|
442
|
-
message?: string | undefined;
|
|
443
|
-
image?: string | undefined;
|
|
444
|
-
}>, "many">>;
|
|
445
414
|
hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
446
415
|
isAllowImport: z.ZodOptional<z.ZodBoolean>;
|
|
447
416
|
isSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -511,8 +480,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
511
480
|
url?: string | undefined;
|
|
512
481
|
}>, "many">>;
|
|
513
482
|
}, "strip", z.ZodTypeAny, {
|
|
514
|
-
name: string;
|
|
515
483
|
appearance: string;
|
|
484
|
+
name: string;
|
|
516
485
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
517
486
|
images?: {
|
|
518
487
|
description: string;
|
|
@@ -520,8 +489,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
520
489
|
url?: string | undefined;
|
|
521
490
|
}[] | undefined;
|
|
522
491
|
}, {
|
|
523
|
-
name: string;
|
|
524
492
|
appearance: string;
|
|
493
|
+
name: string;
|
|
525
494
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
526
495
|
images?: {
|
|
527
496
|
description: string;
|
|
@@ -531,16 +500,16 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
531
500
|
}>, "many">>;
|
|
532
501
|
}, "strip", z.ZodTypeAny, {
|
|
533
502
|
name?: string | undefined;
|
|
534
|
-
|
|
503
|
+
thumbnail?: string | null | undefined;
|
|
504
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
535
505
|
core?: {
|
|
536
506
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
537
507
|
sequential?: boolean | undefined;
|
|
538
508
|
interval?: number | undefined;
|
|
539
509
|
maxAgentExecutions?: number | null | undefined;
|
|
540
510
|
} | undefined;
|
|
511
|
+
description?: string | undefined;
|
|
541
512
|
rules?: string[] | undefined;
|
|
542
|
-
thumbnail?: string | null | undefined;
|
|
543
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
544
513
|
canvases?: {
|
|
545
514
|
name: string;
|
|
546
515
|
description: string;
|
|
@@ -552,8 +521,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
552
521
|
maxLength: number;
|
|
553
522
|
}[] | undefined;
|
|
554
523
|
gimmicks?: {
|
|
555
|
-
name: string;
|
|
556
524
|
appearance: string;
|
|
525
|
+
name: string;
|
|
557
526
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
558
527
|
images?: {
|
|
559
528
|
description: string;
|
|
@@ -563,16 +532,16 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
563
532
|
}[] | undefined;
|
|
564
533
|
}, {
|
|
565
534
|
name?: string | undefined;
|
|
566
|
-
|
|
535
|
+
thumbnail?: string | null | undefined;
|
|
536
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
567
537
|
core?: {
|
|
568
538
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
569
539
|
sequential?: boolean | undefined;
|
|
570
540
|
interval?: number | undefined;
|
|
571
541
|
maxAgentExecutions?: number | null | undefined;
|
|
572
542
|
} | undefined;
|
|
543
|
+
description?: string | undefined;
|
|
573
544
|
rules?: string[] | undefined;
|
|
574
|
-
thumbnail?: string | null | undefined;
|
|
575
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
576
545
|
canvases?: {
|
|
577
546
|
name: string;
|
|
578
547
|
description: string;
|
|
@@ -584,8 +553,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
584
553
|
maxLength: number;
|
|
585
554
|
}[] | undefined;
|
|
586
555
|
gimmicks?: {
|
|
587
|
-
name: string;
|
|
588
556
|
appearance: string;
|
|
557
|
+
name: string;
|
|
589
558
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
590
559
|
images?: {
|
|
591
560
|
description: string;
|
|
@@ -594,37 +563,209 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
594
563
|
}[] | undefined;
|
|
595
564
|
}[] | undefined;
|
|
596
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">>;
|
|
597
748
|
}, "strip", z.ZodTypeAny, {
|
|
598
749
|
presetDescription: string;
|
|
599
750
|
presetShortDescription: string;
|
|
600
751
|
name?: string | undefined;
|
|
601
|
-
messages?: {
|
|
602
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
603
|
-
entityId: bigint;
|
|
604
|
-
message?: string | undefined;
|
|
605
|
-
image?: string | undefined;
|
|
606
|
-
}[] | undefined;
|
|
607
752
|
locationId?: bigint | undefined;
|
|
608
|
-
canvases?: {
|
|
609
|
-
name: string;
|
|
610
|
-
text: string;
|
|
611
|
-
}[] | undefined;
|
|
612
753
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
613
754
|
hashtags?: string[] | undefined;
|
|
614
755
|
isAllowImport?: boolean | undefined;
|
|
615
756
|
isSensitive?: boolean | undefined;
|
|
616
757
|
locationConfig?: {
|
|
617
758
|
name?: string | undefined;
|
|
618
|
-
|
|
759
|
+
thumbnail?: string | null | undefined;
|
|
760
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
619
761
|
core?: {
|
|
620
762
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
621
763
|
sequential?: boolean | undefined;
|
|
622
764
|
interval?: number | undefined;
|
|
623
765
|
maxAgentExecutions?: number | null | undefined;
|
|
624
766
|
} | undefined;
|
|
767
|
+
description?: string | undefined;
|
|
625
768
|
rules?: string[] | undefined;
|
|
626
|
-
thumbnail?: string | null | undefined;
|
|
627
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
628
769
|
canvases?: {
|
|
629
770
|
name: string;
|
|
630
771
|
description: string;
|
|
@@ -636,8 +777,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
636
777
|
maxLength: number;
|
|
637
778
|
}[] | undefined;
|
|
638
779
|
gimmicks?: {
|
|
639
|
-
name: string;
|
|
640
780
|
appearance: string;
|
|
781
|
+
name: string;
|
|
641
782
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
642
783
|
images?: {
|
|
643
784
|
description: string;
|
|
@@ -646,37 +787,63 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
646
787
|
}[] | undefined;
|
|
647
788
|
}[] | undefined;
|
|
648
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;
|
|
649
826
|
}, {
|
|
650
827
|
presetDescription: string;
|
|
651
828
|
presetShortDescription: string;
|
|
652
829
|
name?: string | undefined;
|
|
653
|
-
messages?: {
|
|
654
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
655
|
-
entityId: bigint;
|
|
656
|
-
message?: string | undefined;
|
|
657
|
-
image?: string | undefined;
|
|
658
|
-
}[] | undefined;
|
|
659
830
|
locationId?: bigint | undefined;
|
|
660
|
-
canvases?: {
|
|
661
|
-
name: string;
|
|
662
|
-
text: string;
|
|
663
|
-
}[] | undefined;
|
|
664
831
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
665
832
|
hashtags?: string[] | undefined;
|
|
666
833
|
isAllowImport?: boolean | undefined;
|
|
667
834
|
isSensitive?: boolean | undefined;
|
|
668
835
|
locationConfig?: {
|
|
669
836
|
name?: string | undefined;
|
|
670
|
-
|
|
837
|
+
thumbnail?: string | null | undefined;
|
|
838
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
671
839
|
core?: {
|
|
672
840
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
673
841
|
sequential?: boolean | undefined;
|
|
674
842
|
interval?: number | undefined;
|
|
675
843
|
maxAgentExecutions?: number | null | undefined;
|
|
676
844
|
} | undefined;
|
|
845
|
+
description?: string | undefined;
|
|
677
846
|
rules?: string[] | undefined;
|
|
678
|
-
thumbnail?: string | null | undefined;
|
|
679
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
680
847
|
canvases?: {
|
|
681
848
|
name: string;
|
|
682
849
|
description: string;
|
|
@@ -688,8 +855,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
688
855
|
maxLength: number;
|
|
689
856
|
}[] | undefined;
|
|
690
857
|
gimmicks?: {
|
|
691
|
-
name: string;
|
|
692
858
|
appearance: string;
|
|
859
|
+
name: string;
|
|
693
860
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
694
861
|
images?: {
|
|
695
862
|
description: string;
|
|
@@ -698,6 +865,42 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
698
865
|
}[] | undefined;
|
|
699
866
|
}[] | undefined;
|
|
700
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;
|
|
701
904
|
}>;
|
|
702
905
|
export type CreateLocationPresetDto = z.infer<typeof CreateLocationPresetSchema>;
|
|
703
906
|
export interface CreateLocationPresetResponseDto {
|
|
@@ -760,12 +963,12 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
760
963
|
message: z.ZodOptional<z.ZodString>;
|
|
761
964
|
image: z.ZodOptional<z.ZodString>;
|
|
762
965
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
entityType: "
|
|
966
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
764
967
|
entityId: bigint;
|
|
765
968
|
message?: string | undefined;
|
|
766
969
|
image?: string | undefined;
|
|
767
970
|
}, {
|
|
768
|
-
entityType: "
|
|
971
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
769
972
|
entityId: bigint;
|
|
770
973
|
message?: string | undefined;
|
|
771
974
|
image?: string | undefined;
|
|
@@ -839,8 +1042,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
839
1042
|
url?: string | undefined;
|
|
840
1043
|
}>, "many">>;
|
|
841
1044
|
}, "strip", z.ZodTypeAny, {
|
|
842
|
-
name: string;
|
|
843
1045
|
appearance: string;
|
|
1046
|
+
name: string;
|
|
844
1047
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
845
1048
|
images?: {
|
|
846
1049
|
description: string;
|
|
@@ -848,8 +1051,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
848
1051
|
url?: string | undefined;
|
|
849
1052
|
}[] | undefined;
|
|
850
1053
|
}, {
|
|
851
|
-
name: string;
|
|
852
1054
|
appearance: string;
|
|
1055
|
+
name: string;
|
|
853
1056
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
854
1057
|
images?: {
|
|
855
1058
|
description: string;
|
|
@@ -859,16 +1062,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
859
1062
|
}>, "many">>;
|
|
860
1063
|
}, "strip", z.ZodTypeAny, {
|
|
861
1064
|
name?: string | undefined;
|
|
862
|
-
|
|
1065
|
+
thumbnail?: string | null | undefined;
|
|
1066
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
863
1067
|
core?: {
|
|
864
1068
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
865
1069
|
sequential?: boolean | undefined;
|
|
866
1070
|
interval?: number | undefined;
|
|
867
1071
|
maxAgentExecutions?: number | null | undefined;
|
|
868
1072
|
} | undefined;
|
|
1073
|
+
description?: string | undefined;
|
|
869
1074
|
rules?: string[] | undefined;
|
|
870
|
-
thumbnail?: string | null | undefined;
|
|
871
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
872
1075
|
canvases?: {
|
|
873
1076
|
name: string;
|
|
874
1077
|
description: string;
|
|
@@ -880,8 +1083,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
880
1083
|
maxLength: number;
|
|
881
1084
|
}[] | undefined;
|
|
882
1085
|
gimmicks?: {
|
|
883
|
-
name: string;
|
|
884
1086
|
appearance: string;
|
|
1087
|
+
name: string;
|
|
885
1088
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
886
1089
|
images?: {
|
|
887
1090
|
description: string;
|
|
@@ -891,16 +1094,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
891
1094
|
}[] | undefined;
|
|
892
1095
|
}, {
|
|
893
1096
|
name?: string | undefined;
|
|
894
|
-
|
|
1097
|
+
thumbnail?: string | null | undefined;
|
|
1098
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
895
1099
|
core?: {
|
|
896
1100
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
897
1101
|
sequential?: boolean | undefined;
|
|
898
1102
|
interval?: number | undefined;
|
|
899
1103
|
maxAgentExecutions?: number | null | undefined;
|
|
900
1104
|
} | undefined;
|
|
1105
|
+
description?: string | undefined;
|
|
901
1106
|
rules?: string[] | undefined;
|
|
902
|
-
thumbnail?: string | null | undefined;
|
|
903
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
904
1107
|
canvases?: {
|
|
905
1108
|
name: string;
|
|
906
1109
|
description: string;
|
|
@@ -912,8 +1115,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
912
1115
|
maxLength: number;
|
|
913
1116
|
}[] | undefined;
|
|
914
1117
|
gimmicks?: {
|
|
915
|
-
name: string;
|
|
916
1118
|
appearance: string;
|
|
1119
|
+
name: string;
|
|
917
1120
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
918
1121
|
images?: {
|
|
919
1122
|
description: string;
|
|
@@ -1034,13 +1237,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1034
1237
|
}>>;
|
|
1035
1238
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1036
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1037
|
-
name?: string | undefined;
|
|
1038
1240
|
avatar?: string | undefined;
|
|
1039
1241
|
referenceAvatar?: string | undefined;
|
|
1040
1242
|
appearance?: string | undefined;
|
|
1243
|
+
name?: string | undefined;
|
|
1041
1244
|
core?: {
|
|
1042
1245
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1043
1246
|
} | undefined;
|
|
1247
|
+
rules?: string[] | undefined;
|
|
1044
1248
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1045
1249
|
languages?: string[] | undefined;
|
|
1046
1250
|
timeZone?: string | undefined;
|
|
@@ -1067,15 +1271,15 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1067
1271
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1068
1272
|
} | undefined;
|
|
1069
1273
|
} | undefined;
|
|
1070
|
-
rules?: string[] | undefined;
|
|
1071
1274
|
}, {
|
|
1072
|
-
name?: string | undefined;
|
|
1073
1275
|
avatar?: string | undefined;
|
|
1074
1276
|
referenceAvatar?: string | undefined;
|
|
1075
1277
|
appearance?: string | undefined;
|
|
1278
|
+
name?: string | undefined;
|
|
1076
1279
|
core?: {
|
|
1077
1280
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1078
1281
|
} | undefined;
|
|
1282
|
+
rules?: string[] | undefined;
|
|
1079
1283
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1080
1284
|
languages?: string[] | undefined;
|
|
1081
1285
|
timeZone?: string | undefined;
|
|
@@ -1102,16 +1306,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1102
1306
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1103
1307
|
} | undefined;
|
|
1104
1308
|
} | undefined;
|
|
1105
|
-
rules?: string[] | undefined;
|
|
1106
1309
|
}>>, "many">>;
|
|
1107
1310
|
}, "strip", z.ZodTypeAny, {
|
|
1108
1311
|
name?: string | undefined;
|
|
1109
|
-
messages?: {
|
|
1110
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
1111
|
-
entityId: bigint;
|
|
1112
|
-
message?: string | undefined;
|
|
1113
|
-
image?: string | undefined;
|
|
1114
|
-
}[] | undefined;
|
|
1115
1312
|
thumbnail?: string | undefined;
|
|
1116
1313
|
canvases?: {
|
|
1117
1314
|
name: string;
|
|
@@ -1125,16 +1322,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1125
1322
|
isSensitive?: boolean | undefined;
|
|
1126
1323
|
locationConfig?: {
|
|
1127
1324
|
name?: string | undefined;
|
|
1128
|
-
|
|
1325
|
+
thumbnail?: string | null | undefined;
|
|
1326
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1129
1327
|
core?: {
|
|
1130
1328
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1131
1329
|
sequential?: boolean | undefined;
|
|
1132
1330
|
interval?: number | undefined;
|
|
1133
1331
|
maxAgentExecutions?: number | null | undefined;
|
|
1134
1332
|
} | undefined;
|
|
1333
|
+
description?: string | undefined;
|
|
1135
1334
|
rules?: string[] | undefined;
|
|
1136
|
-
thumbnail?: string | null | undefined;
|
|
1137
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1138
1335
|
canvases?: {
|
|
1139
1336
|
name: string;
|
|
1140
1337
|
description: string;
|
|
@@ -1146,8 +1343,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1146
1343
|
maxLength: number;
|
|
1147
1344
|
}[] | undefined;
|
|
1148
1345
|
gimmicks?: {
|
|
1149
|
-
name: string;
|
|
1150
1346
|
appearance: string;
|
|
1347
|
+
name: string;
|
|
1151
1348
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1152
1349
|
images?: {
|
|
1153
1350
|
description: string;
|
|
@@ -1157,13 +1354,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1157
1354
|
}[] | undefined;
|
|
1158
1355
|
} | undefined;
|
|
1159
1356
|
agentConfigs?: ({
|
|
1160
|
-
name?: string | undefined;
|
|
1161
1357
|
avatar?: string | undefined;
|
|
1162
1358
|
referenceAvatar?: string | undefined;
|
|
1163
1359
|
appearance?: string | undefined;
|
|
1360
|
+
name?: string | undefined;
|
|
1164
1361
|
core?: {
|
|
1165
1362
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1166
1363
|
} | undefined;
|
|
1364
|
+
rules?: string[] | undefined;
|
|
1167
1365
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1168
1366
|
languages?: string[] | undefined;
|
|
1169
1367
|
timeZone?: string | undefined;
|
|
@@ -1190,16 +1388,15 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1190
1388
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1191
1389
|
} | undefined;
|
|
1192
1390
|
} | undefined;
|
|
1193
|
-
rules?: string[] | undefined;
|
|
1194
1391
|
} | null)[] | undefined;
|
|
1195
|
-
}, {
|
|
1196
|
-
name?: string | undefined;
|
|
1197
1392
|
messages?: {
|
|
1198
|
-
entityType: "
|
|
1393
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1199
1394
|
entityId: bigint;
|
|
1200
1395
|
message?: string | undefined;
|
|
1201
1396
|
image?: string | undefined;
|
|
1202
1397
|
}[] | undefined;
|
|
1398
|
+
}, {
|
|
1399
|
+
name?: string | undefined;
|
|
1203
1400
|
thumbnail?: string | undefined;
|
|
1204
1401
|
canvases?: {
|
|
1205
1402
|
name: string;
|
|
@@ -1213,16 +1410,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1213
1410
|
isSensitive?: boolean | undefined;
|
|
1214
1411
|
locationConfig?: {
|
|
1215
1412
|
name?: string | undefined;
|
|
1216
|
-
|
|
1413
|
+
thumbnail?: string | null | undefined;
|
|
1414
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1217
1415
|
core?: {
|
|
1218
1416
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1219
1417
|
sequential?: boolean | undefined;
|
|
1220
1418
|
interval?: number | undefined;
|
|
1221
1419
|
maxAgentExecutions?: number | null | undefined;
|
|
1222
1420
|
} | undefined;
|
|
1421
|
+
description?: string | undefined;
|
|
1223
1422
|
rules?: string[] | undefined;
|
|
1224
|
-
thumbnail?: string | null | undefined;
|
|
1225
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1226
1423
|
canvases?: {
|
|
1227
1424
|
name: string;
|
|
1228
1425
|
description: string;
|
|
@@ -1234,8 +1431,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1234
1431
|
maxLength: number;
|
|
1235
1432
|
}[] | undefined;
|
|
1236
1433
|
gimmicks?: {
|
|
1237
|
-
name: string;
|
|
1238
1434
|
appearance: string;
|
|
1435
|
+
name: string;
|
|
1239
1436
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1240
1437
|
images?: {
|
|
1241
1438
|
description: string;
|
|
@@ -1245,13 +1442,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1245
1442
|
}[] | undefined;
|
|
1246
1443
|
} | undefined;
|
|
1247
1444
|
agentConfigs?: ({
|
|
1248
|
-
name?: string | undefined;
|
|
1249
1445
|
avatar?: string | undefined;
|
|
1250
1446
|
referenceAvatar?: string | undefined;
|
|
1251
1447
|
appearance?: string | undefined;
|
|
1448
|
+
name?: string | undefined;
|
|
1252
1449
|
core?: {
|
|
1253
1450
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1254
1451
|
} | undefined;
|
|
1452
|
+
rules?: string[] | undefined;
|
|
1255
1453
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1256
1454
|
languages?: string[] | undefined;
|
|
1257
1455
|
timeZone?: string | undefined;
|
|
@@ -1278,8 +1476,13 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1278
1476
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1279
1477
|
} | undefined;
|
|
1280
1478
|
} | undefined;
|
|
1281
|
-
rules?: string[] | undefined;
|
|
1282
1479
|
} | null)[] | undefined;
|
|
1480
|
+
messages?: {
|
|
1481
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1482
|
+
entityId: bigint;
|
|
1483
|
+
message?: string | undefined;
|
|
1484
|
+
image?: string | undefined;
|
|
1485
|
+
}[] | undefined;
|
|
1283
1486
|
}>;
|
|
1284
1487
|
export type UpdateLocationPresetBodyDto = z.infer<typeof UpdateLocationPresetBodySchema>;
|
|
1285
1488
|
export interface UpdateLocationPresetResponseDto {
|
|
@@ -1416,8 +1619,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1416
1619
|
url?: string | undefined;
|
|
1417
1620
|
}>, "many">>;
|
|
1418
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1419
|
-
name: string;
|
|
1420
1622
|
appearance: string;
|
|
1623
|
+
name: string;
|
|
1421
1624
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1422
1625
|
images?: {
|
|
1423
1626
|
description: string;
|
|
@@ -1425,8 +1628,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1425
1628
|
url?: string | undefined;
|
|
1426
1629
|
}[] | undefined;
|
|
1427
1630
|
}, {
|
|
1428
|
-
name: string;
|
|
1429
1631
|
appearance: string;
|
|
1632
|
+
name: string;
|
|
1430
1633
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1431
1634
|
images?: {
|
|
1432
1635
|
description: string;
|
|
@@ -1436,16 +1639,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1436
1639
|
}>, "many">>;
|
|
1437
1640
|
}, "strict", z.ZodTypeAny, {
|
|
1438
1641
|
name?: string | undefined;
|
|
1439
|
-
|
|
1642
|
+
thumbnail?: string | null | undefined;
|
|
1643
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1440
1644
|
core?: {
|
|
1441
1645
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1442
1646
|
sequential?: boolean | undefined;
|
|
1443
1647
|
interval?: number | undefined;
|
|
1444
1648
|
maxAgentExecutions?: number | null | undefined;
|
|
1445
1649
|
} | undefined;
|
|
1650
|
+
description?: string | undefined;
|
|
1446
1651
|
rules?: string[] | undefined;
|
|
1447
|
-
thumbnail?: string | null | undefined;
|
|
1448
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1449
1652
|
canvases?: {
|
|
1450
1653
|
name: string;
|
|
1451
1654
|
description: string;
|
|
@@ -1457,8 +1660,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1457
1660
|
maxLength: number;
|
|
1458
1661
|
}[] | undefined;
|
|
1459
1662
|
gimmicks?: {
|
|
1460
|
-
name: string;
|
|
1461
1663
|
appearance: string;
|
|
1664
|
+
name: string;
|
|
1462
1665
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1463
1666
|
images?: {
|
|
1464
1667
|
description: string;
|
|
@@ -1468,16 +1671,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1468
1671
|
}[] | undefined;
|
|
1469
1672
|
}, {
|
|
1470
1673
|
name?: string | undefined;
|
|
1471
|
-
|
|
1674
|
+
thumbnail?: string | null | undefined;
|
|
1675
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1472
1676
|
core?: {
|
|
1473
1677
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1474
1678
|
sequential?: boolean | undefined;
|
|
1475
1679
|
interval?: number | undefined;
|
|
1476
1680
|
maxAgentExecutions?: number | null | undefined;
|
|
1477
1681
|
} | undefined;
|
|
1682
|
+
description?: string | undefined;
|
|
1478
1683
|
rules?: string[] | undefined;
|
|
1479
|
-
thumbnail?: string | null | undefined;
|
|
1480
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1481
1684
|
canvases?: {
|
|
1482
1685
|
name: string;
|
|
1483
1686
|
description: string;
|
|
@@ -1489,8 +1692,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1489
1692
|
maxLength: number;
|
|
1490
1693
|
}[] | undefined;
|
|
1491
1694
|
gimmicks?: {
|
|
1492
|
-
name: string;
|
|
1493
1695
|
appearance: string;
|
|
1696
|
+
name: string;
|
|
1494
1697
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1495
1698
|
images?: {
|
|
1496
1699
|
description: string;
|
|
@@ -1504,19 +1707,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1504
1707
|
readonly MINIMO: "MINIMO";
|
|
1505
1708
|
}>>>;
|
|
1506
1709
|
}, "strip", z.ZodTypeAny, {
|
|
1507
|
-
platform: "API" | "MINIMO";
|
|
1508
1710
|
config: {
|
|
1509
1711
|
name?: string | undefined;
|
|
1510
|
-
|
|
1712
|
+
thumbnail?: string | null | undefined;
|
|
1713
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1511
1714
|
core?: {
|
|
1512
1715
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1513
1716
|
sequential?: boolean | undefined;
|
|
1514
1717
|
interval?: number | undefined;
|
|
1515
1718
|
maxAgentExecutions?: number | null | undefined;
|
|
1516
1719
|
} | undefined;
|
|
1720
|
+
description?: string | undefined;
|
|
1517
1721
|
rules?: string[] | undefined;
|
|
1518
|
-
thumbnail?: string | null | undefined;
|
|
1519
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1520
1722
|
canvases?: {
|
|
1521
1723
|
name: string;
|
|
1522
1724
|
description: string;
|
|
@@ -1528,8 +1730,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1528
1730
|
maxLength: number;
|
|
1529
1731
|
}[] | undefined;
|
|
1530
1732
|
gimmicks?: {
|
|
1531
|
-
name: string;
|
|
1532
1733
|
appearance: string;
|
|
1734
|
+
name: string;
|
|
1533
1735
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1534
1736
|
images?: {
|
|
1535
1737
|
description: string;
|
|
@@ -1538,19 +1740,20 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1538
1740
|
}[] | undefined;
|
|
1539
1741
|
}[] | undefined;
|
|
1540
1742
|
};
|
|
1743
|
+
platform: "API" | "MINIMO";
|
|
1541
1744
|
}, {
|
|
1542
1745
|
config: {
|
|
1543
1746
|
name?: string | undefined;
|
|
1544
|
-
|
|
1747
|
+
thumbnail?: string | null | undefined;
|
|
1748
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1545
1749
|
core?: {
|
|
1546
1750
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1547
1751
|
sequential?: boolean | undefined;
|
|
1548
1752
|
interval?: number | undefined;
|
|
1549
1753
|
maxAgentExecutions?: number | null | undefined;
|
|
1550
1754
|
} | undefined;
|
|
1755
|
+
description?: string | undefined;
|
|
1551
1756
|
rules?: string[] | undefined;
|
|
1552
|
-
thumbnail?: string | null | undefined;
|
|
1553
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1554
1757
|
canvases?: {
|
|
1555
1758
|
name: string;
|
|
1556
1759
|
description: string;
|
|
@@ -1562,8 +1765,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1562
1765
|
maxLength: number;
|
|
1563
1766
|
}[] | undefined;
|
|
1564
1767
|
gimmicks?: {
|
|
1565
|
-
name: string;
|
|
1566
1768
|
appearance: string;
|
|
1769
|
+
name: string;
|
|
1567
1770
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1568
1771
|
images?: {
|
|
1569
1772
|
description: string;
|
|
@@ -1586,8 +1789,8 @@ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
|
|
|
1586
1789
|
}>>>;
|
|
1587
1790
|
import: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1588
1791
|
}, "strip", z.ZodTypeAny, {
|
|
1589
|
-
platform: "API" | "MINIMO";
|
|
1590
1792
|
presetId: bigint;
|
|
1793
|
+
platform: "API" | "MINIMO";
|
|
1591
1794
|
import: boolean;
|
|
1592
1795
|
}, {
|
|
1593
1796
|
presetId: bigint;
|
|
@@ -1637,8 +1840,8 @@ export declare const GetLocationHelperLocationQuerySchema: z.ZodObject<{
|
|
|
1637
1840
|
readonly MINIMO: "MINIMO";
|
|
1638
1841
|
}>>>;
|
|
1639
1842
|
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
platform: "API" | "MINIMO";
|
|
1641
1843
|
locationId: bigint;
|
|
1844
|
+
platform: "API" | "MINIMO";
|
|
1642
1845
|
}, {
|
|
1643
1846
|
locationId: bigint;
|
|
1644
1847
|
platform?: "API" | "MINIMO" | undefined;
|
|
@@ -2213,12 +2416,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
|
|
|
2213
2416
|
image: z.ZodString;
|
|
2214
2417
|
index: z.ZodOptional<z.ZodNumber>;
|
|
2215
2418
|
}, "strip", z.ZodTypeAny, {
|
|
2216
|
-
image: string;
|
|
2217
2419
|
locationId: bigint;
|
|
2420
|
+
image: string;
|
|
2218
2421
|
index?: number | undefined;
|
|
2219
2422
|
}, {
|
|
2220
|
-
image: string;
|
|
2221
2423
|
locationId: bigint;
|
|
2424
|
+
image: string;
|
|
2222
2425
|
index?: number | undefined;
|
|
2223
2426
|
}>;
|
|
2224
2427
|
export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
|