@botonic/plugin-ai-agents 0.42.3 → 0.42.4

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.
@@ -29,20 +29,25 @@ export declare const OutputSchema: z.ZodObject<{
29
29
  text: z.ZodString;
30
30
  buttons: z.ZodArray<z.ZodObject<{
31
31
  text: z.ZodString;
32
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
33
  }, "strip", z.ZodTypeAny, {
33
34
  text: string;
35
+ url?: string | null | undefined;
34
36
  }, {
35
37
  text: string;
38
+ url?: string | null | undefined;
36
39
  }>, "many">;
37
40
  }, "strip", z.ZodTypeAny, {
38
41
  text: string;
39
42
  buttons: {
40
43
  text: string;
44
+ url?: string | null | undefined;
41
45
  }[];
42
46
  }, {
43
47
  text: string;
44
48
  buttons: {
45
49
  text: string;
50
+ url?: string | null | undefined;
46
51
  }[];
47
52
  }>;
48
53
  }, "strip", z.ZodTypeAny, {
@@ -51,6 +56,7 @@ export declare const OutputSchema: z.ZodObject<{
51
56
  text: string;
52
57
  buttons: {
53
58
  text: string;
59
+ url?: string | null | undefined;
54
60
  }[];
55
61
  };
56
62
  }, {
@@ -59,6 +65,7 @@ export declare const OutputSchema: z.ZodObject<{
59
65
  text: string;
60
66
  buttons: {
61
67
  text: string;
68
+ url?: string | null | undefined;
62
69
  }[];
63
70
  };
64
71
  }>, z.ZodObject<{
@@ -182,6 +189,7 @@ export declare const OutputSchema: z.ZodObject<{
182
189
  text: string;
183
190
  buttons: {
184
191
  text: string;
192
+ url?: string | null | undefined;
185
193
  }[];
186
194
  };
187
195
  })[];
@@ -213,6 +221,7 @@ export declare const OutputSchema: z.ZodObject<{
213
221
  text: string;
214
222
  buttons: {
215
223
  text: string;
224
+ url?: string | null | undefined;
216
225
  }[];
217
226
  };
218
227
  })[];
@@ -7,20 +7,25 @@ export declare const TextWithButtonsSchema: z.ZodObject<{
7
7
  text: z.ZodString;
8
8
  buttons: z.ZodArray<z.ZodObject<{
9
9
  text: z.ZodString;
10
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  text: string;
13
+ url?: string | null | undefined;
12
14
  }, {
13
15
  text: string;
16
+ url?: string | null | undefined;
14
17
  }>, "many">;
15
18
  }, "strip", z.ZodTypeAny, {
16
19
  text: string;
17
20
  buttons: {
18
21
  text: string;
22
+ url?: string | null | undefined;
19
23
  }[];
20
24
  }, {
21
25
  text: string;
22
26
  buttons: {
23
27
  text: string;
28
+ url?: string | null | undefined;
24
29
  }[];
25
30
  }>;
26
31
  }, "strip", z.ZodTypeAny, {
@@ -29,6 +34,7 @@ export declare const TextWithButtonsSchema: z.ZodObject<{
29
34
  text: string;
30
35
  buttons: {
31
36
  text: string;
37
+ url?: string | null | undefined;
32
38
  }[];
33
39
  };
34
40
  }, {
@@ -37,6 +43,7 @@ export declare const TextWithButtonsSchema: z.ZodObject<{
37
43
  text: string;
38
44
  buttons: {
39
45
  text: string;
46
+ url?: string | null | undefined;
40
47
  }[];
41
48
  };
42
49
  }>;
@@ -10,6 +10,7 @@ exports.TextWithButtonsSchema = zod_1.default
10
10
  text: zod_1.default.string(),
11
11
  buttons: zod_1.default.array(zod_1.default.object({
12
12
  text: zod_1.default.string(),
13
+ url: zod_1.default.string().nullable().optional(),
13
14
  })),
14
15
  }),
15
16
  })
@@ -1 +1 @@
1
- {"version":3,"file":"text-with-buttons.js","sourceRoot":"","sources":["../../../src/structured-output/text-with-buttons.ts"],"names":[],"mappings":";;;;AACA,sDAAmB;AAIN,QAAA,qBAAqB,GAAG,aAAC;KACnC,MAAM,CAAC;IACN,IAAI,EAAE,aAAC,CAAC,IAAI,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACjC,OAAO,EAAE,aAAC,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,aAAC,CAAC,KAAK,CACd,aAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;SACjB,CAAC,CACH;KACF,CAAC;CACH,CAAC;KACD,QAAQ,CACP,oEAAoE,CACrE,CAAA"}
1
+ {"version":3,"file":"text-with-buttons.js","sourceRoot":"","sources":["../../../src/structured-output/text-with-buttons.ts"],"names":[],"mappings":";;;;AACA,sDAAmB;AAIN,QAAA,qBAAqB,GAAG,aAAC;KACnC,MAAM,CAAC;IACN,IAAI,EAAE,aAAC,CAAC,IAAI,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACjC,OAAO,EAAE,aAAC,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,aAAC,CAAC,KAAK,CACd,aAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;YAChB,GAAG,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SACtC,CAAC,CACH;KACF,CAAC;CACH,CAAC;KACD,QAAQ,CACP,oEAAoE,CACrE,CAAA"}
@@ -29,20 +29,25 @@ export declare const OutputSchema: z.ZodObject<{
29
29
  text: z.ZodString;
30
30
  buttons: z.ZodArray<z.ZodObject<{
31
31
  text: z.ZodString;
32
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
33
  }, "strip", z.ZodTypeAny, {
33
34
  text: string;
35
+ url?: string | null | undefined;
34
36
  }, {
35
37
  text: string;
38
+ url?: string | null | undefined;
36
39
  }>, "many">;
37
40
  }, "strip", z.ZodTypeAny, {
38
41
  text: string;
39
42
  buttons: {
40
43
  text: string;
44
+ url?: string | null | undefined;
41
45
  }[];
42
46
  }, {
43
47
  text: string;
44
48
  buttons: {
45
49
  text: string;
50
+ url?: string | null | undefined;
46
51
  }[];
47
52
  }>;
