@promptbook/core 0.41.106 → 0.41.108

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
@@ -430,7 +430,7 @@ function removeContentComments(content) {
430
430
  /**
431
431
  * The version of the Promptbook library
432
432
  */
433
- var PROMPTBOOK_VERSION = '0.41.105';
433
+ var PROMPTBOOK_VERSION = '0.41.106';
434
434
 
435
435
  /**
436
436
  * Parses the given script and returns the list of all used variables that are not defined in the script
@@ -0,0 +1,8 @@
1
+ import { prettifyPromptbookStringCli } from '../conversion/prettify/prettifyPromptbookStringCli';
2
+ /**
3
+ * Hidden utilities which should not be used by external consumers.
4
+ */
5
+ declare const __: {
6
+ prettifyPromptbookStringCli: typeof prettifyPromptbookStringCli;
7
+ };
8
+ export { __ };
@@ -1,5 +1,4 @@
1
1
  import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
2
- import { prettifyPromptbookStringCli } from '../conversion/prettify/prettifyPromptbookStringCli';
3
2
  import { parseNumber } from '../conversion/utils/parseNumber';
4
3
  import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
5
4
  import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
@@ -23,13 +22,7 @@ import { removeQuotes } from '../utils/removeQuotes';
23
22
  import { trimCodeBlock } from '../utils/trimCodeBlock';
24
23
  import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock';
25
24
  import { unwrapResult } from '../utils/unwrapResult';
26
- /**
27
- * Hidden utilities which should not be used by external consumers.
28
- */
29
- declare const __: {
30
- prettifyPromptbookStringCli: typeof prettifyPromptbookStringCli;
31
- };
32
- export { __, assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
25
+ export { assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
33
26
  extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
34
27
  extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [🌻]
35
28
  prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/core",
3
- "version": "0.41.106",
3
+ "version": "0.41.108",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
package/umd/index.umd.js CHANGED
@@ -437,7 +437,7 @@
437
437
  /**
438
438
  * The version of the Promptbook library
439
439
  */
440
- var PROMPTBOOK_VERSION = '0.41.105';
440
+ var PROMPTBOOK_VERSION = '0.41.106';
441
441
 
442
442
  /**
443
443
  * Parses the given script and returns the list of all used variables that are not defined in the script
@@ -0,0 +1,8 @@
1
+ import { prettifyPromptbookStringCli } from '../conversion/prettify/prettifyPromptbookStringCli';
2
+ /**
3
+ * Hidden utilities which should not be used by external consumers.
4
+ */
5
+ declare const __: {
6
+ prettifyPromptbookStringCli: typeof prettifyPromptbookStringCli;
7
+ };
8
+ export { __ };
@@ -1,5 +1,4 @@
1
1
  import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
2
- import { prettifyPromptbookStringCli } from '../conversion/prettify/prettifyPromptbookStringCli';
3
2
  import { parseNumber } from '../conversion/utils/parseNumber';
4
3
  import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
5
4
  import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
@@ -23,13 +22,7 @@ import { removeQuotes } from '../utils/removeQuotes';
23
22
  import { trimCodeBlock } from '../utils/trimCodeBlock';
24
23
  import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock';
25
24
  import { unwrapResult } from '../utils/unwrapResult';
26
- /**
27
- * Hidden utilities which should not be used by external consumers.
28
- */
29
- declare const __: {
30
- prettifyPromptbookStringCli: typeof prettifyPromptbookStringCli;
31
- };
32
- export { __, assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
25
+ export { assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
33
26
  extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
34
27
  extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [🌻]
35
28
  prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };