@promptbook/node 0.71.0-15 → 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.
@@ -1,19 +1,11 @@
1
+ import type { PrepareAndScrapeOptions } from '../../../prepare/PrepareAndScrapeOptions';
1
2
  import type { LlmExecutionToolsWithTotalUsage } from '../utils/count-total-usage/LlmExecutionToolsWithTotalUsage';
2
- type GetLlmToolsForCliOptions = {
3
- /**
4
- * @@@
5
- *
6
- * @default false
7
- */
8
- isCacheReloaded?: boolean;
9
- };
10
3
  /**
11
4
  * Returns LLM tools for CLI
12
5
  *
13
6
  * @private within the repository - for CLI utils
14
7
  */
15
- export declare function $provideLlmToolsForCli(options?: GetLlmToolsForCliOptions): LlmExecutionToolsWithTotalUsage;
16
- export {};
8
+ export declare function $provideLlmToolsForCli(options?: Pick<PrepareAndScrapeOptions, 'isCacheCleaned'>): LlmExecutionToolsWithTotalUsage;
17
9
  /**
18
10
  * Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
19
11
  * TODO: [👷‍♂️] @@@ Manual about construction of llmTools
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/node",
3
- "version": "0.71.0-15",
3
+ "version": "0.71.0-17",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -51,7 +51,7 @@
51
51
  "module": "./esm/index.es.js",
52
52
  "typings": "./esm/typings/src/_packages/node.index.d.ts",
53
53
  "peerDependencies": {
54
- "@promptbook/core": "0.71.0-15"
54
+ "@promptbook/core": "0.71.0-17"
55
55
  },
56
56
  "dependencies": {
57
57
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -35,7 +35,7 @@
35
35
  /**
36
36
  * The version of the Promptbook library
37
37
  */
38
- var PROMPTBOOK_VERSION = '0.71.0-14';
38
+ var PROMPTBOOK_VERSION = '0.71.0-16';
39
39
  // TODO: [main] !!!! List here all the versions and annotate + put into script
40
40
 
41
41
  /*! *****************************************************************************
@@ -5147,7 +5147,7 @@
5147
5147
  switch (_c.label) {
5148
5148
  case 0:
5149
5149
  _b = (_a = JSON).parse;
5150
- return [4 /*yield*/, promises.readFile(filename_1, 'utf-8')];
5150
+ return [4 /*yield*/, tools.fs.readFile(filename_1, 'utf-8')];
5151
5151
  case 1: return [2 /*return*/, _b.apply(_a, [_c.sent()])];
5152
5152
  }
5153
5153
  });
@@ -5157,7 +5157,7 @@
5157
5157
  return __awaiter(this, void 0, void 0, function () {
5158
5158
  return __generator(this, function (_a) {
5159
5159
  switch (_a.label) {
5160
- case 0: return [4 /*yield*/, promises.readFile(filename_1, 'utf-8')];
5160
+ case 0: return [4 /*yield*/, tools.fs.readFile(filename_1, 'utf-8')];
5161
5161
  case 1: return [2 /*return*/, _a.sent()];
5162
5162
  }
5163
5163
  });