@promptbook/markitdown 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 +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/remote-server/startAgentServer.d.ts +3 -0
- package/esm/typings/src/remote-server/startRemoteServer.d.ts +1 -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
|
@@ -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-
|
|
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
|
|
@@ -1860,6 +1860,8 @@ function isValidJsonString(value /* <- [👨⚖️] */) {
|
|
|
1860
1860
|
* Function `validatePipelineString` will validate the if the string is a valid pipeline string
|
|
1861
1861
|
* 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.
|
|
1862
1862
|
*
|
|
1863
|
+
* Note: [🔂] This function is idempotent.
|
|
1864
|
+
*
|
|
1863
1865
|
* @param {string} pipelineString the candidate for a pipeline string
|
|
1864
1866
|
* @returns {PipelineString} the same string as input, but validated as valid
|
|
1865
1867
|
* @throws {ParseError} if the string is not a valid pipeline string
|
|
@@ -2449,6 +2451,8 @@ function isValidPipelineUrl(url) {
|
|
|
2449
2451
|
* - if it is valid json
|
|
2450
2452
|
* - if it is meaningful
|
|
2451
2453
|
*
|
|
2454
|
+
* Note: [🔂] This function is idempotent.
|
|
2455
|
+
*
|
|
2452
2456
|
* @param pipeline valid or invalid PipelineJson
|
|
2453
2457
|
* @returns the same pipeline if it is logically valid
|
|
2454
2458
|
* @throws {PipelineLogicError} on logical error in the pipeline
|
|
@@ -5912,6 +5916,8 @@ function checkExpectations(expectations, value) {
|
|
|
5912
5916
|
* This function provides a common abstraction for result validation that can be used
|
|
5913
5917
|
* by both execution logic and caching logic to ensure consistency.
|
|
5914
5918
|
*
|
|
5919
|
+
* Note: [🔂] This function is idempotent.
|
|
5920
|
+
*
|
|
5915
5921
|
* @param options - The validation options including result string, expectations, and format
|
|
5916
5922
|
* @returns Validation result with processed string and validity status
|
|
5917
5923
|
* @private internal function of `createPipelineExecutor` and `cacheLlmTools`
|