@promptbook/cli 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 +1 -1
- package/umd/index.umd.js +3 -7
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -48,7 +48,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
48
48
|
* @generated
|
|
49
49
|
* @see https://github.com/webgptorg/promptbook
|
|
50
50
|
*/
|
|
51
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-
|
|
51
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-4';
|
|
52
52
|
/**
|
|
53
53
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
54
54
|
* Note: [đ] Ignore a discrepancy between file name and entity name
|
|
@@ -20490,7 +20490,7 @@ class UseEmailCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
20490
20490
|
*/
|
|
20491
20491
|
class UseImageGeneratorCommitmentDefinition extends BaseCommitmentDefinition {
|
|
20492
20492
|
constructor(type = 'USE IMAGE GENERATOR') {
|
|
20493
|
-
super(type
|
|
20493
|
+
super(type);
|
|
20494
20494
|
}
|
|
20495
20495
|
get requiresContent() {
|
|
20496
20496
|
return false;
|
|
@@ -21090,6 +21090,7 @@ class NotYetImplementedCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
21090
21090
|
}
|
|
21091
21091
|
}
|
|
21092
21092
|
|
|
21093
|
+
// Import all commitment definition classes
|
|
21093
21094
|
/**
|
|
21094
21095
|
* Registry of all available commitment definitions
|
|
21095
21096
|
* This array contains instances of all commitment definitions
|
|
@@ -21156,11 +21157,6 @@ const COMMITMENT_REGISTRY = [
|
|
|
21156
21157
|
new UseTimeCommitmentDefinition(),
|
|
21157
21158
|
new UseEmailCommitmentDefinition(),
|
|
21158
21159
|
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATOR'),
|
|
21159
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
21160
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATOR' /* <- TODO: Remove any */),
|
|
21161
|
-
new UseImageGeneratorCommitmentDefinition('IMAGE GENERATION' /* <- TODO: Remove any */),
|
|
21162
|
-
new UseImageGeneratorCommitmentDefinition('USE IMAGE' /* <- TODO: Remove any */),
|
|
21163
|
-
// <- Note: [âšī¸] How to deal with commitment aliases with defined functions
|
|
21164
21160
|
new UseMcpCommitmentDefinition(),
|
|
21165
21161
|
new UseCommitmentDefinition(),
|
|
21166
21162
|
// Not yet implemented commitments (using placeholder)
|