@promptbook/remote-server 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 +20 -0
- package/esm/index.es.js +2 -1
- package/esm/index.es.js.map +1 -1
- package/esm/src/commitments/_common/teamInternalAgentAccess.d.ts +9 -1
- package/esm/src/utils/isTimingSafeEqualString.d.ts +25 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +3 -2
- package/umd/index.umd.js +5 -5
- package/umd/index.umd.js.map +1 -1
- package/umd/src/commitments/_common/teamInternalAgentAccess.d.ts +9 -1
- package/umd/src/utils/isTimingSafeEqualString.d.ts +25 -0
- package/umd/src/version.d.ts +1 -1
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
|
@@ -17,6 +17,7 @@ import swaggerUi from 'swagger-ui-express';
|
|
|
17
17
|
import { createElement } from 'react';
|
|
18
18
|
import { renderToStaticMarkup } from 'react-dom/server';
|
|
19
19
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
20
|
+
import 'crypto';
|
|
20
21
|
import moment from 'moment';
|
|
21
22
|
import { lookup, extension } from 'mime-types';
|
|
22
23
|
import sha256 from 'crypto-js/sha256';
|
|
@@ -39,7 +40,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
39
40
|
* @generated
|
|
40
41
|
* @see https://github.com/webgptorg/promptbook
|
|
41
42
|
*/
|
|
42
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.112.0-
|
|
43
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.112.0-138';
|
|
43
44
|
/**
|
|
44
45
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
45
46
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|