@botpress/adk 3.0.0-beta.0 → 3.0.0-beta.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/agent-project/types.d.ts +6 -90
- package/dist/agent-project/types.d.ts.map +1 -1
- package/dist/agent0/config/schema.d.ts +8 -130
- package/dist/agent0/config/schema.d.ts.map +1 -1
- package/dist/agent0/index.js +2 -2
- package/dist/agent0/index.js.map +3 -3
- package/dist/bot-generator/install-package.d.ts +10 -5
- package/dist/bot-generator/install-package.d.ts.map +1 -1
- package/dist/bot-generator/integration-sync.d.ts +2 -2
- package/dist/bot-generator/integration-sync.d.ts.map +1 -1
- package/dist/bot-generator/interface-sync.d.ts +2 -2
- package/dist/bot-generator/interface-sync.d.ts.map +1 -1
- package/dist/bot-generator/plugin-sync.d.ts +1 -2
- package/dist/bot-generator/plugin-sync.d.ts.map +1 -1
- package/dist/build/__fixtures__/minimal-bot/bot.definition.d.ts +3 -15
- package/dist/build/__fixtures__/minimal-bot/bot.definition.d.ts.map +1 -1
- package/dist/chat-bundle.cjs +23 -22
- package/dist/dependencies/catalog/catalog-service.d.ts +2 -0
- package/dist/dependencies/catalog/catalog-service.d.ts.map +1 -1
- package/dist/dependencies/catalog/client-factory.d.ts +3 -0
- package/dist/dependencies/catalog/client-factory.d.ts.map +1 -1
- package/dist/dependencies/catalog/integration-source.d.ts +1 -0
- package/dist/dependencies/catalog/integration-source.d.ts.map +1 -1
- package/dist/dependencies/catalog/interface-source.d.ts +1 -0
- package/dist/dependencies/catalog/interface-source.d.ts.map +1 -1
- package/dist/dependencies/catalog/plugin-source.d.ts +1 -0
- package/dist/dependencies/catalog/plugin-source.d.ts.map +1 -1
- package/dist/dependencies/catalog/resolution-cache.d.ts +8 -6
- package/dist/dependencies/catalog/resolution-cache.d.ts.map +1 -1
- package/dist/dependencies/index.js +51 -26
- package/dist/dependencies/index.js.map +10 -10
- package/dist/dependencies/types.d.ts +18 -340
- package/dist/dependencies/types.d.ts.map +1 -1
- package/dist/deploy-manifest/index.d.ts +23 -491
- package/dist/deploy-manifest/index.d.ts.map +1 -1
- package/dist/generators/tests.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9139 -8287
- package/dist/index.js.map +23 -22
- package/dist/knowledge/manager.d.ts.map +1 -1
- package/dist/runner/script-runner.d.ts.map +1 -1
- package/dist/tables/failure-details.d.ts +4 -0
- package/dist/tables/failure-details.d.ts.map +1 -0
- package/dist/tables/index.d.ts +1 -0
- package/dist/tables/index.d.ts.map +1 -1
- package/dist/tables/table-manager.d.ts.map +1 -1
- package/dist/tables/types.d.ts +11 -4
- package/dist/tables/types.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -37,34 +37,12 @@ export declare const integrationDependencyEntrySchema: z.ZodObject<{
|
|
|
37
37
|
* of mapping enabled ⟹ available. Additive-optional like the fields above.
|
|
38
38
|
*/
|
|
39
39
|
authorizationPending: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
-
}, "strip"
|
|
41
|
-
name: string;
|
|
42
|
-
version: string;
|
|
43
|
-
enabled: boolean;
|
|
44
|
-
config: Record<string, any>;
|
|
45
|
-
configurationType?: string | undefined;
|
|
46
|
-
missingFields?: string[] | undefined;
|
|
47
|
-
authorizationPending?: boolean | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
name: string;
|
|
50
|
-
version: string;
|
|
51
|
-
enabled: boolean;
|
|
52
|
-
configurationType?: string | undefined;
|
|
53
|
-
config?: Record<string, any> | undefined;
|
|
54
|
-
missingFields?: string[] | undefined;
|
|
55
|
-
authorizationPending?: boolean | undefined;
|
|
56
|
-
}>;
|
|
40
|
+
}, "strip">;
|
|
57
41
|
export type IntegrationDependencyEntry = z.infer<typeof integrationDependencyEntrySchema>;
|
|
58
42
|
export declare const pluginDependencyMappingSchema: z.ZodObject<{
|
|
59
43
|
integrationAlias: z.ZodString;
|
|
60
44
|
integrationInterfaceAlias: z.ZodOptional<z.ZodString>;
|
|
61
|
-
}, "strip"
|
|
62
|
-
integrationAlias: string;
|
|
63
|
-
integrationInterfaceAlias?: string | undefined;
|
|
64
|
-
}, {
|
|
65
|
-
integrationAlias: string;
|
|
66
|
-
integrationInterfaceAlias?: string | undefined;
|
|
67
|
-
}>;
|
|
45
|
+
}, "strip">;
|
|
68
46
|
export type PluginDependencyMapping = z.infer<typeof pluginDependencyMappingSchema>;
|
|
69
47
|
export declare const pluginDependencyEntrySchema: z.ZodObject<{
|
|
70
48
|
name: z.ZodString;
|
|
@@ -74,13 +52,7 @@ export declare const pluginDependencyEntrySchema: z.ZodObject<{
|
|
|
74
52
|
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
75
53
|
integrationAlias: z.ZodString;
|
|
76
54
|
integrationInterfaceAlias: z.ZodOptional<z.ZodString>;
|
|
77
|
-
}, "strip"
|
|
78
|
-
integrationAlias: string;
|
|
79
|
-
integrationInterfaceAlias?: string | undefined;
|
|
80
|
-
}, {
|
|
81
|
-
integrationAlias: string;
|
|
82
|
-
integrationInterfaceAlias?: string | undefined;
|
|
83
|
-
}>>>;
|
|
55
|
+
}, "strip">>>;
|
|
84
56
|
/**
|
|
85
57
|
* Cloud's install-time verdict of which required fields were still missing when
|
|
86
58
|
* the plugin was last installed/enabled (WS0/WS5) — the plugin counterpart of the
|
|
@@ -89,62 +61,20 @@ export declare const pluginDependencyEntrySchema: z.ZodObject<{
|
|
|
89
61
|
* offline status resolver, additive-optional (old legacy locks validate unchanged).
|
|
90
62
|
*/
|
|
91
63
|
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
92
|
-
}, "strip"
|
|
93
|
-
name: string;
|
|
94
|
-
version: string;
|
|
95
|
-
enabled: boolean;
|
|
96
|
-
config: Record<string, any>;
|
|
97
|
-
dependencies: Record<string, {
|
|
98
|
-
integrationAlias: string;
|
|
99
|
-
integrationInterfaceAlias?: string | undefined;
|
|
100
|
-
}>;
|
|
101
|
-
missingFields?: string[] | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
name: string;
|
|
104
|
-
version: string;
|
|
105
|
-
enabled?: boolean | undefined;
|
|
106
|
-
config?: Record<string, any> | undefined;
|
|
107
|
-
dependencies?: Record<string, {
|
|
108
|
-
integrationAlias: string;
|
|
109
|
-
integrationInterfaceAlias?: string | undefined;
|
|
110
|
-
}> | undefined;
|
|
111
|
-
missingFields?: string[] | undefined;
|
|
112
|
-
}>;
|
|
64
|
+
}, "strip">;
|
|
113
65
|
export type PluginDependencyEntry = z.infer<typeof pluginDependencyEntrySchema>;
|
|
114
66
|
export declare const integrationSnapshotEntrySchema: z.ZodObject<{
|
|
115
67
|
name: z.ZodString;
|
|
116
68
|
version: z.ZodString;
|
|
117
69
|
enabled: z.ZodBoolean;
|
|
118
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
119
70
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
71
|
+
configurationType: z.ZodOptional<z.ZodString>;
|
|
120
72
|
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
121
73
|
authorizationPending: z.ZodOptional<z.ZodBoolean>;
|
|
122
74
|
cloudAlias: z.ZodOptional<z.ZodString>;
|
|
123
75
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
124
76
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
125
|
-
}, "strip"
|
|
126
|
-
name: string;
|
|
127
|
-
version: string;
|
|
128
|
-
enabled: boolean;
|
|
129
|
-
config: Record<string, any>;
|
|
130
|
-
configurationType?: string | undefined;
|
|
131
|
-
missingFields?: string[] | undefined;
|
|
132
|
-
updatedAt?: string | undefined;
|
|
133
|
-
authorizationPending?: boolean | undefined;
|
|
134
|
-
cloudAlias?: string | undefined;
|
|
135
|
-
cloudId?: string | undefined;
|
|
136
|
-
}, {
|
|
137
|
-
name: string;
|
|
138
|
-
version: string;
|
|
139
|
-
enabled: boolean;
|
|
140
|
-
configurationType?: string | undefined;
|
|
141
|
-
config?: Record<string, any> | undefined;
|
|
142
|
-
missingFields?: string[] | undefined;
|
|
143
|
-
updatedAt?: string | undefined;
|
|
144
|
-
authorizationPending?: boolean | undefined;
|
|
145
|
-
cloudAlias?: string | undefined;
|
|
146
|
-
cloudId?: string | undefined;
|
|
147
|
-
}>;
|
|
77
|
+
}, "strip">;
|
|
148
78
|
export type IntegrationSnapshotEntry = z.infer<typeof integrationSnapshotEntrySchema>;
|
|
149
79
|
export declare const pluginSnapshotEntrySchema: z.ZodObject<{
|
|
150
80
|
name: z.ZodString;
|
|
@@ -154,44 +84,12 @@ export declare const pluginSnapshotEntrySchema: z.ZodObject<{
|
|
|
154
84
|
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
155
85
|
integrationAlias: z.ZodString;
|
|
156
86
|
integrationInterfaceAlias: z.ZodOptional<z.ZodString>;
|
|
157
|
-
}, "strip"
|
|
158
|
-
integrationAlias: string;
|
|
159
|
-
integrationInterfaceAlias?: string | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
integrationAlias: string;
|
|
162
|
-
integrationInterfaceAlias?: string | undefined;
|
|
163
|
-
}>>>;
|
|
87
|
+
}, "strip">>>;
|
|
164
88
|
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
165
89
|
cloudAlias: z.ZodOptional<z.ZodString>;
|
|
166
90
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
167
91
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
168
|
-
}, "strip"
|
|
169
|
-
name: string;
|
|
170
|
-
version: string;
|
|
171
|
-
enabled: boolean;
|
|
172
|
-
config: Record<string, any>;
|
|
173
|
-
dependencies: Record<string, {
|
|
174
|
-
integrationAlias: string;
|
|
175
|
-
integrationInterfaceAlias?: string | undefined;
|
|
176
|
-
}>;
|
|
177
|
-
missingFields?: string[] | undefined;
|
|
178
|
-
updatedAt?: string | undefined;
|
|
179
|
-
cloudAlias?: string | undefined;
|
|
180
|
-
cloudId?: string | undefined;
|
|
181
|
-
}, {
|
|
182
|
-
name: string;
|
|
183
|
-
version: string;
|
|
184
|
-
enabled?: boolean | undefined;
|
|
185
|
-
config?: Record<string, any> | undefined;
|
|
186
|
-
dependencies?: Record<string, {
|
|
187
|
-
integrationAlias: string;
|
|
188
|
-
integrationInterfaceAlias?: string | undefined;
|
|
189
|
-
}> | undefined;
|
|
190
|
-
missingFields?: string[] | undefined;
|
|
191
|
-
updatedAt?: string | undefined;
|
|
192
|
-
cloudAlias?: string | undefined;
|
|
193
|
-
cloudId?: string | undefined;
|
|
194
|
-
}>;
|
|
92
|
+
}, "strip">;
|
|
195
93
|
export type PluginSnapshotEntry = z.infer<typeof pluginSnapshotEntrySchema>;
|
|
196
94
|
export declare const dependencyStateSchema: z.ZodObject<{
|
|
197
95
|
$schema: z.ZodOptional<z.ZodString>;
|
|
@@ -232,23 +130,7 @@ export declare const dependencyStateSchema: z.ZodObject<{
|
|
|
232
130
|
* of mapping enabled ⟹ available. Additive-optional like the fields above.
|
|
233
131
|
*/
|
|
234
132
|
authorizationPending: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
-
}, "strip"
|
|
236
|
-
name: string;
|
|
237
|
-
version: string;
|
|
238
|
-
enabled: boolean;
|
|
239
|
-
config: Record<string, any>;
|
|
240
|
-
configurationType?: string | undefined;
|
|
241
|
-
missingFields?: string[] | undefined;
|
|
242
|
-
authorizationPending?: boolean | undefined;
|
|
243
|
-
}, {
|
|
244
|
-
name: string;
|
|
245
|
-
version: string;
|
|
246
|
-
enabled: boolean;
|
|
247
|
-
configurationType?: string | undefined;
|
|
248
|
-
config?: Record<string, any> | undefined;
|
|
249
|
-
missingFields?: string[] | undefined;
|
|
250
|
-
authorizationPending?: boolean | undefined;
|
|
251
|
-
}>>>;
|
|
133
|
+
}, "strip">>>;
|
|
252
134
|
plugins: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
253
135
|
name: z.ZodString;
|
|
254
136
|
version: z.ZodString;
|
|
@@ -257,13 +139,7 @@ export declare const dependencyStateSchema: z.ZodObject<{
|
|
|
257
139
|
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
258
140
|
integrationAlias: z.ZodString;
|
|
259
141
|
integrationInterfaceAlias: z.ZodOptional<z.ZodString>;
|
|
260
|
-
}, "strip"
|
|
261
|
-
integrationAlias: string;
|
|
262
|
-
integrationInterfaceAlias?: string | undefined;
|
|
263
|
-
}, {
|
|
264
|
-
integrationAlias: string;
|
|
265
|
-
integrationInterfaceAlias?: string | undefined;
|
|
266
|
-
}>>>;
|
|
142
|
+
}, "strip">>>;
|
|
267
143
|
/**
|
|
268
144
|
* Cloud's install-time verdict of which required fields were still missing when
|
|
269
145
|
* the plugin was last installed/enabled (WS0/WS5) — the plugin counterpart of the
|
|
@@ -272,76 +148,8 @@ export declare const dependencyStateSchema: z.ZodObject<{
|
|
|
272
148
|
* offline status resolver, additive-optional (old legacy locks validate unchanged).
|
|
273
149
|
*/
|
|
274
150
|
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
275
|
-
}, "strip"
|
|
276
|
-
|
|
277
|
-
version: string;
|
|
278
|
-
enabled: boolean;
|
|
279
|
-
config: Record<string, any>;
|
|
280
|
-
dependencies: Record<string, {
|
|
281
|
-
integrationAlias: string;
|
|
282
|
-
integrationInterfaceAlias?: string | undefined;
|
|
283
|
-
}>;
|
|
284
|
-
missingFields?: string[] | undefined;
|
|
285
|
-
}, {
|
|
286
|
-
name: string;
|
|
287
|
-
version: string;
|
|
288
|
-
enabled?: boolean | undefined;
|
|
289
|
-
config?: Record<string, any> | undefined;
|
|
290
|
-
dependencies?: Record<string, {
|
|
291
|
-
integrationAlias: string;
|
|
292
|
-
integrationInterfaceAlias?: string | undefined;
|
|
293
|
-
}> | undefined;
|
|
294
|
-
missingFields?: string[] | undefined;
|
|
295
|
-
}>>>;
|
|
296
|
-
}, "strip", {
|
|
297
|
-
version: 1;
|
|
298
|
-
integrations: Record<string, {
|
|
299
|
-
name: string;
|
|
300
|
-
version: string;
|
|
301
|
-
enabled: boolean;
|
|
302
|
-
config: Record<string, any>;
|
|
303
|
-
configurationType?: string | undefined;
|
|
304
|
-
missingFields?: string[] | undefined;
|
|
305
|
-
authorizationPending?: boolean | undefined;
|
|
306
|
-
}>;
|
|
307
|
-
plugins: Record<string, {
|
|
308
|
-
name: string;
|
|
309
|
-
version: string;
|
|
310
|
-
enabled: boolean;
|
|
311
|
-
config: Record<string, any>;
|
|
312
|
-
dependencies: Record<string, {
|
|
313
|
-
integrationAlias: string;
|
|
314
|
-
integrationInterfaceAlias?: string | undefined;
|
|
315
|
-
}>;
|
|
316
|
-
missingFields?: string[] | undefined;
|
|
317
|
-
}>;
|
|
318
|
-
env: "dev" | "prod";
|
|
319
|
-
$schema?: string | undefined;
|
|
320
|
-
}, {
|
|
321
|
-
version: 1;
|
|
322
|
-
env: "dev" | "prod";
|
|
323
|
-
integrations?: Record<string, {
|
|
324
|
-
name: string;
|
|
325
|
-
version: string;
|
|
326
|
-
enabled: boolean;
|
|
327
|
-
configurationType?: string | undefined;
|
|
328
|
-
config?: Record<string, any> | undefined;
|
|
329
|
-
missingFields?: string[] | undefined;
|
|
330
|
-
authorizationPending?: boolean | undefined;
|
|
331
|
-
}> | undefined;
|
|
332
|
-
plugins?: Record<string, {
|
|
333
|
-
name: string;
|
|
334
|
-
version: string;
|
|
335
|
-
enabled?: boolean | undefined;
|
|
336
|
-
config?: Record<string, any> | undefined;
|
|
337
|
-
dependencies?: Record<string, {
|
|
338
|
-
integrationAlias: string;
|
|
339
|
-
integrationInterfaceAlias?: string | undefined;
|
|
340
|
-
}> | undefined;
|
|
341
|
-
missingFields?: string[] | undefined;
|
|
342
|
-
}> | undefined;
|
|
343
|
-
$schema?: string | undefined;
|
|
344
|
-
}>;
|
|
151
|
+
}, "strip">>>;
|
|
152
|
+
}, "strip">;
|
|
345
153
|
export type DependencyStateData = z.infer<typeof dependencyStateSchema>;
|
|
346
154
|
export declare const dependencySnapshotSchema: z.ZodObject<{
|
|
347
155
|
$schema: z.ZodOptional<z.ZodString>;
|
|
@@ -355,36 +163,14 @@ export declare const dependencySnapshotSchema: z.ZodObject<{
|
|
|
355
163
|
name: z.ZodString;
|
|
356
164
|
version: z.ZodString;
|
|
357
165
|
enabled: z.ZodBoolean;
|
|
358
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
359
166
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
167
|
+
configurationType: z.ZodOptional<z.ZodString>;
|
|
360
168
|
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
361
169
|
authorizationPending: z.ZodOptional<z.ZodBoolean>;
|
|
362
170
|
cloudAlias: z.ZodOptional<z.ZodString>;
|
|
363
171
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
364
172
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
365
|
-
}, "strip"
|
|
366
|
-
name: string;
|
|
367
|
-
version: string;
|
|
368
|
-
enabled: boolean;
|
|
369
|
-
config: Record<string, any>;
|
|
370
|
-
configurationType?: string | undefined;
|
|
371
|
-
missingFields?: string[] | undefined;
|
|
372
|
-
updatedAt?: string | undefined;
|
|
373
|
-
authorizationPending?: boolean | undefined;
|
|
374
|
-
cloudAlias?: string | undefined;
|
|
375
|
-
cloudId?: string | undefined;
|
|
376
|
-
}, {
|
|
377
|
-
name: string;
|
|
378
|
-
version: string;
|
|
379
|
-
enabled: boolean;
|
|
380
|
-
configurationType?: string | undefined;
|
|
381
|
-
config?: Record<string, any> | undefined;
|
|
382
|
-
missingFields?: string[] | undefined;
|
|
383
|
-
updatedAt?: string | undefined;
|
|
384
|
-
authorizationPending?: boolean | undefined;
|
|
385
|
-
cloudAlias?: string | undefined;
|
|
386
|
-
cloudId?: string | undefined;
|
|
387
|
-
}>>>;
|
|
173
|
+
}, "strip">>>;
|
|
388
174
|
plugins: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
389
175
|
name: z.ZodString;
|
|
390
176
|
version: z.ZodString;
|
|
@@ -393,127 +179,19 @@ export declare const dependencySnapshotSchema: z.ZodObject<{
|
|
|
393
179
|
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
394
180
|
integrationAlias: z.ZodString;
|
|
395
181
|
integrationInterfaceAlias: z.ZodOptional<z.ZodString>;
|
|
396
|
-
}, "strip"
|
|
397
|
-
integrationAlias: string;
|
|
398
|
-
integrationInterfaceAlias?: string | undefined;
|
|
399
|
-
}, {
|
|
400
|
-
integrationAlias: string;
|
|
401
|
-
integrationInterfaceAlias?: string | undefined;
|
|
402
|
-
}>>>;
|
|
182
|
+
}, "strip">>>;
|
|
403
183
|
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
404
184
|
cloudAlias: z.ZodOptional<z.ZodString>;
|
|
405
185
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
406
186
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
407
|
-
}, "strip"
|
|
408
|
-
|
|
409
|
-
version: string;
|
|
410
|
-
enabled: boolean;
|
|
411
|
-
config: Record<string, any>;
|
|
412
|
-
dependencies: Record<string, {
|
|
413
|
-
integrationAlias: string;
|
|
414
|
-
integrationInterfaceAlias?: string | undefined;
|
|
415
|
-
}>;
|
|
416
|
-
missingFields?: string[] | undefined;
|
|
417
|
-
updatedAt?: string | undefined;
|
|
418
|
-
cloudAlias?: string | undefined;
|
|
419
|
-
cloudId?: string | undefined;
|
|
420
|
-
}, {
|
|
421
|
-
name: string;
|
|
422
|
-
version: string;
|
|
423
|
-
enabled?: boolean | undefined;
|
|
424
|
-
config?: Record<string, any> | undefined;
|
|
425
|
-
dependencies?: Record<string, {
|
|
426
|
-
integrationAlias: string;
|
|
427
|
-
integrationInterfaceAlias?: string | undefined;
|
|
428
|
-
}> | undefined;
|
|
429
|
-
missingFields?: string[] | undefined;
|
|
430
|
-
updatedAt?: string | undefined;
|
|
431
|
-
cloudAlias?: string | undefined;
|
|
432
|
-
cloudId?: string | undefined;
|
|
433
|
-
}>>>;
|
|
434
|
-
}, "strip", {
|
|
435
|
-
botId: string;
|
|
436
|
-
version: 1;
|
|
437
|
-
integrations: Record<string, {
|
|
438
|
-
name: string;
|
|
439
|
-
version: string;
|
|
440
|
-
enabled: boolean;
|
|
441
|
-
config: Record<string, any>;
|
|
442
|
-
configurationType?: string | undefined;
|
|
443
|
-
missingFields?: string[] | undefined;
|
|
444
|
-
updatedAt?: string | undefined;
|
|
445
|
-
authorizationPending?: boolean | undefined;
|
|
446
|
-
cloudAlias?: string | undefined;
|
|
447
|
-
cloudId?: string | undefined;
|
|
448
|
-
}>;
|
|
449
|
-
plugins: Record<string, {
|
|
450
|
-
name: string;
|
|
451
|
-
version: string;
|
|
452
|
-
enabled: boolean;
|
|
453
|
-
config: Record<string, any>;
|
|
454
|
-
dependencies: Record<string, {
|
|
455
|
-
integrationAlias: string;
|
|
456
|
-
integrationInterfaceAlias?: string | undefined;
|
|
457
|
-
}>;
|
|
458
|
-
missingFields?: string[] | undefined;
|
|
459
|
-
updatedAt?: string | undefined;
|
|
460
|
-
cloudAlias?: string | undefined;
|
|
461
|
-
cloudId?: string | undefined;
|
|
462
|
-
}>;
|
|
463
|
-
env: "dev" | "prod";
|
|
464
|
-
fetchedAt: string;
|
|
465
|
-
$schema?: string | undefined;
|
|
466
|
-
botUpdatedAt?: string | undefined;
|
|
467
|
-
stale?: boolean | undefined;
|
|
468
|
-
}, {
|
|
469
|
-
botId: string;
|
|
470
|
-
version: 1;
|
|
471
|
-
env: "dev" | "prod";
|
|
472
|
-
fetchedAt: string;
|
|
473
|
-
integrations?: Record<string, {
|
|
474
|
-
name: string;
|
|
475
|
-
version: string;
|
|
476
|
-
enabled: boolean;
|
|
477
|
-
configurationType?: string | undefined;
|
|
478
|
-
config?: Record<string, any> | undefined;
|
|
479
|
-
missingFields?: string[] | undefined;
|
|
480
|
-
updatedAt?: string | undefined;
|
|
481
|
-
authorizationPending?: boolean | undefined;
|
|
482
|
-
cloudAlias?: string | undefined;
|
|
483
|
-
cloudId?: string | undefined;
|
|
484
|
-
}> | undefined;
|
|
485
|
-
plugins?: Record<string, {
|
|
486
|
-
name: string;
|
|
487
|
-
version: string;
|
|
488
|
-
enabled?: boolean | undefined;
|
|
489
|
-
config?: Record<string, any> | undefined;
|
|
490
|
-
dependencies?: Record<string, {
|
|
491
|
-
integrationAlias: string;
|
|
492
|
-
integrationInterfaceAlias?: string | undefined;
|
|
493
|
-
}> | undefined;
|
|
494
|
-
missingFields?: string[] | undefined;
|
|
495
|
-
updatedAt?: string | undefined;
|
|
496
|
-
cloudAlias?: string | undefined;
|
|
497
|
-
cloudId?: string | undefined;
|
|
498
|
-
}> | undefined;
|
|
499
|
-
$schema?: string | undefined;
|
|
500
|
-
botUpdatedAt?: string | undefined;
|
|
501
|
-
stale?: boolean | undefined;
|
|
502
|
-
}>;
|
|
187
|
+
}, "strip">>>;
|
|
188
|
+
}, "strip">;
|
|
503
189
|
export type DependencySnapshotData = z.infer<typeof dependencySnapshotSchema>;
|
|
504
190
|
export declare const dependencyMigrationMarkerSchema: z.ZodObject<{
|
|
505
191
|
version: z.ZodLiteral<1>;
|
|
506
192
|
migratedAt: z.ZodString;
|
|
507
193
|
sources: z.ZodArray<z.ZodEnum<["lock", "agentConfig", "cloud"]>, "many">;
|
|
508
|
-
}, "strip"
|
|
509
|
-
version: 1;
|
|
510
|
-
migratedAt: string;
|
|
511
|
-
sources: ("lock" | "agentConfig" | "cloud")[];
|
|
512
|
-
}, {
|
|
513
|
-
version: 1;
|
|
514
|
-
migratedAt: string;
|
|
515
|
-
sources: ("lock" | "agentConfig" | "cloud")[];
|
|
516
|
-
}>;
|
|
194
|
+
}, "strip">;
|
|
517
195
|
export type DependencyMigrationMarker = z.infer<typeof dependencyMigrationMarkerSchema>;
|
|
518
196
|
/**
|
|
519
197
|
* A dependency's capability state plus its identity — the flat record surfaced
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dependencies/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AACjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,CAAA;AACxC,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,QAAQ,GAAG,WAAW,CAAA;AAEjE,eAAO,MAAM,gCAAgC;;;;;IAK3C;;;;;OAKG;;IAEH;;;;;;;;;;;OAWG;;IAEH;;;;;;;;OAQG
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dependencies/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AACjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,CAAA;AACxC,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,QAAQ,GAAG,WAAW,CAAA;AAEjE,eAAO,MAAM,gCAAgC;;;;;IAK3C;;;;;OAKG;;IAEH;;;;;;;;;;;OAWG;;IAEH;;;;;;;;OAQG;;WAEH,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEzF,eAAO,MAAM,6BAA6B;;;WAGxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEnF,eAAO,MAAM,2BAA2B;;;;;;;;;IAMtC;;;;;;OAMG;;WAEH,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAE/E,eAAO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