@promptbook/markdown-utils 0.81.0-6 → 0.81.0-8

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.
@@ -9,6 +9,7 @@ import { $provideScrapersForNode } from '../scrapers/_common/register/$provideSc
9
9
  import { FileCacheStorage } from '../storage/file-cache-storage/FileCacheStorage';
10
10
  import { $execCommand } from '../utils/execCommand/$execCommand';
11
11
  import { $execCommands } from '../utils/execCommand/$execCommands';
12
+ import { wizzard } from '../wizzard/wizzard';
12
13
  export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
13
14
  export { createCollectionFromDirectory };
14
15
  export { $provideExecutablesForNode };
@@ -20,3 +21,4 @@ export { $provideScrapersForNode };
20
21
  export { FileCacheStorage };
21
22
  export { $execCommand };
22
23
  export { $execCommands };
24
+ export { wizzard };
@@ -1,12 +1,21 @@
1
+ import type { PipelineCollection } from '../../collection/PipelineCollection';
1
2
  import type { string_formfactor_name } from '../../formfactors/_common/string_formfactor_name';
2
3
  import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
4
+ /**
5
+ * @@@
6
+ *
7
+ * @singleton
8
+ * @private internal cache of `getBookTemplate`
9
+ */
10
+ export declare let templatesPipelineCollection: PipelineCollection | null;
3
11
  /**
4
12
  * Get template for new book
5
13
  *
6
14
  * @public exported from `@promptbook/templates`
7
15
  */
8
- export declare function getBookTemplate(formfactorName: string_formfactor_name): Promise<PipelineJson | null>;
16
+ export declare function getBookTemplate(formfactorName: string_formfactor_name): PipelineJson;
9
17
  /**
18
+ * TODO: !!!!!! Test
10
19
  * TODO: [🧠] Which is the best place for this function
11
20
  * TODO: !!!!!! `book string template notation
12
21
  */
@@ -2,15 +2,22 @@ import type { string_semantic_version } from './types/typeAliases';
2
2
  /**
3
3
  * The version of the Book language
4
4
  *
5
+ * @generated
5
6
  * @see https://github.com/webgptorg/book
6
7
  */
7
8
  export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
8
9
  /**
9
10
  * The version of the Promptbook engine
10
11
  *
12
+ * @generated
11
13
  * @see https://github.com/webgptorg/promptbook
12
14
  */
13
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
+ /**
17
+ * @@@
18
+ *
19
+ * @generated
20
+ */
14
21
  export type string_promptbook_version = string_semantic_version;
15
22
  /**
16
23
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
@@ -0,0 +1,19 @@
1
+ import { Promisable } from 'type-fest';
2
+ import type { PipelineExecutorResult } from '../execution/PipelineExecutorResult';
3
+ import type { TaskProgress } from '../types/TaskProgress';
4
+ import type { Parameters } from '../types/typeAliases';
5
+ import type { string_pipeline_url } from '../types/typeAliases';
6
+ /**
7
+ * @@@
8
+ *
9
+ * @public exported from `@promptbook/node`
10
+ */
11
+ export declare const wizzard: {
12
+ /**
13
+ * @@@!!!!!!
14
+ */
15
+ run(book: string_pipeline_url, inputParameters: Parameters, onProgress?: ((taskProgress: TaskProgress) => Promisable<void>) | undefined): Promise<PipelineExecutorResult>;
16
+ };
17
+ /**
18
+ * TODO: !!!!!! Add to readmes - one markdown here imported in all packages
19
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/markdown-utils",
3
- "version": "0.81.0-6",
3
+ "version": "0.81.0-8",
4
4
  "description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
5
5
  "--note-0": " <- [🐊]",
6
6
  "private": false,
package/umd/index.umd.js CHANGED
@@ -14,15 +14,17 @@
14
14
  /**
15
15
  * The version of the Book language
16
16
  *
17
+ * @generated
17
18
  * @see https://github.com/webgptorg/book
18
19
  */
19
20
  var BOOK_LANGUAGE_VERSION = '1.0.0';
20
21
  /**
21
22
  * The version of the Promptbook engine
22
23
  *
24
+ * @generated
23
25
  * @see https://github.com/webgptorg/promptbook
24
26
  */
25
- var PROMPTBOOK_ENGINE_VERSION = '0.81.0-5';
27
+ var PROMPTBOOK_ENGINE_VERSION = '0.81.0-7';
26
28
  /**
27
29
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
28
30
  * Note: [💞] Ignore a discrepancy between file name and entity name