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

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.
@@ -6,11 +6,11 @@ export declare const AgentsPaginationQuerySchema: z.ZodObject<{
6
6
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7
7
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- limit: number;
10
9
  page: number;
10
+ limit: number;
11
11
  }, {
12
- limit?: number | undefined;
13
12
  page?: number | undefined;
13
+ limit?: number | undefined;
14
14
  }>;
15
15
  export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
16
16
  export interface AgentsPaginatedResponseDto {
@@ -223,12 +223,11 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
223
223
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
224
224
  }, "strict", z.ZodTypeAny, {
225
225
  name?: string | undefined;
226
+ avatar?: string | undefined;
227
+ appearance?: string | undefined;
226
228
  core?: {
227
229
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
228
230
  } | undefined;
229
- appearance?: string | undefined;
230
- rules?: string[] | undefined;
231
- avatar?: string | undefined;
232
231
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
233
232
  languages?: string[] | undefined;
234
233
  timeZone?: string | undefined;
@@ -290,14 +289,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
290
289
  mbti: z.ZodOptional<z.ZodString>;
291
290
  }, z.ZodOptional<z.ZodString>, "strip">>>;
292
291
  }, 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;
292
+ rules?: string[] | undefined;
293
293
  }, {
294
294
  name?: string | undefined;
295
+ avatar?: string | undefined;
296
+ appearance?: string | undefined;
295
297
  core?: {
296
298
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
297
299
  } | undefined;
298
- appearance?: string | undefined;
299
- rules?: string[] | undefined;
300
- avatar?: string | undefined;
301
300
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
302
301
  languages?: string[] | undefined;
303
302
  timeZone?: string | undefined;
@@ -359,17 +358,17 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
359
358
  mbti: z.ZodOptional<z.ZodString>;
360
359
  }, z.ZodOptional<z.ZodString>, "strip">>>;
361
360
  }, 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
+ rules?: string[] | undefined;
362
362
  }>;
363
363
  }, "strip", z.ZodTypeAny, {
364
364
  agentId: bigint;
365
365
  config: {
366
366
  name?: string | undefined;
367
+ avatar?: string | undefined;
368
+ appearance?: string | undefined;
367
369
  core?: {
368
370
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
369
371
  } | undefined;
370
- appearance?: string | undefined;
371
- rules?: string[] | undefined;
372
- avatar?: string | undefined;
373
372
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
374
373
  languages?: string[] | undefined;
375
374
  timeZone?: string | undefined;
@@ -431,17 +430,17 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
431
430
  mbti: z.ZodOptional<z.ZodString>;
432
431
  }, z.ZodOptional<z.ZodString>, "strip">>>;
433
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
+ rules?: string[] | undefined;
434
434
  };
435
435
  }, {
436
436
  agentId: bigint;
437
437
  config: {
438
438
  name?: string | undefined;
439
+ avatar?: string | undefined;
440
+ appearance?: string | undefined;
439
441
  core?: {
440
442
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
441
443
  } | undefined;
442
- appearance?: string | undefined;
443
- rules?: string[] | undefined;
444
- avatar?: string | undefined;
445
444
  llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
446
445
  languages?: string[] | undefined;
447
446
  timeZone?: string | undefined;
@@ -503,6 +502,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
503
502
  mbti: z.ZodOptional<z.ZodString>;
504
503
  }, z.ZodOptional<z.ZodString>, "strip">>>;
505
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
+ rules?: string[] | undefined;
506
506
  };
507
507
  }>;
508
508
  export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
@@ -511,11 +511,11 @@ export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
511
511
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
512
512
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
513
513
  }, "strip", z.ZodTypeAny, {
514
- limit: number;
515
514
  page: number;
515
+ limit: number;
516
516
  }, {
517
- limit?: number | undefined;
518
517
  page?: number | undefined;
518
+ limit?: number | undefined;
519
519
  }>;
520
520
  export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
521
521
  export interface AgentPresetsPaginatedResponseDto {
@@ -10,8 +10,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
10
10
  limit: number;
11
11
  cursor?: string | undefined;
12
12
  }, {
13
- cursor?: string | undefined;
14
13
  limit?: number | undefined;
14
+ cursor?: string | undefined;
15
15
  }>;
16
16
  export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
17
17
  export interface UserLocationsResponseDto {
@@ -102,11 +102,11 @@ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
102
102
  locationId: z.ZodBigInt;
103
103
  agentId: z.ZodBigInt;
104
104
  }, "strip", z.ZodTypeAny, {
105
- locationId: bigint;
106
105
  agentId: bigint;
107
- }, {
108
106
  locationId: bigint;
107
+ }, {
109
108
  agentId: bigint;
109
+ locationId: bigint;
110
110
  }>;
111
111
  export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
112
112
  export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
@@ -133,11 +133,11 @@ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
133
133
  locationId: z.ZodBigInt;
134
134
  agentId: z.ZodBigInt;
135
135
  }, "strip", z.ZodTypeAny, {
136
- locationId: bigint;
137
136
  agentId: bigint;
138
- }, {
139
137
  locationId: bigint;
138
+ }, {
140
139
  agentId: bigint;
140
+ locationId: bigint;
141
141
  }>;
142
142
  export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
143
143
  export interface LocationMessagesResponseDto {
@@ -148,11 +148,11 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
148
148
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
149
149
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
150
150
  }, "strip", z.ZodTypeAny, {
151
- limit: number;
152
151
  page: number;
152
+ limit: number;
153
153
  }, {
154
- limit?: number | undefined;
155
154
  page?: number | undefined;
155
+ limit?: number | undefined;
156
156
  }>;
