@promptbook/markdown-utils 0.89.0-1 → 0.89.0-11

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 (52) hide show
  1. package/README.md +3 -1
  2. package/esm/index.es.js +152 -86
  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/remote-client.index.d.ts +6 -8
  6. package/esm/typings/src/_packages/remote-server.index.d.ts +6 -6
  7. package/esm/typings/src/_packages/types.index.d.ts +18 -20
  8. package/esm/typings/src/cli/cli-commands/login.d.ts +15 -0
  9. package/esm/typings/src/cli/common/$addGlobalOptionsToCommand.d.ts +7 -0
  10. package/esm/typings/src/cli/common/$provideLlmToolsForCli.d.ts +15 -0
  11. package/esm/typings/src/config.d.ts +15 -8
  12. package/esm/typings/src/errors/0-index.d.ts +6 -0
  13. package/esm/typings/src/errors/AuthenticationError.d.ts +9 -0
  14. package/esm/typings/src/errors/PromptbookFetchError.d.ts +9 -0
  15. package/esm/typings/src/execution/PipelineExecutorResult.d.ts +2 -2
  16. package/esm/typings/src/execution/PromptResult.d.ts +2 -2
  17. package/esm/typings/src/execution/{PromptResultUsage.d.ts → Usage.d.ts} +5 -5
  18. package/esm/typings/src/execution/utils/addUsage.d.ts +2 -2
  19. package/esm/typings/src/execution/utils/computeUsageCounts.d.ts +3 -3
  20. package/esm/typings/src/execution/utils/usage-constants.d.ts +77 -60
  21. package/esm/typings/src/execution/utils/usageToHuman.d.ts +5 -5
  22. package/esm/typings/src/execution/utils/usageToWorktime.d.ts +5 -5
  23. package/esm/typings/src/llm-providers/_common/register/$provideEnvFilename.d.ts +12 -0
  24. package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +2 -8
  25. package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsForTestingAndScriptsAndPlayground.d.ts +2 -0
  26. package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsForWizzardOrCli.d.ts +36 -1
  27. package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -0
  28. package/esm/typings/src/llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage.d.ts +3 -3
  29. package/esm/typings/src/llm-providers/_common/utils/count-total-usage/limitTotalUsage.d.ts +2 -2
  30. package/esm/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions.d.ts +1 -1
  31. package/esm/typings/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.d.ts +2 -2
  32. package/esm/typings/src/llm-providers/anthropic-claude/register-configuration.d.ts +1 -1
  33. package/esm/typings/src/llm-providers/openai/OpenAiExecutionTools.d.ts +0 -9
  34. package/esm/typings/src/llm-providers/openai/computeOpenAiUsage.d.ts +2 -2
  35. package/esm/typings/src/pipeline/PipelineJson/PreparationJson.d.ts +2 -2
  36. package/esm/typings/src/remote-server/RemoteServer.d.ts +23 -0
  37. package/esm/typings/src/remote-server/socket-types/_subtypes/{PromptbookServer_Identification.d.ts → Identification.d.ts} +3 -3
  38. package/esm/typings/src/remote-server/socket-types/listModels/PromptbookServer_ListModels_Request.d.ts +2 -2
  39. package/esm/typings/src/remote-server/socket-types/prepare/PromptbookServer_PreparePipeline_Request.d.ts +2 -2
  40. package/esm/typings/src/remote-server/socket-types/prompt/PromptbookServer_Prompt_Request.d.ts +2 -2
  41. package/esm/typings/src/remote-server/startRemoteServer.d.ts +2 -2
  42. package/esm/typings/src/remote-server/types/RemoteClientOptions.d.ts +4 -12
  43. package/esm/typings/src/remote-server/types/RemoteServerOptions.d.ts +73 -3
  44. package/esm/typings/src/scrapers/_common/utils/{scraperFetch.d.ts → promptbookFetch.d.ts} +2 -2
  45. package/esm/typings/src/storage/env-storage/$EnvStorage.d.ts +37 -0
  46. package/esm/typings/src/types/typeAliases.d.ts +6 -0
  47. package/esm/typings/src/utils/organization/TODO_narrow.d.ts +6 -0
  48. package/package.json +1 -1
  49. package/umd/index.umd.js +152 -86
  50. package/umd/index.umd.js.map +1 -1
  51. package/esm/typings/src/playground/BrjappConnector.d.ts +0 -64
  52. package/esm/typings/src/playground/brjapp-api-schema.d.ts +0 -12879
