@promptbook/remote-client 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 +2 -2
- package/umd/index.umd.js +7 -5
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -20,7 +20,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
20
20
|
* @generated
|
|
21
21
|
* @see https://github.com/webgptorg/promptbook
|
|
22
22
|
*/
|
|
23
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-
|
|
23
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-19';
|
|
24
24
|
/**
|
|
25
25
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
26
26
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1515,9 +1515,10 @@ function deserializeError(error) {
|
|
|
1515
1515
|
*
|
|
1516
1516
|
* Note: [🔂] This function is idempotent.
|
|
1517
1517
|
* Note: Dataurl are considered perfectly valid.
|
|
1518
|
-
* Note: There are
|
|
1519
|
-
* - `isValidUrl` which tests any URL
|
|
1520
|
-
* - `
|
|
1518
|
+
* Note: There are few similar functions:
|
|
1519
|
+
* - `isValidUrl` *(this one)* which tests any URL
|
|
1520
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
1521
|
+
* - `isValidPipelineUrl` which tests just pipeline URL
|
|
1521
1522
|
*
|
|
1522
1523
|
* @public exported from `@promptbook/utils`
|
|
1523
1524
|
*/
|
|
@@ -4832,8 +4833,9 @@ const postprocessCommandParser = {
|
|
|
4832
4833
|
/**
|
|
4833
4834
|
* Tests if given string is valid pipeline URL URL.
|
|
4834
4835
|
*
|
|
4835
|
-
* Note: There are
|
|
4836
|
+
* Note: There are few similar functions:
|
|
4836
4837
|
* - `isValidUrl` which tests any URL
|
|
4838
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
4837
4839
|
* - `isValidPipelineUrl` *(this one)* which tests just pipeline URL
|
|
4838
4840
|
*
|
|
4839
4841
|
* @public exported from `@promptbook/utils`
|