@almadar/core 1.0.15 → 1.0.16
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/domain-language/index.d.ts +1 -1
- package/dist/domain-language/index.js +12 -8
- package/dist/domain-language/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +13 -9
- package/dist/index.js.map +1 -1
- package/dist/{schema-DFOz4rEu.d.ts → schema-zGCZtr5W.d.ts} +43 -36
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +13 -9
- package/dist/types/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -3715,6 +3715,17 @@ z.enum([
|
|
|
3715
3715
|
"game",
|
|
3716
3716
|
"custom"
|
|
3717
3717
|
]);
|
|
3718
|
+
var AGENT_DOMAIN_CATEGORIES = [
|
|
3719
|
+
"game",
|
|
3720
|
+
"business",
|
|
3721
|
+
"dashboard",
|
|
3722
|
+
"form",
|
|
3723
|
+
"content",
|
|
3724
|
+
"social",
|
|
3725
|
+
"ecommerce",
|
|
3726
|
+
"workflow"
|
|
3727
|
+
];
|
|
3728
|
+
var AgentDomainCategorySchema = z.enum([...AGENT_DOMAIN_CATEGORIES]);
|
|
3718
3729
|
z.enum([
|
|
3719
3730
|
"platformer",
|
|
3720
3731
|
"shooter",
|
|
@@ -3771,14 +3782,7 @@ var UserPersonaSchema = z.object({
|
|
|
3771
3782
|
var DomainContextSchema = z.object({
|
|
3772
3783
|
request: z.string().min(1, "Original request is required"),
|
|
3773
3784
|
requestFragment: z.string().optional(),
|
|
3774
|
-
category:
|
|
3775
|
-
"game",
|
|
3776
|
-
"business",
|
|
3777
|
-
"dashboard",
|
|
3778
|
-
"form",
|
|
3779
|
-
"content",
|
|
3780
|
-
"social"
|
|
3781
|
-
]),
|
|
3785
|
+
category: AgentDomainCategorySchema,
|
|
3782
3786
|
subDomain: z.string().optional(),
|
|
3783
3787
|
personas: z.array(UserPersonaSchema).optional(),
|
|
3784
3788
|
vocabulary: DomainVocabularySchema.optional()
|