@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
package/esm/index.es.js
CHANGED
|
@@ -33,7 +33,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
33
33
|
* @generated
|
|
34
34
|
* @see https://github.com/webgptorg/promptbook
|
|
35
35
|
*/
|
|
36
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
36
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-45';
|
|
37
37
|
/**
|
|
38
38
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
39
39
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1301,12 +1301,17 @@ function $execCommand(options) {
|
|
|
1301
1301
|
async function startAgentServer(options) {
|
|
1302
1302
|
const { port = 4440 } = options;
|
|
1303
1303
|
// TODO: !!!! [🌕]
|
|
1304
|
+
console.trace(`!!! Starting agents server on port ${port}...`);
|
|
1305
|
+
console.log(`!!! cwd`, process.cwd());
|
|
1304
1306
|
await $execCommand({
|
|
1305
1307
|
cwd: './apps/agents-server',
|
|
1306
1308
|
command: `next dev --port ${port} `,
|
|
1307
1309
|
isVerbose: true,
|
|
1308
1310
|
});
|
|
1309
1311
|
}
|
|
1312
|
+
/**
|
|
1313
|
+
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
1314
|
+
*/
|
|
1310
1315
|
|
|
1311
1316
|
/**
|
|
1312
1317
|
* Make error report URL for the given error
|
|
@@ -9629,6 +9634,7 @@ function startRemoteServer(options) {
|
|
|
9629
9634
|
* TODO: [🃏] Pass here some security token to prevent malitious usage and/or DDoS
|
|
9630
9635
|
* TODO: [0] Set unavailable models as undefined in `RemoteLlmExecutionTools` NOT throw error here
|
|
9631
9636
|
* TODO: Allow to constrain anonymous mode for specific models / providers
|
|
9637
|
+
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
9632
9638
|
*/
|
|
9633
9639
|
|
|
9634
9640
|
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION, startAgentServer, startRemoteServer };
|