@promptbook/templates 0.92.0-24 → 0.92.0-25
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 +12 -12
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +0 -2
- package/esm/typings/src/commands/_common/types/CommandParser.d.ts +36 -28
- package/esm/typings/src/constants.d.ts +2 -2
- package/esm/typings/src/errors/0-BoilerplateError.d.ts +2 -2
- package/esm/typings/src/execution/CommonToolsOptions.d.ts +3 -3
- package/esm/typings/src/llm-providers/_common/register/$llmToolsMetadataRegister.d.ts +3 -3
- package/esm/typings/src/llm-providers/_common/register/$llmToolsRegister.d.ts +3 -3
- package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +4 -4
- package/esm/typings/src/llm-providers/_common/utils/cache/CacheItem.d.ts +5 -5
- package/esm/typings/src/llm-providers/_common/utils/cache/CacheLlmToolsOptions.d.ts +5 -3
- package/esm/typings/src/llm-providers/_common/utils/count-total-usage/limitTotalUsage.d.ts +5 -5
- package/esm/typings/src/other/templates/getBookTemplates.d.ts +2 -2
- package/esm/typings/src/pipeline/PipelineInterface/PipelineInterface.d.ts +3 -3
- package/esm/typings/src/pipeline/PipelineInterface/constants.d.ts +1 -1
- package/esm/typings/src/pipeline/PipelineInterface/getPipelineInterface.d.ts +1 -1
- package/esm/typings/src/pipeline/PipelineInterface/isPipelineImplementingInterface.d.ts +5 -4
- package/esm/typings/src/pipeline/PipelineInterface/isPipelineInterfacesEqual.d.ts +1 -1
- package/esm/typings/src/pipeline/PipelineJson/CommonTaskJson.d.ts +9 -6
- package/esm/typings/src/pipeline/PipelineJson/PipelineJson.d.ts +2 -2
- package/esm/typings/src/pipeline/PipelineString.d.ts +3 -1
- package/esm/typings/src/pipeline/book-notation.d.ts +2 -2
- package/esm/typings/src/prepare/prepareTasks.d.ts +7 -4
- package/esm/typings/src/remote-server/types/RemoteServerOptions.d.ts +2 -1
- package/esm/typings/src/scrapers/_boilerplate/BoilerplateScraper.d.ts +3 -3
- package/esm/typings/src/scrapers/_boilerplate/createBoilerplateScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/_boilerplate/register-metadata.d.ts +1 -1
- package/esm/typings/src/scrapers/_common/Converter.d.ts +3 -1
- package/esm/typings/src/scrapers/_common/Scraper.d.ts +4 -3
- package/esm/typings/src/scrapers/_common/ScraperIntermediateSource.d.ts +4 -2
- package/esm/typings/src/scrapers/_common/register/$provideFilesystemForNode.d.ts +2 -1
- package/esm/typings/src/scrapers/_common/register/$provideScrapersForBrowser.d.ts +6 -3
- package/esm/typings/src/scrapers/_common/register/$provideScrapersForNode.d.ts +3 -5
- package/esm/typings/src/scrapers/_common/register/$scrapersRegister.d.ts +3 -2
- package/esm/typings/src/scrapers/_common/register/ScraperAndConverterMetadata.d.ts +8 -5
- package/esm/typings/src/scrapers/_common/register/ScraperConstructor.d.ts +2 -1
- package/esm/typings/src/scrapers/_common/utils/getScraperIntermediateSource.d.ts +6 -5
- package/esm/typings/src/scrapers/_common/utils/makeKnowledgeSourceHandler.d.ts +3 -1
- package/esm/typings/src/scrapers/document/createDocumentScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/document-legacy/createLegacyDocumentScraper.d.ts +2 -1
- package/esm/typings/src/scrapers/markdown/createMarkdownScraper.d.ts +4 -1
- package/esm/typings/src/scrapers/markitdown/MarkitdownScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/pdf/createPdfScraper.d.ts +2 -1
- package/esm/typings/src/scrapers/website/createWebsiteScraper.d.ts +3 -4
- package/esm/typings/src/scripting/javascript/postprocessing-functions.d.ts +5 -1
- package/esm/typings/src/storage/file-cache-storage/FileCacheStorage.d.ts +12 -5
- package/esm/typings/src/storage/file-cache-storage/FileCacheStorageOptions.d.ts +4 -2
- package/esm/typings/src/storage/file-cache-storage/utils/nameToSubfolderPath.d.ts +2 -1
- package/esm/typings/src/storage/local-storage/utils/makePromptbookStorageFromWebStorage.d.ts +2 -1
- package/esm/typings/src/types/IntermediateFilesStrategy.d.ts +2 -1
- package/esm/typings/src/types/ModelVariant.d.ts +5 -5
- package/esm/typings/src/types/typeAliases.d.ts +8 -6
- package/esm/typings/src/utils/editable/edit-pipeline-string/addPipelineCommand.d.ts +2 -2
- package/esm/typings/src/utils/editable/edit-pipeline-string/deflatePipeline.d.ts +4 -1
- package/esm/typings/src/utils/editable/utils/isFlatPipeline.d.ts +2 -1
- package/esm/typings/src/utils/markdown/extractAllListItemsFromMarkdown.d.ts +1 -1
- package/esm/typings/src/utils/normalization/nameToUriPart.d.ts +4 -4
- package/esm/typings/src/utils/normalization/nameToUriParts.d.ts +4 -4
- package/esm/typings/src/utils/normalization/normalize-to-kebab-case.d.ts +3 -3
- package/esm/typings/src/utils/normalization/normalizeTo_SCREAMING_CASE.d.ts +3 -3
- package/esm/typings/src/utils/normalization/normalizeTo_camelCase.d.ts +4 -4
- package/esm/typings/src/utils/normalization/normalizeTo_snake_case.d.ts +3 -3
- package/esm/typings/src/utils/normalization/removeDiacritics.d.ts +3 -3
- package/esm/typings/src/utils/normalization/searchKeywords.d.ts +4 -1
- package/esm/typings/src/utils/normalization/titleToName.d.ts +4 -4
- package/esm/typings/src/utils/organization/empty_object.d.ts +2 -2
- package/esm/typings/src/utils/organization/just_empty_object.d.ts +4 -4
- package/esm/typings/src/version.d.ts +2 -1
- package/package.json +2 -2
- package/umd/index.umd.js +12 -12
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -16,7 +16,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
16
16
|
* @generated
|
|
17
17
|
* @see https://github.com/webgptorg/promptbook
|
|
18
18
|
*/
|
|
19
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.92.0-
|
|
19
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.92.0-25';
|
|
20
20
|
/**
|
|
21
21
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
22
22
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1571,7 +1571,7 @@ function getTemplatesPipelineCollection() {
|
|
|
1571
1571
|
"preparations": [
|
|
1572
1572
|
{
|
|
1573
1573
|
"id": 1,
|
|
1574
|
-
"promptbookVersion": "0.92.0-
|
|
1574
|
+
"promptbookVersion": "0.92.0-24",
|
|
1575
1575
|
"usage": {
|
|
1576
1576
|
"price": {
|
|
1577
1577
|
"value": 0.016800000000000002
|
|
@@ -2072,7 +2072,7 @@ function getTemplatesPipelineCollection() {
|
|
|
2072
2072
|
"preparations": [
|
|
2073
2073
|
{
|
|
2074
2074
|
"id": 1,
|
|
2075
|
-
"promptbookVersion": "0.92.0-
|
|
2075
|
+
"promptbookVersion": "0.92.0-24",
|
|
2076
2076
|
"usage": {
|
|
2077
2077
|
"price": {
|
|
2078
2078
|
"value": 0.016800000000000002
|
|
@@ -2783,7 +2783,7 @@ function getTemplatesPipelineCollection() {
|
|
|
2783
2783
|
"preparations": [
|
|
2784
2784
|
{
|
|
2785
2785
|
"id": 1,
|
|
2786
|
-
"promptbookVersion": "0.92.0-
|
|
2786
|
+
"promptbookVersion": "0.92.0-24",
|
|
2787
2787
|
"usage": {
|
|
2788
2788
|
"price": {
|
|
2789
2789
|
"value": 0.016316999999999998
|
|
@@ -2931,7 +2931,7 @@ function getTemplatesPipelineCollection() {
|
|
|
2931
2931
|
"preparations": [
|
|
2932
2932
|
{
|
|
2933
2933
|
"id": 1,
|
|
2934
|
-
"promptbookVersion": "0.92.0-
|
|
2934
|
+
"promptbookVersion": "0.92.0-24",
|
|
2935
2935
|
"usage": {
|
|
2936
2936
|
"price": {
|
|
2937
2937
|
"value": 0.018161999999999998
|
|
@@ -3027,7 +3027,7 @@ function getTemplatesPipelineCollection() {
|
|
|
3027
3027
|
"preparations": [
|
|
3028
3028
|
{
|
|
3029
3029
|
"id": 1,
|
|
3030
|
-
"promptbookVersion": "0.92.0-
|
|
3030
|
+
"promptbookVersion": "0.92.0-24",
|
|
3031
3031
|
"usage": {
|
|
3032
3032
|
"price": {
|
|
3033
3033
|
"value": 0
|
|
@@ -3170,7 +3170,7 @@ function getTemplatesPipelineCollection() {
|
|
|
3170
3170
|
"preparations": [
|
|
3171
3171
|
{
|
|
3172
3172
|
"id": 1,
|
|
3173
|
-
"promptbookVersion": "0.92.0-
|
|
3173
|
+
"promptbookVersion": "0.92.0-24",
|
|
3174
3174
|
"usage": {
|
|
3175
3175
|
"price": {
|
|
3176
3176
|
"value": 0.017319
|
|
@@ -3332,7 +3332,7 @@ function getTemplatesPipelineCollection() {
|
|
|
3332
3332
|
"preparations": [
|
|
3333
3333
|
{
|
|
3334
3334
|
"id": 1,
|
|
3335
|
-
"promptbookVersion": "0.92.0-
|
|
3335
|
+
"promptbookVersion": "0.92.0-24",
|
|
3336
3336
|
"usage": {
|
|
3337
3337
|
"price": {
|
|
3338
3338
|
"value": 0.017994000000000003
|
|
@@ -3668,7 +3668,7 @@ function getTemplatesPipelineCollection() {
|
|
|
3668
3668
|
"preparations": [
|
|
3669
3669
|
{
|
|
3670
3670
|
"id": 1,
|
|
3671
|
-
"promptbookVersion": "0.92.0-
|
|
3671
|
+
"promptbookVersion": "0.92.0-24",
|
|
3672
3672
|
"usage": {
|
|
3673
3673
|
"price": {
|
|
3674
3674
|
"value": 0.018462
|
|
@@ -3815,7 +3815,7 @@ function getTemplatesPipelineCollection() {
|
|
|
3815
3815
|
"preparations": [
|
|
3816
3816
|
{
|
|
3817
3817
|
"id": 1,
|
|
3818
|
-
"promptbookVersion": "0.92.0-
|
|
3818
|
+
"promptbookVersion": "0.92.0-24",
|
|
3819
3819
|
"usage": {
|
|
3820
3820
|
"price": {
|
|
3821
3821
|
"value": 0.016824
|
|
@@ -3885,14 +3885,14 @@ function getTemplatesPipelineCollection() {
|
|
|
3885
3885
|
}
|
|
3886
3886
|
|
|
3887
3887
|
/**
|
|
3888
|
-
*
|
|
3888
|
+
* Internal cache for the `getBookTemplates` function, storing retrieved pipelines.
|
|
3889
3889
|
*
|
|
3890
3890
|
* @singleton
|
|
3891
3891
|
* @private internal cache of `getBookTemplate`
|
|
3892
3892
|
*/
|
|
3893
3893
|
let pipelines = null;
|
|
3894
3894
|
/**
|
|
3895
|
-
*
|
|
3895
|
+
* Retrieves a collection of Promptbook templates.
|
|
3896
3896
|
*
|
|
3897
3897
|
* @param formfactorName - optional filter for FORMFACTOR - get only pipelines for this formfactor
|
|
3898
3898
|
* @returns list of pipelines
|