@promptbook/editable 0.85.0 → 0.86.0-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,6 +16,7 @@
16
16
 
17
17
  ## 🌟 New Features
18
18
 
19
+ - 📂 We have plugin for [VSCode](https://github.com/webgptorg/book-extension) to support `.book` file extension
19
20
  - 💫 Support of [`o3-mini` model by OpenAI](https://openai.com/index/openai-o3-mini/)
20
21
  - 🐋 **Support of [DeepSeek models](https://www.npmjs.com/package/@promptbook/deepseek)**
21
22
  - 💙 Working [the **Book** language v1.0.0](https://github.com/webgptorg/book)
@@ -24,6 +25,10 @@
24
25
 
25
26
 
26
27
 
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
+
27
32
  ## 📦 Package `@promptbook/editable`
28
33
 
29
34
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -57,7 +62,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
57
62
 
58
63
  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**!
59
64
 
60
- 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!
65
+ 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!
61
66
 
62
67
  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.
63
68
 
@@ -86,41 +91,24 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
86
91
  <thead>
87
92
  <tr>
88
93
  <th>Project</th>
89
- <th>Description</th>
90
- <th>Link</th>
94
+ <th>About</th>
91
95
  </tr>
92
96
  </thead>
93
97
  <tbody>
94
98
  <tr>
95
- <td>Core</td>
96
- <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>
97
- <td rowspan=2>https://github.com/webgptorg/book</td>
98
- </tr>
99
- <tr>
100
- <td>Book language</td>
99
+ <td><a href="https://github.com/webgptorg/book">Book language</a></td>
101
100
  <td>
102
- Book is a markdown-like language to define core entities like projects, pipelines, knowledge,.... It is designed to be understandable by non-programmers and non-technical people
101
+ Book is a markdown-like language to define core entities like personas, knowledge, tasks,.... It is designed to be understandable by non-programmers and non-technical people<hr>
102
+ There is also <a href="https://github.com/webgptorg/book-extension">a plugin for VSCode</a> to support <code>.book</code> file extension
103
103
  </td>
104
104
  </tr>
105
105
  <tr>
106
- <td>Promptbook typescript project</td>
107
- <td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
108
- <td>https://github.com/webgptorg/promptbook + <a href="https://www.npmjs.com/package/@promptbook/core#-packages-for-developers">Multiple packages published on NPM</a></td>
106
+ <td><a href="https://github.com/webgptorg/promptbook">Promptbook Engine</a></td>
107
+ <td>Promptbook implementation in TypeScript released as <a href="https://www.npmjs.com/package/@promptbook/core#-packages-for-developers">multiple NPM packages</a> and <a href="https://hub.docker.com/r/hejny/promptbook">Docker HUB</a></td>
109
108
  </tr>
110
109
  <tr>
111
- <td>Promptbook studio</td>
110
+ <td><a href="https://promptbook.studio">Promptbook Studio</a></td>
112
111
  <td>Studio to write Books and instantly publish them as miniapps</td>
113
- <td>
114
- https://promptbook.studio<br/>
115
- https://github.com/hejny/promptbook-studio</td>
116
- </tr><tr>
117
- <td>Hello World</td>
118
- <td>Simple starter kit with Books integrated into the sample applications</td>
119
- <td>
120
- https://github.com/webgptorg/hello-world<br/>
121
- https://github.com/webgptorg/hello-world-node-js<br/>
122
- https://github.com/webgptorg/hello-world-next-js
123
- </td>
124
112
  </tr>
125
113
  </tbody>
126
114
  </table>
package/esm/index.es.js CHANGED
@@ -17,7 +17,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
17
17
  * @generated
18
18
  * @see https://github.com/webgptorg/promptbook
19
19
  */
20
- var PROMPTBOOK_ENGINE_VERSION = '0.85.0-16';
20
+ var PROMPTBOOK_ENGINE_VERSION = '0.86.0-2';
21
21
  /**
22
22
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
23
23
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -274,7 +274,7 @@ var ParseError = /** @class */ (function (_super) {
274
274
  /**
275
275
  * Parses the boilerplate command
276
276
  *
277
- * Note: @@@ This command is used as boilerplate for new commands - it should NOT be used in any `.book.md` file
277
+ * Note: @@@ This command is used as boilerplate for new commands - it should NOT be used in any `.book` file
278
278
  *
279
279
  * @see `documentationUrl` for more details
280
280
  * @private within the commands folder
@@ -1802,7 +1802,7 @@ function validateParameterName(parameterName) {
1802
1802
  /**
1803
1803
  * Parses the foreach command
1804
1804
  *
1805
- * Note: @@@ This command is used as foreach for new commands - it should NOT be used in any `.book.md` file
1805
+ * Note: @@@ This command is used as foreach for new commands - it should NOT be used in any `.book` file
1806
1806
  *
1807
1807
  * @see `documentationUrl` for more details
1808
1808
  * @public exported from `@promptbook/editable`
@@ -2253,7 +2253,7 @@ var FORMFACTOR_DEFINITIONS = [
2253
2253
  /**
2254
2254
  * Parses the formfactor command
2255
2255
  *
2256
- * Note: @@@ This command is used as formfactor for new commands - it should NOT be used in any `.book.md` file
2256
+ * Note: @@@ This command is used as formfactor for new commands - it should NOT be used in any `.book` file
2257
2257
  *
2258
2258
  * @see `documentationUrl` for more details
2259
2259
  * @public exported from `@promptbook/editable`
@@ -3418,9 +3418,9 @@ var urlCommandParser = {
3418
3418
  * Example usages of the URL command
3419
3419
  */
3420
3420
  examples: [
3421
- 'PIPELINE URL https://promptbook.studio/library/write-cv.book.md',
3422
- 'URL https://promptbook.studio/library/write-cv.book.md',
3423
- 'https://promptbook.studio/library/write-cv.book.md',
3421
+ 'PIPELINE URL https://promptbook.studio/library/write-cv.book',
3422
+ 'URL https://promptbook.studio/library/write-cv.book',
3423
+ 'https://promptbook.studio/library/write-cv.book',
3424
3424
  ],
3425
3425
  /**
3426
3426
  * Parses the URL command
@@ -4192,7 +4192,7 @@ function stringifyPipelineJson(pipeline) {
4192
4192
  return pipelineJsonStringified;
4193
4193
  }
4194
4194
  /**
4195
- * TODO: [🐝] Not Working propperly @see https://promptbook.studio/examples/mixed-knowledge.book.md
4195
+ * TODO: [🐝] Not Working propperly @see https://promptbook.studio/examples/mixed-knowledge.book
4196
4196
  * TODO: [🧠][0] Maybe rename to `stringifyPipelineJson`, `stringifyIndexedJson`,...
4197
4197
  * TODO: [🧠] Maybe more elegant solution than replacing via regex
4198
4198
  * TODO: [🍙] Make some standard order of json properties