@promptbook/pdf 0.103.0-45 → 0.103.0-46

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
@@ -24,7 +24,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
24
24
  * @generated
25
25
  * @see https://github.com/webgptorg/promptbook
26
26
  */
27
- const PROMPTBOOK_ENGINE_VERSION = '0.103.0-45';
27
+ const PROMPTBOOK_ENGINE_VERSION = '0.103.0-46';
28
28
  /**
29
29
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
30
30
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1873,6 +1873,8 @@ function isValidJsonString(value /* <- [👨‍⚖️] */) {
1873
1873
  * Function `validatePipelineString` will validate the if the string is a valid pipeline string
1874
1874
  * It does not check if the string is fully logically correct, but if it is a string that can be a pipeline string or the string looks completely different.
1875
1875
  *
1876
+ * Note: [🔂] This function is idempotent.
1877
+ *
1876
1878
  * @param {string} pipelineString the candidate for a pipeline string
1877
1879
  * @returns {PipelineString} the same string as input, but validated as valid
1878
1880
  * @throws {ParseError} if the string is not a valid pipeline string
@@ -2462,6 +2464,8 @@ function isValidPipelineUrl(url) {
2462
2464
  * - if it is valid json
2463
2465
  * - if it is meaningful
2464
2466
  *
2467
+ * Note: [🔂] This function is idempotent.
2468
+ *
2465
2469
  * @param pipeline valid or invalid PipelineJson
2466
2470
  * @returns the same pipeline if it is logically valid
2467
2471
  * @throws {PipelineLogicError} on logical error in the pipeline
@@ -5925,6 +5929,8 @@ function checkExpectations(expectations, value) {
5925
5929
  * This function provides a common abstraction for result validation that can be used
5926
5930
  * by both execution logic and caching logic to ensure consistency.
5927
5931
  *
5932
+ * Note: [🔂] This function is idempotent.
5933
+ *
5928
5934
  * @param options - The validation options including result string, expectations, and format
5929
5935
  * @returns Validation result with processed string and validity status
5930
5936
  * @private internal function of `createPipelineExecutor` and `cacheLlmTools`