@promptbook/browser 0.111.0-2 â 0.111.0-4
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 +3 -7
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/utils.index.d.ts +2 -0
- package/esm/typings/src/book-components/Chat/Chat/ChatMessageMap.d.ts +1 -1
- package/esm/typings/src/book-components/Chat/utils/citationHelpers.d.ts +1 -1
- package/esm/typings/src/book-components/Chat/utils/sanitizeStreamingMessageContent.d.ts +19 -0
- package/esm/typings/src/book-components/Chat/utils/sanitizeStreamingMessageContent.test.d.ts +1 -0
- package/esm/typings/src/commitments/USE_IMAGE_GENERATOR/USE_IMAGE_GENERATOR.d.ts +2 -2
- package/esm/typings/src/commitments/index.d.ts +1 -1
- package/esm/typings/src/utils/clientVersion.d.ts +14 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +3 -7
- package/umd/index.umd.js.map +1 -1
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.111.0-
|
|
32
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-4';
|
|
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
|
|
@@ -10014,7 +10014,7 @@ class UseEmailCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
10014
10014
|
*/
|
|
10015
10015
|
class UseImageGeneratorCommitmentDefinition extends BaseCommitmentDefinition {
|
|
10016
10016
|
constructor(type = 'USE IMAGE GENERATOR') {
|
|
10017
|
-
super(type
|
|
10017
|
+
super(type);
|
|
10018
10018
|
}
|
|
10019
10019
|
get requiresContent() {
|
|
10020
10020
|
return false;
|
|
@@ -10614,6 +10614,7 @@ class NotYetImplementedCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
10614
10614
|
}
|
|
10615
10615
|
}
|
|
10616
10616
|
|
|
10617
|
+
// Import all commitment definition classes
|
|
10617
10618
|
/**
|
|
10618
10619
|
* Registry of all available commitment definitions
|
|
10619
10620
|
* This array contains instances of all commitment definitions
|
|
@@ -10680,11 +10681,6 @@ const COMMITMENT_REGISTRY = [
|
|
|
10680
10681
|
new UseTimeCommitmentDefinition(),
|
|
10681
10682
|
new UseEmailCommitmentDefinition(),
|
|
10682
10683
|
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATOR'),
|
|
10683
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
10684
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATOR' /* <- TODO: Remove any */),
|
|
10685
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
10686
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE' /* <- TODO: Remove any */),
|
|
10687
|
-
// <- Note: [âšī¸] How to deal with commitment aliases with defined functions
|
|
10688
10684
|
new UseMcpCommitmentDefinition(),
|
|
10689
10685
|
new UseCommitmentDefinition(),
|
|
10690
10686
|
// Not yet implemented commitments (using placeholder)
|