@little-samo/samo-ai-sdk 0.1.0-rv9 → 0.1.0

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.
Files changed (44) hide show
  1. package/README.md +123 -11
  2. package/dist/dto/entities/agents/agent.d.ts +6 -4
  3. package/dist/dto/entities/agents/agent.preset.d.ts +1 -1
  4. package/dist/dto/entities/agents/agent.requests.d.ts +18 -34
  5. package/dist/dto/entities/agents/agent.requests.js +4 -14
  6. package/dist/dto/entities/agents/agent.requests.js.map +1 -1
  7. package/dist/dto/entities/index.d.ts +1 -0
  8. package/dist/dto/entities/index.js +1 -0
  9. package/dist/dto/entities/index.js.map +1 -1
  10. package/dist/dto/entities/users/index.d.ts +0 -1
  11. package/dist/dto/entities/users/index.js +0 -1
  12. package/dist/dto/entities/users/index.js.map +1 -1
  13. package/dist/dto/entities/users/user.d.ts +4 -0
  14. package/dist/dto/items/item.rankings.d.ts +3 -3
  15. package/dist/dto/locations/index.d.ts +1 -1
  16. package/dist/dto/locations/index.js +1 -1
  17. package/dist/dto/locations/index.js.map +1 -1
  18. package/dist/dto/locations/location.d.ts +16 -18
  19. package/dist/dto/locations/location.events.d.ts +10 -17
  20. package/dist/dto/locations/location.events.js +0 -1
  21. package/dist/dto/locations/location.events.js.map +1 -1
  22. package/dist/dto/locations/location.messages.d.ts +1 -2
  23. package/dist/dto/locations/location.messages.js +0 -15
  24. package/dist/dto/locations/location.messages.js.map +1 -1
  25. package/dist/dto/locations/location.preset.d.ts +1 -1
  26. package/dist/dto/locations/location.requests.d.ts +37 -207
  27. package/dist/dto/locations/location.requests.js +11 -61
  28. package/dist/dto/locations/location.requests.js.map +1 -1
  29. package/dist/models/locations/location.config.d.ts +3 -47
  30. package/dist/models/locations/location.config.js +21 -38
  31. package/dist/models/locations/location.config.js.map +1 -1
  32. package/dist/models/locations/location.constants.d.ts +0 -8
  33. package/dist/models/locations/location.constants.js +1 -8
  34. package/dist/models/locations/location.constants.js.map +1 -1
  35. package/package.json +1 -1
  36. package/dist/dto/entities/users/user.requests.d.ts +0 -13
  37. package/dist/dto/entities/users/user.requests.js +0 -13
  38. package/dist/dto/entities/users/user.requests.js.map +0 -1
  39. package/dist/dto/locations/location.message.d.ts +0 -13
  40. package/dist/dto/locations/location.message.js +0 -3
  41. package/dist/dto/locations/location.message.js.map +0 -1
  42. package/dist/index.d.ts +0 -2
  43. package/dist/index.js +0 -19
  44. package/dist/index.js.map +0 -1
@@ -1,145 +1,27 @@
1
1
  import { z } from 'zod';
2
- import { LocationConfig } from '../../models/locations/location.config';
3
- import { LocationListItemDto, LocationPrivateDto } from './location';
4
- import { LocationMessageDto } from './location.message';
2
+ import { LocationBasicDto } from './location';
3
+ import { LocationMessageDto } from './location.messages';
5
4
  import { LocationPresetDto } from './location.preset';
