@little-samo/samo-ai-sdk 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,11 +7,11 @@ export declare const AgentsPaginationQuerySchema: z.ZodObject<{
7
7
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8
8
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- page: number;
11
10
  limit: number;
11
+ page: number;
12
12
  }, {
13
- page?: number | undefined;
14
13
  limit?: number | undefined;
14
+ page?: number | undefined;
15
15
  }>;
16
16
  export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
17
17
  export interface AgentsPaginatedResponseDto {
@@ -145,9 +145,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
145
145
  }>>;
146
146
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
147
147
  }, "strict", z.ZodTypeAny, {
148
- appearance?: string | undefined;
149
148
  name?: string | undefined;
150
149
  avatar?: string | undefined;
150
+ appearance?: string | undefined;
151
151
  core?: {
152
152
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
153
153
  } | undefined;
@@ -178,9 +178,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
178
178
  } | undefined;
179
179
  rules?: string[] | undefined;
180
180
  }, {
181
- appearance?: string | undefined;
182
181
  name?: string | undefined;
183
182
  avatar?: string | undefined;
183
+ appearance?: string | undefined;
184
184
  core?: {
185
185
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
186
186
  } | undefined;
@@ -212,11 +212,10 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
212
212
  rules?: string[] | undefined;
213
213
  }>;
214
214
  }, "strip", z.ZodTypeAny, {
215
- agentId: bigint;
216
215
  config: {
217
- appearance?: string | undefined;
218
216
  name?: string | undefined;
219
217
  avatar?: string | undefined;
218
+ appearance?: string | undefined;
220
219
  core?: {
221
220
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
222
221
  } | undefined;
@@ -247,12 +246,12 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
247
246
  } | undefined;
248
247
  rules?: string[] | undefined;
249
248
  };
250
- }, {
251
249
  agentId: bigint;
250
+ }, {
252
251
  config: {
253
- appearance?: string | undefined;
254
252
  name?: string | undefined;
255
253
  avatar?: string | undefined;
254
+ appearance?: string | undefined;
256
255
  core?: {
257
256
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
258
257
  } | undefined;
@@ -283,6 +282,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
283
282
  } | undefined;
284
283
  rules?: string[] | undefined;
285
284
  };
285
+ agentId: bigint;
286
286
  }>;
287
287
  export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
288
288
  export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
@@ -308,7 +308,6 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
308
308
  token: string;
309
309
  }>]>;
310
310
  }, "strip", z.ZodTypeAny, {
311
- agentId: bigint;
312
311
  credential: {
313
312
  type: "notion";
314
313
  token: string;
@@ -316,8 +315,8 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
316
315
  type: "notion";
317
316
  token: string;
318
317
  };
319
- }, {
320
318
  agentId: bigint;
319
+ }, {
321
320
  credential: {
322
321
  type: "notion";
323
322
  token: string;
@@ -325,6 +324,7 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
325
324
  type: "notion";
326
325
  token: string;
327
326
  };
327
+ agentId: bigint;
328
328
  }>;
329
329
  export type AgentUpdateCredentialDto = z.infer<typeof AgentUpdateCredentialSchema>;
330
330
  export interface AgentUpdateCredentialResponseDto {
@@ -335,11 +335,11 @@ export declare const AgentDeleteCredentialSchema: z.ZodObject<{
335
335
  agentId: z.ZodBigInt;
336
336
  credentialType: z.ZodString;
337
337
  }, "strip", z.ZodTypeAny, {
338
- agentId: bigint;
339
338
  credentialType: string;
340
- }, {
341
339
  agentId: bigint;
340
+ }, {
342
341
  credentialType: string;
342
+ agentId: bigint;
343
343
  }>;
344
344
  export type AgentDeleteCredentialDto = z.infer<typeof AgentDeleteCredentialSchema>;
345
345
  export interface AgentDeleteCredentialResponseDto {
@@ -350,11 +350,11 @@ export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
350
350
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
351
351
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
352
352
  }, "strip", z.ZodTypeAny, {
353
- page: number;
354
353
  limit: number;
354
+ page: number;
355
355
  }, {
356
- page?: number | undefined;
357
356
  limit?: number | undefined;
357
+ page?: number | undefined;
358
358
  }>;
359
359
  export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
360
360
  export interface AgentPresetsPaginatedResponseDto {
@@ -473,9 +473,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
473
473
  }>>;
474
474
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
475
475
  }, "strict", z.ZodTypeAny, {
476
- appearance?: string | undefined;
477
476
  name?: string | undefined;
478
477
  avatar?: string | undefined;
478
+ appearance?: string | undefined;
479
479
  core?: {
480
480
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
481
481
  } | undefined;
@@ -506,9 +506,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
506
506
  } | undefined;
507
507
  rules?: string[] | undefined;
508
508
  }, {
509
- appearance?: string | undefined;
510
509
  name?: string | undefined;
511
510
  avatar?: string | undefined;
511
+ appearance?: string | undefined;
512
512
  core?: {
513
513
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
514
514
  } | undefined;
@@ -541,9 +541,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
541
541
  }>;
