@promptbook/markitdown 0.103.0 → 0.104.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/README.md +4 -0
- package/esm/index.es.js +1 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/book-components/PromptbookAgent/PromptbookAgentIntegration.d.ts +15 -0
- package/esm/typings/src/book-components/PromptbookAgent/PromptbookAgentSeamlessIntegration.d.ts +11 -2
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/index.umd.js.map +1 -1
|
@@ -39,6 +39,21 @@ export type PromptbookAgentIntegrationProps = {
|
|
|
39
39
|
* Optional CSS style which will be added to root element
|
|
40
40
|
*/
|
|
41
41
|
readonly style?: CSSProperties;
|
|
42
|
+
/**
|
|
43
|
+
* Is the writing textarea automatically focused?
|
|
44
|
+
*
|
|
45
|
+
* @default false (to prevent focus being stolen when widget loads)
|
|
46
|
+
*/
|
|
47
|
+
readonly isFocusedOnLoad?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Use iframe instead of implementing the chat directly
|
|
50
|
+
*
|
|
51
|
+
* When `true`, the chat will be rendered in an iframe pointing to the agent's chat endpoint.
|
|
52
|
+
* When `false`, the chat will be rendered directly using React components.
|
|
53
|
+
*
|
|
54
|
+
* @default true
|
|
55
|
+
*/
|
|
56
|
+
readonly isIframeUsed?: boolean;
|
|
42
57
|
};
|
|
43
58
|
/**
|
|
44
59
|
* Renders a floating agent button that opens a chat window with the remote agent.
|
package/esm/typings/src/book-components/PromptbookAgent/PromptbookAgentSeamlessIntegration.d.ts
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { PromptbookAgentIntegrationProps } from './PromptbookAgentIntegration';
|
|
2
|
-
type PromptbookAgentSeamlessIntegrationProps = Omit<PromptbookAgentIntegrationProps, 'formfactor'
|
|
2
|
+
type PromptbookAgentSeamlessIntegrationProps = Omit<PromptbookAgentIntegrationProps, 'formfactor'> & {
|
|
3
|
+
/**
|
|
4
|
+
* Use iframe instead of implementing the chat directly
|
|
5
|
+
*
|
|
6
|
+
* When `true`, the chat will be rendered in an iframe pointing to the agent's chat endpoint.
|
|
7
|
+
* When `false`, the chat will be rendered directly using React components.
|
|
8
|
+
*
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
readonly isIframeUsed?: boolean;
|
|
12
|
+
};
|
|
3
13
|
/**
|
|
4
14
|
* Renders a floating agent button that opens a chat window with the remote agent.
|
|
5
15
|
*
|
|
@@ -8,7 +18,6 @@ type PromptbookAgentSeamlessIntegrationProps = Omit<PromptbookAgentIntegrationPr
|
|
|
8
18
|
export declare function PromptbookAgentSeamlessIntegration(props: PromptbookAgentSeamlessIntegrationProps): import("react/jsx-runtime").JSX.Element;
|
|
9
19
|
export {};
|
|
10
20
|
/**
|
|
11
|
-
* TODO: !!!! Use iframe here instead of implementing the chat directly, allow to switch between seamless and iframe mode via `isIframeUsed` prop
|
|
12
21
|
* TODO: !!! Load the full branding
|
|
13
22
|
* TODO: !!! <promptbook-agent> element
|
|
14
23
|
*/
|
|
@@ -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.
|
|
18
|
+
* It follows semantic versioning (e.g., `0.104.0-0`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/markitdown",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.104.0-1",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"module": "./esm/index.es.js",
|
|
92
92
|
"typings": "./esm/typings/src/_packages/markitdown.index.d.ts",
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@promptbook/core": "0.
|
|
94
|
+
"@promptbook/core": "0.104.0-1"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"crypto": "1.0.1",
|
package/umd/index.umd.js
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* @generated
|
|
25
25
|
* @see https://github.com/webgptorg/promptbook
|
|
26
26
|
*/
|
|
27
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.
|
|
27
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-1';
|
|
28
28
|
/**
|
|
29
29
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
30
30
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|