@chuzi/shared 1.3.45 → 1.3.47

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.
@@ -13,14 +13,11 @@ declare function formatCreditPrice(cents: number): string;
13
13
 
14
14
  /**
15
15
  * Guided prompts for Chuzi AI story creation.
16
- * Based on Dan Harmon's Story Circle and Joseph Campbell's Hero's Journey.
17
16
  */
18
17
  interface ChuziAiPromptStep {
19
18
  key: string;
20
19
  lexicon_title: string;
21
20
  lexicon_hint: string;
22
- /** Monomyth stage reference shown in the UI */
23
- monomyth_ref?: string;
24
21
  required?: boolean;
25
22
  }
26
23
  declare const CHUZI_AI_PROMPT_STEPS: ChuziAiPromptStep[];
@@ -20,75 +20,29 @@ function formatCreditPrice(cents) {
20
20
  // src/config/chuzi-ai-prompts.ts
21
21
  var CHUZI_AI_PROMPT_STEPS = [
22
22
  {
23
- key: "hero",
24
- lexicon_title: "chuzi_ai_step_hero",
25
- lexicon_hint: "chuzi_ai_step_hero_hint",
26
- monomyth_ref: "chuzi_ai_monomyth_hero",
23
+ key: "protagonist",
24
+ lexicon_title: "chuzi_ai_step_protagonist",
25
+ lexicon_hint: "chuzi_ai_step_protagonist_hint",
27
26
  required: true
28
27
  },
29
28
  {
30
- key: "world",
31
- lexicon_title: "chuzi_ai_step_world",
32
- lexicon_hint: "chuzi_ai_step_world_hint",
33
- monomyth_ref: "chuzi_ai_monomyth_world",
29
+ key: "setting",
30
+ lexicon_title: "chuzi_ai_step_setting",
31
+ lexicon_hint: "chuzi_ai_step_setting_hint",
34
32
  required: true
35
33
  },
36
34
  {
37
- key: "you",
38
- lexicon_title: "chuzi_ai_step_you",
39
- lexicon_hint: "chuzi_ai_step_you_hint",
40
- monomyth_ref: "chuzi_ai_monomyth_you",
35
+ key: "conflict",
36
+ lexicon_title: "chuzi_ai_step_conflict",
37
+ lexicon_hint: "chuzi_ai_step_conflict_hint",
41
38
  required: true
42
39
  },
43
40
  {
44
- key: "need",
45
- lexicon_title: "chuzi_ai_step_need",
46
- lexicon_hint: "chuzi_ai_step_need_hint",
47
- monomyth_ref: "chuzi_ai_monomyth_need",
41
+ key: "journey",
42
+ lexicon_title: "chuzi_ai_step_journey",
43
+ lexicon_hint: "chuzi_ai_step_journey_hint",
48
44
  required: true
49
45
  },
50
- {
51
- key: "go",
52
- lexicon_title: "chuzi_ai_step_go",
53
- lexicon_hint: "chuzi_ai_step_go_hint",
54
- monomyth_ref: "chuzi_ai_monomyth_go",
55
- required: true
56
- },
57
- {
58
- key: "search",
59
- lexicon_title: "chuzi_ai_step_search",
60
- lexicon_hint: "chuzi_ai_step_search_hint",
61
- monomyth_ref: "chuzi_ai_monomyth_search",
62
- required: false
63
- },
64
- {
65
- key: "find",
66
- lexicon_title: "chuzi_ai_step_find",
67
- lexicon_hint: "chuzi_ai_step_find_hint",
68
- monomyth_ref: "chuzi_ai_monomyth_find",
69
- required: false
70
- },
71
- {
72
- key: "take",
73
- lexicon_title: "chuzi_ai_step_take",
74
- lexicon_hint: "chuzi_ai_step_take_hint",
75
- monomyth_ref: "chuzi_ai_monomyth_take",
76
- required: false
77
- },
78
- {
79
- key: "return",
80
- lexicon_title: "chuzi_ai_step_return",
81
- lexicon_hint: "chuzi_ai_step_return_hint",
82
- monomyth_ref: "chuzi_ai_monomyth_return",
83
- required: false
84
- },
85
- {
86
- key: "change",
87
- lexicon_title: "chuzi_ai_step_change",
88
- lexicon_hint: "chuzi_ai_step_change_hint",
89
- monomyth_ref: "chuzi_ai_monomyth_change",
90
- required: false
91
- },
92
46
  {
93
47
  key: "tone",
94
48
  lexicon_title: "chuzi_ai_step_tone",
@@ -265,10 +219,11 @@ var REALMS = {
265
219
  editor_delete_scene_confirm: "Click again to confirm",
266
220
  editor_scene_locked_delete: "Start and end scenes cannot be deleted.",
267
221
  editor_scene_color: "Star Hue",
222
+ viewer_continue: "Continue Signal",
268
223
  chuzi_ai_name: "Chuzi AI",
269
224
  chuzi_ai_create_with: "Create with Chuzi AI",
270
225
  chuzi_ai_create_manual: "Enter title manually",
271
- chuzi_ai_intro: "Answer story-circle prompts and Chuzi AI will chart your short story.",
226
+ chuzi_ai_intro: "Answer a few story prompts and Chuzi AI will chart your short story.",
272
227
  chuzi_ai_step_of: "Step",
273
228
  chuzi_ai_back: "Back",
274
229
  chuzi_ai_next: "Next",
@@ -294,26 +249,14 @@ var REALMS = {
294
249
  chuzi_ai_scene_overwrite_confirm: "I understand this replaces this scene\u2019s text and styling.",
295
250
  chuzi_ai_scene_apply_create: "Create scene",
296
251
  chuzi_ai_scene_apply_overwrite: "Replace scene",
297
- chuzi_ai_step_hero: "Hero",
298
- chuzi_ai_step_hero_hint: "Who is your protagonist? Name, age, personality, and what makes them relatable.",
299
- chuzi_ai_step_world: "Ordinary world",
300
- chuzi_ai_step_world_hint: "Where does the story begin? Describe the setting and daily life before adventure calls.",
301
- chuzi_ai_step_you: "You",
302
- chuzi_ai_step_you_hint: "The character in a zone of comfort. What is their normal life like right now?",
303
- chuzi_ai_step_need: "Need",
304
- chuzi_ai_step_need_hint: "Something isn\u2019t right. What problem, longing, or imbalance disrupts their comfort?",
305
- chuzi_ai_step_go: "Go",
306
- chuzi_ai_step_go_hint: "Crossing the threshold. What event pushes them into the unknown?",
307
- chuzi_ai_step_search: "Search",
308
- chuzi_ai_step_search_hint: "Trials, growth, and exploration. What challenges and discoveries shape them?",
309
- chuzi_ai_step_find: "Find",
310
- chuzi_ai_step_find_hint: "The thing is found or revealed. What truth, object, or insight do they uncover?",
311
- chuzi_ai_step_take: "Take",
312
- chuzi_ai_step_take_hint: "Pay the price. What must they sacrifice or confront to claim their goal?",
313
- chuzi_ai_step_return: "Return",
314
- chuzi_ai_step_return_hint: "Back to the known world. How do they bring what they learned home?",
315
- chuzi_ai_step_change: "Change",
316
- chuzi_ai_step_change_hint: "Transformation achieved. How is the hero different from who they were at the start?",
252
+ chuzi_ai_step_protagonist: "Protagonist",
253
+ chuzi_ai_step_protagonist_hint: "Who is your main character? Name, age, personality, and what makes them interesting.",
254
+ chuzi_ai_step_setting: "Setting",
255
+ chuzi_ai_step_setting_hint: "Where and when does the story begin? Describe the world and their everyday life.",
256
+ chuzi_ai_step_conflict: "Conflict",
257
+ chuzi_ai_step_conflict_hint: "What event or problem kicks the story into motion?",
258
+ chuzi_ai_step_journey: "Journey",
259
+ chuzi_ai_step_journey_hint: "What challenges, turning points, climax, and resolution shape the story?",
317
260
  chuzi_ai_step_tone: "Tone & mood",
318
261
  chuzi_ai_step_tone_hint: "Genre, mood, and atmosphere (e.g. bittersweet sci-fi, cozy mystery, epic fantasy).",
319
262
  chuzi_ai_monomyth_hero: "Hero\u2019s Journey: the protagonist",
@@ -658,10 +601,11 @@ var REALMS = {
658
601
  editor_delete_scene_confirm: "Click again to confirm",
659
602
  editor_scene_locked_delete: "Start and end scenes cannot be deleted.",
660
603
  editor_scene_color: "Clearing Tint",
604
+ viewer_continue: "Press On",
661
605
  chuzi_ai_name: "Chuzi AI",
662
606
  chuzi_ai_create_with: "Create with Chuzi AI",
663
607
  chuzi_ai_create_manual: "Enter title manually",
664
- chuzi_ai_intro: "Answer story-circle prompts and Chuzi AI will grow your short story.",
608
+ chuzi_ai_intro: "Answer a few story prompts and Chuzi AI will grow your short story.",
665
609
  chuzi_ai_step_of: "Step",
666
610
  chuzi_ai_back: "Back",
667
611
  chuzi_ai_next: "Next",
@@ -687,26 +631,14 @@ var REALMS = {
687
631
  chuzi_ai_scene_overwrite_confirm: "I understand this replaces this scene\u2019s text and styling.",
688
632
  chuzi_ai_scene_apply_create: "Create scene",
689
633
  chuzi_ai_scene_apply_overwrite: "Replace scene",
690
- chuzi_ai_step_hero: "Hero",
691
- chuzi_ai_step_hero_hint: "Who is your protagonist? Name, age, personality, and what makes them relatable.",
692
- chuzi_ai_step_world: "Ordinary world",
693
- chuzi_ai_step_world_hint: "Where does the story begin? Describe the setting and daily life before adventure calls.",
694
- chuzi_ai_step_you: "You",
695
- chuzi_ai_step_you_hint: "The character in a zone of comfort. What is their normal life like right now?",
696
- chuzi_ai_step_need: "Need",
697
- chuzi_ai_step_need_hint: "Something isn\u2019t right. What problem, longing, or imbalance disrupts their comfort?",
698
- chuzi_ai_step_go: "Go",
699
- chuzi_ai_step_go_hint: "Crossing the threshold. What event pushes them into the unknown?",
700
- chuzi_ai_step_search: "Search",
701
- chuzi_ai_step_search_hint: "Trials, growth, and exploration. What challenges and discoveries shape them?",
702
- chuzi_ai_step_find: "Find",
703
- chuzi_ai_step_find_hint: "The thing is found or revealed. What truth, object, or insight do they uncover?",
704
- chuzi_ai_step_take: "Take",
705
- chuzi_ai_step_take_hint: "Pay the price. What must they sacrifice or confront to claim their goal?",
706
- chuzi_ai_step_return: "Return",
707
- chuzi_ai_step_return_hint: "Back to the known world. How do they bring what they learned home?",
708
- chuzi_ai_step_change: "Change",
709
- chuzi_ai_step_change_hint: "Transformation achieved. How is the hero different from who they were at the start?",
634
+ chuzi_ai_step_protagonist: "Protagonist",
635
+ chuzi_ai_step_protagonist_hint: "Who is your main character? Name, age, personality, and what makes them interesting.",
636
+ chuzi_ai_step_setting: "Setting",
637
+ chuzi_ai_step_setting_hint: "Where and when does the story begin? Describe the world and their everyday life.",
638
+ chuzi_ai_step_conflict: "Conflict",
639
+ chuzi_ai_step_conflict_hint: "What event or problem kicks the story into motion?",
640
+ chuzi_ai_step_journey: "Journey",
641
+ chuzi_ai_step_journey_hint: "What challenges, turning points, climax, and resolution shape the story?",
710
642
  chuzi_ai_step_tone: "Tone & mood",
711
643
  chuzi_ai_step_tone_hint: "Genre, mood, and atmosphere (e.g. bittersweet sci-fi, cozy mystery, epic fantasy).",
712
644
  chuzi_ai_monomyth_hero: "Hero\u2019s Journey: the protagonist",
@@ -1052,7 +984,7 @@ var FALLBACK_LEXICON = {
1052
984
  chuzi_ai_name: "Chuzi AI",
1053
985
  chuzi_ai_create_with: "Create with Chuzi AI",
1054
986
  chuzi_ai_create_manual: "Enter title manually",
1055
- chuzi_ai_intro: "Answer a few story-circle prompts and Chuzi AI will draft your short story.",
987
+ chuzi_ai_intro: "Answer a few story prompts and Chuzi AI will draft your short story.",
1056
988
  chuzi_ai_step_of: "Step",
1057
989
  chuzi_ai_back: "Back",
1058
990
  chuzi_ai_next: "Next",
@@ -1078,28 +1010,17 @@ var FALLBACK_LEXICON = {
1078
1010
  chuzi_ai_scene_overwrite_confirm: "I understand this replaces this scene\u2019s text and styling.",
1079
1011
  chuzi_ai_scene_apply_create: "Create scene",
1080
1012
  chuzi_ai_scene_apply_overwrite: "Replace scene",
1081
- chuzi_ai_step_hero: "Hero",
1082
- chuzi_ai_step_hero_hint: "Who is your protagonist? Name, age, personality, and what makes them relatable.",
1083
- chuzi_ai_step_world: "Ordinary world",
1084
- chuzi_ai_step_world_hint: "Where does the story begin? Describe the setting and daily life before adventure calls.",
1085
- chuzi_ai_step_you: "You",
1086
- chuzi_ai_step_you_hint: "The character in a zone of comfort. What is their normal life like right now?",
1087
- chuzi_ai_step_need: "Need",
1088
- chuzi_ai_step_need_hint: "Something isn\u2019t right. What problem, longing, or imbalance disrupts their comfort?",
1089
- chuzi_ai_step_go: "Go",
1090
- chuzi_ai_step_go_hint: "Crossing the threshold. What event pushes them into the unknown?",
1091
- chuzi_ai_step_search: "Search",
1092
- chuzi_ai_step_search_hint: "Trials, growth, and exploration. What challenges and discoveries shape them?",
1093
- chuzi_ai_step_find: "Find",
1094
- chuzi_ai_step_find_hint: "The thing is found or revealed. What truth, object, or insight do they uncover?",
1095
- chuzi_ai_step_take: "Take",
1096
- chuzi_ai_step_take_hint: "Pay the price. What must they sacrifice or confront to claim their goal?",
1097
- chuzi_ai_step_return: "Return",
1098
- chuzi_ai_step_return_hint: "Back to the known world. How do they bring what they learned home?",
1099
- chuzi_ai_step_change: "Change",
1100
- chuzi_ai_step_change_hint: "Transformation achieved. How is the hero different from who they were at the start?",
1013
+ chuzi_ai_step_protagonist: "Protagonist",
1014
+ chuzi_ai_step_protagonist_hint: "Who is your main character? Name, age, personality, and what makes them interesting.",
1015
+ chuzi_ai_step_setting: "Setting",
1016
+ chuzi_ai_step_setting_hint: "Where and when does the story begin? Describe the world and their everyday life.",
1017
+ chuzi_ai_step_conflict: "Conflict",
1018
+ chuzi_ai_step_conflict_hint: "What event or problem kicks the story into motion?",
1019
+ chuzi_ai_step_journey: "Journey",
1020
+ chuzi_ai_step_journey_hint: "What challenges, turning points, climax, and resolution shape the story?",
1101
1021
  chuzi_ai_step_tone: "Tone & mood",
1102
1022
  chuzi_ai_step_tone_hint: "Genre, mood, and atmosphere (e.g. bittersweet sci-fi, cozy mystery, epic fantasy).",
1023
+ viewer_continue: "Continue",
1103
1024
  chuzi_ai_monomyth_hero: "Hero\u2019s Journey: the protagonist",
1104
1025
  chuzi_ai_monomyth_world: "Monomyth: ordinary world",
1105
1026
  chuzi_ai_monomyth_you: "Story Circle: zone of comfort",