@little-samo/samo-ai-sdk 0.1.0-rv4 → 0.1.0-rv5

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.
@@ -4,7 +4,7 @@ export interface AgentPresetDto {
4
4
  presetName: string;
5
5
  presetShortDescription: string;
6
6
  presetDescription: string;
7
- config: AgentConfig;
7
+ config: Partial<AgentConfig>;
8
8
  createdAt: Date;
9
9
  updatedAt: Date;
10
10
  }
@@ -1,3 +1,4 @@
1
+ import { AgentConfig } from '@little-samo/samo-ai-sdk/models';
1
2
  import { z } from 'zod';
2
3
  import { AgentPrivateDto, AgentPublicDto } from './agent';
3
4
  import { AgentPresetDto } from './agent.preset';
@@ -5,11 +6,11 @@ export declare const AgentsPaginationQuerySchema: z.ZodObject<{
5
6
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6
7
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7
8
  }, "strip", z.ZodTypeAny, {
8
- page: number;
9
9
  limit: number;
10
+ page: number;
10
11
  }, {
11
- page?: number | undefined;
12
12
  limit?: number | undefined;
13
+ page?: number | undefined;
13
14
  }>;
14
15
  export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
15
16
  export interface AgentsPaginatedResponseDto {
@@ -220,14 +221,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
220
221
  }, z.ZodOptional<z.ZodString>, "strip">>>;
221
222
  }, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip">>>>;
222
223
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
223
- }, "strip", z.ZodTypeAny, {
224
+ }, "strict", z.ZodTypeAny, {
224
225
  name?: string | undefined;
225
226
  core?: {
226
227
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
227
228
  } | undefined;
229
+ appearance?: string | undefined;
228
230
  rules?: string[] | undefined;
229
231
  avatar?: string | undefined;
230
- appearance?: string | undefined;
231
232
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
232
233
  languages?: string[] | undefined;
233
234
  timeZone?: string | undefined;
@@ -294,9 +295,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
294
295
  core?: {
295
296
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
296
297
  } | undefined;
298
+ appearance?: string | undefined;
297
299
  rules?: string[] | undefined;
298
300
  avatar?: string | undefined;
299
- appearance?: string | undefined;
300
301
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
301
302
  languages?: string[] | undefined;
302
303
  timeZone?: string | undefined;
@@ -360,15 +361,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
360
361
  }, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
361
362
  }>;
362
363
  }, "strip", z.ZodTypeAny, {
363
- agentId: bigint;
364
364
  config: {
365
365
  name?: string | undefined;
366
366
  core?: {
367
367
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
368
368
  } | undefined;
369
+ appearance?: string | undefined;
369
370
  rules?: string[] | undefined;
370
371
  avatar?: string | undefined;
371
- appearance?: string | undefined;
372
372
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
373
373
  languages?: string[] | undefined;
374
374
  timeZone?: string | undefined;
@@ -431,16 +431,16 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
431
431
  }, z.ZodOptional<z.ZodString>, "strip">>>;
432
432
  }, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
433
433
  };
434
- }, {
435
434
  agentId: bigint;
435
+ }, {
436
436
  config: {
437
437
  name?: string | undefined;
438
438
  core?: {
439
439
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
440
440
  } | undefined;
441
+ appearance?: string | undefined;
441
442
  rules?: string[] | undefined;
442
443
  avatar?: string | undefined;
443
- appearance?: string | undefined;
444
444
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
445
445
  languages?: string[] | undefined;
446
446
  timeZone?: string | undefined;
@@ -503,17 +503,19 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
503
503
  }, z.ZodOptional<z.ZodString>, "strip">>>;
504
504
  }, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
505
505
  };
506
+ agentId: bigint;
506
507
  }>;
507
508
  export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
509
+ export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
508
510
  export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
509
511
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
510
512
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
511
513
  }, "strip", z.ZodTypeAny, {
512
- page: number;
513
514
  limit: number;
515
+ page: number;
514
516
  }, {
515
- page?: number | undefined;
516
517
  limit?: number | undefined;
518
+ page?: number | undefined;
517
519
  }>;
518
520
  export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
519
521
  export interface AgentPresetsPaginatedResponseDto {
@@ -16,8 +16,10 @@ exports.GetAgentsByIdsQuerySchema = zod_1.z.object({
16
16
  }),
17
17
  });
