@promptbook/browser 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
@@ -29,7 +29,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
29
29
  * @generated
30
30
  * @see https://github.com/webgptorg/promptbook
31
31
  */
32
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-0';
32
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-1';
33
33
  /**
34
34
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
35
35
  * 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/browser",
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,
@@ -98,7 +98,7 @@
98
98
  "types": "./esm/src/_packages/browser.index.d.ts",
99
99
  "typings": "./esm/src/_packages/browser.index.d.ts",
100
100
  "peerDependencies": {
101
- "@promptbook/core": "0.113.0-0"
101
+ "@promptbook/core": "0.113.0-1"
102
102
  },
103
103
  "dependencies": {
104
104
  "@openai/agents": "0.4.15",
package/umd/index.umd.js CHANGED
@@ -29,7 +29,7 @@
29
29
  * @generated
30
30
  * @see https://github.com/webgptorg/promptbook
31
31
  */
32
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-0';
32
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-1';
33
33
  /**
34
34
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
35
35
  * 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
  */