@promptbook/remote-server 0.84.0-21 → 0.84.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/README.md CHANGED
@@ -24,10 +24,6 @@
24
24
 
25
25
 
26
26
 
27
- <blockquote style="color: #ff8811">
28
- <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
29
- </blockquote>
30
-
31
27
  ## 📦 Package `@promptbook/remote-server`
32
28
 
33
29
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
package/esm/index.es.js CHANGED
@@ -28,7 +28,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
28
28
  * @generated
29
29
  * @see https://github.com/webgptorg/promptbook
30
30
  */
31
- var PROMPTBOOK_ENGINE_VERSION = '0.84.0-20';
31
+ var PROMPTBOOK_ENGINE_VERSION = '0.84.0-21';
32
32
  /**
33
33
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
34
34
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -667,6 +667,9 @@ function serializeError(error) {
667
667
  * @public exported from `@promptbook/utils`
668
668
  */
669
669
  var $isRunningInNode = new Function("\n try {\n return this === global;\n } catch (e) {\n return false;\n }\n");
670
+ /**
671
+ * TODO: [☑]
672
+ */
670
673
 
671
674
  /**
672
675
  * Normalize options for `execCommand` and `execCommands`
@@ -1678,10 +1681,11 @@ function $registeredLlmToolsMessage() {
1678
1681
  // <- Note: [🗨]
1679
1682
  return __assign(__assign({}, metadata), { isMetadataAviailable: isMetadataAviailable, isInstalled: isInstalled, isFullyConfigured: isFullyConfigured, isPartiallyConfigured: isPartiallyConfigured });
1680
1683
  });
1684
+ var usedEnvMessage = "Unknown `.env` file" ;
1681
1685
  if (metadata.length === 0) {
1682
- return "No LLM providers are available.";
1686
+ return spaceTrim$1(function (block) { return "\n No LLM providers are available.\n\n ".concat(block(usedEnvMessage), "\n "); });
1683
1687
  }
1684
- return spaceTrim$1(function (block) { return "\n Relevant environment variables:\n ".concat(block(Object.keys(env)
1688
+ return spaceTrim$1(function (block) { return "\n\n ".concat(block(usedEnvMessage), "\n\n Relevant environment variables:\n ").concat(block(Object.keys(env)
1685
1689
  .filter(function (envVariableName) {
1686
1690
  return metadata.some(function (_a) {
1687
1691
  var envVariables = _a.envVariables;