package/README.md CHANGED
@@ -200,7 +200,7 @@ Each part of the book defines one of 3 circles:
200
200
 
201
201
  ### **What:** Workflows, Tasks and Parameters
202
202
 
203
- What work needs to be done. Each book defines a workflow, which is one or more tasks. Each workflow has a fixed input and output. For example, you have a book that generates an article from a topic. Once it generates an article about AI, once about marketing, once about cooking. The workflow (= your AI program) is the same, only the input and output change.
203
+ What work needs to be done. Each book defines a [workflow *(scenario or pipeline)*](https://github.com/webgptorg/promptbook/discussions/88), which is one or more tasks. Each workflow has a fixed input and output. For example, you have a book that generates an article from a topic. Once it generates an article about AI, once about marketing, once about cooking. The workflow (= your AI program) is the same, only the input and output change.
204
204
 
205
205
  **Related commands:**
206
206
 
@@ -310,6 +310,8 @@ The following glossary is used to clarify certain concepts:
310
310
 
311
311
 
312
312
 
313
+
314
+
313
315
  _Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
314
316
 
315
317
 
package/esm/index.es.js CHANGED
@@ -25,7 +25,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- const PROMPTBOOK_ENGINE_VERSION = '0.89.0-1';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.89.0-11';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -661,6 +661,7 @@ const DEFAULT_MAX_PARALLEL_COUNT = 5; // <- TODO: [🤹‍♂️]
661
661
  */
662
662
  const DEFAULT_MAX_EXECUTION_ATTEMPTS = 10; // <- TODO: [🤹‍♂️]
663
663
  // <- TODO: [🕝] Make also `BOOKS_DIRNAME_ALTERNATIVES`
664
+ // TODO: !!!!!! Just .promptbook dir, hardocode others
664
665
  /**
665
666
  * Where to store the temporary downloads
666
667
  *
@@ -712,7 +713,7 @@ const IS_PIPELINE_LOGIC_VALIDATED = just(
712
713
  true);
713
714
  /**
714
715
  * Note: [💞] Ignore a discrepancy between file name and entity name
715
- * TODO: [🧠][🧜‍♂️] Maybe join remoteUrl and path into single value
716
+ * TODO: [🧠][🧜‍♂️] Maybe join remoteServerUrl and path into single value
716
717
  */
717
718
 
718
719
  /**
@@ -1807,6 +1808,19 @@ class CsvFormatError extends AbstractFormatError {
1807
1808
  }
1808
1809
  }
1809
1810
 
1811
+ /**
1812
+ * AuthenticationError is thrown from login function which is dependency of remote server
1813
+ *
1814
+ * @public exported from `@promptbook/core`
1815
+ */
1816
+ class AuthenticationError extends Error {
1817
+ constructor(message) {
1818
+ super(message);
1819
+ this.name = 'AuthenticationError';
1820
+ Object.setPrototypeOf(this, AuthenticationError.prototype);
1821
+ }
1822
+ }
1823
+
1810
1824
  /**
1811
1825
  * This error indicates that the pipeline collection cannot be propperly loaded
1812
1826
  *
@@ -1898,6 +1912,19 @@ class NotYetImplementedError extends Error {
1898
1912
  }
1899
1913
  }
1900
1914
 
1915
+ /**
1916
+ * Error thrown when a fetch request fails
1917
+ *
1918
+ * @public exported from `@promptbook/core`
1919
+ */
1920
+ class PromptbookFetchError extends Error {
1921
+ constructor(message) {
1922
+ super(message);
1923
+ this.name = 'PromptbookFetchError';
1924
+ Object.setPrototypeOf(this, PromptbookFetchError.prototype);
1925
+ }
1926
+ }
1927
+
1901
1928
  /**
1902
1929
  * Index of all custom errors
1903
1930
  *
@@ -1935,6 +1962,8 @@ const COMMON_JAVASCRIPT_ERRORS = {
1935
1962
  TypeError,
1936
1963
  URIError,
1937
1964
  AggregateError,
1965
+ AuthenticationError,
1966
+ PromptbookFetchError,
1938
1967
  /*
1939
1968
  Note: Not widely supported
1940
1969
  > InternalError,
@@ -1996,6 +2025,7 @@ function assertsTaskSuccessful(executionResult) {
1996
2025
  const { isSuccessful, errors, warnings } = executionResult;
1997
2026
  for (const warning of warnings) {
1998
2027
  console.warn(warning.message);
2028
+ // <- TODO: [🏮] Some standard way how to transform errors into warnings and how to handle non-critical fails during the tasks
1999
2029
  }
2000
2030
  if (isSuccessful === true) {
2001
2031
  return;
@@ -2133,6 +2163,10 @@ function serializeError(error) {
2133
2163
 
2134
2164
  Cannot serialize error with name "${name}"
2135
2165
 
2166
+ Authors of Promptbook probably forgot to add this error into the list of errors:
2167
+ https://github.com/webgptorg/promptbook/blob/main/src/errors/0-index.ts
2168
+
2169
+
2136
2170
  ${block(stack || message)}
2137
2171
 
2138
2172
  `));
@@ -2174,30 +2208,42 @@ async function forEachAsync(array, options, callbackfunction) {
2174
2208
  await Promise.all(tasks);
2175
2209
  }
2176
2210
 
2211
+ /**
2212
+ * Represents the uncertain value
2213
+ *
2214
+ * @public exported from `@promptbook/core`
2215
+ */
2216
+ const ZERO_VALUE = $deepFreeze({ value: 0 });
2217
+ /**
2218
+ * Represents the uncertain value
2219
+ *
2220
+ * @public exported from `@promptbook/core`
2221
+ */
2222
+ const UNCERTAIN_ZERO_VALUE = $deepFreeze({ value: 0, isUncertain: true });
2177
2223
  /**
2178
2224
  * Represents the usage with no resources consumed
2179
2225
  *
2180
2226
  * @public exported from `@promptbook/core`
2181
2227
  */
2182
2228
  const ZERO_USAGE = $deepFreeze({
2183
- price: { value: 0 },
2229
+ price: ZERO_VALUE,
2184
2230
  input: {
2185
- tokensCount: { value: 0 },
2186
- charactersCount: { value: 0 },
2187
- wordsCount: { value: 0 },
2188
- sentencesCount: { value: 0 },
2189
- linesCount: { value: 0 },
2190
- paragraphsCount: { value: 0 },
2191
- pagesCount: { value: 0 },
2231
+ tokensCount: ZERO_VALUE,
2232
+ charactersCount: ZERO_VALUE,
2233
+ wordsCount: ZERO_VALUE,
2234
+ sentencesCount: ZERO_VALUE,
2235
+ linesCount: ZERO_VALUE,
2236
+ paragraphsCount: ZERO_VALUE,
2237
+ pagesCount: ZERO_VALUE,
2192
2238
  },
2193
2239
  output: {
2194
- tokensCount: { value: 0 },
2195
- charactersCount: { value: 0 },
2196
- wordsCount: { value: 0 },
2197
- sentencesCount: { value: 0 },
2198
- linesCount: { value: 0 },
2199
- paragraphsCount: { value: 0 },
2200
- pagesCount: { value: 0 },
2240
+ tokensCount: ZERO_VALUE,
2241
+ charactersCount: ZERO_VALUE,
2242
+ wordsCount: ZERO_VALUE,
2243
+ sentencesCount: ZERO_VALUE,
2244
+ linesCount: ZERO_VALUE,
2245
+ paragraphsCount: ZERO_VALUE,
2246
+ pagesCount: ZERO_VALUE,
2201
2247
  },
2202
2248
  });
2203
2249
  /**
@@ -2206,24 +2252,24 @@ const ZERO_USAGE = $deepFreeze({
2206
2252
  * @public exported from `@promptbook/core`
2207
2253
  */
2208
2254
  $deepFreeze({
2209
- price: { value: 0, isUncertain: true },
2255
+ price: UNCERTAIN_ZERO_VALUE,
2210
2256
  input: {
2211
- tokensCount: { value: 0, isUncertain: true },
2212
- charactersCount: { value: 0, isUncertain: true },
2213
- wordsCount: { value: 0, isUncertain: true },
2214
- sentencesCount: { value: 0, isUncertain: true },
2215
- linesCount: { value: 0, isUncertain: true },
2216
- paragraphsCount: { value: 0, isUncertain: true },
2217
- pagesCount: { value: 0, isUncertain: true },
2257
+ tokensCount: UNCERTAIN_ZERO_VALUE,
2258
+ charactersCount: UNCERTAIN_ZERO_VALUE,
2259
+ wordsCount: UNCERTAIN_ZERO_VALUE,
2260
+ sentencesCount: UNCERTAIN_ZERO_VALUE,
2261
+ linesCount: UNCERTAIN_ZERO_VALUE,
2262
+ paragraphsCount: UNCERTAIN_ZERO_VALUE,
2263
+ pagesCount: UNCERTAIN_ZERO_VALUE,
2218
2264
  },
2219
2265
  output: {
2220
- tokensCount: { value: 0, isUncertain: true },
2221
- charactersCount: { value: 0, isUncertain: true },
2222
- wordsCount: { value: 0, isUncertain: true },
2223
- sentencesCount: { value: 0, isUncertain: true },
2224
- linesCount: { value: 0, isUncertain: true },
2225
- paragraphsCount: { value: 0, isUncertain: true },
2226
- pagesCount: { value: 0, isUncertain: true },
2266
+ tokensCount: UNCERTAIN_ZERO_VALUE,
2267
+ charactersCount: UNCERTAIN_ZERO_VALUE,
2268
+ wordsCount: UNCERTAIN_ZERO_VALUE,
2269
+ sentencesCount: UNCERTAIN_ZERO_VALUE,
2270
+ linesCount: UNCERTAIN_ZERO_VALUE,
2271
+ paragraphsCount: UNCERTAIN_ZERO_VALUE,
2272
+ pagesCount: UNCERTAIN_ZERO_VALUE,
2227
2273
  },
2228
2274
  });
2229
2275
  /**
@@ -2511,6 +2557,7 @@ function joinLlmExecutionTools(...llmExecutionTools) {
2511
2557
  `);
2512
2558
  // TODO: [🟥] Detect browser / node and make it colorfull
2513
2559
  console.warn(warningMessage);
2560
+ // <- TODO: [🏮] Some standard way how to transform errors into warnings and how to handle non-critical fails during the tasks
2514
2561
  /*
2515
2562
  return {
2516
2563
  async listModels() {
@@ -3282,17 +3329,24 @@ function titleToName(value) {
3282
3329
  /**
3283
3330
  * The built-in `fetch' function with a lightweight error handling wrapper as default fetch function used in Promptbook scrapers
3284
3331
  *
3285
- * @private as default `fetch` function used in Promptbook scrapers
3332
+ * @public exported from `@promptbook/core`
3286
3333
  */
3287
- const scraperFetch = async (url, init) => {
3334
+ const promptbookFetch = async (urlOrRequest, init) => {
3288
3335
  try {
3289
- return await fetch(url, init);
3336
+ return await fetch(urlOrRequest, init);
3290
3337
  }
3291
3338
  catch (error) {
3292
3339
  if (!(error instanceof Error)) {
3293
3340
  throw error;
3294
3341
  }
3295
- throw new KnowledgeScrapeError(spaceTrim((block) => `
3342
+ let url;
3343
+ if (typeof urlOrRequest === 'string') {
3344
+ url = urlOrRequest;
3345
+ }
3346
+ else if (urlOrRequest instanceof Request) {
3347
+ url = urlOrRequest.url;
3348
+ }
3349
+ throw new PromptbookFetchError(spaceTrim((block) => `
3296
3350
  Can not fetch "${url}"
3297
3351
 
3298
3352
  Fetch error:
@@ -3313,7 +3367,7 @@ const scraperFetch = async (url, init) => {
3313
3367
  async function makeKnowledgeSourceHandler(knowledgeSource, tools, options) {
3314
3368
  // console.log('!! makeKnowledgeSourceHandler', knowledgeSource);
3315
3369
  var _a;
3316
- const { fetch = scraperFetch } = tools;
3370
+ const { fetch = promptbookFetch } = tools;
3317
3371
  const { knowledgeSourceContent } = knowledgeSource;
3318
3372
  let { name } = knowledgeSource;
3319
3373
  const { rootDirname = null,
@@ -3454,63 +3508,73 @@ async function prepareKnowledgePieces(knowledgeSources, tools, options) {
3454
3508
  const { maxParallelCount = DEFAULT_MAX_PARALLEL_COUNT, rootDirname, isVerbose = DEFAULT_IS_VERBOSE } = options;
3455
3509
  const knowledgePreparedUnflatten = new Array(knowledgeSources.length);
3456
3510
  await forEachAsync(knowledgeSources, { maxParallelCount }, async (knowledgeSource, index) => {
3457
- let partialPieces = null;
3458
- const sourceHandler = await makeKnowledgeSourceHandler(knowledgeSource, tools, { rootDirname, isVerbose });
3459
- const scrapers = arrayableToArray(tools.scrapers);
3460
- for (const scraper of scrapers) {
3461
- if (!scraper.metadata.mimeTypes.includes(sourceHandler.mimeType)
3462
- // <- TODO: [🦔] Implement mime-type wildcards
3463
- ) {
3464
- continue;
3465
- }
3466
- const partialPiecesUnchecked = await scraper.scrape(sourceHandler);
3467
- if (partialPiecesUnchecked !== null) {
3468
- partialPieces = [...partialPiecesUnchecked];
3469
- // <- TODO: [🪓] Here should be no need for spreading new array, just `partialPieces = partialPiecesUnchecked`
3470
- break;
3471
- }
3472
- console.warn(spaceTrim((block) => `
3473
- Cannot scrape knowledge from source despite the scraper \`${scraper.metadata.className}\` supports the mime type "${sourceHandler.mimeType}".
3511
+ try {
3512
+ let partialPieces = null;
3513
+ const sourceHandler = await makeKnowledgeSourceHandler(knowledgeSource, tools, { rootDirname, isVerbose });
3514
+ const scrapers = arrayableToArray(tools.scrapers);
3515
+ for (const scraper of scrapers) {
3516
+ if (!scraper.metadata.mimeTypes.includes(sourceHandler.mimeType)
3517
+ // <- TODO: [🦔] Implement mime-type wildcards
3518
+ ) {
3519
+ continue;
3520
+ }
3521
+ const partialPiecesUnchecked = await scraper.scrape(sourceHandler);
3522
+ if (partialPiecesUnchecked !== null) {
3523
+ partialPieces = [...partialPiecesUnchecked];
3524
+ // <- TODO: [🪓] Here should be no need for spreading new array, just `partialPieces = partialPiecesUnchecked`
3525
+ break;
3526
+ }
3527
+ console.warn(spaceTrim((block) => `
3528
+ Cannot scrape knowledge from source despite the scraper \`${scraper.metadata.className}\` supports the mime type "${sourceHandler.mimeType}".
3474
3529
 
3475
- The source:
3476
- ${block(knowledgeSource.knowledgeSourceContent
3477
- .split('\n')
3478
- .map((line) => `> ${line}`)
3479
- .join('\n'))}
3530
+ The source:
3531
+ ${block(knowledgeSource.knowledgeSourceContent
3532
+ .split('\n')
3533
+ .map((line) => `> ${line}`)
3534
+ .join('\n'))}
3480
3535
 
3481
- ${block($registeredScrapersMessage(scrapers))}
3536
+ ${block($registeredScrapersMessage(scrapers))}
3482
3537
 
3483
3538
 
3484
- `));
3485
- }
3486
- if (partialPieces === null) {
3487
- throw new KnowledgeScrapeError(spaceTrim((block) => `
3488
- Cannot scrape knowledge
3539
+ `));
3540
+ // <- TODO: [🏮] Some standard way how to transform errors into warnings and how to handle non-critical fails during the tasks
3541
+ }
3542
+ if (partialPieces === null) {
3543
+ throw new KnowledgeScrapeError(spaceTrim((block) => `
3544
+ Cannot scrape knowledge
3489
3545
 
3490
- The source:
3491
- > ${block(knowledgeSource.knowledgeSourceContent
3492
- .split('\n')
3493
- .map((line) => `> ${line}`)
3494
- .join('\n'))}
3546
+ The source:
3547
+ > ${block(knowledgeSource.knowledgeSourceContent
3548
+ .split('\n')
3549
+ .map((line) => `> ${line}`)
3550
+ .join('\n'))}
3495
3551
 
3496
- No scraper found for the mime type "${sourceHandler.mimeType}"
3552
+ No scraper found for the mime type "${sourceHandler.mimeType}"
3497
3553
 
3498
- ${block($registeredScrapersMessage(scrapers))}
3554
+ ${block($registeredScrapersMessage(scrapers))}
3499
3555
 
3500
3556
 
3501
- `));
3557
+ `));
3558
+ }
3559
+ const pieces = partialPieces.map((partialPiece) => ({
3560
+ ...partialPiece,
3561
+ sources: [
3562
+ {
3563
+ name: knowledgeSource.name,
3564
+ // line, column <- TODO: [☀]
3565
+ // <- TODO: [❎]
3566
+ },
3567
+ ],
3568
+ }));
3569
+ knowledgePreparedUnflatten[index] = pieces;
3570
+ }
3571
+ catch (error) {
3572
+ if (!(error instanceof Error)) {
3573
+ throw error;
3574
+ }
3575
+ console.warn(error);
3576
+ // <- TODO: [🏮] Some standard way how to transform errors into warnings and how to handle non-critical fails during the tasks
3502
3577
  }
3503
- const pieces = partialPieces.map((partialPiece) => ({
3504
- ...partialPiece,
3505
- sources: [
3506
- {
3507
- name: knowledgeSource.name,
3508
- // line, column <- TODO: [☀]
3509
- // <- TODO: [❎]
3510
- },
3511
- ],
3512
- }));
3513
- knowledgePreparedUnflatten[index] = pieces;
3514
3578
  });
3515
3579
  const knowledgePrepared = knowledgePreparedUnflatten.flat();
3516
3580
  return knowledgePrepared;
@@ -3928,7 +3992,7 @@ function extractParameterNamesFromTask(task) {
3928
3992
  if (parameterNames.has(subparameterName)) {
3929
3993
  parameterNames.delete(subparameterName);
3930
3994
  parameterNames.add(foreach.parameterName);
3931
- // <- TODO: [🚎] Warn/logic error when `subparameterName` not used
3995
+ // <- TODO: [🏮] Warn/logic error when `subparameterName` not used
3932
3996
  }
3933
3997
  }
3934
3998
  }
@@ -5422,6 +5486,7 @@ function createPipelineExecutor(options) {
5422
5486
 
5423
5487
  @see more at https://ptbk.io/prepare-pipeline
5424
5488
  `));
5489
+ // <- TODO: [🏮] Some standard way how to transform errors into warnings and how to handle non-critical fails during the tasks
5425
5490
  }
5426
5491
  let runCount = 0;
5427
5492
  const pipelineExecutorWithCallback = async (inputParameters, onProgress) => {
@@ -5696,7 +5761,8 @@ function addAutoGeneratedSection(content, options) {
5696
5761
  `));
5697
5762
  }
5698
5763
  console.warn(`No place where to put the section <!--${sectionName}-->, using the end of the file`);
5699
- // <- TODO: [🚎][💩] Some better way how to get warnings from pipeline parsing / logic
5764
+ // <- TODO: [🏮] Some standard way how to transform errors into warnings and how to handle non-critical fails during the tasks
5765
+ // <- TODO: [🏮] Some better way how to get warnings from pipeline parsing / logic
5700
5766
  return spaceTrim$1((block) => `
5701
5767
  ${block(content)}
5702
5768