542
542
  }, "strip", z.ZodTypeAny, {
543
543
  config: {
544
- appearance?: string | undefined;
545
544
  name?: string | undefined;
546
545
  avatar?: string | undefined;
546
+ appearance?: string | undefined;
547
547
  core?: {
548
548
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
549
549
  } | undefined;
@@ -576,9 +576,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
576
576
  };
577
577
  }, {
578
578
  config: {
579
- appearance?: string | undefined;
580
579
  name?: string | undefined;
581
580
  avatar?: string | undefined;
581
+ appearance?: string | undefined;
582
582
  core?: {
583
583
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
584
584
  } | undefined;
@@ -15,8 +15,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
15
15
  limit: number;
16
16
  cursor?: string | undefined;
17
17
  }, {
18
- limit?: number | undefined;
19
18
  cursor?: string | undefined;
19
+ limit?: number | undefined;
20
20
  }>;
21
21
  export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
22
22
  export interface UserLocationsResponseDto {
@@ -30,11 +30,11 @@ export declare const PublishedLocationsQuerySchema: z.ZodObject<{
30
30
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
31
31
  limit: z.ZodDefault<z.ZodNumber>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- page: number;
34
33
  limit: number;
34
+ page: number;
35
35
  }, {
36
- page?: number | undefined;
37
36
  limit?: number | undefined;
37
+ page?: number | undefined;
38
38
  }>;
39
39
  export type PublishedLocationsQueryDto = z.infer<typeof PublishedLocationsQuerySchema>;
40
40
  export interface PublishedLocationsResponseDto {
@@ -118,7 +118,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
118
118
  maxLength: number;
119
119
  }>, "many">>;
120
120
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
121
- core: z.ZodUnion<[z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">, z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">, ...z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">[]]>;
121
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">[]]>;
122
122
  name: z.ZodString;
123
123
  appearance: z.ZodString;
124
124
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -135,18 +135,18 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
135
135
  url?: string | undefined;
136
136
  }>, "many">>;
137
137
  }, "strip", z.ZodTypeAny, {
138
- appearance: string;
139
138
  name: string;
140
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
139
+ appearance: string;
140
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
141
141
  images?: {
142
142
  description: string;
143
143
  name?: string | undefined;
144
144
  url?: string | undefined;
145
145
  }[] | undefined;
146
146
  }, {
147
- appearance: string;
148
147
  name: string;
149
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
148
+ appearance: string;
149
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
150
150
  images?: {
151
151
  description: string;
152
152
  name?: string | undefined;
@@ -176,9 +176,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
176
176
  maxLength: number;
177
177
  }[] | undefined;
178
178
  gimmicks?: {
179
- appearance: string;
180
179
  name: string;
181
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
180
+ appearance: string;
181
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
182
182
  images?: {
183
183
  description: string;
184
184
  name?: string | undefined;
@@ -208,9 +208,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
208
208
  maxLength: number;
209
209
  }[] | undefined;
210
210
  gimmicks?: {
211
- appearance: string;
212
211
  name: string;
213
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
212
+ appearance: string;
213
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
214
214
  images?: {
215
215
  description: string;
216
216
  name?: string | undefined;
@@ -219,6 +219,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
219
219
  }[] | undefined;
220
220
  }>;
221
221
  }, "strip", z.ZodTypeAny, {
222
+ locationId: bigint;
222
223
  config: {
223
224
  name?: string | undefined;
224
225
  description?: string | undefined;
@@ -242,9 +243,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
242
243
  maxLength: number;
243
244
  }[] | undefined;
244
245
  gimmicks?: {
245
- appearance: string;
246
246
  name: string;
247
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
247
+ appearance: string;
248
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
248
249
  images?: {
249
250
  description: string;
250
251
  name?: string | undefined;
@@ -252,8 +253,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
252
253
  }[] | undefined;
253
254
  }[] | undefined;
254
255
  };
255
- locationId: bigint;
256
256
  }, {
257
+ locationId: bigint;
257
258
  config: {
258
259
  name?: string | undefined;
259
260
  description?: string | undefined;
@@ -277,9 +278,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
277
278
  maxLength: number;
278
279
  }[] | undefined;
279
280
  gimmicks?: {
280
- appearance: string;
281
281
  name: string;
282
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
282
+ appearance: string;
283
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
283
284
  images?: {
284
285
  description: string;
285
286
  name?: string | undefined;
@@ -287,7 +288,6 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
287
288
  }[] | undefined;
288
289
  }[] | undefined;
289
290
  };
290
- locationId: bigint;
291
291
  }>;
292
292
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
293
293
  export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
@@ -313,6 +313,7 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
313
313
  token: string;
314
314
  }>]>;
315
315
  }, "strip", z.ZodTypeAny, {
316
+ locationId: bigint;
316
317
  credential: {
317
318
  type: "notion";
318
319
  token: string;
@@ -320,8 +321,8 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
320
321
  type: "notion";
321
322
  token: string;
322
323
  };
323
- locationId: bigint;
324
324
  }, {
325
+ locationId: bigint;
325
326
  credential: {
326
327
  type: "notion";
327
328
  token: string;
@@ -329,7 +330,6 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
329
330
  type: "notion";
330
331
  token: string;
331
332
  };
332
- locationId: bigint;
333
333
  }>;
334
334
  export type LocationUpdateCredentialDto = z.infer<typeof LocationUpdateCredentialSchema>;
