@promptbook/components 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 +5 -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 +1 -1
- package/umd/index.umd.js +5 -1
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -25,7 +25,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
25
25
|
* @generated
|
|
26
26
|
* @see https://github.com/webgptorg/promptbook
|
|
27
27
|
*/
|
|
28
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
28
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-46';
|
|
29
29
|
/**
|
|
30
30
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
31
31
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -2323,6 +2323,8 @@ const PADDING_LINES = 11;
|
|
|
2323
2323
|
/**
|
|
2324
2324
|
* A function that adds padding to the book content
|
|
2325
2325
|
*
|
|
2326
|
+
* Note: [🔂] This function is idempotent.
|
|
2327
|
+
*
|
|
2326
2328
|
* @public exported from `@promptbook/core`
|
|
2327
2329
|
*/
|
|
2328
2330
|
function padBook(content) {
|
|
@@ -2368,6 +2370,8 @@ function isValidBook(value) {
|
|
|
2368
2370
|
* This function should be used when you have a string that you know represents agent source
|
|
2369
2371
|
* but need to convert it to the branded type for type safety
|
|
2370
2372
|
*
|
|
2373
|
+
* Note: [🔂] This function is idempotent.
|
|
2374
|
+
*
|
|
2371
2375
|
* @public exported from `@promptbook/core`
|
|
2372
2376
|
*/
|
|
2373
2377
|
function validateBook(source) {
|