@botpress/cli 6.8.12 → 7.0.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/.turbo/turbo-build.log +12 -12
- package/dist/api/retry.js +1 -1
- package/dist/api/retry.js.map +2 -2
- package/dist/command-implementations/global-command.d.ts +1 -9
- package/dist/tables/schemas.d.ts +19 -621
- package/dist/worker/config.d.ts +2 -18
- package/package.json +4 -4
- package/templates/empty-bot/package.json +2 -2
- package/templates/empty-integration/package.json +2 -2
- package/templates/empty-plugin/package.json +1 -1
- package/templates/hello-world/package.json +2 -2
- package/templates/webhook-message/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/cli@
|
|
2
|
+
> @botpress/cli@7.0.0 build /home/runner/work/botpress/botpress/packages/cli
|
|
3
3
|
> pnpm run build:types && pnpm run bundle && pnpm run template:gen
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @botpress/cli@
|
|
6
|
+
> @botpress/cli@7.0.0 build:types /home/runner/work/botpress/botpress/packages/cli
|
|
7
7
|
> tsc -p ./tsconfig.build.json
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
> @botpress/cli@
|
|
10
|
+
> @botpress/cli@7.0.0 bundle /home/runner/work/botpress/botpress/packages/cli
|
|
11
11
|
> ts-node -T build.ts
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
> @botpress/cli@
|
|
14
|
+
> @botpress/cli@7.0.0 template:gen /home/runner/work/botpress/botpress/packages/cli
|
|
15
15
|
> pnpm -r --stream -F @bp-templates/* exec bp gen
|
|
16
16
|
|
|
17
|
-
🤖 Botpress CLI
|
|
17
|
+
🤖 Botpress CLI v7.0.0
|
|
18
18
|
● Checking if cli is up to date
|
|
19
|
-
🤖 Botpress CLI
|
|
19
|
+
🤖 Botpress CLI v7.0.0
|
|
20
20
|
● Checking if cli is up to date
|
|
21
|
-
🤖 Botpress CLI
|
|
21
|
+
🤖 Botpress CLI v7.0.0
|
|
22
22
|
● Checking if cli is up to date
|
|
23
|
-
🤖 Botpress CLI
|
|
23
|
+
🤖 Botpress CLI v7.0.0
|
|
24
24
|
● Checking if cli is up to date
|
|
25
25
|
● Checking if sdk is up to date
|
|
26
26
|
● Checking if sdk is up to date
|
|
27
27
|
● Checking if sdk is up to date
|
|
28
28
|
● Checking if sdk is up to date
|
|
29
|
-
○ Generating typings for
|
|
30
|
-
○ Generating typings for integration empty-integration...
|
|
29
|
+
○ Generating typings for bot...
|
|
31
30
|
✓ Typings available at .botpress
|
|
32
31
|
|
|
33
32
|
○ Generating typings for plugin empty-plugin...
|
|
34
33
|
✓ Typings available at .botpress
|
|
35
34
|
|
|
36
|
-
○ Generating typings for
|
|
35
|
+
○ Generating typings for integration empty-integration...
|
|
37
36
|
✓ Typings available at .botpress
|
|
38
37
|
|
|
38
|
+
○ Generating typings for integration hello-world...
|
|
39
39
|
✓ Typings available at .botpress
|
|
40
40
|
|
|
41
|
-
🤖 Botpress CLI
|
|
41
|
+
🤖 Botpress CLI v7.0.0
|
|
42
42
|
● Checking if cli is up to date
|
|
43
43
|
● Checking if sdk is up to date
|
|
44
44
|
○ Generating typings for integration webhook-message...
|
package/dist/api/retry.js
CHANGED
|
@@ -57,7 +57,7 @@ function getRetryAfterMs(error) {
|
|
|
57
57
|
}
|
|
58
58
|
const config = {
|
|
59
59
|
retries: 3,
|
|
60
|
-
retryCondition: (err) => client.
|
|
60
|
+
retryCondition: (err) => client.http.isNetworkOrIdempotentRequestError(err) || HTTP_STATUS_TO_RETRY_ON.includes(err.response?.status ?? 0),
|
|
61
61
|
retryDelay: (retryCount, error) => {
|
|
62
62
|
if (error?.response?.status === 429) {
|
|
63
63
|
const retryAfterMs = getRetryAfterMs(error);
|
package/dist/api/retry.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/api/retry.ts"],
|
|
4
|
-
"sourcesContent": ["import * as client from '@botpress/client'\n\n// TODO: we probably shouldnt retry on 500 errors, but this is a temporary fix for the botpress repo CI\nconst HTTP_STATUS_TO_RETRY_ON = [429, 500, 502, 503, 504]\n\nfunction getRetryAfterMs(error: Parameters<NonNullable<client.RetryConfig['retryDelay']>>[1]): number | undefined {\n const headers = error?.response?.headers\n if (!headers) return undefined\n\n const headerNames = ['retry-after', 'ratelimit-reset', 'x-ratelimit-reset']\n for (const name of headerNames) {\n const raw = headers[name]\n if (!raw) continue\n const value = String(raw)\n\n // HTTP-date format (e.g. \"Mon, 28 Apr 2026 12:00:00 GMT\")\n if (value.includes(' ')) {\n const futureDate = new Date(value)\n if (!isNaN(futureDate.getTime())) {\n return Math.max(0, futureDate.getTime() - Date.now())\n }\n continue\n }\n\n // Seconds format (e.g. \"120\")\n const seconds = parseInt(value, 10)\n if (!isNaN(seconds) && seconds >= 0) {\n return seconds * 1000\n }\n }\n return undefined\n}\n\nexport const config: client.RetryConfig = {\n retries: 3,\n retryCondition: (err) =>\n client.
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAAwB;AAGxB,MAAM,0BAA0B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG;AAExD,SAAS,gBAAgB,OAAyF;AAChH,QAAM,UAAU,OAAO,UAAU;AACjC,MAAI,CAAC,QAAS,QAAO;AAErB,QAAM,cAAc,CAAC,eAAe,mBAAmB,mBAAmB;AAC1E,aAAW,QAAQ,aAAa;AAC9B,UAAM,MAAM,QAAQ,IAAI;AACxB,QAAI,CAAC,IAAK;AACV,UAAM,QAAQ,OAAO,GAAG;AAGxB,QAAI,MAAM,SAAS,GAAG,GAAG;AACvB,YAAM,aAAa,IAAI,KAAK,KAAK;AACjC,UAAI,CAAC,MAAM,WAAW,QAAQ,CAAC,GAAG;AAChC,eAAO,KAAK,IAAI,GAAG,WAAW,QAAQ,IAAI,KAAK,IAAI,CAAC;AAAA,MACtD;AACA;AAAA,IACF;AAGA,UAAM,UAAU,SAAS,OAAO,EAAE;AAClC,QAAI,CAAC,MAAM,OAAO,KAAK,WAAW,GAAG;AACnC,aAAO,UAAU;AAAA,IACnB;AAAA,EACF;AACA,SAAO;AACT;AAEO,MAAM,SAA6B;AAAA,EACxC,SAAS;AAAA,EACT,gBAAgB,CAAC,QACf,OAAO,
|
|
4
|
+
"sourcesContent": ["import * as client from '@botpress/client'\n\n// TODO: we probably shouldnt retry on 500 errors, but this is a temporary fix for the botpress repo CI\nconst HTTP_STATUS_TO_RETRY_ON = [429, 500, 502, 503, 504]\n\nfunction getRetryAfterMs(error: Parameters<NonNullable<client.RetryConfig['retryDelay']>>[1]): number | undefined {\n const headers = error?.response?.headers\n if (!headers) return undefined\n\n const headerNames = ['retry-after', 'ratelimit-reset', 'x-ratelimit-reset']\n for (const name of headerNames) {\n const raw = headers[name]\n if (!raw) continue\n const value = String(raw)\n\n // HTTP-date format (e.g. \"Mon, 28 Apr 2026 12:00:00 GMT\")\n if (value.includes(' ')) {\n const futureDate = new Date(value)\n if (!isNaN(futureDate.getTime())) {\n return Math.max(0, futureDate.getTime() - Date.now())\n }\n continue\n }\n\n // Seconds format (e.g. \"120\")\n const seconds = parseInt(value, 10)\n if (!isNaN(seconds) && seconds >= 0) {\n return seconds * 1000\n }\n }\n return undefined\n}\n\nexport const config: client.RetryConfig = {\n retries: 3,\n retryCondition: (err) =>\n client.http.isNetworkOrIdempotentRequestError(err) || HTTP_STATUS_TO_RETRY_ON.includes(err.response?.status ?? 0),\n retryDelay: (retryCount, error) => {\n if (error?.response?.status === 429) {\n const retryAfterMs = getRetryAfterMs(error)\n if (retryAfterMs !== undefined) {\n return retryAfterMs\n }\n }\n return Math.max(retryCount, 1) * 1000\n },\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAAwB;AAGxB,MAAM,0BAA0B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG;AAExD,SAAS,gBAAgB,OAAyF;AAChH,QAAM,UAAU,OAAO,UAAU;AACjC,MAAI,CAAC,QAAS,QAAO;AAErB,QAAM,cAAc,CAAC,eAAe,mBAAmB,mBAAmB;AAC1E,aAAW,QAAQ,aAAa;AAC9B,UAAM,MAAM,QAAQ,IAAI;AACxB,QAAI,CAAC,IAAK;AACV,UAAM,QAAQ,OAAO,GAAG;AAGxB,QAAI,MAAM,SAAS,GAAG,GAAG;AACvB,YAAM,aAAa,IAAI,KAAK,KAAK;AACjC,UAAI,CAAC,MAAM,WAAW,QAAQ,CAAC,GAAG;AAChC,eAAO,KAAK,IAAI,GAAG,WAAW,QAAQ,IAAI,KAAK,IAAI,CAAC;AAAA,MACtD;AACA;AAAA,IACF;AAGA,UAAM,UAAU,SAAS,OAAO,EAAE;AAClC,QAAI,CAAC,MAAM,OAAO,KAAK,WAAW,GAAG;AACnC,aAAO,UAAU;AAAA,IACnB;AAAA,EACF;AACA,SAAO;AACT;AAEO,MAAM,SAA6B;AAAA,EACxC,SAAS;AAAA,EACT,gBAAgB,CAAC,QACf,OAAO,KAAK,kCAAkC,GAAG,KAAK,wBAAwB,SAAS,IAAI,UAAU,UAAU,CAAC;AAAA,EAClH,YAAY,CAAC,YAAY,UAAU;AACjC,QAAI,OAAO,UAAU,WAAW,KAAK;AACnC,YAAM,eAAe,gBAAgB,KAAK;AAC1C,UAAI,iBAAiB,QAAW;AAC9B,eAAO;AAAA,MACT;AAAA,IACF;AACA,WAAO,KAAK,IAAI,YAAY,CAAC,IAAI;AAAA,EACnC;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -24,15 +24,7 @@ declare const profileCredentialSchema: z.ZodObject<{
|
|
|
24
24
|
apiUrl: z.ZodString;
|
|
25
25
|
workspaceId: z.ZodString;
|
|
26
26
|
token: z.ZodString;
|
|
27
|
-
}, "strip"
|
|
28
|
-
apiUrl: string;
|
|
29
|
-
workspaceId: string;
|
|
30
|
-
token: string;
|
|
31
|
-
}, {
|
|
32
|
-
apiUrl: string;
|
|
33
|
-
workspaceId: string;
|
|
34
|
-
token: string;
|
|
35
|
-
}>;
|
|
27
|
+
}, "strip">;
|
|
36
28
|
export type ProfileCredentials = z.infer<typeof profileCredentialSchema>;
|
|
37
29
|
declare class GlobalPaths extends utils.path.PathStore<keyof AllGlobalPaths> {
|
|
38
30
|
constructor(argv: CommandArgv<GlobalCommandDefinition>);
|
package/dist/tables/schemas.d.ts
CHANGED
|
@@ -23,130 +23,12 @@ export declare const columnSchema: sdk.z.ZodDiscriminatedUnion<"type", [sdk.z.Zo
|
|
|
23
23
|
model: sdk.z.ZodOptional<sdk.z.ZodDefault<sdk.z.ZodString>>;
|
|
24
24
|
workflowId: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
25
25
|
enabled: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
26
|
-
}, "strip"
|
|
27
|
-
|
|
28
|
-
action: "code" | "workflow" | "ai";
|
|
29
|
-
code?: string | undefined;
|
|
30
|
-
prompt?: string | undefined;
|
|
31
|
-
model?: string | undefined;
|
|
32
|
-
workflowId?: string | undefined;
|
|
33
|
-
enabled?: boolean | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
action: "code" | "workflow" | "ai";
|
|
36
|
-
code?: string | undefined;
|
|
37
|
-
dependencies?: string[] | undefined;
|
|
38
|
-
prompt?: string | undefined;
|
|
39
|
-
model?: string | undefined;
|
|
40
|
-
workflowId?: string | undefined;
|
|
41
|
-
enabled?: boolean | undefined;
|
|
42
|
-
}>>;
|
|
43
|
-
}, "passthrough", {
|
|
44
|
-
[k: string]: unknown;
|
|
45
|
-
} & {
|
|
46
|
-
hidden?: boolean | undefined;
|
|
47
|
-
index?: number | undefined;
|
|
48
|
-
title?: string | undefined;
|
|
49
|
-
typings?: string | undefined;
|
|
50
|
-
searchable?: boolean | undefined;
|
|
51
|
-
order?: number | undefined;
|
|
52
|
-
width?: number | undefined;
|
|
53
|
-
schemaId?: string | undefined;
|
|
54
|
-
computed?: {
|
|
55
|
-
dependencies: string[];
|
|
56
|
-
action: "code" | "workflow" | "ai";
|
|
57
|
-
code?: string | undefined;
|
|
58
|
-
prompt?: string | undefined;
|
|
59
|
-
model?: string | undefined;
|
|
60
|
-
workflowId?: string | undefined;
|
|
61
|
-
enabled?: boolean | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
hidden?: boolean | undefined;
|
|
65
|
-
index?: number | undefined;
|
|
66
|
-
title?: string | undefined;
|
|
67
|
-
typings?: string | undefined;
|
|
68
|
-
searchable?: boolean | undefined;
|
|
69
|
-
order?: number | undefined;
|
|
70
|
-
width?: number | undefined;
|
|
71
|
-
schemaId?: string | undefined;
|
|
72
|
-
computed?: {
|
|
73
|
-
action: "code" | "workflow" | "ai";
|
|
74
|
-
code?: string | undefined;
|
|
75
|
-
dependencies?: string[] | undefined;
|
|
76
|
-
prompt?: string | undefined;
|
|
77
|
-
model?: string | undefined;
|
|
78
|
-
workflowId?: string | undefined;
|
|
79
|
-
enabled?: boolean | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
} & {
|
|
82
|
-
[k: string]: unknown;
|
|
83
|
-
}>>;
|
|
26
|
+
}, "strip">>;
|
|
27
|
+
}, "passthrough">>;
|
|
84
28
|
nullable: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
85
29
|
description: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
86
30
|
default: sdk.z.ZodOptional<sdk.z.ZodAny>;
|
|
87
|
-
}, "strip"
|
|
88
|
-
type: "string";
|
|
89
|
-
default?: any;
|
|
90
|
-
description?: string | undefined;
|
|
91
|
-
format?: string | undefined;
|
|
92
|
-
pattern?: string | undefined;
|
|
93
|
-
enum?: string[] | undefined;
|
|
94
|
-
minLength?: number | undefined;
|
|
95
|
-
maxLength?: number | undefined;
|
|
96
|
-
'x-zui'?: ({
|
|
97
|
-
[k: string]: unknown;
|
|
98
|
-
} & {
|
|
99
|
-
hidden?: boolean | undefined;
|
|
100
|
-
index?: number | undefined;
|
|
101
|
-
title?: string | undefined;
|
|
102
|
-
typings?: string | undefined;
|
|
103
|
-
searchable?: boolean | undefined;
|
|
104
|
-
order?: number | undefined;
|
|
105
|
-
width?: number | undefined;
|
|
106
|
-
schemaId?: string | undefined;
|
|
107
|
-
computed?: {
|
|
108
|
-
dependencies: string[];
|
|
109
|
-
action: "code" | "workflow" | "ai";
|
|
110
|
-
code?: string | undefined;
|
|
111
|
-
prompt?: string | undefined;
|
|
112
|
-
model?: string | undefined;
|
|
113
|
-
workflowId?: string | undefined;
|
|
114
|
-
enabled?: boolean | undefined;
|
|
115
|
-
} | undefined;
|
|
116
|
-
}) | undefined;
|
|
117
|
-
nullable?: boolean | undefined;
|
|
118
|
-
}, {
|
|
119
|
-
type: "string";
|
|
120
|
-
default?: any;
|
|
121
|
-
description?: string | undefined;
|
|
122
|
-
format?: string | undefined;
|
|
123
|
-
pattern?: string | undefined;
|
|
124
|
-
enum?: string[] | undefined;
|
|
125
|
-
minLength?: number | undefined;
|
|
126
|
-
maxLength?: number | undefined;
|
|
127
|
-
'x-zui'?: ({
|
|
128
|
-
hidden?: boolean | undefined;
|
|
129
|
-
index?: number | undefined;
|
|
130
|
-
title?: string | undefined;
|
|
131
|
-
typings?: string | undefined;
|
|
132
|
-
searchable?: boolean | undefined;
|
|
133
|
-
order?: number | undefined;
|
|
134
|
-
width?: number | undefined;
|
|
135
|
-
schemaId?: string | undefined;
|
|
136
|
-
computed?: {
|
|
137
|
-
action: "code" | "workflow" | "ai";
|
|
138
|
-
code?: string | undefined;
|
|
139
|
-
dependencies?: string[] | undefined;
|
|
140
|
-
prompt?: string | undefined;
|
|
141
|
-
model?: string | undefined;
|
|
142
|
-
workflowId?: string | undefined;
|
|
143
|
-
enabled?: boolean | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
} & {
|
|
146
|
-
[k: string]: unknown;
|
|
147
|
-
}) | undefined;
|
|
148
|
-
nullable?: boolean | undefined;
|
|
149
|
-
}>, sdk.z.ZodObject<{
|
|
31
|
+
}, "strip">, sdk.z.ZodObject<{
|
|
150
32
|
type: sdk.z.ZodLiteral<"number">;
|
|
151
33
|
minimum: sdk.z.ZodOptional<sdk.z.ZodNumber>;
|
|
152
34
|
maximum: sdk.z.ZodOptional<sdk.z.ZodNumber>;
|
|
@@ -167,124 +49,12 @@ export declare const columnSchema: sdk.z.ZodDiscriminatedUnion<"type", [sdk.z.Zo
|
|
|
167
49
|
model: sdk.z.ZodOptional<sdk.z.ZodDefault<sdk.z.ZodString>>;
|
|
168
50
|
workflowId: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
169
51
|
enabled: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
170
|
-
}, "strip"
|
|
171
|
-
|
|
172
|
-
action: "code" | "workflow" | "ai";
|
|
173
|
-
code?: string | undefined;
|
|
174
|
-
prompt?: string | undefined;
|
|
175
|
-
model?: string | undefined;
|
|
176
|
-
workflowId?: string | undefined;
|
|
177
|
-
enabled?: boolean | undefined;
|
|
178
|
-
}, {
|
|
179
|
-
action: "code" | "workflow" | "ai";
|
|
180
|
-
code?: string | undefined;
|
|
181
|
-
dependencies?: string[] | undefined;
|
|
182
|
-
prompt?: string | undefined;
|
|
183
|
-
model?: string | undefined;
|
|
184
|
-
workflowId?: string | undefined;
|
|
185
|
-
enabled?: boolean | undefined;
|
|
186
|
-
}>>;
|
|
187
|
-
}, "passthrough", {
|
|
188
|
-
[k: string]: unknown;
|
|
189
|
-
} & {
|
|
190
|
-
hidden?: boolean | undefined;
|
|
191
|
-
index?: number | undefined;
|
|
192
|
-
title?: string | undefined;
|
|
193
|
-
typings?: string | undefined;
|
|
194
|
-
searchable?: boolean | undefined;
|
|
195
|
-
order?: number | undefined;
|
|
196
|
-
width?: number | undefined;
|
|
197
|
-
schemaId?: string | undefined;
|
|
198
|
-
computed?: {
|
|
199
|
-
dependencies: string[];
|
|
200
|
-
action: "code" | "workflow" | "ai";
|
|
201
|
-
code?: string | undefined;
|
|
202
|
-
prompt?: string | undefined;
|
|
203
|
-
model?: string | undefined;
|
|
204
|
-
workflowId?: string | undefined;
|
|
205
|
-
enabled?: boolean | undefined;
|
|
206
|
-
} | undefined;
|
|
207
|
-
}, {
|
|
208
|
-
hidden?: boolean | undefined;
|
|
209
|
-
index?: number | undefined;
|
|
210
|
-
title?: string | undefined;
|
|
211
|
-
typings?: string | undefined;
|
|
212
|
-
searchable?: boolean | undefined;
|
|
213
|
-
order?: number | undefined;
|
|
214
|
-
width?: number | undefined;
|
|
215
|
-
schemaId?: string | undefined;
|
|
216
|
-
computed?: {
|
|
217
|
-
action: "code" | "workflow" | "ai";
|
|
218
|
-
code?: string | undefined;
|
|
219
|
-
dependencies?: string[] | undefined;
|
|
220
|
-
prompt?: string | undefined;
|
|
221
|
-
model?: string | undefined;
|
|
222
|
-
workflowId?: string | undefined;
|
|
223
|
-
enabled?: boolean | undefined;
|
|
224
|
-
} | undefined;
|
|
225
|
-
} & {
|
|
226
|
-
[k: string]: unknown;
|
|
227
|
-
}>>;
|
|
52
|
+
}, "strip">>;
|
|
53
|
+
}, "passthrough">>;
|
|
228
54
|
nullable: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
229
55
|
description: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
230
56
|
default: sdk.z.ZodOptional<sdk.z.ZodAny>;
|
|
231
|
-
}, "strip"
|
|
232
|
-
type: "number";
|
|
233
|
-
default?: any;
|
|
234
|
-
description?: string | undefined;
|
|
235
|
-
'x-zui'?: ({
|
|
236
|
-
[k: string]: unknown;
|
|
237
|
-
} & {
|
|
238
|
-
hidden?: boolean | undefined;
|
|
239
|
-
index?: number | undefined;
|
|
240
|
-
title?: string | undefined;
|
|
241
|
-
typings?: string | undefined;
|
|
242
|
-
searchable?: boolean | undefined;
|
|
243
|
-
order?: number | undefined;
|
|
244
|
-
width?: number | undefined;
|
|
245
|
-
schemaId?: string | undefined;
|
|
246
|
-
computed?: {
|
|
247
|
-
dependencies: string[];
|
|
248
|
-
action: "code" | "workflow" | "ai";
|
|
249
|
-
code?: string | undefined;
|
|
250
|
-
prompt?: string | undefined;
|
|
251
|
-
model?: string | undefined;
|
|
252
|
-
workflowId?: string | undefined;
|
|
253
|
-
enabled?: boolean | undefined;
|
|
254
|
-
} | undefined;
|
|
255
|
-
}) | undefined;
|
|
256
|
-
nullable?: boolean | undefined;
|
|
257
|
-
minimum?: number | undefined;
|
|
258
|
-
maximum?: number | undefined;
|
|
259
|
-
}, {
|
|
260
|
-
type: "number";
|
|
261
|
-
default?: any;
|
|
262
|
-
description?: string | undefined;
|
|
263
|
-
'x-zui'?: ({
|
|
264
|
-
hidden?: boolean | undefined;
|
|
265
|
-
index?: number | undefined;
|
|
266
|
-
title?: string | undefined;
|
|
267
|
-
typings?: string | undefined;
|
|
268
|
-
searchable?: boolean | undefined;
|
|
269
|
-
order?: number | undefined;
|
|
270
|
-
width?: number | undefined;
|
|
271
|
-
schemaId?: string | undefined;
|
|
272
|
-
computed?: {
|
|
273
|
-
action: "code" | "workflow" | "ai";
|
|
274
|
-
code?: string | undefined;
|
|
275
|
-
dependencies?: string[] | undefined;
|
|
276
|
-
prompt?: string | undefined;
|
|
277
|
-
model?: string | undefined;
|
|
278
|
-
workflowId?: string | undefined;
|
|
279
|
-
enabled?: boolean | undefined;
|
|
280
|
-
} | undefined;
|
|
281
|
-
} & {
|
|
282
|
-
[k: string]: unknown;
|
|
283
|
-
}) | undefined;
|
|
284
|
-
nullable?: boolean | undefined;
|
|
285
|
-
minimum?: number | undefined;
|
|
286
|
-
maximum?: number | undefined;
|
|
287
|
-
}>, sdk.z.ZodObject<{
|
|
57
|
+
}, "strip">, sdk.z.ZodObject<{
|
|
288
58
|
type: sdk.z.ZodLiteral<"boolean">;
|
|
289
59
|
'x-zui': sdk.z.ZodOptional<sdk.z.ZodObject<{
|
|
290
60
|
index: sdk.z.ZodOptional<sdk.z.ZodNumber>;
|
|
@@ -303,132 +73,16 @@ export declare const columnSchema: sdk.z.ZodDiscriminatedUnion<"type", [sdk.z.Zo
|
|
|
303
73
|
model: sdk.z.ZodOptional<sdk.z.ZodDefault<sdk.z.ZodString>>;
|
|
304
74
|
workflowId: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
305
75
|
enabled: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
306
|
-
}, "strip"
|
|
307
|
-
|
|
308
|
-
action: "code" | "workflow" | "ai";
|
|
309
|
-
code?: string | undefined;
|
|
310
|
-
prompt?: string | undefined;
|
|
311
|
-
model?: string | undefined;
|
|
312
|
-
workflowId?: string | undefined;
|
|
313
|
-
enabled?: boolean | undefined;
|
|
314
|
-
}, {
|
|
315
|
-
action: "code" | "workflow" | "ai";
|
|
316
|
-
code?: string | undefined;
|
|
317
|
-
dependencies?: string[] | undefined;
|
|
318
|
-
prompt?: string | undefined;
|
|
319
|
-
model?: string | undefined;
|
|
320
|
-
workflowId?: string | undefined;
|
|
321
|
-
enabled?: boolean | undefined;
|
|
322
|
-
}>>;
|
|
323
|
-
}, "passthrough", {
|
|
324
|
-
[k: string]: unknown;
|
|
325
|
-
} & {
|
|
326
|
-
hidden?: boolean | undefined;
|
|
327
|
-
index?: number | undefined;
|
|
328
|
-
title?: string | undefined;
|
|
329
|
-
typings?: string | undefined;
|
|
330
|
-
searchable?: boolean | undefined;
|
|
331
|
-
order?: number | undefined;
|
|
332
|
-
width?: number | undefined;
|
|
333
|
-
schemaId?: string | undefined;
|
|
334
|
-
computed?: {
|
|
335
|
-
dependencies: string[];
|
|
336
|
-
action: "code" | "workflow" | "ai";
|
|
337
|
-
code?: string | undefined;
|
|
338
|
-
prompt?: string | undefined;
|
|
339
|
-
model?: string | undefined;
|
|
340
|
-
workflowId?: string | undefined;
|
|
341
|
-
enabled?: boolean | undefined;
|
|
342
|
-
} | undefined;
|
|
343
|
-
}, {
|
|
344
|
-
hidden?: boolean | undefined;
|
|
345
|
-
index?: number | undefined;
|
|
346
|
-
title?: string | undefined;
|
|
347
|
-
typings?: string | undefined;
|
|
348
|
-
searchable?: boolean | undefined;
|
|
349
|
-
order?: number | undefined;
|
|
350
|
-
width?: number | undefined;
|
|
351
|
-
schemaId?: string | undefined;
|
|
352
|
-
computed?: {
|
|
353
|
-
action: "code" | "workflow" | "ai";
|
|
354
|
-
code?: string | undefined;
|
|
355
|
-
dependencies?: string[] | undefined;
|
|
356
|
-
prompt?: string | undefined;
|
|
357
|
-
model?: string | undefined;
|
|
358
|
-
workflowId?: string | undefined;
|
|
359
|
-
enabled?: boolean | undefined;
|
|
360
|
-
} | undefined;
|
|
361
|
-
} & {
|
|
362
|
-
[k: string]: unknown;
|
|
363
|
-
}>>;
|
|
76
|
+
}, "strip">>;
|
|
77
|
+
}, "passthrough">>;
|
|
364
78
|
nullable: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
365
79
|
description: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
366
80
|
default: sdk.z.ZodOptional<sdk.z.ZodAny>;
|
|
367
|
-
}, "strip"
|
|
368
|
-
type: "boolean";
|
|
369
|
-
default?: any;
|
|
370
|
-
description?: string | undefined;
|
|
371
|
-
'x-zui'?: ({
|
|
372
|
-
[k: string]: unknown;
|
|
373
|
-
} & {
|
|
374
|
-
hidden?: boolean | undefined;
|
|
375
|
-
index?: number | undefined;
|
|
376
|
-
title?: string | undefined;
|
|
377
|
-
typings?: string | undefined;
|
|
378
|
-
searchable?: boolean | undefined;
|
|
379
|
-
order?: number | undefined;
|
|
380
|
-
width?: number | undefined;
|
|
381
|
-
schemaId?: string | undefined;
|
|
382
|
-
computed?: {
|
|
383
|
-
dependencies: string[];
|
|
384
|
-
action: "code" | "workflow" | "ai";
|
|
385
|
-
code?: string | undefined;
|
|
386
|
-
prompt?: string | undefined;
|
|
387
|
-
model?: string | undefined;
|
|
388
|
-
workflowId?: string | undefined;
|
|
389
|
-
enabled?: boolean | undefined;
|
|
390
|
-
} | undefined;
|
|
391
|
-
}) | undefined;
|
|
392
|
-
nullable?: boolean | undefined;
|
|
393
|
-
}, {
|
|
394
|
-
type: "boolean";
|
|
395
|
-
default?: any;
|
|
396
|
-
description?: string | undefined;
|
|
397
|
-
'x-zui'?: ({
|
|
398
|
-
hidden?: boolean | undefined;
|
|
399
|
-
index?: number | undefined;
|
|
400
|
-
title?: string | undefined;
|
|
401
|
-
typings?: string | undefined;
|
|
402
|
-
searchable?: boolean | undefined;
|
|
403
|
-
order?: number | undefined;
|
|
404
|
-
width?: number | undefined;
|
|
405
|
-
schemaId?: string | undefined;
|
|
406
|
-
computed?: {
|
|
407
|
-
action: "code" | "workflow" | "ai";
|
|
408
|
-
code?: string | undefined;
|
|
409
|
-
dependencies?: string[] | undefined;
|
|
410
|
-
prompt?: string | undefined;
|
|
411
|
-
model?: string | undefined;
|
|
412
|
-
workflowId?: string | undefined;
|
|
413
|
-
enabled?: boolean | undefined;
|
|
414
|
-
} | undefined;
|
|
415
|
-
} & {
|
|
416
|
-
[k: string]: unknown;
|
|
417
|
-
}) | undefined;
|
|
418
|
-
nullable?: boolean | undefined;
|
|
419
|
-
}>, sdk.z.ZodObject<{
|
|
81
|
+
}, "strip">, sdk.z.ZodObject<{
|
|
420
82
|
type: sdk.z.ZodLiteral<"object">;
|
|
421
|
-
properties: sdk.z.ZodOptional<sdk.z.ZodRecord<sdk.z.ZodString, sdk.z.ZodObject<{}, "passthrough"
|
|
422
|
-
[k: string]: unknown;
|
|
423
|
-
} & {}, {} & {
|
|
424
|
-
[k: string]: unknown;
|
|
425
|
-
}>>>;
|
|
83
|
+
properties: sdk.z.ZodOptional<sdk.z.ZodRecord<sdk.z.ZodString, sdk.z.ZodObject<{}, "passthrough">>>;
|
|
426
84
|
required: sdk.z.ZodOptional<sdk.z.ZodArray<sdk.z.ZodString, "many">>;
|
|
427
|
-
additionalProperties: sdk.z.ZodOptional<sdk.z.ZodUnion<[sdk.z.ZodBoolean, sdk.z.ZodObject<{}, "passthrough"
|
|
428
|
-
[k: string]: unknown;
|
|
429
|
-
} & {}, {} & {
|
|
430
|
-
[k: string]: unknown;
|
|
431
|
-
}>]>>;
|
|
85
|
+
additionalProperties: sdk.z.ZodOptional<sdk.z.ZodUnion<[sdk.z.ZodBoolean, sdk.z.ZodObject<{}, "passthrough">]>>;
|
|
432
86
|
'x-zui': sdk.z.ZodOptional<sdk.z.ZodObject<{
|
|
433
87
|
index: sdk.z.ZodOptional<sdk.z.ZodNumber>;
|
|
434
88
|
typings: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
@@ -446,144 +100,14 @@ export declare const columnSchema: sdk.z.ZodDiscriminatedUnion<"type", [sdk.z.Zo
|
|
|
446
100
|
model: sdk.z.ZodOptional<sdk.z.ZodDefault<sdk.z.ZodString>>;
|
|
447
101
|
workflowId: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
448
102
|
enabled: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
449
|
-
}, "strip"
|
|
450
|
-
|
|
451
|
-
action: "code" | "workflow" | "ai";
|
|
452
|
-
code?: string | undefined;
|
|
453
|
-
prompt?: string | undefined;
|
|
454
|
-
model?: string | undefined;
|
|
455
|
-
workflowId?: string | undefined;
|
|
456
|
-
enabled?: boolean | undefined;
|
|
457
|
-
}, {
|
|
458
|
-
action: "code" | "workflow" | "ai";
|
|
459
|
-
code?: string | undefined;
|
|
460
|
-
dependencies?: string[] | undefined;
|
|
461
|
-
prompt?: string | undefined;
|
|
462
|
-
model?: string | undefined;
|
|
463
|
-
workflowId?: string | undefined;
|
|
464
|
-
enabled?: boolean | undefined;
|
|
465
|
-
}>>;
|
|
466
|
-
}, "passthrough", {
|
|
467
|
-
[k: string]: unknown;
|
|
468
|
-
} & {
|
|
469
|
-
hidden?: boolean | undefined;
|
|
470
|
-
index?: number | undefined;
|
|
471
|
-
title?: string | undefined;
|
|
472
|
-
typings?: string | undefined;
|
|
473
|
-
searchable?: boolean | undefined;
|
|
474
|
-
order?: number | undefined;
|
|
475
|
-
width?: number | undefined;
|
|
476
|
-
schemaId?: string | undefined;
|
|
477
|
-
computed?: {
|
|
478
|
-
dependencies: string[];
|
|
479
|
-
action: "code" | "workflow" | "ai";
|
|
480
|
-
code?: string | undefined;
|
|
481
|
-
prompt?: string | undefined;
|
|
482
|
-
model?: string | undefined;
|
|
483
|
-
workflowId?: string | undefined;
|
|
484
|
-
enabled?: boolean | undefined;
|
|
485
|
-
} | undefined;
|
|
486
|
-
}, {
|
|
487
|
-
hidden?: boolean | undefined;
|
|
488
|
-
index?: number | undefined;
|
|
489
|
-
title?: string | undefined;
|
|
490
|
-
typings?: string | undefined;
|
|
491
|
-
searchable?: boolean | undefined;
|
|
492
|
-
order?: number | undefined;
|
|
493
|
-
width?: number | undefined;
|
|
494
|
-
schemaId?: string | undefined;
|
|
495
|
-
computed?: {
|
|
496
|
-
action: "code" | "workflow" | "ai";
|
|
497
|
-
code?: string | undefined;
|
|
498
|
-
dependencies?: string[] | undefined;
|
|
499
|
-
prompt?: string | undefined;
|
|
500
|
-
model?: string | undefined;
|
|
501
|
-
workflowId?: string | undefined;
|
|
502
|
-
enabled?: boolean | undefined;
|
|
503
|
-
} | undefined;
|
|
504
|
-
} & {
|
|
505
|
-
[k: string]: unknown;
|
|
506
|
-
}>>;
|
|
103
|
+
}, "strip">>;
|
|
104
|
+
}, "passthrough">>;
|
|
507
105
|
nullable: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
508
106
|
description: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
509
107
|
default: sdk.z.ZodOptional<sdk.z.ZodAny>;
|
|
510
|
-
}, "passthrough"
|
|
511
|
-
[k: string]: unknown;
|
|
512
|
-
} & {
|
|
513
|
-
type: "object";
|
|
514
|
-
default?: any;
|
|
515
|
-
description?: string | undefined;
|
|
516
|
-
'x-zui'?: ({
|
|
517
|
-
[k: string]: unknown;
|
|
518
|
-
} & {
|
|
519
|
-
hidden?: boolean | undefined;
|
|
520
|
-
index?: number | undefined;
|
|
521
|
-
title?: string | undefined;
|
|
522
|
-
typings?: string | undefined;
|
|
523
|
-
searchable?: boolean | undefined;
|
|
524
|
-
order?: number | undefined;
|
|
525
|
-
width?: number | undefined;
|
|
526
|
-
schemaId?: string | undefined;
|
|
527
|
-
computed?: {
|
|
528
|
-
dependencies: string[];
|
|
529
|
-
action: "code" | "workflow" | "ai";
|
|
530
|
-
code?: string | undefined;
|
|
531
|
-
prompt?: string | undefined;
|
|
532
|
-
model?: string | undefined;
|
|
533
|
-
workflowId?: string | undefined;
|
|
534
|
-
enabled?: boolean | undefined;
|
|
535
|
-
} | undefined;
|
|
536
|
-
}) | undefined;
|
|
537
|
-
nullable?: boolean | undefined;
|
|
538
|
-
properties?: Record<string, {
|
|
539
|
-
[k: string]: unknown;
|
|
540
|
-
} & {}> | undefined;
|
|
541
|
-
required?: string[] | undefined;
|
|
542
|
-
additionalProperties?: boolean | ({
|
|
543
|
-
[k: string]: unknown;
|
|
544
|
-
} & {}) | undefined;
|
|
545
|
-
}, {
|
|
546
|
-
type: "object";
|
|
547
|
-
default?: any;
|
|
548
|
-
description?: string | undefined;
|
|
549
|
-
'x-zui'?: ({
|
|
550
|
-
hidden?: boolean | undefined;
|
|
551
|
-
index?: number | undefined;
|
|
552
|
-
title?: string | undefined;
|
|
553
|
-
typings?: string | undefined;
|
|
554
|
-
searchable?: boolean | undefined;
|
|
555
|
-
order?: number | undefined;
|
|
556
|
-
width?: number | undefined;
|
|
557
|
-
schemaId?: string | undefined;
|
|
558
|
-
computed?: {
|
|
559
|
-
action: "code" | "workflow" | "ai";
|
|
560
|
-
code?: string | undefined;
|
|
561
|
-
dependencies?: string[] | undefined;
|
|
562
|
-
prompt?: string | undefined;
|
|
563
|
-
model?: string | undefined;
|
|
564
|
-
workflowId?: string | undefined;
|
|
565
|
-
enabled?: boolean | undefined;
|
|
566
|
-
} | undefined;
|
|
567
|
-
} & {
|
|
568
|
-
[k: string]: unknown;
|
|
569
|
-
}) | undefined;
|
|
570
|
-
nullable?: boolean | undefined;
|
|
571
|
-
properties?: Record<string, {} & {
|
|
572
|
-
[k: string]: unknown;
|
|
573
|
-
}> | undefined;
|
|
574
|
-
required?: string[] | undefined;
|
|
575
|
-
additionalProperties?: boolean | ({} & {
|
|
576
|
-
[k: string]: unknown;
|
|
577
|
-
}) | undefined;
|
|
578
|
-
} & {
|
|
579
|
-
[k: string]: unknown;
|
|
580
|
-
}>, sdk.z.ZodObject<{
|
|
108
|
+
}, "passthrough">, sdk.z.ZodObject<{
|
|
581
109
|
type: sdk.z.ZodLiteral<"array">;
|
|
582
|
-
items: sdk.z.ZodOptional<sdk.z.ZodObject<{}, "passthrough"
|
|
583
|
-
[k: string]: unknown;
|
|
584
|
-
} & {}, {} & {
|
|
585
|
-
[k: string]: unknown;
|
|
586
|
-
}>>;
|
|
110
|
+
items: sdk.z.ZodOptional<sdk.z.ZodObject<{}, "passthrough">>;
|
|
587
111
|
minItems: sdk.z.ZodOptional<sdk.z.ZodNumber>;
|
|
588
112
|
maxItems: sdk.z.ZodOptional<sdk.z.ZodNumber>;
|
|
589
113
|
'x-zui': sdk.z.ZodOptional<sdk.z.ZodObject<{
|
|
@@ -603,137 +127,11 @@ export declare const columnSchema: sdk.z.ZodDiscriminatedUnion<"type", [sdk.z.Zo
|
|
|
603
127
|
model: sdk.z.ZodOptional<sdk.z.ZodDefault<sdk.z.ZodString>>;
|
|
604
128
|
workflowId: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
605
129
|
enabled: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
606
|
-
}, "strip"
|
|
607
|
-
|
|
608
|
-
action: "code" | "workflow" | "ai";
|
|
609
|
-
code?: string | undefined;
|
|
610
|
-
prompt?: string | undefined;
|
|
611
|
-
model?: string | undefined;
|
|
612
|
-
workflowId?: string | undefined;
|
|
613
|
-
enabled?: boolean | undefined;
|
|
614
|
-
}, {
|
|
615
|
-
action: "code" | "workflow" | "ai";
|
|
616
|
-
code?: string | undefined;
|
|
617
|
-
dependencies?: string[] | undefined;
|
|
618
|
-
prompt?: string | undefined;
|
|
619
|
-
model?: string | undefined;
|
|
620
|
-
workflowId?: string | undefined;
|
|
621
|
-
enabled?: boolean | undefined;
|
|
622
|
-
}>>;
|
|
623
|
-
}, "passthrough", {
|
|
624
|
-
[k: string]: unknown;
|
|
625
|
-
} & {
|
|
626
|
-
hidden?: boolean | undefined;
|
|
627
|
-
index?: number | undefined;
|
|
628
|
-
title?: string | undefined;
|
|
629
|
-
typings?: string | undefined;
|
|
630
|
-
searchable?: boolean | undefined;
|
|
631
|
-
order?: number | undefined;
|
|
632
|
-
width?: number | undefined;
|
|
633
|
-
schemaId?: string | undefined;
|
|
634
|
-
computed?: {
|
|
635
|
-
dependencies: string[];
|
|
636
|
-
action: "code" | "workflow" | "ai";
|
|
637
|
-
code?: string | undefined;
|
|
638
|
-
prompt?: string | undefined;
|
|
639
|
-
model?: string | undefined;
|
|
640
|
-
workflowId?: string | undefined;
|
|
641
|
-
enabled?: boolean | undefined;
|
|
642
|
-
} | undefined;
|
|
643
|
-
}, {
|
|
644
|
-
hidden?: boolean | undefined;
|
|
645
|
-
index?: number | undefined;
|
|
646
|
-
title?: string | undefined;
|
|
647
|
-
typings?: string | undefined;
|
|
648
|
-
searchable?: boolean | undefined;
|
|
649
|
-
order?: number | undefined;
|
|
650
|
-
width?: number | undefined;
|
|
651
|
-
schemaId?: string | undefined;
|
|
652
|
-
computed?: {
|
|
653
|
-
action: "code" | "workflow" | "ai";
|
|
654
|
-
code?: string | undefined;
|
|
655
|
-
dependencies?: string[] | undefined;
|
|
656
|
-
prompt?: string | undefined;
|
|
657
|
-
model?: string | undefined;
|
|
658
|
-
workflowId?: string | undefined;
|
|
659
|
-
enabled?: boolean | undefined;
|
|
660
|
-
} | undefined;
|
|
661
|
-
} & {
|
|
662
|
-
[k: string]: unknown;
|
|
663
|
-
}>>;
|
|
130
|
+
}, "strip">>;
|
|
131
|
+
}, "passthrough">>;
|
|
664
132
|
nullable: sdk.z.ZodOptional<sdk.z.ZodBoolean>;
|
|
665
133
|
description: sdk.z.ZodOptional<sdk.z.ZodString>;
|
|
666
134
|
default: sdk.z.ZodOptional<sdk.z.ZodAny>;
|
|
667
|
-
}, "passthrough"
|
|
668
|
-
[k: string]: unknown;
|
|
669
|
-
} & {
|
|
670
|
-
type: "array";
|
|
671
|
-
default?: any;
|
|
672
|
-
description?: string | undefined;
|
|
673
|
-
'x-zui'?: ({
|
|
674
|
-
[k: string]: unknown;
|
|
675
|
-
} & {
|
|
676
|
-
hidden?: boolean | undefined;
|
|
677
|
-
index?: number | undefined;
|
|
678
|
-
title?: string | undefined;
|
|
679
|
-
typings?: string | undefined;
|
|
680
|
-
searchable?: boolean | undefined;
|
|
681
|
-
order?: number | undefined;
|
|
682
|
-
width?: number | undefined;
|
|
683
|
-
schemaId?: string | undefined;
|
|
684
|
-
computed?: {
|
|
685
|
-
dependencies: string[];
|
|
686
|
-
action: "code" | "workflow" | "ai";
|
|
687
|
-
code?: string | undefined;
|
|
688
|
-
prompt?: string | undefined;
|
|
689
|
-
model?: string | undefined;
|
|
690
|
-
workflowId?: string | undefined;
|
|
691
|
-
enabled?: boolean | undefined;
|
|
692
|
-
} | undefined;
|
|
693
|
-
}) | undefined;
|
|
694
|
-
nullable?: boolean | undefined;
|
|
695
|
-
items?: ({
|
|
696
|
-
[k: string]: unknown;
|
|
697
|
-
} & {}) | undefined;
|
|
698
|
-
minItems?: number | undefined;
|
|
699
|
-
maxItems?: number | undefined;
|
|
700
|
-
}, {
|
|
701
|
-
type: "array";
|
|
702
|
-
default?: any;
|
|
703
|
-
description?: string | undefined;
|
|
704
|
-
'x-zui'?: ({
|
|
705
|
-
hidden?: boolean | undefined;
|
|
706
|
-
index?: number | undefined;
|
|
707
|
-
title?: string | undefined;
|
|
708
|
-
typings?: string | undefined;
|
|
709
|
-
searchable?: boolean | undefined;
|
|
710
|
-
order?: number | undefined;
|
|
711
|
-
width?: number | undefined;
|
|
712
|
-
schemaId?: string | undefined;
|
|
713
|
-
computed?: {
|
|
714
|
-
action: "code" | "workflow" | "ai";
|
|
715
|
-
code?: string | undefined;
|
|
716
|
-
dependencies?: string[] | undefined;
|
|
717
|
-
prompt?: string | undefined;
|
|
718
|
-
model?: string | undefined;
|
|
719
|
-
workflowId?: string | undefined;
|
|
720
|
-
enabled?: boolean | undefined;
|
|
721
|
-
} | undefined;
|
|
722
|
-
} & {
|
|
723
|
-
[k: string]: unknown;
|
|
724
|
-
}) | undefined;
|
|
725
|
-
nullable?: boolean | undefined;
|
|
726
|
-
items?: ({} & {
|
|
727
|
-
[k: string]: unknown;
|
|
728
|
-
}) | undefined;
|
|
729
|
-
minItems?: number | undefined;
|
|
730
|
-
maxItems?: number | undefined;
|
|
731
|
-
} & {
|
|
732
|
-
[k: string]: unknown;
|
|
733
|
-
}>, sdk.z.ZodObject<{
|
|
135
|
+
}, "passthrough">, sdk.z.ZodObject<{
|
|
734
136
|
type: sdk.z.ZodLiteral<"null">;
|
|
735
|
-
}, "strip"
|
|
736
|
-
type: "null";
|
|
737
|
-
}, {
|
|
738
|
-
type: "null";
|
|
739
|
-
}>]>;
|
|
137
|
+
}, "strip">]>;
|
package/dist/worker/config.d.ts
CHANGED
|
@@ -5,24 +5,8 @@ export declare const configSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5
5
|
type: z.ZodLiteral<"code">;
|
|
6
6
|
code: z.ZodString;
|
|
7
7
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
|
-
}, "strip"
|
|
9
|
-
code: string;
|
|
10
|
-
type: "code";
|
|
11
|
-
env?: Record<string, string> | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
code: string;
|
|
14
|
-
type: "code";
|
|
15
|
-
env?: Record<string, string> | undefined;
|
|
16
|
-
}>, z.ZodObject<{
|
|
8
|
+
}, "strip">, z.ZodObject<{
|
|
17
9
|
type: z.ZodLiteral<"file">;
|
|
18
10
|
file: z.ZodString;
|
|
19
11
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20
|
-
}, "strip"
|
|
21
|
-
type: "file";
|
|
22
|
-
file: string;
|
|
23
|
-
env?: Record<string, string> | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
type: "file";
|
|
26
|
-
file: string;
|
|
27
|
-
env?: Record<string, string> | undefined;
|
|
28
|
-
}>]>;
|
|
12
|
+
}, "strip">]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Botpress CLI",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "pnpm run build:types && pnpm run bundle && pnpm run template:gen",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"types": "dist/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@apidevtools/json-schema-ref-parser": "^11.7.0",
|
|
29
|
-
"@botpress/chat": "1.
|
|
30
|
-
"@botpress/client": "1.
|
|
31
|
-
"@botpress/sdk": "
|
|
29
|
+
"@botpress/chat": "1.1.0",
|
|
30
|
+
"@botpress/client": "2.1.0",
|
|
31
|
+
"@botpress/sdk": "7.0.0",
|
|
32
32
|
"@bpinternal/const": "^0.1.0",
|
|
33
33
|
"@bpinternal/tunnel": "^0.1.1",
|
|
34
34
|
"@bpinternal/verel": "^0.2.0",
|