@little-samo/samo-ai-sdk 0.1.3-rv5 → 0.1.3-rv6

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.
@@ -49,7 +49,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
49
49
  }, {
50
50
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
51
51
  }>>;
52
- llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"anthropic-low">, z.ZodLiteral<"anthropic-medium">, z.ZodLiteral<"anthropic-high">, z.ZodLiteral<"deepseek-low">, z.ZodLiteral<"deepseek-medium">]>>;
52
+ llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">]>>;
53
53
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
54
54
  timeZone: z.ZodOptional<z.ZodString>;
55
55
  greeting: z.ZodOptional<z.ZodString>;
@@ -58,65 +58,65 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
58
58
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59
59
  }, "strict", z.ZodTypeAny, {
60
60
  name?: string | undefined;
61
+ avatar?: string | undefined;
62
+ appearance?: string | undefined;
61
63
  core?: {
62
64
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
63
65
  } | undefined;
64
- appearance?: string | undefined;
65
- rules?: string[] | undefined;
66
- avatar?: string | undefined;
67
- llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
66
+ llmPreset?: "gemini-low" | "gemini-medium" | undefined;
68
67
  languages?: string[] | undefined;
69
68
  timeZone?: string | undefined;
70
69
  greeting?: string | undefined;
71
70
  actions?: "todo"[] | undefined;
72
71
  character?: Record<string, Record<string, string>> | undefined;
72
+ rules?: string[] | undefined;
73
73
  }, {
74
74
  name?: string | undefined;
75
+ avatar?: string | undefined;
76
+ appearance?: string | undefined;
75
77
  core?: {
76
78
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
77
79
  } | undefined;
78
- appearance?: string | undefined;
79
- rules?: string[] | undefined;
80
- avatar?: string | undefined;
81
- llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
80
+ llmPreset?: "gemini-low" | "gemini-medium" | undefined;
82
81
  languages?: string[] | undefined;
83
82
  timeZone?: string | undefined;
84
83
  greeting?: string | undefined;
85
84
  actions?: "todo"[] | undefined;
86
85
  character?: Record<string, Record<string, string>> | undefined;
86
+ rules?: string[] | undefined;
87
87
  }>;
88
88
  }, "strip", z.ZodTypeAny, {
89
89
  config: {
90
90
  name?: string | undefined;
91
+ avatar?: string | undefined;
92
+ appearance?: string | undefined;
91
93
  core?: {
92
94
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
93
95
  } | undefined;
94
- appearance?: string | undefined;
95
- rules?: string[] | undefined;
96
- avatar?: string | undefined;
97
- llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
96
+ llmPreset?: "gemini-low" | "gemini-medium" | undefined;
98
97
  languages?: string[] | undefined;
99
98
  timeZone?: string | undefined;
100
99
  greeting?: string | undefined;
101
100
  actions?: "todo"[] | undefined;
102
101
  character?: Record<string, Record<string, string>> | undefined;
102
+ rules?: string[] | undefined;
103
103
  };
104
104
  agentId: bigint;
105
105
  }, {
106
106
  config: {
107
107
  name?: string | undefined;
108
+ avatar?: string | undefined;
109
+ appearance?: string | undefined;
108
110
  core?: {
109
111
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
110
112
  } | undefined;
111
- appearance?: string | undefined;
112
- rules?: string[] | undefined;
113
- avatar?: string | undefined;
114
- llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
113
+ llmPreset?: "gemini-low" | "gemini-medium" | undefined;
115
114
  languages?: string[] | undefined;
116
115
  timeZone?: string | undefined;
117
116
  greeting?: string | undefined;
118
117
  actions?: "todo"[] | undefined;
119
118
  character?: Record<string, Record<string, string>> | undefined;
119
+ rules?: string[] | undefined;
120
120
  };
121
121
  agentId: bigint;
122
122
  }>;
@@ -212,6 +212,23 @@ export interface AgentPresetsPaginatedResponseDto {
212
212
  totalPages: number;
213
213
  };
214
214
  }