18
18
  exports.AgentUpdateConfigSchema = zod_1.z.object({
19
- agentId: zod_1.z.coerce.bigint(),
20
- config: models_1.AgentConfigSchema.partial(),
19
+ agentId: zod_1.z.coerce.bigint().describe('ID of the agent to update'),
20
+ config: models_1.AgentConfigSchema.partial()
21
+ .strict()
22
+ .describe('Only the specific configuration fields that need to be updated (name, avatar, core, etc.)'),
21
23
  });
22
24
  exports.AgentPresetsPaginationQuerySchema = zod_1.z.object({
23
25
  page: zod_1.z.coerce.number().int().min(1).optional().default(1),
@@ -1 +1 @@
1
- {"version":3,"file":"agent.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/agents/agent.requests.ts"],"names":[],"mappings":";;;AAAA,4DAGyC;AACzC,6BAAwB;AAKX,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;AAgBU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,QAAQ,EAAE,O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OAAC,CAAC,MAAM,CAAC;IACxD,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;AAgBU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAUU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,OAAC,CAAC,UAAU,CAAC,wBAAe,CAAC;CAC1C,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { LocationId } from '@little-samo/samo-ai';
2
2
  import { LocationConfig, LocationEnvironment, LocationType } from '@little-samo/samo-ai-sdk/models';
3
+ import { LocationMessageDto } from './location.message';
3
4
  export interface LocationPublicDto {
4
5
  id: LocationId;
5
6
  name: string;
@@ -11,3 +12,10 @@ export interface LocationPublicDto {
11
12
  export interface LocationPrivateDto extends LocationPublicDto {
12
13
  config: LocationConfig;
13
14
  }
15
+ export interface LocationListItemDto extends LocationPublicDto {
16
+ lastMessage: LocationMessageDto | null;
17
+ unreadCount: number;
18
+ agentCount: number;
19
+ userCount: number;
20
+ gimmickCount: number;
21
+ }
@@ -6,7 +6,7 @@ export interface LocationPresetDto {
6
6
  presetDescription: string;
7
7
  name: string;
8
8
  description: string;
9
- config: LocationConfig;
9
+ config: Partial<LocationConfig>;
10
10
  createdAt: Date;
11
11
  updatedAt: Date;
12
12
  }
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { LocationPrivateDto, LocationPublicDto } from './location';
2
+ import { LocationConfig } from '../../models/locations/location.config';
3
+ import { LocationListItemDto, LocationPrivateDto, LocationPublicDto } from './location';
3
4
  import { LocationMessageDto } from './location.message';
4
5
  import { LocationPresetDto } from './location.preset';
5
6
  export declare const UserLocationsQuerySchema: z.ZodObject<{
@@ -9,17 +10,12 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
9
10
  limit: number;
10
11
  cursor?: string | undefined;
11
12
  }, {
12
- limit?: number | undefined;
13
13
  cursor?: string | undefined;
14
+ limit?: number | undefined;
14
15
  }>;
15
16
  export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
16
- export interface UserLocationItemDto {
17
- location: LocationPrivateDto;
18
- lastMessage: LocationMessageDto | null;
19
- unreadCount: number;
20
- }
21
17
  export interface UserLocationsResponseDto {
22
- data: UserLocationItemDto[];
18
+ locations: LocationListItemDto[];
23
19
  meta: {
24
20
  total: number;
25
21
  nextCursor?: string;
@@ -36,6 +32,17 @@ export type GetLocationParamsDto = z.infer<typeof GetLocationParamsSchema>;
36
32
  export interface GetLocationResponseDto {
37
33
  location: LocationPublicDto | LocationPrivateDto;
38
34
  }
35
+ export declare const GetLocationPrivateParamsSchema: z.ZodObject<{
36
+ locationId: z.ZodEffects<z.ZodString, bigint, string>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ locationId: bigint;
39
+ }, {
40
+ locationId: string;
41
+ }>;
42
+ export type GetLocationPrivateParamsDto = z.infer<typeof GetLocationPrivateParamsSchema>;
43
+ export interface GetLocationPrivateResponseDto {
44
+ location: LocationPrivateDto;
45
+ }
39
46
  export declare const MarkLocationAsReadParamsSchema: z.ZodObject<{
40
47
  locationId: z.ZodEffects<z.ZodString, bigint, string>;
41
48
  }, "strip", z.ZodTypeAny, {
@@ -79,11 +86,11 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
79
86
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
80
87
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
81
88
  }, "strip", z.ZodTypeAny, {
82
- page: number;
83
89
  limit: number;
90
+ page: number;
84
91
  }, {
85
- page?: number | undefined;
86
92
  limit?: number | undefined;
93
+ page?: number | undefined;
87
94
  }>;
88
95
  export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
89
96
  export interface LocationPresetsPaginatedResponseDto {
@@ -150,15 +157,31 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
150
157
  description: string;
151
158
  maxLength: number;
152
159
  }>, "many">>;
153
- }, "strip", z.ZodTypeAny, {
160
+ gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
161
+ core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">]>;
162
+ name: z.ZodString;
163
+ description: z.ZodString;
164
+ appearance: z.ZodString;
165
+ }, "strip", z.ZodTypeAny, {
166
+ name: string;
167
+ description: string;
168
+ core: "web_search" | "x_twitter";
169
+ appearance: string;
170
+ }, {
171
+ name: string;
172
+ description: string;
173
+ core: "web_search" | "x_twitter";
174
+ appearance: string;
175
+ }>, "many">>;
176
+ }, "strict", z.ZodTypeAny, {
154
177
  name?: string | undefined;
155
178
  description?: string | undefined;
156
- thumbnail?: string | undefined;
157
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
158
179
  core?: {
159
180
  name: "round_robin" | "update_forever" | "update_once";
160
181
  sequential?: boolean | undefined;
161
182
  } | undefined;
183
+ thumbnail?: string | undefined;
184
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
162
185
  rules?: string[] | undefined;
163
186
  canvases?: {
164
187
  name: string;
@@ -170,15 +193,21 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
170
193
  description: string;
171
194
  maxLength: number;
172
195
  }[] | undefined;
196
+ gimmicks?: {
197
+ name: string;
198
+ description: string;
199
+ core: "web_search" | "x_twitter";
200
+ appearance: string;
201
+ }[] | undefined;
173
202
  }, {
174
203
  name?: string | undefined;
175
204
  description?: string | undefined;
176
- thumbnail?: string | undefined;
177
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
178
205
  core?: {
179
206
  name: "round_robin" | "update_forever" | "update_once";
180
207
  sequential?: boolean | undefined;
181
208
  } | undefined;
209
+ thumbnail?: string | undefined;
210
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
182
211
  rules?: string[] | undefined;
183
212
  canvases?: {
184
213
  name: string;
@@ -190,17 +219,24 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
190
219
  description: string;
191
220
  maxLength: number;
192
221
  }[] | undefined;
222
+ gimmicks?: {
223
+ name: string;
224
+ description: string;
225
+ core: "web_search" | "x_twitter";
226
+ appearance: string;
227
+ }[] | undefined;
193
228
  }>;
194
229
  }, "strip", z.ZodTypeAny, {
230
+ locationId: bigint;
195
231
  config: {
196
232
  name?: string | undefined;
197
233
  description?: string | undefined;
198
- thumbnail?: string | undefined;
199
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
200
234
  core?: {
201
235
  name: "round_robin" | "update_forever" | "update_once";
202
236
  sequential?: boolean | undefined;
203
237
  } | undefined;
238
+ thumbnail?: string | undefined;
239
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
204
240
  rules?: string[] | undefined;
205
241
  canvases?: {
206
242
  name: string;
@@ -212,18 +248,24 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
212
248
  description: string;
213
249
  maxLength: number;
214
250
  }[] | undefined;
251
+ gimmicks?: {
252
+ name: string;
253
+ description: string;
254
+ core: "web_search" | "x_twitter";
255
+ appearance: string;
256
+ }[] | undefined;
215
257
  };
216
- locationId: bigint;
217
258
  }, {
259
+ locationId: bigint;
218
260
  config: {
219
261
  name?: string | undefined;
220
262
  description?: string | undefined;
221
- thumbnail?: string | undefined;
222
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
223
263
  core?: {
224
264
  name: "round_robin" | "update_forever" | "update_once";
225
265
  sequential?: boolean | undefined;
226
266
  } | undefined;
267
+ thumbnail?: string | undefined;
268
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
227
269
  rules?: string[] | undefined;
228
270
  canvases?: {
229
271
  name: string;
@@ -235,10 +277,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
235
277
  description: string;
236
278
  maxLength: number;
237
279
  }[] | undefined;
280
+ gimmicks?: {
281
+ name: string;
282
+ description: string;
283
+ core: "web_search" | "x_twitter";
284
+ appearance: string;
285
+ }[] | undefined;
238
286
  };
239
- locationId: bigint;
240
287
  }>;
241
288
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
289
+ export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
242
290
  export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
243
291
  agentId: z.ZodBigInt;
244
292
  }, "strip", z.ZodTypeAny, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetAgentDmLocationQuerySchema = exports.GetLocationHelperLocationQuerySchema = exports.GetAgentHelperLocationQuerySchema = exports.LocationUpdateConfigSchema = exports.CreateLocationFromPresetSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationsUnreadCountQuerySchema = exports.LocationUnreadCountParamsSchema = exports.MarkLocationAsReadParamsSchema = exports.GetLocationParamsSchema = exports.UserLocationsQuerySchema = void 0;
3
+ exports.GetAgentDmLocationQuerySchema = exports.GetLocationHelperLocationQuerySchema = exports.GetAgentHelperLocationQuerySchema = exports.LocationUpdateConfigSchema = exports.CreateLocationFromPresetSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationsUnreadCountQuerySchema = exports.LocationUnreadCountParamsSchema = exports.MarkLocationAsReadParamsSchema = exports.GetLocationPrivateParamsSchema = exports.GetLocationParamsSchema = exports.UserLocationsQuerySchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const location_config_1 = require("../../models/locations/location.config");
6
6
  exports.UserLocationsQuerySchema = zod_1.z.object({
@@ -15,6 +15,9 @@ exports.UserLocationsQuerySchema = zod_1.z.object({
15
15
  exports.GetLocationParamsSchema = zod_1.z.object({
16
16
  locationId: zod_1.z.string().transform((val) => BigInt(val)),
17
17
  });
18
+ exports.GetLocationPrivateParamsSchema = zod_1.z.object({
19
+ locationId: zod_1.z.string().transform((val) => BigInt(val)),
20
+ });
18
21
  exports.MarkLocationAsReadParamsSchema = zod_1.z.object({
19
22
  locationId: zod_1.z.string().transform((val) => BigInt(val)),
20
23
  });
@@ -38,7 +41,9 @@ exports.CreateLocationFromPresetSchema = zod_1.z.object({
38
41
  });
39
42
  exports.LocationUpdateConfigSchema = zod_1.z.object({
40
43
  locationId: zod_1.z.coerce.bigint().describe('ID of the location to update'),
41
- config: location_config_1.LocationConfigSchema.partial().describe('Only the specific configuration fields that need to be updated (name, environment, core, description, etc.)'),
44
+ config: location_config_1.LocationConfigSchema.partial()
45
+ .strict()
46
+ .describe('Only the specific configuration fields that need to be updated (name, environment, core, description, etc.)'),
42
47
  });
43
48
  exports.GetAgentHelperLocationQuerySchema = zod_1.z.object({
44
49
  agentId: zod_1.z.coerce.bigint(),
@@ -1 +1 @@
1
- {"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,4EAA8E;AAOjE,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;AAmBU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;I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@ -24,6 +24,22 @@ export declare const LocationConfigCanvasSchema: z.ZodObject<{
24
24
  description: string;
25
25
  maxLength: number;
26
26
  }>;
27
+ export declare const LocationConfigGimmickSchema: z.ZodObject<{
28
+ core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">]>;
29
+ name: z.ZodString;
30
+ description: z.ZodString;
31
+ appearance: z.ZodString;
32
+ }, "strip", z.ZodTypeAny, {
33
+ name: string;
34
+ description: string;
35
+ core: "web_search" | "x_twitter";
36
+ appearance: string;
37
+ }, {
38
+ name: string;
39
+ description: string;
40
+ core: "web_search" | "x_twitter";
41
+ appearance: string;
42
+ }>;
27
43
  export declare const LocationConfigSchema: z.ZodObject<{
28
44
  name: z.ZodString;
29
45
  thumbnail: z.ZodOptional<z.ZodString>;
@@ -66,14 +82,30 @@ export declare const LocationConfigSchema: z.ZodObject<{
66
82
  description: string;
67
83
  maxLength: number;
68
84
  }>, "many">;
85
+ gimmicks: z.ZodArray<z.ZodObject<{
86
+ core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">]>;
87
+ name: z.ZodString;
88
+ description: z.ZodString;
89
+ appearance: z.ZodString;
90
+ }, "strip", z.ZodTypeAny, {
91
+ name: string;
92
+ description: string;
93
+ core: "web_search" | "x_twitter";
94
+ appearance: string;
95
+ }, {
96
+ name: string;
97
+ description: string;
98
+ core: "web_search" | "x_twitter";
99
+ appearance: string;
100
+ }>, "many">;
69
101
  }, "strip", z.ZodTypeAny, {
70
102
  name: string;
71
103
  description: string;
72
- environment: "CHAT" | "WEB_BROWSER";
73
104
  core: {
74
105
  name: "round_robin" | "update_forever" | "update_once";
75
106
  sequential?: boolean | undefined;
76
107
  };
108
+ environment: "CHAT" | "WEB_BROWSER";
77
109
  rules: string[];
78
110
  canvases: {
79
111
  name: string;
@@ -85,15 +117,21 @@ export declare const LocationConfigSchema: z.ZodObject<{
85
117
  description: string;
86
118
  maxLength: number;
87
119
  }[];
120
+ gimmicks: {
121
+ name: string;
122
+ description: string;
123
+ core: "web_search" | "x_twitter";
124
+ appearance: string;
125
+ }[];
88
126
  thumbnail?: string | undefined;
89
127
  }, {
90
128
  name: string;
91
129
  description: string;
92
- environment: "CHAT" | "WEB_BROWSER";
93
130
  core: {
94
131
  name: "round_robin" | "update_forever" | "update_once";
95
132
  sequential?: boolean | undefined;
96
133
  };
134
+ environment: "CHAT" | "WEB_BROWSER";
97
135
  rules: string[];
98
136
  canvases: {
99
137
  name: string;
@@ -105,6 +143,12 @@ export declare const LocationConfigSchema: z.ZodObject<{
105
143
  description: string;
106
144
  maxLength: number;
107
145
  }[];
146
+ gimmicks: {
147
+ name: string;
148
+ description: string;
149
+ core: "web_search" | "x_twitter";
150
+ appearance: string;
151
+ }[];
108
152
  thumbnail?: string | undefined;
109
153
  }>;
110
154
  export type LocationConfig = z.infer<typeof LocationConfigSchema>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LocationConfigSchema = exports.LocationConfigCanvasSchema = exports.LocationConfigCoreSchema = exports.LocationEnvironmentSchema = void 0;
3
+ exports.LocationConfigSchema = exports.LocationConfigGimmickSchema = 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([
@@ -25,9 +25,39 @@ exports.LocationConfigCanvasSchema = zod_1.z.object({
25
25
  name: zod_1.z
26
26
  .string()
27
27
  .max(16)
28
- .regex(/^[a-zA-Z_]+$/, 'Name must contain only letters and underscores'),
29
- description: zod_1.z.string().max(500),
30
- maxLength: zod_1.z.number().min(100).max(1000),
28
+ .regex(/^[a-zA-Z_]+$/, 'Name must contain only letters and underscores')
29
+ .describe('Unique identifier for the canvas that agents use to reference it'),
30
+ description: zod_1.z
31
+ .string()
32
+ .max(500)
33
+ .describe('Clear explanation of the canvas purpose and intended use for agents'),
34
+ maxLength: zod_1.z
35
+ .number()
36
+ .min(100)
37
+ .max(1000)
38
+ .describe('Maximum character limit for canvas content'),
39
+ });
40
+ exports.LocationConfigGimmickSchema = zod_1.z.object({
41
+ core: zod_1.z.union([
42
+ zod_1.z
43
+ .literal('web_search')
44
+ .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'),
45
+ zod_1.z
46
+ .literal('x_twitter')
47
+ .describe('Interacts with X (Twitter) platform for social media operations and content management'),
48
+ ]),
49
+ name: zod_1.z
50
+ .string()
51
+ .max(64)
52
+ .describe('Name of the gimmick that agents can reference'),
53
+ description: zod_1.z
54
+ .string()
55
+ .max(500)
56
+ .describe('Clear description of what the gimmick does, its purpose, and expected execution time for agents to understand'),
57
+ appearance: zod_1.z
58
+ .string()
59
+ .max(500)
60
+ .describe('How the gimmick appears to agents and users in the location context'),
31
61
  });
32
62
  exports.LocationConfigSchema = zod_1.z.object({
33
63
  name: zod_1.z.string().max(64).describe('Location name'),
@@ -54,5 +84,9 @@ exports.LocationConfigSchema = zod_1.z.object({
54
84
  .array(exports.LocationConfigCanvasSchema)
55
85
  .max(4)
56
86
  .describe('Private agent canvases for individual agent use, separate per location context'),
87
+ gimmicks: zod_1.z
88
+ .array(exports.LocationConfigGimmickSchema)
89
+ .max(4)
90
+ .describe('Interactive tools that agents can execute to perform specific tasks (e.g., web search, social media).'),
57
91
  });
58
92
  //# sourceMappingURL=location.config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"location.config.js","sourceRoot":"","sources":["../../../src/models/locations/location.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,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,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,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;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,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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E,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,CAAC,gEAAgE,CAAC;IAE7E,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.1.0-rv4",
3
+ "version": "0.1.0-rv5",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {