@little-samo/samo-ai-sdk 0.1.4-rv3 → 0.1.4-rv4

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.
@@ -15,5 +15,6 @@ export interface AgentCostDto {
15
15
  totalCost: number;
16
16
  llmPresetCost: number;
17
17
  gimmickCost?: number;
18
+ canvasMaxLength?: number;
18
19
  canvasCost?: number;
19
20
  }
@@ -146,11 +146,12 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
146
146
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
147
147
  }, "strict", z.ZodTypeAny, {
148
148
  name?: string | undefined;
149
- avatar?: string | undefined;
150
- appearance?: string | undefined;
151
149
  core?: {
152
150
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
153
151
  } | undefined;
152
+ appearance?: string | undefined;
153
+ rules?: string[] | undefined;
154
+ avatar?: string | undefined;
154
155
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
155
156
  languages?: string[] | undefined;
156
157
  timeZone?: string | undefined;
@@ -176,14 +177,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
176
177
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
177
178
  } | undefined;
178
179
  } | undefined;
179
- rules?: string[] | undefined;
180
180
  }, {
181
181
  name?: string | undefined;
182
- avatar?: string | undefined;
183
- appearance?: string | undefined;
184
182
  core?: {
185
183
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
186
184
  } | undefined;
185
+ appearance?: string | undefined;
186
+ rules?: string[] | undefined;
187
+ avatar?: string | undefined;
187
188
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
188
189
  languages?: string[] | undefined;
189
190
  timeZone?: string | undefined;
@@ -209,16 +210,16 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
209
210
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
210
211
  } | undefined;
211
212
  } | undefined;
212
- rules?: string[] | undefined;
213
213
  }>;
214
214
  }, "strip", z.ZodTypeAny, {
215
215
  config: {
216
216
  name?: string | undefined;
217
- avatar?: string | undefined;
218
- appearance?: string | undefined;
219
217
  core?: {
220
218
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
221
219
  } | undefined;
220
+ appearance?: string | undefined;
221
+ rules?: string[] | undefined;
222
+ avatar?: string | undefined;
222
223
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
223
224
  languages?: string[] | undefined;
224
225
  timeZone?: string | undefined;
@@ -244,17 +245,17 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
244
245
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
245
246
  } | undefined;
246
247
  } | undefined;
247
- rules?: string[] | undefined;
248
248
  };
249
249
  agentId: bigint;
250
250
  }, {
251
251
  config: {
252
252
  name?: string | undefined;
253
- avatar?: string | undefined;
254
- appearance?: string | undefined;
255
253
  core?: {
256
254
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
257
255
  } | undefined;
256
+ appearance?: string | undefined;
257
+ rules?: string[] | undefined;
258
+ avatar?: string | undefined;
258
259
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
259
260
  languages?: string[] | undefined;
260
261
  timeZone?: string | undefined;
@@ -280,7 +281,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
280
281
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
281
282
  } | undefined;
282
283
  } | undefined;
283
- rules?: string[] | undefined;
284
284
  };
285
285
  agentId: bigint;
286
286
  }>;
@@ -289,20 +289,14 @@ export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
289
289
  export declare const AgentUpdateCredentialSchema: z.ZodObject<{
290
290
  agentId: z.ZodBigInt;
291
291
  credential: z.ZodUnion<[z.ZodObject<{
292
- type: z.ZodLiteral<"x_twitter">;
293
- email: z.ZodString;
294
- password: z.ZodString;
295
- username: z.ZodString;
292
+ type: z.ZodLiteral<"notion">;
293
+ token: z.ZodString;
296
294
  }, "strip", z.ZodTypeAny, {
297
- type: "x_twitter";
298
- email: string;
299
- password: string;
300
- username: string;
295
+ type: "notion";
296
+ token: string;
301
297
  }, {
302
- type: "x_twitter";
303
- email: string;
304
- password: string;
305
- username: string;
298
+ type: "notion";
299
+ token: string;
306
300
  }>, z.ZodObject<{
307
301
  type: z.ZodLiteral<"notion">;
308
302
  token: z.ZodString;
@@ -315,10 +309,8 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
315
309
  }>]>;
316
310
  }, "strip", z.ZodTypeAny, {
317
311
  credential: {
318
- type: "x_twitter";
319
- email: string;
320
- password: string;
321
- username: string;
312
+ type: "notion";
313
+ token: string;
322
314
  } | {
323
315
  type: "notion";
324
316
  token: string;
@@ -326,10 +318,8 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
326
318
  agentId: bigint;
327
319
  }, {
328
320
  credential: {
329
- type: "x_twitter";
330
- email: string;
331
- password: string;
332
- username: string;
321
+ type: "notion";
322
+ token: string;
333
323
  } | {
334
324
  type: "notion";
335
325
  token: string;
@@ -484,11 +474,12 @@ export declare const CreateAgentSchema: z.ZodObject<{
484
474
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
485
475
  }, "strict", z.ZodTypeAny, {
486
476
  name?: string | undefined;
487
- avatar?: string | undefined;
488
- appearance?: string | undefined;
489
477
  core?: {
490
478
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
491
479
  } | undefined;
480
+ appearance?: string | undefined;
481
+ rules?: string[] | undefined;
482
+ avatar?: string | undefined;
492
483
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
493
484
  languages?: string[] | undefined;
494
485
  timeZone?: string | undefined;
@@ -514,14 +505,14 @@ export declare const CreateAgentSchema: z.ZodObject<{
514
505
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
515
506
  } | undefined;
516
507
  } | undefined;
517
- rules?: string[] | undefined;
518
508
  }, {
519
509
  name?: string | undefined;
520
- avatar?: string | undefined;
521
- appearance?: string | undefined;
522
510
  core?: {
523
511
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
524
512
  } | undefined;
513
+ appearance?: string | undefined;
514
+ rules?: string[] | undefined;
515
+ avatar?: string | undefined;
525
516
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
526
517
  languages?: string[] | undefined;
527
518
  timeZone?: string | undefined;
@@ -547,16 +538,16 @@ export declare const CreateAgentSchema: z.ZodObject<{
547
538
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
548
539
  } | undefined;
549
540
  } | undefined;
550
- rules?: string[] | undefined;
551
541
  }>;
552
542
  }, "strip", z.ZodTypeAny, {
553
543
  config: {
554
544
  name?: string | undefined;
555
- avatar?: string | undefined;
556
- appearance?: string | undefined;
557
545
  core?: {
558
546
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
559
547
  } | undefined;
548
+ appearance?: string | undefined;
549
+ rules?: string[] | undefined;
550
+ avatar?: string | undefined;
560
551
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
561
552
  languages?: string[] | undefined;
562
553
  timeZone?: string | undefined;
@@ -582,16 +573,16 @@ export declare const CreateAgentSchema: z.ZodObject<{
582
573
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
583
574
  } | undefined;
584
575
  } | undefined;
585
- rules?: string[] | undefined;
586
576
  };
