@promptbook/browser 0.75.0-2 → 0.75.1

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.
Files changed (53) hide show
  1. package/README.md +46 -30
  2. package/esm/index.es.js +2 -2
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/typings/src/_packages/core.index.d.ts +16 -4
  5. package/esm/typings/src/_packages/types.index.d.ts +8 -6
  6. package/esm/typings/src/_packages/utils.index.d.ts +2 -0
  7. package/esm/typings/src/commands/EXPECT/ExpectCommand.d.ts +1 -1
  8. package/esm/typings/src/commands/SECTION/SectionCommand.d.ts +1 -1
  9. package/esm/typings/src/commands/_common/types/CommandParser.d.ts +0 -2
  10. package/esm/typings/src/config.d.ts +34 -2
  11. package/esm/typings/src/conversion/pipelineJsonToString.d.ts +1 -1
  12. package/esm/typings/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +2 -2
  13. package/esm/typings/src/conversion/utils/extractParameterNamesFromTask.d.ts +3 -3
  14. package/esm/typings/src/conversion/utils/renameParameter.d.ts +2 -2
  15. package/esm/typings/src/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +1 -1
  16. package/esm/typings/src/execution/ScriptExecutionTools.d.ts +1 -1
  17. package/esm/typings/src/formfactors/_boilerplate/BoilerplateFormfactorDefinition.d.ts +2 -2
  18. package/esm/typings/src/formfactors/_common/AbstractFormfactorDefinition.d.ts +3 -0
  19. package/esm/typings/src/formfactors/chatbot/ChatbotFormfactorDefinition.d.ts +32 -2
  20. package/esm/typings/src/formfactors/generator/GeneratorFormfactorDefinition.d.ts +14 -0
  21. package/esm/typings/src/formfactors/generic/GenericFormfactorDefinition.d.ts +2 -2
  22. package/esm/typings/src/formfactors/index.d.ts +72 -10
  23. package/esm/typings/src/formfactors/matcher/MatcherFormfactorDefinition.d.ts +2 -2
  24. package/esm/typings/src/formfactors/sheets/SheetsFormfactorDefinition.d.ts +12 -2
  25. package/esm/typings/src/formfactors/translator/TranslatorFormfactorDefinition.d.ts +12 -2
  26. package/esm/typings/src/pipeline/PipelineInterface/PipelineInterface.d.ts +5 -4
  27. package/esm/typings/src/pipeline/PipelineInterface/constants.d.ts +2 -2
  28. package/esm/typings/src/pipeline/PipelineJson/{TaskJsonCommon.d.ts → CommonTaskJson.d.ts} +13 -13
  29. package/esm/typings/src/pipeline/PipelineJson/DialogTaskJson.d.ts +2 -2
  30. package/esm/typings/src/pipeline/PipelineJson/ParameterJson.d.ts +2 -0
  31. package/esm/typings/src/pipeline/PipelineJson/PersonaJson.d.ts +1 -1
  32. package/esm/typings/src/pipeline/PipelineJson/PipelineJson.d.ts +2 -2
  33. package/esm/typings/src/pipeline/PipelineJson/PromptTaskJson.d.ts +2 -2
  34. package/esm/typings/src/pipeline/PipelineJson/ScriptTaskJson.d.ts +2 -2
  35. package/esm/typings/src/pipeline/PipelineJson/SimpleTaskJson.d.ts +2 -2
  36. package/esm/typings/src/pipeline/PipelineJson/TaskJson.d.ts +1 -1
  37. package/esm/typings/src/pipeline/PipelineString.d.ts +1 -1
  38. package/esm/typings/src/prepare/isPipelinePrepared.d.ts +1 -1
  39. package/esm/typings/src/prepare/prepareTasks.d.ts +5 -5
  40. package/esm/typings/src/types/Prompt.d.ts +3 -3
  41. package/esm/typings/src/types/SectionType.d.ts +21 -0
  42. package/esm/typings/src/types/TaskProgress.d.ts +1 -1
  43. package/esm/typings/src/types/TaskType.d.ts +15 -0
  44. package/esm/typings/src/types/typeAliases.d.ts +1 -1
  45. package/esm/typings/src/utils/organization/TODO_remove_as.d.ts +6 -0
  46. package/esm/typings/src/utils/organization/spaceTrim.d.ts +11 -0
  47. package/esm/typings/src/utils/parameters/extractParameterNames.d.ts +1 -1
  48. package/esm/typings/src/version.d.ts +1 -1
  49. package/package.json +2 -2
  50. package/umd/index.umd.js +2 -2
  51. package/umd/index.umd.js.map +1 -1
  52. package/esm/typings/src/commands/SECTION/SectionType.d.ts +0 -13
  53. /package/esm/typings/{promptbook-collection → books}/index.d.ts +0 -0
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  # ![Promptbook logo - cube with letters P and B](./other/design/logo-h1.png) Promptbook
4
4
 
