@promptbook/markdown-utils 0.103.0-44 → 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
@@ -23,7 +23,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
23
23
  * @generated
24
24
  * @see https://github.com/webgptorg/promptbook
25
25
  */
26
- const PROMPTBOOK_ENGINE_VERSION = '0.103.0-44';
26
+ const PROMPTBOOK_ENGINE_VERSION = '0.103.0-46';
27
27
  /**
28
28
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
29
29
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1523,6 +1523,8 @@ function isValidUrl(url) {
1523
1523
  * Function `validatePipelineString` will validate the if the string is a valid pipeline string
1524
1524
  * 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.
1525
1525
  *
1526
+ * Note: [🔂] This function is idempotent.
1527
+ *
1526
1528
  * @param {string} pipelineString the candidate for a pipeline string
1527
1529
  * @returns {PipelineString} the same string as input, but validated as valid
1528
1530
  * @throws {ParseError} if the string is not a valid pipeline string
@@ -2101,6 +2103,8 @@ function isValidPipelineUrl(url) {
2101
2103
  * - if it is valid json
2102
2104
  * - if it is meaningful
2103
2105
  *
2106
+ * Note: [🔂] This function is idempotent.
2107
+ *
2104
2108
  * @param pipeline valid or invalid PipelineJson
2105
2109
  * @returns the same pipeline if it is logically valid
2106
2110
  * @throws {PipelineLogicError} on logical error in the pipeline
@@ -5879,6 +5883,8 @@ function checkExpectations(expectations, value) {
5879
5883
  * This function provides a common abstraction for result validation that can be used
5880
5884
  * by both execution logic and caching logic to ensure consistency.
5881
5885
  *
5886
+ * Note: [🔂] This function is idempotent.
5887
+ *
5882
5888
  * @param options - The validation options including result string, expectations, and format
5883
5889
  * @returns Validation result with processed string and validity status
5884
5890
  * @private internal function of `createPipelineExecutor` and `cacheLlmTools`