48
53
  }, "strip", z.ZodTypeAny, {
@@ -51,6 +56,7 @@ export declare const OutputSchema: z.ZodObject<{
51
56
  text: string;
52
57
  buttons: {
53
58
  text: string;
59
+ url?: string | null | undefined;
54
60
  }[];
55
61
  };
56
62
  }, {
@@ -59,6 +65,7 @@ export declare const OutputSchema: z.ZodObject<{
59
65
  text: string;
60
66
  buttons: {
61
67
  text: string;
68
+ url?: string | null | undefined;
62
69
  }[];
63
70
  };
64
71
  }>, z.ZodObject<{
@@ -182,6 +189,7 @@ export declare const OutputSchema: z.ZodObject<{
182
189
  text: string;
183
190
  buttons: {
184
191
  text: string;
192
+ url?: string | null | undefined;
185
193
  }[];
186
194
  };
187
195
  })[];
@@ -213,6 +221,7 @@ export declare const OutputSchema: z.ZodObject<{
213
221
  text: string;
214
222
  buttons: {
215
223
  text: string;
224
+ url?: string | null | undefined;
216
225
  }[];
217
226
  };
218
227
  })[];
@@ -7,20 +7,25 @@ export declare const TextWithButtonsSchema: z.ZodObject<{
7
7
  text: z.ZodString;
8
8
  buttons: z.ZodArray<z.ZodObject<{
9
9
  text: z.ZodString;
10
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  text: string;
13
+ url?: string | null | undefined;
12
14
  }, {
13
15
  text: string;
16
+ url?: string | null | undefined;
14
17
  }>, "many">;
15
18
  }, "strip", z.ZodTypeAny, {
16
19
  text: string;
17
20
  buttons: {
18
21
  text: string;
22
+ url?: string | null | undefined;
19
23
  }[];
20
24
  }, {
21
25
  text: string;
22
26
  buttons: {
23
27
  text: string;
28
+ url?: string | null | undefined;
24
29
  }[];
25
30
  }>;
26
31
  }, "strip", z.ZodTypeAny, {
@@ -29,6 +34,7 @@ export declare const TextWithButtonsSchema: z.ZodObject<{
29
34
  text: string;
30
35
  buttons: {
31
36
  text: string;
37
+ url?: string | null | undefined;
32
38
  }[];
33
39
  };
34
40
  }, {
@@ -37,6 +43,7 @@ export declare const TextWithButtonsSchema: z.ZodObject<{
37
43
  text: string;
38
44
  buttons: {
39
45
  text: string;
46
+ url?: string | null | undefined;
40
47
  }[];
41
48
  };
42
49
  }>;
@@ -6,6 +6,7 @@ export const TextWithButtonsSchema = z
6
6
  text: z.string(),
7
7
  buttons: z.array(z.object({
8
8
  text: z.string(),
9
+ url: z.string().nullable().optional(),
9
10
  })),
10
11
  }),
11
12
  })
@@ -1 +1 @@
1
- {"version":3,"file":"text-with-buttons.js","sourceRoot":"","sources":["../../../src/structured-output/text-with-buttons.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAA;AAInB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;SACjB,CAAC,CACH;KACF,CAAC;CACH,CAAC;KACD,QAAQ,CACP,oEAAoE,CACrE,CAAA"}
1
+ {"version":3,"file":"text-with-buttons.js","sourceRoot":"","sources":["../../../src/structured-output/text-with-buttons.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAA;AAInB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;YAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SACtC,CAAC,CACH;KACF,CAAC;CACH,CAAC;KACD,QAAQ,CACP,oEAAoE,CACrE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botonic/plugin-ai-agents",
3
- "version": "0.42.3",
3
+ "version": "0.42.4",
4
4
  "main": "./lib/cjs/index.js",
5
5
  "module": "./lib/esm/index.js",
6
6
  "description": "Use AI Agents to generate your contents",
@@ -11,6 +11,7 @@ export const TextWithButtonsSchema = z
11
11
  buttons: z.array(
12
12
  z.object({
13
13
  text: z.string(),
14
+ url: z.string().nullable().optional(),
14
15
  })
15
16
  ),
16
17
  }),