@little-samo/samo-ai-sdk 0.1.4-rv6 → 0.1.5-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.
- package/dist/dto/entities/agents/agent.requests.d.ts +24 -24
- package/dist/dto/entities/gimmicks/gimmick.config.d.ts +8 -0
- package/dist/dto/entities/gimmicks/gimmick.config.js +11 -0
- package/dist/dto/entities/gimmicks/gimmick.config.js.map +1 -0
- package/dist/dto/entities/gimmicks/gimmick.d.ts +9 -1
- package/dist/dto/entities/gimmicks/index.d.ts +1 -0
- package/dist/dto/entities/gimmicks/index.js +1 -0
- package/dist/dto/entities/gimmicks/index.js.map +1 -1
- package/dist/dto/locations/location.d.ts +7 -4
- package/dist/dto/locations/location.requests.d.ts +91 -34
- package/dist/dto/locations/location.requests.js +2 -1
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/dist/models/locations/location.config.d.ts +64 -23
- package/dist/models/locations/location.config.js +18 -19
- package/dist/models/locations/location.config.js.map +1 -1
- package/package.json +3 -3
|
@@ -146,11 +146,12 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
146
146
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
147
147
|
}, "strict", z.ZodTypeAny, {
|
|
148
148
|
name?: string | undefined;
|
|
149
|
-
avatar?: string | undefined;
|
|
150
|
-
appearance?: string | undefined;
|
|
151
149
|
core?: {
|
|
152
150
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
153
151
|
} | undefined;
|
|
152
|
+
appearance?: string | undefined;
|
|
153
|
+
rules?: string[] | undefined;
|
|
154
|
+
avatar?: string | undefined;
|
|
154
155
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
|
|
155
156
|
languages?: string[] | undefined;
|
|
156
157
|
timeZone?: string | undefined;
|
|
@@ -176,14 +177,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
176
177
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
177
178
|
} | undefined;
|
|
178
179
|
} | undefined;
|
|
179
|
-
rules?: string[] | undefined;
|
|
180
180
|
}, {
|
|
181
181
|
name?: string | undefined;
|
|
182
|
-
avatar?: string | undefined;
|
|
183
|
-
appearance?: string | undefined;
|
|
184
182
|
core?: {
|
|
185
183
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
186
184
|
} | undefined;
|
|
185
|
+
appearance?: string | undefined;
|
|
186
|
+
rules?: string[] | undefined;
|
|
187
|
+
avatar?: string | undefined;
|
|
187
188
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
|
|
188
189
|
languages?: string[] | undefined;
|
|
189
190
|
timeZone?: string | undefined;
|
|
@@ -209,16 +210,16 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
209
210
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
210
211
|
} | undefined;
|
|
211
212
|
} | undefined;
|
|
212
|
-
rules?: string[] | undefined;
|
|
213
213
|
}>;
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
config: {
|
|
216
216
|
name?: string | undefined;
|
|
217
|
-
avatar?: string | undefined;
|
|
218
|
-
appearance?: string | undefined;
|
|
219
217
|
core?: {
|
|
220
218
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
221
219
|
} | undefined;
|
|
220
|
+
appearance?: string | undefined;
|
|
221
|
+
rules?: string[] | undefined;
|
|
222
|
+
avatar?: string | undefined;
|
|
222
223
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
|
|
223
224
|
languages?: string[] | undefined;
|
|
224
225
|
timeZone?: string | undefined;
|
|
@@ -244,17 +245,17 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
244
245
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
245
246
|
} | undefined;
|
|
246
247
|
} | undefined;
|
|
247
|
-
rules?: string[] | undefined;
|
|
248
248
|
};
|
|
249
249
|
agentId: bigint;
|
|
250
250
|
}, {
|
|
251
251
|
config: {
|
|
252
252
|
name?: string | undefined;
|
|
253
|
-
avatar?: string | undefined;
|
|
254
|
-
appearance?: string | undefined;
|
|
255
253
|
core?: {
|
|
256
254
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
257
255
|
} | undefined;
|
|
256
|
+
appearance?: string | undefined;
|
|
257
|
+
rules?: string[] | undefined;
|
|
258
|
+
avatar?: string | undefined;
|
|
258
259
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
|
|
259
260
|
languages?: string[] | undefined;
|
|
260
261
|
timeZone?: string | undefined;
|
|
@@ -280,7 +281,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
280
281
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
281
282
|
} | undefined;
|
|
282
283
|
} | undefined;
|
|
283
|
-
rules?: string[] | undefined;
|
|
284
284
|
};
|
|
285
285
|
agentId: bigint;
|
|
286
286
|
}>;
|
|
@@ -474,11 +474,12 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
474
474
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
475
475
|
}, "strict", z.ZodTypeAny, {
|
|
476
476
|
name?: string | undefined;
|
|
477
|
-
avatar?: string | undefined;
|
|
478
|
-
appearance?: string | undefined;
|
|
479
477
|
core?: {
|
|
480
478
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
481
479
|
} | undefined;
|
|
480
|
+
appearance?: string | undefined;
|
|
481
|
+
rules?: string[] | undefined;
|
|
482
|
+
avatar?: string | undefined;
|
|
482
483
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
|
|
483
484
|
languages?: string[] | undefined;
|
|
484
485
|
timeZone?: string | undefined;
|
|
@@ -504,14 +505,14 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
504
505
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
505
506
|
} | undefined;
|
|
506
507
|
} | undefined;
|
|
507
|
-
rules?: string[] | undefined;
|
|
508
508
|
}, {
|
|
509
509
|
name?: string | undefined;
|
|
510
|
-
avatar?: string | undefined;
|
|
511
|
-
appearance?: string | undefined;
|
|
512
510
|
core?: {
|
|
513
511
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
514
512
|
} | undefined;
|
|
513
|
+
appearance?: string | undefined;
|
|
514
|
+
rules?: string[] | undefined;
|
|
515
|
+
avatar?: string | undefined;
|
|
515
516
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
|
|
516
517
|
languages?: string[] | undefined;
|
|
517
518
|
timeZone?: string | undefined;
|
|
@@ -537,16 +538,16 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
537
538
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
538
539
|
} | undefined;
|
|
539
540
|
} | undefined;
|
|
540
|
-
rules?: string[] | undefined;
|
|
541
541
|
}>;
|
|
542
542
|
}, "strip", z.ZodTypeAny, {
|
|
543
543
|
config: {
|
|
544
544
|
name?: string | undefined;
|
|
545
|
-
avatar?: string | undefined;
|
|
546
|
-
appearance?: string | undefined;
|
|
547
545
|
core?: {
|
|
548
546
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
549
547
|
} | undefined;
|
|
548
|
+
appearance?: string | undefined;
|
|
549
|
+
rules?: string[] | undefined;
|
|
550
|
+
avatar?: string | undefined;
|
|
550
551
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
|
|
551
552
|
languages?: string[] | undefined;
|
|
552
553
|
timeZone?: string | undefined;
|
|
@@ -572,16 +573,16 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
572
573
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
573
574
|
} | undefined;
|
|
574
575
|
} | undefined;
|
|
575
|
-
rules?: string[] | undefined;
|
|
576
576
|
};
|
|
577
577
|
}, {
|
|
578
578
|
config: {
|
|
579
579
|
name?: string | undefined;
|
|
580
|
-
avatar?: string | undefined;
|
|
581
|
-
appearance?: string | undefined;
|
|
582
580
|
core?: {
|
|
583
581
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
584
582
|
} | undefined;
|
|
583
|
+
appearance?: string | undefined;
|
|
584
|
+
rules?: string[] | undefined;
|
|
585
|
+
avatar?: string | undefined;
|
|
585
586
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | undefined;
|
|
586
587
|
languages?: string[] | undefined;
|
|
587
588
|
timeZone?: string | undefined;
|
|
@@ -607,7 +608,6 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
607
608
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
608
609
|
} | undefined;
|
|
609
610
|
} | undefined;
|
|
610
|
-
rules?: string[] | undefined;
|
|
611
611
|
};
|
|
612
612
|
}>;
|
|
613
613
|
export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GimmickCoreDescriptions: {
|
|
3
|
+
readonly web_search: "Searches the web for up-to-date or missing information using an LLM, providing both a summary and detailed results. Execution takes approximately 30 seconds";
|
|
4
|
+
readonly image_generator: "Generates an image using an LLM based on text prompts and optional reference images. Execution takes approximately 30 seconds";
|
|
5
|
+
readonly notion: "Interacts with Notion platform for content management and collaboration";
|
|
6
|
+
};
|
|
7
|
+
export type GimmickCore = keyof typeof GimmickCoreDescriptions;
|
|
8
|
+
export declare const GimmickCoreSchema: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GimmickCoreSchema = exports.GimmickCoreDescriptions = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.GimmickCoreDescriptions = {
|
|
6
|
+
web_search: 'Searches the web for up-to-date or missing information using an LLM, providing both a summary and detailed results. Execution takes approximately 30 seconds',
|
|
7
|
+
image_generator: 'Generates an image using an LLM based on text prompts and optional reference images. Execution takes approximately 30 seconds',
|
|
8
|
+
notion: 'Interacts with Notion platform for content management and collaboration',
|
|
9
|
+
};
|
|
10
|
+
exports.GimmickCoreSchema = zod_1.z.union(Object.keys(exports.GimmickCoreDescriptions).map((key) => zod_1.z.literal(key).describe(exports.GimmickCoreDescriptions[key])));
|
|
11
|
+
//# sourceMappingURL=gimmick.config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gimmick.config.js","sourceRoot":"","sources":["../../../../src/dto/entities/gimmicks/gimmick.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG;IACrC,UAAU,EACR,8JAA8J;IAChK,eAAe,EACb,+HAA+H;IACjI,MAAM,EACJ,yEAAyE;CACnE,CAAC;AAIE,QAAA,iBAAiB,GAAG,OAAC,CAAC,KAAK,CACtC,MAAM,CAAC,IAAI,CAAC,+BAAuB,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAC/C,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,+BAAuB,CAAC,GAAkB,CAAC,CAAC,CAKrE,CACF,CAAC"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { GimmickId } from '@little-samo/samo-ai/models';
|
|
2
|
+
import type { GimmickCore } from './gimmick.config';
|
|
3
|
+
export interface GimmickPublicDto {
|
|
4
|
+
id: GimmickId;
|
|
5
|
+
name: string;
|
|
6
|
+
core: GimmickCore;
|
|
7
|
+
appearance: string;
|
|
8
|
+
}
|
|
1
9
|
export interface GimmickCostDto {
|
|
2
|
-
core:
|
|
10
|
+
core: GimmickCore;
|
|
3
11
|
executionCost: number;
|
|
4
12
|
canvasMaxLength: number;
|
|
5
13
|
}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./gimmick.config"), exports);
|
|
17
18
|
__exportStar(require("./gimmick"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/entities/gimmicks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/entities/gimmicks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,4CAA0B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AgentId, EntityId, EntityType, LocationId, UserId } from '@little-samo/samo-ai';
|
|
2
|
-
import { LocationConfig, LocationEnvironment, LocationPlatform, LocationType } from '@little-samo/samo-ai-sdk/models';
|
|
2
|
+
import type { LocationConfig, LocationEnvironment, LocationPlatform, LocationType } from '@little-samo/samo-ai-sdk/models';
|
|
3
3
|
import type { LocationMessageDto } from './location.message';
|
|
4
4
|
import type { AgentCostDto } from '../entities/agents/agent';
|
|
5
|
-
import type { GimmickCostDto } from '../entities/gimmicks/gimmick';
|
|
5
|
+
import type { GimmickCostDto, GimmickPublicDto } from '../entities/gimmicks/gimmick';
|
|
6
6
|
export interface LocationPublicDto {
|
|
7
7
|
id: LocationId;
|
|
8
8
|
name: string;
|
|
@@ -12,6 +12,10 @@ export interface LocationPublicDto {
|
|
|
12
12
|
maxUsers: number;
|
|
13
13
|
thumbnail: string | null;
|
|
14
14
|
ownerUserId: UserId | null;
|
|
15
|
+
gimmicks: GimmickPublicDto[];
|
|
16
|
+
isPublished: boolean;
|
|
17
|
+
publishedAt: Date | null;
|
|
18
|
+
publishDescription: string | null;
|
|
15
19
|
param1: bigint;
|
|
16
20
|
param2: bigint;
|
|
17
21
|
param3: bigint;
|
|
@@ -22,7 +26,6 @@ export interface LocationPublicDto {
|
|
|
22
26
|
creditCostPerChat: number;
|
|
23
27
|
chatRequiresPaidCredit: boolean;
|
|
24
28
|
isPublic: boolean;
|
|
25
|
-
isPublished: boolean;
|
|
26
29
|
isAdminChat: boolean;
|
|
27
30
|
createdAt: Date;
|
|
28
31
|
updatedAt: Date;
|
|
@@ -33,10 +36,10 @@ export interface LocationPrivateDto extends LocationPublicDto {
|
|
|
33
36
|
}
|
|
34
37
|
export interface LocationListItemDto extends LocationPublicDto {
|
|
35
38
|
lastMessage: LocationMessageDto | null;
|
|
39
|
+
messageCount: number;
|
|
36
40
|
unreadCount: number;
|
|
37
41
|
agentIds: AgentId[];
|
|
38
42
|
userIds: UserId[];
|
|
39
|
-
gimmickCount: number;
|
|
40
43
|
pauseUpdateUntil: Date | null;
|
|
41
44
|
pauseUpdateReason: string | null;
|
|
42
45
|
}
|
|
@@ -117,17 +117,32 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
117
117
|
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
|
|
118
118
|
name: z.ZodString;
|
|
119
119
|
appearance: z.ZodString;
|
|
120
|
-
images: z.ZodOptional<z.ZodArray<z.
|
|
120
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
|
+
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
122
|
+
description: z.ZodString;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
description: string;
|
|
125
|
+
url: string;
|
|
126
|
+
}, {
|
|
127
|
+
description: string;
|
|
128
|
+
url: string;
|
|
129
|
+
}>, "many">>;
|
|
121
130
|
}, "strip", z.ZodTypeAny, {
|
|
122
131
|
name: string;
|
|
123
|
-
appearance: string;
|
|
124
132
|
core: "web_search" | "image_generator" | "notion";
|
|
125
|
-
|
|
133
|
+
appearance: string;
|
|
134
|
+
images?: {
|
|
135
|
+
description: string;
|
|
136
|
+
url: string;
|
|
137
|
+
}[] | undefined;
|
|
126
138
|
}, {
|
|
127
139
|
name: string;
|
|
128
|
-
appearance: string;
|
|
129
140
|
core: "web_search" | "image_generator" | "notion";
|
|
130
|
-
|
|
141
|
+
appearance: string;
|
|
142
|
+
images?: {
|
|
143
|
+
description: string;
|
|
144
|
+
url: string;
|
|
145
|
+
}[] | undefined;
|
|
131
146
|
}>, "many">>;
|
|
132
147
|
}, "strict", z.ZodTypeAny, {
|
|
133
148
|
name?: string | undefined;
|
|
@@ -137,9 +152,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
137
152
|
sequential?: boolean | undefined;
|
|
138
153
|
interval?: number | undefined;
|
|
139
154
|
} | undefined;
|
|
140
|
-
rules?: string[] | undefined;
|
|
141
155
|
thumbnail?: string | null | undefined;
|
|
142
156
|
environment?: "CHAT" | "NOVEL" | undefined;
|
|
157
|
+
rules?: string[] | undefined;
|
|
143
158
|
canvases?: {
|
|
144
159
|
name: string;
|
|
145
160
|
description: string;
|
|
@@ -152,9 +167,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
152
167
|
}[] | undefined;
|
|
153
168
|
gimmicks?: {
|
|
154
169
|
name: string;
|
|
155
|
-
appearance: string;
|
|
156
170
|
core: "web_search" | "image_generator" | "notion";
|
|
157
|
-
|
|
171
|
+
appearance: string;
|
|
172
|
+
images?: {
|
|
173
|
+
description: string;
|
|
174
|
+
url: string;
|
|
175
|
+
}[] | undefined;
|
|
158
176
|
}[] | undefined;
|
|
159
177
|
}, {
|
|
160
178
|
name?: string | undefined;
|
|
@@ -164,9 +182,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
164
182
|
sequential?: boolean | undefined;
|
|
165
183
|
interval?: number | undefined;
|
|
166
184
|
} | undefined;
|
|
167
|
-
rules?: string[] | undefined;
|
|
168
185
|
thumbnail?: string | null | undefined;
|
|
169
186
|
environment?: "CHAT" | "NOVEL" | undefined;
|
|
187
|
+
rules?: string[] | undefined;
|
|
170
188
|
canvases?: {
|
|
171
189
|
name: string;
|
|
172
190
|
description: string;
|
|
@@ -179,9 +197,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
179
197
|
}[] | undefined;
|
|
180
198
|
gimmicks?: {
|
|
181
199
|
name: string;
|
|
182
|
-
appearance: string;
|
|
183
200
|
core: "web_search" | "image_generator" | "notion";
|
|
184
|
-
|
|
201
|
+
appearance: string;
|
|
202
|
+
images?: {
|
|
203
|
+
description: string;
|
|
204
|
+
url: string;
|
|
205
|
+
}[] | undefined;
|
|
185
206
|
}[] | undefined;
|
|
186
207
|
}>;
|
|
187
208
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -194,9 +215,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
194
215
|
sequential?: boolean | undefined;
|
|
195
216
|
interval?: number | undefined;
|
|
196
217
|
} | undefined;
|
|
197
|
-
rules?: string[] | undefined;
|
|
198
218
|
thumbnail?: string | null | undefined;
|
|
199
219
|
environment?: "CHAT" | "NOVEL" | undefined;
|
|
220
|
+
rules?: string[] | undefined;
|
|
200
221
|
canvases?: {
|
|
201
222
|
name: string;
|
|
202
223
|
description: string;
|
|
@@ -209,9 +230,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
209
230
|
}[] | undefined;
|
|
210
231
|
gimmicks?: {
|
|
211
232
|
name: string;
|
|
212
|
-
appearance: string;
|
|
213
233
|
core: "web_search" | "image_generator" | "notion";
|
|
214
|
-
|
|
234
|
+
appearance: string;
|
|
235
|
+
images?: {
|
|
236
|
+
description: string;
|
|
237
|
+
url: string;
|
|
238
|
+
}[] | undefined;
|
|
215
239
|
}[] | undefined;
|
|
216
240
|
};
|
|
217
241
|
}, {
|
|
@@ -224,9 +248,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
224
248
|
sequential?: boolean | undefined;
|
|
225
249
|
interval?: number | undefined;
|
|
226
250
|
} | undefined;
|
|
227
|
-
rules?: string[] | undefined;
|
|
228
251
|
thumbnail?: string | null | undefined;
|
|
229
252
|
environment?: "CHAT" | "NOVEL" | undefined;
|
|
253
|
+
rules?: string[] | undefined;
|
|
230
254
|
canvases?: {
|
|
231
255
|
name: string;
|
|
232
256
|
description: string;
|
|
@@ -239,9 +263,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
239
263
|
}[] | undefined;
|
|
240
264
|
gimmicks?: {
|
|
241
265
|
name: string;
|
|
242
|
-
appearance: string;
|
|
243
266
|
core: "web_search" | "image_generator" | "notion";
|
|
244
|
-
|
|
267
|
+
appearance: string;
|
|
268
|
+
images?: {
|
|
269
|
+
description: string;
|
|
270
|
+
url: string;
|
|
271
|
+
}[] | undefined;
|
|
245
272
|
}[] | undefined;
|
|
246
273
|
};
|
|
247
274
|
}>;
|
|
@@ -377,17 +404,32 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
377
404
|
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
|
|
378
405
|
name: z.ZodString;
|
|
379
406
|
appearance: z.ZodString;
|
|
380
|
-
images: z.ZodOptional<z.ZodArray<z.
|
|
407
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
408
|
+
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
409
|
+
description: z.ZodString;
|
|
410
|
+
}, "strip", z.ZodTypeAny, {
|
|
411
|
+
description: string;
|
|
412
|
+
url: string;
|
|
413
|
+
}, {
|
|
414
|
+
description: string;
|
|
415
|
+
url: string;
|
|
416
|
+
}>, "many">>;
|
|
381
417
|
}, "strip", z.ZodTypeAny, {
|
|
382
418
|
name: string;
|
|
383
|
-
appearance: string;
|
|
384
419
|
core: "web_search" | "image_generator" | "notion";
|
|
385
|
-
|
|
420
|
+
appearance: string;
|
|
421
|
+
images?: {
|
|
422
|
+
description: string;
|
|
423
|
+
url: string;
|
|
424
|
+
}[] | undefined;
|
|
386
425
|
}, {
|
|
387
426
|
name: string;
|
|
388
|
-
appearance: string;
|
|
389
427
|
core: "web_search" | "image_generator" | "notion";
|
|
390
|
-
|
|
428
|
+
appearance: string;
|
|
429
|
+
images?: {
|
|
430
|
+
description: string;
|
|
431
|
+
url: string;
|
|
432
|
+
}[] | undefined;
|
|
391
433
|
}>, "many">>;
|
|
392
434
|
}, "strict", z.ZodTypeAny, {
|
|
393
435
|
name?: string | undefined;
|
|
@@ -397,9 +439,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
397
439
|
sequential?: boolean | undefined;
|
|
398
440
|
interval?: number | undefined;
|
|
399
441
|
} | undefined;
|
|
400
|
-
rules?: string[] | undefined;
|
|
401
442
|
thumbnail?: string | null | undefined;
|
|
402
443
|
environment?: "CHAT" | "NOVEL" | undefined;
|
|
444
|
+
rules?: string[] | undefined;
|
|
403
445
|
canvases?: {
|
|
404
446
|
name: string;
|
|
405
447
|
description: string;
|
|
@@ -412,9 +454,12 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
412
454
|
}[] | undefined;
|
|
413
455
|
gimmicks?: {
|
|
414
456
|
name: string;
|
|
415
|
-
appearance: string;
|
|
416
457
|
core: "web_search" | "image_generator" | "notion";
|
|
417
|
-
|
|
458
|
+
appearance: string;
|
|
459
|
+
images?: {
|
|
460
|
+
description: string;
|
|
461
|
+
url: string;
|
|
462
|
+
}[] | undefined;
|
|
418
463
|
}[] | undefined;
|
|
419
464
|
}, {
|
|
420
465
|
name?: string | undefined;
|
|
@@ -424,9 +469,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
424
469
|
sequential?: boolean | undefined;
|
|
425
470
|
interval?: number | undefined;
|
|
426
471
|
} | undefined;
|
|
427
|
-
rules?: string[] | undefined;
|
|
428
472
|
thumbnail?: string | null | undefined;
|
|
429
473
|
environment?: "CHAT" | "NOVEL" | undefined;
|
|
474
|
+
rules?: string[] | undefined;
|
|
430
475
|
canvases?: {
|
|
431
476
|
name: string;
|
|
432
477
|
description: string;
|
|
@@ -439,9 +484,12 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
439
484
|
}[] | undefined;
|
|
440
485
|
gimmicks?: {
|
|
441
486
|
name: string;
|
|
442
|
-
appearance: string;
|
|
443
487
|
core: "web_search" | "image_generator" | "notion";
|
|
444
|
-
|
|
488
|
+
appearance: string;
|
|
489
|
+
images?: {
|
|
490
|
+
description: string;
|
|
491
|
+
url: string;
|
|
492
|
+
}[] | undefined;
|
|
445
493
|
}[] | undefined;
|
|
446
494
|
}>;
|
|
447
495
|
platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -457,9 +505,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
457
505
|
sequential?: boolean | undefined;
|
|
458
506
|
interval?: number | undefined;
|
|
459
507
|
} | undefined;
|
|
460
|
-
rules?: string[] | undefined;
|
|
461
508
|
thumbnail?: string | null | undefined;
|
|
462
509
|
environment?: "CHAT" | "NOVEL" | undefined;
|
|
510
|
+
rules?: string[] | undefined;
|
|
463
511
|
canvases?: {
|
|
464
512
|
name: string;
|
|
465
513
|
description: string;
|
|
@@ -472,9 +520,12 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
472
520
|
}[] | undefined;
|
|
473
521
|
gimmicks?: {
|
|
474
522
|
name: string;
|
|
475
|
-
appearance: string;
|
|
476
523
|
core: "web_search" | "image_generator" | "notion";
|
|
477
|
-
|
|
524
|
+
appearance: string;
|
|
525
|
+
images?: {
|
|
526
|
+
description: string;
|
|
527
|
+
url: string;
|
|
528
|
+
}[] | undefined;
|
|
478
529
|
}[] | undefined;
|
|
479
530
|
};
|
|
480
531
|
platform: "API" | "MINIMO";
|
|
@@ -487,9 +538,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
487
538
|
sequential?: boolean | undefined;
|
|
488
539
|
interval?: number | undefined;
|
|
489
540
|
} | undefined;
|
|
490
|
-
rules?: string[] | undefined;
|
|
491
541
|
thumbnail?: string | null | undefined;
|
|
492
542
|
environment?: "CHAT" | "NOVEL" | undefined;
|
|
543
|
+
rules?: string[] | undefined;
|
|
493
544
|
canvases?: {
|
|
494
545
|
name: string;
|
|
495
546
|
description: string;
|
|
@@ -502,9 +553,12 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
502
553
|
}[] | undefined;
|
|
503
554
|
gimmicks?: {
|
|
504
555
|
name: string;
|
|
505
|
-
appearance: string;
|
|
506
556
|
core: "web_search" | "image_generator" | "notion";
|
|
507
|
-
|
|
557
|
+
appearance: string;
|
|
558
|
+
images?: {
|
|
559
|
+
description: string;
|
|
560
|
+
url: string;
|
|
561
|
+
}[] | undefined;
|
|
508
562
|
}[] | undefined;
|
|
509
563
|
};
|
|
510
564
|
platform?: "API" | "MINIMO" | undefined;
|
|
@@ -824,6 +878,7 @@ export type UpdateLocationParamsDto = z.infer<typeof UpdateLocationParamsSchema>
|
|
|
824
878
|
export declare const UpdateLocationBodySchema: z.ZodObject<{
|
|
825
879
|
visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
|
|
826
880
|
maxUsers: z.ZodOptional<z.ZodNumber>;
|
|
881
|
+
publishDescription: z.ZodOptional<z.ZodString>;
|
|
827
882
|
useLocationCreditOnly: z.ZodOptional<z.ZodBoolean>;
|
|
828
883
|
creditCostPerChat: z.ZodOptional<z.ZodNumber>;
|
|
829
884
|
chatRequiresPaidCredit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -831,6 +886,7 @@ export declare const UpdateLocationBodySchema: z.ZodObject<{
|
|
|
831
886
|
}, "strip", z.ZodTypeAny, {
|
|
832
887
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
833
888
|
maxUsers?: number | undefined;
|
|
889
|
+
publishDescription?: string | undefined;
|
|
834
890
|
useLocationCreditOnly?: boolean | undefined;
|
|
835
891
|
creditCostPerChat?: number | undefined;
|
|
836
892
|
chatRequiresPaidCredit?: boolean | undefined;
|
|
@@ -838,6 +894,7 @@ export declare const UpdateLocationBodySchema: z.ZodObject<{
|
|
|
838
894
|
}, {
|
|
839
895
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
840
896
|
maxUsers?: number | undefined;
|
|
897
|
+
publishDescription?: string | undefined;
|
|
841
898
|
useLocationCreditOnly?: boolean | undefined;
|
|
842
899
|
creditCostPerChat?: number | undefined;
|
|
843
900
|
chatRequiresPaidCredit?: boolean | undefined;
|
|
@@ -16,7 +16,7 @@ exports.UserLocationsQuerySchema = zod_1.z.object({
|
|
|
16
16
|
.describe('Number of locations to return'),
|
|
17
17
|
});
|
|
18
18
|
exports.PublishedLocationsQuerySchema = zod_1.z.object({
|
|
19
|
-
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
19
|
+
page: zod_1.z.coerce.number().int().min(1).max(25).optional().default(1),
|
|
20
20
|
limit: zod_1.z.coerce.number().min(1).max(10).default(10),
|
|
21
21
|
});
|
|
22
22
|
exports.TrendingLocationsQuerySchema = zod_1.z.object({});
|
|
@@ -175,6 +175,7 @@ exports.UpdateLocationParamsSchema = zod_1.z.object({
|
|
|
175
175
|
exports.UpdateLocationBodySchema = zod_1.z.object({
|
|
176
176
|
visibility: zod_1.z.enum(['private', 'public', 'publish']).optional(),
|
|
177
177
|
maxUsers: zod_1.z.number().int().min(1).max(99).optional(),
|
|
178
|
+
publishDescription: zod_1.z.string().max(500).optional(),
|
|
178
179
|
useLocationCreditOnly: zod_1.z.boolean().optional(),
|
|
179
180
|
creditCostPerChat: zod_1.z.number().int().min(0).max(1000).optional(),
|
|
180
181
|
chatRequiresPaidCredit: zod_1.z.boolean().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;;AAAA,wDAAwD;AAExD,4DAAmE;AACnE,6BAAwB;AAExB,4EAGgD;AAkBnC,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACzE,KAAK,EAAE,OAAC,CAAC,MAAM;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,+BAA+B,CAAC;CAC7C,CAAC,CAAC;AAaU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,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,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CACpD,CAAC,CAAC;AAiBU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAW5C,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,C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
|
|
@@ -27,28 +27,48 @@ export declare const LocationConfigCanvasSchema: z.ZodObject<{
|
|
|
27
27
|
description: string;
|
|
28
28
|
maxLength: number;
|
|
29
29
|
}>;
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
export type LocationConfigCanvas = z.infer<typeof LocationConfigCanvasSchema>;
|
|
31
|
+
export declare const LocationConfigGimmickImageSchema: z.ZodObject<{
|
|
32
|
+
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
33
|
+
description: z.ZodString;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
description: string;
|
|
36
|
+
url: string;
|
|
37
|
+
}, {
|
|
38
|
+
description: string;
|
|
39
|
+
url: string;
|
|
40
|
+
}>;
|
|
41
|
+
export type LocationConfigGimmickImage = z.infer<typeof LocationConfigGimmickImageSchema>;
|
|
37
42
|
export declare const LocationConfigGimmickSchema: z.ZodObject<{
|
|
38
43
|
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
|
|
39
44
|
name: z.ZodString;
|
|
40
45
|
appearance: z.ZodString;
|
|
41
|
-
images: z.ZodOptional<z.ZodArray<z.
|
|
46
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
+
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
48
|
+
description: z.ZodString;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
description: string;
|
|
51
|
+
url: string;
|
|
52
|
+
}, {
|
|
53
|
+
description: string;
|
|
54
|
+
url: string;
|
|
55
|
+
}>, "many">>;
|
|
42
56
|
}, "strip", z.ZodTypeAny, {
|
|
43
57
|
name: string;
|
|
44
|
-
appearance: string;
|
|
45
58
|
core: "web_search" | "image_generator" | "notion";
|
|
46
|
-
|
|
59
|
+
appearance: string;
|
|
60
|
+
images?: {
|
|
61
|
+
description: string;
|
|
62
|
+
url: string;
|
|
63
|
+
}[] | undefined;
|
|
47
64
|
}, {
|
|
48
65
|
name: string;
|
|
49
|
-
appearance: string;
|
|
50
66
|
core: "web_search" | "image_generator" | "notion";
|
|
51
|
-
|
|
67
|
+
appearance: string;
|
|
68
|
+
images?: {
|
|
69
|
+
description: string;
|
|
70
|
+
url: string;
|
|
71
|
+
}[] | undefined;
|
|
52
72
|
}>;
|
|
53
73
|
export type LocationConfigGimmick = z.infer<typeof LocationConfigGimmickSchema>;
|
|
54
74
|
export declare const LocationConfigSchema: z.ZodObject<{
|
|
@@ -100,17 +120,32 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
100
120
|
core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
|
|
101
121
|
name: z.ZodString;
|
|
102
122
|
appearance: z.ZodString;
|
|
103
|
-
images: z.ZodOptional<z.ZodArray<z.
|
|
123
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
124
|
+
url: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
125
|
+
description: z.ZodString;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
description: string;
|
|
128
|
+
url: string;
|
|
129
|
+
}, {
|
|
130
|
+
description: string;
|
|
131
|
+
url: string;
|
|
132
|
+
}>, "many">>;
|
|
104
133
|
}, "strip", z.ZodTypeAny, {
|
|
105
134
|
name: string;
|
|
106
|
-
appearance: string;
|
|
107
135
|
core: "web_search" | "image_generator" | "notion";
|
|
108
|
-
|
|
136
|
+
appearance: string;
|
|
137
|
+
images?: {
|
|
138
|
+
description: string;
|
|
139
|
+
url: string;
|
|
140
|
+
}[] | undefined;
|
|
109
141
|
}, {
|
|
110
142
|
name: string;
|
|
111
|
-
appearance: string;
|
|
112
143
|
core: "web_search" | "image_generator" | "notion";
|
|
113
|
-
|
|
144
|
+
appearance: string;
|
|
145
|
+
images?: {
|
|
146
|
+
description: string;
|
|
147
|
+
url: string;
|
|
148
|
+
}[] | undefined;
|
|
114
149
|
}>, "many">;
|
|
115
150
|
}, "strip", z.ZodTypeAny, {
|
|
116
151
|
name: string;
|
|
@@ -120,9 +155,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
120
155
|
sequential?: boolean | undefined;
|
|
121
156
|
interval?: number | undefined;
|
|
122
157
|
};
|
|
123
|
-
rules: string[];
|
|
124
158
|
thumbnail: string | null;
|
|
125
159
|
environment: "CHAT" | "NOVEL";
|
|
160
|
+
rules: string[];
|
|
126
161
|
canvases: {
|
|
127
162
|
name: string;
|
|
128
163
|
description: string;
|
|
@@ -135,9 +170,12 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
135
170
|
}[];
|
|
136
171
|
gimmicks: {
|
|
137
172
|
name: string;
|
|
138
|
-
appearance: string;
|
|
139
173
|
core: "web_search" | "image_generator" | "notion";
|
|
140
|
-
|
|
174
|
+
appearance: string;
|
|
175
|
+
images?: {
|
|
176
|
+
description: string;
|
|
177
|
+
url: string;
|
|
178
|
+
}[] | undefined;
|
|
141
179
|
}[];
|
|
142
180
|
}, {
|
|
143
181
|
name: string;
|
|
@@ -147,9 +185,9 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
147
185
|
sequential?: boolean | undefined;
|
|
148
186
|
interval?: number | undefined;
|
|
149
187
|
};
|
|
150
|
-
rules: string[];
|
|
151
188
|
thumbnail: string | null;
|
|
152
189
|
environment: "CHAT" | "NOVEL";
|
|
190
|
+
rules: string[];
|
|
153
191
|
canvases: {
|
|
154
192
|
name: string;
|
|
155
193
|
description: string;
|
|
@@ -162,9 +200,12 @@ export declare const LocationConfigSchema: z.ZodObject<{
|
|
|
162
200
|
}[];
|
|
163
201
|
gimmicks: {
|
|
164
202
|
name: string;
|
|
165
|
-
appearance: string;
|
|
166
203
|
core: "web_search" | "image_generator" | "notion";
|
|
167
|
-
|
|
204
|
+
appearance: string;
|
|
205
|
+
images?: {
|
|
206
|
+
description: string;
|
|
207
|
+
url: string;
|
|
208
|
+
}[] | undefined;
|
|
168
209
|
}[];
|
|
169
210
|
}>;
|
|
170
211
|
export type LocationConfig = z.infer<typeof LocationConfigSchema>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LocationConfigSchema = exports.LocationConfigGimmickSchema = exports.
|
|
3
|
+
exports.LocationConfigSchema = exports.LocationConfigGimmickSchema = exports.LocationConfigGimmickImageSchema = exports.LocationConfigCanvasSchema = exports.LocationConfigCoreSchema = exports.LocationEnvironmentSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const gimmicks_1 = require("../../dto/entities/gimmicks");
|
|
5
6
|
const location_constants_1 = require("./location.constants");
|
|
6
7
|
exports.LocationEnvironmentSchema = zod_1.z.union([
|
|
7
8
|
zod_1.z
|
|
@@ -46,14 +47,22 @@ exports.LocationConfigCanvasSchema = zod_1.z.object({
|
|
|
46
47
|
.max(5000)
|
|
47
48
|
.describe('Maximum character limit for canvas content'),
|
|
48
49
|
});
|
|
49
|
-
exports.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
exports.LocationConfigGimmickImageSchema = zod_1.z.object({
|
|
51
|
+
url: zod_1.z.union([
|
|
52
|
+
zod_1.z
|
|
53
|
+
.string()
|
|
54
|
+
.max(2048)
|
|
55
|
+
.regex(/^https?:\/\/.+\.(png|jpe?g|webp)$/i)
|
|
56
|
+
.describe('Reference image URL (http/https URL pointing to png, jpeg, jpg, webp files under 3MB). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
|
|
57
|
+
zod_1.z.string().max(32).describe('Reference message image key for API usage'),
|
|
58
|
+
]),
|
|
59
|
+
description: zod_1.z
|
|
60
|
+
.string()
|
|
61
|
+
.max(500)
|
|
62
|
+
.describe('Description of the image used by the gimmick for AI image generation.'),
|
|
63
|
+
});
|
|
55
64
|
exports.LocationConfigGimmickSchema = zod_1.z.object({
|
|
56
|
-
core:
|
|
65
|
+
core: gimmicks_1.GimmickCoreSchema.describe('Core gimmick behavior that determines how the gimmick is executed'),
|
|
57
66
|
name: zod_1.z
|
|
58
67
|
.string()
|
|
59
68
|
.max(64)
|
|
@@ -63,17 +72,7 @@ exports.LocationConfigGimmickSchema = zod_1.z.object({
|
|
|
63
72
|
.max(500)
|
|
64
73
|
.describe('How the gimmick appears to agents and users in the location context'),
|
|
65
74
|
images: zod_1.z
|
|
66
|
-
.array(
|
|
67
|
-
zod_1.z
|
|
68
|
-
.string()
|
|
69
|
-
.max(2048)
|
|
70
|
-
.regex(/^https?:\/\/.+\.(png|jpe?g|webp)$/i)
|
|
71
|
-
.describe('Reference image URL (http/https URL pointing to png, jpeg, jpg, webp files under 3MB). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
|
|
72
|
-
zod_1.z
|
|
73
|
-
.string()
|
|
74
|
-
.max(32)
|
|
75
|
-
.describe('Reference message image key for API usage'),
|
|
76
|
-
]))
|
|
75
|
+
.array(exports.LocationConfigGimmickImageSchema)
|
|
77
76
|
.max(4)
|
|
78
77
|
.optional()
|
|
79
78
|
.describe('Optional reference images used by image_generator gimmick for AI image generation. Supports HTTP/HTTPS URLs for png, jpeg, jpg, webp images and message image keys for API usage. When provided, images will be replaced by CDN URLs when processed.'),
|
|
@@ -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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CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@little-samo/samo-ai-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5-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.
|
|
65
|
+
"@little-samo/samo-ai": "^0.1.5",
|
|
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.
|
|
87
|
+
"@little-samo/samo-ai": "^0.1.5",
|
|
88
88
|
"class-transformer": "^0.5.1",
|
|
89
89
|
"class-validator": "^0.14.2",
|
|
90
90
|
"zod": "^3.24.1"
|