215
+ export declare const CreateAgentSchema: z.ZodObject<{
216
+ name: z.ZodString;
217
+ role: z.ZodString;
218
+ avatar: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ name: string;
221
+ avatar: string;
222
+ role: string;
223
+ }, {
224
+ name: string;
225
+ avatar: string;
226
+ role: string;
227
+ }>;
228
+ export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
229
+ export interface CreateAgentResponseDto {
230
+ agent: AgentPrivateDto;
231
+ }
215
232
  export declare const CreateAgentFromPresetSchema: z.ZodObject<{
216
233
  presetId: z.ZodBigInt;
217
234
  }, "strip", z.ZodTypeAny, {
@@ -236,3 +253,14 @@ export type GetHelperAgentDto = z.infer<typeof GetHelperAgentSchema>;
236
253
  export interface GetHelperAgentResponseDto {
237
254
  agent: AgentPrivateDto;
238
255
  }
256
+ export declare const UploadAgentAvatarParamsSchema: z.ZodObject<{
257
+ agentId: z.ZodBigInt;
258
+ }, "strip", z.ZodTypeAny, {
259
+ agentId: bigint;
260
+ }, {
261
+ agentId: bigint;
262
+ }>;
263
+ export type UploadAgentAvatarParamsDto = z.infer<typeof UploadAgentAvatarParamsSchema>;
264
+ export interface UploadAgentAvatarResponseDto {
265
+ avatarUrl: string;
266
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetHelperAgentSchema = exports.CreateAgentFromPresetSchema = exports.AgentPresetsPaginationQuerySchema = exports.AgentDeleteCredentialSchema = exports.AgentUpdateCredentialSchema = exports.AgentUpdateConfigSchema = exports.GetAgentsByIdsQuerySchema = exports.AgentsPaginationQuerySchema = void 0;
3
+ exports.UploadAgentAvatarParamsSchema = exports.GetHelperAgentSchema = exports.CreateAgentFromPresetSchema = exports.CreateAgentSchema = exports.AgentPresetsPaginationQuerySchema = exports.AgentDeleteCredentialSchema = exports.AgentUpdateCredentialSchema = exports.AgentUpdateConfigSchema = exports.GetAgentsByIdsQuerySchema = exports.AgentsPaginationQuerySchema = void 0;
4
4
  const models_1 = require("@little-samo/samo-ai-sdk/models");
5
5
  const zod_1 = require("zod");
6
6
  exports.AgentsPaginationQuerySchema = zod_1.z.object({
@@ -46,10 +46,22 @@ exports.AgentPresetsPaginationQuerySchema = zod_1.z.object({
46
46
  page: zod_1.z.coerce.number().int().min(1).optional().default(1),
47
47
  limit: zod_1.z.coerce.number().int().min(1).max(100).optional().default(20),
48
48
  });
49
+ exports.CreateAgentSchema = zod_1.z.object({
50
+ name: zod_1.z.string().max(64),
51
+ role: zod_1.z.string().max(500),
52
+ avatar: zod_1.z
53
+ .union([
54
+ ...Object.entries(models_1.PREDEFINED_AVATARS).map(([key, description]) => zod_1.z.literal(key).describe(description)),
55
+ ])
56
+ .describe('Visual representation identifier for the agent.'),
57
+ });
49
58
  exports.CreateAgentFromPresetSchema = zod_1.z.object({
50
59
  presetId: zod_1.z.coerce.bigint(),
51
60
  });
52
61
  exports.GetHelperAgentSchema = zod_1.z.object({
53
62
  helperType: zod_1.z.nativeEnum(models_1.AgentHelperType),
54
63
  });
64
+ exports.UploadAgentAvatarParamsSchema = zod_1.z.object({
65
+ agentId: zod_1.z.coerce.bigint(),
66
+ });
55
67
  //# sourceMappingURL=agent.requests.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/agents/agent.requests.ts"],"names":[],"mappings":";;;AAAA,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,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,EAAE,EAAE;QACnD,OAAO,EAAE,sCAAsC;KAChD,CAAC;CACL,CAAC,CAAC;AAaU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC,CAAC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U,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"}
@@ -15,6 +15,7 @@ export declare const LocationEventType: {
15
15
  readonly RenderingUpdated: "RenderingUpdated";
16
16
  readonly CanvasUpdated: "CanvasUpdated";
17
17
  readonly PauseUpdateUntilUpdated: "PauseUpdateUntilUpdated";
18
+ readonly LocationUpdated: "LocationUpdated";
18
19
  };
19
20
  export type LocationEventType = (typeof LocationEventType)[keyof typeof LocationEventType];
20
21
  export interface LocationEventDtoBase {
@@ -80,4 +81,7 @@ export interface LocationPauseUpdateUntilUpdatedEventDto extends LocationEventDt
80
81
  pauseUpdateUntil: Date | null;
81
82
  pauseUpdateReason: string | null;
82
83
  }
83
- export type LocationEventDto = LocationAgentExecutingEventDto | LocationAgentExecutedEventDto | LocationAgentJoinedEventDto | LocationAgentLeftEventDto | LocationUserJoinedEventDto | LocationUserLeftEventDto | LocationGimmickExecutingEventDto | LocationGimmickExecutedEventDto | LocationAddMessageEventDto | LocationMessageProcessedEventDto | LocationRenderingUpdatedEventDto | LocationCanvasUpdatedEventDto | LocationPauseUpdateUntilUpdatedEventDto;
84
+ export interface LocationUpdatedEventDto extends LocationEventDtoBase {
85
+ type: typeof LocationEventType.LocationUpdated;
86
+ }
87
+ export type LocationEventDto = LocationAgentExecutingEventDto | LocationAgentExecutedEventDto | LocationAgentJoinedEventDto | LocationAgentLeftEventDto | LocationUserJoinedEventDto | LocationUserLeftEventDto | LocationGimmickExecutingEventDto | LocationGimmickExecutedEventDto | LocationAddMessageEventDto | LocationMessageProcessedEventDto | LocationRenderingUpdatedEventDto | LocationCanvasUpdatedEventDto | LocationPauseUpdateUntilUpdatedEventDto | LocationUpdatedEventDto;
@@ -15,5 +15,6 @@ exports.LocationEventType = {
15
15
  RenderingUpdated: 'RenderingUpdated',
16
16
  CanvasUpdated: 'CanvasUpdated',
17
17
  PauseUpdateUntilUpdated: 'PauseUpdateUntilUpdated',
18
+ LocationUpdated: 'LocationUpdated',
18
19
  };
19
20
  //# sourceMappingURL=location.events.js.map
@@ -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;CAC1C,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,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,aAAa,EAAE,eAAe;IAC9B,uBAAuB,EAAE,yBAAyB;IAClD,eAAe,EAAE,iBAAiB;CAC1B,CAAC"}
@@ -44,7 +44,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
44
44
  config: z.ZodObject<{
45
45
  name: z.ZodOptional<z.ZodString>;
46
46
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
- environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"WEB_BROWSER">]>>;
47
+ environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>>;
48
48
  core: z.ZodOptional<z.ZodObject<{
49
49
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">]>;
50
50
  sequential: z.ZodOptional<z.ZodBoolean>;
@@ -89,12 +89,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
89
89
  appearance: z.ZodString;
90
90
  }, "strip", z.ZodTypeAny, {
91
91
  name: string;
92
- core: "web_search" | "x_twitter" | "notion";
93
92
  appearance: string;
93
+ core: "web_search" | "x_twitter" | "notion";
94
94
  }, {
95
95
  name: string;
96
- core: "web_search" | "x_twitter" | "notion";
97
96
  appearance: string;
97
+ core: "web_search" | "x_twitter" | "notion";
98
98
  }>, "many">>;
99
99
  }, "strict", z.ZodTypeAny, {
100
100
  name?: string | undefined;
@@ -103,9 +103,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
103
103
  name: "round_robin" | "update_forever" | "update_once";
104
104
  sequential?: boolean | undefined;
105
105
  } | undefined;
106
- thumbnail?: string | null | undefined;
107
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
108
106
  rules?: string[] | undefined;
107
+ thumbnail?: string | null | undefined;
108
+ environment?: "CHAT" | undefined;
109
109
  canvases?: {
110
110
  name: string;
111
111
  description: string;
@@ -118,8 +118,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
118
118
  }[] | undefined;
119
119
  gimmicks?: {
120
120
  name: string;
121
- core: "web_search" | "x_twitter" | "notion";
122
121
  appearance: string;
122
+ core: "web_search" | "x_twitter" | "notion";
123
123
  }[] | undefined;
124
124
  }, {
125
125
  name?: string | undefined;
@@ -128,9 +128,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
128
128
  name: "round_robin" | "update_forever" | "update_once";
129
129
  sequential?: boolean | undefined;
130
130
  } | undefined;
131
- thumbnail?: string | null | undefined;
132
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
133
131
  rules?: string[] | undefined;
132
+ thumbnail?: string | null | undefined;
133
+ environment?: "CHAT" | undefined;
134
134
  canvases?: {
135
135
  name: string;
136
136
  description: string;
@@ -143,8 +143,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
143
143
  }[] | undefined;
144
144
  gimmicks?: {
145
145
  name: string;
146
- core: "web_search" | "x_twitter" | "notion";
147
146
  appearance: string;
147
+ core: "web_search" | "x_twitter" | "notion";
148
148
  }[] | undefined;
149
149
  }>;
150
150
  }, "strip", z.ZodTypeAny, {
@@ -156,9 +156,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
156
156
  name: "round_robin" | "update_forever" | "update_once";
157
157
  sequential?: boolean | undefined;
158
158
  } | undefined;