5
- Build responsible, controlled and transparent applications on top of LLM models!
6
-
7
5
 
8
6
 
9
7
 
@@ -25,10 +23,6 @@ Build responsible, controlled and transparent applications on top of LLM models!
25
23
 
26
24
 
27
25
 
28
- <blockquote style="color: #ff8811">
29
- <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
30
- </blockquote>
31
-
32
26
  ## 📦 Package `@promptbook/browser`
33
27
 
34
28
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -55,28 +49,33 @@ Core of the library for Browser runtime, it contains the main logic for promptbo
55
49
 
56
50
  Rest of the documentation is common for **entire promptbook ecosystem**:
57
51
 
58
- ## 🤍 The Promptbook Whitepaper
59
52
 
60
- If you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama 3, or whatever, it doesn't matter how you integrate it. Whether it's calling a REST API directly, using the SDK, hardcoding the prompt into the source code, or importing a text file, the process remains the same.
61
53
 
62
- But often you will struggle with the **limitations of LLMs**, such as **hallucinations, off-topic responses, poor quality output, language and prompt drift, word repetition repetition repetition repetition or misuse, lack of context, or just plain w𝒆𝐢rd resp0nses**. When this happens, you generally have three options:
63
54
 
64
- 1. **Fine-tune** the model to your specifications or even train your own.
65
- 2. **Prompt-engineer** the prompt to the best shape you can achieve.
66
- 3. Orchestrate **multiple prompts** in a [pipeline](https://github.com/webgptorg/promptbook/discussions/64) to get the best result.
55
+ ## 🤍 The Book Abstract
56
+
57
+ **It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
58
+
59
+ During the computer revolution, we have seen [multiple generations of computer languages](https://github.com/webgptorg/promptbook/discussions/180), from the physical rewiring of the vacuum tubes through low-level machine code to the high-level languages like Python or JavaScript. And now, we're on the edge of the **next revolution**!
60
+
61
+ It's a revolution of writing software in plain human language that is understandable and executable by both humans and machines – and it's going to change everything!
62
+
63
+ The incredible growth in power of microprocessors and the Moore's Law have been the driving force behind the ever-more powerful languages, and it's been an amazing journey! Similarly, the large language models (like GPT or Claude) are the next big thing in language technology, and they're set to transform the way we interact with computers.
67
64
 
68
- In all of these situations, but especially in 3., the **✨ Promptbook can make your life waaaaaaaaaay easier**.
65
+ This shift is going to happen, whether we are ready for it or not. Our mission is to make it excellently, not just good.
69
66
 
70
- - [**Separates concerns**](https://github.com/webgptorg/promptbook/discussions/32) between prompt-engineer and programmer, between code files and prompt files, and between prompts and their execution logic. For this purpose, it introduces a new language called [the **💙 Book**](https://github.com/webgptorg/book).
71
- - Book allows you to **focus on the business** logic without having to write code or deal with the technicalities of LLMs.
72
- - **Forget** about **low-level details** like choosing the right model, tokens, context size, `temperature`, `top-k`, `top-p`, or kernel sampling. **Just write your intent** and [**persona**](https://github.com/webgptorg/promptbook/discussions/22) who should be responsible for the task and let the library do the rest.
73
- - We have built-in **orchestration** of [pipeline](https://github.com/webgptorg/promptbook/discussions/64) execution and many tools to make the process easier, more reliable, and more efficient, such as caching, [compilation+preparation](https://github.com/webgptorg/promptbook/discussions/78), [just-in-time fine-tuning](https://github.com/webgptorg/promptbook/discussions/33), [expectation-aware generation](https://github.com/webgptorg/promptbook/discussions/37), [agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39), and more.
74
- - Sometimes even the best prompts with the best framework like Promptbook `:)` can't avoid the problems. In this case, the library has built-in **[anomaly detection](https://github.com/webgptorg/promptbook/discussions/40) and logging** to help you find and fix the problems.
75
- - Versioning is build in. You can test multiple **A/B versions** of pipelines and see which one works best.
76
- - Promptbook is designed to use [**RAG** (Retrieval-Augmented Generation)](https://github.com/webgptorg/promptbook/discussions/41) and other advanced techniques to bring the context of your business to generic LLM. You can use **knowledge** to improve the quality of the output.
67
+ **Join us in this journey!**
77
68
 
78
69
 
79
70
 
71
+ ## 🚀 Get started
72
+
73
+ Take a look at the simple starter kit with books integrated into the **Hello World** sample applications:
74
+
75
+ - [Hello Book](https://github.com/webgptorg/hello-world)
76
+ - [Hello Book in Node.js](https://github.com/webgptorg/hello-world-node-js)
77
+ - [Hello Book in Next.js](https://github.com/webgptorg/hello-world-next-js)
78
+
80
79
 
81
80
 
82
81
 
@@ -95,7 +94,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
95
94
  <tbody>
96
95
  <tr>
97
96
  <td>Core</td>
98
- <td>Promptbook core is a description and documentation of basic innerworkings how should be Promptbook implemented and defines which fetures must be descriable by book language</td>
97
+ <td>Promptbook Core is a description and documentation of the basic concepts, ideas and inner workings of how Promptbook should be implemented, and defines what features must be describable by book language.</td>
99
98
  <td rowspan=2>https://ptbk.io<br/>https://github.com/webgptorg/book</td>
100
99
  </tr>
101
100
  <tr>
@@ -106,17 +105,23 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
106
105
  </tr>
107
106
  <tr>
108
107
  <td>Promptbook typescript project</td>
109
- <td>Implementation of Promptbook in TypeScript published into multiple packages to NPM</td>
108
+ <td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
110
109
  <td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
111
110
  </tr>
112
111
  <tr>
113
112
  <td>Promptbook studio</td>
114
- <td>No-code studio to write book without need to write even the markdown</td>
115
- <td rowspan=2>https://promptbook.studio<br/>https://github.com/hejny/promptbook-studio</td>
116
- </tr>
117
- <tr>
118
- <td>Promptbook miniapps</td>
119
- <td>Builder of LLM miniapps from book notation</td>
113
+ <td>Studio to write Books and instantly publish them as miniapps</td>
114
+ <td>
115
+ https://promptbook.studio<br/>
116
+ https://github.com/hejny/promptbook-studio</td>
117
+ </tr><tr>
118
+ <td>Hello World</td>
119
+ <td>Simple starter kit with Books integrated into the sample applications</td>
120
+ <td>
121
+ https://github.com/webgptorg/hello-world<br/>
122
+ https://github.com/webgptorg/hello-world-node-js<br/>
123
+ https://github.com/webgptorg/hello-world-next-js
124
+ </td>
120
125
  </tr>
121
126
  </tbody>
122
127
  </table>
@@ -185,7 +190,9 @@ Reserved words:
185
190
 
186
191
  #### Parameter notation
187
192
 
188
- ### Template
193
+ ### Task
194
+
195
+ ### Task type
189
196
 
190
197
  Todo todo
191
198
 
@@ -246,6 +253,11 @@ Or you can install them separately:
246
253
 
247
254
  ## 📚 Dictionary
248
255
 
256
+
257
+
258
+
259
+
260
+
249
261
  ### 📚 Dictionary
250
262
 
251
263
  The following glossary is used to clarify certain concepts:
@@ -261,6 +273,8 @@ The following glossary is used to clarify certain concepts:
261
273
  - **Retrieval-augmented generation** is a machine learning paradigm where a model generates text by retrieving relevant information from a large database of text. This approach combines the benefits of generative models and retrieval models.
262
274
  - **Longtail** refers to non-common or rare events, items, or entities that are not well-represented in the training data of machine learning models. Longtail items are often challenging for models to predict accurately.
263
275
 
276
+
277
+
264
278
  _Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
265
279
 
266
280
  #### Promptbook core
@@ -297,7 +311,7 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
297
311
 
298
312
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
299
313
  - [📯 Pipeline](https://github.com/webgptorg/promptbook/discussions/64)
300
- - [🎺 Pipeline templates](https://github.com/webgptorg/promptbook/discussions/88)
314
+ - [🙇‍♂️ Tasks and pipeline sections](https://github.com/webgptorg/promptbook/discussions/88)
301
315
  - [🤼 Personas](https://github.com/webgptorg/promptbook/discussions/22)
302
316
  - [⭕ Parameters](https://github.com/webgptorg/promptbook/discussions/83)
303
317
  - [🚀 Pipeline execution](https://github.com/webgptorg/promptbook/discussions/84)
@@ -321,6 +335,8 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
321
335
  - [👮 Agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39)
322
336
  - [view more](https://github.com/webgptorg/promptbook/discussions/categories/concepts)
323
337
 
338
+
339
+
324
340
  ### Terms specific to Promptbook TypeScript implementation
325
341
 
326
342
  - Anonymous mode
package/esm/index.es.js CHANGED
@@ -13,7 +13,7 @@ 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.75.0-1';
16
+ var PROMPTBOOK_ENGINE_VERSION = '0.75.0';
17
17
  /**
18
18
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
19
19
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -147,7 +147,7 @@ var SimplePromptInterfaceTools = /** @class */ (function () {
147
147
  this.options = options;
148
148
  }
149
149
  /**
150
- * Trigger window.DIALOG TEMPLATE
150
+ * Trigger window.prompt dialog
151
151
  */
152
152
  SimplePromptInterfaceTools.prototype.promptDialog = function (options) {
153
153
  return __awaiter(this, void 0, void 0, function () {
@@ -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,WAAW;AAI/E;;;AAGG;;ACvBH;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,EAA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B,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,SAAS;AAI7E;;;AAGG;;ACvBH;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,CAA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C,KAAK,CAAC,WAAW,CAAW,CAAC;;AAIhD,YAAA,OAAO,KAAK,CAAC;SAChB;QAED,OAAO,EAAA,UAAC,GAAW,EAAE,KAAa,EAAA;AAC9B,YAAA,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,EAAE;AAC9B,gBAAA,MAAM,IAAI,eAAe,CAAC,gBAAQ,GAAG,EAAA,iEAAA,CAAgE,CAAC,CAAC;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;;;;"}
@@ -4,9 +4,10 @@ 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 { SectionType } from '../commands/SECTION/SectionType';
8
- import { SectionTypes } from '../commands/SECTION/SectionType';
7
+ import { NAME } from '../config';
9
8
  import { CLAIM } from '../config';
9
+ import { LOGO_LIGHT_SRC } from '../config';
10
+ import { LOGO_DARK_SRC } from '../config';
10
11
  import { DEFAULT_TITLE } from '../config';
11
12
  import { MAX_FILENAME_LENGTH } from '../config';
12
13
  import { DEFAULT_INTERMEDIATE_FILES_STRATEGY } from '../config';
@@ -14,6 +15,7 @@ import { DEFAULT_MAX_PARALLEL_COUNT } from '../config';
14
15
  import { DEFAULT_MAX_EXECUTION_ATTEMPTS } from '../config';
15
16
  import { DEFAULT_MAX_KNOWLEDGE_SOURCES_SCRAPING_DEPTH } from '../config';
16
17
  import { DEFAULT_MAX_KNOWLEDGE_SOURCES_SCRAPING_TOTAL } from '../config';
18
+ import { DEFAULT_BOOKS_DIRNAME } from '../config';
17
19
  import { DEFAULT_EXECUTIONS_CACHE_DIRNAME } from '../config';
18
20
  import { DEFAULT_SCRAPE_CACHE_DIRNAME } from '../config';
19
21
  import { DEFAULT_PIPELINE_COLLECTION_BASE_FILENAME } from '../config';
@@ -64,6 +66,7 @@ import { MANDATORY_CSV_SETTINGS } from '../formats/csv/CsvSettings';
64
66
  import { TextFormatDefinition } from '../formats/text/TextFormatDefinition';
65
67
  import { BoilerplateFormfactorDefinition } from '../formfactors/_boilerplate/BoilerplateFormfactorDefinition';
66
68
  import { ChatbotFormfactorDefinition } from '../formfactors/chatbot/ChatbotFormfactorDefinition';
69
+ import { GeneratorFormfactorDefinition } from '../formfactors/generator/GeneratorFormfactorDefinition';
67
70
  import { GenericFormfactorDefinition } from '../formfactors/generic/GenericFormfactorDefinition';
68
71
  import { FORMFACTOR_DEFINITIONS } from '../formfactors/index';
69
72
  import { MatcherFormfactorDefinition } from '../formfactors/matcher/MatcherFormfactorDefinition';
@@ -104,15 +107,19 @@ import { BlackholeStorage } from '../storage/blackhole/BlackholeStorage';
104
107
  import { MemoryStorage } from '../storage/memory/MemoryStorage';
105
108
  import { PrefixStorage } from '../storage/utils/PrefixStorage';
106
109
  import { MODEL_VARIANTS } from '../types/ModelVariant';
110
+ import { NonTaskSectionTypes } from '../types/SectionType';
111
+ import { SectionTypes } from '../types/SectionType';
112
+ import { TaskTypes } from '../types/TaskType';
107
113
  export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
108
114
  export { collectionToJson };
109
115
  export { createCollectionFromJson };
110
116
  export { createCollectionFromPromise };
111
117
  export { createCollectionFromUrl };
112
118
  export { createSubcollection };
113
- export type { SectionType };
114
- export { SectionTypes };
119
+ export { NAME };
115
120
  export { CLAIM };
121
+ export { LOGO_LIGHT_SRC };
122
+ export { LOGO_DARK_SRC };
116
123
  export { DEFAULT_TITLE };
117
124
  export { MAX_FILENAME_LENGTH };
118
125
  export { DEFAULT_INTERMEDIATE_FILES_STRATEGY };
@@ -120,6 +127,7 @@ export { DEFAULT_MAX_PARALLEL_COUNT };
120
127
  export { DEFAULT_MAX_EXECUTION_ATTEMPTS };
121
128
  export { DEFAULT_MAX_KNOWLEDGE_SOURCES_SCRAPING_DEPTH };
122
129
  export { DEFAULT_MAX_KNOWLEDGE_SOURCES_SCRAPING_TOTAL };
130
+ export { DEFAULT_BOOKS_DIRNAME };
123
131
  export { DEFAULT_EXECUTIONS_CACHE_DIRNAME };
124
132
  export { DEFAULT_SCRAPE_CACHE_DIRNAME };
125
133
  export { DEFAULT_PIPELINE_COLLECTION_BASE_FILENAME };
@@ -170,6 +178,7 @@ export { MANDATORY_CSV_SETTINGS };
170
178
  export { TextFormatDefinition };
171
179
  export { BoilerplateFormfactorDefinition };
172
180
  export { ChatbotFormfactorDefinition };
181
+ export { GeneratorFormfactorDefinition };
173
182
  export { GenericFormfactorDefinition };
174
183
  export { FORMFACTOR_DEFINITIONS };
175
184
  export { MatcherFormfactorDefinition };
@@ -210,3 +219,6 @@ export { BlackholeStorage };
210
219
  export { MemoryStorage };
211
220
  export { PrefixStorage };
212
221
  export { MODEL_VARIANTS };
222
+ export { NonTaskSectionTypes };
223
+ export { SectionTypes };
224
+ export { TaskTypes };
@@ -9,7 +9,6 @@ import type { CommandUsagePlace } from '../commands/_common/types/CommandUsagePl
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 { SectionType } from '../commands/SECTION/SectionType';
13
12
  import type { PrettifyOptions } from '../conversion/prettify/PrettifyOptions';
14
13
  import type { renderPipelineMermaidOptions } from '../conversion/prettify/renderPipelineMermaidOptions';
15
14
  import type { CallbackInterfaceToolsOptions } from '../dialogs/callback/CallbackInterfaceToolsOptions';
@@ -76,6 +75,7 @@ import type { CollectionRemoteServerOptions } from '../llm-providers/remote/inte
76
75
  import type { CollectionRemoteServerClientOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
77
76
  import type { IsPipelineImplementingInterfaceOptions } from '../pipeline/PipelineInterface/isPipelineImplementingInterface';
78
77
  import type { PipelineInterface } from '../pipeline/PipelineInterface/PipelineInterface';
78
+ import type { CommonTaskJson } from '../pipeline/PipelineJson/CommonTaskJson';
79
79
  import type { DialogTaskJson } from '../pipeline/PipelineJson/DialogTaskJson';
80
80
  import type { Expectations } from '../pipeline/PipelineJson/Expectations';
81
81
  import type { ExpectationUnit } from '../pipeline/PipelineJson/Expectations';
@@ -96,7 +96,6 @@ import type { PromptTaskJson } from '../pipeline/PipelineJson/PromptTaskJson';
96
96
  import type { ScriptTaskJson } from '../pipeline/PipelineJson/ScriptTaskJson';
97
97
  import type { SimpleTaskJson } from '../pipeline/PipelineJson/SimpleTaskJson';
98
98
  import type { TaskJson } from '../pipeline/PipelineJson/TaskJson';
99
- import type { TaskJsonCommon } from '../pipeline/PipelineJson/TaskJsonCommon';
100
99
  import type { PipelineString } from '../pipeline/PipelineString';
101
100
  import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions';
102
101
  import type { Converter } from '../scrapers/_common/Converter';
@@ -120,7 +119,9 @@ import type { CompletionPrompt } from '../types/Prompt';
120
119
  import type { ChatPrompt } from '../types/Prompt';
121
120
  import type { EmbeddingPrompt } from '../types/Prompt';
122
121
  import type { ScriptLanguage } from '../types/ScriptLanguage';
122
+ import type { SectionType } from '../types/SectionType';
123
123
  import type { TaskProgress } from '../types/TaskProgress';
124
+ import type { TaskType } from '../types/TaskType';
124
125
  import type { string_char_emoji } from '../types/typeAliasEmoji';
125
126
  import type { string_business_category_name } from '../types/typeAliases';
126
127
  import type { string_model_name } from '../types/typeAliases';
@@ -165,7 +166,7 @@ import type { string_css_selector } from '../types/typeAliases';
165
166
  import type { string_url } from '../types/typeAliases';
166
167
  import type { string_base_url } from '../types/typeAliases';
167
168
  import type { string_pipeline_url } from '../types/typeAliases';
168
- import type { string_pipeline_url_with_hashtemplate } from '../types/typeAliases';
169
+ import type { string_pipeline_url_with_task_hash } from '../types/typeAliases';
169
170
  import type { string_data_url } from '../types/typeAliases';
170
171
  import type { string_base64 } from '../types/typeAliases';
171
172
  import type { string_href } from '../types/typeAliases';
@@ -262,7 +263,6 @@ export type { CommandUsagePlace };
262
263
  export type { ExpectCommand };
263
264
  export type { ForeachJson };
264
265
  export type { FormatCommand };
265
- export type { SectionType };
266
266
  export type { PrettifyOptions };
267
267
  export type { renderPipelineMermaidOptions };
268
268
  export type { CallbackInterfaceToolsOptions };
@@ -329,6 +329,7 @@ export type { CollectionRemoteServerOptions };
329
329
  export type { CollectionRemoteServerClientOptions };
330
330
  export type { IsPipelineImplementingInterfaceOptions };
331
331
  export type { PipelineInterface };
332
+ export type { CommonTaskJson };
332
333
  export type { DialogTaskJson };
333
334
  export type { Expectations };
334
335
  export type { ExpectationUnit };
@@ -349,7 +350,6 @@ export type { PromptTaskJson };
349
350
  export type { ScriptTaskJson };
350
351
  export type { SimpleTaskJson };
351
352
  export type { TaskJson };
352
- export type { TaskJsonCommon };
353
353
  export type { PipelineString };
354
354
  export type { PrepareAndScrapeOptions };
355
355
  export type { Converter };
@@ -373,7 +373,9 @@ export type { CompletionPrompt };
373
373
  export type { ChatPrompt };
374
374
  export type { EmbeddingPrompt };
375
375
  export type { ScriptLanguage };
376
+ export type { SectionType };
376
377
  export type { TaskProgress };
378
+ export type { TaskType };
377
379
  export type { string_char_emoji };
378
380
  export type { string_business_category_name };
379
381
  export type { string_model_name };
@@ -418,7 +420,7 @@ export type { string_css_selector };
418
420
  export type { string_url };
419
421
  export type { string_base_url };
420
422
  export type { string_pipeline_url };
421
- export type { string_pipeline_url_with_hashtemplate };
423
+ export type { string_pipeline_url_with_task_hash };
422
424
  export type { string_data_url };
423
425
  export type { string_base64 };
424
426
  export type { string_href };
@@ -44,6 +44,7 @@ import { parseKeywords } from '../utils/normalization/parseKeywords';
44
44
  import { parseKeywordsFromString } from '../utils/normalization/parseKeywordsFromString';
45
45
  import { removeDiacritics } from '../utils/normalization/removeDiacritics';
46
46
  import { searchKeywords } from '../utils/normalization/searchKeywords';
47
+ import { spaceTrim } from '../utils/organization/spaceTrim';
47
48
  import { extractParameterNames } from '../utils/parameters/extractParameterNames';
48
49
  import { replaceParameters } from '../utils/parameters/replaceParameters';
49
50
  import { parseNumber } from '../utils/parseNumber';
@@ -117,6 +118,7 @@ export { parseKeywords };
117
118
  export { parseKeywordsFromString };
118
119
  export { removeDiacritics };
119
120
  export { searchKeywords };
121
+ export { spaceTrim };
120
122
  export { extractParameterNames };
121
123
  export { replaceParameters };
122
124
  export { parseNumber };
@@ -1,7 +1,7 @@
1
1
  import type { ExpectationAmount } from '../../pipeline/PipelineJson/Expectations';
2
2
  import type { ExpectationUnit } from '../../pipeline/PipelineJson/Expectations';
3
3
  /**
4
- * Expect amount command describes the desired output of the template (after post-processing)
4
+ * Expect amount command describes the desired output of the task (after post-processing)
5
5
  * It can set limits for the maximum/minimum length of the output, measured in characters, words, sentences, paragraphs,...
6
6
  *
7
7
  * Note: LLMs work with tokens, not characters, but in Promptbooks we want to use some human-recognisable and cross-model interoperable units.
@@ -1,4 +1,4 @@
1
- import type { SectionType } from './SectionType';
1
+ import type { SectionType } from '../../types/SectionType';
2
2
  /**
3
3
  * Parsed SECTION command
4
4
  *
@@ -99,8 +99,6 @@ export type PipelineHeadCommandParser<TCommand extends CommandBase> = CommonComm
99
99
  };
100
100
  /**
101
101
  * @@@
102
- *
103
- * TODO: !!!!!! Rename to PipelineTaskCommandParser, applyToTaskJson, TaskJson, isUsedInPipelineTask,...
104
102
  */
105
103
  export type PipelineTaskCommandParser<TCommand extends CommandBase> = CommonCommandParser<TCommand> & {
106
104
  /**
@@ -1,11 +1,20 @@
1
1
  import type { CsvSettings } from './formats/csv/CsvSettings';
2
2
  import type { IntermediateFilesStrategy } from './types/IntermediateFilesStrategy';
3
+ import type { string_url_image } from './types/typeAliases';
3
4
  /**
4
5
  * Warning message for the generated sections and files files
5
6
  *
6
7
  * @private within the repository
7
8
  */
8
9
  export declare const GENERATOR_WARNING = "\u26A0\uFE0F WARNING: This code has been generated so that any manual changes will be overwritten";
10
+ /**
11
+ * Name for the Promptbook
12
+ *
13
+ * TODO: [🗽] Unite branding and make single place for it
14
+ *
15
+ * @public exported from `@promptbook/core`
16
+ */
17
+ export declare const NAME = "Promptbook";
9
18
  /**
10
19
  * Claim for the Promptbook
11
20
  *
@@ -14,6 +23,22 @@ export declare const GENERATOR_WARNING = "\u26A0\uFE0F WARNING: This code has be
14
23
  * @public exported from `@promptbook/core`
15
24
  */
16
25
  export declare const CLAIM = "It's time for a paradigm shift. The future of software in plain English, French or Latin";
26
+ /**
27
+ * Logo for the light theme
28
+ *
29
+ * TODO: [🗽] Unite branding and make single place for it
30
+ *
31
+ * @public exported from `@promptbook/core`
32
+ */
33
+ export declare const LOGO_LIGHT_SRC: string_url_image;
34
+ /**
35
+ * Logo for the dark theme
36
+ *
37
+ * TODO: [🗽] Unite branding and make single place for it
38
+ *
39
+ * @public exported from `@promptbook/core`
40
+ */
41
+ export declare const LOGO_DARK_SRC: string_url_image;
17
42
  /**
18
43
  * When the title is not provided, the default title is used
19
44
  *
@@ -94,6 +119,13 @@ export declare const DEFAULT_MAX_KNOWLEDGE_SOURCES_SCRAPING_DEPTH = 3;
94
119
  * @public exported from `@promptbook/core`
95
120
  */
96
121
  export declare const DEFAULT_MAX_KNOWLEDGE_SOURCES_SCRAPING_TOTAL = 200;
122
+ /**
123
+ * Where to store your books
124
+ * This is kind of a "src" for your books
125
+ *
126
+ * @public exported from `@promptbook/core`
127
+ */
128
+ export declare const DEFAULT_BOOKS_DIRNAME = "./books";
97
129
  /**
98
130
  * Where to store the cache of executions for promptbook CLI
99
131
  *
@@ -101,7 +133,7 @@ export declare const DEFAULT_MAX_KNOWLEDGE_SOURCES_SCRAPING_TOTAL = 200;
101
133
  *
102
134
  * @public exported from `@promptbook/core`
103
135
  */
104
- export declare const DEFAULT_EXECUTIONS_CACHE_DIRNAME = "/.promptbook/executions-cache";
136
+ export declare const DEFAULT_EXECUTIONS_CACHE_DIRNAME = "./.promptbook/executions-cache";
105
137
  /**
106
138
  * Where to store the scrape cache
107
139
  *
@@ -109,7 +141,7 @@ export declare const DEFAULT_EXECUTIONS_CACHE_DIRNAME = "/.promptbook/executions
109
141
  *
110
142
  * @public exported from `@promptbook/core`
111
143
  */
112
- export declare const DEFAULT_SCRAPE_CACHE_DIRNAME = "/.promptbook/scrape-cache";
144
+ export declare const DEFAULT_SCRAPE_CACHE_DIRNAME = "./.promptbook/scrape-cache";
113
145
  /**
114
146
  * The name of the builded pipeline collection made by CLI `ptbk make` and for lookup in `createCollectionFromDirectory`
115
147
  *
@@ -9,7 +9,7 @@ import type { PipelineString } from '../pipeline/PipelineString';
9
9
  */
10
10
  export declare function pipelineJsonToString(pipelineJson: PipelineJson): PipelineString;
11
11
  /**
12
- * TODO: [🛋] Implement new features and commands into `pipelineJsonToString` + `templateParameterJsonToString` , use `stringifyCommand`
12
+ * TODO: [🛋] Implement new features and commands into `pipelineJsonToString` + `taskParameterJsonToString` , use `stringifyCommand`
13
13
  * TODO: [🧠] Is there a way to auto-detect missing features in pipelineJsonToString
14
14
  * TODO: [🏛] Maybe make some markdown builder
15
15
  * TODO: [🏛] Escape all