@promptbook/website-crawler 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 +7 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/book-2.0/agent-source/padBook.d.ts +2 -0
- package/esm/typings/src/book-2.0/agent-source/string_book.d.ts +2 -0
- package/esm/typings/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +4 -0
- package/esm/typings/src/conversion/validation/validatePipeline.d.ts +2 -0
- package/esm/typings/src/execution/utils/validatePromptResult.d.ts +2 -0
- package/esm/typings/src/pipeline/validatePipelineString.d.ts +2 -0
- package/esm/typings/src/utils/validators/parameterName/validateParameterName.d.ts +2 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +7 -1
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -27,7 +27,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
27
27
|
* @generated
|
|
28
28
|
* @see https://github.com/webgptorg/promptbook
|
|
29
29
|
*/
|
|
30
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
30
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-46';
|
|
31
31
|
/**
|
|
32
32
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
33
33
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -2043,6 +2043,8 @@ function isValidJsonString(value /* <- [👨⚖️] */) {
|
|
|
2043
2043
|
* Function `validatePipelineString` will validate the if the string is a valid pipeline string
|
|
2044
2044
|
* 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.
|
|
2045
2045
|
*
|
|
2046
|
+
* Note: [🔂] This function is idempotent.
|
|
2047
|
+
*
|
|
2046
2048
|
* @param {string} pipelineString the candidate for a pipeline string
|
|
2047
2049
|
* @returns {PipelineString} the same string as input, but validated as valid
|
|
2048
2050
|
* @throws {ParseError} if the string is not a valid pipeline string
|
|
@@ -2605,6 +2607,8 @@ function isValidPipelineUrl(url) {
|
|
|
2605
2607
|
* - if it is valid json
|
|
2606
2608
|
* - if it is meaningful
|
|
2607
2609
|
*
|
|
2610
|
+
* Note: [🔂] This function is idempotent.
|
|
2611
|
+
*
|
|
2608
2612
|
* @param pipeline valid or invalid PipelineJson
|
|
2609
2613
|
* @returns the same pipeline if it is logically valid
|
|
2610
2614
|
* @throws {PipelineLogicError} on logical error in the pipeline
|
|
@@ -5926,6 +5930,8 @@ function checkExpectations(expectations, value) {
|
|
|
5926
5930
|
* This function provides a common abstraction for result validation that can be used
|
|
5927
5931
|
* by both execution logic and caching logic to ensure consistency.
|
|
5928
5932
|
*
|
|
5933
|
+
* Note: [🔂] This function is idempotent.
|
|
5934
|
+
*
|
|
5929
5935
|
* @param options - The validation options including result string, expectations, and format
|
|
5930
5936
|
* @returns Validation result with processed string and validity status
|
|
5931
5937
|
* @private internal function of `createPipelineExecutor` and `cacheLlmTools`
|