@promptbook/markdown-utils 0.104.0-18 → 0.104.0-19
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 -5
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +2 -2
- package/esm/typings/src/_packages/utils.index.d.ts +2 -0
- package/esm/typings/src/book-2.0/agent-source/AgentModelRequirements.d.ts +7 -2
- package/esm/typings/src/utils/validators/url/isValidAgentUrl.d.ts +16 -0
- package/esm/typings/src/utils/validators/url/isValidAgentUrl.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/url/isValidPipelineUrl.d.ts +2 -1
- package/esm/typings/src/utils/validators/url/isValidUrl.d.ts +4 -3
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +7 -5
- package/umd/index.umd.js.map +1 -1
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.104.0-
|
|
26
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-19';
|
|
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
|
|
@@ -1561,9 +1561,10 @@ function isValidFilePath(filename) {
|
|
|
1561
1561
|
*
|
|
1562
1562
|
* Note: [🔂] This function is idempotent.
|
|
1563
1563
|
* Note: Dataurl are considered perfectly valid.
|
|
1564
|
-
* Note: There are
|
|
1565
|
-
* - `isValidUrl` which tests any URL
|
|
1566
|
-
* - `
|
|
1564
|
+
* Note: There are few similar functions:
|
|
1565
|
+
* - `isValidUrl` *(this one)* which tests any URL
|
|
1566
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
1567
|
+
* - `isValidPipelineUrl` which tests just pipeline URL
|
|
1567
1568
|
*
|
|
1568
1569
|
* @public exported from `@promptbook/utils`
|
|
1569
1570
|
*/
|
|
@@ -2131,8 +2132,9 @@ function isValidPromptbookVersion(version) {
|
|
|
2131
2132
|
/**
|
|
2132
2133
|
* Tests if given string is valid pipeline URL URL.
|
|
2133
2134
|
*
|
|
2134
|
-
* Note: There are
|
|
2135
|
+
* Note: There are few similar functions:
|
|
2135
2136
|
* - `isValidUrl` which tests any URL
|
|
2137
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
2136
2138
|
* - `isValidPipelineUrl` *(this one)* which tests just pipeline URL
|
|
2137
2139
|
*
|
|
2138
2140
|
* @public exported from `@promptbook/utils`
|