@botonic/plugin-ai-agents 0.41.0 → 0.41.1-alpha.1
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/lib/cjs/structured-output/carousel.d.ts +5 -0
- package/lib/cjs/structured-output/carousel.js +1 -0
- package/lib/cjs/structured-output/carousel.js.map +1 -1
- package/lib/cjs/structured-output/index.d.ts +7 -0
- package/lib/esm/structured-output/carousel.d.ts +5 -0
- package/lib/esm/structured-output/carousel.js +1 -0
- package/lib/esm/structured-output/carousel.js.map +1 -1
- package/lib/esm/structured-output/index.d.ts +7 -0
- package/package.json +2 -2
- package/src/structured-output/carousel.ts +1 -0
|
@@ -4,6 +4,7 @@ export type { CarouselMessage };
|
|
|
4
4
|
export declare const CarouselSchema: z.ZodObject<{
|
|
5
5
|
type: z.ZodEnum<["carousel"]>;
|
|
6
6
|
content: z.ZodObject<{
|
|
7
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
8
|
elements: z.ZodArray<z.ZodObject<{
|
|
8
9
|
title: z.ZodString;
|
|
9
10
|
subtitle: z.ZodString;
|
|
@@ -45,6 +46,7 @@ export declare const CarouselSchema: z.ZodObject<{
|
|
|
45
46
|
url?: string | null | undefined;
|
|
46
47
|
};
|
|
47
48
|
}[];
|
|
49
|
+
text?: string | null | undefined;
|
|
48
50
|
}, {
|
|
49
51
|
elements: {
|
|
50
52
|
title: string;
|
|
@@ -55,6 +57,7 @@ export declare const CarouselSchema: z.ZodObject<{
|
|
|
55
57
|
url?: string | null | undefined;
|
|
56
58
|
};
|
|
57
59
|
}[];
|
|
60
|
+
text?: string | null | undefined;
|
|
58
61
|
}>;
|
|
59
62
|
}, "strip", z.ZodTypeAny, {
|
|
60
63
|
type: "carousel";
|
|
@@ -68,6 +71,7 @@ export declare const CarouselSchema: z.ZodObject<{
|
|
|
68
71
|
url?: string | null | undefined;
|
|
69
72
|
};
|
|
70
73
|
}[];
|
|
74
|
+
text?: string | null | undefined;
|
|
71
75
|
};
|
|
72
76
|
}, {
|
|
73
77
|
type: "carousel";
|
|
@@ -81,5 +85,6 @@ export declare const CarouselSchema: z.ZodObject<{
|
|
|
81
85
|
url?: string | null | undefined;
|
|
82
86
|
};
|
|
83
87
|
}[];
|
|
88
|
+
text?: string | null | undefined;
|
|
84
89
|
};
|
|
85
90
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.js","sourceRoot":"","sources":["../../../src/structured-output/carousel.ts"],"names":[],"mappings":";;;AACA,6BAAuB;AAIV,QAAA,cAAc,GAAG,OAAC;KAC5B,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC;IAC1B,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QAChB,QAAQ,EAAE,OAAC,CAAC,KAAK,CACf,OAAC,CAAC,MAAM,CAAC;YACP,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;YACjB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;YACjB,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;gBACf,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;gBAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;aACtC,CAAC;SACH,CAAC,CACH;KACF,CAAC;CACH,CAAC;KACD,QAAQ,CAAC,kDAAkD,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"carousel.js","sourceRoot":"","sources":["../../../src/structured-output/carousel.ts"],"names":[],"mappings":";;;AACA,6BAAuB;AAIV,QAAA,cAAc,GAAG,OAAC;KAC5B,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC;IAC1B,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;QACtC,QAAQ,EAAE,OAAC,CAAC,KAAK,CACf,OAAC,CAAC,MAAM,CAAC;YACP,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;YACjB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;YACjB,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;gBACf,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;gBAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;aACtC,CAAC;SACH,CAAC,CACH;KACF,CAAC;CACH,CAAC;KACD,QAAQ,CAAC,kDAAkD,CAAC,CAAA"}
|
|
@@ -64,6 +64,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
64
64
|
}>, z.ZodObject<{
|
|
65
65
|
type: z.ZodEnum<["carousel"]>;
|
|
66
66
|
content: z.ZodObject<{
|
|
67
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
68
|
elements: z.ZodArray<z.ZodObject<{
|
|
68
69
|
title: z.ZodString;
|
|
69
70
|
subtitle: z.ZodString;
|
|
@@ -105,6 +106,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
105
106
|
url?: string | null | undefined;
|
|
106
107
|
};
|
|
107
108
|
}[];
|
|
109
|
+
text?: string | null | undefined;
|
|
108
110
|
}, {
|
|
109
111
|
elements: {
|
|
110
112
|
title: string;
|
|
@@ -115,6 +117,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
115
117
|
url?: string | null | undefined;
|
|
116
118
|
};
|
|
117
119
|
}[];
|
|
120
|
+
text?: string | null | undefined;
|
|
118
121
|
}>;
|
|
119
122
|
}, "strip", z.ZodTypeAny, {
|
|
120
123
|
type: "carousel";
|
|
@@ -128,6 +131,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
128
131
|
url?: string | null | undefined;
|
|
129
132
|
};
|
|
130
133
|
}[];
|
|
134
|
+
text?: string | null | undefined;
|
|
131
135
|
};
|
|
132
136
|
}, {
|
|
133
137
|
type: "carousel";
|
|
@@ -141,6 +145,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
141
145
|
url?: string | null | undefined;
|
|
142
146
|
};
|
|
143
147
|
}[];
|
|
148
|
+
text?: string | null | undefined;
|
|
144
149
|
};
|
|
145
150
|
}>, z.ZodObject<{
|
|
146
151
|
type: z.ZodEnum<["exit"]>;
|
|
@@ -162,6 +167,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
162
167
|
url?: string | null | undefined;
|
|
163
168
|
};
|
|
164
169
|
}[];
|
|
170
|
+
text?: string | null | undefined;
|
|
165
171
|
};
|
|
166
172
|
} | {
|
|
167
173
|
type: "exit";
|
|
@@ -192,6 +198,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
192
198
|
url?: string | null | undefined;
|
|
193
199
|
};
|
|
194
200
|
}[];
|
|
201
|
+
text?: string | null | undefined;
|
|
195
202
|
};
|
|
196
203
|
} | {
|
|
197
204
|
type: "exit";
|
|
@@ -4,6 +4,7 @@ export type { CarouselMessage };
|
|
|
4
4
|
export declare const CarouselSchema: z.ZodObject<{
|
|
5
5
|
type: z.ZodEnum<["carousel"]>;
|
|
6
6
|
content: z.ZodObject<{
|
|
7
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
8
|
elements: z.ZodArray<z.ZodObject<{
|
|
8
9
|
title: z.ZodString;
|
|
9
10
|
subtitle: z.ZodString;
|
|
@@ -45,6 +46,7 @@ export declare const CarouselSchema: z.ZodObject<{
|
|
|
45
46
|
url?: string | null | undefined;
|
|
46
47
|
};
|
|
47
48
|
}[];
|
|
49
|
+
text?: string | null | undefined;
|
|
48
50
|
}, {
|
|
49
51
|
elements: {
|
|
50
52
|
title: string;
|
|
@@ -55,6 +57,7 @@ export declare const CarouselSchema: z.ZodObject<{
|
|
|
55
57
|
url?: string | null | undefined;
|
|
56
58
|
};
|
|
57
59
|
}[];
|
|
60
|
+
text?: string | null | undefined;
|
|
58
61
|
}>;
|
|
59
62
|
}, "strip", z.ZodTypeAny, {
|
|
60
63
|
type: "carousel";
|
|
@@ -68,6 +71,7 @@ export declare const CarouselSchema: z.ZodObject<{
|
|
|
68
71
|
url?: string | null | undefined;
|
|
69
72
|
};
|
|
70
73
|
}[];
|
|
74
|
+
text?: string | null | undefined;
|
|
71
75
|
};
|
|
72
76
|
}, {
|
|
73
77
|
type: "carousel";
|
|
@@ -81,5 +85,6 @@ export declare const CarouselSchema: z.ZodObject<{
|
|
|
81
85
|
url?: string | null | undefined;
|
|
82
86
|
};
|
|
83
87
|
}[];
|
|
88
|
+
text?: string | null | undefined;
|
|
84
89
|
};
|
|
85
90
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.js","sourceRoot":"","sources":["../../../src/structured-output/carousel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,CAAC,CAAC,MAAM,CAAC;YACP,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;YACjB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;YACjB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;gBACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;gBAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;aACtC,CAAC;SACH,CAAC,CACH;KACF,CAAC;CACH,CAAC;KACD,QAAQ,CAAC,kDAAkD,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"carousel.js","sourceRoot":"","sources":["../../../src/structured-output/carousel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;QACtC,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,CAAC,CAAC,MAAM,CAAC;YACP,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;YACjB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;YACjB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;gBACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;gBAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;aACtC,CAAC;SACH,CAAC,CACH;KACF,CAAC;CACH,CAAC;KACD,QAAQ,CAAC,kDAAkD,CAAC,CAAA"}
|
|
@@ -64,6 +64,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
64
64
|
}>, z.ZodObject<{
|
|
65
65
|
type: z.ZodEnum<["carousel"]>;
|
|
66
66
|
content: z.ZodObject<{
|
|
67
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
68
|
elements: z.ZodArray<z.ZodObject<{
|
|
68
69
|
title: z.ZodString;
|
|
69
70
|
subtitle: z.ZodString;
|
|
@@ -105,6 +106,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
105
106
|
url?: string | null | undefined;
|
|
106
107
|
};
|
|
107
108
|
}[];
|
|
109
|
+
text?: string | null | undefined;
|
|
108
110
|
}, {
|
|
109
111
|
elements: {
|
|
110
112
|
title: string;
|
|
@@ -115,6 +117,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
115
117
|
url?: string | null | undefined;
|
|
116
118
|
};
|
|
117
119
|
}[];
|
|
120
|
+
text?: string | null | undefined;
|
|
118
121
|
}>;
|
|
119
122
|
}, "strip", z.ZodTypeAny, {
|
|
120
123
|
type: "carousel";
|
|
@@ -128,6 +131,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
128
131
|
url?: string | null | undefined;
|
|
129
132
|
};
|
|
130
133
|
}[];
|
|
134
|
+
text?: string | null | undefined;
|
|
131
135
|
};
|
|
132
136
|
}, {
|
|
133
137
|
type: "carousel";
|
|
@@ -141,6 +145,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
141
145
|
url?: string | null | undefined;
|
|
142
146
|
};
|
|
143
147
|
}[];
|
|
148
|
+
text?: string | null | undefined;
|
|
144
149
|
};
|
|
145
150
|
}>, z.ZodObject<{
|
|
146
151
|
type: z.ZodEnum<["exit"]>;
|
|
@@ -162,6 +167,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
162
167
|
url?: string | null | undefined;
|
|
163
168
|
};
|
|
164
169
|
}[];
|
|
170
|
+
text?: string | null | undefined;
|
|
165
171
|
};
|
|
166
172
|
} | {
|
|
167
173
|
type: "exit";
|
|
@@ -192,6 +198,7 @@ export declare const OutputSchema: z.ZodObject<{
|
|
|
192
198
|
url?: string | null | undefined;
|
|
193
199
|
};
|
|
194
200
|
}[];
|
|
201
|
+
text?: string | null | undefined;
|
|
195
202
|
};
|
|
196
203
|
} | {
|
|
197
204
|
type: "exit";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botonic/plugin-ai-agents",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.1-alpha.1",
|
|
4
4
|
"main": "./lib/cjs/index.js",
|
|
5
5
|
"module": "./lib/esm/index.js",
|
|
6
6
|
"description": "Use AI Agents to generate your contents",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"lint_core": "../../node_modules/.bin/eslint_d --cache --quiet 'src/**/*.ts*'"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@botonic/core": "
|
|
16
|
+
"@botonic/core": "0.41.1-alpha.0",
|
|
17
17
|
"@openai/agents": "^0.1.11",
|
|
18
18
|
"axios": "^1.12.2",
|
|
19
19
|
"openai": "^5.23.2",
|