@promptbook/components 0.112.0-136 → 0.112.0-138

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
@@ -27,6 +27,26 @@ Create persistent AI agents that turn your company's scattered knowledge into ac
27
27
 
28
28
 
29
29
 
30
+ ### Standalone VPS
31
+
32
+ Run the standalone VPS installer only on a fresh server. Interactive mode asks for the installation values:
33
+
34
+ ```bash
35
+ sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/other/vps/install.sh | bash
36
+ ```
37
+
38
+ Non-interactive mode takes defaults from command-line options and skips initial code-runner CLI setup, which can be configured later from the UI or SSH:
39
+
40
+ ```bash
41
+ sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/other/vps/install.sh | bash -s -- \
42
+ --non-interactive \
43
+ --yes-i-understand-that-script-should-be-run-on-fresh-server \
44
+ --domain s24.ptbk.io \
45
+ --openai-api-key sk-proj-abcdef \
46
+ --sentry-dsn https://abc@def.ingest.de.sentry.io/123 \
47
+ --admin-password xxx
48
+ ```
49
+
30
50
 
31
51
 
32
52
  <blockquote style="color: #ff8811">
package/esm/index.es.js CHANGED
@@ -4,6 +4,7 @@ import { useMemo, useState, createContext, useContext, useEffect, useRef, useCal
4
4
  import CryptoJS from 'crypto-js';
5
5
  import hexEncoder from 'crypto-js/enc-hex';
6
6
  import { basename, join, dirname, isAbsolute } from 'path';
7
+ import 'crypto';
7
8
  import moment from 'moment';
8
9
  import { lookup, extension } from 'mime-types';
9
10
  import { createPortal } from 'react-dom';
@@ -40,7 +41,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
40
41
  * @generated
41
42
  * @see https://github.com/webgptorg/promptbook
42
43
  */
43
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-136';
44
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-138';
44
45
  /**
45
46
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
46
47
  * Note: [💞] Ignore a discrepancy between file name and entity name