6
- export declare const UserLocationsQuerySchema: z.ZodObject<{
7
- cursor: z.ZodOptional<z.ZodString>;
8
- limit: z.ZodDefault<z.ZodNumber>;
5
+ export declare const LocationsPaginationQuerySchema: z.ZodObject<{
6
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9
8
  }, "strip", z.ZodTypeAny, {
9
+ page: number;
10
10
  limit: number;
11
- cursor?: string | undefined;
12
11
  }, {
13
- cursor?: string | undefined;
12
+ page?: number | undefined;
14
13
  limit?: number | undefined;
15
14
  }>;
16
- export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
17
- export interface UserLocationsResponseDto {
18
- locations: LocationListItemDto[];
15
+ export type LocationsPaginationQueryDto = z.infer<typeof LocationsPaginationQuerySchema>;
16
+ export interface LocationsPaginatedResponseDto {
17
+ data: LocationBasicDto[];
19
18
  meta: {
20
19
  total: number;
21
- nextCursor?: string;
20
+ page: number;
21
+ limit: number;
22
+ totalPages: number;
22
23
  };
23
24
  }
24
- export declare const GetLocationParamsSchema: z.ZodObject<{
25
- locationId: z.ZodEffects<z.ZodString, bigint, string>;
26
- }, "strip", z.ZodTypeAny, {
27
- locationId: bigint;
28
- }, {
29
- locationId: string;
30
- }>;
31
- export type GetLocationParamsDto = z.infer<typeof GetLocationParamsSchema>;
32
- export interface GetLocationResponseDto {
33
- location: LocationListItemDto;
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
- }
46
- export declare const MarkLocationAsReadParamsSchema: z.ZodObject<{
47
- locationId: z.ZodEffects<z.ZodString, bigint, string>;
48
- }, "strip", z.ZodTypeAny, {
49
- locationId: bigint;
50
- }, {
51
- locationId: string;
52
- }>;
53
- export type MarkLocationAsReadParamsDto = z.infer<typeof MarkLocationAsReadParamsSchema>;
54
- export declare const LocationUnreadCountParamsSchema: z.ZodObject<{
55
- locationId: z.ZodEffects<z.ZodString, bigint, string>;
56
- }, "strip", z.ZodTypeAny, {
57
- locationId: bigint;
58
- }, {
59
- locationId: string;
60
- }>;
61
- export type LocationUnreadCountParamsDto = z.infer<typeof LocationUnreadCountParamsSchema>;
62
- export interface LocationUnreadCountResponseDto {
63
- unreadCount: number;
64
- }
65
- export declare const LocationsUnreadCountQuerySchema: z.ZodObject<{
66
- locationIds: z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>;
67
- }, "strip", z.ZodTypeAny, {
68
- locationIds: bigint[];
69
- }, {
70
- locationIds: string;
71
- }>;
72
- export type LocationsUnreadCountQueryDto = z.infer<typeof LocationsUnreadCountQuerySchema>;
73
- export interface LocationUnreadCountItemDto {
74
- locationId: bigint;
75
- unreadCount: number;
76
- lastMessage: LocationMessageDto | null;
77
- }
78
- export interface LocationsUnreadCountResponseDto {
79
- data: LocationUnreadCountItemDto[];
80
- }
81
- export declare const JoinAgentToLocationParamsSchema: z.ZodObject<{
82
- locationId: z.ZodEffects<z.ZodString, bigint, string>;
83
- }, "strip", z.ZodTypeAny, {
84
- locationId: bigint;
85
- }, {
86
- locationId: string;
87
- }>;
88
- export type JoinAgentToLocationParamsDto = z.infer<typeof JoinAgentToLocationParamsSchema>;
89
- export declare const JoinAgentToLocationBodySchema: z.ZodObject<{
90
- agentId: z.ZodBigInt;
91
- }, "strip", z.ZodTypeAny, {
92
- agentId: bigint;
93
- }, {
94
- agentId: bigint;
95
- }>;
96
- export type JoinAgentToLocationBodyDto = z.infer<typeof JoinAgentToLocationBodySchema>;
97
- export interface JoinAgentToLocationResponseDto {
98
- agentAdded: boolean;
99
- message?: string;
100
- }
101
- export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
102
- locationId: z.ZodBigInt;
103
- agentId: z.ZodBigInt;
104
- }, "strip", z.ZodTypeAny, {
105
- locationId: bigint;
106
- agentId: bigint;
107
- }, {
108
- locationId: bigint;
109
- agentId: bigint;
110
- }>;
111
- export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
112
- export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
113
- locationId: z.ZodEffects<z.ZodString, bigint, string>;
114
- }, "strip", z.ZodTypeAny, {
115
- locationId: bigint;
116
- }, {
117
- locationId: string;
118
- }>;
119
- export type RemoveAgentFromLocationParamsDto = z.infer<typeof RemoveAgentFromLocationParamsSchema>;
120
- export declare const RemoveAgentFromLocationBodySchema: z.ZodObject<{
121
- agentId: z.ZodBigInt;
122
- }, "strip", z.ZodTypeAny, {
123
- agentId: bigint;
124
- }, {
125
- agentId: bigint;
126
- }>;
127
- export type RemoveAgentFromLocationBodyDto = z.infer<typeof RemoveAgentFromLocationBodySchema>;
128
- export interface RemoveAgentFromLocationResponseDto {
129
- agentRemoved: boolean;
130
- message?: string;
131
- }
132
- export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
133
- locationId: z.ZodBigInt;
134
- agentId: z.ZodBigInt;
135
- }, "strip", z.ZodTypeAny, {
136
- locationId: bigint;
137
- agentId: bigint;
138
- }, {
139
- locationId: bigint;
140
- agentId: bigint;
141
- }>;
142
- export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
143
25
  export interface LocationMessagesResponseDto {
144
26
  messages: LocationMessageDto[];
145
27
  cursor?: string;
@@ -148,11 +30,11 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
148
30
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
149
31
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
150
32
  }, "strip", z.ZodTypeAny, {
151
- limit: number;
152
33
  page: number;
34
+ limit: number;
153
35
  }, {
154
- limit?: number | undefined;
155
36
  page?: number | undefined;
37
+ limit?: number | undefined;
156
38
  }>;