159
- thumbnail?: string | null | undefined;
160
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
161
159
  rules?: string[] | undefined;
160
+ thumbnail?: string | null | undefined;
161
+ environment?: "CHAT" | undefined;
162
162
  canvases?: {
163
163
  name: string;
164
164
  description: string;
@@ -171,8 +171,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
171
171
  }[] | undefined;
172
172
  gimmicks?: {
173
173
  name: string;
174
- core: "web_search" | "x_twitter" | "notion";
175
174
  appearance: string;
175
+ core: "web_search" | "x_twitter" | "notion";
176
176
  }[] | undefined;
177
177
  };
178
178
  }, {
@@ -184,9 +184,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
184
184
  name: "round_robin" | "update_forever" | "update_once";
185
185
  sequential?: boolean | undefined;
186
186
  } | undefined;
187
- thumbnail?: string | null | undefined;
188
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
189
187
  rules?: string[] | undefined;
188
+ thumbnail?: string | null | undefined;
189
+ environment?: "CHAT" | undefined;
190
190
  canvases?: {
191
191
  name: string;
192
192
  description: string;
@@ -199,8 +199,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
199
199
  }[] | undefined;
200
200
  gimmicks?: {
201
201
  name: string;
202
- core: "web_search" | "x_twitter" | "notion";
203
202
  appearance: string;
203
+ core: "web_search" | "x_twitter" | "notion";
204
204
  }[] | undefined;