335
335
  export interface LocationUpdateCredentialResponseDto {
@@ -340,11 +340,11 @@ export declare const LocationDeleteCredentialSchema: z.ZodObject<{
340
340
  locationId: z.ZodBigInt;
341
341
  credentialType: z.ZodString;
342
342
  }, "strip", z.ZodTypeAny, {
343
- credentialType: string;
344
343
  locationId: bigint;
345
- }, {
346
344
  credentialType: string;
345
+ }, {
347
346
  locationId: bigint;
347
+ credentialType: string;
348
348
  }>;
349
349
  export type LocationDeleteCredentialDto = z.infer<typeof LocationDeleteCredentialSchema>;
350
350
  export interface LocationDeleteCredentialResponseDto {
@@ -355,11 +355,11 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
355
355
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
356
356
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
357
357
  }, "strip", z.ZodTypeAny, {
358
- page: number;
359
358
  limit: number;
359
+ page: number;
360
360
  }, {
361
- page?: number | undefined;
362
361
  limit?: number | undefined;
362
+ page?: number | undefined;
363
363
  }>;
364
364
  export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
365
365
  export interface LocationPresetsPaginatedResponseDto {
@@ -377,12 +377,12 @@ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
377
377
  limit: z.ZodDefault<z.ZodNumber>;
378
378
  }, "strip", z.ZodTypeAny, {
379
379
  type: "NOVEL";
380
- page: number;
381
380
  limit: number;
381
+ page: number;
382
382
  }, {
383
383
  type: "NOVEL";
384
- page?: number | undefined;
385
384
  limit?: number | undefined;
385
+ page?: number | undefined;
386
386
  }>;
387
387
  export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
388
388
  export interface PublishedLocationPresetsResponseDto {
@@ -643,8 +643,8 @@ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
643
643
  cursor?: string | undefined;
644
644
  }, {
645
645
  presetId: bigint;
646
- limit?: number | undefined;
647
646
  cursor?: string | undefined;
647
+ limit?: number | undefined;
648
648
  }>;
649
649
  export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
650
650
  export interface GetLocationPresetLocationsResponseDto {
@@ -704,7 +704,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
704
704
  maxLength: number;
705
705
  }>, "many">>;
706
706
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
707
- core: z.ZodUnion<[z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">, z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">, ...z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">[]]>;
707
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">[]]>;
708
708
  name: z.ZodString;
709
709
  appearance: z.ZodString;
710
710
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -721,18 +721,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
721
721
  url?: string | undefined;
722
722
  }>, "many">>;
723
723
  }, "strip", z.ZodTypeAny, {
724
- appearance: string;
725
724
  name: string;
726
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
725
+ appearance: string;
726
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
727
727
  images?: {
728
728
  description: string;
729
729
  name?: string | undefined;
730
730
  url?: string | undefined;
731
731
  }[] | undefined;
732
732
  }, {
733
- appearance: string;
734
733
  name: string;
735
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
734
+ appearance: string;
735
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
736
736
  images?: {
737
737
  description: string;
738
738
  name?: string | undefined;
@@ -762,9 +762,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
762
762
  maxLength: number;
763
763
  }[] | undefined;
764
764
  gimmicks?: {
765
- appearance: string;
766
765
  name: string;
767
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
766
+ appearance: string;
767
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
768
768
  images?: {
769
769
  description: string;
770
770
  name?: string | undefined;
@@ -794,9 +794,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
794
794
  maxLength: number;
795
795
  }[] | undefined;
796
796
  gimmicks?: {
797
- appearance: string;
798
797
  name: string;
799
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
798
+ appearance: string;
799
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
800
800
  images?: {
801
801
  description: string;
802
802
  name?: string | undefined;
@@ -832,9 +832,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
832
832
  maxLength: number;
833
833
  }[] | undefined;
834
834
  gimmicks?: {
835
- appearance: string;
836
835
  name: string;
837
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
836
+ appearance: string;
837
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
838
838
  images?: {
839
839
  description: string;
840
840
  name?: string | undefined;
@@ -867,9 +867,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
867
867
  maxLength: number;
868
868
  }[] | undefined;
869
869
  gimmicks?: {
870
- appearance: string;
871
870
  name: string;
872
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
871
+ appearance: string;
872
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
873
873
  images?: {
874
874
  description: string;
875
875
  name?: string | undefined;
@@ -925,8 +925,8 @@ export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
925
925
  readonly MINIMO: "MINIMO";
926
926
  }>>>;
927
927
  }, "strip", z.ZodTypeAny, {
928
- agentId: bigint;
929
928
  platform: "API" | "MINIMO";
929
+ agentId: bigint;
930
930
  }, {
931
931
  agentId: bigint;
932
932
  platform?: "API" | "MINIMO" | undefined;
@@ -959,8 +959,8 @@ export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
959
959
  readonly MINIMO: "MINIMO";
960
960
  }>>>;
961
961
  }, "strip", z.ZodTypeAny, {
962
- agentId: bigint;
963
962
  platform: "API" | "MINIMO";
963
+ agentId: bigint;
964
964
  }, {
965
965
  agentId: bigint;
966
966
  platform?: "API" | "MINIMO" | undefined;
@@ -1158,11 +1158,11 @@ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
1158
1158
  locationId: z.ZodBigInt;
1159
1159
  agentId: z.ZodBigInt;
1160
1160
  }, "strip", z.ZodTypeAny, {
1161
- agentId: bigint;
1162
1161
  locationId: bigint;
1163
- }, {
1164
1162
  agentId: bigint;
1163
+ }, {
1165
1164
  locationId: bigint;
1165
+ agentId: bigint;
1166
1166
  }>;
1167
1167
  export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
1168
1168
  export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
@@ -1189,11 +1189,11 @@ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
1189
1189
  locationId: z.ZodBigInt;
1190
1190
  agentId: z.ZodBigInt;
1191
1191
  }, "strip", z.ZodTypeAny, {
1192
- agentId: bigint;
1193
1192
  locationId: bigint;
1194
- }, {
1195
1193
  agentId: bigint;
1194
+ }, {
1196
1195
  locationId: bigint;
1196
+ agentId: bigint;
1197
1197
  }>;
1198
1198
  export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
1199
1199
  export declare const UpdateLocationParamsSchema: z.ZodObject<{
@@ -1518,12 +1518,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
1518
1518
  image: z.ZodString;
1519
1519
  index: z.ZodOptional<z.ZodNumber>;
1520
1520
  }, "strip", z.ZodTypeAny, {
1521
- image: string;
1522
1521
  locationId: bigint;
1522
+ image: string;
1523
1523
  index?: number | undefined;
1524
1524
  }, {
1525
- image: string;
1526
1525
  locationId: bigint;
1526
+ image: string;
1527
1527
  index?: number | undefined;
1528
1528
  }>;
1529
1529
  export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
@@ -1558,12 +1558,12 @@ export declare const UpdateLocationAgentIsActiveSchema: z.ZodObject<{
1558
1558
  agentId: z.ZodBigInt;
1559
1559
  isActive: z.ZodBoolean;
1560
1560
  }, "strip", z.ZodTypeAny, {
1561
- agentId: bigint;
1562
1561
  locationId: bigint;
1562
+ agentId: bigint;
1563
1563
  isActive: boolean;
1564
1564
  }, {
1565
- agentId: bigint;
1566
1565
  locationId: bigint;
1566
+ agentId: bigint;
1567
1567
  isActive: boolean;
1568
1568
  }>;
1569
1569
  export type UpdateLocationAgentIsActiveDto = z.infer<typeof UpdateLocationAgentIsActiveSchema>;
@@ -1,8 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const GetImageUploadUrlBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2
+ export declare const GetImageUploadUrlBodySchema: z.ZodObject<{
3
+ fileSizeBytes: z.ZodNumber;
4
+ }, "strip", z.ZodTypeAny, {
5
+ fileSizeBytes: number;
6
+ }, {
7
+ fileSizeBytes: number;
8
+ }>;
3
9
  export type GetImageUploadUrlBodyDto = z.infer<typeof GetImageUploadUrlBodySchema>;
4
10
  export interface GetImageUploadUrlResponseDto {
5
11
  url: string;
6
- fields: Record<string, string>;
12
+ contentType: string;
7
13
  path: string;
8
14
  }
@@ -2,5 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetImageUploadUrlBodySchema = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.GetImageUploadUrlBodySchema = zod_1.z.object({});
5
+ exports.GetImageUploadUrlBodySchema = zod_1.z.object({
6
+ fileSizeBytes: zod_1.z
7
+ .number()
8
+ .int()
9
+ .positive()
10
+ .max(1024 * 1024),
11
+ });
6
12
  //# sourceMappingURL=upload.requests.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload.requests.js","sourceRoot":"","sources":["../../../src/dto/upload/upload.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAOX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"upload.requests.js","sourceRoot":"","sources":["../../../src/dto/upload/upload.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAOX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,aAAa,EAAE,OAAC;SACb,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC;CACpB,CAAC,CAAC"}
@@ -13,13 +13,13 @@ exports.AgentConfigCoreSchema = zod_1.z.object({
13
13
  name: zod_1.z.union([
14
14
  zod_1.z
15
15
  .literal('evaluate_and_actions')
16
- .describe('Evaluates conditions and context before taking actions. Best for thoughtful, context-aware responses that require analysis of the situation before acting.'),
16
+ .describe('Analyzes context first, then acts. Use for agents that need thoughtful, situation-aware responses.'),
17
17
  zod_1.z
18
18
  .literal('execute_actions')
19
- .describe('Executes actions immediately without preliminary evaluation. Best for reactive agents that should respond quickly without extensive analysis.'),
19
+ .describe('Acts immediately without analysis. Use for fast, reactive agents.'),
20
20
  zod_1.z
21
21
  .literal('response_every_message')
22
- .describe('Responds to every new message in the location. Best for conversational agents that should actively participate in all discussions.'),
22
+ .describe('Replies to every message. Use for highly conversational agents.'),
23
23
  ]),
24
24
  });
25
25
  exports.CharacterSchema = zod_1.z
@@ -29,63 +29,67 @@ exports.CharacterSchema = zod_1.z
29
29
  role: zod_1.z
30
30
  .string()
31
31
  .max(500)
32
- .describe("**CRITICAL**. The agent's primary function and purpose (e.g., 'A helper agent for crafting new agents and discovering treasures)")
32
+ .describe("**CRITICAL**: Agent's primary purpose. Example: 'Helper for crafting agents and discovering treasures'")
33
33
  .optional(),
34
34
  gender: zod_1.z
35
35
  .string()
36
36
  .max(30)
37
- .describe("The agent's gender identity")
37
+ .describe("Agent's gender identity")
38
38
  .optional(),
39
39
  expertise: zod_1.z
40
40
  .string()
41
41
  .max(500)
42
- .describe('Specialized knowledge areas')
42
+ .describe('Areas of specialized knowledge')
43
43
  .optional(),
44
44
  backstory: zod_1.z
45
45
  .string()
46
46
  .max(1000)
47
- .describe("A brief history of the agent's experiences")
47
+ .describe("Agent's history and past experiences")
48
48
  .optional(),
49
49
  })
