@promptbook/node 0.75.0-4 → 0.75.2
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 +22 -16
- package/esm/index.es.js +1 -3
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +6 -0
- package/esm/typings/src/_packages/utils.index.d.ts +2 -0
- package/esm/typings/src/config.d.ts +25 -0
- package/esm/typings/src/pipeline/PipelineInterface/PipelineInterface.d.ts +0 -4
- package/esm/typings/src/pipeline/PipelineInterface/getPipelineInterface.d.ts +1 -3
- package/esm/typings/src/pipeline/PipelineInterface/isPipelineImplementingInterface.d.ts +1 -4
- package/esm/typings/src/pipeline/PipelineInterface/isPipelineInterfacesEqual.d.ts +1 -4
- package/esm/typings/src/utils/organization/spaceTrim.d.ts +11 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -3
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
#  Promptbook
|
|
4
4
|
|
|
5
|
-
It's time for a paradigm shift! The future of software is in plain English, French or Latin.
|
|
6
|
-
|
|
7
5
|
|
|
8
6
|
|
|
9
7
|
|
|
@@ -25,10 +23,6 @@ It's time for a paradigm shift! The future of software is in plain English, Fren
|
|
|
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/node`
|
|
33
27
|
|
|
34
28
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -60,7 +54,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
60
54
|
|
|
61
55
|
## 🤍 The Book Abstract
|
|
62
56
|
|
|
63
|
-
|
|
57
|
+
**It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
|
|
64
58
|
|
|
65
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**!
|
|
66
60
|
|
|
@@ -70,11 +64,17 @@ The incredible growth in power of microprocessors and the Moore's Law have been
|
|
|
70
64
|
|
|
71
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.
|
|
72
66
|
|
|
73
|
-
|
|
67
|
+
**Join us in this journey!**
|
|
68
|
+
|
|
74
69
|
|
|
75
70
|
|
|
71
|
+
## 🚀 Get started
|
|
76
72
|
|
|
73
|
+
Take a look at the simple starter kit with books integrated into the **Hello World** sample applications:
|
|
77
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
78
|
|
|
79
79
|
|
|
80
80
|
|
|
@@ -94,7 +94,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
94
94
|
<tbody>
|
|
95
95
|
<tr>
|
|
96
96
|
<td>Core</td>
|
|
97
|
-
<td>Promptbook
|
|
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>
|
|
98
98
|
<td rowspan=2>https://ptbk.io<br/>https://github.com/webgptorg/book</td>
|
|
99
99
|
</tr>
|
|
100
100
|
<tr>
|
|
@@ -105,17 +105,23 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
105
105
|
</tr>
|
|
106
106
|
<tr>
|
|
107
107
|
<td>Promptbook typescript project</td>
|
|
108
|
-
<td>
|
|
108
|
+
<td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
|
|
109
109
|
<td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
|
|
110
110
|
</tr>
|
|
111
111
|
<tr>
|
|
112
112
|
<td>Promptbook studio</td>
|
|
113
|
-
<td>
|
|
114
|
-
<td
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
<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>
|
|
119
125
|
</tr>
|
|
120
126
|
</tbody>
|
|
121
127
|
</table>
|
package/esm/index.es.js
CHANGED
|
@@ -26,7 +26,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
26
26
|
*
|
|
27
27
|
* @see https://github.com/webgptorg/promptbook
|
|
28
28
|
*/
|
|
29
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.75.
|
|
29
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.75.1';
|
|
30
30
|
/**
|
|
31
31
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
32
32
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -364,7 +364,6 @@ function $asDeeplyFrozenSerializableJson(name, objectValue) {
|
|
|
364
364
|
* TODO: [🧠] Is there a way how to meaningfully test this utility
|
|
365
365
|
*/
|
|
366
366
|
|
|
367
|
-
// <- TODO: [🐊] Pick the best claim
|
|
368
367
|
/**
|
|
369
368
|
* When the title is not provided, the default title is used
|
|
370
369
|
*
|
|
@@ -1797,7 +1796,6 @@ function validatePipelineCore(pipeline) {
|
|
|
1797
1796
|
while (unresovedTasks.length > 0) {
|
|
1798
1797
|
_loop_3();
|
|
1799
1798
|
}
|
|
1800
|
-
// TODO: !!!!!! Test that pipeline interface implements declared formfactor interface
|
|
1801
1799
|
}
|
|
1802
1800
|
/**
|
|
1803
1801
|
* TODO: !! [🧞♀️] Do not allow joker + foreach
|