157
39
  export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
158
40
  export interface LocationPresetsPaginatedResponseDto {
@@ -173,7 +55,7 @@ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
173
55
  }>;
174
56
  export type CreateLocationFromPresetDto = z.infer<typeof CreateLocationFromPresetSchema>;
175
57
  export interface CreateLocationFromPresetResponseDto {
176
- location: LocationPrivateDto;
58
+ location: LocationBasicDto;
177
59
  }
178
60
  export declare const LocationUpdateConfigSchema: z.ZodObject<{
179
61
  locationId: z.ZodBigInt;
@@ -219,32 +101,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
219
101
  description: string;
220
102
  maxLength: number;
221
103
  }>, "many">>;
222
- gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
223
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">]>;
224
- name: z.ZodString;
225
- description: z.ZodString;
226
- appearance: z.ZodString;
227
- }, "strip", z.ZodTypeAny, {
228
- name: string;
229
- core: "web_search" | "x_twitter";
230
- description: string;
231
- appearance: string;
232
- }, {
233
- name: string;
234
- core: "web_search" | "x_twitter";
235
- description: string;
236
- appearance: string;
237
- }>, "many">>;
238
- }, "strict", z.ZodTypeAny, {
104
+ }, "strip", z.ZodTypeAny, {
239
105
  name?: string | undefined;
240
- thumbnail?: string | undefined;
241
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
106
+ description?: string | undefined;
242
107
  core?: {
243
108
  name: "round_robin" | "update_forever" | "update_once";
244
109
  sequential?: boolean | undefined;
245
110
  } | undefined;
246
- description?: string | undefined;
247
111
  rules?: string[] | undefined;
112
+ thumbnail?: string | undefined;
113
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
248
114
  canvases?: {
249
115
  name: string;
250
116
  description: string;
@@ -255,22 +121,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
255
121
  description: string;
256
122
  maxLength: number;
257
123
  }[] | undefined;
258
- gimmicks?: {
259
- name: string;
260
- core: "web_search" | "x_twitter";
261
- description: string;
262
- appearance: string;
263
- }[] | undefined;
264
124
  }, {
265
125
  name?: string | undefined;
266
- thumbnail?: string | undefined;
267
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
126
+ description?: string | undefined;
268
127
  core?: {
269
128
  name: "round_robin" | "update_forever" | "update_once";
270
129
  sequential?: boolean | undefined;
271
130
  } | undefined;
272
- description?: string | undefined;
273
131
  rules?: string[] | undefined;
132
+ thumbnail?: string | undefined;
133
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
274
134
  canvases?: {
275
135
  name: string;
276
136
  description: string;
@@ -281,25 +141,18 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
281
141
  description: string;
282
142
  maxLength: number;
283
143
  }[] | undefined;
284
- gimmicks?: {
285
- name: string;
286
- core: "web_search" | "x_twitter";
287
- description: string;
288
- appearance: string;
289
- }[] | undefined;
290
144
  }>;
