@botpress/runtime 1.12.3 → 1.13.0
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/define-config.d.ts +39 -39
- package/dist/definition.js +338 -152
- package/dist/definition.js.map +4 -4
- package/dist/internal.js +326 -140
- package/dist/internal.js.map +4 -4
- package/dist/library.js +326 -140
- package/dist/library.js.map +4 -4
- package/dist/primitives/data-sources/source-base.d.ts +51 -51
- package/dist/primitives/data-sources/source-directory.d.ts +24 -24
- package/dist/primitives/data-sources/source-directory.d.ts.map +1 -1
- package/dist/primitives/data-sources/source-table.d.ts +25 -25
- package/dist/primitives/data-sources/source-website.d.ts +32 -32
- package/dist/primitives/index.d.ts +24 -24
- package/dist/primitives/workflow-instance.d.ts +4 -4
- package/dist/primitives/workflow.d.ts +3 -3
- package/dist/runtime/actions/computed-columns.d.ts +10 -10
- package/dist/runtime/actions/index.d.ts +10 -10
- package/dist/runtime/chat/components.d.ts +72 -101
- package/dist/runtime/chat/components.d.ts.map +1 -1
- package/dist/runtime/chat/transcript.d.ts +10 -10
- package/dist/runtime/events.d.ts +21 -21
- package/dist/runtime/tracked-state-schema.d.ts +7 -7
- package/dist/runtime/workflows/knowledge-indexing.d.ts +22 -22
- package/dist/runtime.js +326 -140
- package/dist/runtime.js.map +4 -4
- package/package.json +18 -18
package/dist/define-config.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Autonomous } from './runtime/autonomous';
|
|
2
2
|
import { z } from '@botpress/sdk';
|
|
3
3
|
import type { Dependencies } from './_types/dependencies';
|
|
4
|
-
declare const configSchema: import("@
|
|
5
|
-
name: import("@
|
|
6
|
-
description: import("@
|
|
7
|
-
user: import("@
|
|
8
|
-
state: import("@
|
|
9
|
-
tags: import("@
|
|
10
|
-
title: import("@
|
|
11
|
-
description: import("@
|
|
4
|
+
declare const configSchema: import("@bpinternal/zui").ZodObject<{
|
|
5
|
+
name: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodString>;
|
|
6
|
+
description: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodString>;
|
|
7
|
+
user: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodObject<{
|
|
8
|
+
state: import("@bpinternal/zui").ZodOptional<z.Schema<z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any>, import("@bpinternal/zui").ZodTypeDef, z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any>>>;
|
|
9
|
+
tags: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodRecord<import("@bpinternal/zui").ZodString, import("@bpinternal/zui").ZodObject<{
|
|
10
|
+
title: import("@bpinternal/zui").ZodString;
|
|
11
|
+
description: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodString>;
|
|
12
12
|
}, "strip", {
|
|
13
13
|
title: string;
|
|
14
14
|
description?: string | undefined;
|
|
@@ -17,23 +17,23 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
17
17
|
description?: string | undefined;
|
|
18
18
|
}>>>;
|
|
19
19
|
}, "strip", {
|
|
20
|
-
state?: z.Schema<any, import("@
|
|
20
|
+
state?: z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any> | undefined;
|
|
21
21
|
tags?: Record<string, {
|
|
22
22
|
title: string;
|
|
23
23
|
description?: string | undefined;
|
|
24
24
|
}> | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
state?: z.Schema<any, import("@
|
|
26
|
+
state?: z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any> | undefined;
|
|
27
27
|
tags?: Record<string, {
|
|
28
28
|
title: string;
|
|
29
29
|
description?: string | undefined;
|
|
30
30
|
}> | undefined;
|
|
31
31
|
}>>;
|
|
32
|
-
bot: import("@
|
|
33
|
-
state: import("@
|
|
34
|
-
tags: import("@
|
|
35
|
-
title: import("@
|
|
36
|
-
description: import("@
|
|
32
|
+
bot: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodObject<{
|
|
33
|
+
state: import("@bpinternal/zui").ZodOptional<z.Schema<z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any>, import("@bpinternal/zui").ZodTypeDef, z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any>>>;
|
|
34
|
+
tags: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodRecord<import("@bpinternal/zui").ZodString, import("@bpinternal/zui").ZodObject<{
|
|
35
|
+
title: import("@bpinternal/zui").ZodString;
|
|
36
|
+
description: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodString>;
|
|
37
37
|
}, "strip", {
|
|
38
38
|
title: string;
|
|
39
39
|
description?: string | undefined;
|
|
@@ -42,22 +42,22 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
42
42
|
description?: string | undefined;
|
|
43
43
|
}>>>;
|
|
44
44
|
}, "strip", {
|
|
45
|
-
state?: z.Schema<any, import("@
|
|
45
|
+
state?: z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any> | undefined;
|
|
46
46
|
tags?: Record<string, {
|
|
47
47
|
title: string;
|
|
48
48
|
description?: string | undefined;
|
|
49
49
|
}> | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
state?: z.Schema<any, import("@
|
|
51
|
+
state?: z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any> | undefined;
|
|
52
52
|
tags?: Record<string, {
|
|
53
53
|
title: string;
|
|
54
54
|
description?: string | undefined;
|
|
55
55
|
}> | undefined;
|
|
56
56
|
}>>;
|
|
57
|
-
conversation: import("@
|
|
58
|
-
tags: import("@
|
|
59
|
-
title: import("@
|
|
60
|
-
description: import("@
|
|
57
|
+
conversation: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodObject<{
|
|
58
|
+
tags: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodRecord<import("@bpinternal/zui").ZodString, import("@bpinternal/zui").ZodObject<{
|
|
59
|
+
title: import("@bpinternal/zui").ZodString;
|
|
60
|
+
description: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodString>;
|
|
61
61
|
}, "strip", {
|
|
62
62
|
title: string;
|
|
63
63
|
description?: string | undefined;
|
|
@@ -76,10 +76,10 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
76
76
|
description?: string | undefined;
|
|
77
77
|
}> | undefined;
|
|
78
78
|
}>>;
|
|
79
|
-
message: import("@
|
|
80
|
-
tags: import("@
|
|
81
|
-
title: import("@
|
|
82
|
-
description: import("@
|
|
79
|
+
message: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodObject<{
|
|
80
|
+
tags: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodRecord<import("@bpinternal/zui").ZodString, import("@bpinternal/zui").ZodObject<{
|
|
81
|
+
title: import("@bpinternal/zui").ZodString;
|
|
82
|
+
description: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodString>;
|
|
83
83
|
}, "strip", {
|
|
84
84
|
title: string;
|
|
85
85
|
description?: string | undefined;
|
|
@@ -98,10 +98,10 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
98
98
|
description?: string | undefined;
|
|
99
99
|
}> | undefined;
|
|
100
100
|
}>>;
|
|
101
|
-
workflow: import("@
|
|
102
|
-
tags: import("@
|
|
103
|
-
title: import("@
|
|
104
|
-
description: import("@
|
|
101
|
+
workflow: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodObject<{
|
|
102
|
+
tags: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodRecord<import("@bpinternal/zui").ZodString, import("@bpinternal/zui").ZodObject<{
|
|
103
|
+
title: import("@bpinternal/zui").ZodString;
|
|
104
|
+
description: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodString>;
|
|
105
105
|
}, "strip", {
|
|
106
106
|
title: string;
|
|
107
107
|
description?: string | undefined;
|
|
@@ -120,16 +120,16 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
120
120
|
description?: string | undefined;
|
|
121
121
|
}> | undefined;
|
|
122
122
|
}>>;
|
|
123
|
-
configuration: import("@
|
|
124
|
-
schema: z.Schema<z.ZodObject<any>, import("@
|
|
123
|
+
configuration: import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodObject<{
|
|
124
|
+
schema: z.Schema<z.ZodObject<any>, import("@bpinternal/zui").ZodTypeDef, z.ZodObject<any>>;
|
|
125
125
|
}, "strip", {
|
|
126
126
|
schema: z.ZodObject<any>;
|
|
127
127
|
}, {
|
|
128
128
|
schema: z.ZodObject<any>;
|
|
129
129
|
}>>;
|
|
130
|
-
defaultModels: z.ZodTransformer<import("@
|
|
131
|
-
zai: z.Schema<Autonomous.Model | Autonomous.Model[], import("@
|
|
132
|
-
autonomous: z.Schema<Autonomous.Model | Autonomous.Model[], import("@
|
|
130
|
+
defaultModels: z.ZodTransformer<import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodObject<{
|
|
131
|
+
zai: z.Schema<Autonomous.Model | Autonomous.Model[], import("@bpinternal/zui").ZodTypeDef, Autonomous.Model | Autonomous.Model[]>;
|
|
132
|
+
autonomous: z.Schema<Autonomous.Model | Autonomous.Model[], import("@bpinternal/zui").ZodTypeDef, Autonomous.Model | Autonomous.Model[]>;
|
|
133
133
|
}, "strip", {
|
|
134
134
|
zai: Autonomous.Model | Autonomous.Model[];
|
|
135
135
|
autonomous: Autonomous.Model | Autonomous.Model[];
|
|
@@ -143,7 +143,7 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
143
143
|
zai: Autonomous.Model | Autonomous.Model[];
|
|
144
144
|
autonomous: Autonomous.Model | Autonomous.Model[];
|
|
145
145
|
} | undefined>;
|
|
146
|
-
dependencies: z.Schema<Dependencies, import("@
|
|
146
|
+
dependencies: z.Schema<Dependencies, import("@bpinternal/zui").ZodTypeDef, Dependencies>;
|
|
147
147
|
}, "strip", {
|
|
148
148
|
defaultModels: {
|
|
149
149
|
zai: Autonomous.Model | Autonomous.Model[];
|
|
@@ -153,7 +153,7 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
153
153
|
description?: string | undefined;
|
|
154
154
|
name?: string | undefined;
|
|
155
155
|
user?: {
|
|
156
|
-
state?: z.Schema<any, import("@
|
|
156
|
+
state?: z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any> | undefined;
|
|
157
157
|
tags?: Record<string, {
|
|
158
158
|
title: string;
|
|
159
159
|
description?: string | undefined;
|
|
@@ -172,7 +172,7 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
172
172
|
}> | undefined;
|
|
173
173
|
} | undefined;
|
|
174
174
|
bot?: {
|
|
175
|
-
state?: z.Schema<any, import("@
|
|
175
|
+
state?: z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any> | undefined;
|
|
176
176
|
tags?: Record<string, {
|
|
177
177
|
title: string;
|
|
178
178
|
description?: string | undefined;
|
|
@@ -192,7 +192,7 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
192
192
|
description?: string | undefined;
|
|
193
193
|
name?: string | undefined;
|
|
194
194
|
user?: {
|
|
195
|
-
state?: z.Schema<any, import("@
|
|
195
|
+
state?: z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any> | undefined;
|
|
196
196
|
tags?: Record<string, {
|
|
197
197
|
title: string;
|
|
198
198
|
description?: string | undefined;
|
|
@@ -211,7 +211,7 @@ declare const configSchema: import("@botpress/sdk").ZodObject<{
|
|
|
211
211
|
}> | undefined;
|
|
212
212
|
} | undefined;
|
|
213
213
|
bot?: {
|
|
214
|
-
state?: z.Schema<any, import("@
|
|
214
|
+
state?: z.Schema<any, import("@bpinternal/zui").ZodTypeDef, any> | undefined;
|
|
215
215
|
tags?: Record<string, {
|
|
216
216
|
title: string;
|
|
217
217
|
description?: string | undefined;
|