@promptbook/cli 0.52.0-30 โ 0.52.0-32
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 -1
- package/esm/index.es.js +1 -1
- package/esm/typings/errors/PromptbookLibraryError.d.ts +7 -0
- package/esm/typings/execution/plugins/llm-execution-tools/remote/startRemoteServer.d.ts +1 -0
- package/esm/typings/library/constructors/createPromptbookLibraryFromDirectory.d.ts +7 -0
- package/esm/typings/library/constructors/createPromptbookLibraryFromUrl.d.ts +1 -0
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/typings/errors/PromptbookLibraryError.d.ts +7 -0
- package/umd/typings/execution/plugins/llm-execution-tools/remote/startRemoteServer.d.ts +1 -0
- package/umd/typings/library/constructors/createPromptbookLibraryFromDirectory.d.ts +7 -0
- package/umd/typings/library/constructors/createPromptbookLibraryFromUrl.d.ts +1 -0
package/README.md
CHANGED
|
@@ -11,7 +11,6 @@ Library to supercharge your use of large language models
|
|
|
11
11
|
[](https://github.com/webgptorg/promptbook/issues)
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
[](https://socket.dev/npm/package/@promptbook/cli)
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
|
package/esm/index.es.js
CHANGED
|
@@ -142,7 +142,7 @@ new Function("\n try {\n if (typeof WorkerGlobalScope !== 'undefined'
|
|
|
142
142
|
/**
|
|
143
143
|
* The version of the Promptbook library
|
|
144
144
|
*/
|
|
145
|
-
var PROMPTBOOK_VERSION = '0.52.0-
|
|
145
|
+
var PROMPTBOOK_VERSION = '0.52.0-31';
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* This error indicates that the promptbook in a markdown format cannot be parsed into a valid promptbook object
|
|
@@ -10,6 +10,7 @@ import { RemoteServerOptions } from './interfaces/RemoteServerOptions';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare function startRemoteServer(options: RemoteServerOptions): IDestroyable;
|
|
12
12
|
/**
|
|
13
|
+
* TODO: [โ] Expose the library to be able to connect to same library via createPromptbookLibraryFromUrl
|
|
13
14
|
* TODO: Handle progress - support streaming
|
|
14
15
|
* TODO: [๐คนโโ๏ธ] Do not hang up immediately but wait until client closes OR timeout
|
|
15
16
|
* TODO: [๐คนโโ๏ธ] Timeout on chat to free up resources
|
|
@@ -22,6 +22,13 @@ type CreatePromptbookLibraryFromDirectoryOptions = {
|
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
24
|
isLazyLoaded?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If true, whole library creation crashes on error in any promptbook
|
|
27
|
+
* If true and isLazyLoaded is true, the error is thrown on first access to the promptbook
|
|
28
|
+
*
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
isCrashOnError?: boolean;
|
|
25
32
|
};
|
|
26
33
|
/**
|
|
27
34
|
* Constructs Promptbook from given directory
|
|
@@ -25,5 +25,6 @@ type CreatePromptbookLibraryFromUrlyOptions = {
|
|
|
25
25
|
export declare function createPromptbookLibraryFromUrl(url: string_url | URL, options: CreatePromptbookLibraryFromUrlyOptions): Promise<PromptbookLibrary>;
|
|
26
26
|
export {};
|
|
27
27
|
/***
|
|
28
|
+
* TODO: [โ] Compatible with remote server
|
|
28
29
|
* TODO: [๐][๐ฏ] !!! Add to README and samples + maybe make `@promptbook/library` package
|
|
29
30
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/cli",
|
|
3
|
-
"version": "0.52.0-
|
|
3
|
+
"version": "0.52.0-32",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@promptbook/core": "0.52.0-
|
|
55
|
+
"@promptbook/core": "0.52.0-32"
|
|
56
56
|
},
|
|
57
57
|
"main": "./umd/index.umd.js",
|
|
58
58
|
"module": "./esm/index.es.js",
|
package/umd/index.umd.js
CHANGED
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
/**
|
|
147
147
|
* The version of the Promptbook library
|
|
148
148
|
*/
|
|
149
|
-
var PROMPTBOOK_VERSION = '0.52.0-
|
|
149
|
+
var PROMPTBOOK_VERSION = '0.52.0-31';
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* This error indicates that the promptbook in a markdown format cannot be parsed into a valid promptbook object
|
|
@@ -10,6 +10,7 @@ import { RemoteServerOptions } from './interfaces/RemoteServerOptions';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare function startRemoteServer(options: RemoteServerOptions): IDestroyable;
|
|
12
12
|
/**
|
|
13
|
+
* TODO: [โ] Expose the library to be able to connect to same library via createPromptbookLibraryFromUrl
|
|
13
14
|
* TODO: Handle progress - support streaming
|
|
14
15
|
* TODO: [๐คนโโ๏ธ] Do not hang up immediately but wait until client closes OR timeout
|
|
15
16
|
* TODO: [๐คนโโ๏ธ] Timeout on chat to free up resources
|
|
@@ -22,6 +22,13 @@ type CreatePromptbookLibraryFromDirectoryOptions = {
|
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
24
|
isLazyLoaded?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If true, whole library creation crashes on error in any promptbook
|
|
27
|
+
* If true and isLazyLoaded is true, the error is thrown on first access to the promptbook
|
|
28
|
+
*
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
isCrashOnError?: boolean;
|
|
25
32
|
};
|
|
26
33
|
/**
|
|
27
34
|
* Constructs Promptbook from given directory
|
|
@@ -25,5 +25,6 @@ type CreatePromptbookLibraryFromUrlyOptions = {
|
|
|
25
25
|
export declare function createPromptbookLibraryFromUrl(url: string_url | URL, options: CreatePromptbookLibraryFromUrlyOptions): Promise<PromptbookLibrary>;
|
|
26
26
|
export {};
|
|
27
27
|
/***
|
|
28
|
+
* TODO: [โ] Compatible with remote server
|
|
28
29
|
* TODO: [๐][๐ฏ] !!! Add to README and samples + maybe make `@promptbook/library` package
|
|
29
30
|
*/
|