@dsh-agentic-roleplay/core 0.10.2 → 0.11.1
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/lib/{access-CXtaZNbx.js → access-Md1YTSX1.js} +4 -1
- package/lib/{authoring-tools-C9cmcUbD.js → authoring-tools-BFdw7ahj.js} +72 -9
- package/lib/authoring.js +38 -8
- package/lib/client.js +777 -427
- package/lib/client.js.map +1 -1
- package/lib/compaction.js +2 -2
- package/lib/doctor.js +3 -3
- package/lib/{gallery-CtG-bDzz.js → gallery-BWHmjogd.js} +3 -3
- package/lib/{generator-nLoPM5MF.js → generator-QCdm8nUh.js} +9 -3
- package/lib/helper.js +9 -0
- package/lib/{hooks-BpLN_hhT.js → hooks-C2U1-8ur.js} +709 -67
- package/lib/images.js +4 -4
- package/lib/index.js +225 -19
- package/lib/{library-CH-ahlm0.js → library-4zmCAshR.js} +3 -3
- package/lib/{lorebook-author-tools-Cg7QQemi.js → lorebook-author-tools-Bjfjt3bg.js} +7 -7
- package/lib/lorebook-authoring.js +4 -4
- package/lib/{narration-B0hConSw.js → narration-b_VBEUWn.js} +7 -3
- package/lib/orchestration.js +338 -28
- package/lib/{pack-jail-D5j5mIq6.js → pack-jail-Ci9bIeDI.js} +25 -15
- package/lib/{packs-Cc05FrId.js → packs-CYkozh8Q.js} +2 -2
- package/lib/{presenter-agent-UKbKYXMO.js → presenter-agent-CqkAL03Q.js} +10 -7
- package/lib/{preset-Be4lz6vB.js → preset-B-35yUmt.js} +3 -3
- package/lib/{preset-author-tools-C3s0iSfv.js → preset-author-tools-BUymqZM5.js} +7 -7
- package/lib/preset-authoring.js +5 -5
- package/lib/{presets-Cl9sU3Qs.js → presets-_U-xroo0.js} +27 -8
- package/lib/{reflection-I9z-PvFK.js → reflection-B9N0z3KY.js} +9 -608
- package/lib/{text-CzqhC8sT.js → text-C2AGl7Je.js} +11 -2
- package/lib/{turn-guard-B9pGCeir.js → turn-guard-C0M3rXEN.js} +10 -10
- package/package.json +33 -32
- package/prompts/en/import/variables.md +1 -0
- package/prompts/en/roleplay/character-decide.md +1 -1
- package/prompts/en/roleplay/decide-reuse.md +3 -0
- package/prompts/en/roleplay/decide-variable.md +1 -0
- package/prompts/en/roleplay/image-presenter.md +1 -0
- package/prompts/en/roleplay/track-values.md +1 -0
- package/prompts/en/roleplay/track-variables.md +1 -0
- package/prompts/zh/import/variables.md +1 -0
- package/prompts/zh/roleplay/character-decide.md +1 -1
- package/prompts/zh/roleplay/decide-reuse.md +3 -0
- package/prompts/zh/roleplay/decide-variable.md +1 -0
- package/prompts/zh/roleplay/image-presenter.md +1 -0
- package/prompts/zh/roleplay/track-values.md +1 -0
- package/prompts/zh/roleplay/track-variables.md +1 -0
package/lib/client.js
CHANGED
|
@@ -90,9 +90,9 @@ window.__ModuleLoader__.load({
|
|
|
90
90
|
tag$39.textContent = css$39;
|
|
91
91
|
var RoleplayPanel_module_css_default = {
|
|
92
92
|
"body": "rp_ua5gBa_body",
|
|
93
|
-
"title": "rp_ua5gBa_title",
|
|
94
93
|
"panel": "rp_ua5gBa_panel",
|
|
95
|
-
"header": "rp_ua5gBa_header"
|
|
94
|
+
"header": "rp_ua5gBa_header",
|
|
95
|
+
"title": "rp_ua5gBa_title"
|
|
96
96
|
};
|
|
97
97
|
// src/client/panel/RoleplayPanel.tsx
|
|
98
98
|
/** Header, page navigation and the selected page. */
|
|
@@ -427,34 +427,34 @@ window.__ModuleLoader__.load({
|
|
|
427
427
|
}
|
|
428
428
|
tag$38.textContent = css$38;
|
|
429
429
|
var ImportCard_module_css_default = {
|
|
430
|
+
"tags": "rp_5cvtma_tags",
|
|
431
|
+
"entryHead": "rp_5cvtma_entryHead",
|
|
432
|
+
"section": "rp_5cvtma_section",
|
|
430
433
|
"header": "rp_5cvtma_header",
|
|
434
|
+
"entry": "rp_5cvtma_entry",
|
|
435
|
+
"fieldMeta": "rp_5cvtma_fieldMeta",
|
|
436
|
+
"title": "rp_5cvtma_title",
|
|
437
|
+
"choice": "rp_5cvtma_choice",
|
|
438
|
+
"heading": "rp_5cvtma_heading",
|
|
439
|
+
"page": "rp_5cvtma_page",
|
|
431
440
|
"error": "rp_5cvtma_error",
|
|
441
|
+
"choiceText": "rp_5cvtma_choiceText",
|
|
432
442
|
"noPicture": "rp_5cvtma_noPicture",
|
|
433
|
-
"
|
|
443
|
+
"entryOff": "rp_5cvtma_entryOff",
|
|
434
444
|
"space": "rp_5cvtma_space",
|
|
435
|
-
"label": "rp_5cvtma_label",
|
|
436
|
-
"heading": "rp_5cvtma_heading",
|
|
437
|
-
"field": "rp_5cvtma_field",
|
|
438
445
|
"row": "rp_5cvtma_row",
|
|
439
|
-
"entryTitle": "rp_5cvtma_entryTitle",
|
|
440
|
-
"section": "rp_5cvtma_section",
|
|
441
|
-
"text": "rp_5cvtma_text",
|
|
442
|
-
"body": "rp_5cvtma_body",
|
|
443
|
-
"picture": "rp_5cvtma_picture",
|
|
444
|
-
"tags": "rp_5cvtma_tags",
|
|
445
446
|
"top": "rp_5cvtma_top",
|
|
446
447
|
"fieldHead": "rp_5cvtma_fieldHead",
|
|
447
|
-
"entryHead": "rp_5cvtma_entryHead",
|
|
448
|
-
"entryOff": "rp_5cvtma_entryOff",
|
|
449
|
-
"choice": "rp_5cvtma_choice",
|
|
450
|
-
"choiceText": "rp_5cvtma_choiceText",
|
|
451
448
|
"preview": "rp_5cvtma_preview",
|
|
452
|
-
"
|
|
453
|
-
"
|
|
449
|
+
"entryTitle": "rp_5cvtma_entryTitle",
|
|
450
|
+
"picture": "rp_5cvtma_picture",
|
|
454
451
|
"about": "rp_5cvtma_about",
|
|
455
|
-
"
|
|
452
|
+
"note": "rp_5cvtma_note",
|
|
453
|
+
"field": "rp_5cvtma_field",
|
|
456
454
|
"fieldTitle": "rp_5cvtma_fieldTitle",
|
|
457
|
-
"
|
|
455
|
+
"body": "rp_5cvtma_body",
|
|
456
|
+
"label": "rp_5cvtma_label",
|
|
457
|
+
"text": "rp_5cvtma_text"
|
|
458
458
|
};
|
|
459
459
|
// src/client/widgets/import-card/ImportCard.tsx
|
|
460
460
|
const pictureUrl = (id) => `${API_PREFIX}/worlds/import/picture?id=${encodeURIComponent(id)}`;
|
|
@@ -943,38 +943,38 @@ window.__ModuleLoader__.load({
|
|
|
943
943
|
}
|
|
944
944
|
tag$37.textContent = css$37;
|
|
945
945
|
var CataloguePage_module_css_default = {
|
|
946
|
-
"
|
|
946
|
+
"kinds": "rp_qK1u-G_kinds",
|
|
947
|
+
"image": "rp_qK1u-G_image",
|
|
948
|
+
"toolbar": "rp_qK1u-G_toolbar",
|
|
949
|
+
"warning": "rp_qK1u-G_warning",
|
|
950
|
+
"cover": "rp_qK1u-G_cover",
|
|
947
951
|
"body": "rp_qK1u-G_body",
|
|
948
|
-
"
|
|
949
|
-
"
|
|
950
|
-
"
|
|
951
|
-
"
|
|
952
|
+
"status": "rp_qK1u-G_status",
|
|
953
|
+
"updates": "rp_qK1u-G_updates",
|
|
954
|
+
"page": "rp_qK1u-G_page",
|
|
955
|
+
"changes": "rp_qK1u-G_changes",
|
|
952
956
|
"message": "rp_qK1u-G_message",
|
|
953
|
-
"
|
|
954
|
-
"meta": "rp_qK1u-G_meta",
|
|
955
|
-
"tags": "rp_qK1u-G_tags",
|
|
956
|
-
"kind": "rp_qK1u-G_kind",
|
|
957
|
+
"search": "rp_qK1u-G_search",
|
|
957
958
|
"field": "rp_qK1u-G_field",
|
|
958
|
-
"
|
|
959
|
-
"
|
|
959
|
+
"more": "rp_qK1u-G_more",
|
|
960
|
+
"description": "rp_qK1u-G_description",
|
|
960
961
|
"actions": "rp_qK1u-G_actions",
|
|
961
|
-
"
|
|
962
|
-
"
|
|
962
|
+
"update": "rp_qK1u-G_update",
|
|
963
|
+
"grid": "rp_qK1u-G_grid",
|
|
964
|
+
"meta": "rp_qK1u-G_meta",
|
|
965
|
+
"notice": "rp_qK1u-G_notice",
|
|
963
966
|
"spacer": "rp_qK1u-G_spacer",
|
|
964
|
-
"
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
"more": "rp_qK1u-G_more",
|
|
967
|
+
"tags": "rp_qK1u-G_tags",
|
|
968
|
+
"viewport": "rp_qK1u-G_viewport",
|
|
969
|
+
"kind": "rp_qK1u-G_kind",
|
|
968
970
|
"placeholder": "rp_qK1u-G_placeholder",
|
|
969
|
-
"status": "rp_qK1u-G_status",
|
|
970
|
-
"label": "rp_qK1u-G_label",
|
|
971
|
-
"image": "rp_qK1u-G_image",
|
|
972
|
-
"updates": "rp_qK1u-G_updates",
|
|
973
|
-
"page": "rp_qK1u-G_page",
|
|
974
|
-
"warning": "rp_qK1u-G_warning",
|
|
975
971
|
"name": "rp_qK1u-G_name",
|
|
976
|
-
"
|
|
977
|
-
"
|
|
972
|
+
"success": "rp_qK1u-G_success",
|
|
973
|
+
"form": "rp_qK1u-G_form",
|
|
974
|
+
"detail": "rp_qK1u-G_detail",
|
|
975
|
+
"card": "rp_qK1u-G_card",
|
|
976
|
+
"select": "rp_qK1u-G_select",
|
|
977
|
+
"label": "rp_qK1u-G_label"
|
|
978
978
|
};
|
|
979
979
|
// src/client/pages/catalogue/ImportUrlDialog.tsx
|
|
980
980
|
/** Installs a world from the address of its archive, or opens the resource a page address of a configured catalogue names; an address on a configured catalogue's site is asked for with that catalogue's key. */
|
|
@@ -1178,18 +1178,18 @@ window.__ModuleLoader__.load({
|
|
|
1178
1178
|
}
|
|
1179
1179
|
tag$36.textContent = css$36;
|
|
1180
1180
|
var ImportSelection_module_css_default = {
|
|
1181
|
+
"bar": "rp_Jx0l4q_bar",
|
|
1182
|
+
"error": "rp_Jx0l4q_error",
|
|
1181
1183
|
"body": "rp_Jx0l4q_body",
|
|
1182
|
-
"
|
|
1183
|
-
"
|
|
1184
|
-
"text": "rp_Jx0l4q_text",
|
|
1185
|
-
"sampling": "rp_Jx0l4q_sampling",
|
|
1184
|
+
"count": "rp_Jx0l4q_count",
|
|
1185
|
+
"row": "rp_Jx0l4q_row",
|
|
1186
1186
|
"list": "rp_Jx0l4q_list",
|
|
1187
|
+
"text": "rp_Jx0l4q_text",
|
|
1187
1188
|
"help": "rp_Jx0l4q_help",
|
|
1188
|
-
"error": "rp_Jx0l4q_error",
|
|
1189
|
-
"row": "rp_Jx0l4q_row",
|
|
1190
|
-
"count": "rp_Jx0l4q_count",
|
|
1191
1189
|
"meta": "rp_Jx0l4q_meta",
|
|
1192
|
-
"
|
|
1190
|
+
"note": "rp_Jx0l4q_note",
|
|
1191
|
+
"full": "rp_Jx0l4q_full",
|
|
1192
|
+
"sampling": "rp_Jx0l4q_sampling",
|
|
1193
1193
|
"extra": "rp_Jx0l4q_extra"
|
|
1194
1194
|
};
|
|
1195
1195
|
// src/client/widgets/import-selection/ImportSelection.tsx
|
|
@@ -2889,6 +2889,7 @@ window.__ModuleLoader__.load({
|
|
|
2889
2889
|
{
|
|
2890
2890
|
key: "valence",
|
|
2891
2891
|
name: "Valence",
|
|
2892
|
+
update: "",
|
|
2892
2893
|
description: "How pleasant its mood is: -1 very unpleasant, 0 neutral, 1 very pleasant.",
|
|
2893
2894
|
labels: [
|
|
2894
2895
|
{
|
|
@@ -2916,6 +2917,7 @@ window.__ModuleLoader__.load({
|
|
|
2916
2917
|
{
|
|
2917
2918
|
key: "arousal",
|
|
2918
2919
|
name: "Arousal",
|
|
2920
|
+
update: "",
|
|
2919
2921
|
description: "How worked up it is: -1 drowsy, 0 ordinary, 1 frantic.",
|
|
2920
2922
|
labels: [
|
|
2921
2923
|
{
|
|
@@ -2943,6 +2945,7 @@ window.__ModuleLoader__.load({
|
|
|
2943
2945
|
{
|
|
2944
2946
|
key: "dominance",
|
|
2945
2947
|
name: "Dominance",
|
|
2948
|
+
update: "",
|
|
2946
2949
|
description: "How much in control it feels: -1 helpless, 0 even, 1 commanding.",
|
|
2947
2950
|
labels: [
|
|
2948
2951
|
{
|
|
@@ -3119,46 +3122,46 @@ window.__ModuleLoader__.load({
|
|
|
3119
3122
|
}
|
|
3120
3123
|
tag$35.textContent = css$35;
|
|
3121
3124
|
var CharactersPanel_module_css_default = {
|
|
3122
|
-
"placeholder": "rp_5ZMIxq_placeholder",
|
|
3123
3125
|
"grid": "rp_5ZMIxq_grid",
|
|
3124
|
-
"
|
|
3126
|
+
"questionTitle": "rp_5ZMIxq_questionTitle",
|
|
3127
|
+
"portraitAction": "rp_5ZMIxq_portraitAction",
|
|
3128
|
+
"portrait": "rp_5ZMIxq_portrait",
|
|
3129
|
+
"bar": "rp_5ZMIxq_bar",
|
|
3130
|
+
"field": "rp_5ZMIxq_field",
|
|
3131
|
+
"label": "rp_5ZMIxq_label",
|
|
3132
|
+
"tabOn": "rp_5ZMIxq_tabOn",
|
|
3133
|
+
"body": "rp_5ZMIxq_body",
|
|
3134
|
+
"wide": "rp_5ZMIxq_wide",
|
|
3135
|
+
"missing": "rp_5ZMIxq_missing",
|
|
3136
|
+
"itemActions": "rp_5ZMIxq_itemActions",
|
|
3137
|
+
"optionFields": "rp_5ZMIxq_optionFields",
|
|
3138
|
+
"sectionTitle": "rp_5ZMIxq_sectionTitle",
|
|
3125
3139
|
"initial": "rp_5ZMIxq_initial",
|
|
3140
|
+
"tabsSpace": "rp_5ZMIxq_tabsSpace",
|
|
3141
|
+
"goal": "rp_5ZMIxq_goal",
|
|
3126
3142
|
"head": "rp_5ZMIxq_head",
|
|
3127
|
-
"
|
|
3128
|
-
"barText": "rp_5ZMIxq_barText",
|
|
3129
|
-
"sheet": "rp_5ZMIxq_sheet",
|
|
3143
|
+
"portraitBox": "rp_5ZMIxq_portraitBox",
|
|
3130
3144
|
"questionActions": "rp_5ZMIxq_questionActions",
|
|
3131
3145
|
"panel": "rp_5ZMIxq_panel",
|
|
3132
|
-
"
|
|
3133
|
-
"
|
|
3134
|
-
"
|
|
3146
|
+
"meta": "rp_5ZMIxq_meta",
|
|
3147
|
+
"sheet": "rp_5ZMIxq_sheet",
|
|
3148
|
+
"portraitError": "rp_5ZMIxq_portraitError",
|
|
3149
|
+
"portraitHint": "rp_5ZMIxq_portraitHint",
|
|
3150
|
+
"question": "rp_5ZMIxq_question",
|
|
3151
|
+
"nameInput": "rp_5ZMIxq_nameInput",
|
|
3152
|
+
"voiceInline": "rp_5ZMIxq_voiceInline",
|
|
3153
|
+
"select": "rp_5ZMIxq_select",
|
|
3135
3154
|
"tabs": "rp_5ZMIxq_tabs",
|
|
3155
|
+
"empty": "rp_5ZMIxq_empty",
|
|
3136
3156
|
"help": "rp_5ZMIxq_help",
|
|
3137
|
-
"
|
|
3138
|
-
"missing": "rp_5ZMIxq_missing",
|
|
3139
|
-
"itemActions": "rp_5ZMIxq_itemActions",
|
|
3140
|
-
"body": "rp_5ZMIxq_body",
|
|
3157
|
+
"section": "rp_5ZMIxq_section",
|
|
3141
3158
|
"tab": "rp_5ZMIxq_tab",
|
|
3142
|
-
"empty": "rp_5ZMIxq_empty",
|
|
3143
|
-
"label": "rp_5ZMIxq_label",
|
|
3144
|
-
"area": "rp_5ZMIxq_area",
|
|
3145
|
-
"voiceInline": "rp_5ZMIxq_voiceInline",
|
|
3146
|
-
"portraitError": "rp_5ZMIxq_portraitError",
|
|
3147
|
-
"bar": "rp_5ZMIxq_bar",
|
|
3148
|
-
"portrait": "rp_5ZMIxq_portrait",
|
|
3149
|
-
"portraitHint": "rp_5ZMIxq_portraitHint",
|
|
3150
|
-
"meta": "rp_5ZMIxq_meta",
|
|
3151
|
-
"wide": "rp_5ZMIxq_wide",
|
|
3152
3159
|
"error": "rp_5ZMIxq_error",
|
|
3160
|
+
"area": "rp_5ZMIxq_area",
|
|
3161
|
+
"placeholder": "rp_5ZMIxq_placeholder",
|
|
3162
|
+
"barText": "rp_5ZMIxq_barText",
|
|
3153
3163
|
"optionTitle": "rp_5ZMIxq_optionTitle",
|
|
3154
|
-
"
|
|
3155
|
-
"tabOn": "rp_5ZMIxq_tabOn",
|
|
3156
|
-
"field": "rp_5ZMIxq_field",
|
|
3157
|
-
"question": "rp_5ZMIxq_question",
|
|
3158
|
-
"portraitBox": "rp_5ZMIxq_portraitBox",
|
|
3159
|
-
"nameInput": "rp_5ZMIxq_nameInput",
|
|
3160
|
-
"row": "rp_5ZMIxq_row",
|
|
3161
|
-
"section": "rp_5ZMIxq_section"
|
|
3164
|
+
"row": "rp_5ZMIxq_row"
|
|
3162
3165
|
};
|
|
3163
3166
|
// src/client/world-editor/EditorTabs.tsx
|
|
3164
3167
|
/** Adds expected arrow, Home and End navigation to an existing editor tab strip. */
|
|
@@ -4877,39 +4880,39 @@ window.__ModuleLoader__.load({
|
|
|
4877
4880
|
}
|
|
4878
4881
|
tag$34.textContent = css$34;
|
|
4879
4882
|
var RelationsPanel_module_css_default = {
|
|
4880
|
-
"filter": "rp_7pEHTW_filter",
|
|
4881
|
-
"toolbar": "rp_7pEHTW_toolbar",
|
|
4882
|
-
"edgeKind": "rp_7pEHTW_edgeKind",
|
|
4883
4883
|
"form": "rp_7pEHTW_form",
|
|
4884
|
-
"
|
|
4884
|
+
"node_character": "rp_7pEHTW_node_character",
|
|
4885
4885
|
"check": "rp_7pEHTW_check",
|
|
4886
|
-
"status": "rp_7pEHTW_status",
|
|
4887
|
-
"list": "rp_7pEHTW_list",
|
|
4888
|
-
"panel": "rp_7pEHTW_panel",
|
|
4889
|
-
"graphEdge": "rp_7pEHTW_graphEdge",
|
|
4890
|
-
"notice": "rp_7pEHTW_notice",
|
|
4891
|
-
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
4892
|
-
"node_item": "rp_7pEHTW_node_item",
|
|
4893
|
-
"graphInspector": "rp_7pEHTW_graphInspector",
|
|
4894
|
-
"wide": "rp_7pEHTW_wide",
|
|
4895
4886
|
"node_location": "rp_7pEHTW_node_location",
|
|
4896
|
-
"
|
|
4897
|
-
"workspace": "rp_7pEHTW_workspace",
|
|
4898
|
-
"head": "rp_7pEHTW_head",
|
|
4887
|
+
"toolbar": "rp_7pEHTW_toolbar",
|
|
4899
4888
|
"inspector": "rp_7pEHTW_inspector",
|
|
4900
|
-
"
|
|
4889
|
+
"workspace": "rp_7pEHTW_workspace",
|
|
4890
|
+
"empty": "rp_7pEHTW_empty",
|
|
4891
|
+
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
4892
|
+
"node_faction": "rp_7pEHTW_node_faction",
|
|
4893
|
+
"graphEdge": "rp_7pEHTW_graphEdge",
|
|
4894
|
+
"edgeKind": "rp_7pEHTW_edgeKind",
|
|
4901
4895
|
"node": "rp_7pEHTW_node",
|
|
4896
|
+
"filterOn": "rp_7pEHTW_filterOn",
|
|
4897
|
+
"perspective": "rp_7pEHTW_perspective",
|
|
4898
|
+
"edge": "rp_7pEHTW_edge",
|
|
4899
|
+
"space": "rp_7pEHTW_space",
|
|
4902
4900
|
"edgeTitle": "rp_7pEHTW_edgeTitle",
|
|
4901
|
+
"graphInspector": "rp_7pEHTW_graphInspector",
|
|
4902
|
+
"filter": "rp_7pEHTW_filter",
|
|
4903
|
+
"edgeOn": "rp_7pEHTW_edgeOn",
|
|
4904
|
+
"list": "rp_7pEHTW_list",
|
|
4905
|
+
"entities": "rp_7pEHTW_entities",
|
|
4906
|
+
"actions": "rp_7pEHTW_actions",
|
|
4907
|
+
"panel": "rp_7pEHTW_panel",
|
|
4908
|
+
"notice": "rp_7pEHTW_notice",
|
|
4909
|
+
"error": "rp_7pEHTW_error",
|
|
4903
4910
|
"metrics": "rp_7pEHTW_metrics",
|
|
4911
|
+
"wide": "rp_7pEHTW_wide",
|
|
4912
|
+
"node_item": "rp_7pEHTW_node_item",
|
|
4913
|
+
"status": "rp_7pEHTW_status",
|
|
4904
4914
|
"graph": "rp_7pEHTW_graph",
|
|
4905
|
-
"
|
|
4906
|
-
"edge": "rp_7pEHTW_edge",
|
|
4907
|
-
"entities": "rp_7pEHTW_entities",
|
|
4908
|
-
"empty": "rp_7pEHTW_empty",
|
|
4909
|
-
"edgeOn": "rp_7pEHTW_edgeOn",
|
|
4910
|
-
"node_faction": "rp_7pEHTW_node_faction",
|
|
4911
|
-
"space": "rp_7pEHTW_space",
|
|
4912
|
-
"error": "rp_7pEHTW_error"
|
|
4915
|
+
"head": "rp_7pEHTW_head"
|
|
4913
4916
|
};
|
|
4914
4917
|
// src/client/world-editor/RelationsPanel.tsx
|
|
4915
4918
|
const title = (relation) => `${relation.from.name} → ${relation.to.name}`;
|
|
@@ -6173,7 +6176,7 @@ window.__ModuleLoader__.load({
|
|
|
6173
6176
|
const { min, max } = STRIP_HEIGHTS[surface];
|
|
6174
6177
|
return Math.min(max, Math.max(min, Math.round(height)));
|
|
6175
6178
|
}
|
|
6176
|
-
const text$
|
|
6179
|
+
const text$3 = (params, name) => {
|
|
6177
6180
|
const value = params[name];
|
|
6178
6181
|
if (typeof value !== "string") throw new Error(`${name} must be text`);
|
|
6179
6182
|
return value;
|
|
@@ -6203,7 +6206,7 @@ window.__ModuleLoader__.load({
|
|
|
6203
6206
|
if (!this.env.actions.includes(action)) throw new Error(`the pack did not ask for "${action}" in its pack.json actions`);
|
|
6204
6207
|
}
|
|
6205
6208
|
words(params) {
|
|
6206
|
-
const words = text$
|
|
6209
|
+
const words = text$3(params, "text").trim();
|
|
6207
6210
|
if (words === "") throw new Error("there are no words");
|
|
6208
6211
|
if (words.length > 2e3) throw new Error(`words are at most ${MAX_WORDS} characters`);
|
|
6209
6212
|
return words;
|
|
@@ -6249,12 +6252,12 @@ window.__ModuleLoader__.load({
|
|
|
6249
6252
|
await this.env.open(surface);
|
|
6250
6253
|
return null;
|
|
6251
6254
|
}
|
|
6252
|
-
case "storage.get": return await this.env.storage("get", text$
|
|
6255
|
+
case "storage.get": return await this.env.storage("get", text$3(params, "key"));
|
|
6253
6256
|
case "storage.set":
|
|
6254
|
-
await this.env.storage("set", text$
|
|
6257
|
+
await this.env.storage("set", text$3(params, "key"), params["value"]);
|
|
6255
6258
|
return null;
|
|
6256
6259
|
case "storage.remove":
|
|
6257
|
-
await this.env.storage("remove", text$
|
|
6260
|
+
await this.env.storage("remove", text$3(params, "key"));
|
|
6258
6261
|
return null;
|
|
6259
6262
|
case "history": {
|
|
6260
6263
|
const asked = params["limit"];
|
|
@@ -6278,12 +6281,12 @@ window.__ModuleLoader__.load({
|
|
|
6278
6281
|
}
|
|
6279
6282
|
tag$33.textContent = css$33;
|
|
6280
6283
|
var PackFrame_module_css_default = {
|
|
6281
|
-
"hud": "rp_h_sbFq_hud",
|
|
6282
|
-
"problems": "rp_h_sbFq_problems",
|
|
6283
|
-
"tab": "rp_h_sbFq_tab",
|
|
6284
|
-
"fill": "rp_h_sbFq_fill",
|
|
6285
6284
|
"message": "rp_h_sbFq_message",
|
|
6286
|
-
"
|
|
6285
|
+
"fill": "rp_h_sbFq_fill",
|
|
6286
|
+
"tab": "rp_h_sbFq_tab",
|
|
6287
|
+
"frame": "rp_h_sbFq_frame",
|
|
6288
|
+
"problems": "rp_h_sbFq_problems",
|
|
6289
|
+
"hud": "rp_h_sbFq_hud"
|
|
6287
6290
|
};
|
|
6288
6291
|
// src/client/widgets/pack-frame/theme.ts
|
|
6289
6292
|
/** The colours of DSH a surface is given, so that it looks right in light and dark. */
|
|
@@ -6544,11 +6547,11 @@ window.__ModuleLoader__.load({
|
|
|
6544
6547
|
var PacksPanel_module_css_default = {
|
|
6545
6548
|
"stage": "rp_FLaP7q_stage",
|
|
6546
6549
|
"log": "rp_FLaP7q_log",
|
|
6547
|
-
"group": "rp_FLaP7q_group",
|
|
6548
|
-
"stageTall": "rp_FLaP7q_stageTall",
|
|
6549
6550
|
"files": "rp_FLaP7q_files",
|
|
6551
|
+
"controls": "rp_FLaP7q_controls",
|
|
6550
6552
|
"note": "rp_FLaP7q_note",
|
|
6551
|
-
"
|
|
6553
|
+
"stageTall": "rp_FLaP7q_stageTall",
|
|
6554
|
+
"group": "rp_FLaP7q_group"
|
|
6552
6555
|
};
|
|
6553
6556
|
// src/client/world-editor/PacksPanel.tsx
|
|
6554
6557
|
const WIDTHS = {
|
|
@@ -7643,12 +7646,12 @@ window.__ModuleLoader__.load({
|
|
|
7643
7646
|
}
|
|
7644
7647
|
tag$31.textContent = css$31;
|
|
7645
7648
|
var SamplingFields_module_css_default = {
|
|
7646
|
-
"
|
|
7649
|
+
"input": "rp_9vxYSG_input",
|
|
7650
|
+
"label": "rp_9vxYSG_label",
|
|
7647
7651
|
"root": "rp_9vxYSG_root",
|
|
7648
|
-
"help": "rp_9vxYSG_help",
|
|
7649
7652
|
"grid": "rp_9vxYSG_grid",
|
|
7650
|
-
"
|
|
7651
|
-
"
|
|
7653
|
+
"field": "rp_9vxYSG_field",
|
|
7654
|
+
"help": "rp_9vxYSG_help"
|
|
7652
7655
|
};
|
|
7653
7656
|
// src/client/widgets/sampling-fields/SamplingFields.tsx
|
|
7654
7657
|
const samplingTexts = (sampling) => Object.fromEntries(SAMPLING_KEYS.map((key) => [key, sampling[key]?.toString() ?? ""]));
|
|
@@ -9406,17 +9409,17 @@ window.__ModuleLoader__.load({
|
|
|
9406
9409
|
}
|
|
9407
9410
|
tag$30.textContent = css$30;
|
|
9408
9411
|
var ToolSwitches_module_css_default = {
|
|
9409
|
-
"
|
|
9410
|
-
"
|
|
9412
|
+
"default": "rp_CjoFLq_default",
|
|
9413
|
+
"agent": "rp_CjoFLq_agent",
|
|
9411
9414
|
"tool": "rp_CjoFLq_tool",
|
|
9412
|
-
"
|
|
9415
|
+
"hint": "rp_CjoFLq_hint",
|
|
9413
9416
|
"error": "rp_CjoFLq_error",
|
|
9417
|
+
"help": "rp_CjoFLq_help",
|
|
9418
|
+
"title": "rp_CjoFLq_title",
|
|
9419
|
+
"root": "rp_CjoFLq_root",
|
|
9414
9420
|
"agentName": "rp_CjoFLq_agentName",
|
|
9415
|
-
"
|
|
9416
|
-
"
|
|
9417
|
-
"agent": "rp_CjoFLq_agent",
|
|
9418
|
-
"default": "rp_CjoFLq_default",
|
|
9419
|
-
"title": "rp_CjoFLq_title"
|
|
9421
|
+
"toolText": "rp_CjoFLq_toolText",
|
|
9422
|
+
"external": "rp_CjoFLq_external"
|
|
9420
9423
|
};
|
|
9421
9424
|
// src/client/widgets/tool-switches/ToolSwitches.tsx
|
|
9422
9425
|
/**
|
|
@@ -9991,6 +9994,7 @@ window.__ModuleLoader__.load({
|
|
|
9991
9994
|
subject: "character",
|
|
9992
9995
|
visibility: "public",
|
|
9993
9996
|
description: "",
|
|
9997
|
+
update: "",
|
|
9994
9998
|
min: "",
|
|
9995
9999
|
max: "",
|
|
9996
10000
|
integer: false,
|
|
@@ -10008,6 +10012,7 @@ window.__ModuleLoader__.load({
|
|
|
10008
10012
|
subject: value.subject,
|
|
10009
10013
|
visibility: value.visibility,
|
|
10010
10014
|
description: value.description ?? "",
|
|
10015
|
+
update: value.update ?? "",
|
|
10011
10016
|
min: value.min === void 0 ? "" : String(value.min),
|
|
10012
10017
|
max: value.max === void 0 ? "" : String(value.max),
|
|
10013
10018
|
integer: value.integer === true,
|
|
@@ -10043,6 +10048,7 @@ window.__ModuleLoader__.load({
|
|
|
10043
10048
|
subject: draft.subject,
|
|
10044
10049
|
visibility: draft.visibility,
|
|
10045
10050
|
...draft.description.trim() === "" ? {} : { description: draft.description.trim() },
|
|
10051
|
+
...draft.update.trim() === "" ? {} : { update: draft.update.trim() },
|
|
10046
10052
|
...draft.kind === "number" && min !== void 0 ? { min } : {},
|
|
10047
10053
|
...draft.kind === "number" && max !== void 0 ? { max } : {},
|
|
10048
10054
|
...draft.kind === "number" && draft.integer ? { integer: true } : {},
|
|
@@ -10216,6 +10222,7 @@ window.__ModuleLoader__.load({
|
|
|
10216
10222
|
})]
|
|
10217
10223
|
}),
|
|
10218
10224
|
text(index, "description", "description", true),
|
|
10225
|
+
text(index, "update", "variableUpdate", true),
|
|
10219
10226
|
entry.kind === "number" && text(index, "min", "variableMin"),
|
|
10220
10227
|
entry.kind === "number" && text(index, "max", "variableMax"),
|
|
10221
10228
|
text(index, "default", "variableDefault"),
|
|
@@ -10419,39 +10426,39 @@ window.__ModuleLoader__.load({
|
|
|
10419
10426
|
}
|
|
10420
10427
|
tag$29.textContent = css$29;
|
|
10421
10428
|
var GalleryView_module_css_default = {
|
|
10422
|
-
"caption": "rp_9pSHmG_caption",
|
|
10423
|
-
"editButton": "rp_9pSHmG_editButton",
|
|
10424
|
-
"large": "rp_9pSHmG_large",
|
|
10425
|
-
"actions": "rp_9pSHmG_actions",
|
|
10426
|
-
"detail": "rp_9pSHmG_detail",
|
|
10427
|
-
"editLabel": "rp_9pSHmG_editLabel",
|
|
10428
|
-
"editField": "rp_9pSHmG_editField",
|
|
10429
|
-
"grid": "rp_9pSHmG_grid",
|
|
10430
|
-
"toolbar": "rp_9pSHmG_toolbar",
|
|
10431
|
-
"page": "rp_9pSHmG_page",
|
|
10432
|
-
"status": "rp_9pSHmG_status",
|
|
10433
10429
|
"cell": "rp_9pSHmG_cell",
|
|
10434
|
-
"
|
|
10435
|
-
"
|
|
10430
|
+
"note": "rp_9pSHmG_note",
|
|
10431
|
+
"select": "rp_9pSHmG_select",
|
|
10436
10432
|
"editHelp": "rp_9pSHmG_editHelp",
|
|
10433
|
+
"detail": "rp_9pSHmG_detail",
|
|
10434
|
+
"edit": "rp_9pSHmG_edit",
|
|
10435
|
+
"thumb": "rp_9pSHmG_thumb",
|
|
10436
|
+
"large": "rp_9pSHmG_large",
|
|
10437
|
+
"editArea": "rp_9pSHmG_editArea",
|
|
10438
|
+
"statusError": "rp_9pSHmG_statusError",
|
|
10437
10439
|
"image": "rp_9pSHmG_image",
|
|
10438
|
-
"
|
|
10439
|
-
"reusable": "rp_9pSHmG_reusable",
|
|
10440
|
+
"tags": "rp_9pSHmG_tags",
|
|
10440
10441
|
"message": "rp_9pSHmG_message",
|
|
10441
|
-
"
|
|
10442
|
-
"editInput": "rp_9pSHmG_editInput",
|
|
10442
|
+
"toolbar": "rp_9pSHmG_toolbar",
|
|
10443
10443
|
"error": "rp_9pSHmG_error",
|
|
10444
|
-
"
|
|
10445
|
-
"
|
|
10444
|
+
"status": "rp_9pSHmG_status",
|
|
10445
|
+
"caption": "rp_9pSHmG_caption",
|
|
10446
10446
|
"open": "rp_9pSHmG_open",
|
|
10447
|
-
"
|
|
10448
|
-
"
|
|
10449
|
-
"
|
|
10450
|
-
"
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
|
|
10447
|
+
"actions": "rp_9pSHmG_actions",
|
|
10448
|
+
"editInput": "rp_9pSHmG_editInput",
|
|
10449
|
+
"pre": "rp_9pSHmG_pre",
|
|
10450
|
+
"editField": "rp_9pSHmG_editField",
|
|
10451
|
+
"count": "rp_9pSHmG_count",
|
|
10452
|
+
"page": "rp_9pSHmG_page",
|
|
10453
|
+
"facts": "rp_9pSHmG_facts",
|
|
10454
|
+
"reusable": "rp_9pSHmG_reusable",
|
|
10455
|
+
"editButton": "rp_9pSHmG_editButton",
|
|
10456
|
+
"grid": "rp_9pSHmG_grid",
|
|
10457
|
+
"editLabel": "rp_9pSHmG_editLabel"
|
|
10458
|
+
};
|
|
10459
|
+
// src/client/widgets/gallery-view/GalleryView.tsx
|
|
10460
|
+
/** How often the list is read again while pictures are waiting to be described. */
|
|
10461
|
+
const POLL_MS$3 = 3e3;
|
|
10455
10462
|
const messageOf$10 = (error) => error instanceof Error ? error.message : String(error);
|
|
10456
10463
|
function EditDialog({ t, image, onSave, onClose }) {
|
|
10457
10464
|
const [description, setDescription] = (0, react.useState)(image.description ?? "");
|
|
@@ -10786,13 +10793,13 @@ window.__ModuleLoader__.load({
|
|
|
10786
10793
|
}
|
|
10787
10794
|
tag$28.textContent = css$28;
|
|
10788
10795
|
var WorldEditor_module_css_default = {
|
|
10789
|
-
"drawerItemOn": "rp__swA3a_drawerItemOn",
|
|
10790
|
-
"content": "rp__swA3a_content",
|
|
10791
|
-
"message": "rp__swA3a_message",
|
|
10792
10796
|
"warning": "rp__swA3a_warning",
|
|
10793
|
-
"view": "rp__swA3a_view",
|
|
10794
10797
|
"drawer": "rp__swA3a_drawer",
|
|
10795
|
-
"drawerItem": "rp__swA3a_drawerItem"
|
|
10798
|
+
"drawerItem": "rp__swA3a_drawerItem",
|
|
10799
|
+
"drawerItemOn": "rp__swA3a_drawerItemOn",
|
|
10800
|
+
"view": "rp__swA3a_view",
|
|
10801
|
+
"content": "rp__swA3a_content",
|
|
10802
|
+
"message": "rp__swA3a_message"
|
|
10796
10803
|
};
|
|
10797
10804
|
// src/client/world-editor/WorldEditor.tsx
|
|
10798
10805
|
const SECTIONS = [
|
|
@@ -11186,27 +11193,27 @@ window.__ModuleLoader__.load({
|
|
|
11186
11193
|
}
|
|
11187
11194
|
tag$27.textContent = css$27;
|
|
11188
11195
|
var AvatarsPage_module_css_default = {
|
|
11189
|
-
"
|
|
11196
|
+
"placeholder": "rp_pQOzEG_placeholder",
|
|
11197
|
+
"page": "rp_pQOzEG_page",
|
|
11198
|
+
"open": "rp_pQOzEG_open",
|
|
11199
|
+
"actions": "rp_pQOzEG_actions",
|
|
11190
11200
|
"toolbar": "rp_pQOzEG_toolbar",
|
|
11191
11201
|
"card": "rp_pQOzEG_card",
|
|
11192
|
-
"open": "rp_pQOzEG_open",
|
|
11193
|
-
"error": "rp_pQOzEG_error",
|
|
11194
|
-
"text": "rp_pQOzEG_text",
|
|
11195
|
-
"editHeader": "rp_pQOzEG_editHeader",
|
|
11196
|
-
"viewport": "rp_pQOzEG_viewport",
|
|
11197
|
-
"editTitle": "rp_pQOzEG_editTitle",
|
|
11198
|
-
"field": "rp_pQOzEG_field",
|
|
11199
|
-
"label": "rp_pQOzEG_label",
|
|
11200
|
-
"page": "rp_pQOzEG_page",
|
|
11201
|
-
"summary": "rp_pQOzEG_summary",
|
|
11202
|
-
"message": "rp_pQOzEG_message",
|
|
11203
11202
|
"name": "rp_pQOzEG_name",
|
|
11204
|
-
"portrait": "rp_pQOzEG_portrait",
|
|
11205
11203
|
"grid": "rp_pQOzEG_grid",
|
|
11204
|
+
"viewport": "rp_pQOzEG_viewport",
|
|
11205
|
+
"message": "rp_pQOzEG_message",
|
|
11206
11206
|
"count": "rp_pQOzEG_count",
|
|
11207
|
-
"
|
|
11207
|
+
"editHeader": "rp_pQOzEG_editHeader",
|
|
11208
11208
|
"editBody": "rp_pQOzEG_editBody",
|
|
11209
|
-
"
|
|
11209
|
+
"text": "rp_pQOzEG_text",
|
|
11210
|
+
"summary": "rp_pQOzEG_summary",
|
|
11211
|
+
"error": "rp_pQOzEG_error",
|
|
11212
|
+
"editTitle": "rp_pQOzEG_editTitle",
|
|
11213
|
+
"field": "rp_pQOzEG_field",
|
|
11214
|
+
"form": "rp_pQOzEG_form",
|
|
11215
|
+
"label": "rp_pQOzEG_label",
|
|
11216
|
+
"portrait": "rp_pQOzEG_portrait"
|
|
11210
11217
|
};
|
|
11211
11218
|
// src/client/pages/avatars/AvatarsPage.tsx
|
|
11212
11219
|
const hueOf$2 = (name) => Array.from(name).reduce((hash, char) => (hash * 31 + char.charCodeAt(0)) % 360, 0);
|
|
@@ -11890,6 +11897,7 @@ window.__ModuleLoader__.load({
|
|
|
11890
11897
|
invalidPlayable: "A playable character must be a person and not a background character.",
|
|
11891
11898
|
invalidPriority: "A number from 0 to 1.",
|
|
11892
11899
|
back: "Back to the worlds",
|
|
11900
|
+
variableUpdate: "When and how it changes",
|
|
11893
11901
|
noPlaces: "This story has no places.",
|
|
11894
11902
|
noThings: "This story has no things.",
|
|
11895
11903
|
description: "Description",
|
|
@@ -12188,6 +12196,7 @@ window.__ModuleLoader__.load({
|
|
|
12188
12196
|
invalidPlayable: "可扮演的角色必须是个人,且不能是背景角色。",
|
|
12189
12197
|
invalidPriority: "请填 0 到 1 之间的数。",
|
|
12190
12198
|
back: "返回世界列表",
|
|
12199
|
+
variableUpdate: "何时、如何变化",
|
|
12191
12200
|
noPlaces: "这个故事没有地点。",
|
|
12192
12201
|
noThings: "这个故事没有物品。",
|
|
12193
12202
|
description: "描述",
|
|
@@ -12695,37 +12704,37 @@ window.__ModuleLoader__.load({
|
|
|
12695
12704
|
}
|
|
12696
12705
|
tag$26.textContent = css$26;
|
|
12697
12706
|
var LorebooksPage_module_css_default = {
|
|
12698
|
-
"
|
|
12699
|
-
"
|
|
12700
|
-
"
|
|
12701
|
-
"row": "rp_VV-Eha_row",
|
|
12702
|
-
"input": "rp_VV-Eha_input",
|
|
12703
|
-
"grid": "rp_VV-Eha_grid",
|
|
12704
|
-
"sectionTitle": "rp_VV-Eha_sectionTitle",
|
|
12705
|
-
"field": "rp_VV-Eha_field",
|
|
12706
|
-
"name": "rp_VV-Eha_name",
|
|
12707
|
-
"warning": "rp_VV-Eha_warning",
|
|
12708
|
-
"ok": "rp_VV-Eha_ok",
|
|
12709
|
-
"help": "rp_VV-Eha_help",
|
|
12710
|
-
"area": "rp_VV-Eha_area",
|
|
12707
|
+
"title": "rp_VV-Eha_title",
|
|
12708
|
+
"page": "rp_VV-Eha_page",
|
|
12709
|
+
"section": "rp_VV-Eha_section",
|
|
12711
12710
|
"meta": "rp_VV-Eha_meta",
|
|
12712
|
-
"toolbar": "rp_VV-Eha_toolbar",
|
|
12713
12711
|
"message": "rp_VV-Eha_message",
|
|
12714
12712
|
"form": "rp_VV-Eha_form",
|
|
12715
|
-
"editBody": "rp_VV-Eha_editBody",
|
|
12716
|
-
"editHeader": "rp_VV-Eha_editHeader",
|
|
12717
12713
|
"label": "rp_VV-Eha_label",
|
|
12718
|
-
"
|
|
12714
|
+
"editHeader": "rp_VV-Eha_editHeader",
|
|
12715
|
+
"toolbar": "rp_VV-Eha_toolbar",
|
|
12716
|
+
"viewport": "rp_VV-Eha_viewport",
|
|
12717
|
+
"input": "rp_VV-Eha_input",
|
|
12718
|
+
"cardActions": "rp_VV-Eha_cardActions",
|
|
12719
|
+
"ok": "rp_VV-Eha_ok",
|
|
12720
|
+
"field": "rp_VV-Eha_field",
|
|
12721
|
+
"editBody": "rp_VV-Eha_editBody",
|
|
12722
|
+
"description": "rp_VV-Eha_description",
|
|
12719
12723
|
"actions": "rp_VV-Eha_actions",
|
|
12720
|
-
"
|
|
12724
|
+
"help": "rp_VV-Eha_help",
|
|
12721
12725
|
"editTitle": "rp_VV-Eha_editTitle",
|
|
12722
|
-
"
|
|
12723
|
-
"
|
|
12726
|
+
"row": "rp_VV-Eha_row",
|
|
12727
|
+
"area": "rp_VV-Eha_area",
|
|
12724
12728
|
"select": "rp_VV-Eha_select",
|
|
12729
|
+
"grid": "rp_VV-Eha_grid",
|
|
12730
|
+
"card": "rp_VV-Eha_card",
|
|
12731
|
+
"error": "rp_VV-Eha_error",
|
|
12732
|
+
"sectionTitle": "rp_VV-Eha_sectionTitle",
|
|
12725
12733
|
"count": "rp_VV-Eha_count",
|
|
12726
|
-
"
|
|
12727
|
-
"
|
|
12728
|
-
"
|
|
12734
|
+
"entryArea": "rp_VV-Eha_entryArea",
|
|
12735
|
+
"name": "rp_VV-Eha_name",
|
|
12736
|
+
"head": "rp_VV-Eha_head",
|
|
12737
|
+
"warning": "rp_VV-Eha_warning"
|
|
12729
12738
|
};
|
|
12730
12739
|
// src/client/pages/lorebooks/LorebookEditor.tsx
|
|
12731
12740
|
const messageOf$9 = (failure) => failure instanceof Error ? failure.message : String(failure);
|
|
@@ -13764,35 +13773,35 @@ window.__ModuleLoader__.load({
|
|
|
13764
13773
|
}
|
|
13765
13774
|
tag$25.textContent = css$25;
|
|
13766
13775
|
var PresetsPage_module_css_default = {
|
|
13767
|
-
"ok": "rp_ZK89ba_ok",
|
|
13768
|
-
"meta": "rp_ZK89ba_meta",
|
|
13769
|
-
"toolbar": "rp_ZK89ba_toolbar",
|
|
13770
|
-
"viewport": "rp_ZK89ba_viewport",
|
|
13771
|
-
"section": "rp_ZK89ba_section",
|
|
13772
|
-
"page": "rp_ZK89ba_page",
|
|
13773
|
-
"message": "rp_ZK89ba_message",
|
|
13774
|
-
"row": "rp_ZK89ba_row",
|
|
13775
13776
|
"field": "rp_ZK89ba_field",
|
|
13776
|
-
"
|
|
13777
|
-
"
|
|
13778
|
-
"form": "rp_ZK89ba_form",
|
|
13779
|
-
"actions": "rp_ZK89ba_actions",
|
|
13780
|
-
"error": "rp_ZK89ba_error",
|
|
13781
|
-
"help": "rp_ZK89ba_help",
|
|
13782
|
-
"count": "rp_ZK89ba_count",
|
|
13783
|
-
"title": "rp_ZK89ba_title",
|
|
13784
|
-
"cardActions": "rp_ZK89ba_cardActions",
|
|
13785
|
-
"card": "rp_ZK89ba_card",
|
|
13777
|
+
"input": "rp_ZK89ba_input",
|
|
13778
|
+
"row": "rp_ZK89ba_row",
|
|
13786
13779
|
"name": "rp_ZK89ba_name",
|
|
13787
13780
|
"label": "rp_ZK89ba_label",
|
|
13781
|
+
"page": "rp_ZK89ba_page",
|
|
13782
|
+
"grid": "rp_ZK89ba_grid",
|
|
13783
|
+
"editBody": "rp_ZK89ba_editBody",
|
|
13784
|
+
"ok": "rp_ZK89ba_ok",
|
|
13785
|
+
"help": "rp_ZK89ba_help",
|
|
13786
|
+
"error": "rp_ZK89ba_error",
|
|
13787
|
+
"toolbar": "rp_ZK89ba_toolbar",
|
|
13788
|
+
"actions": "rp_ZK89ba_actions",
|
|
13789
|
+
"meta": "rp_ZK89ba_meta",
|
|
13788
13790
|
"area": "rp_ZK89ba_area",
|
|
13789
|
-
"
|
|
13791
|
+
"card": "rp_ZK89ba_card",
|
|
13792
|
+
"message": "rp_ZK89ba_message",
|
|
13793
|
+
"section": "rp_ZK89ba_section",
|
|
13794
|
+
"title": "rp_ZK89ba_title",
|
|
13795
|
+
"head": "rp_ZK89ba_head",
|
|
13796
|
+
"form": "rp_ZK89ba_form",
|
|
13790
13797
|
"description": "rp_ZK89ba_description",
|
|
13791
|
-
"
|
|
13798
|
+
"cardActions": "rp_ZK89ba_cardActions",
|
|
13799
|
+
"warning": "rp_ZK89ba_warning",
|
|
13800
|
+
"count": "rp_ZK89ba_count",
|
|
13801
|
+
"editHeader": "rp_ZK89ba_editHeader",
|
|
13802
|
+
"editTitle": "rp_ZK89ba_editTitle",
|
|
13792
13803
|
"sectionTitle": "rp_ZK89ba_sectionTitle",
|
|
13793
|
-
"
|
|
13794
|
-
"editBody": "rp_ZK89ba_editBody",
|
|
13795
|
-
"editTitle": "rp_ZK89ba_editTitle"
|
|
13804
|
+
"viewport": "rp_ZK89ba_viewport"
|
|
13796
13805
|
};
|
|
13797
13806
|
// src/client/pages/presets/PresetEditor.tsx
|
|
13798
13807
|
const messageOf$6 = (failure) => failure instanceof Error ? failure.message : String(failure);
|
|
@@ -14884,34 +14893,34 @@ window.__ModuleLoader__.load({
|
|
|
14884
14893
|
}
|
|
14885
14894
|
tag$24.textContent = css$24;
|
|
14886
14895
|
var PromptsPage_module_css_default = {
|
|
14887
|
-
"label": "rp_DLg_5G_label",
|
|
14888
|
-
"missing": "rp_DLg_5G_missing",
|
|
14889
|
-
"page": "rp_DLg_5G_page",
|
|
14890
|
-
"toolbar": "rp_DLg_5G_toolbar",
|
|
14891
|
-
"message": "rp_DLg_5G_message",
|
|
14892
|
-
"rowName": "rp_DLg_5G_rowName",
|
|
14893
|
-
"check": "rp_DLg_5G_check",
|
|
14894
|
-
"error": "rp_DLg_5G_error",
|
|
14895
|
-
"ok": "rp_DLg_5G_ok",
|
|
14896
|
-
"panes": "rp_DLg_5G_panes",
|
|
14897
14896
|
"actions": "rp_DLg_5G_actions",
|
|
14897
|
+
"count": "rp_DLg_5G_count",
|
|
14898
14898
|
"editBody": "rp_DLg_5G_editBody",
|
|
14899
|
+
"warning": "rp_DLg_5G_warning",
|
|
14900
|
+
"message": "rp_DLg_5G_message",
|
|
14901
|
+
"spacer": "rp_DLg_5G_spacer",
|
|
14899
14902
|
"viewport": "rp_DLg_5G_viewport",
|
|
14903
|
+
"check": "rp_DLg_5G_check",
|
|
14904
|
+
"group": "rp_DLg_5G_group",
|
|
14905
|
+
"ok": "rp_DLg_5G_ok",
|
|
14906
|
+
"page": "rp_DLg_5G_page",
|
|
14900
14907
|
"editHeader": "rp_DLg_5G_editHeader",
|
|
14901
|
-
"line": "rp_DLg_5G_line",
|
|
14902
|
-
"pane": "rp_DLg_5G_pane",
|
|
14903
|
-
"spacer": "rp_DLg_5G_spacer",
|
|
14904
|
-
"area": "rp_DLg_5G_area",
|
|
14905
|
-
"count": "rp_DLg_5G_count",
|
|
14906
14908
|
"row": "rp_DLg_5G_row",
|
|
14909
|
+
"sign": "rp_DLg_5G_sign",
|
|
14910
|
+
"rowName": "rp_DLg_5G_rowName",
|
|
14911
|
+
"area": "rp_DLg_5G_area",
|
|
14912
|
+
"shipped": "rp_DLg_5G_shipped",
|
|
14913
|
+
"line": "rp_DLg_5G_line",
|
|
14914
|
+
"editTitle": "rp_DLg_5G_editTitle",
|
|
14915
|
+
"label": "rp_DLg_5G_label",
|
|
14916
|
+
"rowLanguage": "rp_DLg_5G_rowLanguage",
|
|
14917
|
+
"toolbar": "rp_DLg_5G_toolbar",
|
|
14907
14918
|
"help": "rp_DLg_5G_help",
|
|
14919
|
+
"error": "rp_DLg_5G_error",
|
|
14920
|
+
"missing": "rp_DLg_5G_missing",
|
|
14908
14921
|
"list": "rp_DLg_5G_list",
|
|
14909
|
-
"
|
|
14910
|
-
"
|
|
14911
|
-
"editTitle": "rp_DLg_5G_editTitle",
|
|
14912
|
-
"shipped": "rp_DLg_5G_shipped",
|
|
14913
|
-
"group": "rp_DLg_5G_group",
|
|
14914
|
-
"sign": "rp_DLg_5G_sign"
|
|
14922
|
+
"panes": "rp_DLg_5G_panes",
|
|
14923
|
+
"pane": "rp_DLg_5G_pane"
|
|
14915
14924
|
};
|
|
14916
14925
|
// src/client/pages/prompts/PromptEditor.tsx
|
|
14917
14926
|
const messageOf$3 = (failure) => failure instanceof Error ? failure.message : String(failure);
|
|
@@ -15465,8 +15474,8 @@ window.__ModuleLoader__.load({
|
|
|
15465
15474
|
}
|
|
15466
15475
|
tag$23.textContent = css$23;
|
|
15467
15476
|
var Pager_module_css_default = {
|
|
15468
|
-
"
|
|
15469
|
-
"
|
|
15477
|
+
"position": "rp_KBAD0W_position",
|
|
15478
|
+
"pager": "rp_KBAD0W_pager"
|
|
15470
15479
|
};
|
|
15471
15480
|
// src/client/widgets/pager/Pager.tsx
|
|
15472
15481
|
/** Previous and next buttons around the current position; the owner supplies every label. */
|
|
@@ -15535,11 +15544,11 @@ window.__ModuleLoader__.load({
|
|
|
15535
15544
|
}
|
|
15536
15545
|
tag$21.textContent = css$21;
|
|
15537
15546
|
var DeleteSessionDialog_module_css_default = {
|
|
15538
|
-
"choice": "rp_FifHrW_choice",
|
|
15539
|
-
"warning": "rp_FifHrW_warning",
|
|
15540
15547
|
"error": "rp_FifHrW_error",
|
|
15541
15548
|
"body": "rp_FifHrW_body",
|
|
15542
|
-
"question": "rp_FifHrW_question"
|
|
15549
|
+
"question": "rp_FifHrW_question",
|
|
15550
|
+
"choice": "rp_FifHrW_choice",
|
|
15551
|
+
"warning": "rp_FifHrW_warning"
|
|
15543
15552
|
};
|
|
15544
15553
|
// src/client/pages/sessions/DeleteSessionDialog.tsx
|
|
15545
15554
|
/** Asks for confirmation before a session and everything saved with it is removed. */
|
|
@@ -16063,28 +16072,28 @@ window.__ModuleLoader__.load({
|
|
|
16063
16072
|
}
|
|
16064
16073
|
tag$20.textContent = css$20;
|
|
16065
16074
|
var SessionsPage_module_css_default = {
|
|
16066
|
-
"
|
|
16075
|
+
"notice": "rp_24z4eW_notice",
|
|
16076
|
+
"page": "rp_24z4eW_page",
|
|
16067
16077
|
"count": "rp_24z4eW_count",
|
|
16068
|
-
"
|
|
16078
|
+
"viewport": "rp_24z4eW_viewport",
|
|
16069
16079
|
"table": "rp_24z4eW_table",
|
|
16080
|
+
"nameColumn": "rp_24z4eW_nameColumn",
|
|
16081
|
+
"worldColumn": "rp_24z4eW_worldColumn",
|
|
16082
|
+
"secondary": "rp_24z4eW_secondary",
|
|
16083
|
+
"name": "rp_24z4eW_name",
|
|
16084
|
+
"actions": "rp_24z4eW_actions",
|
|
16085
|
+
"message": "rp_24z4eW_message",
|
|
16086
|
+
"timeColumn": "rp_24z4eW_timeColumn",
|
|
16070
16087
|
"archived": "rp_24z4eW_archived",
|
|
16071
16088
|
"badge": "rp_24z4eW_badge",
|
|
16072
|
-
"
|
|
16089
|
+
"spin": "rp_24z4eW_spin",
|
|
16073
16090
|
"fits": "rp_24z4eW_fits",
|
|
16074
|
-
"turnsColumn": "rp_24z4eW_turnsColumn",
|
|
16075
|
-
"secondary": "rp_24z4eW_secondary",
|
|
16076
|
-
"notice": "rp_24z4eW_notice",
|
|
16077
|
-
"scrolls": "rp_24z4eW_scrolls",
|
|
16078
16091
|
"actionsColumn": "rp_24z4eW_actionsColumn",
|
|
16079
|
-
"
|
|
16080
|
-
"message": "rp_24z4eW_message",
|
|
16092
|
+
"turnsColumn": "rp_24z4eW_turnsColumn",
|
|
16081
16093
|
"spinning": "rp_24z4eW_spinning",
|
|
16082
|
-
"viewport": "rp_24z4eW_viewport",
|
|
16083
|
-
"nameColumn": "rp_24z4eW_nameColumn",
|
|
16084
|
-
"worldColumn": "rp_24z4eW_worldColumn",
|
|
16085
16094
|
"number": "rp_24z4eW_number",
|
|
16086
16095
|
"toolbar": "rp_24z4eW_toolbar",
|
|
16087
|
-
"
|
|
16096
|
+
"scrolls": "rp_24z4eW_scrolls"
|
|
16088
16097
|
};
|
|
16089
16098
|
// src/client/pages/sessions/SessionsPage.tsx
|
|
16090
16099
|
/** The sessions as a table, one page at a time, the most recently played first. */
|
|
@@ -16505,29 +16514,29 @@ window.__ModuleLoader__.load({
|
|
|
16505
16514
|
}
|
|
16506
16515
|
tag$19.textContent = css$19;
|
|
16507
16516
|
var SyncPage_module_css_default = {
|
|
16508
|
-
"page": "rp_Gk-byG_page",
|
|
16509
|
-
"caption": "rp_Gk-byG_caption",
|
|
16510
|
-
"viewport": "rp_Gk-byG_viewport",
|
|
16511
|
-
"unit": "rp_Gk-byG_unit",
|
|
16512
|
-
"conflict": "rp_Gk-byG_conflict",
|
|
16513
|
-
"failed": "rp_Gk-byG_failed",
|
|
16514
|
-
"detail": "rp_Gk-byG_detail",
|
|
16515
16517
|
"meta": "rp_Gk-byG_meta",
|
|
16516
|
-
"
|
|
16517
|
-
"actions": "rp_Gk-byG_actions",
|
|
16518
|
-
"syncedColumn": "rp_Gk-byG_syncedColumn",
|
|
16518
|
+
"kindColumn": "rp_Gk-byG_kindColumn",
|
|
16519
16519
|
"actionsColumn": "rp_Gk-byG_actionsColumn",
|
|
16520
|
+
"failed": "rp_Gk-byG_failed",
|
|
16520
16521
|
"unitColumn": "rp_Gk-byG_unitColumn",
|
|
16522
|
+
"conflict": "rp_Gk-byG_conflict",
|
|
16521
16523
|
"choices": "rp_Gk-byG_choices",
|
|
16524
|
+
"caption": "rp_Gk-byG_caption",
|
|
16525
|
+
"message": "rp_Gk-byG_message",
|
|
16522
16526
|
"error": "rp_Gk-byG_error",
|
|
16523
|
-
"
|
|
16527
|
+
"syncedColumn": "rp_Gk-byG_syncedColumn",
|
|
16524
16528
|
"stateColumn": "rp_Gk-byG_stateColumn",
|
|
16529
|
+
"actions": "rp_Gk-byG_actions",
|
|
16530
|
+
"toolbar": "rp_Gk-byG_toolbar",
|
|
16531
|
+
"detail": "rp_Gk-byG_detail",
|
|
16525
16532
|
"actionHeading": "rp_Gk-byG_actionHeading",
|
|
16526
16533
|
"problem": "rp_Gk-byG_problem",
|
|
16527
|
-
"table": "rp_Gk-byG_table",
|
|
16528
16534
|
"detailsColumn": "rp_Gk-byG_detailsColumn",
|
|
16529
|
-
"
|
|
16530
|
-
"
|
|
16535
|
+
"table": "rp_Gk-byG_table",
|
|
16536
|
+
"page": "rp_Gk-byG_page",
|
|
16537
|
+
"viewport": "rp_Gk-byG_viewport",
|
|
16538
|
+
"unit": "rp_Gk-byG_unit",
|
|
16539
|
+
"confirmation": "rp_Gk-byG_confirmation"
|
|
16531
16540
|
};
|
|
16532
16541
|
// src/client/pages/sync/SyncPage.tsx
|
|
16533
16542
|
const when = (iso, never, locale) => iso === void 0 ? never : new Date(iso).toLocaleString(locale);
|
|
@@ -17040,16 +17049,16 @@ window.__ModuleLoader__.load({
|
|
|
17040
17049
|
}
|
|
17041
17050
|
tag$18.textContent = css$18;
|
|
17042
17051
|
var WorldCard_module_css_default = {
|
|
17043
|
-
"tag": "rp_Bvxx5q_tag",
|
|
17044
|
-
"info": "rp_Bvxx5q_info",
|
|
17045
|
-
"placeholder": "rp_Bvxx5q_placeholder",
|
|
17046
|
-
"card": "rp_Bvxx5q_card",
|
|
17047
17052
|
"name": "rp_Bvxx5q_name",
|
|
17048
|
-
"
|
|
17053
|
+
"card": "rp_Bvxx5q_card",
|
|
17049
17054
|
"tags": "rp_Bvxx5q_tags",
|
|
17050
|
-
"
|
|
17055
|
+
"placeholder": "rp_Bvxx5q_placeholder",
|
|
17056
|
+
"play": "rp_Bvxx5q_play",
|
|
17057
|
+
"info": "rp_Bvxx5q_info",
|
|
17051
17058
|
"openButton": "rp_Bvxx5q_openButton",
|
|
17052
|
-
"
|
|
17059
|
+
"cover": "rp_Bvxx5q_cover",
|
|
17060
|
+
"tag": "rp_Bvxx5q_tag",
|
|
17061
|
+
"image": "rp_Bvxx5q_image"
|
|
17053
17062
|
};
|
|
17054
17063
|
// src/client/widgets/world-card/WorldCard.tsx
|
|
17055
17064
|
/** Stable hue per name, so a world without a cover keeps the same colour. */
|
|
@@ -17146,10 +17155,10 @@ window.__ModuleLoader__.load({
|
|
|
17146
17155
|
}
|
|
17147
17156
|
tag$17.textContent = css$17;
|
|
17148
17157
|
var AvatarChoices_module_css_default = {
|
|
17149
|
-
"option": "rp_YCstOG_option",
|
|
17150
17158
|
"text": "rp_YCstOG_text",
|
|
17159
|
+
"summary": "rp_YCstOG_summary",
|
|
17151
17160
|
"name": "rp_YCstOG_name",
|
|
17152
|
-
"
|
|
17161
|
+
"option": "rp_YCstOG_option"
|
|
17153
17162
|
};
|
|
17154
17163
|
// src/client/widgets/avatar-choices/AvatarChoices.tsx
|
|
17155
17164
|
/** A list of avatars to tick: the ones brought into a world or a session. */
|
|
@@ -17189,16 +17198,16 @@ window.__ModuleLoader__.load({
|
|
|
17189
17198
|
var StartSessionDialog_module_css_default = {
|
|
17190
17199
|
"advancedToggle": "rp_AnbLKG_advancedToggle",
|
|
17191
17200
|
"form": "rp_AnbLKG_form",
|
|
17192
|
-
"
|
|
17201
|
+
"advancedBody": "rp_AnbLKG_advancedBody",
|
|
17193
17202
|
"optionName": "rp_AnbLKG_optionName",
|
|
17194
|
-
"field": "rp_AnbLKG_field",
|
|
17195
|
-
"message": "rp_AnbLKG_message",
|
|
17196
|
-
"advanced": "rp_AnbLKG_advanced",
|
|
17197
17203
|
"option": "rp_AnbLKG_option",
|
|
17198
17204
|
"error": "rp_AnbLKG_error",
|
|
17199
|
-
"
|
|
17200
|
-
"
|
|
17201
|
-
"label": "rp_AnbLKG_label"
|
|
17205
|
+
"message": "rp_AnbLKG_message",
|
|
17206
|
+
"advanced": "rp_AnbLKG_advanced",
|
|
17207
|
+
"label": "rp_AnbLKG_label",
|
|
17208
|
+
"field": "rp_AnbLKG_field",
|
|
17209
|
+
"optionText": "rp_AnbLKG_optionText",
|
|
17210
|
+
"optionSummary": "rp_AnbLKG_optionSummary"
|
|
17202
17211
|
};
|
|
17203
17212
|
// src/client/pages/worlds/AddAvatarsDialog.tsx
|
|
17204
17213
|
/** Asks which avatars become characters of a world's own files. */
|
|
@@ -17294,7 +17303,9 @@ window.__ModuleLoader__.load({
|
|
|
17294
17303
|
"agency",
|
|
17295
17304
|
"refusal",
|
|
17296
17305
|
"rules",
|
|
17297
|
-
"secrets"
|
|
17306
|
+
"secrets",
|
|
17307
|
+
"variables",
|
|
17308
|
+
"reuse"
|
|
17298
17309
|
];
|
|
17299
17310
|
const EXTRA_MODES = ["off", "on"];
|
|
17300
17311
|
/**
|
|
@@ -17342,7 +17353,7 @@ window.__ModuleLoader__.load({
|
|
|
17342
17353
|
options,
|
|
17343
17354
|
fallback
|
|
17344
17355
|
});
|
|
17345
|
-
const text$
|
|
17356
|
+
const text$2 = (max, fallback) => ({
|
|
17346
17357
|
kind: "text",
|
|
17347
17358
|
max,
|
|
17348
17359
|
fallback
|
|
@@ -17378,7 +17389,7 @@ window.__ModuleLoader__.load({
|
|
|
17378
17389
|
},
|
|
17379
17390
|
clock: {
|
|
17380
17391
|
mode: choice(CLOCK_MODES, "simulated"),
|
|
17381
|
-
timeZone: text$
|
|
17392
|
+
timeZone: text$2(64, ""),
|
|
17382
17393
|
roundSeconds: integer(0, 3600, 30),
|
|
17383
17394
|
maxSkipDays: integer(1, 3650, 30)
|
|
17384
17395
|
},
|
|
@@ -17408,8 +17419,8 @@ window.__ModuleLoader__.load({
|
|
|
17408
17419
|
shortMaxTokens: integer(256, 64e3, 2e3),
|
|
17409
17420
|
headroom: ratio(1, 10, 2)
|
|
17410
17421
|
},
|
|
17411
|
-
prompts: { language: text$
|
|
17412
|
-
reasoning: { children: text$
|
|
17422
|
+
prompts: { language: text$2(8, "en") },
|
|
17423
|
+
reasoning: { children: text$2(40, "") },
|
|
17413
17424
|
factions: {
|
|
17414
17425
|
perTurn: integer(0, 3, 1),
|
|
17415
17426
|
everyDays: integer(1, 365, 3)
|
|
@@ -17424,11 +17435,11 @@ window.__ModuleLoader__.load({
|
|
|
17424
17435
|
minNew: integer(1, 50, 4)
|
|
17425
17436
|
},
|
|
17426
17437
|
models: {
|
|
17427
|
-
characters: text$
|
|
17428
|
-
background: text$
|
|
17429
|
-
records: text$
|
|
17430
|
-
suggestions: text$
|
|
17431
|
-
authoring: text$
|
|
17438
|
+
characters: text$2(200, ""),
|
|
17439
|
+
background: text$2(200, ""),
|
|
17440
|
+
records: text$2(200, ""),
|
|
17441
|
+
suggestions: text$2(200, ""),
|
|
17442
|
+
authoring: text$2(200, "")
|
|
17432
17443
|
},
|
|
17433
17444
|
triggers: {
|
|
17434
17445
|
enabled: flag(true),
|
|
@@ -17444,15 +17455,17 @@ window.__ModuleLoader__.load({
|
|
|
17444
17455
|
refusal: choice(GATE_MODES, "off"),
|
|
17445
17456
|
rules: choice(EXTRA_MODES, "off"),
|
|
17446
17457
|
secrets: choice(EXTRA_MODES, "off"),
|
|
17458
|
+
variables: choice(GATE_MODES, "llm"),
|
|
17459
|
+
reuse: choice(EXTRA_MODES, "off"),
|
|
17447
17460
|
gateThreshold: ratio(.1, .95, .5),
|
|
17448
17461
|
confidence: ratio(0, 1, .7)
|
|
17449
17462
|
},
|
|
17450
|
-
interface: { pack: text$
|
|
17463
|
+
interface: { pack: text$2(60, "") },
|
|
17451
17464
|
rewind: {
|
|
17452
17465
|
keepSnapshots: integer(0, 500, 30),
|
|
17453
17466
|
rolls: choice(["reroll", "keep"], "reroll")
|
|
17454
17467
|
},
|
|
17455
|
-
rules: { own: text$
|
|
17468
|
+
rules: { own: text$2(MAX_OWN_RULES, "") },
|
|
17456
17469
|
preview: { enabled: flag(true) },
|
|
17457
17470
|
suggestions: { count: integer(0, 5, 3) },
|
|
17458
17471
|
images: {
|
|
@@ -17469,8 +17482,8 @@ window.__ModuleLoader__.load({
|
|
|
17469
17482
|
reuse: flag(true),
|
|
17470
17483
|
highRes: flag(false),
|
|
17471
17484
|
interpret: flag(true),
|
|
17472
|
-
interpreterModel: text$
|
|
17473
|
-
captioner: text$
|
|
17485
|
+
interpreterModel: text$2(200, ""),
|
|
17486
|
+
captioner: text$2(200, "")
|
|
17474
17487
|
},
|
|
17475
17488
|
dice: { visibility: choice(["hidden", "card"], "card") },
|
|
17476
17489
|
tools: switchboard(),
|
|
@@ -17848,6 +17861,47 @@ window.__ModuleLoader__.load({
|
|
|
17848
17861
|
}
|
|
17849
17862
|
]
|
|
17850
17863
|
},
|
|
17864
|
+
{
|
|
17865
|
+
path: ["decisions", "variables"],
|
|
17866
|
+
kind: "choice",
|
|
17867
|
+
label: "decisionsVariables",
|
|
17868
|
+
help: "decisionsVariablesHelp",
|
|
17869
|
+
choices: [
|
|
17870
|
+
{
|
|
17871
|
+
value: "off",
|
|
17872
|
+
label: "decisionOff"
|
|
17873
|
+
},
|
|
17874
|
+
{
|
|
17875
|
+
value: "llm",
|
|
17876
|
+
label: "decisionLlm"
|
|
17877
|
+
},
|
|
17878
|
+
{
|
|
17879
|
+
value: "decision",
|
|
17880
|
+
label: "decisionDecision"
|
|
17881
|
+
},
|
|
17882
|
+
{
|
|
17883
|
+
value: "hybrid",
|
|
17884
|
+
label: "decisionHybrid"
|
|
17885
|
+
},
|
|
17886
|
+
{
|
|
17887
|
+
value: "shadow",
|
|
17888
|
+
label: "decisionShadow"
|
|
17889
|
+
}
|
|
17890
|
+
]
|
|
17891
|
+
},
|
|
17892
|
+
{
|
|
17893
|
+
path: ["decisions", "reuse"],
|
|
17894
|
+
kind: "choice",
|
|
17895
|
+
label: "decisionsReuse",
|
|
17896
|
+
help: "decisionsReuseHelp",
|
|
17897
|
+
choices: [{
|
|
17898
|
+
value: "off",
|
|
17899
|
+
label: "decisionOff"
|
|
17900
|
+
}, {
|
|
17901
|
+
value: "on",
|
|
17902
|
+
label: "decisionOn"
|
|
17903
|
+
}]
|
|
17904
|
+
},
|
|
17851
17905
|
{
|
|
17852
17906
|
path: ["decisions", "rules"],
|
|
17853
17907
|
kind: "choice",
|
|
@@ -18310,7 +18364,7 @@ window.__ModuleLoader__.load({
|
|
|
18310
18364
|
}
|
|
18311
18365
|
return next;
|
|
18312
18366
|
}
|
|
18313
|
-
// ../../node_modules/.pnpm/@dsh-ai-providers+core@0.
|
|
18367
|
+
// ../../node_modules/.pnpm/@dsh-ai-providers+core@0.6.0_@deepseek-ai+cordis@4.0.5_@deepseek-ai+dsh-llm@0.2.2-rc.1_@deepseek-ai+cordis@4.0.5_/node_modules/@dsh-ai-providers/core/lib/index.js
|
|
18314
18368
|
/**
|
|
18315
18369
|
* The browser API of the main plugin, which the UI of the main plugin and of every vendor plugin
|
|
18316
18370
|
* uses. Paths are relative to the prefix, and the browser calls them with relative URLs so that a
|
|
@@ -18371,13 +18425,13 @@ window.__ModuleLoader__.load({
|
|
|
18371
18425
|
tag$15.textContent = css$15;
|
|
18372
18426
|
var SettingsFields_module_css_default = {
|
|
18373
18427
|
"error": "rp_Rhi3yq_error",
|
|
18374
|
-
"group": "rp_Rhi3yq_group",
|
|
18375
18428
|
"field": "rp_Rhi3yq_field",
|
|
18376
|
-
"help": "rp_Rhi3yq_help",
|
|
18377
|
-
"area": "rp_Rhi3yq_area",
|
|
18378
|
-
"groupTitle": "rp_Rhi3yq_groupTitle",
|
|
18379
18429
|
"label": "rp_Rhi3yq_label",
|
|
18380
|
-
"
|
|
18430
|
+
"groupTitle": "rp_Rhi3yq_groupTitle",
|
|
18431
|
+
"help": "rp_Rhi3yq_help",
|
|
18432
|
+
"row": "rp_Rhi3yq_row",
|
|
18433
|
+
"group": "rp_Rhi3yq_group",
|
|
18434
|
+
"area": "rp_Rhi3yq_area"
|
|
18381
18435
|
};
|
|
18382
18436
|
// src/client/settings-form/SettingsFields.tsx
|
|
18383
18437
|
/** The settings of a chat as editable fields: one control with its explanation under each. */
|
|
@@ -18678,10 +18732,10 @@ window.__ModuleLoader__.load({
|
|
|
18678
18732
|
}
|
|
18679
18733
|
tag$14.textContent = css$14;
|
|
18680
18734
|
var TranslateBanner_module_css_default = {
|
|
18735
|
+
"banner": "rp_Lx8vJa_banner",
|
|
18681
18736
|
"bannerActions": "rp_Lx8vJa_bannerActions",
|
|
18682
|
-
"text": "rp_Lx8vJa_text",
|
|
18683
18737
|
"error": "rp_Lx8vJa_error",
|
|
18684
|
-
"
|
|
18738
|
+
"text": "rp_Lx8vJa_text"
|
|
18685
18739
|
};
|
|
18686
18740
|
// src/client/pages/worlds/TranslateBanner.tsx
|
|
18687
18741
|
const languageName = (t, language) => language === "zh" ? t("languageChinese") : t("languageEnglish");
|
|
@@ -19304,25 +19358,25 @@ window.__ModuleLoader__.load({
|
|
|
19304
19358
|
tag$13.textContent = css$13;
|
|
19305
19359
|
var WorldsPage_module_css_default = {
|
|
19306
19360
|
"page": "rp_FHUyRq_page",
|
|
19307
|
-
"
|
|
19308
|
-
"toolbar": "rp_FHUyRq_toolbar",
|
|
19361
|
+
"spinning": "rp_FHUyRq_spinning",
|
|
19309
19362
|
"grid": "rp_FHUyRq_grid",
|
|
19310
|
-
"
|
|
19311
|
-
"starters": "rp_FHUyRq_starters",
|
|
19312
|
-
"scrolls": "rp_FHUyRq_scrolls",
|
|
19313
|
-
"count": "rp_FHUyRq_count",
|
|
19314
|
-
"notice": "rp_FHUyRq_notice",
|
|
19315
|
-
"editHeader": "rp_FHUyRq_editHeader",
|
|
19363
|
+
"info": "rp_FHUyRq_info",
|
|
19316
19364
|
"editTitle": "rp_FHUyRq_editTitle",
|
|
19317
|
-
"
|
|
19318
|
-
"
|
|
19319
|
-
"spin": "rp_FHUyRq_spin",
|
|
19320
|
-
"cell": "rp_FHUyRq_cell",
|
|
19365
|
+
"scrolls": "rp_FHUyRq_scrolls",
|
|
19366
|
+
"fits": "rp_FHUyRq_fits",
|
|
19321
19367
|
"editActions": "rp_FHUyRq_editActions",
|
|
19368
|
+
"toolbarActions": "rp_FHUyRq_toolbarActions",
|
|
19369
|
+
"editBody": "rp_FHUyRq_editBody",
|
|
19322
19370
|
"starter": "rp_FHUyRq_starter",
|
|
19323
|
-
"
|
|
19371
|
+
"toolbar": "rp_FHUyRq_toolbar",
|
|
19372
|
+
"cell": "rp_FHUyRq_cell",
|
|
19373
|
+
"spin": "rp_FHUyRq_spin",
|
|
19374
|
+
"message": "rp_FHUyRq_message",
|
|
19375
|
+
"count": "rp_FHUyRq_count",
|
|
19376
|
+
"editHeader": "rp_FHUyRq_editHeader",
|
|
19377
|
+
"starters": "rp_FHUyRq_starters",
|
|
19324
19378
|
"viewport": "rp_FHUyRq_viewport",
|
|
19325
|
-
"
|
|
19379
|
+
"notice": "rp_FHUyRq_notice"
|
|
19326
19380
|
};
|
|
19327
19381
|
// src/client/pages/worlds/StarterWorlds.tsx
|
|
19328
19382
|
/** The worlds that ship with the plugin and are not yet the person's, offered where the list of worlds is empty. */
|
|
@@ -20496,6 +20550,10 @@ window.__ModuleLoader__.load({
|
|
|
20496
20550
|
decisionsReflectionHelp: "Who checks whether what a character took in since contradicts one of their beliefs, before the reflection pass. The same choices as for trigger statements. Doubts are raised only on answers the decision model is sure of.",
|
|
20497
20551
|
decisionsAgency: "Checking the narration for speaking for you",
|
|
20498
20552
|
decisionsAgencyHelp: "Checks each narration for words, actions, thoughts or feelings given to your character that your message did not state, and sends it back to the game master to rewrite (at most twice, then it is delivered as it is). Off by default: a check costs a request to the language model or a fast call to a decision model in every turn. The choices are the same as for trigger statements; the decision model counts a fault only when it is sure.",
|
|
20553
|
+
decisionsVariables: "Looking at the tracked values after each turn",
|
|
20554
|
+
decisionsVariablesHelp: "After each turn, asks about every value the story tracks (fatigue, unrest, an injury) and the people it applies to whether what happened changed it, and sets the new value of those that did. The game master changes a value only when it thinks of it; this makes sure each one is looked at. Each value should say in its description when and how it changes. Language model: one request. Decision model: one cheap question for each value. Off by default.",
|
|
20555
|
+
decisionsReuse: "Showing a stored picture when it fits",
|
|
20556
|
+
decisionsReuseHelp: "Before a scene picture is made on its own after a turn, the decision model is asked about the description of each close stored picture (those you brought and those marked reusable): does it show this moment? If one does, it is shown again and nothing is made. Without a decision model nothing changes. Off by default.",
|
|
20499
20557
|
decisionsRefusal: "Checking the output for stepping out of the story",
|
|
20500
20558
|
decisionsRefusalHelp: "Checks each output for a refusal to continue, an apology, a content warning, a disclaimer or a remark to you outside the story, which some hosted models add, and sends it back to the game master to write as the story (at most twice, then it is delivered as it is). Off by default. The same choices as for the check above.",
|
|
20501
20559
|
decisionsRules: "Checking actions against the rules",
|
|
@@ -20709,6 +20767,10 @@ window.__ModuleLoader__.load({
|
|
|
20709
20767
|
decisionsReflectionHelp: "由谁在反思之前检查角色此后接收到的内容是否与其某个信念矛盾。选项与触发器陈述相同。只有决策模型有把握的答案才会引起怀疑。",
|
|
20710
20768
|
decisionsAgency: "检查叙述是否替你说话",
|
|
20711
20769
|
decisionsAgencyHelp: "检查每段叙述是否给了你的角色你的消息中没有写到的话语、动作、想法或感受,如有则退回给游戏主持人重写(最多两次,之后原样交付)。默认关闭:每个回合都要多一次语言模型请求,或一次决策模型的快速调用。选项与触发器陈述相同;决策模型只在有把握时才认定有问题。",
|
|
20770
|
+
decisionsVariables: "每回合之后检查被追踪的数值",
|
|
20771
|
+
decisionsVariablesHelp: "每个回合之后,针对故事追踪的每个数值(疲劳、骚动、伤势)和它适用的每个人,询问刚才发生的事是否改变了它,并为改变了的数值设定新值。主持人只有想到时才会改动数值;这样可以保证每个数值都被检查到。每个数值的描述里最好写明它何时、如何变化。语言模型:一次请求。决策模型:每个数值一个廉价的问题。默认关闭。",
|
|
20772
|
+
decisionsReuse: "有合适的已存图片就直接展示",
|
|
20773
|
+
decisionsReuseHelp: "回合结束后自动生成场景图之前,先让决策模型逐个判断相近的已存图片(你上传的和标记为可复用的)的描述:它是否表现了这一刻?如果有,就再次展示它,不再生成。没有决策模型时不起作用。默认关闭。",
|
|
20712
20774
|
decisionsRefusal: "检查输出是否跳出了故事",
|
|
20713
20775
|
decisionsRefusalHelp: "检查每次输出里有没有拒绝继续、道歉、内容警告、免责声明或对你说的故事之外的话(有些托管模型会加上这些),如有则退回给游戏主持人按故事重写(最多两次,之后原样交付)。默认关闭。选项与上一项相同。",
|
|
20714
20776
|
decisionsRules: "按规则检查行动",
|
|
@@ -21491,10 +21553,10 @@ window.__ModuleLoader__.load({
|
|
|
21491
21553
|
}
|
|
21492
21554
|
tag$12.textContent = css$12;
|
|
21493
21555
|
var BranchDialog_module_css_default = {
|
|
21494
|
-
"
|
|
21495
|
-
"label": "rp_Dy1TaW_label",
|
|
21556
|
+
"field": "rp_Dy1TaW_field",
|
|
21496
21557
|
"form": "rp_Dy1TaW_form",
|
|
21497
|
-
"
|
|
21558
|
+
"error": "rp_Dy1TaW_error",
|
|
21559
|
+
"label": "rp_Dy1TaW_label"
|
|
21498
21560
|
};
|
|
21499
21561
|
// src/client/branch/BranchDialog.tsx
|
|
21500
21562
|
/** Asks for the name of a session that was just branched off another. */
|
|
@@ -21612,12 +21674,12 @@ window.__ModuleLoader__.load({
|
|
|
21612
21674
|
}
|
|
21613
21675
|
tag$11.textContent = css$11;
|
|
21614
21676
|
var SidebarGuideEntry_module_css_default = {
|
|
21615
|
-
"
|
|
21677
|
+
"entry": "rp_Okaj1q_entry",
|
|
21616
21678
|
"main": "rp_Okaj1q_main",
|
|
21617
21679
|
"icon": "rp_Okaj1q_icon",
|
|
21618
|
-
"
|
|
21619
|
-
"
|
|
21620
|
-
"
|
|
21680
|
+
"text": "rp_Okaj1q_text",
|
|
21681
|
+
"title": "rp_Okaj1q_title",
|
|
21682
|
+
"description": "rp_Okaj1q_description"
|
|
21621
21683
|
};
|
|
21622
21684
|
// src/client/widgets/sidebar-guide/SidebarGuideEntry.tsx
|
|
21623
21685
|
/** A card of the right sidebar's new-tab guide, drawn like DSH's own entries. */
|
|
@@ -22055,17 +22117,17 @@ window.__ModuleLoader__.load({
|
|
|
22055
22117
|
}
|
|
22056
22118
|
tag$9.textContent = css$9;
|
|
22057
22119
|
var SidebarPage_module_css_default = {
|
|
22058
|
-
"bar": "rp_Ptco8a_bar",
|
|
22059
|
-
"content": "rp_Ptco8a_content",
|
|
22060
|
-
"page": "rp_Ptco8a_page",
|
|
22061
22120
|
"main": "rp_Ptco8a_main",
|
|
22062
|
-
"entry": "rp_Ptco8a_entry",
|
|
22063
22121
|
"icon": "rp_Ptco8a_icon",
|
|
22064
22122
|
"text": "rp_Ptco8a_text",
|
|
22065
|
-
"title": "rp_Ptco8a_title",
|
|
22066
22123
|
"description": "rp_Ptco8a_description",
|
|
22124
|
+
"page": "rp_Ptco8a_page",
|
|
22125
|
+
"content": "rp_Ptco8a_content",
|
|
22126
|
+
"bar": "rp_Ptco8a_bar",
|
|
22067
22127
|
"message": "rp_Ptco8a_message",
|
|
22068
|
-
"
|
|
22128
|
+
"title": "rp_Ptco8a_title",
|
|
22129
|
+
"name": "rp_Ptco8a_name",
|
|
22130
|
+
"entry": "rp_Ptco8a_entry"
|
|
22069
22131
|
};
|
|
22070
22132
|
// src/client/interface/SidebarPage.tsx
|
|
22071
22133
|
/** The kind of the tab type, and the identity it registers its card and body under. */
|
|
@@ -22405,24 +22467,24 @@ window.__ModuleLoader__.load({
|
|
|
22405
22467
|
}
|
|
22406
22468
|
tag$8.textContent = css$8;
|
|
22407
22469
|
var RecallTab_module_css_default = {
|
|
22408
|
-
"
|
|
22409
|
-
"
|
|
22410
|
-
"
|
|
22470
|
+
"person": "rp_jl9CIq_person",
|
|
22471
|
+
"form": "rp_jl9CIq_form",
|
|
22472
|
+
"error": "rp_jl9CIq_error",
|
|
22473
|
+
"field": "rp_jl9CIq_field",
|
|
22411
22474
|
"area": "rp_jl9CIq_area",
|
|
22412
|
-
"name": "rp_jl9CIq_name",
|
|
22413
|
-
"note": "rp_jl9CIq_note",
|
|
22414
22475
|
"page": "rp_jl9CIq_page",
|
|
22415
|
-
"form": "rp_jl9CIq_form",
|
|
22416
|
-
"hint": "rp_jl9CIq_hint",
|
|
22417
22476
|
"body": "rp_jl9CIq_body",
|
|
22418
|
-
"
|
|
22419
|
-
"
|
|
22477
|
+
"name": "rp_jl9CIq_name",
|
|
22478
|
+
"actions": "rp_jl9CIq_actions",
|
|
22479
|
+
"bar": "rp_jl9CIq_bar",
|
|
22480
|
+
"hint": "rp_jl9CIq_hint",
|
|
22481
|
+
"note": "rp_jl9CIq_note",
|
|
22482
|
+
"list": "rp_jl9CIq_list",
|
|
22483
|
+
"place": "rp_jl9CIq_place",
|
|
22420
22484
|
"item": "rp_jl9CIq_item",
|
|
22421
22485
|
"heading": "rp_jl9CIq_heading",
|
|
22422
|
-
"list": "rp_jl9CIq_list",
|
|
22423
22486
|
"meta": "rp_jl9CIq_meta",
|
|
22424
|
-
"
|
|
22425
|
-
"error": "rp_jl9CIq_error"
|
|
22487
|
+
"label": "rp_jl9CIq_label"
|
|
22426
22488
|
};
|
|
22427
22489
|
// src/client/recall/RecallTab.tsx
|
|
22428
22490
|
/** The kind of the tab type, and the identity it registers its card and body under. */
|
|
@@ -22818,11 +22880,11 @@ window.__ModuleLoader__.load({
|
|
|
22818
22880
|
}
|
|
22819
22881
|
tag$7.textContent = css$7;
|
|
22820
22882
|
var ReferenceTab_module_css_default = {
|
|
22821
|
-
"
|
|
22883
|
+
"message": "rp_7BGO2a_message",
|
|
22822
22884
|
"page": "rp_7BGO2a_page",
|
|
22823
|
-
"
|
|
22885
|
+
"body": "rp_7BGO2a_body",
|
|
22824
22886
|
"nav": "rp_7BGO2a_nav",
|
|
22825
|
-
"
|
|
22887
|
+
"bar": "rp_7BGO2a_bar"
|
|
22826
22888
|
};
|
|
22827
22889
|
// src/client/reference/ReferenceTab.tsx
|
|
22828
22890
|
/** The kind of the tab type, and the identity it registers its card and body under. */
|
|
@@ -22942,28 +23004,28 @@ window.__ModuleLoader__.load({
|
|
|
22942
23004
|
}
|
|
22943
23005
|
tag$6.textContent = css$6;
|
|
22944
23006
|
var Page_module_css_default = {
|
|
22945
|
-
"
|
|
23007
|
+
"entry": "rp_bG1sCa_entry",
|
|
22946
23008
|
"list": "rp_bG1sCa_list",
|
|
22947
|
-
"journal": "rp_bG1sCa_journal",
|
|
22948
|
-
"sub": "rp_bG1sCa_sub",
|
|
22949
23009
|
"text": "rp_bG1sCa_text",
|
|
22950
|
-
"
|
|
22951
|
-
"here": "rp_bG1sCa_here",
|
|
22952
|
-
"tag": "rp_bG1sCa_tag",
|
|
22953
|
-
"link": "rp_bG1sCa_link",
|
|
22954
|
-
"message": "rp_bG1sCa_message",
|
|
23010
|
+
"meta": "rp_bG1sCa_meta",
|
|
22955
23011
|
"heading": "rp_bG1sCa_heading",
|
|
23012
|
+
"notes": "rp_bG1sCa_notes",
|
|
23013
|
+
"way": "rp_bG1sCa_way",
|
|
23014
|
+
"sub": "rp_bG1sCa_sub",
|
|
23015
|
+
"link": "rp_bG1sCa_link",
|
|
22956
23016
|
"opened": "rp_bG1sCa_opened",
|
|
22957
|
-
"
|
|
23017
|
+
"tag": "rp_bG1sCa_tag",
|
|
22958
23018
|
"place": "rp_bG1sCa_place",
|
|
23019
|
+
"placeName": "rp_bG1sCa_placeName",
|
|
23020
|
+
"head": "rp_bG1sCa_head",
|
|
23021
|
+
"message": "rp_bG1sCa_message",
|
|
22959
23022
|
"name": "rp_bG1sCa_name",
|
|
22960
23023
|
"title": "rp_bG1sCa_title",
|
|
23024
|
+
"block": "rp_bG1sCa_block",
|
|
22961
23025
|
"closedWay": "rp_bG1sCa_closedWay",
|
|
22962
|
-
"
|
|
22963
|
-
"
|
|
22964
|
-
"
|
|
22965
|
-
"notes": "rp_bG1sCa_notes",
|
|
22966
|
-
"entry": "rp_bG1sCa_entry"
|
|
23026
|
+
"here": "rp_bG1sCa_here",
|
|
23027
|
+
"journal": "rp_bG1sCa_journal",
|
|
23028
|
+
"map": "rp_bG1sCa_map"
|
|
22967
23029
|
};
|
|
22968
23030
|
// src/client/reference/sections/Journal.tsx
|
|
22969
23031
|
/** How long typing pauses before the notes are saved. */
|
|
@@ -24003,28 +24065,28 @@ window.__ModuleLoader__.load({
|
|
|
24003
24065
|
}
|
|
24004
24066
|
tag$5.textContent = css$5;
|
|
24005
24067
|
var ChatSettingsView_module_css_default = {
|
|
24006
|
-
"error": "rp_wLpbxW_error",
|
|
24007
|
-
"activityBody": "rp_wLpbxW_activityBody",
|
|
24008
|
-
"label": "rp_wLpbxW_label",
|
|
24009
|
-
"reasons": "rp_wLpbxW_reasons",
|
|
24010
|
-
"select": "rp_wLpbxW_select",
|
|
24011
|
-
"title": "rp_wLpbxW_title",
|
|
24012
24068
|
"link": "rp_wLpbxW_link",
|
|
24013
|
-
"
|
|
24014
|
-
"
|
|
24015
|
-
"help": "rp_wLpbxW_help",
|
|
24069
|
+
"title": "rp_wLpbxW_title",
|
|
24070
|
+
"field": "rp_wLpbxW_field",
|
|
24016
24071
|
"activity": "rp_wLpbxW_activity",
|
|
24017
|
-
"
|
|
24018
|
-
"view": "rp_wLpbxW_view",
|
|
24019
|
-
"notice": "rp_wLpbxW_notice",
|
|
24072
|
+
"reasons": "rp_wLpbxW_reasons",
|
|
24020
24073
|
"saved": "rp_wLpbxW_saved",
|
|
24021
24074
|
"pre": "rp_wLpbxW_pre",
|
|
24022
|
-
"run": "rp_wLpbxW_run",
|
|
24023
|
-
"table": "rp_wLpbxW_table",
|
|
24024
24075
|
"actions": "rp_wLpbxW_actions",
|
|
24076
|
+
"list": "rp_wLpbxW_list",
|
|
24077
|
+
"label": "rp_wLpbxW_label",
|
|
24078
|
+
"help": "rp_wLpbxW_help",
|
|
24079
|
+
"message": "rp_wLpbxW_message",
|
|
24080
|
+
"table": "rp_wLpbxW_table",
|
|
24081
|
+
"run": "rp_wLpbxW_run",
|
|
24082
|
+
"error": "rp_wLpbxW_error",
|
|
24083
|
+
"view": "rp_wLpbxW_view",
|
|
24025
24084
|
"row": "rp_wLpbxW_row",
|
|
24085
|
+
"notice": "rp_wLpbxW_notice",
|
|
24086
|
+
"activityBody": "rp_wLpbxW_activityBody",
|
|
24087
|
+
"tableViewport": "rp_wLpbxW_tableViewport",
|
|
24026
24088
|
"description": "rp_wLpbxW_description",
|
|
24027
|
-
"
|
|
24089
|
+
"select": "rp_wLpbxW_select"
|
|
24028
24090
|
};
|
|
24029
24091
|
// src/client/chat-settings/settings-api.ts
|
|
24030
24092
|
/** The chat is not a roleplay session, so it has no settings. */
|
|
@@ -24152,6 +24214,8 @@ window.__ModuleLoader__.load({
|
|
|
24152
24214
|
on: "decisionOn"
|
|
24153
24215
|
};
|
|
24154
24216
|
const SITE_LABEL = {
|
|
24217
|
+
reuse: "decisionsSiteReuse",
|
|
24218
|
+
variables: "decisionsSiteVariables",
|
|
24155
24219
|
triggers: "decisionsSiteTriggers",
|
|
24156
24220
|
reflection: "decisionsSiteReflection",
|
|
24157
24221
|
agency: "decisionsSiteAgency",
|
|
@@ -26000,6 +26064,8 @@ window.__ModuleLoader__.load({
|
|
|
26000
26064
|
decisionsAgreement: "Agreement",
|
|
26001
26065
|
decisionsDecisionTime: "Decision model per run",
|
|
26002
26066
|
decisionsLlmTime: "Language model per run",
|
|
26067
|
+
decisionsSiteVariables: "Tracked values",
|
|
26068
|
+
decisionsSiteReuse: "Stored pictures",
|
|
26003
26069
|
decisionsSiteTriggers: "Trigger statements",
|
|
26004
26070
|
decisionsSiteReflection: "Belief checks",
|
|
26005
26071
|
decisionsSiteAgency: "Narration speaking for you",
|
|
@@ -26209,6 +26275,8 @@ window.__ModuleLoader__.load({
|
|
|
26209
26275
|
decisionsAgreement: "一致率",
|
|
26210
26276
|
decisionsDecisionTime: "决策模型每次",
|
|
26211
26277
|
decisionsLlmTime: "语言模型每次",
|
|
26278
|
+
decisionsSiteVariables: "被追踪的数值",
|
|
26279
|
+
decisionsSiteReuse: "已存图片",
|
|
26212
26280
|
decisionsSiteTriggers: "触发器陈述",
|
|
26213
26281
|
decisionsSiteReflection: "信念检查",
|
|
26214
26282
|
decisionsSiteAgency: "叙述替你说话",
|
|
@@ -26436,16 +26504,16 @@ window.__ModuleLoader__.load({
|
|
|
26436
26504
|
}
|
|
26437
26505
|
tag$4.textContent = css$4;
|
|
26438
26506
|
var CatalogueSettings_module_css_default = {
|
|
26507
|
+
"row": "rp_KPhXDa_row",
|
|
26439
26508
|
"title": "rp_KPhXDa_title",
|
|
26440
|
-
"
|
|
26509
|
+
"keyArea": "rp_KPhXDa_keyArea",
|
|
26510
|
+
"label": "rp_KPhXDa_label",
|
|
26441
26511
|
"actions": "rp_KPhXDa_actions",
|
|
26442
26512
|
"problem": "rp_KPhXDa_problem",
|
|
26443
|
-
"keyHint": "rp_KPhXDa_keyHint",
|
|
26444
|
-
"field": "rp_KPhXDa_field",
|
|
26445
|
-
"row": "rp_KPhXDa_row",
|
|
26446
|
-
"label": "rp_KPhXDa_label",
|
|
26447
26513
|
"section": "rp_KPhXDa_section",
|
|
26448
|
-
"
|
|
26514
|
+
"keyHint": "rp_KPhXDa_keyHint",
|
|
26515
|
+
"hint": "rp_KPhXDa_hint",
|
|
26516
|
+
"field": "rp_KPhXDa_field"
|
|
26449
26517
|
};
|
|
26450
26518
|
// src/client/settings/AuthoringToolSettings.tsx
|
|
26451
26519
|
const boardOf = (text) => {
|
|
@@ -26678,17 +26746,17 @@ window.__ModuleLoader__.load({
|
|
|
26678
26746
|
tag$3.textContent = css$3;
|
|
26679
26747
|
var AssistantSettings_module_css_default = {
|
|
26680
26748
|
"head": "rp_ZwzM4q_head",
|
|
26681
|
-
"fieldHint": "rp_ZwzM4q_fieldHint",
|
|
26682
26749
|
"badges": "rp_ZwzM4q_badges",
|
|
26683
26750
|
"label": "rp_ZwzM4q_label",
|
|
26684
|
-
"invalid": "rp_ZwzM4q_invalid",
|
|
26685
|
-
"title": "rp_ZwzM4q_title",
|
|
26686
|
-
"fields": "rp_ZwzM4q_fields",
|
|
26687
26751
|
"reset": "rp_ZwzM4q_reset",
|
|
26688
26752
|
"select": "rp_ZwzM4q_select",
|
|
26753
|
+
"title": "rp_ZwzM4q_title",
|
|
26689
26754
|
"section": "rp_ZwzM4q_section",
|
|
26690
|
-
"
|
|
26691
|
-
"
|
|
26755
|
+
"invalid": "rp_ZwzM4q_invalid",
|
|
26756
|
+
"fields": "rp_ZwzM4q_fields",
|
|
26757
|
+
"fieldHint": "rp_ZwzM4q_fieldHint",
|
|
26758
|
+
"field": "rp_ZwzM4q_field",
|
|
26759
|
+
"hint": "rp_ZwzM4q_hint"
|
|
26692
26760
|
};
|
|
26693
26761
|
// src/client/settings/AssistantSettings.tsx
|
|
26694
26762
|
function ChoiceField({ t, spec, state, disabled, onEdit, onReset }) {
|
|
@@ -27123,6 +27191,250 @@ window.__ModuleLoader__.load({
|
|
|
27123
27191
|
]
|
|
27124
27192
|
});
|
|
27125
27193
|
}
|
|
27194
|
+
// src/shared/offload.ts
|
|
27195
|
+
/** The kinds of model a story uses that may have to share one machine's memory. `main` is whatever model the chat itself is set to. */
|
|
27196
|
+
const OFFLOAD_ROLES = [
|
|
27197
|
+
"main",
|
|
27198
|
+
"embedding",
|
|
27199
|
+
"reranker",
|
|
27200
|
+
"decision",
|
|
27201
|
+
"image",
|
|
27202
|
+
"speech"
|
|
27203
|
+
];
|
|
27204
|
+
const isRole = (value) => OFFLOAD_ROLES.includes(value);
|
|
27205
|
+
const text$1 = (value) => typeof value === "string" ? value.trim() : "";
|
|
27206
|
+
/** The configuration as written, brought to its shape: unknown roles and blank entries are dropped, a group lists each role once and has at least two. */
|
|
27207
|
+
function offloadOf(value) {
|
|
27208
|
+
const row = typeof value === "object" && value !== null ? value : {};
|
|
27209
|
+
const models = {};
|
|
27210
|
+
const given = typeof row["models"] === "object" && row["models"] !== null ? row["models"] : {};
|
|
27211
|
+
for (const role of OFFLOAD_ROLES) {
|
|
27212
|
+
if (role === "main") continue;
|
|
27213
|
+
const entry = given[role];
|
|
27214
|
+
if (typeof entry !== "object" || entry === null) continue;
|
|
27215
|
+
const route = text$1(entry["route"]);
|
|
27216
|
+
const model = text$1(entry["model"]);
|
|
27217
|
+
if (route !== "" || model !== "") models[role] = {
|
|
27218
|
+
route,
|
|
27219
|
+
model
|
|
27220
|
+
};
|
|
27221
|
+
}
|
|
27222
|
+
return {
|
|
27223
|
+
models,
|
|
27224
|
+
groups: (Array.isArray(row["groups"]) ? row["groups"] : []).map((group) => OFFLOAD_ROLES.filter((role) => Array.isArray(group) && group.some((member) => isRole(member) && member === role))).filter((group) => group.length >= 2)
|
|
27225
|
+
};
|
|
27226
|
+
}
|
|
27227
|
+
/** What stops the setting from working: a role in a group needs the route and the model it is served as. The first one found, or none. */
|
|
27228
|
+
function offloadProblem(config) {
|
|
27229
|
+
for (const role of OFFLOAD_ROLES) {
|
|
27230
|
+
if (role === "main" || !config.groups.some((group) => group.includes(role))) continue;
|
|
27231
|
+
const model = config.models[role];
|
|
27232
|
+
if (model === void 0 || model.route === "") return {
|
|
27233
|
+
role,
|
|
27234
|
+
missing: "route"
|
|
27235
|
+
};
|
|
27236
|
+
if (model.model === "") return {
|
|
27237
|
+
role,
|
|
27238
|
+
missing: "model"
|
|
27239
|
+
};
|
|
27240
|
+
}
|
|
27241
|
+
}
|
|
27242
|
+
// src/client/settings/offload.ts
|
|
27243
|
+
/** The roles that are served as a model of their own; `main` is the chat's. */
|
|
27244
|
+
const SERVED_ROLES = OFFLOAD_ROLES.filter((role) => role !== "main");
|
|
27245
|
+
const roleOf = (value) => OFFLOAD_ROLES.includes(value);
|
|
27246
|
+
/** The draft of the setting is its JSON text, written only by the form; what is not a role or a text is left out. */
|
|
27247
|
+
function offloadDraftOf(text) {
|
|
27248
|
+
let value;
|
|
27249
|
+
try {
|
|
27250
|
+
value = JSON.parse(text === "" ? "{}" : text);
|
|
27251
|
+
} catch {
|
|
27252
|
+
value = {};
|
|
27253
|
+
}
|
|
27254
|
+
const row = typeof value === "object" && value !== null ? value : {};
|
|
27255
|
+
const given = typeof row["models"] === "object" && row["models"] !== null ? row["models"] : {};
|
|
27256
|
+
const models = {};
|
|
27257
|
+
for (const role of SERVED_ROLES) {
|
|
27258
|
+
const entry = given[role];
|
|
27259
|
+
if (typeof entry !== "object" || entry === null) continue;
|
|
27260
|
+
const { route, model } = entry;
|
|
27261
|
+
models[role] = {
|
|
27262
|
+
route: typeof route === "string" ? route : "",
|
|
27263
|
+
model: typeof model === "string" ? model : ""
|
|
27264
|
+
};
|
|
27265
|
+
}
|
|
27266
|
+
return {
|
|
27267
|
+
models,
|
|
27268
|
+
groups: (Array.isArray(row["groups"]) ? row["groups"] : []).map((group) => Array.isArray(group) ? group.filter(roleOf) : [])
|
|
27269
|
+
};
|
|
27270
|
+
}
|
|
27271
|
+
const offloadProblemOf = (draft) => offloadProblem(offloadOf(draft));
|
|
27272
|
+
const offloadField = {
|
|
27273
|
+
field: "offload",
|
|
27274
|
+
format: (value) => JSON.stringify(offloadOf(value)),
|
|
27275
|
+
parse: (text) => {
|
|
27276
|
+
const config = offloadOf(offloadDraftOf(text));
|
|
27277
|
+
if (offloadProblem(config) !== void 0) return void 0;
|
|
27278
|
+
return config.groups.length === 0 ? { kind: "clear" } : {
|
|
27279
|
+
kind: "set",
|
|
27280
|
+
value: config
|
|
27281
|
+
};
|
|
27282
|
+
}
|
|
27283
|
+
};
|
|
27284
|
+
// src/client/settings/OffloadSettings.tsx
|
|
27285
|
+
const ROLE_TEXT = {
|
|
27286
|
+
main: "offloadRole_main",
|
|
27287
|
+
embedding: "offloadRole_embedding",
|
|
27288
|
+
reranker: "offloadRole_reranker",
|
|
27289
|
+
decision: "offloadRole_decision",
|
|
27290
|
+
image: "offloadRole_image",
|
|
27291
|
+
speech: "offloadRole_speech"
|
|
27292
|
+
};
|
|
27293
|
+
/**
|
|
27294
|
+
* Which models cannot stay loaded together. Each group is a set of roles of which only one is kept in memory: before one is used the others are
|
|
27295
|
+
* unloaded from the server. A role that is in a group also says where it is served.
|
|
27296
|
+
*/
|
|
27297
|
+
function OffloadSettings({ t, text, disabled, onEdit }) {
|
|
27298
|
+
const draft = offloadDraftOf(text);
|
|
27299
|
+
const write = (next) => {
|
|
27300
|
+
onEdit(JSON.stringify(next));
|
|
27301
|
+
};
|
|
27302
|
+
const problem = offloadProblemOf(draft);
|
|
27303
|
+
const grouped = new Set(draft.groups.flat());
|
|
27304
|
+
const toggle = (index, role, on) => {
|
|
27305
|
+
write({
|
|
27306
|
+
...draft,
|
|
27307
|
+
groups: draft.groups.map((group, at) => at !== index ? group : OFFLOAD_ROLES.filter((member) => member === role ? on : group.includes(member)))
|
|
27308
|
+
});
|
|
27309
|
+
};
|
|
27310
|
+
const place = (role, patch) => {
|
|
27311
|
+
write({
|
|
27312
|
+
...draft,
|
|
27313
|
+
models: {
|
|
27314
|
+
...draft.models,
|
|
27315
|
+
[role]: {
|
|
27316
|
+
route: "",
|
|
27317
|
+
model: "",
|
|
27318
|
+
...draft.models[role],
|
|
27319
|
+
...patch
|
|
27320
|
+
}
|
|
27321
|
+
}
|
|
27322
|
+
});
|
|
27323
|
+
};
|
|
27324
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
27325
|
+
className: CatalogueSettings_module_css_default.section,
|
|
27326
|
+
"data-testid": "roleplay-offload-settings",
|
|
27327
|
+
children: [
|
|
27328
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
27329
|
+
className: CatalogueSettings_module_css_default.title,
|
|
27330
|
+
children: t("offload")
|
|
27331
|
+
}),
|
|
27332
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
27333
|
+
className: CatalogueSettings_module_css_default.hint,
|
|
27334
|
+
children: t("offloadHint")
|
|
27335
|
+
}),
|
|
27336
|
+
draft.groups.map((group, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
27337
|
+
className: CatalogueSettings_module_css_default.row,
|
|
27338
|
+
"data-testid": "offload-group",
|
|
27339
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
27340
|
+
className: CatalogueSettings_module_css_default.field,
|
|
27341
|
+
style: {
|
|
27342
|
+
gridColumn: "1 / -1",
|
|
27343
|
+
flexDirection: "row",
|
|
27344
|
+
flexWrap: "wrap",
|
|
27345
|
+
gap: 12
|
|
27346
|
+
},
|
|
27347
|
+
children: [OFFLOAD_ROLES.map((role) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
27348
|
+
className: CatalogueSettings_module_css_default.keyHint,
|
|
27349
|
+
style: {
|
|
27350
|
+
display: "flex",
|
|
27351
|
+
gap: 6,
|
|
27352
|
+
alignItems: "center"
|
|
27353
|
+
},
|
|
27354
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
27355
|
+
type: "checkbox",
|
|
27356
|
+
checked: group.includes(role),
|
|
27357
|
+
disabled,
|
|
27358
|
+
"data-role": role,
|
|
27359
|
+
onChange: (event) => {
|
|
27360
|
+
toggle(index, role, event.target.checked);
|
|
27361
|
+
}
|
|
27362
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t(ROLE_TEXT[role]) })]
|
|
27363
|
+
}, role)), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
27364
|
+
variant: "ghost",
|
|
27365
|
+
size: "sm",
|
|
27366
|
+
disabled,
|
|
27367
|
+
onClick: () => {
|
|
27368
|
+
write({
|
|
27369
|
+
...draft,
|
|
27370
|
+
groups: draft.groups.filter((_, at) => at !== index)
|
|
27371
|
+
});
|
|
27372
|
+
},
|
|
27373
|
+
children: t("offloadRemove")
|
|
27374
|
+
})]
|
|
27375
|
+
})
|
|
27376
|
+
}, index)),
|
|
27377
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
27378
|
+
className: CatalogueSettings_module_css_default.actions,
|
|
27379
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
27380
|
+
variant: "outline",
|
|
27381
|
+
size: "sm",
|
|
27382
|
+
disabled,
|
|
27383
|
+
onClick: () => {
|
|
27384
|
+
write({
|
|
27385
|
+
...draft,
|
|
27386
|
+
groups: [...draft.groups, []]
|
|
27387
|
+
});
|
|
27388
|
+
},
|
|
27389
|
+
children: t("offloadAdd")
|
|
27390
|
+
})
|
|
27391
|
+
}),
|
|
27392
|
+
SERVED_ROLES.filter((role) => grouped.has(role)).map((role) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
27393
|
+
className: CatalogueSettings_module_css_default.row,
|
|
27394
|
+
"data-testid": `offload-model-${role}`,
|
|
27395
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
27396
|
+
className: CatalogueSettings_module_css_default.field,
|
|
27397
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
27398
|
+
className: CatalogueSettings_module_css_default.label,
|
|
27399
|
+
children: [
|
|
27400
|
+
t(ROLE_TEXT[role]),
|
|
27401
|
+
": ",
|
|
27402
|
+
t("offloadRoute")
|
|
27403
|
+
]
|
|
27404
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
27405
|
+
value: draft.models[role]?.route ?? "",
|
|
27406
|
+
disabled,
|
|
27407
|
+
onChange: (event) => {
|
|
27408
|
+
place(role, { route: event.target.value });
|
|
27409
|
+
}
|
|
27410
|
+
})]
|
|
27411
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
27412
|
+
className: CatalogueSettings_module_css_default.field,
|
|
27413
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
27414
|
+
className: CatalogueSettings_module_css_default.label,
|
|
27415
|
+
children: t("offloadModel")
|
|
27416
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
27417
|
+
value: draft.models[role]?.model ?? "",
|
|
27418
|
+
disabled,
|
|
27419
|
+
onChange: (event) => {
|
|
27420
|
+
place(role, { model: event.target.value });
|
|
27421
|
+
}
|
|
27422
|
+
})]
|
|
27423
|
+
})]
|
|
27424
|
+
}, role)),
|
|
27425
|
+
problem !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
27426
|
+
className: CatalogueSettings_module_css_default.problem,
|
|
27427
|
+
role: "alert",
|
|
27428
|
+
children: [
|
|
27429
|
+
t(problem.missing === "route" ? "offloadProblemRoute" : "offloadProblemModel"),
|
|
27430
|
+
" (",
|
|
27431
|
+
t(ROLE_TEXT[problem.role]),
|
|
27432
|
+
")"
|
|
27433
|
+
]
|
|
27434
|
+
})
|
|
27435
|
+
]
|
|
27436
|
+
});
|
|
27437
|
+
}
|
|
27126
27438
|
// src/client/settings/setup-api.ts
|
|
27127
27439
|
/** The ids of the plugin rows the profile holds more than once; empty when the profile is as it should be. */
|
|
27128
27440
|
async function loadRedundantLayers(signal) {
|
|
@@ -27509,6 +27821,20 @@ window.__ModuleLoader__.load({
|
|
|
27509
27821
|
catalogueMaxBytesHint: "The most a world downloaded from a catalogue may be, compressed and again unpacked. Default 268435456 (256 MB).",
|
|
27510
27822
|
catalogueTrashDaysLabel: "Days to keep replaced files",
|
|
27511
27823
|
catalogueTrashDaysHint: "How long the files an update replaced stay in the trash folder before they are deleted. 0 keeps them for good. Default 30.",
|
|
27824
|
+
offload: "Models that cannot be loaded together",
|
|
27825
|
+
offloadHint: "When the models of a story do not fit in memory at once, put the ones that exclude each other in a group: before one of them is used, the server unloads the others, and loads what is asked of it again on its own. Every switch costs the time of loading a model, so group a large model with another only when you have to, and leave this empty when everything fits. The chat's own model is \"Story model\"; the others need the route of the model server (as set in the AI providers) and the model's name there. Unloading needs a provider that supports it (LocalAI and Ollama do).",
|
|
27826
|
+
offloadAdd: "Add a group",
|
|
27827
|
+
offloadRemove: "Remove group",
|
|
27828
|
+
offloadRoute: "Route",
|
|
27829
|
+
offloadModel: "Model name",
|
|
27830
|
+
offloadProblemRoute: "Give the route this model is served on.",
|
|
27831
|
+
offloadProblemModel: "Give the name of this model on its server.",
|
|
27832
|
+
offloadRole_main: "Story model",
|
|
27833
|
+
offloadRole_embedding: "Embeddings",
|
|
27834
|
+
offloadRole_reranker: "Reranker",
|
|
27835
|
+
offloadRole_decision: "Decision model",
|
|
27836
|
+
offloadRole_image: "Images",
|
|
27837
|
+
offloadRole_speech: "Speech",
|
|
27512
27838
|
sync: "Sync with other devices",
|
|
27513
27839
|
syncHint: "Keeps the data folder in step with a folder on a remote, through rclone: each world, each session and each shared folder is synced as one unit and is left alone while it syncs. Leave the remote empty to keep sync off. The sync page lists the units.",
|
|
27514
27840
|
syncRemote: "Remote and folder",
|
|
@@ -27605,6 +27931,20 @@ window.__ModuleLoader__.load({
|
|
|
27605
27931
|
catalogueMaxBytesHint: "从目录下载的世界的最大体积,压缩后和解压后都不得超过。默认 268435456(256 MB)。",
|
|
27606
27932
|
catalogueTrashDaysLabel: "被替换文件的保留天数",
|
|
27607
27933
|
catalogueTrashDaysHint: "更新替换下来的文件在回收文件夹中保留多少天后删除。0 表示永久保留。默认 30。",
|
|
27934
|
+
offload: "不能同时加载的模型",
|
|
27935
|
+
offloadHint: "如果故事用到的模型无法同时放进内存,就把互相排斥的模型放进同一组:使用其中一个之前,服务器会先卸载其他的,之后再被请求时会自行重新加载。每次切换都要花一次加载模型的时间,所以只在不得不这样做时才把大模型和别的模型分在一组;如果所有模型都放得下,请留空。聊天本身使用的模型是“故事模型”;其他模型需要填模型服务器的路由(在 AI 提供方中设置的那个)以及模型在服务器上的名称。卸载需要提供方支持(LocalAI 和 Ollama 支持)。",
|
|
27936
|
+
offloadAdd: "添加一组",
|
|
27937
|
+
offloadRemove: "删除这一组",
|
|
27938
|
+
offloadRoute: "路由",
|
|
27939
|
+
offloadModel: "模型名称",
|
|
27940
|
+
offloadProblemRoute: "请填写这个模型所在的路由。",
|
|
27941
|
+
offloadProblemModel: "请填写这个模型在服务器上的名称。",
|
|
27942
|
+
offloadRole_main: "故事模型",
|
|
27943
|
+
offloadRole_embedding: "向量嵌入",
|
|
27944
|
+
offloadRole_reranker: "重排序",
|
|
27945
|
+
offloadRole_decision: "决策模型",
|
|
27946
|
+
offloadRole_image: "图像",
|
|
27947
|
+
offloadRole_speech: "语音",
|
|
27608
27948
|
sync: "与其他设备同步",
|
|
27609
27949
|
syncHint: "通过 rclone 让数据文件夹与远端的一个文件夹保持一致:每个世界、每个会话和每个共享文件夹各自作为一个单元同步,同步期间不会被改动。远端留空即关闭同步。“同步”页面会列出各个单元。",
|
|
27610
27950
|
syncRemote: "远端和文件夹",
|
|
@@ -27682,6 +28022,14 @@ window.__ModuleLoader__.load({
|
|
|
27682
28022
|
props.edit("sync", text);
|
|
27683
28023
|
}
|
|
27684
28024
|
}),
|
|
28025
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(OffloadSettings, {
|
|
28026
|
+
t,
|
|
28027
|
+
text: state.offload.text,
|
|
28028
|
+
disabled: !state.writable,
|
|
28029
|
+
onEdit: (text) => {
|
|
28030
|
+
props.edit("offload", text);
|
|
28031
|
+
}
|
|
28032
|
+
}),
|
|
27685
28033
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(AssistantSettings, {
|
|
27686
28034
|
t,
|
|
27687
28035
|
group: "assistants",
|
|
@@ -27729,6 +28077,7 @@ window.__ModuleLoader__.load({
|
|
|
27729
28077
|
cataloguesField,
|
|
27730
28078
|
authoringToolsField,
|
|
27731
28079
|
syncField,
|
|
28080
|
+
offloadField,
|
|
27732
28081
|
...assistantFields
|
|
27733
28082
|
]);
|
|
27734
28083
|
this.store = this.form.bind(() => ({
|
|
@@ -27737,6 +28086,7 @@ window.__ModuleLoader__.load({
|
|
|
27737
28086
|
catalogues: this.form.field("catalogues"),
|
|
27738
28087
|
authoringTools: this.form.field("authoringTools"),
|
|
27739
28088
|
sync: this.form.field("sync"),
|
|
28089
|
+
offload: this.form.field("offload"),
|
|
27740
28090
|
assistants: Object.fromEntries(ASSISTANT_FIELDS.map((spec) => [spec.field, this.form.field(spec.field)]))
|
|
27741
28091
|
}));
|
|
27742
28092
|
}
|
|
@@ -27934,28 +28284,28 @@ window.__ModuleLoader__.load({
|
|
|
27934
28284
|
}
|
|
27935
28285
|
tag$2.textContent = css$2;
|
|
27936
28286
|
var NarrationView_module_css_default = {
|
|
27937
|
-
"preview": "rp_NFPimG_preview",
|
|
27938
28287
|
"oocNote": "rp_NFPimG_oocNote",
|
|
27939
|
-
"playLine": "rp_NFPimG_playLine",
|
|
27940
|
-
"avatar": "rp_NFPimG_avatar",
|
|
27941
|
-
"playAll": "rp_NFPimG_playAll",
|
|
27942
|
-
"words": "rp_NFPimG_words",
|
|
27943
|
-
"oocLabel": "rp_NFPimG_oocLabel",
|
|
27944
|
-
"oocRefused": "rp_NFPimG_oocRefused",
|
|
27945
|
-
"diceList": "rp_NFPimG_diceList",
|
|
27946
|
-
"note": "rp_NFPimG_note",
|
|
27947
|
-
"dice": "rp_NFPimG_dice",
|
|
27948
|
-
"images": "rp_NFPimG_images",
|
|
27949
|
-
"diceSummary": "rp_NFPimG_diceSummary",
|
|
27950
|
-
"narration": "rp_NFPimG_narration",
|
|
27951
|
-
"imageButton": "rp_NFPimG_imageButton",
|
|
27952
28288
|
"speech": "rp_NFPimG_speech",
|
|
27953
|
-
"
|
|
28289
|
+
"preview": "rp_NFPimG_preview",
|
|
27954
28290
|
"imageStatus": "rp_NFPimG_imageStatus",
|
|
27955
28291
|
"name": "rp_NFPimG_name",
|
|
28292
|
+
"note": "rp_NFPimG_note",
|
|
28293
|
+
"playAll": "rp_NFPimG_playAll",
|
|
28294
|
+
"line": "rp_NFPimG_line",
|
|
27956
28295
|
"sceneImage": "rp_NFPimG_sceneImage",
|
|
28296
|
+
"imageButton": "rp_NFPimG_imageButton",
|
|
28297
|
+
"dice": "rp_NFPimG_dice",
|
|
28298
|
+
"oocLabel": "rp_NFPimG_oocLabel",
|
|
28299
|
+
"narration": "rp_NFPimG_narration",
|
|
28300
|
+
"images": "rp_NFPimG_images",
|
|
28301
|
+
"output": "rp_NFPimG_output",
|
|
28302
|
+
"playLine": "rp_NFPimG_playLine",
|
|
28303
|
+
"diceSummary": "rp_NFPimG_diceSummary",
|
|
28304
|
+
"avatar": "rp_NFPimG_avatar",
|
|
28305
|
+
"words": "rp_NFPimG_words",
|
|
28306
|
+
"oocRefused": "rp_NFPimG_oocRefused",
|
|
27957
28307
|
"imageError": "rp_NFPimG_imageError",
|
|
27958
|
-
"
|
|
28308
|
+
"diceList": "rp_NFPimG_diceList"
|
|
27959
28309
|
};
|
|
27960
28310
|
// src/client/transcript/PreviewNode.tsx
|
|
27961
28311
|
/**
|
|
@@ -28215,11 +28565,11 @@ window.__ModuleLoader__.load({
|
|
|
28215
28565
|
}
|
|
28216
28566
|
tag$1.textContent = css$1;
|
|
28217
28567
|
var SuggestionsDock_module_css_default = {
|
|
28218
|
-
"
|
|
28219
|
-
"label": "rp_rWH4DG_label",
|
|
28220
|
-
"lines": "rp_rWH4DG_lines",
|
|
28568
|
+
"chip": "rp_rWH4DG_chip",
|
|
28221
28569
|
"card": "rp_rWH4DG_card",
|
|
28222
|
-
"
|
|
28570
|
+
"lines": "rp_rWH4DG_lines",
|
|
28571
|
+
"dock": "rp_rWH4DG_dock",
|
|
28572
|
+
"label": "rp_rWH4DG_label"
|
|
28223
28573
|
};
|
|
28224
28574
|
// src/client/transcript/SuggestionsDock.tsx
|
|
28225
28575
|
/** The suggestions are made after the output is shown, so they are asked for until they are there. */
|
|
@@ -28337,16 +28687,16 @@ window.__ModuleLoader__.load({
|
|
|
28337
28687
|
}
|
|
28338
28688
|
tag.textContent = css;
|
|
28339
28689
|
var TurnsDock_module_css_default = {
|
|
28340
|
-
"
|
|
28341
|
-
"comparisonLine": "rp_f4YLlq_comparisonLine",
|
|
28342
|
-
"comparisonSubject": "rp_f4YLlq_comparisonSubject",
|
|
28690
|
+
"dock": "rp_f4YLlq_dock",
|
|
28343
28691
|
"button": "rp_f4YLlq_button",
|
|
28344
|
-
"count": "rp_f4YLlq_count",
|
|
28345
|
-
"select": "rp_f4YLlq_select",
|
|
28346
28692
|
"group": "rp_f4YLlq_group",
|
|
28347
|
-
"
|
|
28693
|
+
"comparisonSubject": "rp_f4YLlq_comparisonSubject",
|
|
28694
|
+
"comparison": "rp_f4YLlq_comparison",
|
|
28348
28695
|
"error": "rp_f4YLlq_error",
|
|
28349
|
-
"
|
|
28696
|
+
"comparisonHead": "rp_f4YLlq_comparisonHead",
|
|
28697
|
+
"count": "rp_f4YLlq_count",
|
|
28698
|
+
"select": "rp_f4YLlq_select",
|
|
28699
|
+
"comparisonLine": "rp_f4YLlq_comparisonLine"
|
|
28350
28700
|
};
|
|
28351
28701
|
// src/client/transcript/withdrawn.ts
|
|
28352
28702
|
/** The rows of the transcript that belong to turns the story is not at, by the key DSH gives each row. */
|