50
- .describe("Defines the agent's core identity and backstory")
50
+ .describe("Agent's core identity and background")
51
51
  .optional(),
52
52
  speech: zod_1.z
53
53
  .object({
54
54
  tone: zod_1.z
55
55
  .string()
56
56
  .max(500)
57
- .describe("The emotional quality of the agent's voice")
57
+ .describe('Emotional quality (e.g., warm, serious, playful)')
58
58
  .optional(),
59
59
  style: zod_1.z
60
60
  .string()
61
61
  .max(500)
62
- .describe("The agent's manner of expression")
62
+ .describe('Expression style (e.g., concise, verbose, poetic)')
63
63
  .optional(),
64
64
  formality: zod_1.z
65
65
  .string()
66
66
  .max(500)
67
- .describe('The level of conventionality in language')
67
+ .describe('Language formality level (e.g., casual, professional, formal)')
68
68
  .optional(),
69
69
  })
70
- .describe("Controls the agent's communication style")
70
+ .describe('How the agent communicates')
71
71
  .optional(),
72
72
  personality: zod_1.z
73
73
  .object({
74
- traits: zod_1.z.string().max(500).describe('Key characteristics').optional(),
74
+ traits: zod_1.z
75
+ .string()
76
+ .max(500)
77
+ .describe('Defining characteristics')
78
+ .optional(),
75
79
  interests: zod_1.z
76
80
  .string()
77
81
  .max(500)
78
- .describe('Hobbies and topics the agent enjoys')
82
+ .describe('Topics and activities the agent enjoys')
79
83
  .optional(),
80
84
  values: zod_1.z
81
85
  .string()
82
86
  .max(500)
83
- .describe("Core principles that guide the agent's actions")
87
+ .describe('Core principles guiding behavior')
84
88
  .optional(),
85
89
  quirks: zod_1.z
86
90
  .string()
87
91
  .max(500)
88
- .describe('Peculiar habits or eccentricities')
92
+ .describe('Unique habits or mannerisms')
89
93
  .optional(),
90
94
  mbti: zod_1.z
91
95
  .union([
@@ -108,33 +112,29 @@ exports.CharacterSchema = zod_1.z
108
112
  ])
109
113
  .optional(),
110
114
  })
111
- .describe("Describes the agent's distinctive traits and behaviors")
115
+ .describe("Agent's personality traits and behaviors")
112
116
  .optional(),
