@chatbotkit/cli 1.5.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.
Files changed (49) hide show
  1. package/README.md +31 -0
  2. package/bin/cbk.js +4 -0
  3. package/dist/cjs/command/api/conversation/index.cjs +54 -0
  4. package/dist/cjs/command/api/conversation/index.d.ts +6 -0
  5. package/dist/cjs/command/api/conversation/message/index.cjs +54 -0
  6. package/dist/cjs/command/api/conversation/message/index.d.ts +6 -0
  7. package/dist/cjs/command/api/dataset/index.cjs +51 -0
  8. package/dist/cjs/command/api/dataset/index.d.ts +6 -0
  9. package/dist/cjs/command/api/index.cjs +27 -0
  10. package/dist/cjs/command/api/index.d.ts +3 -0
  11. package/dist/cjs/command/api/partner/index.cjs +11 -0
  12. package/dist/cjs/command/api/partner/index.d.ts +3 -0
  13. package/dist/cjs/command/api/partner/user/index.cjs +51 -0
  14. package/dist/cjs/command/api/partner/user/index.d.ts +6 -0
  15. package/dist/cjs/command/api/skillset/index.cjs +51 -0
  16. package/dist/cjs/command/api/skillset/index.d.ts +6 -0
  17. package/dist/cjs/command/chat/index.cjs +40 -0
  18. package/dist/cjs/command/chat/index.d.ts +3 -0
  19. package/dist/cjs/env.cjs +14 -0
  20. package/dist/cjs/env.d.ts +2 -0
  21. package/dist/cjs/index.cjs +14 -0
  22. package/dist/cjs/index.d.ts +1 -0
  23. package/dist/cjs/output.cjs +34 -0
  24. package/dist/cjs/output.d.ts +5 -0
  25. package/dist/esm/command/api/conversation/index.d.ts +6 -0
  26. package/dist/esm/command/api/conversation/index.js +50 -0
  27. package/dist/esm/command/api/conversation/message/index.d.ts +6 -0
  28. package/dist/esm/command/api/conversation/message/index.js +51 -0
  29. package/dist/esm/command/api/dataset/index.d.ts +6 -0
  30. package/dist/esm/command/api/dataset/index.js +48 -0
  31. package/dist/esm/command/api/index.d.ts +3 -0
  32. package/dist/esm/command/api/index.js +23 -0
  33. package/dist/esm/command/api/partner/index.d.ts +3 -0
  34. package/dist/esm/command/api/partner/index.js +7 -0
  35. package/dist/esm/command/api/partner/user/index.d.ts +6 -0
  36. package/dist/esm/command/api/partner/user/index.js +48 -0
  37. package/dist/esm/command/api/skillset/index.d.ts +6 -0
  38. package/dist/esm/command/api/skillset/index.js +48 -0
  39. package/dist/esm/command/chat/index.d.ts +3 -0
  40. package/dist/esm/command/chat/index.js +36 -0
  41. package/dist/esm/env.d.ts +2 -0
  42. package/dist/esm/env.js +9 -0
  43. package/dist/esm/index.d.ts +1 -0
  44. package/dist/esm/index.js +10 -0
  45. package/dist/esm/output.d.ts +5 -0
  46. package/dist/esm/output.js +28 -0
  47. package/dist/tsconfig.cjs.tsbuildinfo +1 -0
  48. package/dist/tsconfig.esm.tsbuildinfo +1 -0
  49. package/package.json +373 -0
package/package.json ADDED
@@ -0,0 +1,373 @@
1
+ {
2
+ "name": "@chatbotkit/cli",
3
+ "version": "1.5.0",
4
+ "description": "ChatBotKit command line tools",
5
+ "license": "ISC",
6
+ "engines": {
7
+ "node": ">=18.17.0"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/chatbotkit/node-sdk.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/chatbotkit/node-sdk/issues"
15
+ },
16
+ "homepage": "https://github.com/chatbotkit/node-sdk#readme",
17
+ "author": "",
18
+ "keywords": [
19
+ "chatbotkit",
20
+ "cli"
21
+ ],
22
+ "bin": {
23
+ "cbk": "./bin/cbk.js"
24
+ },
25
+ "type": "module",
26
+ "main": "./dist/cjs/index.js",
27
+ "exports": {
28
+ "./command/api/conversation": {
29
+ "import": {
30
+ "types": "./dist/esm/command/api/conversation/index.d.ts",
31
+ "default": "./dist/esm/command/api/conversation/index.js"
32
+ },
33
+ "require": {
34
+ "types": "./dist/cjs/command/api/conversation/index.d.ts",
35
+ "default": "./dist/cjs/command/api/conversation/index.cjs"
36
+ }
37
+ },
38
+ "./command/api/conversation/index": {
39
+ "import": {
40
+ "types": "./dist/esm/command/api/conversation/index.d.ts",
41
+ "default": "./dist/esm/command/api/conversation/index.js"
42
+ },
43
+ "require": {
44
+ "types": "./dist/cjs/command/api/conversation/index.d.ts",
45
+ "default": "./dist/cjs/command/api/conversation/index.cjs"
46
+ }
47
+ },
48
+ "./command/api/conversation/index.js": {
49
+ "import": {
50
+ "types": "./dist/esm/command/api/conversation/index.d.ts",
51
+ "default": "./dist/esm/command/api/conversation/index.js"
52
+ },
53
+ "require": {
54
+ "types": "./dist/cjs/command/api/conversation/index.d.ts",
55
+ "default": "./dist/cjs/command/api/conversation/index.cjs"
56
+ }
57
+ },
58
+ "./command/api/conversation/message": {
59
+ "import": {
60
+ "types": "./dist/esm/command/api/conversation/message/index.d.ts",
61
+ "default": "./dist/esm/command/api/conversation/message/index.js"
62
+ },
63
+ "require": {
64
+ "types": "./dist/cjs/command/api/conversation/message/index.d.ts",
65
+ "default": "./dist/cjs/command/api/conversation/message/index.cjs"
66
+ }
67
+ },
68
+ "./command/api/conversation/message/index": {
69
+ "import": {
70
+ "types": "./dist/esm/command/api/conversation/message/index.d.ts",
71
+ "default": "./dist/esm/command/api/conversation/message/index.js"
72
+ },
73
+ "require": {
74
+ "types": "./dist/cjs/command/api/conversation/message/index.d.ts",
75
+ "default": "./dist/cjs/command/api/conversation/message/index.cjs"
76
+ }
77
+ },
78
+ "./command/api/conversation/message/index.js": {
79
+ "import": {
80
+ "types": "./dist/esm/command/api/conversation/message/index.d.ts",
81
+ "default": "./dist/esm/command/api/conversation/message/index.js"
82
+ },
83
+ "require": {
84
+ "types": "./dist/cjs/command/api/conversation/message/index.d.ts",
85
+ "default": "./dist/cjs/command/api/conversation/message/index.cjs"
86
+ }
87
+ },
88
+ "./command/api/dataset": {
89
+ "import": {
90
+ "types": "./dist/esm/command/api/dataset/index.d.ts",
91
+ "default": "./dist/esm/command/api/dataset/index.js"
92
+ },
93
+ "require": {
94
+ "types": "./dist/cjs/command/api/dataset/index.d.ts",
95
+ "default": "./dist/cjs/command/api/dataset/index.cjs"
96
+ }
97
+ },
98
+ "./command/api/dataset/index": {
99
+ "import": {
100
+ "types": "./dist/esm/command/api/dataset/index.d.ts",
101
+ "default": "./dist/esm/command/api/dataset/index.js"
102
+ },
103
+ "require": {
104
+ "types": "./dist/cjs/command/api/dataset/index.d.ts",
105
+ "default": "./dist/cjs/command/api/dataset/index.cjs"
106
+ }
107
+ },
108
+ "./command/api/dataset/index.js": {
109
+ "import": {
110
+ "types": "./dist/esm/command/api/dataset/index.d.ts",
111
+ "default": "./dist/esm/command/api/dataset/index.js"
112
+ },
113
+ "require": {
114
+ "types": "./dist/cjs/command/api/dataset/index.d.ts",
115
+ "default": "./dist/cjs/command/api/dataset/index.cjs"
116
+ }
117
+ },
118
+ "./command/api": {
119
+ "import": {
120
+ "types": "./dist/esm/command/api/index.d.ts",
121
+ "default": "./dist/esm/command/api/index.js"
122
+ },
123
+ "require": {
124
+ "types": "./dist/cjs/command/api/index.d.ts",
125
+ "default": "./dist/cjs/command/api/index.cjs"
126
+ }
127
+ },
128
+ "./command/api/index": {
129
+ "import": {
130
+ "types": "./dist/esm/command/api/index.d.ts",
131
+ "default": "./dist/esm/command/api/index.js"
132
+ },
133
+ "require": {
134
+ "types": "./dist/cjs/command/api/index.d.ts",
135
+ "default": "./dist/cjs/command/api/index.cjs"
136
+ }
137
+ },
138
+ "./command/api/index.js": {
139
+ "import": {
140
+ "types": "./dist/esm/command/api/index.d.ts",
141
+ "default": "./dist/esm/command/api/index.js"
142
+ },
143
+ "require": {
144
+ "types": "./dist/cjs/command/api/index.d.ts",
145
+ "default": "./dist/cjs/command/api/index.cjs"
146
+ }
147
+ },
148
+ "./command/api/partner": {
149
+ "import": {
150
+ "types": "./dist/esm/command/api/partner/index.d.ts",
151
+ "default": "./dist/esm/command/api/partner/index.js"
152
+ },
153
+ "require": {
154
+ "types": "./dist/cjs/command/api/partner/index.d.ts",
155
+ "default": "./dist/cjs/command/api/partner/index.cjs"
156
+ }
157
+ },
158
+ "./command/api/partner/index": {
159
+ "import": {
160
+ "types": "./dist/esm/command/api/partner/index.d.ts",
161
+ "default": "./dist/esm/command/api/partner/index.js"
162
+ },
163
+ "require": {
164
+ "types": "./dist/cjs/command/api/partner/index.d.ts",
165
+ "default": "./dist/cjs/command/api/partner/index.cjs"
166
+ }
167
+ },
168
+ "./command/api/partner/index.js": {
169
+ "import": {
170
+ "types": "./dist/esm/command/api/partner/index.d.ts",
171
+ "default": "./dist/esm/command/api/partner/index.js"
172
+ },
173
+ "require": {
174
+ "types": "./dist/cjs/command/api/partner/index.d.ts",
175
+ "default": "./dist/cjs/command/api/partner/index.cjs"
176
+ }
177
+ },
178
+ "./command/api/partner/user": {
179
+ "import": {
180
+ "types": "./dist/esm/command/api/partner/user/index.d.ts",
181
+ "default": "./dist/esm/command/api/partner/user/index.js"
182
+ },
183
+ "require": {
184
+ "types": "./dist/cjs/command/api/partner/user/index.d.ts",
185
+ "default": "./dist/cjs/command/api/partner/user/index.cjs"
186
+ }
187
+ },
188
+ "./command/api/partner/user/index": {
189
+ "import": {
190
+ "types": "./dist/esm/command/api/partner/user/index.d.ts",
191
+ "default": "./dist/esm/command/api/partner/user/index.js"
192
+ },
193
+ "require": {
194
+ "types": "./dist/cjs/command/api/partner/user/index.d.ts",
195
+ "default": "./dist/cjs/command/api/partner/user/index.cjs"
196
+ }
197
+ },
198
+ "./command/api/partner/user/index.js": {
199
+ "import": {
200
+ "types": "./dist/esm/command/api/partner/user/index.d.ts",
201
+ "default": "./dist/esm/command/api/partner/user/index.js"
202
+ },
203
+ "require": {
204
+ "types": "./dist/cjs/command/api/partner/user/index.d.ts",
205
+ "default": "./dist/cjs/command/api/partner/user/index.cjs"
206
+ }
207
+ },
208
+ "./command/api/skillset": {
209
+ "import": {
210
+ "types": "./dist/esm/command/api/skillset/index.d.ts",
211
+ "default": "./dist/esm/command/api/skillset/index.js"
212
+ },
213
+ "require": {
214
+ "types": "./dist/cjs/command/api/skillset/index.d.ts",
215
+ "default": "./dist/cjs/command/api/skillset/index.cjs"
216
+ }
217
+ },
218
+ "./command/api/skillset/index": {
219
+ "import": {
220
+ "types": "./dist/esm/command/api/skillset/index.d.ts",
221
+ "default": "./dist/esm/command/api/skillset/index.js"
222
+ },
223
+ "require": {
224
+ "types": "./dist/cjs/command/api/skillset/index.d.ts",
225
+ "default": "./dist/cjs/command/api/skillset/index.cjs"
226
+ }
227
+ },
228
+ "./command/api/skillset/index.js": {
229
+ "import": {
230
+ "types": "./dist/esm/command/api/skillset/index.d.ts",
231
+ "default": "./dist/esm/command/api/skillset/index.js"
232
+ },
233
+ "require": {
234
+ "types": "./dist/cjs/command/api/skillset/index.d.ts",
235
+ "default": "./dist/cjs/command/api/skillset/index.cjs"
236
+ }
237
+ },
238
+ "./command/chat": {
239
+ "import": {
240
+ "types": "./dist/esm/command/chat/index.d.ts",
241
+ "default": "./dist/esm/command/chat/index.js"
242
+ },
243
+ "require": {
244
+ "types": "./dist/cjs/command/chat/index.d.ts",
245
+ "default": "./dist/cjs/command/chat/index.cjs"
246
+ }
247
+ },
248
+ "./command/chat/index": {
249
+ "import": {
250
+ "types": "./dist/esm/command/chat/index.d.ts",
251
+ "default": "./dist/esm/command/chat/index.js"
252
+ },
253
+ "require": {
254
+ "types": "./dist/cjs/command/chat/index.d.ts",
255
+ "default": "./dist/cjs/command/chat/index.cjs"
256
+ }
257
+ },
258
+ "./command/chat/index.js": {
259
+ "import": {
260
+ "types": "./dist/esm/command/chat/index.d.ts",
261
+ "default": "./dist/esm/command/chat/index.js"
262
+ },
263
+ "require": {
264
+ "types": "./dist/cjs/command/chat/index.d.ts",
265
+ "default": "./dist/cjs/command/chat/index.cjs"
266
+ }
267
+ },
268
+ "./env": {
269
+ "import": {
270
+ "types": "./dist/esm/env.d.ts",
271
+ "default": "./dist/esm/env.js"
272
+ },
273
+ "require": {
274
+ "types": "./dist/cjs/env.d.ts",
275
+ "default": "./dist/cjs/env.cjs"
276
+ }
277
+ },
278
+ "./env.js": {
279
+ "import": {
280
+ "types": "./dist/esm/env.d.ts",
281
+ "default": "./dist/esm/env.js"
282
+ },
283
+ "require": {
284
+ "types": "./dist/cjs/env.d.ts",
285
+ "default": "./dist/cjs/env.cjs"
286
+ }
287
+ },
288
+ ".": {
289
+ "import": {
290
+ "types": "./dist/esm/index.d.ts",
291
+ "default": "./dist/esm/index.js"
292
+ },
293
+ "require": {
294
+ "types": "./dist/cjs/index.d.ts",
295
+ "default": "./dist/cjs/index.cjs"
296
+ }
297
+ },
298
+ "./index": {
299
+ "import": {
300
+ "types": "./dist/esm/index.d.ts",
301
+ "default": "./dist/esm/index.js"
302
+ },
303
+ "require": {
304
+ "types": "./dist/cjs/index.d.ts",
305
+ "default": "./dist/cjs/index.cjs"
306
+ }
307
+ },
308
+ "./index.js": {
309
+ "import": {
310
+ "types": "./dist/esm/index.d.ts",
311
+ "default": "./dist/esm/index.js"
312
+ },
313
+ "require": {
314
+ "types": "./dist/cjs/index.d.ts",
315
+ "default": "./dist/cjs/index.cjs"
316
+ }
317
+ },
318
+ "./output": {
319
+ "import": {
320
+ "types": "./dist/esm/output.d.ts",
321
+ "default": "./dist/esm/output.js"
322
+ },
323
+ "require": {
324
+ "types": "./dist/cjs/output.d.ts",
325
+ "default": "./dist/cjs/output.cjs"
326
+ }
327
+ },
328
+ "./output.js": {
329
+ "import": {
330
+ "types": "./dist/esm/output.d.ts",
331
+ "default": "./dist/esm/output.js"
332
+ },
333
+ "require": {
334
+ "types": "./dist/cjs/output.d.ts",
335
+ "default": "./dist/cjs/output.cjs"
336
+ }
337
+ },
338
+ "./package.json": "./package.json"
339
+ },
340
+ "files": [
341
+ "dist/**"
342
+ ],
343
+ "types": "./dist/cjs/index.d.ts",
344
+ "dependencies": {
345
+ "commander": "^11.1.0",
346
+ "js-yaml": "^4.1.0",
347
+ "tslib": "^2.6.2",
348
+ "@chatbotkit/sdk": "1.4.0"
349
+ },
350
+ "devDependencies": {
351
+ "@types/js-yaml": "^4.0.9"
352
+ },
353
+ "scripts": {
354
+ "build": "run-s build:*",
355
+ "build:cjs": "tsc -p tsconfig.cjs.json",
356
+ "build:cjs_rename": "node ../../scripts/rename-cjs.js",
357
+ "build:cjs_rewrite_cjs": "node ../../scripts/rewrite-cjs.js",
358
+ "build:cjs_rewrite_ts": "node ../../scripts/rewrite-ts.js",
359
+ "build:docs": "typedoc",
360
+ "build:esm": "tsc -p tsconfig.esm.json",
361
+ "build:exports": "node ../../scripts/create-standard-exports.js",
362
+ "build:types": "tsc -p tsconfig.types.json",
363
+ "check": "tsc -p tsconfig.check.json",
364
+ "clean": "run-p clean:*",
365
+ "clean:buildinfo": "rimraf *.tsbuildinfo",
366
+ "clean:dists": "rimraf dist",
367
+ "clean:exports": "run-s build:exports",
368
+ "clean:node_modules": "rimraf node_modules",
369
+ "clean:types": "rimraf types",
370
+ "lint": "eslint .",
371
+ "test": "true"
372
+ }
373
+ }