@promptbook/remote-server 0.34.0-0 โ 0.34.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/esm/index.es.js +2 -2
- package/esm/typings/conversion/parseCommand.test.d.ts +0 -1
- package/esm/typings/execution/plugins/natural-execution-tools/remote/runRemoteServer.d.ts +1 -1
- package/esm/typings/utils/emojis.d.ts +2 -0
- package/package.json +2 -2
- package/umd/index.umd.js +2 -2
- package/umd/typings/conversion/parseCommand.test.d.ts +0 -1
- package/umd/typings/execution/plugins/natural-execution-tools/remote/runRemoteServer.d.ts +1 -1
- package/umd/typings/utils/emojis.d.ts +2 -0
package/esm/index.es.js
CHANGED
|
@@ -59,7 +59,7 @@ function __generator(thisArg, body) {
|
|
|
59
59
|
/**
|
|
60
60
|
* The version of the Promptbook library
|
|
61
61
|
*/
|
|
62
|
-
var PTBK_VERSION = '0.34.0-
|
|
62
|
+
var PTBK_VERSION = '0.34.0-1';
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* Remote server is a proxy server that uses its execution tools internally and exposes the executor interface externally.
|
|
@@ -159,7 +159,7 @@ function runRemoteServer(options) {
|
|
|
159
159
|
* TODO: Handle progress - support streaming
|
|
160
160
|
* TODO: [๐คนโโ๏ธ] Do not hang up immediately but wait until client closes OR timeout
|
|
161
161
|
* TODO: [๐คนโโ๏ธ] Timeout on chat to free up resources
|
|
162
|
-
* TODO: [๐] Pass here some security token to prevent DDoS
|
|
162
|
+
* TODO: [๐] Pass here some security token to prevent malitious usage and/or DDoS
|
|
163
163
|
*/
|
|
164
164
|
|
|
165
165
|
export { runRemoteServer };
|
|
@@ -13,5 +13,5 @@ export declare function runRemoteServer(options: RemoteServerOptions): void;
|
|
|
13
13
|
* TODO: Handle progress - support streaming
|
|
14
14
|
* TODO: [๐คนโโ๏ธ] Do not hang up immediately but wait until client closes OR timeout
|
|
15
15
|
* TODO: [๐คนโโ๏ธ] Timeout on chat to free up resources
|
|
16
|
-
* TODO: [๐] Pass here some security token to prevent DDoS
|
|
16
|
+
* TODO: [๐] Pass here some security token to prevent malitious usage and/or DDoS
|
|
17
17
|
*/
|
|
@@ -6,6 +6,7 @@ import { string_char_emoji } from '../types/typeAliasEmoji';
|
|
|
6
6
|
* @see https://getemoji.com/
|
|
7
7
|
*
|
|
8
8
|
* @private within the library
|
|
9
|
+
* @deprecated Use /\p{Extended_Pictographic}/ instead
|
|
9
10
|
*/
|
|
10
11
|
export declare const EMOJIS_IN_CATEGORIES: Record<string, Array<string_char_emoji>>;
|
|
11
12
|
/**
|
|
@@ -13,6 +14,7 @@ export declare const EMOJIS_IN_CATEGORIES: Record<string, Array<string_char_emoj
|
|
|
13
14
|
* All possible emoji chars like "๐", "๐ก", "๐ค"...
|
|
14
15
|
*
|
|
15
16
|
* @private within the library
|
|
17
|
+
* @deprecated Use /\p{Extended_Pictographic}/ instead
|
|
16
18
|
*/
|
|
17
19
|
export declare const EMOJIS: Set<string_char_emoji>;
|
|
18
20
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/remote-server",
|
|
3
|
-
"version": "0.34.0
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"spacetrim": "0.9.21"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@promptbook/core": "0.34.0
|
|
41
|
+
"@promptbook/core": "0.34.0"
|
|
42
42
|
},
|
|
43
43
|
"main": "./umd/index.umd.js",
|
|
44
44
|
"module": "./esm/index.es.js",
|
package/umd/index.umd.js
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
/**
|
|
67
67
|
* The version of the Promptbook library
|
|
68
68
|
*/
|
|
69
|
-
var PTBK_VERSION = '0.34.0-
|
|
69
|
+
var PTBK_VERSION = '0.34.0-1';
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* Remote server is a proxy server that uses its execution tools internally and exposes the executor interface externally.
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
* TODO: Handle progress - support streaming
|
|
167
167
|
* TODO: [๐คนโโ๏ธ] Do not hang up immediately but wait until client closes OR timeout
|
|
168
168
|
* TODO: [๐คนโโ๏ธ] Timeout on chat to free up resources
|
|
169
|
-
* TODO: [๐] Pass here some security token to prevent DDoS
|
|
169
|
+
* TODO: [๐] Pass here some security token to prevent malitious usage and/or DDoS
|
|
170
170
|
*/
|
|
171
171
|
|
|
172
172
|
exports.runRemoteServer = runRemoteServer;
|
|
@@ -13,5 +13,5 @@ export declare function runRemoteServer(options: RemoteServerOptions): void;
|
|
|
13
13
|
* TODO: Handle progress - support streaming
|
|
14
14
|
* TODO: [๐คนโโ๏ธ] Do not hang up immediately but wait until client closes OR timeout
|
|
15
15
|
* TODO: [๐คนโโ๏ธ] Timeout on chat to free up resources
|
|
16
|
-
* TODO: [๐] Pass here some security token to prevent DDoS
|
|
16
|
+
* TODO: [๐] Pass here some security token to prevent malitious usage and/or DDoS
|
|
17
17
|
*/
|
|
@@ -6,6 +6,7 @@ import { string_char_emoji } from '../types/typeAliasEmoji';
|
|
|
6
6
|
* @see https://getemoji.com/
|
|
7
7
|
*
|
|
8
8
|
* @private within the library
|
|
9
|
+
* @deprecated Use /\p{Extended_Pictographic}/ instead
|
|
9
10
|
*/
|
|
10
11
|
export declare const EMOJIS_IN_CATEGORIES: Record<string, Array<string_char_emoji>>;
|
|
11
12
|
/**
|
|
@@ -13,6 +14,7 @@ export declare const EMOJIS_IN_CATEGORIES: Record<string, Array<string_char_emoj
|
|
|
13
14
|
* All possible emoji chars like "๐", "๐ก", "๐ค"...
|
|
14
15
|
*
|
|
15
16
|
* @private within the library
|
|
17
|
+
* @deprecated Use /\p{Extended_Pictographic}/ instead
|
|
16
18
|
*/
|
|
17
19
|
export declare const EMOJIS: Set<string_char_emoji>;
|
|
18
20
|
/**
|