205
205
  };
206
206
  }>;
@@ -296,55 +296,55 @@ export interface LocationPresetsPaginatedResponseDto {
296
296
  totalPages: number;
297
297
  };
298
298
  }
299
- export declare const CreateLocationFromPresetSchema: z.ZodObject<{
300
- presetId: z.ZodBigInt;
299
+ export declare const CreateLocationSchema: z.ZodObject<{
300
+ name: z.ZodString;
301
+ description: z.ZodString;
301
302
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
302
303
  readonly API: "API";
303
304
  readonly MINIMO: "MINIMO";
304
305
  }>>>;
305
306
  }, "strip", z.ZodTypeAny, {
306
- presetId: bigint;
307
+ name: string;
308
+ description: string;
307
309
  platform: "API" | "MINIMO";
308
310
  }, {
309
- presetId: bigint;
311
+ name: string;
312
+ description: string;
310
313
  platform?: "API" | "MINIMO" | undefined;
311
314
  }>;
312
- export type CreateLocationFromPresetDto = z.infer<typeof CreateLocationFromPresetSchema>;
313
- export interface CreateLocationFromPresetResponseDto {
315
+ export type CreateLocationDto = z.infer<typeof CreateLocationSchema>;
316
+ export interface CreateLocationResponseDto {
314
317
  location: LocationPrivateDto;
315
318
  }
316
- export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
317
- agentId: z.ZodBigInt;
319
+ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
320
+ presetId: z.ZodBigInt;
318
321
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
319
322
  readonly API: "API";
320
323
  readonly MINIMO: "MINIMO";
321
324
  }>>>;
322
325
  }, "strip", z.ZodTypeAny, {
323
326
  platform: "API" | "MINIMO";
324
- agentId: bigint;
327
+ presetId: bigint;
325
328
  }, {
326
- agentId: bigint;
329
+ presetId: bigint;
327
330
  platform?: "API" | "MINIMO" | undefined;
328
331
  }>;
