@promptbook/wizard 0.111.0-3 â 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/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
|
@@ -38,7 +38,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
38
38
|
* @generated
|
|
39
39
|
* @see https://github.com/webgptorg/promptbook
|
|
40
40
|
*/
|
|
41
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-
|
|
41
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-4';
|
|
42
42
|
/**
|
|
43
43
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
44
44
|
* Note: [đ] Ignore a discrepancy between file name and entity name
|
|
@@ -22093,7 +22093,7 @@ class UseEmailCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
22093
22093
|
*/
|
|
22094
22094
|
class UseImageGeneratorCommitmentDefinition extends BaseCommitmentDefinition {
|
|
22095
22095
|
constructor(type = 'USE IMAGE GENERATOR') {
|
|
22096
|
-
super(type
|
|
22096
|
+
super(type);
|
|
22097
22097
|
}
|
|
22098
22098
|
get requiresContent() {
|
|
22099
22099
|
return false;
|
|
@@ -22693,6 +22693,7 @@ class NotYetImplementedCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
22693
22693
|
}
|
|
22694
22694
|
}
|
|
22695
22695
|
|
|
22696
|
+
// Import all commitment definition classes
|
|
22696
22697
|
/**
|
|
22697
22698
|
* Registry of all available commitment definitions
|
|
22698
22699
|
* This array contains instances of all commitment definitions
|
|
@@ -22759,11 +22760,6 @@ const COMMITMENT_REGISTRY = [
|
|
|
22759
22760
|
new UseTimeCommitmentDefinition(),
|
|
22760
22761
|
new UseEmailCommitmentDefinition(),
|
|
22761
22762
|
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATOR'),
|
|
22762
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
22763
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATOR' /* <- TODO: Remove any */),
|
|
22764
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
22765
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE' /* <- TODO: Remove any */),
|
|
22766
|
-
// <- Note: [âšī¸] How to deal with commitment aliases with defined functions
|
|
22767
22763
|
new UseMcpCommitmentDefinition(),
|
|
22768
22764
|
new UseCommitmentDefinition(),
|
|
22769
22765
|
// Not yet implemented commitments (using placeholder)
|