113
117
  })
114
- .describe("Defines the agent's character using a structured format with predefined categories and properties");
118
+ .describe('Structured character definition with background, speech style, and personality');
115
119
  const LlmPresetSchema = zod_1.z.union([
116
- zod_1.z.literal('free').describe('Free tier model with basic capabilities.'),
120
+ zod_1.z.literal('free').describe('Free tier: Basic capabilities'),
117
121
  zod_1.z
118
122
  .literal('gemini-low')
119
- .describe('Gemini - Economical model optimized for straightforward tasks and basic interactions. Cost-effective choice for simple operations.'),
123
+ .describe('Gemini Low: Cost-effective for simple tasks'),
120
124
  zod_1.z
121
125
  .literal('gemini-medium')
122
- .describe('Gemini - Well-balanced model ideal for general-purpose applications. Recommended for most use cases requiring reliable performance.'),
126
+ .describe('Gemini Medium: **RECOMMENDED**. Best balanced performance for general use. Primary choice for most applications'),
123
127
  zod_1.z
124
128
  .literal('gemini-high')
125
- .describe('Gemini - Premium model with highest performance capabilities. Offers superior reasoning and complex task handling but comes with higher costs and slower processing times.'),
126
- zod_1.z
127
- .literal('openai-low')
128
- .describe('OpenAI GPT - Budget-friendly model designed for elementary tasks and routine operations. Efficient for basic conversational needs.'),
129
+ .describe('Gemini High: Premium reasoning for complex tasks. Higher cost and slower'),
130
+ zod_1.z.literal('openai-low').describe('OpenAI Low: Budget-friendly alternative'),
129
131
  zod_1.z
130
132
  .literal('openai-medium')
131
- .describe('OpenAI GPT - Versatile model delivering solid performance across diverse scenarios. Optimal balance of capability and cost-effectiveness.'),
132
- zod_1.z
133
- .literal('xai-low')
134
- .describe('xAI Grok - Budget-friendly model optimized for efficient processing and basic conversational tasks. Cost-effective option for routine operations.'),
133
+ .describe('OpenAI Medium: Alternative versatile option'),
134
+ zod_1.z.literal('xai-low').describe('xAI Grok Low: Alternative for routine tasks'),
135
135
  zod_1.z
136
136
  .literal('xai-medium')
137
- .describe('xAI Grok - Balanced model offering strong performance for general-purpose applications. Good combination of reasoning capability and processing speed.'),
137
+ .describe('xAI Grok Medium: Alternative balanced option'),
138
138
  ]);