157
157
  export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
158
158
  export interface LocationPresetsPaginatedResponseDto {
@@ -226,25 +226,25 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
226
226
  appearance: z.ZodString;
227
227
  }, "strip", z.ZodTypeAny, {
228
228
  name: string;
229
- core: "web_search" | "x_twitter";
230
229
  description: string;
231
230
  appearance: string;
231
+ core: "web_search" | "x_twitter";
232
232
  }, {
233
233
  name: string;
234
- core: "web_search" | "x_twitter";
235
234
  description: string;
236
235
  appearance: string;
236
+ core: "web_search" | "x_twitter";
237
237
  }>, "many">>;
238
238
  }, "strict", z.ZodTypeAny, {
239
239
  name?: string | undefined;
240
- thumbnail?: string | undefined;
241
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
240
+ description?: string | undefined;
242
241
  core?: {
243
242
  name: "round_robin" | "update_forever" | "update_once";
244
243
  sequential?: boolean | undefined;
245
244
  } | undefined;
246
- description?: string | undefined;
247
245
  rules?: string[] | undefined;
246
+ thumbnail?: string | undefined;
247
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
248
248
  canvases?: {
249
249
  name: string;
250
250
  description: string;
@@ -257,20 +257,20 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
257
257
  }[] | undefined;
258
258
  gimmicks?: {
259
259
  name: string;
260
- core: "web_search" | "x_twitter";
261
260
  description: string;
262
261
  appearance: string;
262
+ core: "web_search" | "x_twitter";
263
263
  }[] | undefined;
264
264
  }, {
265
265
  name?: string | undefined;
266
- thumbnail?: string | undefined;
267
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
266
+ description?: string | undefined;
268
267
  core?: {
269
268
  name: "round_robin" | "update_forever" | "update_once";
270
269
  sequential?: boolean | undefined;
271
270
  } | undefined;
272
- description?: string | undefined;
273
271
  rules?: string[] | undefined;
272
+ thumbnail?: string | undefined;
273
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
274
274
  canvases?: {
275
275
  name: string;
276
276
  description: string;
@@ -283,23 +283,22 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
283
283
  }[] | undefined;
284
284
  gimmicks?: {
285
285
  name: string;
286
- core: "web_search" | "x_twitter";
287
286
  description: string;
288
287
  appearance: string;
288
+ core: "web_search" | "x_twitter";
289
289
  }[] | undefined;
290
290
  }>;
291
291
  }, "strip", z.ZodTypeAny, {
292
- locationId: bigint;
293
292
  config: {
294
293
  name?: string | undefined;
295
- thumbnail?: string | undefined;
296
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
294
+ description?: string | undefined;
297
295
  core?: {
298
296
  name: "round_robin" | "update_forever" | "update_once";
299
297
  sequential?: boolean | undefined;
300
298
  } | undefined;
301
- description?: string | undefined;
302
299
  rules?: string[] | undefined;
300
+ thumbnail?: string | undefined;
301
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
303
302
  canvases?: {
304
303
  name: string;
305
304
  description: string;
@@ -312,23 +311,23 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
312
311
  }[] | undefined;
313
312
  gimmicks?: {
314
313
  name: string;
315
- core: "web_search" | "x_twitter";
316
314
  description: string;
317
315
  appearance: string;
316
+ core: "web_search" | "x_twitter";
318
317
  }[] | undefined;
319
318
  };
320
- }, {
321
319
  locationId: bigint;
320
+ }, {
322
321
  config: {
323
322
  name?: string | undefined;
324
- thumbnail?: string | undefined;
325
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
323
+ description?: string | undefined;
326
324
  core?: {
327
325
  name: "round_robin" | "update_forever" | "update_once";
328
326
  sequential?: boolean | undefined;
329
327
  } | undefined;
330
- description?: string | undefined;
331
328
  rules?: string[] | undefined;
329
+ thumbnail?: string | undefined;
330
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
332
331
  canvases?: {
333
332
  name: string;
334
333
  description: string;
@@ -341,11 +340,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
341
340
  }[] | undefined;
342
341
  gimmicks?: {
343
342
  name: string;
344
- core: "web_search" | "x_twitter";
345
343
  description: string;
346
344
  appearance: string;
345
+ core: "web_search" | "x_twitter";
347
346
  }[] | undefined;
348
347
  };
348
+ locationId: bigint;
349
349
  }>;
350
350
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
351
351
  export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.1.0-rv9",
3
+ "version": "0.1.1-rv1",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -62,7 +62,7 @@
62
62
  "devDependencies": {
63
63
  "@eslint/eslintrc": "^3.1.0",
64
64
  "@eslint/js": "^9.13.0",
65
- "@little-samo/samo-ai": "^0.1.0",
65
+ "@little-samo/samo-ai": "^0.1.1-rv1",
66
66
  "@types/lodash": "^4",
67
67
  "@types/node": "^20.3.1",
68
68
  "@typescript-eslint/eslint-plugin": "^8.0.0",
@@ -84,7 +84,7 @@
84
84
  "zod": "^3.24.1"
85
85
  },
86
86
  "peerDependencies": {
87
- "@little-samo/samo-ai": "^0.1.0",
87
+ "@little-samo/samo-ai": "^0.1.1-rv1",
88
88
  "class-transformer": "^0.5.1",
89
89
  "class-validator": "^0.14.2",
90
90
  "zod": "^3.24.1"