@promptbook/vercel 0.103.0-40 → 0.103.0-41
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
CHANGED
|
@@ -16,7 +16,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
16
16
|
* @generated
|
|
17
17
|
* @see https://github.com/webgptorg/promptbook
|
|
18
18
|
*/
|
|
19
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
19
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-41';
|
|
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
|
|
@@ -2,11 +2,13 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
|
|
|
2
2
|
import type { Identification } from '../remote-server/socket-types/_subtypes/Identification';
|
|
3
3
|
import type { ApplicationModeIdentification } from '../remote-server/socket-types/_subtypes/Identification';
|
|
4
4
|
import type { AnonymousModeIdentification } from '../remote-server/socket-types/_subtypes/Identification';
|
|
5
|
+
import { startAgentServer } from '../remote-server/startAgentServer';
|
|
5
6
|
import { startRemoteServer } from '../remote-server/startRemoteServer';
|
|
6
7
|
import type { RemoteServerOptions } from '../remote-server/types/RemoteServerOptions';
|
|
7
8
|
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
|
|
8
9
|
export type { Identification };
|
|
9
10
|
export type { ApplicationModeIdentification };
|
|
10
11
|
export type { AnonymousModeIdentification };
|
|
12
|
+
export { startAgentServer };
|
|
11
13
|
export { startRemoteServer };
|
|
12
14
|
export type { RemoteServerOptions };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TODO_any } from '../_packages/types.index';
|
|
2
|
+
import { number_port } from '../types/typeAliases';
|
|
3
|
+
type AgentsServerOptions = {
|
|
4
|
+
/**
|
|
5
|
+
* !!!
|
|
6
|
+
*
|
|
7
|
+
* @default 4440
|
|
8
|
+
*/
|
|
9
|
+
port: number_port;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* !!!!!
|
|
13
|
+
* Remote server is a proxy server that uses its execution tools internally and exposes the executor interface externally.
|
|
14
|
+
*
|
|
15
|
+
* You can simply use `RemoteExecutionTools` on client-side javascript and connect to your remote server.
|
|
16
|
+
* This is useful to make all logic on browser side but not expose your API keys or no need to use customer's GPU.
|
|
17
|
+
*
|
|
18
|
+
* @see https://github.com/webgptorg/promptbook#remote-server
|
|
19
|
+
* @public exported from `@promptbook/remote-server`
|
|
20
|
+
* <- TODO: !!!! Maybe change to `@promptbook/agent-server`
|
|
21
|
+
*/
|
|
22
|
+
export declare function startAgentServer(options: AgentsServerOptions): Promise<TODO_any>;
|
|
23
|
+
export {};
|
|
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
|
|
|
15
15
|
export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
|
|
16
16
|
/**
|
|
17
17
|
* Represents the version string of the Promptbook engine.
|
|
18
|
-
* It follows semantic versioning (e.g., `0.103.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.103.0-40`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/vercel",
|
|
3
|
-
"version": "0.103.0-
|
|
3
|
+
"version": "0.103.0-41",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"module": "./esm/index.es.js",
|
|
95
95
|
"typings": "./esm/typings/src/_packages/vercel.index.d.ts",
|
|
96
96
|
"peerDependencies": {
|
|
97
|
-
"@promptbook/core": "0.103.0-
|
|
97
|
+
"@promptbook/core": "0.103.0-41"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"colors": "^1.4.0",
|
package/umd/index.umd.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* @generated
|
|
24
24
|
* @see https://github.com/webgptorg/promptbook
|
|
25
25
|
*/
|
|
26
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
26
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-41';
|
|
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
|