291
145
  }, "strip", z.ZodTypeAny, {
292
- locationId: bigint;
293
146
  config: {
294
147
  name?: string | undefined;
295
- thumbnail?: string | undefined;
296
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
148
+ description?: string | undefined;
297
149
  core?: {
298
150
  name: "round_robin" | "update_forever" | "update_once";
299
151
  sequential?: boolean | undefined;
300
152
  } | undefined;
301
- description?: string | undefined;
302
153
  rules?: string[] | undefined;
154
+ thumbnail?: string | undefined;
155
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
303
156
  canvases?: {
304
157
  name: string;
305
158
  description: string;
@@ -310,25 +163,19 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
310
163
  description: string;
311
164
  maxLength: number;
312
165
  }[] | undefined;
313
- gimmicks?: {
314
- name: string;
315
- core: "web_search" | "x_twitter";
316
- description: string;
317
- appearance: string;
318
- }[] | undefined;
319
166
  };
320
- }, {
321
167
  locationId: bigint;
168
+ }, {
322
169
  config: {
323
170
  name?: string | undefined;
324
- thumbnail?: string | undefined;
325
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
171
+ description?: string | undefined;
326
172
  core?: {
327
173
  name: "round_robin" | "update_forever" | "update_once";
328
174
  sequential?: boolean | undefined;
329
175
  } | undefined;
330
- description?: string | undefined;
331
176
  rules?: string[] | undefined;
177
+ thumbnail?: string | undefined;
178
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
332
179
  canvases?: {
333
180
  name: string;
334
181
  description: string;
@@ -339,46 +186,29 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
339
186
  description: string;
340
187
  maxLength: number;
341
188
  }[] | undefined;
342
- gimmicks?: {
343
- name: string;
344
- core: "web_search" | "x_twitter";
345
- description: string;
346
- appearance: string;
347
- }[] | undefined;
348
189
  };
190
+ locationId: bigint;
349
191
  }>;
350
192
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
351
- export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
352
- export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
193
+ export declare const GetAgentHelperLocationSchema: z.ZodObject<{
353
194
  agentId: z.ZodBigInt;
354
195
  }, "strip", z.ZodTypeAny, {
355
196
  agentId: bigint;
356
197
  }, {
357
198
  agentId: bigint;
358
199
  }>;
359
- export type GetAgentHelperLocationDto = z.infer<typeof GetAgentHelperLocationQuerySchema>;
200
+ export type GetAgentHelperLocationDto = z.infer<typeof GetAgentHelperLocationSchema>;
360
201
  export interface GetAgentHelperLocationResponseDto {
361
- location: LocationPrivateDto;
202
+ location: LocationBasicDto;
362
203
  }
363
- export declare const GetLocationHelperLocationQuerySchema: z.ZodObject<{
204
+ export declare const GetLocationHelperLocationSchema: z.ZodObject<{
364
205
  locationId: z.ZodBigInt;
365
206
  }, "strip", z.ZodTypeAny, {
366
207
  locationId: bigint;
367
208
  }, {
368
209
  locationId: bigint;
369
210
  }>;
370
- export type GetLocationHelperLocationDto = z.infer<typeof GetLocationHelperLocationQuerySchema>;
211
+ export type GetLocationHelperLocationDto = z.infer<typeof GetLocationHelperLocationSchema>;
371
212
  export interface GetLocationHelperLocationResponseDto {
372
- location: LocationPrivateDto;
373
- }
374
- export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
375
- agentId: z.ZodBigInt;
376
- }, "strip", z.ZodTypeAny, {
377
- agentId: bigint;
378
- }, {
379
- agentId: bigint;
380
- }>;
381
- export type GetAgentDmLocationDto = z.infer<typeof GetAgentDmLocationQuerySchema>;
382
- export interface GetAgentDmLocationResponseDto {
383
- location: LocationPrivateDto;
213
+ location: LocationBasicDto;
384
214
  }