139
139
  exports.AgentConfigSchema = zod_1.z.object({
140
140
  name: zod_1.z.string().max(64).describe('Agent name'),
@@ -145,43 +145,39 @@ exports.AgentConfigSchema = zod_1.z.object({
145
145
  .string()
146
146
  .max(2048)
147
147
  .regex(/^https?:\/\/.+/)
148
- .describe('Custom avatar URL (http/https URL pointing to png, jpeg, jpg, webp files under 3MB). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
149
- zod_1.z.string().max(32).describe('Location message image key for API usage'),
148
+ .describe('Official CDN URL (webp only)'),
149
+ zod_1.z.string().max(32).describe('Location message image key'),
150
150
  ])
151
- .describe('Visual representation identifier for the agent. Supports predefined avatar options, custom URLs, and location message image keys for API usage. When a predefined avatar is selected, the appearance field will automatically update to match the avatar description. Image keys and custom URLs will be replaced by CDN URLs when processed.'),
151
+ .describe('Visual representation: predefined avatars, CDN URLs, or image keys. Predefined avatars auto-update the appearance field'),
152
152
  appearance: zod_1.z
153
153
  .string()
154
154
  .max(500)
155
- .describe("Internal character description used by the agent for role-playing and behavioral consistency. This field is automatically updated when avatar changes to a predefined option, but should also be updated when using custom images to maintain character consistency. Can be manually edited independently. Helps the agent understand and embody its character during interactions, influencing communication style, decision-making patterns, and personality expression. Primarily for agent's internal reference rather than user display."),
156
- core: exports.AgentConfigCoreSchema.describe('Fundamental behavior pattern that determines how the agent decides when to take actions'),
157
- llmPreset: LlmPresetSchema.describe('AI model selection that balances cost, performance, and capabilities. Higher tiers provide better reasoning but cost more per interaction.'),
155
+ .describe("Character description for the agent's internal use. Influences role-playing, communication style, and behavior. Auto-updated with predefined avatars, but update manually for custom images to maintain consistency"),
156
+ core: exports.AgentConfigCoreSchema.describe('Behavior pattern determining when and how the agent takes actions'),
157
+ llmPreset: LlmPresetSchema.describe('AI model selection. Higher tiers = better reasoning + higher cost'),
158
158
  languages: zod_1.z
159
159
  .array(zod_1.z.string().max(32))
160
160
  .max(4)
161
- .describe('Communication language settings for the agent (max 4). Examples: ["English"] = English only, ["ALL", "English"] = English-based but can adapt to other languages, ["Spanish", "French"] = specific languages only.'),
161
+ .describe('Languages (max 4). "ALL" is a special keyword enabling global multi-language support while maintaining the specified primary language(s). Examples: ["English"] = English only, ["ALL", "English"] = can communicate in any language worldwide but primarily uses English, ["ALL", "Korean", "English"] = global languages with Korean as primary and English as secondary, ["Spanish", "French"] = only Spanish and French without ALL keyword'),
162
162
  timeZone: zod_1.z
163
163
  .string()
164
164
  .max(32)
165
- .describe('Agent timezone for time-based operations using IANA Time Zone Database standard (e.g., "America/New_York", "Europe/London", "Asia/Seoul", "UTC").'),
165
+ .describe('IANA timezone for time operations (e.g., "America/New_York", "Europe/London", "UTC")'),
166
166
  greeting: zod_1.z
167
167
  .string()
168
168
  .max(500)
169
- .describe("Initial message the agent sends when first interacting or joining a location. Should reflect the agent's character and set expectations for interaction style."),
169
+ .describe("First message sent when joining a location. Should reflect the agent's character"),
170
170
  actions: zod_1.z
171
171
  .array(zod_1.z.union([
172
- zod_1.z
173
- .literal('todo')
174
- .describe('Placeholder for future action capabilities - to be implemented'),
175
- zod_1.z
176
- .literal('todo')
177
- .describe('Placeholder for future action capabilities - to be implemented'),
172
+ zod_1.z.literal('todo').describe('Placeholder - to be implemented'),
173
+ zod_1.z.literal('todo').describe('Placeholder - to be implemented'),
178
174
  ]))
179
175
  .max(4)
180
- .describe("Additional capabilities the agent can perform beyond basic conversation. Each action expands the agent's toolkit for specific use cases."),
176
+ .describe('Capabilities beyond conversation (e.g., tools, integrations)'),
181
177
  character: exports.CharacterSchema,
182
178
  rules: zod_1.z
183
179
  .array(zod_1.z.string().max(200))
184
180
  .max(20)
185
- .describe('Critical behavioral constraints that the agent must strictly enforce. Use the character field for general personality and behavior traits. Rules should only contain mandatory restrictions or requirements that cannot be violated under any circumstances.'),
181
+ .describe('Strict constraints that cannot be violated. Use character field for personality; use rules only for mandatory restrictions'),
186
182
  });
187
183
  //# sourceMappingURL=agent.config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.config.js","sourceRoot":"","sources":["../../../../src/models/entities/agents/agent.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kBAAkB,GAA2B;IACxD,IAAI,EAAE,8IAA8I;IACpJ,IAAI,EAAE,6KAA6K;IACnL,MAAM,EAAE,0LAA0L;IAClM,IAAI,EAAE,+LAA+L;IACrM,MAAM,EAAE,8KAA8K;CACvL,CAAC;AAEW,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC;QACZ,OAAC;aACE,OAAO,CAAC,sBAAsB,CAAC;aAC/B,QAAQ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,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;SAC1B,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,8PAA8P,CAC/P;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"agent.config.js","sourceRoot":"","sources":["../../../../src/models/entities/agents/agent.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kBAAkB,GAA2B;IACxD,IAAI,EAAE,8IAA8I;IACpJ,IAAI,EAAE,6KAA6K;IACnL,MAAM,EAAE,0LAA0L;IAClM,IAAI,EAAE,+LAA+L;IACrM,MAAM,EAAE,8KAA8K;CACvL,CAAC;AAEW,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC;QACZ,OAAC;aACE,OAAO,CAAC,sBAAsB,CAAC;aAC/B,QAAQ,CACP,oGAAoG,CACrG;QACH,OAAC;aACE,OAAO,CAAC,iBAAiB,CAAC;aAC1B,QAAQ,CACP,mEAAmE,CACpE;QACH,OAAC;aACE,OAAO,CAAC,wBAAwB,CAAC;aACjC,QAAQ,CACP,iEAAiE,CAClE;KACJ,CAAC;CACH,CAAC,CAAC;AAIU,QAAA,eAAe,GAAG,OAAC;KAC7B,MAAM,CAAC;IACN,UAAU,EAAE,OAAC;SACV,MAAM,CAAC;QACN,IAAI,EAAE,OAAC;aACJ,MAAM,EAAE;aACR,GAAG,CAAC,GAAG,CAAC;aACR,QAAQ,CACP,wGAAwG,CACzG;aACA,QAAQ,EAAE;QACb,MAAM,EAAE,OAAC;aACN,MAAM,EAAE;aACR,GAAG,CAAC,EAAE,CAAC;aACP,QAAQ,CAAC,yBAAyB,CAAC;aACnC,QAAQ,EAAE;QACb,SAAS,EAAE,OAAC;aACT,MAAM,EAAE;aACR,GAAG,CAAC,GAAG,CAAC;aACR,QAAQ,CAAC,gCAAgC,CAAC;aAC1C,QAAQ,EAAE;QACb,SAA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QAAQ,CACP,ibAAib,CAClb;IACH,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,sFAAsF,CACvF;IACH,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,CACP,kFAAkF,CACnF;IAEH,OAAO,EAAE,OAAC;SACP,KAAK,CACJ,OAAC,CAAC,KAAK,CAAC;QACN,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC;QAC7D,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC;KAC9D,CAAC,CACH;SACA,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CAAC,8DAA8D,CAAC;IAE3E,SAAS,EAAE,uBAAe;IAE1B,KAAK,EAAE,OAAC;SACL,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;SAC1B,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,4HAA4H,CAC7H;CACJ,CAAC,CAAC"}
@@ -64,8 +64,8 @@ export declare const LocationConfigGimmickSchema: z.ZodObject<{
64
64
  }>, "many">>;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  name: string;
67
- core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
68
67
  appearance: string;
68
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
69
69
  images?: {
70
70
  description: string;
71
71
  name?: string | undefined;
@@ -73,8 +73,8 @@ export declare const LocationConfigGimmickSchema: z.ZodObject<{
73
73
  }[] | undefined;
74
74
  }, {
75
75
  name: string;
76
- core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
77
76
  appearance: string;
77
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
78
78
  images?: {
79
79
  description: string;
80
80
  name?: string | undefined;
@@ -149,8 +149,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
149
149
  }>, "many">>;
150
150
  }, "strip", z.ZodTypeAny, {
151
151
  name: string;
152
- core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
153
152
  appearance: string;
153
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
154
154
  images?: {
155
155
  description: string;
156
156
  name?: string | undefined;
@@ -158,8 +158,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
158
158
  }[] | undefined;
159
159
  }, {
160
160
  name: string;
161
- core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
162
161
  appearance: string;
162
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
163
163
  images?: {
164
164
  description: string;
165
165
  name?: string | undefined;
@@ -175,9 +175,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
175
175
  interval?: number | undefined;
176
176
  maxAgentExecutions?: number | null | undefined;
177
177
  };
178
+ rules: string[];
178
179
  thumbnail: string | null;
179
180
  environment: "CHAT" | "NOVEL";
180
- rules: string[];
181
181
  canvases: {
182
182
  name: string;
183
183
  description: string;
@@ -190,8 +190,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
190
190
  }[];
191
191
  gimmicks: {
192
192
  name: string;
193
- core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
194
193
  appearance: string;
194
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
195
195
  images?: {
196
196
  description: string;
197
197
  name?: string | undefined;
@@ -207,9 +207,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
207
207
  interval?: number | undefined;
208
208
  maxAgentExecutions?: number | null | undefined;
209
209
  };
210
+ rules: string[];
210
211
  thumbnail: string | null;
211
212
  environment: "CHAT" | "NOVEL";
212
- rules: string[];
213
213
  canvases: {
214
214
  name: string;
215
215
  description: string;
@@ -222,8 +222,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
222
222
  }[];
223
223
  gimmicks: {
224
224
  name: string;
225
- core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
226
225
  appearance: string;
226
+ core: "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion";
227
227
  images?: {
228
228
  description: string;
229
229
  name?: string | undefined;
@@ -7,52 +7,50 @@ const location_constants_1 = require("./location.constants");
7
7
  exports.LocationEnvironmentSchema = zod_1.z.union([
8
8
  zod_1.z
9
9
  .literal(location_constants_1.LocationEnvironment.CHAT)
10
- .describe('Standard conversational environment for general agent interactions'),
10
+ .describe('Standard chat environment for general conversations'),
11
11
  zod_1.z
12
12
  .literal(location_constants_1.LocationEnvironment.NOVEL)
13
- .describe('Novel environment with UI designed for novel writing'),
13
+ .describe('Novel writing environment with specialized UI'),
14
14
  ]);
15
15
  exports.LocationConfigCoreSchema = zod_1.z.object({
16
16
  name: zod_1.z.union([
17
- zod_1.z.literal('round_robin').describe('Execute agents in rotating order'),
18
- zod_1.z
19
- .literal('update_forever')
20
- .describe('Continuously update agents without stopping'),
21
- zod_1.z.literal('update_once').describe('Execute agents only once per cycle'),
17
+ zod_1.z.literal('round_robin').describe('Agents take turns in rotation'),
18
+ zod_1.z.literal('update_forever').describe('Agents update continuously'),
19
+ zod_1.z.literal('update_once').describe('Agents execute once per cycle'),
22
20
  zod_1.z
23
21
  .literal('update_until_idle')
24
- .describe('Update agents continuously until no actions are available'),
22
+ .describe('Agents update until no more actions'),
25
23
  ]),
26
- sequential: zod_1.z.boolean().optional().describe('Execute agents in fixed order'),
24
+ sequential: zod_1.z.boolean().optional().describe('Execute in fixed order'),
27
25
  interval: zod_1.z
28
26
  .number()
29
27
  .min(0)
30
28
  .max(60 * 60 * 1000)
31
29
  .optional()
32
- .describe('Interval in milliseconds between agent executions. Use default value if not specified'),
30
+ .describe('Milliseconds between agent executions. Uses default if unspecified'),
33
31
  maxAgentExecutions: zod_1.z
34
32
  .number()
35
33
  .min(1)
36
34
  .max(10)
37
35
  .nullable()
38
36
  .optional()
39
- .describe('Maximum number of agent executions per cycle'),
37
+ .describe('Max agent executions per cycle'),
40
38
  });
41
39
  exports.LocationConfigCanvasSchema = zod_1.z.object({
42
40
  name: zod_1.z
43
41
  .string()
44
42
  .max(32)
45
43
  .regex(/^[a-zA-Z_]+$/, 'Name must contain only letters and underscores')
46
- .describe('Unique identifier for the canvas that agents use to reference it'),
44
+ .describe('Unique identifier agents use to reference this canvas'),
47
45
  description: zod_1.z
48
46
  .string()
49
47
  .max(1000)
50
- .describe('Clear explanation of the canvas purpose and intended use for agents'),
48
+ .describe('Purpose and usage guide for agents'),
51
49
  maxLength: zod_1.z
52
50
  .number()
53
51
  .min(100)
54
52
  .max(5000)
55
- .describe('Maximum character limit for canvas content'),
53
+ .describe('Character limit for canvas content'),
56
54
  });
57
55
  exports.LocationConfigGimmickImageSchema = zod_1.z.object({
58
56
  url: zod_1.z.union([
@@ -61,34 +59,27 @@ exports.LocationConfigGimmickImageSchema = zod_1.z.object({
61
59
  .max(2048)
62
60
  .regex(/^https?:\/\/.+/)
63
61
  .optional()
64
- .describe('Reference image URL (http/https pointing to png, jpeg, jpg, webp under 3MB). Will be replaced with CDN URL after upload'),
65
- zod_1.z.string().max(32).describe('Message image key for API usage'),
62
+ .describe('Official CDN URL (webp only)'),
63
+ zod_1.z.string().max(32).describe('Location message image key'),
66
64
  ]),
67
- name: zod_1.z
68
- .string()
69
- .max(64)
70
- .optional()
71
- .describe('Optional name identifying this reference image'),
65
+ name: zod_1.z.string().max(64).optional().describe('Name for this reference image'),
72
66
  description: zod_1.z
73
67
  .string()
74
68
  .max(500)
75
- .describe('Stable Diffusion-style prompt describing the image for AI generation'),
69
+ .describe('Stable Diffusion prompt describing the image'),
76
70
  });
77
71
  exports.LocationConfigGimmickSchema = zod_1.z.object({
78
- core: gimmicks_1.GimmickCoreSchema.describe('Core gimmick type determining execution behavior'),
79
- name: zod_1.z
80
- .string()
81
- .max(64)
82
- .describe('Gimmick display name for identification purposes'),
72
+ core: gimmicks_1.GimmickCoreSchema.describe('Gimmick type determining behavior'),
73
+ name: zod_1.z.string().max(64).describe('Display name'),
83
74
  appearance: zod_1.z
84
75
  .string()
85
76
  .max(500)
86
- .describe('Base appearance prompt for character_image_generator. For other gimmicks, describes how the gimmick appears in the location'),
77
+ .describe('For character_image_generator: base appearance prompt. For others: how it appears in the location'),
87
78
  images: zod_1.z
88
79
  .array(exports.LocationConfigGimmickImageSchema)
89
80
  .max(6)
90
81
  .optional()
91
- .describe('Reference images for image generation gimmicks. For image_generator: uses url and description for reference images. For character_image_generator: uses only name and description (Stable Diffusion prompts) without url. For scene_image_generator: uses url, name, and description for character references in scene composition'),
82
+ .describe('Reference images. image_generator: url+description. character_image_generator: name+description only. scene_image_generator: url+name+description for character references'),
92
83
  });
93
84
  exports.LocationConfigSchema = zod_1.z.object({
94
85
  name: zod_1.z.string().max(64).describe('Location name'),
@@ -98,32 +89,32 @@ exports.LocationConfigSchema = zod_1.z.object({
98
89
  .string()
99
90
  .max(2048)
100
91
  .regex(/^https?:\/\/.+/)
101
- .describe('Location thumbnail URL (http/https URL pointing to png, jpeg, jpg, webp files under 3MB). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
102
- zod_1.z.string().max(32).describe('Location message image key for API usage'),
92
+ .describe('Official CDN URL (webp only)'),
93
+ zod_1.z.string().max(32).describe('Location message image key'),
103
94
  ])
104
95
  .nullable()
105
- .describe('Location thumbnail image. Supports HTTP/HTTPS URLs for png, jpeg, jpg, webp images and location message image keys for API usage. When provided, images will be replaced by CDN URLs when processed.'),
106
- environment: exports.LocationEnvironmentSchema.describe('Location environment that determines the context and behavior'),
107
- core: exports.LocationConfigCoreSchema.describe('Core behavior configuration that determines how agents are executed in this location. Use default values unless specifically needed.'),
96
+ .describe('Location thumbnail. Supports CDN URLs and image keys'),
97
+ environment: exports.LocationEnvironmentSchema.describe('Environment determining context and behavior'),
98
+ core: exports.LocationConfigCoreSchema.describe('Agent execution behavior. Use defaults unless needed'),
108
99
  description: zod_1.z
109
100
  .string()
110
101
  .max(1000)
111
- .describe('Description of the location that provides context to agents about where they are'),
102
+ .describe('Location description providing context to agents'),
112
103
  rules: zod_1.z
113
104
  .array(zod_1.z.string().max(200))
114
105
  .max(20)
115
- .describe('Critical location-specific constraints that all agents in this location must strictly enforce. These are mandatory restrictions that override agent preferences and cannot be violated under any circumstances.'),
106
+ .describe('Strict constraints all agents must enforce. Cannot be violated. Override agent preferences'),
116
107
  canvases: zod_1.z
117
108
  .array(exports.LocationConfigCanvasSchema)
118
109
  .max(4)
119
- .describe('Shared canvases that all entities in the location can access and collaborate on'),
110
+ .describe('Shared canvases accessible to all entities'),
120
111
  agentCanvases: zod_1.z
121
112
  .array(exports.LocationConfigCanvasSchema)
122
113
  .max(4)
123
- .describe('Private agent canvases for individual agent use, separate per location context'),
114
+ .describe('Private canvases for individual agents'),
124
115
  gimmicks: zod_1.z
125
116
  .array(exports.LocationConfigGimmickSchema)
126
117
  .max(4)
127
- .describe('Interactive tools that agents can execute to perform specific tasks (e.g., web search, social media).'),
118
+ .describe('Tools agents can execute (e.g., web search, social media)'),
128
119
  });
129
120
  //# sourceMappingURL=location.config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"location.config.js","sourceRoot":"","sources":["../../../src/models/locations/location.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,0DAAgE;AAEhE,6DAA2D;AAE9C,QAAA,yBAAyB,GAAG,OAAC,CAAC,KAAK,CAAC;IAC/C,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,IAAI,CAAC;SACjC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,KAAK,CAAC;SAClC,QAAQ,CAAC,sDAAsD,CAAC;CACpE,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,KAAK,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AAK,CAAC;QACL,OAAC;aACE,MAAM,EAAE;aACR,GAAG,CAAC,IAAI,CAAC;aACT,KAAK,CAAC,gBAAgB,CAAC;aACvB,QAAQ,CACP,qLAAqL,CACtL;QACH,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,0CAA0C,CAAC;KACxE,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CACP,sMAAsM,CACvM;IAEH,WAAW,EAAE,iCAAyB,CAAC,QAAQ,CAC7C,+DAA+D,CAChE;IAED,IAAI,EAAE,gCAAwB,CAAC,QAAQ,CACrC,sIAAsI,CACvI;IACD,WAAW,EAAE,OAAC;SACX,MAAM,EAAE;SACR,GAAG,CAAC,IAAI,CAAC;SACT,QAAQ,CACP,kFAAkF,CACnF;IAEH,KAAK,EAAE,OAAC;SACL,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;SAC1B,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,iNAAiN,CAClN;IAEH,QAAQ,EAAE,OAAC;SACR,KAAK,CAAC,kCAA0B,CAAC;SACjC,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,iFAAiF,CAClF;IACH,aAAa,EAAE,OAAC;SACb,KAAK,CAAC,kCAA0B,CAAC;SACjC,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,gFAAgF,CACjF;IAEH,QAAQ,EAAE,OAAC;SACR,KAAK,CAAC,mCAA2B,CAAC;SAClC,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,uGAAuG,CACxG;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"location.config.js","sourceRoot":"","sources":["../../../src/models/locations/location.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,0DAAgE;AAEhE,6DAA2D;AAE9C,QAAA,yBAAyB,GAAG,OAAC,CAAC,KAAK,CAAC;IAC/C,OAAC;SACE,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CAAC,mCAA2B,CAAC;SAClC,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {