@promptbook/templates 0.84.0-21 → 0.84.0
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 +0 -4
- package/esm/index.es.js +9 -9
- package/esm/typings/src/cli/cli-commands/about.d.ts +1 -0
- package/esm/typings/src/llm-providers/_common/register/$registeredLlmToolsMessage.d.ts +9 -0
- package/esm/typings/src/utils/environment/$isRunningInBrowser.d.ts +3 -0
- package/esm/typings/src/utils/environment/$isRunningInJest.d.ts +3 -0
- package/esm/typings/src/utils/environment/$isRunningInNode.d.ts +3 -0
- package/esm/typings/src/utils/environment/$isRunningInWebWorker.d.ts +3 -0
- package/package.json +3 -3
- package/umd/index.umd.js +9 -9
package/README.md
CHANGED
|
@@ -24,10 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
<blockquote style="color: #ff8811">
|
|
28
|
-
<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>.
|
|
29
|
-
</blockquote>
|
|
30
|
-
|
|
31
27
|
## 📦 Package `@promptbook/templates`
|
|
32
28
|
|
|
33
29
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
package/esm/index.es.js
CHANGED
|
@@ -16,7 +16,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
16
16
|
* @generated
|
|
17
17
|
* @see https://github.com/webgptorg/promptbook
|
|
18
18
|
*/
|
|
19
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-
|
|
19
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-21';
|
|
20
20
|
/**
|
|
21
21
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
22
22
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1649,7 +1649,7 @@ function getTemplatesPipelineCollection() {
|
|
|
1649
1649
|
"preparations": [
|
|
1650
1650
|
{
|
|
1651
1651
|
"id": 1,
|
|
1652
|
-
"promptbookVersion": "0.84.0-
|
|
1652
|
+
"promptbookVersion": "0.84.0-21",
|
|
1653
1653
|
"usage": {
|
|
1654
1654
|
"price": {
|
|
1655
1655
|
"value": 0.005748
|
|
@@ -2039,7 +2039,7 @@ function getTemplatesPipelineCollection() {
|
|
|
2039
2039
|
"preparations": [
|
|
2040
2040
|
{
|
|
2041
2041
|
"id": 1,
|
|
2042
|
-
"promptbookVersion": "0.84.0-
|
|
2042
|
+
"promptbookVersion": "0.84.0-21",
|
|
2043
2043
|
"usage": {
|
|
2044
2044
|
"price": {
|
|
2045
2045
|
"value": 0.005748
|
|
@@ -2561,7 +2561,7 @@ function getTemplatesPipelineCollection() {
|
|
|
2561
2561
|
"preparations": [
|
|
2562
2562
|
{
|
|
2563
2563
|
"id": 1,
|
|
2564
|
-
"promptbookVersion": "0.84.0-
|
|
2564
|
+
"promptbookVersion": "0.84.0-21",
|
|
2565
2565
|
"usage": {
|
|
2566
2566
|
"price": {
|
|
2567
2567
|
"value": 0.005745
|
|
@@ -2683,7 +2683,7 @@ function getTemplatesPipelineCollection() {
|
|
|
2683
2683
|
"preparations": [
|
|
2684
2684
|
{
|
|
2685
2685
|
"id": 1,
|
|
2686
|
-
"promptbookVersion": "0.84.0-
|
|
2686
|
+
"promptbookVersion": "0.84.0-21",
|
|
2687
2687
|
"usage": {
|
|
2688
2688
|
"price": {
|
|
2689
2689
|
"value": 0.005595
|
|
@@ -2779,7 +2779,7 @@ function getTemplatesPipelineCollection() {
|
|
|
2779
2779
|
"preparations": [
|
|
2780
2780
|
{
|
|
2781
2781
|
"id": 1,
|
|
2782
|
-
"promptbookVersion": "0.84.0-
|
|
2782
|
+
"promptbookVersion": "0.84.0-21",
|
|
2783
2783
|
"usage": {
|
|
2784
2784
|
"price": {
|
|
2785
2785
|
"value": 0
|
|
@@ -2896,7 +2896,7 @@ function getTemplatesPipelineCollection() {
|
|
|
2896
2896
|
"preparations": [
|
|
2897
2897
|
{
|
|
2898
2898
|
"id": 1,
|
|
2899
|
-
"promptbookVersion": "0.84.0-
|
|
2899
|
+
"promptbookVersion": "0.84.0-21",
|
|
2900
2900
|
"usage": {
|
|
2901
2901
|
"price": {
|
|
2902
2902
|
"value": 0.005172
|
|
@@ -3026,7 +3026,7 @@ function getTemplatesPipelineCollection() {
|
|
|
3026
3026
|
"preparations": [
|
|
3027
3027
|
{
|
|
3028
3028
|
"id": 1,
|
|
3029
|
-
"promptbookVersion": "0.84.0-
|
|
3029
|
+
"promptbookVersion": "0.84.0-21",
|
|
3030
3030
|
"usage": {
|
|
3031
3031
|
"price": {
|
|
3032
3032
|
"value": 0.005247
|
|
@@ -3302,7 +3302,7 @@ function getTemplatesPipelineCollection() {
|
|
|
3302
3302
|
"preparations": [
|
|
3303
3303
|
{
|
|
3304
3304
|
"id": 1,
|
|
3305
|
-
"promptbookVersion": "0.84.0-
|
|
3305
|
+
"promptbookVersion": "0.84.0-21",
|
|
3306
3306
|
"usage": {
|
|
3307
3307
|
"price": {
|
|
3308
3308
|
"value": 0.00585
|
|
@@ -8,6 +8,7 @@ import type { Command as Program } from 'commander';
|
|
|
8
8
|
*/
|
|
9
9
|
export declare function $initializeAboutCommand(program: Program): void;
|
|
10
10
|
/**
|
|
11
|
+
* TODO: !!! Test this in `deno`
|
|
11
12
|
* TODO: [🗽] Unite branding and make single place for it
|
|
12
13
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
13
14
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
import type { string_filename } from '../../../types/typeAliases';
|
|
1
2
|
import type { string_markdown } from '../../../types/typeAliases';
|
|
3
|
+
/**
|
|
4
|
+
* Pass the `.env` file which was used to configure LLM tools
|
|
5
|
+
*
|
|
6
|
+
* Note: `$` is used to indicate that this variable is making side effect
|
|
7
|
+
*
|
|
8
|
+
* @private internal log of `$provideLlmToolsConfigurationFromEnv` and `$registeredLlmToolsMessage`
|
|
9
|
+
*/
|
|
10
|
+
export declare function $setUsedEnvFilename(filepath: string_filename): void;
|
|
2
11
|
/**
|
|
3
12
|
* Creates a message with all registered LLM tools
|
|
4
13
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/templates",
|
|
3
|
-
"version": "0.84.0
|
|
3
|
+
"version": "0.84.0",
|
|
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,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"anthropic",
|
|
39
39
|
"LLMOps"
|
|
40
40
|
],
|
|
41
|
-
"license": "
|
|
41
|
+
"license": "BUSL-1.1",
|
|
42
42
|
"bugs": {
|
|
43
43
|
"url": "https://github.com/webgptorg/promptbook/issues"
|
|
44
44
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"module": "./esm/index.es.js",
|
|
48
48
|
"typings": "./esm/typings/src/_packages/templates.index.d.ts",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@promptbook/core": "0.84.0
|
|
50
|
+
"@promptbook/core": "0.84.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"prettier": "2.8.1",
|
package/umd/index.umd.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* @generated
|
|
24
24
|
* @see https://github.com/webgptorg/promptbook
|
|
25
25
|
*/
|
|
26
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-
|
|
26
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-21';
|
|
27
27
|
/**
|
|
28
28
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
29
29
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1656,7 +1656,7 @@
|
|
|
1656
1656
|
"preparations": [
|
|
1657
1657
|
{
|
|
1658
1658
|
"id": 1,
|
|
1659
|
-
"promptbookVersion": "0.84.0-
|
|
1659
|
+
"promptbookVersion": "0.84.0-21",
|
|
1660
1660
|
"usage": {
|
|
1661
1661
|
"price": {
|
|
1662
1662
|
"value": 0.005748
|
|
@@ -2046,7 +2046,7 @@
|
|
|
2046
2046
|
"preparations": [
|
|
2047
2047
|
{
|
|
2048
2048
|
"id": 1,
|
|
2049
|
-
"promptbookVersion": "0.84.0-
|
|
2049
|
+
"promptbookVersion": "0.84.0-21",
|
|
2050
2050
|
"usage": {
|
|
2051
2051
|
"price": {
|
|
2052
2052
|
"value": 0.005748
|
|
@@ -2568,7 +2568,7 @@
|
|
|
2568
2568
|
"preparations": [
|
|
2569
2569
|
{
|
|
2570
2570
|
"id": 1,
|
|
2571
|
-
"promptbookVersion": "0.84.0-
|
|
2571
|
+
"promptbookVersion": "0.84.0-21",
|
|
2572
2572
|
"usage": {
|
|
2573
2573
|
"price": {
|
|
2574
2574
|
"value": 0.005745
|
|
@@ -2690,7 +2690,7 @@
|
|
|
2690
2690
|
"preparations": [
|
|
2691
2691
|
{
|
|
2692
2692
|
"id": 1,
|
|
2693
|
-
"promptbookVersion": "0.84.0-
|
|
2693
|
+
"promptbookVersion": "0.84.0-21",
|
|
2694
2694
|
"usage": {
|
|
2695
2695
|
"price": {
|
|
2696
2696
|
"value": 0.005595
|
|
@@ -2786,7 +2786,7 @@
|
|
|
2786
2786
|
"preparations": [
|
|
2787
2787
|
{
|
|
2788
2788
|
"id": 1,
|
|
2789
|
-
"promptbookVersion": "0.84.0-
|
|
2789
|
+
"promptbookVersion": "0.84.0-21",
|
|
2790
2790
|
"usage": {
|
|
2791
2791
|
"price": {
|
|
2792
2792
|
"value": 0
|
|
@@ -2903,7 +2903,7 @@
|
|
|
2903
2903
|
"preparations": [
|
|
2904
2904
|
{
|
|
2905
2905
|
"id": 1,
|
|
2906
|
-
"promptbookVersion": "0.84.0-
|
|
2906
|
+
"promptbookVersion": "0.84.0-21",
|
|
2907
2907
|
"usage": {
|
|
2908
2908
|
"price": {
|
|
2909
2909
|
"value": 0.005172
|
|
@@ -3033,7 +3033,7 @@
|
|
|
3033
3033
|
"preparations": [
|
|
3034
3034
|
{
|
|
3035
3035
|
"id": 1,
|
|
3036
|
-
"promptbookVersion": "0.84.0-
|
|
3036
|
+
"promptbookVersion": "0.84.0-21",
|
|
3037
3037
|
"usage": {
|
|
3038
3038
|
"price": {
|
|
3039
3039
|
"value": 0.005247
|
|
@@ -3309,7 +3309,7 @@
|
|
|
3309
3309
|
"preparations": [
|
|
3310
3310
|
{
|
|
3311
3311
|
"id": 1,
|
|
3312
|
-
"promptbookVersion": "0.84.0-
|
|
3312
|
+
"promptbookVersion": "0.84.0-21",
|
|
3313
3313
|
"usage": {
|
|
3314
3314
|
"price": {
|
|
3315
3315
|
"value": 0.00585
|