329
- export type GetAgentHelperLocationDto = z.infer<typeof GetAgentHelperLocationQuerySchema>;
330
- export interface GetAgentHelperLocationResponseDto {
332
+ export type CreateLocationFromPresetDto = z.infer<typeof CreateLocationFromPresetSchema>;
333
+ export interface CreateLocationFromPresetResponseDto {
331
334
  location: LocationPrivateDto;
332
335
  }
333
- export declare const GetLocationHelperLocationQuerySchema: z.ZodObject<{
334
- locationId: z.ZodBigInt;
336
+ export declare const GetHelperLocationQuerySchema: z.ZodObject<{
335
337
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
336
338
  readonly API: "API";
337
339
  readonly MINIMO: "MINIMO";
338
340
  }>>>;
339
341
  }, "strip", z.ZodTypeAny, {
340
- locationId: bigint;
341
342
  platform: "API" | "MINIMO";
342
343
  }, {
343
- locationId: bigint;
344
344
  platform?: "API" | "MINIMO" | undefined;
345
345
  }>;
346
- export type GetLocationHelperLocationDto = z.infer<typeof GetLocationHelperLocationQuerySchema>;
347
- export interface GetLocationHelperLocationResponseDto {
346
+ export type GetHelperLocationDto = z.infer<typeof GetHelperLocationQuerySchema>;
347
+ export interface GetHelperLocationResponseDto {
348
348
  location: LocationPrivateDto;
349
349
  }
350
350
  export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
@@ -1,6 +1,6 @@
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.SendUserMessageSchema = 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.GetLocationContentParamsSchema = exports.UploadLocationThumbnailParamsSchema = exports.GetLocationPrivateParamsSchema = exports.GetLocationParamsSchema = exports.GetAgentDmLocationQuerySchema = exports.GetLocationHelperLocationQuerySchema = exports.GetAgentHelperLocationQuerySchema = exports.CreateLocationFromPresetSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationDeleteCredentialSchema = exports.LocationUpdateCredentialSchema = exports.LocationUpdateConfigSchema = exports.LocationsUnreadCountQuerySchema = exports.UserLocationsQuerySchema = void 0;
3
+ exports.ResumeLocationUpdateSchema = exports.PauseLocationUpdateSchema = exports.UpdateLocationAgentIsActiveSchema = exports.UpdateLocationRenderingSchema = exports.UpdateLocationImageSchema = exports.SendSystemMessageSchema = exports.SendUserMessageSchema = 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.GetLocationContentParamsSchema = exports.UploadLocationThumbnailParamsSchema = exports.GetLocationPrivateParamsSchema = exports.GetLocationParamsSchema = exports.GetAgentDmLocationQuerySchema = exports.GetHelperLocationQuerySchema = exports.CreateLocationFromPresetSchema = exports.CreateLocationSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationDeleteCredentialSchema = exports.LocationUpdateCredentialSchema = exports.LocationUpdateConfigSchema = exports.LocationsUnreadCountQuerySchema = exports.UserLocationsQuerySchema = void 0;
4
4
  const common_1 = require("@little-samo/samo-ai/common");
5
5
  const models_1 = require("@little-samo/samo-ai-sdk/models");
6
6
  const zod_1 = require("zod");
@@ -51,22 +51,22 @@ exports.LocationPresetsPaginationQuerySchema = zod_1.z.object({
51
51
  page: zod_1.z.coerce.number().int().min(1).optional().default(1),
52
52
  limit: zod_1.z.coerce.number().int().min(1).max(100).optional().default(20),
53
53
  });
54
- exports.CreateLocationFromPresetSchema = zod_1.z.object({
55
- presetId: zod_1.z.coerce.bigint(),
54
+ exports.CreateLocationSchema = zod_1.z.object({
55
+ name: zod_1.z.string().max(64),
56
+ description: zod_1.z.string().max(500),
56
57
  platform: zod_1.z
57
58
  .nativeEnum(models_1.LocationPlatform)
58
59
  .optional()
59
60
  .default(models_1.LocationPlatform.API),
60
61
  });
61
- exports.GetAgentHelperLocationQuerySchema = zod_1.z.object({
62
- agentId: zod_1.z.coerce.bigint(),
62
+ exports.CreateLocationFromPresetSchema = zod_1.z.object({
63
+ presetId: zod_1.z.coerce.bigint(),
63
64
  platform: zod_1.z
64
65
  .nativeEnum(models_1.LocationPlatform)
65
66
  .optional()
66
67
  .default(models_1.LocationPlatform.API),
67
68
  });
68
- exports.GetLocationHelperLocationQuerySchema = zod_1.z.object({
69
- locationId: zod_1.z.coerce.bigint(),
69
+ exports.GetHelperLocationQuerySchema = zod_1.z.object({
70
70
  platform: zod_1.z
71
71
  .nativeEnum(models_1.LocationPlatform)
72
72
  .optional()
@@ -1 +1 @@
1
- {"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,4DAAmE;AACnE,6BAAwB;AAExB,4EAGgD;AAgBnC,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,CAAC,IAAI,EAAE,CAAC,CAAC,CAC/D;SACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,EAAE,EAAE;QACnD,OAAO,EAAE,4CAA4C;KACtD,CAAC;CACL,CAAC,CAAC;AAiBU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,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E,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAUU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC7B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAYU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC7B,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC1B,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC;AAaU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAC;AAWU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC7B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CAClE,CAAC,CAAC"}
@@ -8,7 +8,7 @@ export declare const AgentConfigCoreSchema: z.ZodObject<{
8
8
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
9
9
  }>;
10
10
  export type AgentConfigCore = z.infer<typeof AgentConfigCoreSchema>;
11
- declare const LlmPresetSchema: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"anthropic-low">, z.ZodLiteral<"anthropic-medium">, z.ZodLiteral<"anthropic-high">, z.ZodLiteral<"deepseek-low">, z.ZodLiteral<"deepseek-medium">]>;
11
+ declare const LlmPresetSchema: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">]>;
12
12
  export type LlmPreset = z.infer<typeof LlmPresetSchema>;
13
13
  export declare const AgentConfigSchema: z.ZodObject<{
14
14
  name: z.ZodString;
@@ -21,7 +21,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
21
21
  }, {
22
22
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
23
23
  }>;
24
- llmPreset: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"anthropic-low">, z.ZodLiteral<"anthropic-medium">, z.ZodLiteral<"anthropic-high">, z.ZodLiteral<"deepseek-low">, z.ZodLiteral<"deepseek-medium">]>;
24
+ llmPreset: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">]>;
25
25
  languages: z.ZodArray<z.ZodString, "many">;
26
26
  timeZone: z.ZodString;
27
27
  greeting: z.ZodString;
@@ -35,7 +35,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
35
35
  core: {
36
36
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
37
37
  };
38
- llmPreset: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium";
38
+ llmPreset: "gemini-low" | "gemini-medium";
39
39
  languages: string[];
40
40
  timeZone: string;
41
41
  greeting: string;
@@ -49,7 +49,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
49
49
  core: {
50
50
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
51
51
  };
52
- llmPreset: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium";
52
+ llmPreset: "gemini-low" | "gemini-medium";
53
53
  languages: string[];
54
54
  timeZone: string;
55
55
  greeting: string;
@@ -22,24 +22,30 @@ exports.AgentConfigCoreSchema = zod_1.z.object({
22
22
  .describe('Responds to every new message in the location. Best for conversational agents that should actively participate in all discussions.'),
23
23
  ]),
24
24
  });
25
- const CharacterSchema = zod_1.z
26
- .record(zod_1.z.record(zod_1.z.string().max(500)))
27
- .describe('Defines the agent\'s character using a flexible, two-level nested object: { "category": { "property": "value" } }. ' +
28
- 'You can create any custom categories and properties; the following are suggestions, not an exhaustive list. ' +
29
- 'For example: `background` (with `role`, `gender`, `expertise`, `backstory`), `speech` (with `tone`, `style`, `formality`), or `personality` (with `traits`, `interests`, `values`, `quirks`, `mbti`). ' +
30
- "The `role` property under `background` is CRITICAL as it defines the agent's core identity and function. " +
31
- 'All values are strings up to 500 characters.');
25
+ const CharacterSchema = zod_1.z.record(zod_1.z.record(zod_1.z.string().max(500))).describe(`
26
+ Defines the agent's character using a flexible, two-level nested object, such as \`{ "category": { "property": "value" } }\`.
27
+ You can create any custom categories and properties. Below are some suggestions:
28
+ * **background**: Defines the agent's core identity and backstory.
29
+ * \`role\`: **CRITICAL**. The agent's primary function and purpose (e.g., 'A helper agent for crafting new agents and discovering treasures.').
30
+ * \`gender\`: The agent's gender identity (e.g., 'Male').
31
+ * \`expertise\`: Specialized knowledge areas (e.g., 'Treasure hunting, making friends, spreading happiness.').
32
+ * \`backstory\`: A brief history of the agent's experiences (e.g., 'Born in a warm home, loves making friends and going on adventures.').
33
+ * **speech**: Controls the agent's communication style.
34
+ * \`tone\`: The emotional quality of the agent's voice (e.g., 'A cheerful yet polite bark.').
35
+ * \`style\`: The agent's manner of expression (e.g., 'Friendly, enthusiastic, lively.').
36
+ * \`formality\`: The level of conventionality in language (e.g., 'Playful, respectful, uplifting.').
37
+ * **personality**: Describes the agent's distinctive traits and behaviors.
38
+ * \`traits\`: Key characteristics (e.g., 'Curious, creative, friendly, optimistic.').
39
+ * \`interests\`: Hobbies and topics the agent enjoys (e.g., 'Treasures, adventures, and making new friends.').
40
+ * \`values\`: Core principles that guide the agent's actions (e.g., 'Happiness, friendship, adventure, and harmony.').
41
+ * \`quirks\`: Peculiar habits or eccentricities (e.g., 'Barks when excited, overly optimistic.').
42
+ * \`mbti\`: Myers-Briggs Type Indicator for personality classification (e.g., 'ESFP').
43
+
44
+ All property values are strings with a maximum length of 500 characters.
45
+ `.trim());
32
46
  const LlmPresetSchema = zod_1.z.union([
33
47
  zod_1.z.literal('gemini-low').describe('Gemini - Low cost'),
34
48
  zod_1.z.literal('gemini-medium').describe('Gemini - Balanced'),
35
- zod_1.z.literal('gemini-high').describe('Gemini - High performance'),
36
- zod_1.z.literal('openai-low').describe('OpenAI - Low cost'),
37
- zod_1.z.literal('openai-medium').describe('OpenAI - Balanced'),
38
- zod_1.z.literal('anthropic-low').describe('Anthropic - Low cost'),
39
- zod_1.z.literal('anthropic-medium').describe('Anthropic - Balanced'),
40
- zod_1.z.literal('anthropic-high').describe('Anthropic - High performance'),
41
- zod_1.z.literal('deepseek-low').describe('DeepSeek - Low cost'),
42
- zod_1.z.literal('deepseek-medium').describe('DeepSeek - Balanced'),
43
49
  ]);
44
50
  exports.AgentConfigSchema = zod_1.z.object({
45
51
  name: zod_1.z.string().max(64).describe('Agent name'),
@@ -49,9 +55,9 @@ exports.AgentConfigSchema = zod_1.z.object({
49
55
  zod_1.z
50
56
  .string()
51
57
  .max(2048)
52
- .describe('Custom avatar identifier or URL (system use only)'),
58
+ .describe('Custom avatar URL (png, jpeg, jpg files under 10MB only). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
53
59
  ])
54
- .describe('Visual representation identifier for the agent. Supports predefined avatar options or custom identifiers/URLs for system use. When a predefined avatar is selected, the appearance field will automatically update to match the avatar description.'),
60
+ .describe('Visual representation identifier for the agent. Supports predefined avatar options or custom URL. When a predefined avatar is selected, the appearance field will automatically update to match the avatar description.'),
55
61
  appearance: zod_1.z
56
62
  .string()
57
63
  .max(500)
@@ -1 +1 @@
1
- {"version":3,"file":"agent.config.js","sourceRoot":"","sources":["../../../../src/models/entities/agents/agent.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kBAAkB,GAA2B;IACxD,IAAI,EAAE,8IAA8I;IACpJ,IAAI,EAAE,6KAA6K;IACnL,MAAM,EAAE,0LAA0L;IAClM,IAAI,EAAE,+LAA+L;IACrM,MAAM,EAAE,8KAA8K;CACvL,CAAC;AAEW,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC;QACZ,OAAC;aACE,OAAO,CAAC,sBAAsB,CAAC;aAC/B,QAAQ,CACP,4JAA4J,CAC7J;QACH,OAAC;aACE,OAAO,CAAC,iBAAiB,CAAC;aAC1B,QAAQ,CACP,+IAA+I,CAChJ;QACH,OAAC;aACE,OAAO,CAAC,wBAAwB,CAAC;aACjC,QAAQ,CACP,oIAAoI,CACrI;KACJ,CAAC;CACH,CAAC,CAAC;AAIH,MAAM,eAAe,GAAG,OAAC;KACtB,MAAM,CAAC,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;KACrC,QAAQ,CACP,qHAAqH;IACnH,8GAA8G;IAC9G,wMAAwM;IACxM,2GAA2G;IAC3G,8CAA8C,CACjD,CAAC;AAEJ,MAAM,eAAe,GAAG,OAAC,CAAC,KAAK,CAAC;IAC9B,OAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IACrD,OAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IACxD,OAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,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AQ,CAClC,yFAAyF,CAC1F;IACD,SAAS,EAAE,eAAe,CAAC,QAAQ,CACjC,4IAA4I,CAC7I;IAED,SAAS,EAAE,OAAC;SACT,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;SACjB,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,oNAAoN,CACrN;IACH,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,qEAAqE,CACtE;IACH,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,CACP,gKAAgK,CACjK;IAEH,OAAO,EAAE,OAAC;SACP,KAAK,CACJ,OAAC,CAAC,KAAK,CAAC;QACN,OAAC;aACE,OAAO,CAAC,MAAM,CAAC;aACf,QAAQ,CACP,gEAAgE,CACjE;QACH,OAAC;aACE,OAAO,CAAC,MAAM,CAAC;aACf,QAAQ,CACP,gEAAgE,CACjE;KACJ,CAAC,CACH;SACA,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,0IAA0I,CAC3I;IAEH,SAAS,EAAE,eAAe;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,iLAAiL,CAClL;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,CAA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C;SACD,QAAQ,CACP,yNAAyN,CAC1N;IACH,UAAU,EAAE,OAAC;SACV,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,CACP,icAAic,CAClc;IAEH,IAAI,EAAE,6BAAqB,CAAC,QAAQ,CAClC,yFAAyF,CAC1F;IACD,SAAS,EAAE,eAAe,CAAC,QAAQ,CACjC,4IAA4I,CAC7I;IAED,SAAS,EAAE,OAAC;SACT,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;SACjB,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,oNAAoN,CACrN;IACH,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,qEAAqE,CACtE;IACH,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,CACP,gKAAgK,CACjK;IAEH,OAAO,EAAE,OAAC;SACP,KAAK,CACJ,OAAC,CAAC,KAAK,CAAC;QACN,OAAC;aACE,OAAO,CAAC,MAAM,CAAC;aACf,QAAQ,CACP,gEAAgE,CACjE;QACH,OAAC;aACE,OAAO,CAAC,MAAM,CAAC;aACf,QAAQ,CACP,gEAAgE,CACjE;KACJ,CAAC,CACH;SACA,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,0IAA0I,CAC3I;IAEH,SAAS,EAAE,eAAe;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,iLAAiL,CAClL;CACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const LocationEnvironmentSchema: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"WEB_BROWSER">]>;
2
+ export declare const LocationEnvironmentSchema: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>;
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">]>;
5
5
  sequential: z.ZodOptional<z.ZodBoolean>;
@@ -30,18 +30,18 @@ export declare const LocationConfigGimmickSchema: z.ZodObject<{
30
30
  appearance: z.ZodString;
31
31
  }, "strip", z.ZodTypeAny, {
32
32
  name: string;
33
- core: "web_search" | "x_twitter" | "notion";
34
33
  appearance: string;
34
+ core: "web_search" | "x_twitter" | "notion";
35
35
  }, {
36
36
  name: string;
37
- core: "web_search" | "x_twitter" | "notion";
38
37
  appearance: string;
38
+ core: "web_search" | "x_twitter" | "notion";
39
39
  }>;
40
40
  export type LocationConfigGimmick = z.infer<typeof LocationConfigGimmickSchema>;
41
41
  export declare const LocationConfigSchema: z.ZodObject<{
42
42
  name: z.ZodString;
43
43
  thumbnail: z.ZodNullable<z.ZodString>;
44
- environment: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"WEB_BROWSER">]>;
44
+ environment: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>;
45
45
  core: z.ZodObject<{
46
46
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">]>;
47
47
  sequential: z.ZodOptional<z.ZodBoolean>;
@@ -86,12 +86,12 @@ export declare const LocationConfigSchema: z.ZodObject<{
86
86
  appearance: z.ZodString;
87
87
  }, "strip", z.ZodTypeAny, {
88
88
  name: string;
89
- core: "web_search" | "x_twitter" | "notion";
90
89
  appearance: string;
90
+ core: "web_search" | "x_twitter" | "notion";
91
91
  }, {
92
92
  name: string;
93
- core: "web_search" | "x_twitter" | "notion";
94
93
  appearance: string;
94
+ core: "web_search" | "x_twitter" | "notion";
95
95
  }>, "many">;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  name: string;
@@ -100,9 +100,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
100
100
  name: "round_robin" | "update_forever" | "update_once";
101
101
  sequential?: boolean | undefined;
102
102
  };
103
- thumbnail: string | null;
104
- environment: "CHAT" | "WEB_BROWSER";
105
103
  rules: string[];
104
+ thumbnail: string | null;
105
+ environment: "CHAT";
106
106
  canvases: {
107
107
  name: string;
108
108
  description: string;
@@ -115,8 +115,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
115
115
  }[];
116
116
  gimmicks: {
117
117
  name: string;
118
- core: "web_search" | "x_twitter" | "notion";
119
118
  appearance: string;
119
+ core: "web_search" | "x_twitter" | "notion";
120
120
  }[];
121
121
  }, {
122
122
  name: string;
@@ -125,9 +125,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
125
125
  name: "round_robin" | "update_forever" | "update_once";
126
126
  sequential?: boolean | undefined;
127
127
  };
128
- thumbnail: string | null;
129
- environment: "CHAT" | "WEB_BROWSER";
130
128
  rules: string[];
129
+ thumbnail: string | null;
130
+ environment: "CHAT";
131
131
  canvases: {
132
132
  name: string;
133
133
  description: string;
@@ -140,8 +140,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
140
140
  }[];
141
141
  gimmicks: {
142
142
  name: string;
143
- core: "web_search" | "x_twitter" | "notion";
144
143
  appearance: string;
144
+ core: "web_search" | "x_twitter" | "notion";
145
145
  }[];
146
146
  }>;
147
147
  export type LocationConfig = z.infer<typeof LocationConfigSchema>;
@@ -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.WEB_BROWSER)
12
- .describe('Web browser environment that provides web browser content to agents'),
11
+ .literal(location_constants_1.LocationEnvironment.CHAT)
12
+ .describe('Standard conversational environment for general agent interactions'),
13
13
  ]);
14
14
  exports.LocationConfigCoreSchema = zod_1.z.object({
15
15
  name: zod_1.z.union([
@@ -64,7 +64,7 @@ exports.LocationConfigSchema = zod_1.z.object({
64
64
  .string()
65
65
  .max(2048)
66
66
  .nullable()
67
- .describe('Location thumbnail URL (png, jpeg, jpg files under 10MB only)'),
67
+ .describe('Location thumbnail URL (png, jpeg, jpg files under 10MB only). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
68
68
  environment: exports.LocationEnvironmentSchema.describe('Location environment that determines the context and behavior'),
69
69
  core: exports.LocationConfigCoreSchema.describe('Core behavior configuration that determines how agents are executed in this location'),
70
70
  description: zod_1.z
@@ -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,WAAW,CAAC;SACxC,QAAQ,CACP,qEAAqE,CACtE;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;KACxE,CAAC;IACF,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;CAC7E,CAAC,CAAC;AAIU,QAAA,0BAA0B,GAAG,OAAC,CAA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C;IAE5E,WAAW,EAAE,iCAAyB,CAAC,QAAQ,CAC7C,+DAA+D,CAChE;IAED,IAAI,EAAE,gCAAwB,CAAC,QAAQ,CACrC,sFAAsF,CACvF;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"}
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,CAA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MAAM,EAAE;SACR,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,CACP,qEAAqE,CACtE;CACJ,CAAC,CAAC;AAIU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC;IAClD,SAAS,EAAE,OAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,IAAI,CAAC;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,0JAA0J,CAC3J;IAEH,WAAW,EAAE,iCAAyB,CAAC,QAAQ,CAC7C,+DAA+D,CAChE;IAED,IAAI,EAAE,gCAAwB,CAAC,QAAQ,CACrC,sFAAsF,CACvF;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"}
@@ -12,6 +12,7 @@ export declare const LocationType: {
12
12
  export type LocationType = (typeof LocationType)[keyof typeof LocationType];
13
13
  export declare const LocationEnvironment: {
14
14
  readonly CHAT: "CHAT";
15
+ readonly MAIN_HELPER: "MAIN_HELPER";
15
16
  readonly AGENT_HELPER: "AGENT_HELPER";
16
17
  readonly LOCATION_HELPER: "LOCATION_HELPER";
17
18
  readonly AGENT_DM: "AGENT_DM";
@@ -13,6 +13,7 @@ exports.LocationType = {
13
13
  };
14
14
  exports.LocationEnvironment = {
15
15
  CHAT: 'CHAT',
16
+ MAIN_HELPER: 'MAIN_HELPER',
16
17
  AGENT_HELPER: 'AGENT_HELPER',
17
18
  LOCATION_HELPER: 'LOCATION_HELPER',
18
19
  AGENT_DM: 'AGENT_DM',
@@ -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,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,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;CAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.1.3-rv5",
3
+ "version": "0.1.3-rv6",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {