@chuzi/shared 1.3.45 → 1.3.46
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/dist/config/index.d.ts +0 -3
- package/dist/config/index.js +42 -121
- package/dist/config/index.js.map +1 -1
- package/dist/index.js +42 -121
- package/dist/index.js.map +1 -1
- package/dist/realms/cosmos/components/index.d.ts +10 -1
- package/dist/realms/cosmos/components/index.js +83 -25
- package/dist/realms/cosmos/components/index.js.map +1 -1
- package/dist/ui/index.js +30 -63
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,75 +31,29 @@ function formatCreditPrice(cents) {
|
|
|
31
31
|
// src/config/chuzi-ai-prompts.ts
|
|
32
32
|
var CHUZI_AI_PROMPT_STEPS = [
|
|
33
33
|
{
|
|
34
|
-
key: "
|
|
35
|
-
lexicon_title: "
|
|
36
|
-
lexicon_hint: "
|
|
37
|
-
monomyth_ref: "chuzi_ai_monomyth_hero",
|
|
34
|
+
key: "protagonist",
|
|
35
|
+
lexicon_title: "chuzi_ai_step_protagonist",
|
|
36
|
+
lexicon_hint: "chuzi_ai_step_protagonist_hint",
|
|
38
37
|
required: true
|
|
39
38
|
},
|
|
40
39
|
{
|
|
41
|
-
key: "
|
|
42
|
-
lexicon_title: "
|
|
43
|
-
lexicon_hint: "
|
|
44
|
-
monomyth_ref: "chuzi_ai_monomyth_world",
|
|
40
|
+
key: "setting",
|
|
41
|
+
lexicon_title: "chuzi_ai_step_setting",
|
|
42
|
+
lexicon_hint: "chuzi_ai_step_setting_hint",
|
|
45
43
|
required: true
|
|
46
44
|
},
|
|
47
45
|
{
|
|
48
|
-
key: "
|
|
49
|
-
lexicon_title: "
|
|
50
|
-
lexicon_hint: "
|
|
51
|
-
monomyth_ref: "chuzi_ai_monomyth_you",
|
|
46
|
+
key: "conflict",
|
|
47
|
+
lexicon_title: "chuzi_ai_step_conflict",
|
|
48
|
+
lexicon_hint: "chuzi_ai_step_conflict_hint",
|
|
52
49
|
required: true
|
|
53
50
|
},
|
|
54
51
|
{
|
|
55
|
-
key: "
|
|
56
|
-
lexicon_title: "
|
|
57
|
-
lexicon_hint: "
|
|
58
|
-
monomyth_ref: "chuzi_ai_monomyth_need",
|
|
52
|
+
key: "journey",
|
|
53
|
+
lexicon_title: "chuzi_ai_step_journey",
|
|
54
|
+
lexicon_hint: "chuzi_ai_step_journey_hint",
|
|
59
55
|
required: true
|
|
60
56
|
},
|
|
61
|
-
{
|
|
62
|
-
key: "go",
|
|
63
|
-
lexicon_title: "chuzi_ai_step_go",
|
|
64
|
-
lexicon_hint: "chuzi_ai_step_go_hint",
|
|
65
|
-
monomyth_ref: "chuzi_ai_monomyth_go",
|
|
66
|
-
required: true
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
key: "search",
|
|
70
|
-
lexicon_title: "chuzi_ai_step_search",
|
|
71
|
-
lexicon_hint: "chuzi_ai_step_search_hint",
|
|
72
|
-
monomyth_ref: "chuzi_ai_monomyth_search",
|
|
73
|
-
required: false
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
key: "find",
|
|
77
|
-
lexicon_title: "chuzi_ai_step_find",
|
|
78
|
-
lexicon_hint: "chuzi_ai_step_find_hint",
|
|
79
|
-
monomyth_ref: "chuzi_ai_monomyth_find",
|
|
80
|
-
required: false
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
key: "take",
|
|
84
|
-
lexicon_title: "chuzi_ai_step_take",
|
|
85
|
-
lexicon_hint: "chuzi_ai_step_take_hint",
|
|
86
|
-
monomyth_ref: "chuzi_ai_monomyth_take",
|
|
87
|
-
required: false
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
key: "return",
|
|
91
|
-
lexicon_title: "chuzi_ai_step_return",
|
|
92
|
-
lexicon_hint: "chuzi_ai_step_return_hint",
|
|
93
|
-
monomyth_ref: "chuzi_ai_monomyth_return",
|
|
94
|
-
required: false
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
key: "change",
|
|
98
|
-
lexicon_title: "chuzi_ai_step_change",
|
|
99
|
-
lexicon_hint: "chuzi_ai_step_change_hint",
|
|
100
|
-
monomyth_ref: "chuzi_ai_monomyth_change",
|
|
101
|
-
required: false
|
|
102
|
-
},
|
|
103
57
|
{
|
|
104
58
|
key: "tone",
|
|
105
59
|
lexicon_title: "chuzi_ai_step_tone",
|
|
@@ -276,10 +230,11 @@ var REALMS = {
|
|
|
276
230
|
editor_delete_scene_confirm: "Click again to confirm",
|
|
277
231
|
editor_scene_locked_delete: "Start and end scenes cannot be deleted.",
|
|
278
232
|
editor_scene_color: "Star Hue",
|
|
233
|
+
viewer_continue: "Continue Signal",
|
|
279
234
|
chuzi_ai_name: "Chuzi AI",
|
|
280
235
|
chuzi_ai_create_with: "Create with Chuzi AI",
|
|
281
236
|
chuzi_ai_create_manual: "Enter title manually",
|
|
282
|
-
chuzi_ai_intro: "Answer story
|
|
237
|
+
chuzi_ai_intro: "Answer a few story prompts and Chuzi AI will chart your short story.",
|
|
283
238
|
chuzi_ai_step_of: "Step",
|
|
284
239
|
chuzi_ai_back: "Back",
|
|
285
240
|
chuzi_ai_next: "Next",
|
|
@@ -305,26 +260,14 @@ var REALMS = {
|
|
|
305
260
|
chuzi_ai_scene_overwrite_confirm: "I understand this replaces this scene\u2019s text and styling.",
|
|
306
261
|
chuzi_ai_scene_apply_create: "Create scene",
|
|
307
262
|
chuzi_ai_scene_apply_overwrite: "Replace scene",
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
chuzi_ai_step_go: "Go",
|
|
317
|
-
chuzi_ai_step_go_hint: "Crossing the threshold. What event pushes them into the unknown?",
|
|
318
|
-
chuzi_ai_step_search: "Search",
|
|
319
|
-
chuzi_ai_step_search_hint: "Trials, growth, and exploration. What challenges and discoveries shape them?",
|
|
320
|
-
chuzi_ai_step_find: "Find",
|
|
321
|
-
chuzi_ai_step_find_hint: "The thing is found or revealed. What truth, object, or insight do they uncover?",
|
|
322
|
-
chuzi_ai_step_take: "Take",
|
|
323
|
-
chuzi_ai_step_take_hint: "Pay the price. What must they sacrifice or confront to claim their goal?",
|
|
324
|
-
chuzi_ai_step_return: "Return",
|
|
325
|
-
chuzi_ai_step_return_hint: "Back to the known world. How do they bring what they learned home?",
|
|
326
|
-
chuzi_ai_step_change: "Change",
|
|
327
|
-
chuzi_ai_step_change_hint: "Transformation achieved. How is the hero different from who they were at the start?",
|
|
263
|
+
chuzi_ai_step_protagonist: "Protagonist",
|
|
264
|
+
chuzi_ai_step_protagonist_hint: "Who is your main character? Name, age, personality, and what makes them interesting.",
|
|
265
|
+
chuzi_ai_step_setting: "Setting",
|
|
266
|
+
chuzi_ai_step_setting_hint: "Where and when does the story begin? Describe the world and their everyday life.",
|
|
267
|
+
chuzi_ai_step_conflict: "Conflict",
|
|
268
|
+
chuzi_ai_step_conflict_hint: "What event or problem kicks the story into motion?",
|
|
269
|
+
chuzi_ai_step_journey: "Journey",
|
|
270
|
+
chuzi_ai_step_journey_hint: "What challenges, turning points, climax, and resolution shape the story?",
|
|
328
271
|
chuzi_ai_step_tone: "Tone & mood",
|
|
329
272
|
chuzi_ai_step_tone_hint: "Genre, mood, and atmosphere (e.g. bittersweet sci-fi, cozy mystery, epic fantasy).",
|
|
330
273
|
chuzi_ai_monomyth_hero: "Hero\u2019s Journey: the protagonist",
|
|
@@ -669,10 +612,11 @@ var REALMS = {
|
|
|
669
612
|
editor_delete_scene_confirm: "Click again to confirm",
|
|
670
613
|
editor_scene_locked_delete: "Start and end scenes cannot be deleted.",
|
|
671
614
|
editor_scene_color: "Clearing Tint",
|
|
615
|
+
viewer_continue: "Press On",
|
|
672
616
|
chuzi_ai_name: "Chuzi AI",
|
|
673
617
|
chuzi_ai_create_with: "Create with Chuzi AI",
|
|
674
618
|
chuzi_ai_create_manual: "Enter title manually",
|
|
675
|
-
chuzi_ai_intro: "Answer story
|
|
619
|
+
chuzi_ai_intro: "Answer a few story prompts and Chuzi AI will grow your short story.",
|
|
676
620
|
chuzi_ai_step_of: "Step",
|
|
677
621
|
chuzi_ai_back: "Back",
|
|
678
622
|
chuzi_ai_next: "Next",
|
|
@@ -698,26 +642,14 @@ var REALMS = {
|
|
|
698
642
|
chuzi_ai_scene_overwrite_confirm: "I understand this replaces this scene\u2019s text and styling.",
|
|
699
643
|
chuzi_ai_scene_apply_create: "Create scene",
|
|
700
644
|
chuzi_ai_scene_apply_overwrite: "Replace scene",
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
chuzi_ai_step_go: "Go",
|
|
710
|
-
chuzi_ai_step_go_hint: "Crossing the threshold. What event pushes them into the unknown?",
|
|
711
|
-
chuzi_ai_step_search: "Search",
|
|
712
|
-
chuzi_ai_step_search_hint: "Trials, growth, and exploration. What challenges and discoveries shape them?",
|
|
713
|
-
chuzi_ai_step_find: "Find",
|
|
714
|
-
chuzi_ai_step_find_hint: "The thing is found or revealed. What truth, object, or insight do they uncover?",
|
|
715
|
-
chuzi_ai_step_take: "Take",
|
|
716
|
-
chuzi_ai_step_take_hint: "Pay the price. What must they sacrifice or confront to claim their goal?",
|
|
717
|
-
chuzi_ai_step_return: "Return",
|
|
718
|
-
chuzi_ai_step_return_hint: "Back to the known world. How do they bring what they learned home?",
|
|
719
|
-
chuzi_ai_step_change: "Change",
|
|
720
|
-
chuzi_ai_step_change_hint: "Transformation achieved. How is the hero different from who they were at the start?",
|
|
645
|
+
chuzi_ai_step_protagonist: "Protagonist",
|
|
646
|
+
chuzi_ai_step_protagonist_hint: "Who is your main character? Name, age, personality, and what makes them interesting.",
|
|
647
|
+
chuzi_ai_step_setting: "Setting",
|
|
648
|
+
chuzi_ai_step_setting_hint: "Where and when does the story begin? Describe the world and their everyday life.",
|
|
649
|
+
chuzi_ai_step_conflict: "Conflict",
|
|
650
|
+
chuzi_ai_step_conflict_hint: "What event or problem kicks the story into motion?",
|
|
651
|
+
chuzi_ai_step_journey: "Journey",
|
|
652
|
+
chuzi_ai_step_journey_hint: "What challenges, turning points, climax, and resolution shape the story?",
|
|
721
653
|
chuzi_ai_step_tone: "Tone & mood",
|
|
722
654
|
chuzi_ai_step_tone_hint: "Genre, mood, and atmosphere (e.g. bittersweet sci-fi, cozy mystery, epic fantasy).",
|
|
723
655
|
chuzi_ai_monomyth_hero: "Hero\u2019s Journey: the protagonist",
|
|
@@ -1063,7 +995,7 @@ var FALLBACK_LEXICON = {
|
|
|
1063
995
|
chuzi_ai_name: "Chuzi AI",
|
|
1064
996
|
chuzi_ai_create_with: "Create with Chuzi AI",
|
|
1065
997
|
chuzi_ai_create_manual: "Enter title manually",
|
|
1066
|
-
chuzi_ai_intro: "Answer a few story
|
|
998
|
+
chuzi_ai_intro: "Answer a few story prompts and Chuzi AI will draft your short story.",
|
|
1067
999
|
chuzi_ai_step_of: "Step",
|
|
1068
1000
|
chuzi_ai_back: "Back",
|
|
1069
1001
|
chuzi_ai_next: "Next",
|
|
@@ -1089,28 +1021,17 @@ var FALLBACK_LEXICON = {
|
|
|
1089
1021
|
chuzi_ai_scene_overwrite_confirm: "I understand this replaces this scene\u2019s text and styling.",
|
|
1090
1022
|
chuzi_ai_scene_apply_create: "Create scene",
|
|
1091
1023
|
chuzi_ai_scene_apply_overwrite: "Replace scene",
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
chuzi_ai_step_go: "Go",
|
|
1101
|
-
chuzi_ai_step_go_hint: "Crossing the threshold. What event pushes them into the unknown?",
|
|
1102
|
-
chuzi_ai_step_search: "Search",
|
|
1103
|
-
chuzi_ai_step_search_hint: "Trials, growth, and exploration. What challenges and discoveries shape them?",
|
|
1104
|
-
chuzi_ai_step_find: "Find",
|
|
1105
|
-
chuzi_ai_step_find_hint: "The thing is found or revealed. What truth, object, or insight do they uncover?",
|
|
1106
|
-
chuzi_ai_step_take: "Take",
|
|
1107
|
-
chuzi_ai_step_take_hint: "Pay the price. What must they sacrifice or confront to claim their goal?",
|
|
1108
|
-
chuzi_ai_step_return: "Return",
|
|
1109
|
-
chuzi_ai_step_return_hint: "Back to the known world. How do they bring what they learned home?",
|
|
1110
|
-
chuzi_ai_step_change: "Change",
|
|
1111
|
-
chuzi_ai_step_change_hint: "Transformation achieved. How is the hero different from who they were at the start?",
|
|
1024
|
+
chuzi_ai_step_protagonist: "Protagonist",
|
|
1025
|
+
chuzi_ai_step_protagonist_hint: "Who is your main character? Name, age, personality, and what makes them interesting.",
|
|
1026
|
+
chuzi_ai_step_setting: "Setting",
|
|
1027
|
+
chuzi_ai_step_setting_hint: "Where and when does the story begin? Describe the world and their everyday life.",
|
|
1028
|
+
chuzi_ai_step_conflict: "Conflict",
|
|
1029
|
+
chuzi_ai_step_conflict_hint: "What event or problem kicks the story into motion?",
|
|
1030
|
+
chuzi_ai_step_journey: "Journey",
|
|
1031
|
+
chuzi_ai_step_journey_hint: "What challenges, turning points, climax, and resolution shape the story?",
|
|
1112
1032
|
chuzi_ai_step_tone: "Tone & mood",
|
|
1113
1033
|
chuzi_ai_step_tone_hint: "Genre, mood, and atmosphere (e.g. bittersweet sci-fi, cozy mystery, epic fantasy).",
|
|
1034
|
+
viewer_continue: "Continue",
|
|
1114
1035
|
chuzi_ai_monomyth_hero: "Hero\u2019s Journey: the protagonist",
|
|
1115
1036
|
chuzi_ai_monomyth_world: "Monomyth: ordinary world",
|
|
1116
1037
|
chuzi_ai_monomyth_you: "Story Circle: zone of comfort",
|