@promptbook/documents 0.113.0-0 → 0.113.0-1

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 CHANGED
@@ -25,7 +25,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-0';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-1';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -9,8 +9,8 @@ export type CitationIframePreviewProps = {
9
9
  };
10
10
  /**
11
11
  * Renders a citation URL preview as an iframe when the target page allows embedding,
12
- * or falls back to a server-side screenshot with an "Open in new tab" link when it
13
- * does not (e.g. X-Frame-Options: DENY / SAMEORIGIN).
12
+ * or falls back to a live server-side browser preview with an "Open in new tab" link
13
+ * when it does not (e.g. X-Frame-Options: DENY / SAMEORIGIN).
14
14
  *
15
15
  * Embedding capability is determined by `GET /api/page-preview/check?url=<url>`.
16
16
  * If that endpoint is unavailable the component falls back to the iframe directly.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Width of the browser viewport used for live knowledge previews.
3
+ *
4
+ * @private shared constant of Agents Server knowledge previews
5
+ */
6
+ export declare const LIVE_PAGE_PREVIEW_VIEWPORT_WIDTH = 1280;
7
+ /**
8
+ * Height of the browser viewport used for live knowledge previews.
9
+ *
10
+ * @private shared constant of Agents Server knowledge previews
11
+ */
12
+ export declare const LIVE_PAGE_PREVIEW_VIEWPORT_HEIGHT = 800;
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.112.0`).
18
+ * It follows semantic versioning (e.g., `0.113.0-0`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/documents",
3
- "version": "0.113.0-0",
3
+ "version": "0.113.0-1",
4
4
  "description": "Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -99,7 +99,7 @@
99
99
  "types": "./esm/src/_packages/documents.index.d.ts",
100
100
  "typings": "./esm/src/_packages/documents.index.d.ts",
101
101
  "peerDependencies": {
102
- "@promptbook/core": "0.113.0-0"
102
+ "@promptbook/core": "0.113.0-1"
103
103
  },
104
104
  "dependencies": {
105
105
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -26,7 +26,7 @@
26
26
  * @generated
27
27
  * @see https://github.com/webgptorg/promptbook
28
28
  */
29
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-0';
29
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-1';
30
30
  /**
31
31
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
32
32
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -9,8 +9,8 @@ export type CitationIframePreviewProps = {
9
9
  };
10
10
  /**
11
11
  * Renders a citation URL preview as an iframe when the target page allows embedding,
12
- * or falls back to a server-side screenshot with an "Open in new tab" link when it
13
- * does not (e.g. X-Frame-Options: DENY / SAMEORIGIN).
12
+ * or falls back to a live server-side browser preview with an "Open in new tab" link
13
+ * when it does not (e.g. X-Frame-Options: DENY / SAMEORIGIN).
14
14
  *
15
15
  * Embedding capability is determined by `GET /api/page-preview/check?url=<url>`.
16
16
  * If that endpoint is unavailable the component falls back to the iframe directly.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Width of the browser viewport used for live knowledge previews.
3
+ *
4
+ * @private shared constant of Agents Server knowledge previews
5
+ */
6
+ export declare const LIVE_PAGE_PREVIEW_VIEWPORT_WIDTH = 1280;
7
+ /**
8
+ * Height of the browser viewport used for live knowledge previews.
9
+ *
10
+ * @private shared constant of Agents Server knowledge previews
11
+ */
12
+ export declare const LIVE_PAGE_PREVIEW_VIEWPORT_HEIGHT = 800;
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.112.0`).
18
+ * It follows semantic versioning (e.g., `0.113.0-0`).
19
19
  *
20
20
  * @generated
21
21
  */