@promptbook/node 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 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-3';
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, ['USE IMAGE GENERATION', 'IMAGE GENERATOR', 'IMAGE GENERATION', 'USE IMAGE']);
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)