@botpress/adk 1.19.0-beta.14 → 1.19.0-beta.16
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/agent-project.d.ts.map +1 -1
- package/dist/agent-project/config-writer.d.ts +1 -1
- package/dist/agent-project/lock-to-dependencies.d.ts +11 -0
- package/dist/agent-project/lock-to-dependencies.d.ts.map +1 -0
- package/dist/agent-project/types.d.ts +0 -5
- package/dist/agent-project/types.d.ts.map +1 -1
- package/dist/agent0/index.js +13 -26
- package/dist/agent0/index.js.map +5 -5
- package/dist/agent0/runtime/client.d.ts.map +1 -1
- package/dist/bot-generator/generator.d.ts +0 -22
- package/dist/bot-generator/generator.d.ts.map +1 -1
- package/dist/bot-generator/plugin-sync.d.ts.map +1 -1
- package/dist/commands/bp-dev-stderr.d.ts +0 -9
- package/dist/commands/bp-dev-stderr.d.ts.map +1 -1
- package/dist/commands/index.d.ts +0 -1
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/dependencies/dependency-manager.d.ts +16 -31
- package/dist/dependencies/dependency-manager.d.ts.map +1 -1
- package/dist/dependencies/errors.d.ts +2 -2
- package/dist/dependencies/errors.d.ts.map +1 -1
- package/dist/dependencies/index.d.ts +4 -5
- package/dist/dependencies/index.d.ts.map +1 -1
- package/dist/dependencies/index.js +1560 -2081
- package/dist/dependencies/index.js.map +26 -34
- package/dist/dependencies/lock-file.d.ts +15 -0
- package/dist/dependencies/lock-file.d.ts.map +1 -0
- package/dist/dependencies/migration.d.ts +0 -19
- package/dist/dependencies/migration.d.ts.map +1 -1
- package/dist/dependencies/resolvers/integration-resolver.d.ts +3 -4
- package/dist/dependencies/resolvers/integration-resolver.d.ts.map +1 -1
- package/dist/dependencies/resolvers/plugin-resolver.d.ts +4 -4
- package/dist/dependencies/resolvers/plugin-resolver.d.ts.map +1 -1
- package/dist/dependencies/types.d.ts +29 -379
- package/dist/dependencies/types.d.ts.map +1 -1
- package/dist/file-watcher/watcher.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1764 -2558
- package/dist/index.js.map +36 -44
- package/dist/integrations/config-utils.d.ts +7 -11
- package/dist/integrations/config-utils.d.ts.map +1 -1
- package/dist/integrations/enhanced-cache.d.ts +53 -0
- package/dist/integrations/enhanced-cache.d.ts.map +1 -0
- package/dist/integrations/index.d.ts +2 -1
- package/dist/integrations/index.d.ts.map +1 -1
- package/dist/integrations/manager.d.ts +53 -19
- package/dist/integrations/manager.d.ts.map +1 -1
- package/dist/interfaces/enhanced-cache.d.ts +7 -7
- package/dist/interfaces/enhanced-cache.d.ts.map +1 -1
- package/dist/interfaces/manager.d.ts +17 -11
- package/dist/interfaces/manager.d.ts.map +1 -1
- package/dist/plugins/enhanced-cache.d.ts +53 -0
- package/dist/plugins/enhanced-cache.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/manager.d.ts +53 -16
- package/dist/plugins/manager.d.ts.map +1 -1
- package/dist/preflight/checker.d.ts.map +1 -1
- package/dist/preflight/index.d.ts +0 -1
- package/dist/preflight/index.d.ts.map +1 -1
- package/dist/preflight/types.d.ts +0 -10
- package/dist/preflight/types.d.ts.map +1 -1
- package/dist/runner/script-runner.d.ts.map +1 -1
- package/dist/templates/botpress-desk/evals/index.eval.ts +1 -1
- package/dist/templates/template.config.json +3 -3
- package/dist/utils/ids.d.ts +0 -10
- package/dist/utils/ids.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/agent-project/dependency-state-to-dependencies.d.ts +0 -11
- package/dist/agent-project/dependency-state-to-dependencies.d.ts.map +0 -1
- package/dist/dependencies/catalog/catalog-service.d.ts +0 -53
- package/dist/dependencies/catalog/catalog-service.d.ts.map +0 -1
- package/dist/dependencies/catalog/client-factory.d.ts +0 -33
- package/dist/dependencies/catalog/client-factory.d.ts.map +0 -1
- package/dist/dependencies/catalog/integration-source.d.ts +0 -34
- package/dist/dependencies/catalog/integration-source.d.ts.map +0 -1
- package/dist/dependencies/catalog/interface-source.d.ts +0 -23
- package/dist/dependencies/catalog/interface-source.d.ts.map +0 -1
- package/dist/dependencies/catalog/plugin-source.d.ts +0 -49
- package/dist/dependencies/catalog/plugin-source.d.ts.map +0 -1
- package/dist/dependencies/catalog/resolution-cache.d.ts +0 -76
- package/dist/dependencies/catalog/resolution-cache.d.ts.map +0 -1
- package/dist/dependencies/legacy-lock-file.d.ts +0 -15
- package/dist/dependencies/legacy-lock-file.d.ts.map +0 -1
- package/dist/dependencies/snapshot-store.d.ts +0 -59
- package/dist/dependencies/snapshot-store.d.ts.map +0 -1
- package/dist/dependencies/status-resolver.d.ts +0 -36
- package/dist/dependencies/status-resolver.d.ts.map +0 -1
- package/dist/dependencies/status.d.ts +0 -214
- package/dist/dependencies/status.d.ts.map +0 -1
- package/dist/preflight/dependency-gate.d.ts +0 -36
- package/dist/preflight/dependency-gate.d.ts.map +0 -1
|
@@ -1,60 +1,23 @@
|
|
|
1
1
|
import { z } from '@botpress/sdk';
|
|
2
|
-
import type { StatusVerdict } from '@botpress/runtime';
|
|
3
2
|
export type Environment = 'dev' | 'prod';
|
|
4
3
|
export type ResourceType = 'integration' | 'plugin' | 'interface';
|
|
5
|
-
export declare const
|
|
4
|
+
export declare const integrationLockEntrySchema: z.ZodObject<{
|
|
6
5
|
name: z.ZodString;
|
|
7
6
|
version: z.ZodString;
|
|
8
7
|
enabled: z.ZodBoolean;
|
|
9
8
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10
|
-
/**
|
|
11
|
-
* Active configuration variant (`configurations[type]`), echoed from Cloud's
|
|
12
|
-
* `getBot` response (WS0). Absent for the default configuration. Lets the
|
|
13
|
-
* status resolver validate against the right variant schema without a cloud
|
|
14
|
-
* roundtrip.
|
|
15
|
-
*/
|
|
16
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
17
|
-
/**
|
|
18
|
-
* Cloud's install-time verdict of which required fields were still missing
|
|
19
|
-
* when the integration was last installed/enabled (WS0). Persisted only while
|
|
20
|
-
* the integration stays disabled with unchanged config; the offline status
|
|
21
|
-
* resolver reads it as authoritative (Cloud's actual validation beats the
|
|
22
|
-
* catalog spec, and enumerates fields a client-side schema check can't — e.g.
|
|
23
|
-
* OAuth/identifier credentials). A live (online) build trusts the current
|
|
24
|
-
* cloud state over this snapshot instead.
|
|
25
|
-
*
|
|
26
|
-
* Both fields are additive-optional: old legacy locks omit them and still validate
|
|
27
|
-
* against `version: 1` — no schema bump, no migration.
|
|
28
|
-
*/
|
|
29
|
-
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30
|
-
/**
|
|
31
|
-
* Last-known authorization state of an OAuth/connection-gated integration
|
|
32
|
-
* (WS5/#7): set on every cloud refresh when the spec gates on an identifier
|
|
33
|
-
* the cloud bot doesn't have yet; cleared the moment the identifier appears
|
|
34
|
-
* (the user completed the connect flow). Lets the offline surfaces
|
|
35
|
-
* (`adk integrations status`, `adk check`, the deploy gate) report the same
|
|
36
|
-
* `unconfigured` verdict the codegen carrier bakes into the runtime, instead
|
|
37
|
-
* of mapping enabled ⟹ available. Additive-optional like the fields above.
|
|
38
|
-
*/
|
|
39
|
-
authorizationPending: z.ZodOptional<z.ZodBoolean>;
|
|
40
9
|
}, "strip", {
|
|
41
10
|
name: string;
|
|
42
11
|
version: string;
|
|
43
12
|
enabled: boolean;
|
|
44
13
|
config: Record<string, any>;
|
|
45
|
-
configurationType?: string | undefined;
|
|
46
|
-
missingFields?: string[] | undefined;
|
|
47
|
-
authorizationPending?: boolean | undefined;
|
|
48
14
|
}, {
|
|
49
15
|
name: string;
|
|
50
16
|
version: string;
|
|
51
17
|
enabled: boolean;
|
|
52
|
-
configurationType?: string | undefined;
|
|
53
18
|
config?: Record<string, any> | undefined;
|
|
54
|
-
missingFields?: string[] | undefined;
|
|
55
|
-
authorizationPending?: boolean | undefined;
|
|
56
19
|
}>;
|
|
57
|
-
export type
|
|
20
|
+
export type IntegrationLockEntry = z.infer<typeof integrationLockEntrySchema>;
|
|
58
21
|
export declare const pluginDependencyMappingSchema: z.ZodObject<{
|
|
59
22
|
integrationAlias: z.ZodString;
|
|
60
23
|
}, "strip", {
|
|
@@ -63,82 +26,7 @@ export declare const pluginDependencyMappingSchema: z.ZodObject<{
|
|
|
63
26
|
integrationAlias: string;
|
|
64
27
|
}>;
|
|
65
28
|
export type PluginDependencyMapping = z.infer<typeof pluginDependencyMappingSchema>;
|
|
66
|
-
export declare const
|
|
67
|
-
name: z.ZodString;
|
|
68
|
-
version: z.ZodString;
|
|
69
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
70
|
-
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
71
|
-
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
72
|
-
integrationAlias: z.ZodString;
|
|
73
|
-
}, "strip", {
|
|
74
|
-
integrationAlias: string;
|
|
75
|
-
}, {
|
|
76
|
-
integrationAlias: string;
|
|
77
|
-
}>>>;
|
|
78
|
-
/**
|
|
79
|
-
* Cloud's install-time verdict of which required fields were still missing when
|
|
80
|
-
* the plugin was last installed/enabled (WS0/WS5) — the plugin counterpart of the
|
|
81
|
-
* integration field above, with the same lifecycle: persisted only while the
|
|
82
|
-
* plugin stays disabled with unchanged config, read as authoritative by the
|
|
83
|
-
* offline status resolver, additive-optional (old legacy locks validate unchanged).
|
|
84
|
-
*/
|
|
85
|
-
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
86
|
-
}, "strip", {
|
|
87
|
-
name: string;
|
|
88
|
-
version: string;
|
|
89
|
-
enabled: boolean;
|
|
90
|
-
config: Record<string, any>;
|
|
91
|
-
dependencies: Record<string, {
|
|
92
|
-
integrationAlias: string;
|
|
93
|
-
}>;
|
|
94
|
-
missingFields?: string[] | undefined;
|
|
95
|
-
}, {
|
|
96
|
-
name: string;
|
|
97
|
-
version: string;
|
|
98
|
-
enabled?: boolean | undefined;
|
|
99
|
-
config?: Record<string, any> | undefined;
|
|
100
|
-
dependencies?: Record<string, {
|
|
101
|
-
integrationAlias: string;
|
|
102
|
-
}> | undefined;
|
|
103
|
-
missingFields?: string[] | undefined;
|
|
104
|
-
}>;
|
|
105
|
-
export type PluginDependencyEntry = z.infer<typeof pluginDependencyEntrySchema>;
|
|
106
|
-
export declare const integrationSnapshotEntrySchema: z.ZodObject<{
|
|
107
|
-
name: z.ZodString;
|
|
108
|
-
version: z.ZodString;
|
|
109
|
-
enabled: z.ZodBoolean;
|
|
110
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
111
|
-
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
112
|
-
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
113
|
-
authorizationPending: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
-
cloudAlias: z.ZodOptional<z.ZodString>;
|
|
115
|
-
cloudId: z.ZodOptional<z.ZodString>;
|
|
116
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
117
|
-
}, "strip", {
|
|
118
|
-
name: string;
|
|
119
|
-
version: string;
|
|
120
|
-
enabled: boolean;
|
|
121
|
-
config: Record<string, any>;
|
|
122
|
-
configurationType?: string | undefined;
|
|
123
|
-
missingFields?: string[] | undefined;
|
|
124
|
-
updatedAt?: string | undefined;
|
|
125
|
-
authorizationPending?: boolean | undefined;
|
|
126
|
-
cloudAlias?: string | undefined;
|
|
127
|
-
cloudId?: string | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
name: string;
|
|
130
|
-
version: string;
|
|
131
|
-
enabled: boolean;
|
|
132
|
-
configurationType?: string | undefined;
|
|
133
|
-
config?: Record<string, any> | undefined;
|
|
134
|
-
missingFields?: string[] | undefined;
|
|
135
|
-
updatedAt?: string | undefined;
|
|
136
|
-
authorizationPending?: boolean | undefined;
|
|
137
|
-
cloudAlias?: string | undefined;
|
|
138
|
-
cloudId?: string | undefined;
|
|
139
|
-
}>;
|
|
140
|
-
export type IntegrationSnapshotEntry = z.infer<typeof integrationSnapshotEntrySchema>;
|
|
141
|
-
export declare const pluginSnapshotEntrySchema: z.ZodObject<{
|
|
29
|
+
export declare const pluginLockEntrySchema: z.ZodObject<{
|
|
142
30
|
name: z.ZodString;
|
|
143
31
|
version: z.ZodString;
|
|
144
32
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -150,10 +38,6 @@ export declare const pluginSnapshotEntrySchema: z.ZodObject<{
|
|
|
150
38
|
}, {
|
|
151
39
|
integrationAlias: string;
|
|
152
40
|
}>>>;
|
|
153
|
-
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
154
|
-
cloudAlias: z.ZodOptional<z.ZodString>;
|
|
155
|
-
cloudId: z.ZodOptional<z.ZodString>;
|
|
156
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
157
41
|
}, "strip", {
|
|
158
42
|
name: string;
|
|
159
43
|
version: string;
|
|
@@ -162,10 +46,6 @@ export declare const pluginSnapshotEntrySchema: z.ZodObject<{
|
|
|
162
46
|
dependencies: Record<string, {
|
|
163
47
|
integrationAlias: string;
|
|
164
48
|
}>;
|
|
165
|
-
missingFields?: string[] | undefined;
|
|
166
|
-
updatedAt?: string | undefined;
|
|
167
|
-
cloudAlias?: string | undefined;
|
|
168
|
-
cloudId?: string | undefined;
|
|
169
49
|
}, {
|
|
170
50
|
name: string;
|
|
171
51
|
version: string;
|
|
@@ -174,196 +54,27 @@ export declare const pluginSnapshotEntrySchema: z.ZodObject<{
|
|
|
174
54
|
dependencies?: Record<string, {
|
|
175
55
|
integrationAlias: string;
|
|
176
56
|
}> | undefined;
|
|
177
|
-
missingFields?: string[] | undefined;
|
|
178
|
-
updatedAt?: string | undefined;
|
|
179
|
-
cloudAlias?: string | undefined;
|
|
180
|
-
cloudId?: string | undefined;
|
|
181
|
-
}>;
|
|
182
|
-
export type PluginSnapshotEntry = z.infer<typeof pluginSnapshotEntrySchema>;
|
|
183
|
-
export declare const dependencyStateSchema: z.ZodObject<{
|
|
184
|
-
$schema: z.ZodOptional<z.ZodString>;
|
|
185
|
-
version: z.ZodLiteral<1>;
|
|
186
|
-
env: z.ZodEnum<["dev", "prod"]>;
|
|
187
|
-
integrations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
188
|
-
name: z.ZodString;
|
|
189
|
-
version: z.ZodString;
|
|
190
|
-
enabled: z.ZodBoolean;
|
|
191
|
-
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
192
|
-
/**
|
|
193
|
-
* Active configuration variant (`configurations[type]`), echoed from Cloud's
|
|
194
|
-
* `getBot` response (WS0). Absent for the default configuration. Lets the
|
|
195
|
-
* status resolver validate against the right variant schema without a cloud
|
|
196
|
-
* roundtrip.
|
|
197
|
-
*/
|
|
198
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
199
|
-
/**
|
|
200
|
-
* Cloud's install-time verdict of which required fields were still missing
|
|
201
|
-
* when the integration was last installed/enabled (WS0). Persisted only while
|
|
202
|
-
* the integration stays disabled with unchanged config; the offline status
|
|
203
|
-
* resolver reads it as authoritative (Cloud's actual validation beats the
|
|
204
|
-
* catalog spec, and enumerates fields a client-side schema check can't — e.g.
|
|
205
|
-
* OAuth/identifier credentials). A live (online) build trusts the current
|
|
206
|
-
* cloud state over this snapshot instead.
|
|
207
|
-
*
|
|
208
|
-
* Both fields are additive-optional: old legacy locks omit them and still validate
|
|
209
|
-
* against `version: 1` — no schema bump, no migration.
|
|
210
|
-
*/
|
|
211
|
-
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
212
|
-
/**
|
|
213
|
-
* Last-known authorization state of an OAuth/connection-gated integration
|
|
214
|
-
* (WS5/#7): set on every cloud refresh when the spec gates on an identifier
|
|
215
|
-
* the cloud bot doesn't have yet; cleared the moment the identifier appears
|
|
216
|
-
* (the user completed the connect flow). Lets the offline surfaces
|
|
217
|
-
* (`adk integrations status`, `adk check`, the deploy gate) report the same
|
|
218
|
-
* `unconfigured` verdict the codegen carrier bakes into the runtime, instead
|
|
219
|
-
* of mapping enabled ⟹ available. Additive-optional like the fields above.
|
|
220
|
-
*/
|
|
221
|
-
authorizationPending: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
-
}, "strip", {
|
|
223
|
-
name: string;
|
|
224
|
-
version: string;
|
|
225
|
-
enabled: boolean;
|
|
226
|
-
config: Record<string, any>;
|
|
227
|
-
configurationType?: string | undefined;
|
|
228
|
-
missingFields?: string[] | undefined;
|
|
229
|
-
authorizationPending?: boolean | undefined;
|
|
230
|
-
}, {
|
|
231
|
-
name: string;
|
|
232
|
-
version: string;
|
|
233
|
-
enabled: boolean;
|
|
234
|
-
configurationType?: string | undefined;
|
|
235
|
-
config?: Record<string, any> | undefined;
|
|
236
|
-
missingFields?: string[] | undefined;
|
|
237
|
-
authorizationPending?: boolean | undefined;
|
|
238
|
-
}>>>;
|
|
239
|
-
plugins: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
240
|
-
name: z.ZodString;
|
|
241
|
-
version: z.ZodString;
|
|
242
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
243
|
-
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
244
|
-
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
245
|
-
integrationAlias: z.ZodString;
|
|
246
|
-
}, "strip", {
|
|
247
|
-
integrationAlias: string;
|
|
248
|
-
}, {
|
|
249
|
-
integrationAlias: string;
|
|
250
|
-
}>>>;
|
|
251
|
-
/**
|
|
252
|
-
* Cloud's install-time verdict of which required fields were still missing when
|
|
253
|
-
* the plugin was last installed/enabled (WS0/WS5) — the plugin counterpart of the
|
|
254
|
-
* integration field above, with the same lifecycle: persisted only while the
|
|
255
|
-
* plugin stays disabled with unchanged config, read as authoritative by the
|
|
256
|
-
* offline status resolver, additive-optional (old legacy locks validate unchanged).
|
|
257
|
-
*/
|
|
258
|
-
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
259
|
-
}, "strip", {
|
|
260
|
-
name: string;
|
|
261
|
-
version: string;
|
|
262
|
-
enabled: boolean;
|
|
263
|
-
config: Record<string, any>;
|
|
264
|
-
dependencies: Record<string, {
|
|
265
|
-
integrationAlias: string;
|
|
266
|
-
}>;
|
|
267
|
-
missingFields?: string[] | undefined;
|
|
268
|
-
}, {
|
|
269
|
-
name: string;
|
|
270
|
-
version: string;
|
|
271
|
-
enabled?: boolean | undefined;
|
|
272
|
-
config?: Record<string, any> | undefined;
|
|
273
|
-
dependencies?: Record<string, {
|
|
274
|
-
integrationAlias: string;
|
|
275
|
-
}> | undefined;
|
|
276
|
-
missingFields?: string[] | undefined;
|
|
277
|
-
}>>>;
|
|
278
|
-
}, "strip", {
|
|
279
|
-
version: 1;
|
|
280
|
-
integrations: Record<string, {
|
|
281
|
-
name: string;
|
|
282
|
-
version: string;
|
|
283
|
-
enabled: boolean;
|
|
284
|
-
config: Record<string, any>;
|
|
285
|
-
configurationType?: string | undefined;
|
|
286
|
-
missingFields?: string[] | undefined;
|
|
287
|
-
authorizationPending?: boolean | undefined;
|
|
288
|
-
}>;
|
|
289
|
-
plugins: Record<string, {
|
|
290
|
-
name: string;
|
|
291
|
-
version: string;
|
|
292
|
-
enabled: boolean;
|
|
293
|
-
config: Record<string, any>;
|
|
294
|
-
dependencies: Record<string, {
|
|
295
|
-
integrationAlias: string;
|
|
296
|
-
}>;
|
|
297
|
-
missingFields?: string[] | undefined;
|
|
298
|
-
}>;
|
|
299
|
-
env: "dev" | "prod";
|
|
300
|
-
$schema?: string | undefined;
|
|
301
|
-
}, {
|
|
302
|
-
version: 1;
|
|
303
|
-
env: "dev" | "prod";
|
|
304
|
-
integrations?: Record<string, {
|
|
305
|
-
name: string;
|
|
306
|
-
version: string;
|
|
307
|
-
enabled: boolean;
|
|
308
|
-
configurationType?: string | undefined;
|
|
309
|
-
config?: Record<string, any> | undefined;
|
|
310
|
-
missingFields?: string[] | undefined;
|
|
311
|
-
authorizationPending?: boolean | undefined;
|
|
312
|
-
}> | undefined;
|
|
313
|
-
plugins?: Record<string, {
|
|
314
|
-
name: string;
|
|
315
|
-
version: string;
|
|
316
|
-
enabled?: boolean | undefined;
|
|
317
|
-
config?: Record<string, any> | undefined;
|
|
318
|
-
dependencies?: Record<string, {
|
|
319
|
-
integrationAlias: string;
|
|
320
|
-
}> | undefined;
|
|
321
|
-
missingFields?: string[] | undefined;
|
|
322
|
-
}> | undefined;
|
|
323
|
-
$schema?: string | undefined;
|
|
324
57
|
}>;
|
|
325
|
-
export type
|
|
326
|
-
export declare const
|
|
58
|
+
export type PluginLockEntry = z.infer<typeof pluginLockEntrySchema>;
|
|
59
|
+
export declare const lockFileSchema: z.ZodObject<{
|
|
327
60
|
$schema: z.ZodOptional<z.ZodString>;
|
|
328
61
|
version: z.ZodLiteral<1>;
|
|
329
62
|
env: z.ZodEnum<["dev", "prod"]>;
|
|
330
|
-
botId: z.ZodString;
|
|
331
|
-
fetchedAt: z.ZodString;
|
|
332
|
-
botUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
333
|
-
stale: z.ZodOptional<z.ZodBoolean>;
|
|
334
63
|
integrations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
335
64
|
name: z.ZodString;
|
|
336
65
|
version: z.ZodString;
|
|
337
66
|
enabled: z.ZodBoolean;
|
|
338
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
339
67
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
340
|
-
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
341
|
-
authorizationPending: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
-
cloudAlias: z.ZodOptional<z.ZodString>;
|
|
343
|
-
cloudId: z.ZodOptional<z.ZodString>;
|
|
344
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
345
68
|
}, "strip", {
|
|
346
69
|
name: string;
|
|
347
70
|
version: string;
|
|
348
71
|
enabled: boolean;
|
|
349
72
|
config: Record<string, any>;
|
|
350
|
-
configurationType?: string | undefined;
|
|
351
|
-
missingFields?: string[] | undefined;
|
|
352
|
-
updatedAt?: string | undefined;
|
|
353
|
-
authorizationPending?: boolean | undefined;
|
|
354
|
-
cloudAlias?: string | undefined;
|
|
355
|
-
cloudId?: string | undefined;
|
|
356
73
|
}, {
|
|
357
74
|
name: string;
|
|
358
75
|
version: string;
|
|
359
76
|
enabled: boolean;
|
|
360
|
-
configurationType?: string | undefined;
|
|
361
77
|
config?: Record<string, any> | undefined;
|
|
362
|
-
missingFields?: string[] | undefined;
|
|
363
|
-
updatedAt?: string | undefined;
|
|
364
|
-
authorizationPending?: boolean | undefined;
|
|
365
|
-
cloudAlias?: string | undefined;
|
|
366
|
-
cloudId?: string | undefined;
|
|
367
78
|
}>>>;
|
|
368
79
|
plugins: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
369
80
|
name: z.ZodString;
|
|
@@ -377,10 +88,6 @@ export declare const dependencySnapshotSchema: z.ZodObject<{
|
|
|
377
88
|
}, {
|
|
378
89
|
integrationAlias: string;
|
|
379
90
|
}>>>;
|
|
380
|
-
missingFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
381
|
-
cloudAlias: z.ZodOptional<z.ZodString>;
|
|
382
|
-
cloudId: z.ZodOptional<z.ZodString>;
|
|
383
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
384
91
|
}, "strip", {
|
|
385
92
|
name: string;
|
|
386
93
|
version: string;
|
|
@@ -389,10 +96,6 @@ export declare const dependencySnapshotSchema: z.ZodObject<{
|
|
|
389
96
|
dependencies: Record<string, {
|
|
390
97
|
integrationAlias: string;
|
|
391
98
|
}>;
|
|
392
|
-
missingFields?: string[] | undefined;
|
|
393
|
-
updatedAt?: string | undefined;
|
|
394
|
-
cloudAlias?: string | undefined;
|
|
395
|
-
cloudId?: string | undefined;
|
|
396
99
|
}, {
|
|
397
100
|
name: string;
|
|
398
101
|
version: string;
|
|
@@ -401,25 +104,14 @@ export declare const dependencySnapshotSchema: z.ZodObject<{
|
|
|
401
104
|
dependencies?: Record<string, {
|
|
402
105
|
integrationAlias: string;
|
|
403
106
|
}> | undefined;
|
|
404
|
-
missingFields?: string[] | undefined;
|
|
405
|
-
updatedAt?: string | undefined;
|
|
406
|
-
cloudAlias?: string | undefined;
|
|
407
|
-
cloudId?: string | undefined;
|
|
408
107
|
}>>>;
|
|
409
108
|
}, "strip", {
|
|
410
|
-
botId: string;
|
|
411
109
|
version: 1;
|
|
412
110
|
integrations: Record<string, {
|
|
413
111
|
name: string;
|
|
414
112
|
version: string;
|
|
415
113
|
enabled: boolean;
|
|
416
114
|
config: Record<string, any>;
|
|
417
|
-
configurationType?: string | undefined;
|
|
418
|
-
missingFields?: string[] | undefined;
|
|
419
|
-
updatedAt?: string | undefined;
|
|
420
|
-
authorizationPending?: boolean | undefined;
|
|
421
|
-
cloudAlias?: string | undefined;
|
|
422
|
-
cloudId?: string | undefined;
|
|
423
115
|
}>;
|
|
424
116
|
plugins: Record<string, {
|
|
425
117
|
name: string;
|
|
@@ -429,32 +121,17 @@ export declare const dependencySnapshotSchema: z.ZodObject<{
|
|
|
429
121
|
dependencies: Record<string, {
|
|
430
122
|
integrationAlias: string;
|
|
431
123
|
}>;
|
|
432
|
-
missingFields?: string[] | undefined;
|
|
433
|
-
updatedAt?: string | undefined;
|
|
434
|
-
cloudAlias?: string | undefined;
|
|
435
|
-
cloudId?: string | undefined;
|
|
436
124
|
}>;
|
|
437
125
|
env: "dev" | "prod";
|
|
438
|
-
fetchedAt: string;
|
|
439
126
|
$schema?: string | undefined;
|
|
440
|
-
botUpdatedAt?: string | undefined;
|
|
441
|
-
stale?: boolean | undefined;
|
|
442
127
|
}, {
|
|
443
|
-
botId: string;
|
|
444
128
|
version: 1;
|
|
445
129
|
env: "dev" | "prod";
|
|
446
|
-
fetchedAt: string;
|
|
447
130
|
integrations?: Record<string, {
|
|
448
131
|
name: string;
|
|
449
132
|
version: string;
|
|
450
133
|
enabled: boolean;
|
|
451
|
-
configurationType?: string | undefined;
|
|
452
134
|
config?: Record<string, any> | undefined;
|
|
453
|
-
missingFields?: string[] | undefined;
|
|
454
|
-
updatedAt?: string | undefined;
|
|
455
|
-
authorizationPending?: boolean | undefined;
|
|
456
|
-
cloudAlias?: string | undefined;
|
|
457
|
-
cloudId?: string | undefined;
|
|
458
135
|
}> | undefined;
|
|
459
136
|
plugins?: Record<string, {
|
|
460
137
|
name: string;
|
|
@@ -464,43 +141,10 @@ export declare const dependencySnapshotSchema: z.ZodObject<{
|
|
|
464
141
|
dependencies?: Record<string, {
|
|
465
142
|
integrationAlias: string;
|
|
466
143
|
}> | undefined;
|
|
467
|
-
missingFields?: string[] | undefined;
|
|
468
|
-
updatedAt?: string | undefined;
|
|
469
|
-
cloudAlias?: string | undefined;
|
|
470
|
-
cloudId?: string | undefined;
|
|
471
144
|
}> | undefined;
|
|
472
145
|
$schema?: string | undefined;
|
|
473
|
-
botUpdatedAt?: string | undefined;
|
|
474
|
-
stale?: boolean | undefined;
|
|
475
|
-
}>;
|
|
476
|
-
export type DependencySnapshotData = z.infer<typeof dependencySnapshotSchema>;
|
|
477
|
-
export declare const dependencyMigrationMarkerSchema: z.ZodObject<{
|
|
478
|
-
version: z.ZodLiteral<1>;
|
|
479
|
-
migratedAt: z.ZodString;
|
|
480
|
-
sources: z.ZodArray<z.ZodEnum<["lock", "agentConfig", "cloud"]>, "many">;
|
|
481
|
-
}, "strip", {
|
|
482
|
-
version: 1;
|
|
483
|
-
migratedAt: string;
|
|
484
|
-
sources: ("lock" | "agentConfig" | "cloud")[];
|
|
485
|
-
}, {
|
|
486
|
-
version: 1;
|
|
487
|
-
migratedAt: string;
|
|
488
|
-
sources: ("lock" | "agentConfig" | "cloud")[];
|
|
489
146
|
}>;
|
|
490
|
-
export type
|
|
491
|
-
/**
|
|
492
|
-
* A dependency's capability state plus its identity — the flat record surfaced
|
|
493
|
-
* by `adk integrations status --format=json`, the deploy plan, and `adk check`.
|
|
494
|
-
* Embeds the same {@link StatusVerdict} the runtime carrier uses so the build,
|
|
495
|
-
* CLI, and runtime surfaces cannot disagree. Field names are a public contract.
|
|
496
|
-
*/
|
|
497
|
-
export interface DependencyStatus extends StatusVerdict {
|
|
498
|
-
type: ResourceType;
|
|
499
|
-
alias: string;
|
|
500
|
-
name: string;
|
|
501
|
-
version: string;
|
|
502
|
-
enabled: boolean;
|
|
503
|
-
}
|
|
147
|
+
export type LockFileData = z.infer<typeof lockFileSchema>;
|
|
504
148
|
export interface AddSpec {
|
|
505
149
|
name: string;
|
|
506
150
|
version?: string;
|
|
@@ -522,7 +166,7 @@ export interface MutationResult {
|
|
|
522
166
|
name: string;
|
|
523
167
|
version: string;
|
|
524
168
|
};
|
|
525
|
-
|
|
169
|
+
lockChange?: {
|
|
526
170
|
before: unknown;
|
|
527
171
|
after: unknown;
|
|
528
172
|
};
|
|
@@ -532,43 +176,52 @@ export interface MutationResult {
|
|
|
532
176
|
integrationAlias: string;
|
|
533
177
|
}>;
|
|
534
178
|
/**
|
|
535
|
-
* Set when
|
|
536
|
-
*
|
|
537
|
-
* Mirrors the Integration Hub UI behavior.
|
|
179
|
+
* Set when an integration was installed but left disabled because Cloud rejected
|
|
180
|
+
* the enable due to missing required configuration. Mirrors the Integration Hub UI behavior.
|
|
538
181
|
*/
|
|
539
182
|
installedDisabled?: {
|
|
540
183
|
missingFields: string[];
|
|
541
184
|
};
|
|
542
|
-
/**
|
|
543
|
-
* Set when an OAuth/connection-gated integration was installed disabled because
|
|
544
|
-
* the user hasn't completed the connect flow yet (WS5/#7). The snapshot entry
|
|
545
|
-
* carries `authorizationPending: true` until the cloud bot gains an identifier.
|
|
546
|
-
*/
|
|
547
|
-
installedAwaitingAuthorization?: boolean;
|
|
548
185
|
}
|
|
549
186
|
export interface DiffResult {
|
|
550
187
|
target: Environment;
|
|
551
|
-
|
|
188
|
+
lockReflectsCloud: boolean;
|
|
552
189
|
delta: {
|
|
553
|
-
|
|
190
|
+
addedInLock: Array<{
|
|
554
191
|
type: ResourceType;
|
|
555
192
|
alias: string;
|
|
556
193
|
name: string;
|
|
557
194
|
version: string;
|
|
558
195
|
}>;
|
|
559
|
-
|
|
196
|
+
removedInLock: Array<{
|
|
560
197
|
type: ResourceType;
|
|
561
198
|
alias: string;
|
|
562
199
|
name: string;
|
|
563
200
|
version: string;
|
|
564
201
|
}>;
|
|
565
|
-
|
|
202
|
+
changedInLock: Array<{
|
|
566
203
|
type: ResourceType;
|
|
567
204
|
alias: string;
|
|
568
205
|
field: string;
|
|
569
206
|
}>;
|
|
570
207
|
};
|
|
571
208
|
}
|
|
209
|
+
export interface SyncResult {
|
|
210
|
+
target: Environment;
|
|
211
|
+
updated: Array<{
|
|
212
|
+
type: ResourceType;
|
|
213
|
+
alias: string;
|
|
214
|
+
}>;
|
|
215
|
+
added: Array<{
|
|
216
|
+
type: ResourceType;
|
|
217
|
+
alias: string;
|
|
218
|
+
}>;
|
|
219
|
+
removed: Array<{
|
|
220
|
+
type: ResourceType;
|
|
221
|
+
alias: string;
|
|
222
|
+
}>;
|
|
223
|
+
dryRun: boolean;
|
|
224
|
+
}
|
|
572
225
|
export interface ApplyAction {
|
|
573
226
|
type: ResourceType;
|
|
574
227
|
alias: string;
|
|
@@ -597,8 +250,5 @@ export interface MigrationResult {
|
|
|
597
250
|
env: Environment;
|
|
598
251
|
reason: string;
|
|
599
252
|
}>;
|
|
600
|
-
legacySources?: Array<'lock' | 'agentConfig'>;
|
|
601
|
-
snapshotWrites?: Environment[];
|
|
602
|
-
cloudWrites?: Environment[];
|
|
603
253
|
}
|
|
604
254
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/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AAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAClD,OAAO,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,WAAW,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watcher.d.ts","sourceRoot":"","sources":["../../src/file-watcher/watcher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAIrC,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAA;AAE9D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,eAAe,CAAA;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED;;;;;;;;GAQG;AACH,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,QAAQ,CAAmD;IACnE,OAAO,CAAC,UAAU,CAAiC;IACnD,OAAO,CAAC,UAAU,CAAQ;IAC1B,OAAO,CAAC,aAAa,CAA8B;IACnD,OAAO,CAAC,cAAc,CAAqC;IAC3D,OAAO,CAAC,qBAAqB,CAA2B;gBAE5C,OAAO,EAAE,kBAAkB;IAMvC;;OAEG;IACH,KAAK,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"watcher.d.ts","sourceRoot":"","sources":["../../src/file-watcher/watcher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAIrC,MAAM,MAAM,eAAe,GAAG,OA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G;IACH,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,GAAG,OAAO;CAGtD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -37,8 +37,8 @@ export { KnowledgeManager, KBSyncOperation, KBSyncFormatter } from './knowledge/
|
|
|
37
37
|
export type { KnowledgeManagerOptions, KBSyncPlan, KBSyncResult, KBSyncOptions, KBSyncItem, LocalKnowledgeBase, SourceSyncStatus, FileChanges, } from './knowledge/index.js';
|
|
38
38
|
export { FileWatcher } from './file-watcher/index.js';
|
|
39
39
|
export type { WatchChangeType, FileChange, FileChangeEvent as FileWatcherChangeEvent, FileWatcherOptions, } from './file-watcher/index.js';
|
|
40
|
-
export { PreflightChecker, pluralize
|
|
41
|
-
export type {
|
|
40
|
+
export { PreflightChecker, pluralize } from './preflight/index.js';
|
|
41
|
+
export type { PreflightCheckResult, PendingPreflightResult, SecretWarning, DeployPlan, DeployPlanManagers, ApplyOptions, SyncCallbacks, OrphanedKB, } from './preflight/index.js';
|
|
42
42
|
export { ScriptRunner, runScript, setupTestRuntime } from './runner/index.js';
|
|
43
43
|
export type { ScriptRunnerOptions, RunScriptOptions, TestRuntimeResult, SetupTestRuntimeOptions, } from './runner/index.js';
|
|
44
44
|
export * as dependencies from './dependencies/index.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,aAAa,EACb,kBAAkB,EAClB,uBAAuB,EACvB,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,2BAA2B,GAC5B,MAAM,iBAAiB,CAAA;AACxB,YAAY,EACV,OAAO,EACP,YAAY,EACZ,WAAW,EACX,OAAO,EACP,UAAU,EACV,yBAAyB,EACzB,gCAAgC,EAChC,oBAAoB,EACpB,cAAc,EACd,uBAAuB,GACxB,MAAM,iBAAiB,CAAA;AAGxB,c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