@promptbook/wizard 0.103.0-53 â 0.103.0-54
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 +127 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/commitments/ACTION/ACTION.d.ts +4 -0
- package/esm/typings/src/commitments/DELETE/DELETE.d.ts +4 -0
- package/esm/typings/src/commitments/FORMAT/FORMAT.d.ts +4 -0
- package/esm/typings/src/commitments/GOAL/GOAL.d.ts +4 -0
- package/esm/typings/src/commitments/KNOWLEDGE/KNOWLEDGE.d.ts +4 -0
- package/esm/typings/src/commitments/MEMORY/MEMORY.d.ts +4 -0
- package/esm/typings/src/commitments/MESSAGE/AgentMessageCommitmentDefinition.d.ts +4 -0
- package/esm/typings/src/commitments/MESSAGE/InitialMessageCommitmentDefinition.d.ts +4 -0
- package/esm/typings/src/commitments/MESSAGE/MESSAGE.d.ts +4 -0
- package/esm/typings/src/commitments/MESSAGE/UserMessageCommitmentDefinition.d.ts +4 -0
- package/esm/typings/src/commitments/META/META.d.ts +4 -0
- package/esm/typings/src/commitments/META_COLOR/META_COLOR.d.ts +4 -0
- package/esm/typings/src/commitments/META_IMAGE/META_IMAGE.d.ts +4 -0
- package/esm/typings/src/commitments/META_LINK/META_LINK.d.ts +4 -0
- package/esm/typings/src/commitments/MODEL/MODEL.d.ts +4 -0
- package/esm/typings/src/commitments/NOTE/NOTE.d.ts +4 -0
- package/esm/typings/src/commitments/PERSONA/PERSONA.d.ts +4 -0
- package/esm/typings/src/commitments/RULE/RULE.d.ts +4 -0
- package/esm/typings/src/commitments/SAMPLE/SAMPLE.d.ts +4 -0
- package/esm/typings/src/commitments/SCENARIO/SCENARIO.d.ts +4 -0
- package/esm/typings/src/commitments/STYLE/STYLE.d.ts +4 -0
- package/esm/typings/src/commitments/_base/BaseCommitmentDefinition.d.ts +5 -0
- package/esm/typings/src/commitments/_base/CommitmentDefinition.d.ts +5 -0
- package/esm/typings/src/commitments/_base/NotYetImplementedCommitmentDefinition.d.ts +4 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +3 -3
- package/umd/index.umd.js +127 -1
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -36,7 +36,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
36
36
|
* @generated
|
|
37
37
|
* @see https://github.com/webgptorg/promptbook
|
|
38
38
|
*/
|
|
39
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
39
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-54';
|
|
40
40
|
/**
|
|
41
41
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
42
42
|
* Note: [đ] Ignore a discrepancy between file name and entity name
|
|
@@ -13558,6 +13558,12 @@ class ActionCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
13558
13558
|
get description() {
|
|
13559
13559
|
return 'Define agent capabilities and actions it can perform.';
|
|
13560
13560
|
}
|
|
13561
|
+
/**
|
|
13562
|
+
* Icon for this commitment.
|
|
13563
|
+
*/
|
|
13564
|
+
get icon() {
|
|
13565
|
+
return 'âĄ';
|
|
13566
|
+
}
|
|
13561
13567
|
/**
|
|
13562
13568
|
* Markdown documentation for ACTION commitment.
|
|
13563
13569
|
*/
|
|
@@ -13637,6 +13643,12 @@ class DeleteCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
13637
13643
|
get description() {
|
|
13638
13644
|
return 'Remove or **disregard** certain information, context, or previous commitments.';
|
|
13639
13645
|
}
|
|
13646
|
+
/**
|
|
13647
|
+
* Icon for this commitment.
|
|
13648
|
+
*/
|
|
13649
|
+
get icon() {
|
|
13650
|
+
return 'đī¸';
|
|
13651
|
+
}
|
|
13640
13652
|
/**
|
|
13641
13653
|
* Markdown documentation for DELETE commitment.
|
|
13642
13654
|
*/
|
|
@@ -13753,6 +13765,12 @@ class FormatCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
13753
13765
|
get description() {
|
|
13754
13766
|
return 'Specify output structure or formatting requirements.';
|
|
13755
13767
|
}
|
|
13768
|
+
/**
|
|
13769
|
+
* Icon for this commitment.
|
|
13770
|
+
*/
|
|
13771
|
+
get icon() {
|
|
13772
|
+
return 'đ';
|
|
13773
|
+
}
|
|
13756
13774
|
/**
|
|
13757
13775
|
* Markdown documentation for FORMAT commitment.
|
|
13758
13776
|
*/
|
|
@@ -13828,6 +13846,12 @@ class GoalCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
13828
13846
|
get description() {
|
|
13829
13847
|
return 'Define main **goals** the AI assistant should achieve, with later goals having higher priority.';
|
|
13830
13848
|
}
|
|
13849
|
+
/**
|
|
13850
|
+
* Icon for this commitment.
|
|
13851
|
+
*/
|
|
13852
|
+
get icon() {
|
|
13853
|
+
return 'đ¯';
|
|
13854
|
+
}
|
|
13831
13855
|
/**
|
|
13832
13856
|
* Markdown documentation for GOAL commitment.
|
|
13833
13857
|
*/
|
|
@@ -13924,6 +13948,12 @@ class KnowledgeCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
13924
13948
|
get description() {
|
|
13925
13949
|
return 'Add domain **knowledge** via direct text or external sources (RAG).';
|
|
13926
13950
|
}
|
|
13951
|
+
/**
|
|
13952
|
+
* Icon for this commitment.
|
|
13953
|
+
*/
|
|
13954
|
+
get icon() {
|
|
13955
|
+
return 'đ§ ';
|
|
13956
|
+
}
|
|
13927
13957
|
/**
|
|
13928
13958
|
* Markdown documentation for KNOWLEDGE commitment.
|
|
13929
13959
|
*/
|
|
@@ -14025,6 +14055,12 @@ class MemoryCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14025
14055
|
get description() {
|
|
14026
14056
|
return 'Remember past interactions and user **preferences** for personalized responses.';
|
|
14027
14057
|
}
|
|
14058
|
+
/**
|
|
14059
|
+
* Icon for this commitment.
|
|
14060
|
+
*/
|
|
14061
|
+
get icon() {
|
|
14062
|
+
return 'đ§ ';
|
|
14063
|
+
}
|
|
14028
14064
|
/**
|
|
14029
14065
|
* Markdown documentation for MEMORY commitment.
|
|
14030
14066
|
*/
|
|
@@ -14123,6 +14159,12 @@ class AgentMessageCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14123
14159
|
get description() {
|
|
14124
14160
|
return 'Defines a **message from the agent** in the conversation history.';
|
|
14125
14161
|
}
|
|
14162
|
+
/**
|
|
14163
|
+
* Icon for this commitment.
|
|
14164
|
+
*/
|
|
14165
|
+
get icon() {
|
|
14166
|
+
return 'đ¤';
|
|
14167
|
+
}
|
|
14126
14168
|
/**
|
|
14127
14169
|
* Markdown documentation for AGENT MESSAGE commitment.
|
|
14128
14170
|
*/
|
|
@@ -14194,6 +14236,12 @@ class InitialMessageCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14194
14236
|
get description() {
|
|
14195
14237
|
return 'Defines the **initial message** shown to the user when the chat starts.';
|
|
14196
14238
|
}
|
|
14239
|
+
/**
|
|
14240
|
+
* Icon for this commitment.
|
|
14241
|
+
*/
|
|
14242
|
+
get icon() {
|
|
14243
|
+
return 'đ';
|
|
14244
|
+
}
|
|
14197
14245
|
/**
|
|
14198
14246
|
* Markdown documentation for INITIAL MESSAGE commitment.
|
|
14199
14247
|
*/
|
|
@@ -14252,6 +14300,12 @@ class MessageCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14252
14300
|
get description() {
|
|
14253
14301
|
return 'Include actual **messages** the AI assistant has sent during conversation history.';
|
|
14254
14302
|
}
|
|
14303
|
+
/**
|
|
14304
|
+
* Icon for this commitment.
|
|
14305
|
+
*/
|
|
14306
|
+
get icon() {
|
|
14307
|
+
return 'đŦ';
|
|
14308
|
+
}
|
|
14255
14309
|
/**
|
|
14256
14310
|
* Markdown documentation for MESSAGE commitment.
|
|
14257
14311
|
*/
|
|
@@ -14358,6 +14412,12 @@ class UserMessageCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14358
14412
|
get description() {
|
|
14359
14413
|
return 'Defines a **message from the user** in the conversation history.';
|
|
14360
14414
|
}
|
|
14415
|
+
/**
|
|
14416
|
+
* Icon for this commitment.
|
|
14417
|
+
*/
|
|
14418
|
+
get icon() {
|
|
14419
|
+
return 'đ§';
|
|
14420
|
+
}
|
|
14361
14421
|
/**
|
|
14362
14422
|
* Markdown documentation for USER MESSAGE commitment.
|
|
14363
14423
|
*/
|
|
@@ -14431,6 +14491,12 @@ class MetaCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14431
14491
|
get description() {
|
|
14432
14492
|
return 'Set meta-information about the agent (IMAGE, LINK, TITLE, DESCRIPTION, etc.).';
|
|
14433
14493
|
}
|
|
14494
|
+
/**
|
|
14495
|
+
* Icon for this commitment.
|
|
14496
|
+
*/
|
|
14497
|
+
get icon() {
|
|
14498
|
+
return 'âšī¸';
|
|
14499
|
+
}
|
|
14434
14500
|
/**
|
|
14435
14501
|
* Markdown documentation for META commitment.
|
|
14436
14502
|
*/
|
|
@@ -14558,6 +14624,12 @@ class MetaColorCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14558
14624
|
get description() {
|
|
14559
14625
|
return "Set the agent's accent color.";
|
|
14560
14626
|
}
|
|
14627
|
+
/**
|
|
14628
|
+
* Icon for this commitment.
|
|
14629
|
+
*/
|
|
14630
|
+
get icon() {
|
|
14631
|
+
return 'đ¨';
|
|
14632
|
+
}
|
|
14561
14633
|
/**
|
|
14562
14634
|
* Markdown documentation for META COLOR commitment.
|
|
14563
14635
|
*/
|
|
@@ -14636,6 +14708,12 @@ class MetaImageCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14636
14708
|
get description() {
|
|
14637
14709
|
return "Set the agent's profile image URL.";
|
|
14638
14710
|
}
|
|
14711
|
+
/**
|
|
14712
|
+
* Icon for this commitment.
|
|
14713
|
+
*/
|
|
14714
|
+
get icon() {
|
|
14715
|
+
return 'đŧī¸';
|
|
14716
|
+
}
|
|
14639
14717
|
/**
|
|
14640
14718
|
* Markdown documentation for META IMAGE commitment.
|
|
14641
14719
|
*/
|
|
@@ -14726,6 +14804,12 @@ class ModelCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14726
14804
|
get description() {
|
|
14727
14805
|
return 'Enforce AI model requirements including name and technical parameters.';
|
|
14728
14806
|
}
|
|
14807
|
+
/**
|
|
14808
|
+
* Icon for this commitment.
|
|
14809
|
+
*/
|
|
14810
|
+
get icon() {
|
|
14811
|
+
return 'âī¸';
|
|
14812
|
+
}
|
|
14729
14813
|
/**
|
|
14730
14814
|
* Markdown documentation for MODEL commitment.
|
|
14731
14815
|
*/
|
|
@@ -14961,6 +15045,12 @@ class NoteCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
14961
15045
|
get description() {
|
|
14962
15046
|
return 'Add developer-facing notes without changing behavior or output.';
|
|
14963
15047
|
}
|
|
15048
|
+
/**
|
|
15049
|
+
* Icon for this commitment.
|
|
15050
|
+
*/
|
|
15051
|
+
get icon() {
|
|
15052
|
+
return 'đ';
|
|
15053
|
+
}
|
|
14964
15054
|
/**
|
|
14965
15055
|
* Markdown documentation for NOTE commitment.
|
|
14966
15056
|
*/
|
|
@@ -15063,6 +15153,12 @@ class PersonaCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
15063
15153
|
get description() {
|
|
15064
15154
|
return 'Define who the agent is: background, expertise, and personality.';
|
|
15065
15155
|
}
|
|
15156
|
+
/**
|
|
15157
|
+
* Icon for this commitment.
|
|
15158
|
+
*/
|
|
15159
|
+
get icon() {
|
|
15160
|
+
return 'đ¤';
|
|
15161
|
+
}
|
|
15066
15162
|
/**
|
|
15067
15163
|
* Markdown documentation for PERSONA commitment.
|
|
15068
15164
|
*/
|
|
@@ -15190,6 +15286,12 @@ class RuleCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
15190
15286
|
get description() {
|
|
15191
15287
|
return 'Add behavioral rules the agent must follow.';
|
|
15192
15288
|
}
|
|
15289
|
+
/**
|
|
15290
|
+
* Icon for this commitment.
|
|
15291
|
+
*/
|
|
15292
|
+
get icon() {
|
|
15293
|
+
return 'âī¸';
|
|
15294
|
+
}
|
|
15193
15295
|
/**
|
|
15194
15296
|
* Markdown documentation for RULE/RULES commitment.
|
|
15195
15297
|
*/
|
|
@@ -15266,6 +15368,12 @@ class SampleCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
15266
15368
|
get description() {
|
|
15267
15369
|
return 'Provide example responses to guide behavior.';
|
|
15268
15370
|
}
|
|
15371
|
+
/**
|
|
15372
|
+
* Icon for this commitment.
|
|
15373
|
+
*/
|
|
15374
|
+
get icon() {
|
|
15375
|
+
return 'đ';
|
|
15376
|
+
}
|
|
15269
15377
|
/**
|
|
15270
15378
|
* Markdown documentation for SAMPLE/EXAMPLE commitment.
|
|
15271
15379
|
*/
|
|
@@ -15343,6 +15451,12 @@ class ScenarioCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
15343
15451
|
get description() {
|
|
15344
15452
|
return 'Define specific **situations** or contexts for AI responses, with later scenarios having higher priority.';
|
|
15345
15453
|
}
|
|
15454
|
+
/**
|
|
15455
|
+
* Icon for this commitment.
|
|
15456
|
+
*/
|
|
15457
|
+
get icon() {
|
|
15458
|
+
return 'đ';
|
|
15459
|
+
}
|
|
15346
15460
|
/**
|
|
15347
15461
|
* Markdown documentation for SCENARIO commitment.
|
|
15348
15462
|
*/
|
|
@@ -15459,6 +15573,12 @@ class StyleCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
15459
15573
|
get description() {
|
|
15460
15574
|
return 'Control the tone and writing style of responses.';
|
|
15461
15575
|
}
|
|
15576
|
+
/**
|
|
15577
|
+
* Icon for this commitment.
|
|
15578
|
+
*/
|
|
15579
|
+
get icon() {
|
|
15580
|
+
return 'đī¸';
|
|
15581
|
+
}
|
|
15462
15582
|
/**
|
|
15463
15583
|
* Markdown documentation for STYLE commitment.
|
|
15464
15584
|
*/
|
|
@@ -15528,6 +15648,12 @@ class NotYetImplementedCommitmentDefinition extends BaseCommitmentDefinition {
|
|
|
15528
15648
|
get description() {
|
|
15529
15649
|
return 'Placeholder commitment that appends content verbatim to the system message.';
|
|
15530
15650
|
}
|
|
15651
|
+
/**
|
|
15652
|
+
* Icon for this commitment.
|
|
15653
|
+
*/
|
|
15654
|
+
get icon() {
|
|
15655
|
+
return 'đ§';
|
|
15656
|
+
}
|
|
15531
15657
|
/**
|
|
15532
15658
|
* Markdown documentation available at runtime.
|
|
15533
15659
|
*/
|