@promptbook/remote-server 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
|
@@ -33,7 +33,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
33
33
|
* @generated
|
|
34
34
|
* @see https://github.com/webgptorg/promptbook
|
|
35
35
|
*/
|
|
36
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-
|
|
36
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-19';
|
|
37
37
|
/**
|
|
38
38
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
39
39
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -2448,9 +2448,10 @@ function isValidPromptbookVersion(version) {
|
|
|
2448
2448
|
*
|
|
2449
2449
|
* Note: [🔂] This function is idempotent.
|
|
2450
2450
|
* Note: Dataurl are considered perfectly valid.
|
|
2451
|
-
* Note: There are
|
|
2452
|
-
* - `isValidUrl` which tests any URL
|
|
2453
|
-
* - `
|
|
2451
|
+
* Note: There are few similar functions:
|
|
2452
|
+
* - `isValidUrl` *(this one)* which tests any URL
|
|
2453
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
2454
|
+
* - `isValidPipelineUrl` which tests just pipeline URL
|
|
2454
2455
|
*
|
|
2455
2456
|
* @public exported from `@promptbook/utils`
|
|
2456
2457
|
*/
|
|
@@ -2476,8 +2477,9 @@ function isValidUrl(url) {
|
|
|
2476
2477
|
/**
|
|
2477
2478
|
* Tests if given string is valid pipeline URL URL.
|
|
2478
2479
|
*
|
|
2479
|
-
* Note: There are
|
|
2480
|
+
* Note: There are few similar functions:
|
|
2480
2481
|
* - `isValidUrl` which tests any URL
|
|
2482
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
2481
2483
|
* - `isValidPipelineUrl` *(this one)* which tests just pipeline URL
|
|
2482
2484
|
*
|
|
2483
2485
|
* @public exported from `@promptbook/utils`
|