@promptbook/remote-server 0.86.0-13 → 0.86.0-14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/index.es.js CHANGED
@@ -31,7 +31,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
31
31
  * @generated
32
32
  * @see https://github.com/webgptorg/promptbook
33
33
  */
34
- var PROMPTBOOK_ENGINE_VERSION = '0.86.0-13';
34
+ var PROMPTBOOK_ENGINE_VERSION = '0.86.0-14';
35
35
  /**
36
36
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
37
37
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -2180,7 +2180,7 @@ function capitalize(word) {
2180
2180
  * Converts promptbook in JSON format to string format
2181
2181
  *
2182
2182
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
2183
- * @param pipelineJson Promptbook in JSON format (.book.json)
2183
+ * @param pipelineJson Promptbook in JSON format (.bookc)
2184
2184
  * @returns Promptbook in string format (.book.md)
2185
2185
  * @public exported from `@promptbook/core`
2186
2186
  */
@@ -13,7 +13,7 @@ import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions
13
13
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
14
14
  * @param tools - Tools for the preparation and scraping - if not provided together with `llm`, the preparation will be skipped
15
15
  * @param options - Options and tools for the compilation
16
- * @returns {Promptbook} compiled in JSON format (.book.json)
16
+ * @returns {Promptbook} compiled in JSON format (.bookc)
17
17
  * @throws {ParseError} if the promptbook string is not valid
18
18
  * @public exported from `@promptbook/core`
19
19
  */
@@ -11,7 +11,7 @@ import type { RemoteClientOptions } from '../remote-server/types/RemoteClientOpt
11
11
  *
12
12
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
13
13
  * @param options - Configuration of the remote server
14
- * @returns {Promptbook} compiled in JSON format (.book.json)
14
+ * @returns {Promptbook} compiled in JSON format (.bookc)
15
15
  * @throws {ParseError} if the promptbook string is not valid
16
16
  * @public exported from `@promptbook/remote-client`
17
17
  */
@@ -12,7 +12,7 @@ import type { PipelineString } from '../pipeline/PipelineString';
12
12
  * Note: This function acts as compilation process
13
13
  *
14
14
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
15
- * @returns {Promptbook} compiled in JSON format (.book.json)
15
+ * @returns {Promptbook} compiled in JSON format (.bookc)
16
16
  * @throws {ParseError} if the promptbook string is not valid
17
17
  * @public exported from `@promptbook/core`
18
18
  */
@@ -4,7 +4,7 @@ import type { PipelineString } from '../pipeline/PipelineString';
4
4
  * Converts promptbook in JSON format to string format
5
5
  *
6
6
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
7
- * @param pipelineJson Promptbook in JSON format (.book.json)
7
+ * @param pipelineJson Promptbook in JSON format (.bookc)
8
8
  * @returns Promptbook in string format (.book.md)
9
9
  * @public exported from `@promptbook/core`
10
10
  */
@@ -2,7 +2,7 @@ import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
2
2
  import type { PipelineString } from '../../pipeline/PipelineString';
3
3
  import type { string_json } from '../../types/typeAliases';
4
4
  /**
5
- * Import the pipeline.book or pipeline.book.json file
5
+ * Import the pipeline.book or pipeline.bookc file
6
6
  *
7
7
  * Note: Using here custom import to work in jest tests
8
8
  * Note: Using sync version is 💩 in the production code, but it's ok here in tests
@@ -11,19 +11,19 @@ import type { string_json } from '../../types/typeAliases';
11
11
  * @private internal function of tests
12
12
  */
13
13
  export declare function importPipelineWithoutPreparation(path: `${string}.book`): PipelineString;
14
- export declare function importPipelineWithoutPreparation(path: `${string}.book.json`): PipelineJson;
14
+ export declare function importPipelineWithoutPreparation(path: `${string}.bookc`): PipelineJson;
15
15
  /**
16
- * Import the pipeline.book.json file as parsed JSON
16
+ * Import the pipeline.bookc file as parsed JSON
17
17
  *
18
18
  * @private internal function of tests
19
19
  */
20
- export declare function importPipelineJson(path: `${string}.book.json`): PipelineJson;
20
+ export declare function importPipelineJson(path: `${string}.bookc`): PipelineJson;
21
21
  /**
22
- * Import the pipeline.book.json file as string
22
+ * Import the pipeline.bookc file as string
23
23
  *
24
24
  * @private internal function of tests
25
25
  */
26
- export declare function importPipelineJsonAsString(path: `${string}.book.json`): string_json<PipelineJson>;
26
+ export declare function importPipelineJsonAsString(path: `${string}.bookc`): string_json<PipelineJson>;
27
27
  /**
28
28
  * Note: [💞] Ignore a discrepancy between file name and entity name
29
29
  * Note: [⚫] Code in this file should never be published in any package
@@ -18,5 +18,5 @@ export type PreparationJson = {
18
18
  /**
19
19
  * TODO: [🍙] Make some standard order of json properties
20
20
  * TODO: Maybe put here used `modelName`
21
- * TODO: [🍥] When using `date` it changes all examples .book.json files each time so until some more elegant solution omit the time from prepared pipeline
21
+ * TODO: [🍥] When using `date` it changes all examples .bookc files each time so until some more elegant solution omit the time from prepared pipeline
22
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/remote-server",
3
- "version": "0.86.0-13",
3
+ "version": "0.86.0-14",
4
4
  "description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -47,7 +47,7 @@
47
47
  "module": "./esm/index.es.js",
48
48
  "typings": "./esm/typings/src/_packages/remote-server.index.d.ts",
49
49
  "peerDependencies": {
50
- "@promptbook/core": "0.86.0-13"
50
+ "@promptbook/core": "0.86.0-14"
51
51
  },
52
52
  "dependencies": {
53
53
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -28,7 +28,7 @@
28
28
  * @generated
29
29
  * @see https://github.com/webgptorg/promptbook
30
30
  */
31
- var PROMPTBOOK_ENGINE_VERSION = '0.86.0-13';
31
+ var PROMPTBOOK_ENGINE_VERSION = '0.86.0-14';
32
32
  /**
33
33
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
34
34
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -2177,7 +2177,7 @@
2177
2177
  * Converts promptbook in JSON format to string format
2178
2178
  *
2179
2179
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
2180
- * @param pipelineJson Promptbook in JSON format (.book.json)
2180
+ * @param pipelineJson Promptbook in JSON format (.bookc)
2181
2181
  * @returns Promptbook in string format (.book.md)
2182
2182
  * @public exported from `@promptbook/core`
2183
2183
  */