@promptbook/remote-server 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
|
@@ -40,7 +40,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
40
40
|
* @generated
|
|
41
41
|
* @see https://github.com/webgptorg/promptbook
|
|
42
42
|
*/
|
|
43
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-
|
|
43
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-4';
|
|
44
44
|
/**
|
|
45
45
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
46
46
|
* Note: [đ] Ignore a discrepancy between file name and entity name
|
|
@@ -15463,7 +15463,7 @@ class UseEmailCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
15463
15463
|
*/
|
|
15464
15464
|
class UseImageGeneratorCommitmentDefinition extends BaseCommitmentDefinition {
|
|
15465
15465
|
constructor(type = 'USE IMAGE GENERATOR') {
|
|
15466
|
-
super(type
|
|
15466
|
+
super(type);
|
|
15467
15467
|
}
|
|
15468
15468
|
get requiresContent() {
|
|
15469
15469
|
return false;
|
|
@@ -16063,6 +16063,7 @@ class NotYetImplementedCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
16063
16063
|
}
|
|
16064
16064
|
}
|
|
16065
16065
|
|
|
16066
|
+
// Import all commitment definition classes
|
|
16066
16067
|
/**
|
|
16067
16068
|
* Registry of all available commitment definitions
|
|
16068
16069
|
* This array contains instances of all commitment definitions
|
|
@@ -16129,11 +16130,6 @@ const COMMITMENT_REGISTRY = [
|
|
|
16129
16130
|
new UseTimeCommitmentDefinition(),
|
|
16130
16131
|
new UseEmailCommitmentDefinition(),
|
|
16131
16132
|
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATOR'),
|
|
16132
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
16133
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATOR' /* <- TODO: Remove any */),
|
|
16134
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
16135
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE' /* <- TODO: Remove any */),
|
|
16136
|
-
// <- Note: [âšī¸] How to deal with commitment aliases with defined functions
|
|
16137
16133
|
new UseMcpCommitmentDefinition(),
|
|
16138
16134
|
new UseCommitmentDefinition(),
|
|
16139
16135
|
// Not yet implemented commitments (using placeholder)
|