@promptbook/browser 0.75.0-0 → 0.75.0-2
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/README.md +1 -0
- package/esm/index.es.js +4 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/promptbook-collection/index.d.ts +6 -6
- package/esm/typings/src/_packages/core.index.d.ts +29 -19
- package/esm/typings/src/_packages/types.index.d.ts +58 -50
- package/esm/typings/src/_packages/utils.index.d.ts +4 -4
- package/esm/typings/src/cli/cli-commands/about.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/hello.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/make.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/prettify.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/run.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/test-command.d.ts +1 -0
- package/esm/typings/src/cli/main.d.ts +1 -0
- package/esm/typings/src/collection/PipelineCollection.d.ts +1 -1
- package/esm/typings/src/collection/SimplePipelineCollection.d.ts +1 -1
- package/esm/typings/src/collection/collectionToJson.d.ts +1 -1
- package/esm/typings/src/collection/constructors/createCollectionFromJson.d.ts +1 -1
- package/esm/typings/src/collection/constructors/createCollectionFromPromise.d.ts +1 -1
- package/esm/typings/src/commands/EXPECT/ExpectCommand.d.ts +2 -2
- package/esm/typings/src/commands/EXPECT/expectCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/FOREACH/foreachCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/FORMAT/formatCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/JOKER/jokerCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/POSTPROCESS/postprocessCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/SECTION/SectionCommand.d.ts +11 -0
- package/esm/typings/src/commands/SECTION/SectionType.d.ts +13 -0
- package/esm/typings/src/commands/{TEMPLATE/templateCommandParser.d.ts → SECTION/sectionCommandParser.d.ts} +6 -6
- package/esm/typings/src/commands/_common/types/Command.d.ts +1 -1
- package/esm/typings/src/commands/_common/types/CommandParser.d.ts +17 -17
- package/esm/typings/src/commands/_common/types/CommandUsagePlaces.d.ts +1 -1
- package/esm/typings/src/commands/index.d.ts +4 -1
- package/esm/typings/src/config.d.ts +3 -1
- package/esm/typings/src/conversion/pipelineJsonToString.d.ts +2 -2
- package/esm/typings/src/conversion/pipelineStringToJson.d.ts +2 -2
- package/esm/typings/src/conversion/pipelineStringToJsonSync.d.ts +3 -3
- package/esm/typings/src/conversion/prettify/prettifyPipelineString.d.ts +1 -1
- package/esm/typings/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +3 -3
- package/esm/typings/src/conversion/utils/{extractParameterNamesFromTemplate.d.ts → extractParameterNamesFromTask.d.ts} +2 -2
- package/esm/typings/src/conversion/utils/renameParameter.d.ts +1 -1
- package/esm/typings/src/conversion/validation/_importPipeline.d.ts +3 -2
- package/esm/typings/src/conversion/validation/validatePipeline.d.ts +1 -1
- package/esm/typings/src/errors/index.d.ts +3 -0
- package/esm/typings/src/execution/PipelineExecutorResult.d.ts +2 -2
- package/esm/typings/src/execution/PromptResultUsage.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/{$OngoingTemplateResult.d.ts → $OngoingTaskResult.d.ts} +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/00-CreatePipelineExecutorOptions.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/10-executePipeline.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/{20-executeTemplate.d.ts → 20-executeTask.d.ts} +7 -7
- package/esm/typings/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +5 -5
- package/esm/typings/src/execution/createPipelineExecutor/filterJustOutputParameters.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/{getContextForTemplate.d.ts → getContextForTask.d.ts} +2 -2
- package/esm/typings/src/execution/createPipelineExecutor/{getExamplesForTemplate.d.ts → getExamplesForTask.d.ts} +2 -2
- package/esm/typings/src/execution/createPipelineExecutor/getKnowledgeForTask.d.ts +27 -0
- package/esm/typings/src/execution/createPipelineExecutor/getReservedParametersForTask.d.ts +30 -0
- package/esm/typings/src/{types → execution}/execution-report/ExecutionPromptReportJson.d.ts +2 -2
- package/esm/typings/src/{types → execution}/execution-report/ExecutionReportJson.d.ts +4 -4
- package/esm/typings/src/{types → execution}/execution-report/ExecutionReportStringOptions.d.ts +1 -1
- package/esm/typings/src/execution/utils/checkExpectations.d.ts +1 -1
- package/esm/typings/src/execution/utils/usage-constants.d.ts +3 -0
- package/esm/typings/src/formats/index.d.ts +3 -0
- package/esm/typings/src/formfactors/_boilerplate/BoilerplateFormfactorDefinition.d.ts +14 -0
- package/esm/typings/src/formfactors/_common/AbstractFormfactorDefinition.d.ts +9 -1
- package/esm/typings/src/formfactors/_common/FormfactorDefinition.d.ts +4 -1
- package/esm/typings/src/formfactors/chatbot/ChatbotFormfactorDefinition.d.ts +15 -0
- package/esm/typings/src/formfactors/generic/GenericFormfactorDefinition.d.ts +5 -1
- package/esm/typings/src/formfactors/index.d.ts +39 -3
- package/esm/typings/src/formfactors/matcher/MatcherFormfactorDefinition.d.ts +14 -0
- package/esm/typings/src/formfactors/sheets/SheetsFormfactorDefinition.d.ts +14 -0
- package/esm/typings/src/formfactors/translator/TranslatorFormfactorDefinition.d.ts +14 -0
- package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -0
- package/esm/typings/src/llm-providers/anthropic-claude/register-configuration.d.ts +3 -0
- package/esm/typings/src/llm-providers/anthropic-claude/register-constructor.d.ts +1 -0
- package/esm/typings/src/llm-providers/azure-openai/register-configuration.d.ts +3 -0
- package/esm/typings/src/llm-providers/azure-openai/register-constructor.d.ts +1 -0
- package/esm/typings/src/llm-providers/mocked/$fakeTextToExpectations.d.ts +1 -1
- package/esm/typings/src/llm-providers/openai/openai-models.d.ts +1 -0
- package/esm/typings/src/llm-providers/openai/register-configuration.d.ts +3 -0
- package/esm/typings/src/llm-providers/openai/register-constructor.d.ts +1 -0
- package/esm/typings/src/personas/preparePersona.d.ts +1 -1
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/PipelineInterface.d.ts +5 -2
- package/esm/typings/src/pipeline/PipelineInterface/constants.d.ts +14 -0
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/getPipelineInterface.d.ts +3 -1
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/isPipelineImplementingInterface.d.ts +5 -1
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/isPipelineInterfacesEqual.d.ts +2 -0
- package/esm/typings/src/pipeline/PipelineJson/DialogTaskJson.d.ts +13 -0
- package/esm/typings/src/{types → pipeline}/PipelineJson/Expectations.d.ts +2 -2
- package/esm/typings/src/{types → pipeline}/PipelineJson/KnowledgePieceJson.d.ts +7 -6
- package/esm/typings/src/{types → pipeline}/PipelineJson/KnowledgeSourceJson.d.ts +3 -3
- package/esm/typings/src/pipeline/PipelineJson/ParameterJson.d.ts +96 -0
- package/esm/typings/src/{types → pipeline}/PipelineJson/PersonaJson.d.ts +4 -4
- package/esm/typings/src/{types → pipeline}/PipelineJson/PipelineJson.d.ts +10 -10
- package/esm/typings/src/{types → pipeline}/PipelineJson/PreparationJson.d.ts +1 -1
- package/esm/typings/src/{types/PipelineJson/PromptTemplateJson.d.ts → pipeline/PipelineJson/PromptTaskJson.d.ts} +8 -8
- package/esm/typings/src/pipeline/PipelineJson/ScriptTaskJson.d.ts +20 -0
- package/esm/typings/src/pipeline/PipelineJson/SimpleTaskJson.d.ts +13 -0
- package/esm/typings/src/pipeline/PipelineJson/TaskJson.d.ts +11 -0
- package/esm/typings/src/{types/PipelineJson/TemplateJsonCommon.d.ts → pipeline/PipelineJson/TaskJsonCommon.d.ts} +13 -13
- package/esm/typings/src/{types → pipeline}/PipelineString.d.ts +1 -1
- package/esm/typings/src/prepare/isPipelinePrepared.d.ts +2 -2
- package/esm/typings/src/prepare/preparePipeline.d.ts +1 -1
- package/esm/typings/src/prepare/{prepareTemplates.d.ts → prepareTasks.d.ts} +7 -7
- package/esm/typings/src/prepare/unpreparePipeline.d.ts +1 -1
- package/esm/typings/src/scrapers/_common/Scraper.d.ts +1 -1
- package/esm/typings/src/scrapers/_common/prepareKnowledgePieces.d.ts +2 -2
- package/esm/typings/src/scrapers/_common/utils/makeKnowledgeSourceHandler.d.ts +1 -1
- package/esm/typings/src/scrapers/document/DocumentScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/document/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/document/register-metadata.d.ts +3 -0
- package/esm/typings/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/document-legacy/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/document-legacy/register-metadata.d.ts +3 -0
- package/esm/typings/src/scrapers/markdown/MarkdownScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/markdown/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/markdown/register-metadata.d.ts +3 -0
- package/esm/typings/src/scrapers/pdf/PdfScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/pdf/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/pdf/register-metadata.d.ts +3 -0
- package/esm/typings/src/scrapers/website/WebsiteScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/website/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/website/register-metadata.d.ts +3 -0
- package/esm/typings/src/scripting/javascript/postprocessing-functions.d.ts +1 -0
- package/esm/typings/src/types/Prompt.d.ts +1 -1
- package/esm/typings/src/types/TaskProgress.d.ts +2 -2
- package/esm/typings/src/types/typeAliasEmoji.d.ts +3 -0
- package/esm/typings/src/types/typeAliases.d.ts +1 -0
- package/esm/typings/src/utils/emojis.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/{config.d.ts → constants.d.ts} +4 -0
- package/esm/typings/src/utils/expectation-counters/countCharacters.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countLines.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countPages.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countParagraphs.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countSentences.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countWords.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/index.d.ts +3 -2
- package/esm/typings/src/utils/normalization/normalize-to-kebab-case.d.ts +3 -0
- package/esm/typings/src/utils/parameters/extractParameterNames.d.ts +2 -2
- package/esm/typings/src/utils/serialization/clonePipeline.d.ts +1 -1
- package/esm/typings/src/version.d.ts +2 -1
- package/package.json +5 -4
- package/umd/index.umd.js +4 -1
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/commands/TEMPLATE/TemplateCommand.d.ts +0 -11
- package/esm/typings/src/commands/TEMPLATE/TemplateTypes.d.ts +0 -15
- package/esm/typings/src/execution/createPipelineExecutor/getKnowledgeForTemplate.d.ts +0 -27
- package/esm/typings/src/execution/createPipelineExecutor/getReservedParametersForTemplate.d.ts +0 -30
- package/esm/typings/src/formfactors/chat/ChatFormfactorDefinition.d.ts +0 -10
- package/esm/typings/src/types/PipelineJson/DialogTemplateJson.d.ts +0 -13
- package/esm/typings/src/types/PipelineJson/ParameterJson.d.ts +0 -39
- package/esm/typings/src/types/PipelineJson/ScriptTemplateJson.d.ts +0 -20
- package/esm/typings/src/types/PipelineJson/SimpleTemplateJson.d.ts +0 -13
- package/esm/typings/src/types/PipelineJson/TemplateJson.d.ts +0 -11
- /package/esm/typings/src/commands/{TEMPLATE/templateCommand.test.d.ts → SECTION/sectionCommand.test.d.ts} +0 -0
- /package/esm/typings/src/conversion/utils/{extractParameterNamesFromTemplate.test.d.ts → extractParameterNamesFromTask.test.d.ts} +0 -0
- /package/esm/typings/src/{types → execution}/execution-report/ExecutionReportString.d.ts +0 -0
- /package/esm/typings/src/{types → execution}/execution-report/countWorkingDuration.d.ts +0 -0
- /package/esm/typings/src/{types → execution}/execution-report/countWorkingDuration.test.d.ts +0 -0
- /package/esm/typings/src/{types → execution}/execution-report/executionReportJsonToString.d.ts +0 -0
package/README.md
CHANGED
|
@@ -19,6 +19,7 @@ Build responsible, controlled and transparent applications on top of LLM models!
|
|
|
19
19
|
## ✨ New Features
|
|
20
20
|
|
|
21
21
|
- 💙 Working [the **Book** language v1.0.0](https://github.com/webgptorg/book)
|
|
22
|
+
- 🖤 Run books from CLI - `npx ptbk run path/to/your/book`
|
|
22
23
|
- 📚 Support of `.docx`, `.doc` and `.pdf` documents
|
|
23
24
|
- ✨ **Support of [OpenAI o1 model](https://openai.com/o1/)**
|
|
24
25
|
|
package/esm/index.es.js
CHANGED
|
@@ -13,9 +13,10 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
13
13
|
*
|
|
14
14
|
* @see https://github.com/webgptorg/promptbook
|
|
15
15
|
*/
|
|
16
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.
|
|
16
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.75.0-1';
|
|
17
17
|
/**
|
|
18
18
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
19
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
19
20
|
*/
|
|
20
21
|
|
|
21
22
|
/*! *****************************************************************************
|
|
@@ -438,6 +439,8 @@ Object.freeze({
|
|
|
438
439
|
skipEmptyLines: true,
|
|
439
440
|
});
|
|
440
441
|
/**
|
|
442
|
+
* TODO: Extract `constants.ts` from `config.ts`
|
|
443
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
441
444
|
* TODO: [🧠][🧜♂️] Maybe join remoteUrl and path into single value
|
|
442
445
|
*/
|
|
443
446
|
|
package/esm/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../../../../src/version.ts","../../../node_modules/tslib/tslib.es6.js","../../../../src/errors/PipelineExecutionError.ts","../../../../src/dialogs/simple-prompt/SimplePromptInterfaceTools.ts","../../../../src/errors/EnvironmentMismatchError.ts","../../../../src/utils/environment/$isRunningInBrowser.ts","../../../../src/utils/environment/$isRunningInWebWorker.ts","../../../../src/utils/serialization/$deepFreeze.ts","../../../../src/errors/UnexpectedError.ts","../../../../src/utils/serialization/checkSerializableAsJson.ts","../../../../src/utils/serialization/$asDeeplyFrozenSerializableJson.ts","../../../../src/config.ts","../../../../src/errors/NotYetImplementedError.ts","../../../../src/utils/environment/$getGlobalScope.ts","../../../../src/utils/normalization/normalizeTo_SCREAMING_CASE.ts","../../../../src/utils/normalization/normalizeTo_snake_case.ts","../../../../src/utils/$Register.ts","../../../../src/scrapers/_common/register/$scrapersRegister.ts","../../../../src/scrapers/_common/register/$provideScrapersForBrowser.ts","../../../../src/utils/serialization/isSerializableAsJson.ts","../../../../src/conversion/utils/stringifyPipelineJson.ts","../../../../src/storage/local-storage/utils/makePromptbookStorageFromWebStorage.ts","../../../../src/storage/local-storage/getLocalStorage.ts","../../../../src/storage/local-storage/getSessionStorage.ts"],"sourcesContent":[null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["spaceTrim"],"mappings":";;;AAAA;AAIA;;;;AAIG;AACI,IAAM,qBAAqB,GAA4B,QAAQ;AAEtE;;;;AAIG;AACI,IAAM,yBAAyB,GAA8B,YAAY;AAIhF;;AAEG;;ACtBH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;AACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;AACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;AACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAC1G,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;AACF;AACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;AAChC,IAAI,IAAI,OAAO,CAAC,KAAK,UAAU,IAAI,CAAC,KAAK,IAAI;AAC7C,QAAQ,MAAM,IAAI,SAAS,CAAC,sBAAsB,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,+BAA+B,CAAC,CAAC;AAClG,IAAI,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C;AAC1G,aAAA;AAED,YAAA,IAAM,WAAW,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AACjD,YAAA,UAAU,CAAC,OAAO,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;SACxC;AAED,QAAA,UAAU,YAAC,GAAW,EAAA;AAClB,YAAA,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;SAC9B;KACJ,CAAC;AACN,CAAC;AAED;;;AAGG;;ACvCH;;;;AAIG;SACa,eAAe,GAAA;IAC3B,IAAI,CAAC,kBAAkB,EAAE,EAAE;AACvB,QAAA,MAAM,IAAI,wBAAwB,CAAC,4DAA4D,CAAC,CAAC;AACpG,KAAA;AAED,IAAA,OAAO,mCAAmC,CAAQ,YAAY,CAAC,CAAC;AACpE,CAAC;AAED;;AAEG;;ACfH;;;;AAIG;SACa,iBAAiB,GAAA;IAC7B,IAAI,CAAC,kBAAkB,EAAE,EAAE;AACvB,QAAA,MAAM,IAAI,wBAAwB,CAAC,8DAA8D,CAAC,CAAC;AACtG,KAAA;AAED,IAAA,OAAO,mCAAmC,CAAQ,cAAc,CAAC,CAAC;AACtE,CAAC;AAED;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../../../../src/version.ts","../../../node_modules/tslib/tslib.es6.js","../../../../src/errors/PipelineExecutionError.ts","../../../../src/dialogs/simple-prompt/SimplePromptInterfaceTools.ts","../../../../src/errors/EnvironmentMismatchError.ts","../../../../src/utils/environment/$isRunningInBrowser.ts","../../../../src/utils/environment/$isRunningInWebWorker.ts","../../../../src/utils/serialization/$deepFreeze.ts","../../../../src/errors/UnexpectedError.ts","../../../../src/utils/serialization/checkSerializableAsJson.ts","../../../../src/utils/serialization/$asDeeplyFrozenSerializableJson.ts","../../../../src/config.ts","../../../../src/errors/NotYetImplementedError.ts","../../../../src/utils/environment/$getGlobalScope.ts","../../../../src/utils/normalization/normalizeTo_SCREAMING_CASE.ts","../../../../src/utils/normalization/normalizeTo_snake_case.ts","../../../../src/utils/$Register.ts","../../../../src/scrapers/_common/register/$scrapersRegister.ts","../../../../src/scrapers/_common/register/$provideScrapersForBrowser.ts","../../../../src/utils/serialization/isSerializableAsJson.ts","../../../../src/conversion/utils/stringifyPipelineJson.ts","../../../../src/storage/local-storage/utils/makePromptbookStorageFromWebStorage.ts","../../../../src/storage/local-storage/getLocalStorage.ts","../../../../src/storage/local-storage/getSessionStorage.ts"],"sourcesContent":[null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["spaceTrim"],"mappings":";;;AAAA;AAIA;;;;AAIG;AACI,IAAM,qBAAqB,GAA4B,QAAQ;AAEtE;;;;AAIG;AACI,IAAM,yBAAyB,GAA8B,WAAW;AAI/E;;;AAGG;;ACvBH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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AAC,CAAC;AACpG,KAAA;AAED,IAAA,OAAO,mCAAmC,CAAQ,YAAY,CAAC,CAAC;AACpE,CAAC;AAED;;AAEG;;ACfH;;;;AAIG;SACa,iBAAiB,GAAA;IAC7B,IAAI,CAAC,kBAAkB,EAAE,EAAE;AACvB,QAAA,MAAM,IAAI,wBAAwB,CAAC,8DAA8D,CAAC,CAAC;AACtG,KAAA;AAED,IAAA,OAAO,mCAAmC,CAAQ,cAAc,CAAC,CAAC;AACtE,CAAC;AAED;;AAEG;;;;"}
|
|
@@ -8,8 +8,8 @@ declare const _default: ({
|
|
|
8
8
|
isInput: boolean;
|
|
9
9
|
isOutput: boolean;
|
|
10
10
|
}[];
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
tasks: {
|
|
12
|
+
taskType: string;
|
|
13
13
|
name: string;
|
|
14
14
|
title: string;
|
|
15
15
|
content: string;
|
|
@@ -31,8 +31,8 @@ declare const _default: ({
|
|
|
31
31
|
isInput: boolean;
|
|
32
32
|
isOutput: boolean;
|
|
33
33
|
}[];
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
tasks: {
|
|
35
|
+
taskType: string;
|
|
36
36
|
name: string;
|
|
37
37
|
title: string;
|
|
38
38
|
content: string;
|
|
@@ -60,8 +60,8 @@ declare const _default: ({
|
|
|
60
60
|
isInput: boolean;
|
|
61
61
|
isOutput: boolean;
|
|
62
62
|
}[];
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
tasks: {
|
|
64
|
+
taskType: string;
|
|
65
65
|
name: string;
|
|
66
66
|
title: string;
|
|
67
67
|
content: string;
|
|
@@ -4,8 +4,8 @@ import { createCollectionFromJson } from '../collection/constructors/createColle
|
|
|
4
4
|
import { createCollectionFromPromise } from '../collection/constructors/createCollectionFromPromise';
|
|
5
5
|
import { createCollectionFromUrl } from '../collection/constructors/createCollectionFromUrl';
|
|
6
6
|
import { createSubcollection } from '../collection/constructors/createSubcollection';
|
|
7
|
-
import type {
|
|
8
|
-
import {
|
|
7
|
+
import type { SectionType } from '../commands/SECTION/SectionType';
|
|
8
|
+
import { SectionTypes } from '../commands/SECTION/SectionType';
|
|
9
9
|
import { CLAIM } from '../config';
|
|
10
10
|
import { DEFAULT_TITLE } from '../config';
|
|
11
11
|
import { MAX_FILENAME_LENGTH } from '../config';
|
|
@@ -49,6 +49,9 @@ import { UnexpectedError } from '../errors/UnexpectedError';
|
|
|
49
49
|
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
|
|
50
50
|
import { createPipelineExecutor } from '../execution/createPipelineExecutor/00-createPipelineExecutor';
|
|
51
51
|
import { embeddingVectorToString } from '../execution/embeddingVectorToString';
|
|
52
|
+
import { executionReportJsonToString } from '../execution/execution-report/executionReportJsonToString';
|
|
53
|
+
import type { ExecutionReportStringOptions } from '../execution/execution-report/ExecutionReportStringOptions';
|
|
54
|
+
import { ExecutionReportStringOptionsDefaults } from '../execution/execution-report/ExecutionReportStringOptions';
|
|
52
55
|
import { addUsage } from '../execution/utils/addUsage';
|
|
53
56
|
import { isPassingExpectations } from '../execution/utils/checkExpectations';
|
|
54
57
|
import { ZERO_USAGE } from '../execution/utils/usage-constants';
|
|
@@ -59,9 +62,13 @@ import { CsvFormatDefinition } from '../formats/csv/CsvFormatDefinition';
|
|
|
59
62
|
import { CsvFormatError } from '../formats/csv/CsvFormatError';
|
|
60
63
|
import { MANDATORY_CSV_SETTINGS } from '../formats/csv/CsvSettings';
|
|
61
64
|
import { TextFormatDefinition } from '../formats/text/TextFormatDefinition';
|
|
62
|
-
import {
|
|
65
|
+
import { BoilerplateFormfactorDefinition } from '../formfactors/_boilerplate/BoilerplateFormfactorDefinition';
|
|
66
|
+
import { ChatbotFormfactorDefinition } from '../formfactors/chatbot/ChatbotFormfactorDefinition';
|
|
63
67
|
import { GenericFormfactorDefinition } from '../formfactors/generic/GenericFormfactorDefinition';
|
|
64
68
|
import { FORMFACTOR_DEFINITIONS } from '../formfactors/index';
|
|
69
|
+
import { MatcherFormfactorDefinition } from '../formfactors/matcher/MatcherFormfactorDefinition';
|
|
70
|
+
import { SheetsFormfactorDefinition } from '../formfactors/sheets/SheetsFormfactorDefinition';
|
|
71
|
+
import { TranslatorFormfactorDefinition } from '../formfactors/translator/TranslatorFormfactorDefinition';
|
|
65
72
|
import { $llmToolsMetadataRegister } from '../llm-providers/_common/register/$llmToolsMetadataRegister';
|
|
66
73
|
import { $llmToolsRegister } from '../llm-providers/_common/register/$llmToolsRegister';
|
|
67
74
|
import { createLlmToolsFromConfiguration } from '../llm-providers/_common/register/createLlmToolsFromConfiguration';
|
|
@@ -75,12 +82,14 @@ import { MultipleLlmExecutionTools } from '../llm-providers/multiple/MultipleLlm
|
|
|
75
82
|
import { _OpenAiMetadataRegistration } from '../llm-providers/openai/register-configuration';
|
|
76
83
|
import { _OpenAiAssistantMetadataRegistration } from '../llm-providers/openai/register-configuration';
|
|
77
84
|
import { preparePersona } from '../personas/preparePersona';
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
85
|
+
import { GENERIC_PIPELINE_INTERFACE } from '../pipeline/PipelineInterface/constants';
|
|
86
|
+
import { getPipelineInterface } from '../pipeline/PipelineInterface/getPipelineInterface';
|
|
87
|
+
import { isPipelineImplementingInterface } from '../pipeline/PipelineInterface/isPipelineImplementingInterface';
|
|
88
|
+
import { isPipelineInterfacesEqual } from '../pipeline/PipelineInterface/isPipelineInterfacesEqual';
|
|
89
|
+
import { EXPECTATION_UNITS } from '../pipeline/PipelineJson/Expectations';
|
|
81
90
|
import { isPipelinePrepared } from '../prepare/isPipelinePrepared';
|
|
82
91
|
import { preparePipeline } from '../prepare/preparePipeline';
|
|
83
|
-
import {
|
|
92
|
+
import { prepareTasks } from '../prepare/prepareTasks';
|
|
84
93
|
import { unpreparePipeline } from '../prepare/unpreparePipeline';
|
|
85
94
|
import { prepareKnowledgePieces } from '../scrapers/_common/prepareKnowledgePieces';
|
|
86
95
|
import { $scrapersMetadataRegister } from '../scrapers/_common/register/$scrapersMetadataRegister';
|
|
@@ -94,19 +103,15 @@ import { _WebsiteScraperMetadataRegistration } from '../scrapers/website/registe
|
|
|
94
103
|
import { BlackholeStorage } from '../storage/blackhole/BlackholeStorage';
|
|
95
104
|
import { MemoryStorage } from '../storage/memory/MemoryStorage';
|
|
96
105
|
import { PrefixStorage } from '../storage/utils/PrefixStorage';
|
|
97
|
-
import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
|
|
98
|
-
import type { ExecutionReportStringOptions } from '../types/execution-report/ExecutionReportStringOptions';
|
|
99
|
-
import { ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
|
|
100
106
|
import { MODEL_VARIANTS } from '../types/ModelVariant';
|
|
101
|
-
import { EXPECTATION_UNITS } from '../types/PipelineJson/Expectations';
|
|
102
107
|
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
|
|
103
108
|
export { collectionToJson };
|
|
104
109
|
export { createCollectionFromJson };
|
|
105
110
|
export { createCollectionFromPromise };
|
|
106
111
|
export { createCollectionFromUrl };
|
|
107
112
|
export { createSubcollection };
|
|
108
|
-
export type {
|
|
109
|
-
export {
|
|
113
|
+
export type { SectionType };
|
|
114
|
+
export { SectionTypes };
|
|
110
115
|
export { CLAIM };
|
|
111
116
|
export { DEFAULT_TITLE };
|
|
112
117
|
export { MAX_FILENAME_LENGTH };
|
|
@@ -150,6 +155,9 @@ export { UnexpectedError };
|
|
|
150
155
|
export { assertsExecutionSuccessful };
|
|
151
156
|
export { createPipelineExecutor };
|
|
152
157
|
export { embeddingVectorToString };
|
|
158
|
+
export { executionReportJsonToString };
|
|
159
|
+
export type { ExecutionReportStringOptions };
|
|
160
|
+
export { ExecutionReportStringOptionsDefaults };
|
|
153
161
|
export { addUsage };
|
|
154
162
|
export { isPassingExpectations };
|
|
155
163
|
export { ZERO_USAGE };
|
|
@@ -160,9 +168,13 @@ export { CsvFormatDefinition };
|
|
|
160
168
|
export { CsvFormatError };
|
|
161
169
|
export { MANDATORY_CSV_SETTINGS };
|
|
162
170
|
export { TextFormatDefinition };
|
|
163
|
-
export {
|
|
171
|
+
export { BoilerplateFormfactorDefinition };
|
|
172
|
+
export { ChatbotFormfactorDefinition };
|
|
164
173
|
export { GenericFormfactorDefinition };
|
|
165
174
|
export { FORMFACTOR_DEFINITIONS };
|
|
175
|
+
export { MatcherFormfactorDefinition };
|
|
176
|
+
export { SheetsFormfactorDefinition };
|
|
177
|
+
export { TranslatorFormfactorDefinition };
|
|
166
178
|
export { $llmToolsMetadataRegister };
|
|
167
179
|
export { $llmToolsRegister };
|
|
168
180
|
export { createLlmToolsFromConfiguration };
|
|
@@ -176,12 +188,14 @@ export { MultipleLlmExecutionTools };
|
|
|
176
188
|
export { _OpenAiMetadataRegistration };
|
|
177
189
|
export { _OpenAiAssistantMetadataRegistration };
|
|
178
190
|
export { preparePersona };
|
|
191
|
+
export { GENERIC_PIPELINE_INTERFACE };
|
|
179
192
|
export { getPipelineInterface };
|
|
180
193
|
export { isPipelineImplementingInterface };
|
|
181
194
|
export { isPipelineInterfacesEqual };
|
|
195
|
+
export { EXPECTATION_UNITS };
|
|
182
196
|
export { isPipelinePrepared };
|
|
183
197
|
export { preparePipeline };
|
|
184
|
-
export {
|
|
198
|
+
export { prepareTasks };
|
|
185
199
|
export { unpreparePipeline };
|
|
186
200
|
export { prepareKnowledgePieces };
|
|
187
201
|
export { $scrapersMetadataRegister };
|
|
@@ -195,8 +209,4 @@ export { _WebsiteScraperMetadataRegistration };
|
|
|
195
209
|
export { BlackholeStorage };
|
|
196
210
|
export { MemoryStorage };
|
|
197
211
|
export { PrefixStorage };
|
|
198
|
-
export { executionReportJsonToString };
|
|
199
|
-
export type { ExecutionReportStringOptions };
|
|
200
|
-
export { ExecutionReportStringOptionsDefaults };
|
|
201
212
|
export { MODEL_VARIANTS };
|
|
202
|
-
export { EXPECTATION_UNITS };
|
|
@@ -3,13 +3,13 @@ import type { Command } from '../commands/_common/types/Command';
|
|
|
3
3
|
import type { CommandParser } from '../commands/_common/types/CommandParser';
|
|
4
4
|
import type { PipelineBothCommandParser } from '../commands/_common/types/CommandParser';
|
|
5
5
|
import type { PipelineHeadCommandParser } from '../commands/_common/types/CommandParser';
|
|
6
|
-
import type {
|
|
6
|
+
import type { PipelineTaskCommandParser } from '../commands/_common/types/CommandParser';
|
|
7
7
|
import type { CommandParserInput } from '../commands/_common/types/CommandParser';
|
|
8
8
|
import type { CommandUsagePlace } from '../commands/_common/types/CommandUsagePlaces';
|
|
9
9
|
import type { ExpectCommand } from '../commands/EXPECT/ExpectCommand';
|
|
10
10
|
import type { ForeachJson } from '../commands/FOREACH/ForeachJson';
|
|
11
11
|
import type { FormatCommand } from '../commands/FORMAT/FormatCommand';
|
|
12
|
-
import type {
|
|
12
|
+
import type { SectionType } from '../commands/SECTION/SectionType';
|
|
13
13
|
import type { PrettifyOptions } from '../conversion/prettify/PrettifyOptions';
|
|
14
14
|
import type { renderPipelineMermaidOptions } from '../conversion/prettify/renderPipelineMermaidOptions';
|
|
15
15
|
import type { CallbackInterfaceToolsOptions } from '../dialogs/callback/CallbackInterfaceToolsOptions';
|
|
@@ -20,6 +20,10 @@ import type { CommonToolsOptions } from '../execution/CommonToolsOptions';
|
|
|
20
20
|
import type { CreatePipelineExecutorOptions } from '../execution/createPipelineExecutor/00-CreatePipelineExecutorOptions';
|
|
21
21
|
import type { EmbeddingVector } from '../execution/EmbeddingVector';
|
|
22
22
|
import type { Executables } from '../execution/Executables';
|
|
23
|
+
import type { ExecutionPromptReportJson } from '../execution/execution-report/ExecutionPromptReportJson';
|
|
24
|
+
import type { ExecutionReportJson } from '../execution/execution-report/ExecutionReportJson';
|
|
25
|
+
import type { ExecutionReportString } from '../execution/execution-report/ExecutionReportString';
|
|
26
|
+
import type { ExecutionReportStringOptions } from '../execution/execution-report/ExecutionReportStringOptions';
|
|
23
27
|
import type { ExecutionTools } from '../execution/ExecutionTools';
|
|
24
28
|
import type { FilesystemTools } from '../execution/FilesystemTools';
|
|
25
29
|
import type { LlmExecutionTools } from '../execution/LlmExecutionTools';
|
|
@@ -70,8 +74,30 @@ import type { RemoteServerOptions } from '../llm-providers/remote/interfaces/Rem
|
|
|
70
74
|
import type { AnonymousRemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
|
|
71
75
|
import type { CollectionRemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
|
|
72
76
|
import type { CollectionRemoteServerClientOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
|
|
73
|
-
import type { IsPipelineImplementingInterfaceOptions } from '../pipeline/
|
|
74
|
-
import type { PipelineInterface } from '../pipeline/
|
|
77
|
+
import type { IsPipelineImplementingInterfaceOptions } from '../pipeline/PipelineInterface/isPipelineImplementingInterface';
|
|
78
|
+
import type { PipelineInterface } from '../pipeline/PipelineInterface/PipelineInterface';
|
|
79
|
+
import type { DialogTaskJson } from '../pipeline/PipelineJson/DialogTaskJson';
|
|
80
|
+
import type { Expectations } from '../pipeline/PipelineJson/Expectations';
|
|
81
|
+
import type { ExpectationUnit } from '../pipeline/PipelineJson/Expectations';
|
|
82
|
+
import type { ExpectationAmount } from '../pipeline/PipelineJson/Expectations';
|
|
83
|
+
import type { KnowledgePiecePreparedJson } from '../pipeline/PipelineJson/KnowledgePieceJson';
|
|
84
|
+
import type { KnowledgeSourceJson } from '../pipeline/PipelineJson/KnowledgeSourceJson';
|
|
85
|
+
import type { KnowledgeSourcePreparedJson } from '../pipeline/PipelineJson/KnowledgeSourceJson';
|
|
86
|
+
import type { ParameterJson } from '../pipeline/PipelineJson/ParameterJson';
|
|
87
|
+
import type { InputParameterJson } from '../pipeline/PipelineJson/ParameterJson';
|
|
88
|
+
import type { IntermediateParameterJson } from '../pipeline/PipelineJson/ParameterJson';
|
|
89
|
+
import type { OutputParameterJson } from '../pipeline/PipelineJson/ParameterJson';
|
|
90
|
+
import type { CommonParameterJson } from '../pipeline/PipelineJson/ParameterJson';
|
|
91
|
+
import type { PersonaJson } from '../pipeline/PipelineJson/PersonaJson';
|
|
92
|
+
import type { PersonaPreparedJson } from '../pipeline/PipelineJson/PersonaJson';
|
|
93
|
+
import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
|
|
94
|
+
import type { PreparationJson } from '../pipeline/PipelineJson/PreparationJson';
|
|
95
|
+
import type { PromptTaskJson } from '../pipeline/PipelineJson/PromptTaskJson';
|
|
96
|
+
import type { ScriptTaskJson } from '../pipeline/PipelineJson/ScriptTaskJson';
|
|
97
|
+
import type { SimpleTaskJson } from '../pipeline/PipelineJson/SimpleTaskJson';
|
|
98
|
+
import type { TaskJson } from '../pipeline/PipelineJson/TaskJson';
|
|
99
|
+
import type { TaskJsonCommon } from '../pipeline/PipelineJson/TaskJsonCommon';
|
|
100
|
+
import type { PipelineString } from '../pipeline/PipelineString';
|
|
75
101
|
import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions';
|
|
76
102
|
import type { Converter } from '../scrapers/_common/Converter';
|
|
77
103
|
import type { ScraperAndConverterMetadata } from '../scrapers/_common/register/ScraperAndConverterMetadata';
|
|
@@ -83,34 +109,12 @@ import type { JavascriptExecutionToolsOptions } from '../scripting/javascript/Ja
|
|
|
83
109
|
import type { PostprocessingFunction } from '../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
84
110
|
import type { PromptbookStorage } from '../storage/_common/PromptbookStorage';
|
|
85
111
|
import type { FileCacheStorageOptions } from '../storage/file-cache-storage/FileCacheStorageOptions';
|
|
86
|
-
import type { ExecutionPromptReportJson } from '../types/execution-report/ExecutionPromptReportJson';
|
|
87
|
-
import type { ExecutionReportJson } from '../types/execution-report/ExecutionReportJson';
|
|
88
|
-
import type { ExecutionReportString } from '../types/execution-report/ExecutionReportString';
|
|
89
|
-
import type { ExecutionReportStringOptions } from '../types/execution-report/ExecutionReportStringOptions';
|
|
90
112
|
import type { IntermediateFilesStrategy } from '../types/IntermediateFilesStrategy';
|
|
91
113
|
import type { ModelRequirements } from '../types/ModelRequirements';
|
|
92
114
|
import type { CompletionModelRequirements } from '../types/ModelRequirements';
|
|
93
115
|
import type { ChatModelRequirements } from '../types/ModelRequirements';
|
|
94
116
|
import type { EmbeddingModelRequirements } from '../types/ModelRequirements';
|
|
95
117
|
import type { ModelVariant } from '../types/ModelVariant';
|
|
96
|
-
import type { DialogTemplateJson } from '../types/PipelineJson/DialogTemplateJson';
|
|
97
|
-
import type { Expectations } from '../types/PipelineJson/Expectations';
|
|
98
|
-
import type { ExpectationUnit } from '../types/PipelineJson/Expectations';
|
|
99
|
-
import type { ExpectationAmount } from '../types/PipelineJson/Expectations';
|
|
100
|
-
import type { KnowledgePiecePreparedJson } from '../types/PipelineJson/KnowledgePieceJson';
|
|
101
|
-
import type { KnowledgeSourceJson } from '../types/PipelineJson/KnowledgeSourceJson';
|
|
102
|
-
import type { KnowledgeSourcePreparedJson } from '../types/PipelineJson/KnowledgeSourceJson';
|
|
103
|
-
import type { ParameterJson } from '../types/PipelineJson/ParameterJson';
|
|
104
|
-
import type { PersonaJson } from '../types/PipelineJson/PersonaJson';
|
|
105
|
-
import type { PersonaPreparedJson } from '../types/PipelineJson/PersonaJson';
|
|
106
|
-
import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
|
|
107
|
-
import type { PreparationJson } from '../types/PipelineJson/PreparationJson';
|
|
108
|
-
import type { PromptTemplateJson } from '../types/PipelineJson/PromptTemplateJson';
|
|
109
|
-
import type { ScriptTemplateJson } from '../types/PipelineJson/ScriptTemplateJson';
|
|
110
|
-
import type { SimpleTemplateJson } from '../types/PipelineJson/SimpleTemplateJson';
|
|
111
|
-
import type { TemplateJson } from '../types/PipelineJson/TemplateJson';
|
|
112
|
-
import type { TemplateJsonCommon } from '../types/PipelineJson/TemplateJsonCommon';
|
|
113
|
-
import type { PipelineString } from '../types/PipelineString';
|
|
114
118
|
import type { Prompt } from '../types/Prompt';
|
|
115
119
|
import type { CompletionPrompt } from '../types/Prompt';
|
|
116
120
|
import type { ChatPrompt } from '../types/Prompt';
|
|
@@ -252,13 +256,13 @@ export type { Command };
|
|
|
252
256
|
export type { CommandParser };
|
|
253
257
|
export type { PipelineBothCommandParser };
|
|
254
258
|
export type { PipelineHeadCommandParser };
|
|
255
|
-
export type {
|
|
259
|
+
export type { PipelineTaskCommandParser };
|
|
256
260
|
export type { CommandParserInput };
|
|
257
261
|
export type { CommandUsagePlace };
|
|
258
262
|
export type { ExpectCommand };
|
|
259
263
|
export type { ForeachJson };
|
|
260
264
|
export type { FormatCommand };
|
|
261
|
-
export type {
|
|
265
|
+
export type { SectionType };
|
|
262
266
|
export type { PrettifyOptions };
|
|
263
267
|
export type { renderPipelineMermaidOptions };
|
|
264
268
|
export type { CallbackInterfaceToolsOptions };
|
|
@@ -269,6 +273,10 @@ export type { CommonToolsOptions };
|
|
|
269
273
|
export type { CreatePipelineExecutorOptions };
|
|
270
274
|
export type { EmbeddingVector };
|
|
271
275
|
export type { Executables };
|
|
276
|
+
export type { ExecutionPromptReportJson };
|
|
277
|
+
export type { ExecutionReportJson };
|
|
278
|
+
export type { ExecutionReportString };
|
|
279
|
+
export type { ExecutionReportStringOptions };
|
|
272
280
|
export type { ExecutionTools };
|
|
273
281
|
export type { FilesystemTools };
|
|
274
282
|
export type { LlmExecutionTools };
|
|
@@ -321,6 +329,28 @@ export type { CollectionRemoteServerOptions };
|
|
|
321
329
|
export type { CollectionRemoteServerClientOptions };
|
|
322
330
|
export type { IsPipelineImplementingInterfaceOptions };
|
|
323
331
|
export type { PipelineInterface };
|
|
332
|
+
export type { DialogTaskJson };
|
|
333
|
+
export type { Expectations };
|
|
334
|
+
export type { ExpectationUnit };
|
|
335
|
+
export type { ExpectationAmount };
|
|
336
|
+
export type { KnowledgePiecePreparedJson };
|
|
337
|
+
export type { KnowledgeSourceJson };
|
|
338
|
+
export type { KnowledgeSourcePreparedJson };
|
|
339
|
+
export type { ParameterJson };
|
|
340
|
+
export type { InputParameterJson };
|
|
341
|
+
export type { IntermediateParameterJson };
|
|
342
|
+
export type { OutputParameterJson };
|
|
343
|
+
export type { CommonParameterJson };
|
|
344
|
+
export type { PersonaJson };
|
|
345
|
+
export type { PersonaPreparedJson };
|
|
346
|
+
export type { PipelineJson };
|
|
347
|
+
export type { PreparationJson };
|
|
348
|
+
export type { PromptTaskJson };
|
|
349
|
+
export type { ScriptTaskJson };
|
|
350
|
+
export type { SimpleTaskJson };
|
|
351
|
+
export type { TaskJson };
|
|
352
|
+
export type { TaskJsonCommon };
|
|
353
|
+
export type { PipelineString };
|
|
324
354
|
export type { PrepareAndScrapeOptions };
|
|
325
355
|
export type { Converter };
|
|
326
356
|
export type { ScraperAndConverterMetadata };
|
|
@@ -332,34 +362,12 @@ export type { JavascriptExecutionToolsOptions };
|
|
|
332
362
|
export type { PostprocessingFunction };
|
|
333
363
|
export type { PromptbookStorage };
|
|
334
364
|
export type { FileCacheStorageOptions };
|
|
335
|
-
export type { ExecutionPromptReportJson };
|
|
336
|
-
export type { ExecutionReportJson };
|
|
337
|
-
export type { ExecutionReportString };
|
|
338
|
-
export type { ExecutionReportStringOptions };
|
|
339
365
|
export type { IntermediateFilesStrategy };
|
|
340
366
|
export type { ModelRequirements };
|
|
341
367
|
export type { CompletionModelRequirements };
|
|
342
368
|
export type { ChatModelRequirements };
|
|
343
369
|
export type { EmbeddingModelRequirements };
|
|
344
370
|
export type { ModelVariant };
|
|
345
|
-
export type { DialogTemplateJson };
|
|
346
|
-
export type { Expectations };
|
|
347
|
-
export type { ExpectationUnit };
|
|
348
|
-
export type { ExpectationAmount };
|
|
349
|
-
export type { KnowledgePiecePreparedJson };
|
|
350
|
-
export type { KnowledgeSourceJson };
|
|
351
|
-
export type { KnowledgeSourcePreparedJson };
|
|
352
|
-
export type { ParameterJson };
|
|
353
|
-
export type { PersonaJson };
|
|
354
|
-
export type { PersonaPreparedJson };
|
|
355
|
-
export type { PipelineJson };
|
|
356
|
-
export type { PreparationJson };
|
|
357
|
-
export type { PromptTemplateJson };
|
|
358
|
-
export type { ScriptTemplateJson };
|
|
359
|
-
export type { SimpleTemplateJson };
|
|
360
|
-
export type { TemplateJson };
|
|
361
|
-
export type { TemplateJsonCommon };
|
|
362
|
-
export type { PipelineString };
|
|
363
371
|
export type { Prompt };
|
|
364
372
|
export type { CompletionPrompt };
|
|
365
373
|
export type { ChatPrompt };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
|
|
2
2
|
import { renderPromptbookMermaid } from '../conversion/prettify/renderPipelineMermaidOptions';
|
|
3
|
-
import {
|
|
3
|
+
import { extractParameterNamesFromTask } from '../conversion/utils/extractParameterNamesFromTask';
|
|
4
4
|
import { extractVariables } from '../conversion/utils/extractVariables';
|
|
5
5
|
import { renameParameter } from '../conversion/utils/renameParameter';
|
|
6
6
|
import { titleToName } from '../conversion/utils/titleToName';
|
|
@@ -12,8 +12,8 @@ import { $currentDate } from '../utils/$currentDate';
|
|
|
12
12
|
import { $isRunningInBrowser } from '../utils/environment/$isRunningInBrowser';
|
|
13
13
|
import { $isRunningInNode } from '../utils/environment/$isRunningInNode';
|
|
14
14
|
import { $isRunningInWebWorker } from '../utils/environment/$isRunningInWebWorker';
|
|
15
|
-
import { CHARACTERS_PER_STANDARD_LINE } from '../utils/expectation-counters/
|
|
16
|
-
import { LINES_PER_STANDARD_PAGE } from '../utils/expectation-counters/
|
|
15
|
+
import { CHARACTERS_PER_STANDARD_LINE } from '../utils/expectation-counters/constants';
|
|
16
|
+
import { LINES_PER_STANDARD_PAGE } from '../utils/expectation-counters/constants';
|
|
17
17
|
import { countCharacters } from '../utils/expectation-counters/countCharacters';
|
|
18
18
|
import { countLines } from '../utils/expectation-counters/countLines';
|
|
19
19
|
import { countPages } from '../utils/expectation-counters/countPages';
|
|
@@ -73,7 +73,7 @@ import { isValidUrl } from '../utils/validators/url/isValidUrl';
|
|
|
73
73
|
import { isValidUuid } from '../utils/validators/uuid/isValidUuid';
|
|
74
74
|
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
|
|
75
75
|
export { renderPromptbookMermaid };
|
|
76
|
-
export {
|
|
76
|
+
export { extractParameterNamesFromTask };
|
|
77
77
|
export { extractVariables };
|
|
78
78
|
export { renameParameter };
|
|
79
79
|
export { titleToName };
|
|
@@ -7,5 +7,6 @@ import type { Command as Program } from 'commander';
|
|
|
7
7
|
export declare function initializeAboutCommand(program: Program): void;
|
|
8
8
|
/**
|
|
9
9
|
* TODO: [🗽] Unite branding and make single place for it
|
|
10
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
10
11
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
11
12
|
*/
|
|
@@ -7,5 +7,6 @@ import type { Command as Program } from 'commander';
|
|
|
7
7
|
export declare function initializeHelloCommand(program: Program): void;
|
|
8
8
|
/**
|
|
9
9
|
* TODO: [🧠][🐣] Make here some easter egg with generated hello greeting via LLM models
|
|
10
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
10
11
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
11
12
|
*/
|
|
@@ -8,6 +8,7 @@ export declare function initializeMakeCommand(program: Program): void;
|
|
|
8
8
|
/**
|
|
9
9
|
* TODO: [🥃][main] !!! Allow `ptbk make` without configuring any llm tools
|
|
10
10
|
* TODO: [0] DRY Javascript and typescript - Maybe make ONLY typescript and for javascript just remove types
|
|
11
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
11
12
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
12
13
|
* TODO: [🖇] What about symlinks? Maybe flag --follow-symlinks
|
|
13
14
|
*/
|
|
@@ -7,6 +7,7 @@ import type { Command as Program } from 'commander';
|
|
|
7
7
|
export declare function initializePrettifyCommand(program: Program): void;
|
|
8
8
|
/**
|
|
9
9
|
* TODO: [😶] Unite floder listing
|
|
10
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
10
11
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
11
12
|
* TODO: [🖇] What about symlinks? Maybe flag --follow-symlinks
|
|
12
13
|
*/
|
|
@@ -9,6 +9,7 @@ export declare function initializeRunCommand(program: Program): void;
|
|
|
9
9
|
* TODO: !!!!! Catch and wrap all errors from CLI
|
|
10
10
|
* TODO: [🧠] Pass `maxExecutionAttempts`, `csvSettings`
|
|
11
11
|
* TODO: [🥃][main] !!! Allow `ptbk run` without configuring any llm tools
|
|
12
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
12
13
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
13
14
|
* TODO: [🖇] What about symlinks? Maybe flag --follow-symlinks
|
|
14
15
|
*/
|
|
@@ -7,6 +7,7 @@ import type { Command as Program } from 'commander';
|
|
|
7
7
|
export declare function initializeTestCommand(program: Program): void;
|
|
8
8
|
/**
|
|
9
9
|
* TODO: [😶] Unite floder listing
|
|
10
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
10
11
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
11
12
|
* TODO: [🖇] What about symlinks? Maybe flag --follow-symlinks
|
|
12
13
|
* Note: This is named "test-command.ts" to avoid name collision with jest unit test files
|