@@ -1,77 +1,27 @@
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.RemoveAgentFromLocationToolSchema = exports.RemoveAgentFromLocationBodySchema = exports.RemoveAgentFromLocationParamsSchema = exports.JoinAgentToLocationToolSchema = exports.JoinAgentToLocationBodySchema = exports.JoinAgentToLocationParamsSchema = exports.LocationsUnreadCountQuerySchema = exports.LocationUnreadCountParamsSchema = exports.MarkLocationAsReadParamsSchema = exports.GetLocationPrivateParamsSchema = exports.GetLocationParamsSchema = exports.UserLocationsQuerySchema = void 0;
3
+ exports.GetLocationHelperLocationSchema = exports.GetAgentHelperLocationSchema = exports.LocationUpdateConfigSchema = exports.CreateLocationFromPresetSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationsPaginationQuerySchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const location_config_1 = require("../../models/locations/location.config");
6
- exports.UserLocationsQuerySchema = zod_1.z.object({
7
- cursor: zod_1.z.string().optional().describe('Pagination cursor for next page'),
8
- limit: zod_1.z.coerce
9
- .number()
10
- .min(1)
11
- .max(10)
12
- .default(10)
13
- .describe('Number of locations to return'),
14
- });
15
- exports.GetLocationParamsSchema = zod_1.z.object({
16
- locationId: zod_1.z.string().transform((val) => BigInt(val)),
17
- });
18
- exports.GetLocationPrivateParamsSchema = zod_1.z.object({
19
- locationId: zod_1.z.string().transform((val) => BigInt(val)),
20
- });
21
- exports.MarkLocationAsReadParamsSchema = zod_1.z.object({
22
- locationId: zod_1.z.string().transform((val) => BigInt(val)),
23
- });
24
- exports.LocationUnreadCountParamsSchema = zod_1.z.object({
25
- locationId: zod_1.z.string().transform((val) => BigInt(val)),
26
- });
27
- exports.LocationsUnreadCountQuerySchema = zod_1.z.object({
28
- locationIds: zod_1.z
29
- .string()
30
- .transform((val) => val.split(',').map((id) => BigInt(id.trim())))
31
- .refine((arr) => arr.length > 0 && arr.length <= 10, {
32
- message: 'locationIds must contain 1-10 location IDs',
33
- }),
34
- });
35
- exports.JoinAgentToLocationParamsSchema = zod_1.z.object({
36
- locationId: zod_1.z.string().transform((val) => BigInt(val)),
37
- });
38
- exports.JoinAgentToLocationBodySchema = zod_1.z.object({
39
- agentId: zod_1.z.coerce.bigint(),
40
- });
41
- exports.JoinAgentToLocationToolSchema = zod_1.z.object({
42
- locationId: zod_1.z.coerce.bigint(),
43
- agentId: zod_1.z.coerce.bigint(),
44
- });
45
- exports.RemoveAgentFromLocationParamsSchema = zod_1.z.object({
46
- locationId: zod_1.z.string().transform((val) => BigInt(val)),
47
- });
48
- exports.RemoveAgentFromLocationBodySchema = zod_1.z.object({
49
- agentId: zod_1.z.coerce.bigint(),
50
- });
51
- exports.RemoveAgentFromLocationToolSchema = zod_1.z.object({
52
- locationId: zod_1.z.coerce.bigint(),
53
- agentId: zod_1.z.coerce.bigint(),
6
+ exports.LocationsPaginationQuerySchema = zod_1.z.object({
7
+ page: zod_1.z.coerce.number().int().min(1).optional().default(1),
8
+ limit: zod_1.z.coerce.number().int().min(1).max(100).optional().default(10),
54
9
  });
55
10
  exports.LocationPresetsPaginationQuerySchema = zod_1.z.object({
56
11
  page: zod_1.z.coerce.number().int().min(1).optional().default(1),
57
12
  limit: zod_1.z.coerce.number().int().min(1).max(100).optional().default(20),
58
13
  });
59
14
  exports.CreateLocationFromPresetSchema = zod_1.z.object({
60
- presetId: zod_1.z.coerce.bigint(),
15
+ presetId: zod_1.z.bigint(),
61
16
  });
62
17
  exports.LocationUpdateConfigSchema = zod_1.z.object({
63
- locationId: zod_1.z.coerce.bigint().describe('ID of the location to update'),
64
- config: location_config_1.LocationConfigSchema.partial()
65
- .strict()
66
- .describe('Only the specific configuration fields that need to be updated (name, environment, core, description, etc.)'),
67
- });
68
- exports.GetAgentHelperLocationQuerySchema = zod_1.z.object({
69
- agentId: zod_1.z.coerce.bigint(),
18
+ locationId: zod_1.z.bigint(),
19
+ config: location_config_1.LocationConfigSchema.partial(),
70
20
  });
71
- exports.GetLocationHelperLocationQuerySchema = zod_1.z.object({
72
- locationId: zod_1.z.coerce.bigint(),
21
+ exports.GetAgentHelperLocationSchema = zod_1.z.object({
22
+ agentId: zod_1.z.bigint(),
73
23
  });
74
- exports.GetAgentDmLocationQuerySchema = zod_1.z.object({
75
- agentId: zod_1.z.coerce.bigint(),
24
+ exports.GetLocationHelperLocationSchema = zod_1.z.object({
25
+ locationId: zod_1.z.bigint(),
76
26
  });
77
27
  //# sourceMappingURL=location.requests.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,4EAGgD;AAOnC,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,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;CACvD,CAAC,CAAC;AASU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;CACvD,CAAC,CAAC;AAWU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;CACvD,CAAC,CAAC;AAOU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC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CAAC,CAAC;AAUU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,MAAM,EAAE,sCAAoB,CAAC,OAAO,EAAE;CACvC,CAAC,CAAC;AAMU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAUU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC"}
@@ -24,23 +24,6 @@ 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
- }>;
43
- export type LocationConfigGimmick = z.infer<typeof LocationConfigGimmickSchema>;
44
27
  export declare const LocationConfigSchema: z.ZodObject<{
45
28
  name: z.ZodString;
46
29
  thumbnail: z.ZodOptional<z.ZodString>;
@@ -83,22 +66,6 @@ export declare const LocationConfigSchema: z.ZodObject<{
83
66
  description: string;
84
67
  maxLength: number;
85
68
  }>, "many">;
86
- gimmicks: z.ZodArray<z.ZodObject<{
87
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">]>;
88
- name: z.ZodString;
89
- description: z.ZodString;
90
- appearance: z.ZodString;
91
- }, "strip", z.ZodTypeAny, {
92
- name: string;
93
- description: string;
94
- core: "web_search" | "x_twitter";
95
- appearance: string;
96
- }, {
97
- name: string;
98
- description: string;
99
- core: "web_search" | "x_twitter";
100
- appearance: string;
101
- }>, "many">;
102
69
  }, "strip", z.ZodTypeAny, {
103
70
  name: string;
104
71
  description: string;
@@ -106,8 +73,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
106
73
  name: "round_robin" | "update_forever" | "update_once";
107
74
  sequential?: boolean | undefined;
108
75
  };
109
- environment: "CHAT" | "WEB_BROWSER";
110
76
  rules: string[];
77
+ environment: "CHAT" | "WEB_BROWSER";
111
78
  canvases: {
112
79
  name: string;
113
80
  description: string;
@@ -118,12 +85,6 @@ export declare const LocationConfigSchema: z.ZodObject<{
118
85
  description: string;
119
86
  maxLength: number;
120
87
  }[];
121
- gimmicks: {
122
- name: string;
123
- description: string;
124
- core: "web_search" | "x_twitter";
125
- appearance: string;
126
- }[];
127
88
  thumbnail?: string | undefined;
128
89
  }, {
129
90
  name: string;
@@ -132,8 +93,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
132
93
  name: "round_robin" | "update_forever" | "update_once";
133
94
  sequential?: boolean | undefined;
134
95
  };
135
- environment: "CHAT" | "WEB_BROWSER";
136
96
  rules: string[];
97
+ environment: "CHAT" | "WEB_BROWSER";
137
98
  canvases: {
138
99
  name: string;
139
100
  description: string;
@@ -144,12 +105,7 @@ export declare const LocationConfigSchema: z.ZodObject<{
144
105
  description: string;
145
106
  maxLength: number;
146
107
  }[];
147
- gimmicks: {
148
- name: string;
149
- description: string;
150
- core: "web_search" | "x_twitter";
151
- appearance: string;
152
- }[];
153
108
  thumbnail?: string | undefined;
154
109
  }>;
155
110
  export type LocationConfig = z.infer<typeof LocationConfigSchema>;
111
+ export declare const DEFAULT_LOCATION_CONFIG: LocationConfig;
@@ -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.DEFAULT_LOCATION_CONFIG = exports.LocationConfigSchema = 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,39 +25,9 @@ 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
- .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'),
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),
61
31
  });
62
32
  exports.LocationConfigSchema = zod_1.z.object({
63
33
  name: zod_1.z.string().max(64).describe('Location name'),
@@ -84,9 +54,22 @@ exports.LocationConfigSchema = zod_1.z.object({
84
54
  .array(exports.LocationConfigCanvasSchema)
85
55
  .max(4)
86
56
  .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).'),
91
57
  });
58
+ exports.DEFAULT_LOCATION_CONFIG = {
59
+ name: 'Empty Location',
60
+ environment: location_constants_1.LocationEnvironment.CHAT,
61
+ core: {
62
+ name: 'round_robin',
63
+ },
64
+ description: '',
65
+ rules: [],
66
+ canvases: [],
67
+ agentCanvases: [
68
+ {
69
+ name: 'plan',
70
+ description: 'Your private workspace for strategic thinking and task management. **Use this canvas CONSISTENTLY for any task requiring multiple steps, long-term tracking, or persistent information.** Break down complex goals into actionable steps (Plan-Do-Check-Act cycle recommended: 1. Outline steps, 2. Execute first step(s), 3. Check progress/results, 4. Adjust plan). Draft sequences of actions, list required resources, track progress, and refine strategies here before using tools. Keep it updated and organized to ensure effective execution.',
71
+ maxLength: 1000,
72
+ },
73
+ ],
74
+ };
92
75
  //# 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,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,gBAAg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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,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"}
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,OA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E;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;CACJ,CAAC,CAAC;AAIU,QAAA,uBAAuB,GAAmB;IACrD,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,wCAAmB,CAAC,IAAI;IAErC,IAAI,EAAE;QACJ,IAAI,EAAE,aAAa;KACpB;IACD,WAAW,EAAE,EAAE;IAEf,KAAK,EAAE,EAAE;IAET,QAAQ,EAAE,EAAE;IACZ,aAAa,EAAE;QACb;YACE,IAAI,EAAE,MAAM;YACZ,WAAW,EACT,yhBAAyhB;YAC3hB,SAAS,EAAE,IAAI;SAChB;KACF;CACF,CAAC"}
@@ -1,15 +1,7 @@
1
- export declare const LocationType: {
2
- readonly PRIVATE: "PRIVATE";
3
- readonly GROUP: "GROUP";
4
- readonly PUBLIC: "PUBLIC";
5
- readonly SYSTEM: "SYSTEM";
6
- };
7
- export type LocationType = (typeof LocationType)[keyof typeof LocationType];
8
1
  export declare const LocationEnvironment: {
9
2
  readonly CHAT: "CHAT";
10
3
  readonly AGENT_HELPER: "AGENT_HELPER";
11
4
  readonly LOCATION_HELPER: "LOCATION_HELPER";
12
- readonly AGENT_DM: "AGENT_DM";
13
5
  readonly WEB_BROWSER: "WEB_BROWSER";
14
6
  readonly VIDEO_GAME: "VIDEO_GAME";
15
7
  };