@promptbook/cli 0.75.0-4 → 0.75.1
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 +2 -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/utils/organization/spaceTrim.d.ts +11 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +2 -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/cli`
|
|
33
27
|
|
|
34
28
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -113,7 +107,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
113
107
|
|
|
114
108
|
## 🤍 The Book Abstract
|
|
115
109
|
|
|
116
|
-
|
|
110
|
+
**It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
|
|
117
111
|
|
|
118
112
|
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**!
|
|
119
113
|
|
|
@@ -123,11 +117,17 @@ The incredible growth in power of microprocessors and the Moore's Law have been
|
|
|
123
117
|
|
|
124
118
|
This shift is going to happen, whether we are ready for it or not. Our mission is to make it excellently, not just good.
|
|
125
119
|
|
|
126
|
-
|
|
120
|
+
**Join us in this journey!**
|
|
121
|
+
|
|
127
122
|
|
|
128
123
|
|
|
124
|
+
## 🚀 Get started
|
|
129
125
|
|
|
126
|
+
Take a look at the simple starter kit with books integrated into the **Hello World** sample applications:
|
|
130
127
|
|
|
128
|
+
- [Hello Book](https://github.com/webgptorg/hello-world)
|
|
129
|
+
- [Hello Book in Node.js](https://github.com/webgptorg/hello-world-node-js)
|
|
130
|
+
- [Hello Book in Next.js](https://github.com/webgptorg/hello-world-next-js)
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -147,7 +147,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
147
147
|
<tbody>
|
|
148
148
|
<tr>
|
|
149
149
|
<td>Core</td>
|
|
150
|
-
<td>Promptbook
|
|
150
|
+
<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>
|
|
151
151
|
<td rowspan=2>https://ptbk.io<br/>https://github.com/webgptorg/book</td>
|
|
152
152
|
</tr>
|
|
153
153
|
<tr>
|
|
@@ -158,17 +158,23 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
158
158
|
</tr>
|
|
159
159
|
<tr>
|
|
160
160
|
<td>Promptbook typescript project</td>
|
|
161
|
-
<td>
|
|
161
|
+
<td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
|
|
162
162
|
<td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
|
|
163
163
|
</tr>
|
|
164
164
|
<tr>
|
|
165
165
|
<td>Promptbook studio</td>
|
|
166
|
-
<td>
|
|
167
|
-
<td
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
<td>
|
|
166
|
+
<td>Studio to write Books and instantly publish them as miniapps</td>
|
|
167
|
+
<td>
|
|
168
|
+
https://promptbook.studio<br/>
|
|
169
|
+
https://github.com/hejny/promptbook-studio</td>
|
|
170
|
+
</tr><tr>
|
|
171
|
+
<td>Hello World</td>
|
|
172
|
+
<td>Simple starter kit with Books integrated into the sample applications</td>
|
|
173
|
+
<td>
|
|
174
|
+
https://github.com/webgptorg/hello-world<br/>
|
|
175
|
+
https://github.com/webgptorg/hello-world-node-js<br/>
|
|
176
|
+
https://github.com/webgptorg/hello-world-next-js
|
|
177
|
+
</td>
|
|
172
178
|
</tr>
|
|
173
179
|
</tbody>
|
|
174
180
|
</table>
|
package/esm/index.es.js
CHANGED
|
@@ -37,7 +37,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
37
37
|
*
|
|
38
38
|
* @see https://github.com/webgptorg/promptbook
|
|
39
39
|
*/
|
|
40
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.75.0
|
|
40
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.75.0';
|
|
41
41
|
/**
|
|
42
42
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
43
43
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -389,7 +389,6 @@ var GENERATOR_WARNING = "\u26A0\uFE0F WARNING: This code has been generated so t
|
|
|
389
389
|
* @public exported from `@promptbook/core`
|
|
390
390
|
*/
|
|
391
391
|
var CLAIM = "It's time for a paradigm shift. The future of software in plain English, French or Latin";
|
|
392
|
-
// <- TODO: [🐊] Pick the best claim
|
|
393
392
|
/**
|
|
394
393
|
* When the title is not provided, the default title is used
|
|
395
394
|
*
|
|
@@ -415,7 +414,7 @@ var LOOP_LIMIT = 1000;
|
|
|
415
414
|
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
416
415
|
*/
|
|
417
416
|
var CONNECTION_TIMEOUT_MS = 7 * 1000;
|
|
418
|
-
// <- TODO: [⏳]
|
|
417
|
+
// <- TODO: [⏳] Standardize timeouts, Make DEFAULT_TIMEOUT_MS as global constant
|
|
419
418
|
/**
|
|
420
419
|
* How many times to retry the connections
|
|
421
420
|
*
|