587
577
  }, {
588
578
  config: {
589
579
  name?: string | undefined;
590
- avatar?: string | undefined;
591
- appearance?: string | undefined;
592
580
  core?: {
593
581
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
594
582
  } | undefined;
583
+ appearance?: string | undefined;
584
+ rules?: string[] | undefined;
585
+ avatar?: string | undefined;
595
586
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
596
587
  languages?: string[] | undefined;
597
588
  timeZone?: string | undefined;
@@ -617,7 +608,6 @@ export declare const CreateAgentSchema: z.ZodObject<{
617
608
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
618
609
  } | undefined;
619
610
  } | undefined;
620
- rules?: string[] | undefined;
621
611
  };
622
612
  }>;
623
613
  export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
@@ -27,10 +27,8 @@ exports.AgentUpdateCredentialSchema = zod_1.z.object({
27
27
  agentId: zod_1.z.coerce.bigint(),
28
28
  credential: zod_1.z.union([
29
29
  zod_1.z.object({
30
- type: zod_1.z.literal('x_twitter'),
31
- email: zod_1.z.string().max(255),
32
- password: zod_1.z.string().max(255),
33
- username: zod_1.z.string().max(255),
30
+ type: zod_1.z.literal('notion'),
31
+ token: zod_1.z.string().max(255),
34
32
  }),
35
33
  zod_1.z.object({
36
34
  type: zod_1.z.literal('notion'),
@@ -1 +1 @@
1
- {"version":3,"file":"agent.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/agents/agent.requests.ts"],"names":[],"mappings":";;;AACA,4DAIyC;AACzC,6BAAwB;AAUX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACtE,CAAC,CAAC;AAkBU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CACjB,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAC/D;SACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,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BAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,0BAAiB,CAAC,OAAO,EAAE;SAChC,MAAM,EAAE;SACR,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC;AASU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAWU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,OAAC,CAAC,UAAU,CAAC,wBAAe,CAAC;CAC1C,CAAC,CAAC;AASU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAWU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AASU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAWU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export interface GimmickCostDto {
2
2
  core: string;
3
3
  executionCost: number;
4
- agentCost: number;
4
+ canvasMaxLength: number;
5
5
  }
@@ -9,10 +9,14 @@ export interface LocationPublicDto {
9
9
  platform: LocationPlatform;
10
10
  type: LocationType;
11
11
  environment: LocationEnvironment;
12
+ thumbnail: string | null;
13
+ ownerUserId: UserId | null;
12
14
  param1: bigint;
13
15
  param2: bigint;
14
16
  param3: bigint;
15
17
  param4: bigint;
18
+ isPublic: boolean;
19
+ isPublished: boolean;
16
20
  createdAt: Date;
17
21
  updatedAt: Date;
18
22
  }
@@ -11,6 +11,7 @@ export declare const LocationEventType: {
11
11
  readonly GimmickExecuting: "GimmickExecuting";
12
12
  readonly GimmickExecuted: "GimmickExecuted";
13
13
  readonly AddMessage: "AddMessage";
14
+ readonly UpdateMessage: "UpdateMessage";
14
15
  readonly MessageProcessed: "MessageProcessed";
15
16
  readonly RenderingUpdated: "RenderingUpdated";
16
17
  readonly CanvasUpdated: "CanvasUpdated";
@@ -63,6 +64,11 @@ export interface LocationAddMessageEventDto extends LocationEventDtoBase {
63
64
  type: typeof LocationEventType.AddMessage;
64
65
  message: LocationMessageDto;
65
66
  }
67
+ export interface LocationUpdateMessageEventDto extends LocationEventDtoBase {
68
+ type: typeof LocationEventType.UpdateMessage;
69
+ messageId: string;
70
+ message: LocationMessageDto;
71
+ }
66
72
  export interface LocationMessageProcessedEventDto extends LocationEventDtoBase {
67
73
  type: typeof LocationEventType.MessageProcessed;
68
74
  lastMessageId: string;
@@ -84,4 +90,4 @@ export interface LocationPauseUpdateUntilUpdatedEventDto extends LocationEventDt
84
90
  export interface LocationUpdatedEventDto extends LocationEventDtoBase {
85
91
  type: typeof LocationEventType.LocationUpdated;
86
92
  }
87
- export type LocationEventDto = LocationAgentExecutingEventDto | LocationAgentExecutedEventDto | LocationAgentJoinedEventDto | LocationAgentLeftEventDto | LocationUserJoinedEventDto | LocationUserLeftEventDto | LocationGimmickExecutingEventDto | LocationGimmickExecutedEventDto | LocationAddMessageEventDto | LocationMessageProcessedEventDto | LocationRenderingUpdatedEventDto | LocationCanvasUpdatedEventDto | LocationPauseUpdateUntilUpdatedEventDto | LocationUpdatedEventDto;
93
+ export type LocationEventDto = LocationAgentExecutingEventDto | LocationAgentExecutedEventDto | LocationAgentJoinedEventDto | LocationAgentLeftEventDto | LocationUserJoinedEventDto | LocationUserLeftEventDto | LocationGimmickExecutingEventDto | LocationGimmickExecutedEventDto | LocationAddMessageEventDto | LocationUpdateMessageEventDto | LocationMessageProcessedEventDto | LocationRenderingUpdatedEventDto | LocationCanvasUpdatedEventDto | LocationPauseUpdateUntilUpdatedEventDto | LocationUpdatedEventDto;
@@ -11,6 +11,7 @@ exports.LocationEventType = {
11
11
  GimmickExecuting: 'GimmickExecuting',
12
12
  GimmickExecuted: 'GimmickExecuted',
13
13
  AddMessage: 'AddMessage',
14
+ UpdateMessage: 'UpdateMessage',
14
15
  MessageProcessed: 'MessageProcessed',
15
16
  RenderingUpdated: 'RenderingUpdated',
16
17
  CanvasUpdated: 'CanvasUpdated',
@@ -1 +1 @@
1
- {"version":3,"file":"location.events.js","sourceRoot":"","sources":["../../../src/dto/locations/location.events.ts"],"names":[],"mappings":";;;AAKa,QAAA,iBAAiB,GAAG;IAC/B,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,aAAa,EAAE,eAAe;IAC9B,uBAAuB,EAAE,yBAAyB;IAClD,eAAe,EAAE,iBAAiB;CAC1B,CAAC"}
1
+ {"version":3,"file":"location.events.js","sourceRoot":"","sources":["../../../src/dto/locations/location.events.ts"],"names":[],"mappings":";;;AAKa,QAAA,iBAAiB,GAAG;IAC/B,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,aAAa,EAAE,eAAe;IAC9B,uBAAuB,EAAE,yBAAyB;IAClD,eAAe,EAAE,iBAAiB;CAC1B,CAAC"}
@@ -46,16 +46,19 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
46
46
  config: z.ZodObject<{
47
47
  name: z.ZodOptional<z.ZodString>;
48
48
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
49
- environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>>;
49
+ environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
50
50
  core: z.ZodOptional<z.ZodObject<{
51
51
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
52
52
  sequential: z.ZodOptional<z.ZodBoolean>;
53
+ interval: z.ZodOptional<z.ZodNumber>;
53
54
  }, "strip", z.ZodTypeAny, {
54
55
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
55
56
  sequential?: boolean | undefined;
57
+ interval?: number | undefined;
56
58
  }, {
57
59
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
58
60
  sequential?: boolean | undefined;
61
+ interval?: number | undefined;
59
62
  }>>;
60
63
  description: z.ZodOptional<z.ZodString>;
61
64
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -86,17 +89,17 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
86
89
  maxLength: number;
87
90
  }>, "many">>;
88
91
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
92
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
90
93
  name: z.ZodString;
91
94
  appearance: z.ZodString;
92
95
  }, "strip", z.ZodTypeAny, {
93
96
  name: string;
97
+ core: "web_search" | "image_generator" | "notion";
94
98
  appearance: string;
95
- core: "web_search" | "x_twitter" | "notion";
96
99
  }, {
97
100
  name: string;
101
+ core: "web_search" | "image_generator" | "notion";
98
102
  appearance: string;
99
- core: "web_search" | "x_twitter" | "notion";
100
103
  }>, "many">>;
101
104
  }, "strict", z.ZodTypeAny, {
102
105
  name?: string | undefined;
@@ -104,10 +107,11 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
104
107
  core?: {
105
108
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
106
109
  sequential?: boolean | undefined;
110
+ interval?: number | undefined;
107
111
  } | undefined;
108
- rules?: string[] | undefined;
109
112
  thumbnail?: string | null | undefined;
110
- environment?: "CHAT" | undefined;
113
+ environment?: "CHAT" | "NOVEL" | undefined;
114
+ rules?: string[] | undefined;
111
115
  canvases?: {
112
116
  name: string;
113
117
  description: string;
@@ -120,8 +124,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
120
124
  }[] | undefined;
121
125
  gimmicks?: {
122
126
  name: string;
127
+ core: "web_search" | "image_generator" | "notion";
123
128
  appearance: string;
124
- core: "web_search" | "x_twitter" | "notion";
125
129
  }[] | undefined;
126
130
  }, {
127
131
  name?: string | undefined;
@@ -129,10 +133,11 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
129
133
  core?: {
130
134
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
131
135
  sequential?: boolean | undefined;
136
+ interval?: number | undefined;
132
137
  } | undefined;
133
- rules?: string[] | undefined;
134
138
  thumbnail?: string | null | undefined;
135
- environment?: "CHAT" | undefined;
139
+ environment?: "CHAT" | "NOVEL" | undefined;
140
+ rules?: string[] | undefined;
136
141
  canvases?: {
137
142
  name: string;
138
143
  description: string;
@@ -145,8 +150,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
145
150
  }[] | undefined;
146
151
  gimmicks?: {
147
152
  name: string;
153
+ core: "web_search" | "image_generator" | "notion";
148
154
  appearance: string;
149
- core: "web_search" | "x_twitter" | "notion";
150
155
  }[] | undefined;
151
156
  }>;
152
157
  }, "strip", z.ZodTypeAny, {
@@ -157,10 +162,11 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
157
162
  core?: {
158
163
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
159
164
  sequential?: boolean | undefined;
165
+ interval?: number | undefined;
160
166
  } | undefined;
161
- rules?: string[] | undefined;
162
167
  thumbnail?: string | null | undefined;
163
- environment?: "CHAT" | undefined;
168
+ environment?: "CHAT" | "NOVEL" | undefined;
169
+ rules?: string[] | undefined;
164
170
  canvases?: {
165
171
  name: string;
166
172
  description: string;
@@ -173,8 +179,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
173
179
  }[] | undefined;
174
180
  gimmicks?: {
175
181
  name: string;
182
+ core: "web_search" | "image_generator" | "notion";
176
183
  appearance: string;
177
- core: "web_search" | "x_twitter" | "notion";
178
184
  }[] | undefined;
179
185
  };
180
186
  }, {
@@ -185,10 +191,11 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
185
191
  core?: {
186
192
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
187
193
  sequential?: boolean | undefined;
194
+ interval?: number | undefined;
188
195
  } | undefined;
189
- rules?: string[] | undefined;
190
196
  thumbnail?: string | null | undefined;
191
- environment?: "CHAT" | undefined;
197
+ environment?: "CHAT" | "NOVEL" | undefined;
198
+ rules?: string[] | undefined;
192
199
  canvases?: {
193
200
  name: string;
194
201
  description: string;
@@ -201,8 +208,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
201
208
  }[] | undefined;
202
209
  gimmicks?: {
203
210
  name: string;
211
+ core: "web_search" | "image_generator" | "notion";
204
212
  appearance: string;
205
- core: "web_search" | "x_twitter" | "notion";
206
213
  }[] | undefined;
207
214
  };
208
215
  }>;
@@ -211,20 +218,14 @@ export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
211
218
  export declare const LocationUpdateCredentialSchema: z.ZodObject<{
212
219
  locationId: z.ZodBigInt;
213
220
  credential: z.ZodUnion<[z.ZodObject<{
214
- type: z.ZodLiteral<"x_twitter">;
215
- email: z.ZodString;
216
- password: z.ZodString;
217
- username: z.ZodString;
221
+ type: z.ZodLiteral<"notion">;
222
+ token: z.ZodString;
218
223
  }, "strip", z.ZodTypeAny, {
219
- type: "x_twitter";
220
- email: string;
221
- password: string;
222
- username: string;
224
+ type: "notion";
225
+ token: string;
223
226
  }, {
224
- type: "x_twitter";
225
- email: string;
226
- password: string;
227
- username: string;
227
+ type: "notion";
228
+ token: string;
228
229
  }>, z.ZodObject<{
229
230
  type: z.ZodLiteral<"notion">;
230
231
  token: z.ZodString;
@@ -238,10 +239,8 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
238
239
  }, "strip", z.ZodTypeAny, {
239
240
  locationId: bigint;
240
241
  credential: {
241
- type: "x_twitter";
242
- email: string;
243
- password: string;
244
- username: string;
242
+ type: "notion";
243
+ token: string;
245
244
  } | {
246
245
  type: "notion";
247
246
  token: string;
@@ -249,10 +248,8 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
249
248
  }, {
250
249
  locationId: bigint;
251
250
  credential: {
252
- type: "x_twitter";
253
- email: string;
254
- password: string;
255
- username: string;
251
+ type: "notion";
252
+ token: string;
256
253
  } | {
257
254
  type: "notion";
258
255
  token: string;
@@ -302,16 +299,19 @@ export declare const CreateLocationSchema: z.ZodObject<{
302
299
  config: z.ZodObject<{
303
300
  name: z.ZodOptional<z.ZodString>;
304
301
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
305
- environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>>;
302
+ environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
306
303
  core: z.ZodOptional<z.ZodObject<{
307
304
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
308
305
  sequential: z.ZodOptional<z.ZodBoolean>;
306
+ interval: z.ZodOptional<z.ZodNumber>;
309
307
  }, "strip", z.ZodTypeAny, {
310
308
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
311
309
  sequential?: boolean | undefined;
310
+ interval?: number | undefined;
312
311
  }, {
313
312
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
314
313
  sequential?: boolean | undefined;
314
+ interval?: number | undefined;
315
315
  }>>;
316
316
  description: z.ZodOptional<z.ZodString>;
317
317
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -342,17 +342,17 @@ export declare const CreateLocationSchema: z.ZodObject<{
342
342
  maxLength: number;
343
343
  }>, "many">>;
344
344
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
345
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
345
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
346
346
  name: z.ZodString;
347
347
  appearance: z.ZodString;
348
348
  }, "strip", z.ZodTypeAny, {
349
349
  name: string;
350
+ core: "web_search" | "image_generator" | "notion";
350
351
  appearance: string;
351
- core: "web_search" | "x_twitter" | "notion";
352
352
  }, {
353
353
  name: string;
354
+ core: "web_search" | "image_generator" | "notion";
354
355
  appearance: string;
355
- core: "web_search" | "x_twitter" | "notion";
356
356
  }>, "many">>;
357
357
  }, "strict", z.ZodTypeAny, {
358
358
  name?: string | undefined;
@@ -360,10 +360,11 @@ export declare const CreateLocationSchema: z.ZodObject<{
360
360
  core?: {
361
361
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
362
362
  sequential?: boolean | undefined;
363
+ interval?: number | undefined;
363
364
  } | undefined;
364
- rules?: string[] | undefined;
365
365
  thumbnail?: string | null | undefined;
366
- environment?: "CHAT" | undefined;
366
+ environment?: "CHAT" | "NOVEL" | undefined;
367
+ rules?: string[] | undefined;
367
368
  canvases?: {
368
369
  name: string;
369
370
  description: string;
@@ -376,8 +377,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
376
377
  }[] | undefined;
377
378
  gimmicks?: {
378
379
  name: string;
380
+ core: "web_search" | "image_generator" | "notion";
379
381
  appearance: string;
380
- core: "web_search" | "x_twitter" | "notion";
381
382
  }[] | undefined;
382
383
  }, {
383
384
  name?: string | undefined;
@@ -385,10 +386,11 @@ export declare const CreateLocationSchema: z.ZodObject<{
385
386
  core?: {
386
387
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
387
388
  sequential?: boolean | undefined;
389
+ interval?: number | undefined;
388
390
  } | undefined;
389
- rules?: string[] | undefined;
390
391
  thumbnail?: string | null | undefined;
391
- environment?: "CHAT" | undefined;
392
+ environment?: "CHAT" | "NOVEL" | undefined;
393
+ rules?: string[] | undefined;
392
394
  canvases?: {
393
395
  name: string;
394
396
  description: string;
@@ -401,8 +403,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
401
403
  }[] | undefined;
402
404
  gimmicks?: {
403
405
  name: string;
406
+ core: "web_search" | "image_generator" | "notion";
404
407
  appearance: string;
405
- core: "web_search" | "x_twitter" | "notion";
406
408
  }[] | undefined;
407
409
  }>;
408
410
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
@@ -416,10 +418,11 @@ export declare const CreateLocationSchema: z.ZodObject<{
416
418
  core?: {
417
419
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
418
420
  sequential?: boolean | undefined;
421
+ interval?: number | undefined;
419
422
  } | undefined;
420
- rules?: string[] | undefined;
421
423
  thumbnail?: string | null | undefined;
422
- environment?: "CHAT" | undefined;
424
+ environment?: "CHAT" | "NOVEL" | undefined;
425
+ rules?: string[] | undefined;
423
426
  canvases?: {
424
427
  name: string;
425
428
  description: string;
@@ -432,8 +435,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
432
435
  }[] | undefined;
433
436
  gimmicks?: {
434
437
  name: string;
438
+ core: "web_search" | "image_generator" | "notion";
435
439
  appearance: string;
436
- core: "web_search" | "x_twitter" | "notion";
437
440
  }[] | undefined;
438
441
  };
439
442
  platform: "API" | "MINIMO";
@@ -444,10 +447,11 @@ export declare const CreateLocationSchema: z.ZodObject<{
444
447
  core?: {
445
448
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
446
449
  sequential?: boolean | undefined;
450
+ interval?: number | undefined;
447
451
  } | undefined;
448
- rules?: string[] | undefined;
449
452
  thumbnail?: string | null | undefined;
450
- environment?: "CHAT" | undefined;
453
+ environment?: "CHAT" | "NOVEL" | undefined;
454
+ rules?: string[] | undefined;
451
455
  canvases?: {
452
456
  name: string;
453
457
  description: string;
@@ -460,8 +464,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
460
464
  }[] | undefined;
461
465
  gimmicks?: {
462
466
  name: string;
467
+ core: "web_search" | "image_generator" | "notion";
463
468
  appearance: string;
464
- core: "web_search" | "x_twitter" | "notion";
465
469
  }[] | undefined;
466
470
  };
467
471
  platform?: "API" | "MINIMO" | undefined;
@@ -730,6 +734,29 @@ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
730
734
  agentId: bigint;
731
735
  }>;
732
736
  export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
737
+ export declare const UpdateLocationParamsSchema: z.ZodObject<{
738
+ locationId: z.ZodBigInt;
739
+ }, "strip", z.ZodTypeAny, {
740
+ locationId: bigint;
741
+ }, {
742
+ locationId: bigint;
743
+ }>;
744
+ export type UpdateLocationParamsDto = z.infer<typeof UpdateLocationParamsSchema>;
745
+ export declare const UpdateLocationBodySchema: z.ZodObject<{
746
+ visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
747
+ maxUsers: z.ZodOptional<z.ZodNumber>;
748
+ }, "strip", z.ZodTypeAny, {
749
+ visibility?: "private" | "public" | "publish" | undefined;
750
+ maxUsers?: number | undefined;
751
+ }, {
752
+ visibility?: "private" | "public" | "publish" | undefined;
753
+ maxUsers?: number | undefined;
754
+ }>;
755
+ export type UpdateLocationBodyDto = z.infer<typeof UpdateLocationBodySchema>;
756
+ export interface UpdateLocationResponseDto {
757
+ success: boolean;
758
+ error?: string;
759
+ }
733
760
  export declare const GetLocationScheduledMessagesParamsSchema: z.ZodObject<{
734
761
  locationId: z.ZodBigInt;
735
762
  }, "strip", z.ZodTypeAny, {
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeLocationUpdateSchema = exports.PauseLocationUpdateSchema = exports.UpdateLocationAgentIsActiveSchema = exports.UpdateLocationRenderingSchema = exports.UpdateLocationImageSchema = exports.SendSystemMessageSchema = exports.SendLocationMessageSchema = exports.GetLocationMessagesSchema = exports.UnsubscribeLocationSchema = exports.SubscribeLocationSchema = exports.LeaveLocationSchema = exports.JoinLocationSchema = exports.DeleteLocationScheduledMessageToolSchema = exports.DeleteLocationScheduledMessageParamsSchema = exports.UpdateLocationScheduledMessageToolSchema = exports.UpdateLocationScheduledMessageBodySchema = exports.UpdateLocationScheduledMessageParamsSchema = exports.CreateLocationScheduledMessageToolSchema = exports.CreateLocationScheduledMessageBodySchema = exports.CreateLocationScheduledMessageParamsSchema = exports.GetLocationScheduledMessagesParamsSchema = exports.RemoveAgentFromLocationToolSchema = exports.RemoveAgentFromLocationBodySchema = exports.RemoveAgentFromLocationParamsSchema = exports.JoinAgentToLocationToolSchema = exports.JoinAgentToLocationBodySchema = exports.JoinAgentToLocationParamsSchema = exports.LocationUnreadCountParamsSchema = exports.MarkLocationAsReadParamsSchema = exports.GetLocationSnapshotParamsSchema = exports.CreateLocationSnapshotBodySchema = exports.CreateLocationSnapshotParamsSchema = exports.GetLocationContentParamsSchema = exports.DeleteLocationParamsSchema = exports.UploadLocationThumbnailParamsSchema = exports.GetLocationCostParamsSchema = exports.GetLocationPrivateParamsSchema = exports.GetLocationParamsSchema = exports.GetAgentDmLocationQuerySchema = exports.GetLocationHelperLocationQuerySchema = exports.GetAgentHelperLocationQuerySchema = exports.GetHelperLocationQuerySchema = exports.CreateLocationFromPresetSchema = exports.CreateLocationSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationDeleteCredentialSchema = exports.LocationUpdateCredentialSchema = exports.LocationUpdateConfigSchema = exports.LocationsUnreadCountQuerySchema = exports.UserLocationsQuerySchema = void 0;
3
+ exports.UpdateLocationAgentIsActiveSchema = exports.UpdateLocationRenderingSchema = exports.UpdateLocationImageSchema = exports.SendSystemMessageSchema = exports.SendLocationMessageSchema = exports.GetLocationMessagesSchema = exports.UnsubscribeLocationSchema = exports.SubscribeLocationSchema = exports.LeaveLocationSchema = exports.JoinLocationSchema = exports.DeleteLocationScheduledMessageToolSchema = exports.DeleteLocationScheduledMessageParamsSchema = exports.UpdateLocationScheduledMessageToolSchema = exports.UpdateLocationScheduledMessageBodySchema = exports.UpdateLocationScheduledMessageParamsSchema = exports.CreateLocationScheduledMessageToolSchema = exports.CreateLocationScheduledMessageBodySchema = exports.CreateLocationScheduledMessageParamsSchema = exports.GetLocationScheduledMessagesParamsSchema = exports.UpdateLocationBodySchema = exports.UpdateLocationParamsSchema = exports.RemoveAgentFromLocationToolSchema = exports.RemoveAgentFromLocationBodySchema = exports.RemoveAgentFromLocationParamsSchema = exports.JoinAgentToLocationToolSchema = exports.JoinAgentToLocationBodySchema = exports.JoinAgentToLocationParamsSchema = exports.LocationUnreadCountParamsSchema = exports.MarkLocationAsReadParamsSchema = exports.GetLocationSnapshotParamsSchema = exports.CreateLocationSnapshotBodySchema = exports.CreateLocationSnapshotParamsSchema = exports.GetLocationContentParamsSchema = exports.DeleteLocationParamsSchema = exports.UploadLocationThumbnailParamsSchema = exports.GetLocationCostParamsSchema = exports.GetLocationPrivateParamsSchema = exports.GetLocationParamsSchema = exports.GetAgentDmLocationQuerySchema = exports.GetLocationHelperLocationQuerySchema = exports.GetAgentHelperLocationQuerySchema = exports.GetHelperLocationQuerySchema = exports.CreateLocationFromPresetSchema = exports.CreateLocationSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationDeleteCredentialSchema = exports.LocationUpdateCredentialSchema = exports.LocationUpdateConfigSchema = exports.LocationsUnreadCountQuerySchema = exports.UserLocationsQuerySchema = void 0;
4
+ exports.ResumeLocationUpdateSchema = exports.PauseLocationUpdateSchema = void 0;
4
5
  const common_1 = require("@little-samo/samo-ai/common");
5
6
  const models_1 = require("@little-samo/samo-ai-sdk/models");
6
7
  const zod_1 = require("zod");
@@ -32,10 +33,8 @@ exports.LocationUpdateCredentialSchema = zod_1.z.object({
32
33
  locationId: zod_1.z.coerce.bigint(),
33
34
  credential: zod_1.z.union([
34
35
  zod_1.z.object({
35
- type: zod_1.z.literal('x_twitter'),
36
- email: zod_1.z.string().max(255),
37
- password: zod_1.z.string().max(255),
38
- username: zod_1.z.string().max(255),
36
+ type: zod_1.z.literal('notion'),
37
+ token: zod_1.z.string().max(255),
39
38
  }),
40
39
  zod_1.z.object({
41
40
  type: zod_1.z.literal('notion'),
@@ -116,7 +115,13 @@ exports.CreateLocationSnapshotParamsSchema = zod_1.z.object({
116
115
  locationId: zod_1.z.coerce.bigint(),
117
116
  });
118
117
  exports.CreateLocationSnapshotBodySchema = zod_1.z.object({
119
- maxMessages: zod_1.z.coerce.number().int().positive().optional().default(30),
118
+ maxMessages: zod_1.z.coerce
119
+ .number()
120
+ .int()
121
+ .positive()
122
+ .max(100)
123
+ .optional()
124
+ .default(30),
120
125
  });
121
126
  exports.GetLocationSnapshotParamsSchema = zod_1.z.object({
122
127
  snapshotKey: zod_1.z.string().max(128),
@@ -147,6 +152,13 @@ exports.RemoveAgentFromLocationToolSchema = zod_1.z.object({
147
152
  locationId: zod_1.z.coerce.bigint(),
148
153
  agentId: zod_1.z.coerce.bigint(),
149
154
  });
155
+ exports.UpdateLocationParamsSchema = zod_1.z.object({
156
+ locationId: zod_1.z.coerce.bigint(),
157
+ });
158
+ exports.UpdateLocationBodySchema = zod_1.z.object({
159
+ visibility: zod_1.z.enum(['private', 'public', 'publish']).optional(),
160
+ maxUsers: zod_1.z.number().int().min(1).max(99).optional(),
161
+ });
150
162
  exports.GetLocationScheduledMessagesParamsSchema = zod_1.z.object({
151
163
  locationId: zod_1.z.coerce.bigint(),
152
164
  });
@@ -1 +1 @@
1
- {"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AAExD,4DAAmE;AACnE,6BAAwB;AAExB,4EAGgD;AAkBnC,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACzE,KAAK,EAAE,OAAC,CAAC,MAAM;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,+BAA+B,CAAC;CAC7C,CAAC,CAAC;AAaU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,WAAW,EAAE,OAAC;SACX,MAAM,EAAE;SACR,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CACjB,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,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import { z } from 'zod';
2
- export declare const LocationEnvironmentSchema: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>;
2
+ export declare const LocationEnvironmentSchema: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>;
3
3
  export declare const LocationConfigCoreSchema: z.ZodObject<{
4
4
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
5
5
  sequential: z.ZodOptional<z.ZodBoolean>;
6
+ interval: z.ZodOptional<z.ZodNumber>;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
8
9
  sequential?: boolean | undefined;
10
+ interval?: number | undefined;
9
11
  }, {
10
12
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
11
13
  sequential?: boolean | undefined;
14
+ interval?: number | undefined;
12
15
  }>;
13
16
  export type LocationConfigCore = z.infer<typeof LocationConfigCoreSchema>;
14
17
  export declare const LocationConfigCanvasSchema: z.ZodObject<{
@@ -24,35 +27,43 @@ export declare const LocationConfigCanvasSchema: z.ZodObject<{
24
27
  description: string;
25
28
  maxLength: number;
26
29
  }>;
27
- declare const GimmickCoreSchema: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
28
- export type GimmickCore = z.infer<typeof GimmickCoreSchema>;
30
+ export declare const GimmickCoreDescriptions: {
31
+ readonly web_search: "Searches the web for up-to-date or missing information using an LLM, providing both a summary and detailed results. Execution takes approximately 30 seconds";
32
+ readonly image_generator: "Generates a image using an LLM. Execution takes approximately 30 seconds";
33
+ readonly notion: "Interacts with Notion platform for content management and collaboration";
34
+ };
35
+ export type GimmickCore = keyof typeof GimmickCoreDescriptions;
36
+ export declare const GimmickCoreSchema: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
29
37
  export declare const LocationConfigGimmickSchema: z.ZodObject<{
30
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
38
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
31
39
  name: z.ZodString;
32
40
  appearance: z.ZodString;
33
41
  }, "strip", z.ZodTypeAny, {
34
42
  name: string;
43
+ core: "web_search" | "image_generator" | "notion";
35
44
  appearance: string;
36
- core: "web_search" | "x_twitter" | "notion";
37
45
  }, {
38
46
  name: string;
47
+ core: "web_search" | "image_generator" | "notion";
39
48
  appearance: string;
40
- core: "web_search" | "x_twitter" | "notion";
41
49
  }>;
42
50
  export type LocationConfigGimmick = z.infer<typeof LocationConfigGimmickSchema>;
43
51
  export declare const LocationConfigSchema: z.ZodObject<{
44
52
  name: z.ZodString;
45
53
  thumbnail: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
46
- environment: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>;
54
+ environment: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>;
47
55
  core: z.ZodObject<{
48
56
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
49
57
  sequential: z.ZodOptional<z.ZodBoolean>;
58
+ interval: z.ZodOptional<z.ZodNumber>;
50
59
  }, "strip", z.ZodTypeAny, {
51
60
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
52
61
  sequential?: boolean | undefined;
62
+ interval?: number | undefined;
53
63
  }, {
54
64
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
55
65
  sequential?: boolean | undefined;
66
+ interval?: number | undefined;
56
67
  }>;
57
68
  description: z.ZodString;
58
69
  rules: z.ZodArray<z.ZodString, "many">;
@@ -83,17 +94,17 @@ export declare const LocationConfigSchema: z.ZodObject<{
83
94
  maxLength: number;
84
95
  }>, "many">;
85
96
  gimmicks: z.ZodArray<z.ZodObject<{
86
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
97
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
87
98
  name: z.ZodString;
88
99
  appearance: z.ZodString;
89
100
  }, "strip", z.ZodTypeAny, {
90
101
  name: string;
102
+ core: "web_search" | "image_generator" | "notion";
91
103
  appearance: string;
92
- core: "web_search" | "x_twitter" | "notion";
93
104
  }, {
94
105
  name: string;
106
+ core: "web_search" | "image_generator" | "notion";
95
107
  appearance: string;
96
- core: "web_search" | "x_twitter" | "notion";
97
108
  }>, "many">;
98
109
  }, "strip", z.ZodTypeAny, {
99
110
  name: string;
@@ -101,10 +112,11 @@ export declare const LocationConfigSchema: z.ZodObject<{
101
112
  core: {
102
113
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
103
114
  sequential?: boolean | undefined;
115
+ interval?: number | undefined;
104
116
  };
105
- rules: string[];
106
117
  thumbnail: string | null;
107
- environment: "CHAT";
118
+ environment: "CHAT" | "NOVEL";
119
+ rules: string[];
108
120
  canvases: {
109
121
  name: string;
110
122
  description: string;
@@ -117,8 +129,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
117
129
  }[];
118
130
  gimmicks: {
119
131
  name: string;
132
+ core: "web_search" | "image_generator" | "notion";
120
133
  appearance: string;
121
- core: "web_search" | "x_twitter" | "notion";
122
134
  }[];
123
135
  }, {
124
136
  name: string;
@@ -126,10 +138,11 @@ export declare const LocationConfigSchema: z.ZodObject<{
126
138
  core: {
127
139
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
128
140
  sequential?: boolean | undefined;
141
+ interval?: number | undefined;
129
142
  };
130
- rules: string[];
131
143
  thumbnail: string | null;
132
- environment: "CHAT";
144
+ environment: "CHAT" | "NOVEL";
145
+ rules: string[];
133
146
  canvases: {
134
147
  name: string;
135
148
  description: string;
@@ -142,9 +155,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
142
155
  }[];
143
156
  gimmicks: {
144
157
  name: string;
158
+ core: "web_search" | "image_generator" | "notion";
145
159
  appearance: string;
146
- core: "web_search" | "x_twitter" | "notion";
147
160
  }[];
148
161
  }>;
149
162
  export type LocationConfig = z.infer<typeof LocationConfigSchema>;
150
- export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LocationConfigSchema = exports.LocationConfigGimmickSchema = exports.LocationConfigCanvasSchema = exports.LocationConfigCoreSchema = exports.LocationEnvironmentSchema = void 0;
3
+ exports.LocationConfigSchema = exports.LocationConfigGimmickSchema = exports.GimmickCoreSchema = exports.GimmickCoreDescriptions = exports.LocationConfigCanvasSchema = exports.LocationConfigCoreSchema = exports.LocationEnvironmentSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const location_constants_1 = require("./location.constants");
6
6
  exports.LocationEnvironmentSchema = zod_1.z.union([
@@ -8,8 +8,8 @@ exports.LocationEnvironmentSchema = zod_1.z.union([
8
8
  .literal(location_constants_1.LocationEnvironment.CHAT)
9
9
  .describe('Standard conversational environment for general agent interactions'),
10
10
  zod_1.z
11
- .literal(location_constants_1.LocationEnvironment.CHAT)
12
- .describe('Standard conversational environment for general agent interactions'),
11
+ .literal(location_constants_1.LocationEnvironment.NOVEL)
12
+ .describe('Novel environment with UI designed for novel writing'),
13
13
  ]);
14
14
  exports.LocationConfigCoreSchema = zod_1.z.object({
15
15
  name: zod_1.z.union([
@@ -23,6 +23,12 @@ exports.LocationConfigCoreSchema = zod_1.z.object({
23
23
  .describe('Update agents continuously until no actions are available'),
24
24
  ]),
25
25
  sequential: zod_1.z.boolean().optional().describe('Execute agents in fixed order'),
26
+ interval: zod_1.z
27
+ .number()
28
+ .min(0)
29
+ .max(60 * 60 * 1000)
30
+ .optional()
31
+ .describe('Interval in milliseconds between agent executions. Use default value if not specified'),
26
32
  });
27
33
  exports.LocationConfigCanvasSchema = zod_1.z.object({
28
34
  name: zod_1.z
@@ -32,27 +38,22 @@ exports.LocationConfigCanvasSchema = zod_1.z.object({
32
38
  .describe('Unique identifier for the canvas that agents use to reference it'),
33
39
  description: zod_1.z
34
40
  .string()
35
- .max(1000)
41
+ .max(5000)
36
42
  .describe('Clear explanation of the canvas purpose and intended use for agents'),
37
43
  maxLength: zod_1.z
38
44
  .number()
39
45
  .min(100)
40
- .max(1000)
46
+ .max(5000)
41
47
  .describe('Maximum character limit for canvas content'),
42
48
  });
43
- const GimmickCoreSchema = zod_1.z.union([
44
- zod_1.z
45
- .literal('web_search')
46
- .describe('Searches the web for up-to-date or missing information using an LLM, providing both a summary and detailed results. Execution takes approximately 30 seconds'),
47
- zod_1.z
48
- .literal('x_twitter')
49
- .describe('Comprehensive X (Twitter) integration for social media operations including posting tweets, timeline management, engagement (likes, retweets, replies), user profile and follower management, content discovery through search and trends, and real-time interaction monitoring'),
50
- zod_1.z
51
- .literal('notion')
52
- .describe('Interacts with Notion platform for content management and collaboration'),
53
- ]);
49
+ exports.GimmickCoreDescriptions = {
50
+ web_search: 'Searches the web for up-to-date or missing information using an LLM, providing both a summary and detailed results. Execution takes approximately 30 seconds',
51
+ image_generator: 'Generates a image using an LLM. Execution takes approximately 30 seconds',
52
+ notion: 'Interacts with Notion platform for content management and collaboration',
53
+ };
54
+ exports.GimmickCoreSchema = zod_1.z.union(Object.keys(exports.GimmickCoreDescriptions).map((key) => zod_1.z.literal(key).describe(exports.GimmickCoreDescriptions[key])));
54
55
  exports.LocationConfigGimmickSchema = zod_1.z.object({
55
- core: GimmickCoreSchema.describe('Core gimmick behavior that determines how the gimmick is executed'),
56
+ core: exports.GimmickCoreSchema.describe('Core gimmick behavior that determines how the gimmick is executed'),
56
57
  name: zod_1.z
57
58
  .string()
58
59
  .max(64)
@@ -76,7 +77,7 @@ exports.LocationConfigSchema = zod_1.z.object({
76
77
  .nullable()
77
78
  .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.'),
78
79
  environment: exports.LocationEnvironmentSchema.describe('Location environment that determines the context and behavior'),
79
- core: exports.LocationConfigCoreSchema.describe('Core behavior configuration that determines how agents are executed in this location'),
80
+ core: exports.LocationConfigCoreSchema.describe('Core behavior configuration that determines how agents are executed in this location. Use default values unless specifically needed.'),
80
81
  description: zod_1.z
81
82
  .string()
82
83
  .max(500)
@@ -1 +1 @@
1
- {"version":3,"file":"location.config.js","sourceRoot":"","sources":["../../../src/models/locations/location.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,6DAA2D;AAE9C,QAAA,yBAAyB,GAAG,OAAC,CAAC,KAAK,CAAC;IAC/C,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,IAAI,CAAC;SACjC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAC;SACE,OAAO,CAAC,wCAAmB,CAAC,IAAI,CAAC;SACjC,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC;QACZ,OAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,kCAAkC,CAAC;QACrE,OAAC;aACE,OAAO,CAAC,gBAAgB,CAAC;aACzB,QAAQ,CAAC,6CAA6C,CAAC;QAC1D,OAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,oCAAoC,CAAC;QACvE,OAA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IAAI,CAAC;aACT,KAAK,CAAC,+BAA+B,CAAC;aACtC,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,GAAG,CAAC;SACR,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,iFAAiF,CAClF;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"}
@@ -16,7 +16,6 @@ export declare const LocationEnvironment: {
16
16
  readonly AGENT_HELPER: "AGENT_HELPER";
17
17
  readonly LOCATION_HELPER: "LOCATION_HELPER";
18
18
  readonly AGENT_DM: "AGENT_DM";
19
- readonly WEB_BROWSER: "WEB_BROWSER";
20
- readonly VIDEO_GAME: "VIDEO_GAME";
19
+ readonly NOVEL: "NOVEL";
21
20
  };
22
21
  export type LocationEnvironment = (typeof LocationEnvironment)[keyof typeof LocationEnvironment];
@@ -17,7 +17,6 @@ exports.LocationEnvironment = {
17
17
  AGENT_HELPER: 'AGENT_HELPER',
18
18
  LOCATION_HELPER: 'LOCATION_HELPER',
19
19
  AGENT_DM: 'AGENT_DM',
20
- WEB_BROWSER: 'WEB_BROWSER',
21
- VIDEO_GAME: 'VIDEO_GAME',
20
+ NOVEL: 'NOVEL',
22
21
  };
23
22
  //# sourceMappingURL=location.constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"location.constants.js","sourceRoot":"","sources":["../../../src/models/locations/location.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;CAChB,CAAC"}
1
+ {"version":3,"file":"location.constants.js","sourceRoot":"","sources":["../../../src/models/locations/location.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.1.4-rv3",
3
+ "version": "0.1.4-rv4",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {