@promptbook/cli 0.71.0-16 → 0.71.0-17

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/esm/index.es.js CHANGED
@@ -26,7 +26,7 @@ import { Converter } from 'showdown';
26
26
  /**
27
27
  * The version of the Promptbook library
28
28
  */
29
- var PROMPTBOOK_VERSION = '0.71.0-15';
29
+ var PROMPTBOOK_VERSION = '0.71.0-16';
30
30
  // TODO: [main] !!!! List here all the versions and annotate + put into script
31
31
 
32
32
  /*! *****************************************************************************
@@ -5374,7 +5374,7 @@ function makeKnowledgeSourceHandler(knowledgeSource, tools, options) {
5374
5374
  switch (_c.label) {
5375
5375
  case 0:
5376
5376
  _b = (_a = JSON).parse;
5377
- return [4 /*yield*/, readFile(filename_1, 'utf-8')];
5377
+ return [4 /*yield*/, tools.fs.readFile(filename_1, 'utf-8')];
5378
5378
  case 1: return [2 /*return*/, _b.apply(_a, [_c.sent()])];
5379
5379
  }
5380
5380
  });
@@ -5384,7 +5384,7 @@ function makeKnowledgeSourceHandler(knowledgeSource, tools, options) {
5384
5384
  return __awaiter(this, void 0, void 0, function () {
5385
5385
  return __generator(this, function (_a) {
5386
5386
  switch (_a.label) {
5387
- case 0: return [4 /*yield*/, readFile(filename_1, 'utf-8')];
5387
+ case 0: return [4 /*yield*/, tools.fs.readFile(filename_1, 'utf-8')];
5388
5388
  case 1: return [2 /*return*/, _a.sent()];
5389
5389
  }
5390
5390
  });