@botpress/runtime 1.12.4 → 1.13.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/dist/define-config.d.ts +39 -39
- package/dist/definition.js +362 -155
- package/dist/definition.js.map +4 -4
- package/dist/internal.js +350 -143
- package/dist/internal.js.map +4 -4
- package/dist/library.js +350 -143
- package/dist/library.js.map +4 -4
- package/dist/primitives/conversation-instance.d.ts +7 -1
- package/dist/primitives/conversation-instance.d.ts.map +1 -1
- 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/handlers/conversation.d.ts.map +1 -1
- package/dist/runtime/handlers/event.d.ts.map +1 -1
- package/dist/runtime/tracked-state-schema.d.ts +7 -7
- package/dist/runtime/workflows/knowledge-indexing.d.ts +22 -22
- package/dist/runtime.js +370 -145
- package/dist/runtime.js.map +4 -4
- package/package.json +18 -18
|
@@ -3,10 +3,10 @@ import { BaseWorkflow } from '../../primitives/workflow';
|
|
|
3
3
|
* Built-in workflow for orchestrating knowledge base data source synchronization
|
|
4
4
|
* This workflow triggers sync workflows for all data sources in a knowledge base
|
|
5
5
|
*/
|
|
6
|
-
export declare const KnowledgeIndexingWorkflow: BaseWorkflow<"builtin_knowledge_indexing", import("@
|
|
7
|
-
kbName: import("@
|
|
8
|
-
kbId: import("@
|
|
9
|
-
force: import("@
|
|
6
|
+
export declare const KnowledgeIndexingWorkflow: BaseWorkflow<"builtin_knowledge_indexing", import("@bpinternal/zui").ZodObject<{
|
|
7
|
+
kbName: import("@bpinternal/zui").ZodString;
|
|
8
|
+
kbId: import("@bpinternal/zui").ZodString;
|
|
9
|
+
force: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodBoolean>>;
|
|
10
10
|
}, "strip", {
|
|
11
11
|
kbId: string;
|
|
12
12
|
kbName: string;
|
|
@@ -15,13 +15,13 @@ export declare const KnowledgeIndexingWorkflow: BaseWorkflow<"builtin_knowledge_
|
|
|
15
15
|
kbId: string;
|
|
16
16
|
kbName: string;
|
|
17
17
|
force?: boolean | undefined;
|
|
18
|
-
}>, import("@
|
|
19
|
-
processed: import("@
|
|
20
|
-
added: import("@
|
|
21
|
-
file: import("@
|
|
22
|
-
name: import("@
|
|
23
|
-
hash: import("@
|
|
24
|
-
size: import("@
|
|
18
|
+
}>, import("@bpinternal/zui").ZodObject<{
|
|
19
|
+
processed: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodNumber>;
|
|
20
|
+
added: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodObject<{
|
|
21
|
+
file: import("@bpinternal/zui").ZodString;
|
|
22
|
+
name: import("@bpinternal/zui").ZodString;
|
|
23
|
+
hash: import("@bpinternal/zui").ZodString;
|
|
24
|
+
size: import("@bpinternal/zui").ZodNumber;
|
|
25
25
|
}, "strip", {
|
|
26
26
|
name: string;
|
|
27
27
|
size: number;
|
|
@@ -33,11 +33,11 @@ export declare const KnowledgeIndexingWorkflow: BaseWorkflow<"builtin_knowledge_
|
|
|
33
33
|
hash: string;
|
|
34
34
|
file: string;
|
|
35
35
|
}>, "many">>;
|
|
36
|
-
updated: import("@
|
|
37
|
-
file: import("@
|
|
38
|
-
name: import("@
|
|
39
|
-
hash: import("@
|
|
40
|
-
size: import("@
|
|
36
|
+
updated: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodObject<{
|
|
37
|
+
file: import("@bpinternal/zui").ZodString;
|
|
38
|
+
name: import("@bpinternal/zui").ZodString;
|
|
39
|
+
hash: import("@bpinternal/zui").ZodString;
|
|
40
|
+
size: import("@bpinternal/zui").ZodNumber;
|
|
41
41
|
}, "strip", {
|
|
42
42
|
name: string;
|
|
43
43
|
size: number;
|
|
@@ -49,11 +49,11 @@ export declare const KnowledgeIndexingWorkflow: BaseWorkflow<"builtin_knowledge_
|
|
|
49
49
|
hash: string;
|
|
50
50
|
file: string;
|
|
51
51
|
}>, "many">>;
|
|
52
|
-
deleted: import("@
|
|
53
|
-
file: import("@
|
|
54
|
-
name: import("@
|
|
55
|
-
hash: import("@
|
|
56
|
-
size: import("@
|
|
52
|
+
deleted: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodObject<{
|
|
53
|
+
file: import("@bpinternal/zui").ZodString;
|
|
54
|
+
name: import("@bpinternal/zui").ZodString;
|
|
55
|
+
hash: import("@bpinternal/zui").ZodString;
|
|
56
|
+
size: import("@bpinternal/zui").ZodNumber;
|
|
57
57
|
}, "strip", {
|
|
58
58
|
name: string;
|
|
59
59
|
size: number;
|
|
@@ -65,7 +65,7 @@ export declare const KnowledgeIndexingWorkflow: BaseWorkflow<"builtin_knowledge_
|
|
|
65
65
|
hash: string;
|
|
66
66
|
file: string;
|
|
67
67
|
}>, "many">>;
|
|
68
|
-
errors: import("@
|
|
68
|
+
errors: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodString, "many">>;
|
|
69
69
|
}, "strip", {
|
|
70
70
|
processed: number;
|
|
71
71
|
added: {
|