@promptbook/components 0.112.0-135 → 0.112.0-137

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-135';
44
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-137';
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
@@ -22678,19 +22679,6 @@ var css_248z$d = ".BookEditor-module_BookEditor__s-0PU{width:100%}.BookEditor-mo
22678
22679
  var styles$d = {"BookEditor":"BookEditor-module_BookEditor__s-0PU","bookEditorContainer":"BookEditor-module_bookEditorContainer__wLMwM","isVerbose":"BookEditor-module_isVerbose__VQ6iL","bookEditorWrapper":"BookEditor-module_bookEditorWrapper__twppD","isBorderRadiusDisabled":"BookEditor-module_isBorderRadiusDisabled__h1I3v","dropOverlay":"BookEditor-module_dropOverlay__xWWoX","bookEditorActionbar":"BookEditor-module_bookEditorActionbar__KW6dc","fullscreen":"BookEditor-module_fullscreen__rktsl","button":"BookEditor-module_button__hS390","savedNotification":"BookEditor-module_savedNotification__OiX9L","fadeOut":"BookEditor-module_fadeOut__q8JnR","uploadPanel":"BookEditor-module_uploadPanel__2JJtD","uploadPanelHeader":"BookEditor-module_uploadPanelHeader__pdJd2","uploadPanelTitle":"BookEditor-module_uploadPanelTitle__TJIVF","uploadPanelHeaderMeta":"BookEditor-module_uploadPanelHeaderMeta__Xw0uI","uploadPanelSummary":"BookEditor-module_uploadPanelSummary__rwSbG","uploadRowStatus":"BookEditor-module_uploadRowStatus__jsUb-","uploadRowMeta":"BookEditor-module_uploadRowMeta__1lz9h","uploadPanelProgressBar":"BookEditor-module_uploadPanelProgressBar__a6pjf","uploadPanelProgressFill":"BookEditor-module_uploadPanelProgressFill__l-TKR","uploadRowProgressBar":"BookEditor-module_uploadRowProgressBar__NoBA7","uploadPanelList":"BookEditor-module_uploadPanelList__VxEd5","uploadRow":"BookEditor-module_uploadRow__QiSFg","uploadRowHeader":"BookEditor-module_uploadRowHeader__po0j5","uploadRowName":"BookEditor-module_uploadRowName__doQRO","uploadRowProgressFill":"BookEditor-module_uploadRowProgressFill__TrP7e","uploadRowActions":"BookEditor-module_uploadRowActions__5Y1Mq","uploadActionButton":"BookEditor-module_uploadActionButton__CqJrr","uploadRowError":"BookEditor-module_uploadRowError__eEHWw","aboutPromptbookInformation":"BookEditor-module_aboutPromptbookInformation__eiBL0"};
22679
22680
  styleInject(css_248z$d);
22680
22681
 
22681
- /**
22682
- * Core Promptbook server configuration
22683
- *
22684
- * Used for "Adam" agent which is built in as default ancestor for new agents and other well known agents
22685
- *
22686
- * @public exported from `@promptbook/core`
22687
- */
22688
- const CORE_AGENTS_SERVER = {
22689
- title: 'Promptbook Core',
22690
- description: `Core Promptbook server used for Adam agent which is built in as default ancestor for new agents and other well known agents.`,
22691
- owner: PROMPTBOOK_LEGAL_ENTITY,
22692
- url: 'https://core.ptbk.io/',
22693
- };
22694
22682
  // <- TODO: [🆎] Allow to override (set) well-known agent names via Metadata
22695
22683
  /**
22696
22684
  * Available agents servers for the Promptbook
@@ -22700,7 +22688,6 @@ const CORE_AGENTS_SERVER = {
22700
22688
  * @public exported from `@promptbook/core`
22701
22689
  */
22702
22690
  const PUBLIC_AGENTS_SERVERS = [
22703
- CORE_AGENTS_SERVER,
22704
22691
  {
22705
22692
  title: 'Promptbook Gallery',
22706
22693
  description: `Gallery of ideas, AI professions,... like AI Agenta photobank.`,