@promptbook/remote-server 0.103.0-44 → 0.103.0-45
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 +7 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/remote-server/startAgentServer.d.ts +3 -0
- package/esm/typings/src/remote-server/startRemoteServer.d.ts +1 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +7 -1
- package/umd/index.umd.js.map +1 -1
|
@@ -21,3 +21,6 @@ type AgentsServerOptions = {
|
|
|
21
21
|
*/
|
|
22
22
|
export declare function startAgentServer(options: AgentsServerOptions): Promise<TODO_any>;
|
|
23
23
|
export {};
|
|
24
|
+
/**
|
|
25
|
+
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
26
|
+
*/
|
|
@@ -25,4 +25,5 @@ export declare function startRemoteServer<TCustomOptions = undefined>(options: R
|
|
|
25
25
|
* TODO: [🃏] Pass here some security token to prevent malitious usage and/or DDoS
|
|
26
26
|
* TODO: [0] Set unavailable models as undefined in `RemoteLlmExecutionTools` NOT throw error here
|
|
27
27
|
* TODO: Allow to constrain anonymous mode for specific models / providers
|
|
28
|
+
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
28
29
|
*/
|
|
@@ -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-44`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/remote-server",
|
|
3
|
-
"version": "0.103.0-
|
|
3
|
+
"version": "0.103.0-45",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"module": "./esm/index.es.js",
|
|
96
96
|
"typings": "./esm/typings/src/_packages/remote-server.index.d.ts",
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"@promptbook/core": "0.103.0-
|
|
98
|
+
"@promptbook/core": "0.103.0-45"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"colors": "^1.4.0",
|
package/umd/index.umd.js
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* @generated
|
|
48
48
|
* @see https://github.com/webgptorg/promptbook
|
|
49
49
|
*/
|
|
50
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
50
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-45';
|
|
51
51
|
/**
|
|
52
52
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
53
53
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1315,12 +1315,17 @@
|
|
|
1315
1315
|
async function startAgentServer(options) {
|
|
1316
1316
|
const { port = 4440 } = options;
|
|
1317
1317
|
// TODO: !!!! [🌕]
|
|
1318
|
+
console.trace(`!!! Starting agents server on port ${port}...`);
|
|
1319
|
+
console.log(`!!! cwd`, process.cwd());
|
|
1318
1320
|
await $execCommand({
|
|
1319
1321
|
cwd: './apps/agents-server',
|
|
1320
1322
|
command: `next dev --port ${port} `,
|
|
1321
1323
|
isVerbose: true,
|
|
1322
1324
|
});
|
|
1323
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
1328
|
+
*/
|
|
1324
1329
|
|
|
1325
1330
|
/**
|
|
1326
1331
|
* Make error report URL for the given error
|
|
@@ -9643,6 +9648,7 @@
|
|
|
9643
9648
|
* TODO: [🃏] Pass here some security token to prevent malitious usage and/or DDoS
|
|
9644
9649
|
* TODO: [0] Set unavailable models as undefined in `RemoteLlmExecutionTools` NOT throw error here
|
|
9645
9650
|
* TODO: Allow to constrain anonymous mode for specific models / providers
|
|
9651
|
+
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
9646
9652
|
*/
|
|
9647
9653
|
|
|
9648
9654
|
exports.BOOK_LANGUAGE_VERSION = BOOK_LANGUAGE_VERSION;
|