@promptbook/node 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
|
@@ -35,7 +35,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
35
35
|
* @generated
|
|
36
36
|
* @see https://github.com/webgptorg/promptbook
|
|
37
37
|
*/
|
|
38
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-
|
|
38
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-4';
|
|
39
39
|
/**
|
|
40
40
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
41
41
|
* Note: [đ] Ignore a discrepancy between file name and entity name
|
|
@@ -18372,7 +18372,7 @@ class UseEmailCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
18372
18372
|
*/
|
|
18373
18373
|
class UseImageGeneratorCommitmentDefinition extends BaseCommitmentDefinition {
|
|
18374
18374
|
constructor(type = 'USE IMAGE GENERATOR') {
|
|
18375
|
-
super(type
|
|
18375
|
+
super(type);
|
|
18376
18376
|
}
|
|
18377
18377
|
get requiresContent() {
|
|
18378
18378
|
return false;
|
|
@@ -18972,6 +18972,7 @@ class NotYetImplementedCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
18972
18972
|
}
|
|
18973
18973
|
}
|
|
18974
18974
|
|
|
18975
|
+
// Import all commitment definition classes
|
|
18975
18976
|
/**
|
|
18976
18977
|
* Registry of all available commitment definitions
|
|
18977
18978
|
* This array contains instances of all commitment definitions
|
|
@@ -19038,11 +19039,6 @@ const COMMITMENT_REGISTRY = [
|
|
|
19038
19039
|
new UseTimeCommitmentDefinition(),
|
|
19039
19040
|
new UseEmailCommitmentDefinition(),
|
|
19040
19041
|
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATOR'),
|
|
19041
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
19042
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATOR' /* <- TODO: Remove any */),
|
|
19043
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
19044
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE' /* <- TODO: Remove any */),
|
|
19045
|
-
// <- Note: [âšī¸] How to deal with commitment aliases with defined functions
|
|
19046
19042
|
new UseMcpCommitmentDefinition(),
|
|
19047
19043
|
new UseCommitmentDefinition(),
|
|
19048
19044
|
// Not yet implemented commitments (using placeholder)
|