@dsh-agentic-roleplay/core 0.7.2 → 0.8.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/README.md +1 -1
- package/lib/authoring-tools-DNnx0Nts.js +3574 -0
- package/lib/authoring.js +295 -333
- package/lib/{child-CyCViUKa.js → child-D6mpkkCE.js} +130 -6
- package/lib/client.js +931 -415
- package/lib/client.js.map +1 -1
- package/lib/compaction.js +2 -2
- package/lib/doctor.js +2 -2
- package/lib/{gallery-BxZGOgMb.js → gallery-D9nG3C78.js} +2 -2
- package/lib/{generator-BFmSYvR8.js → generator-r1Czm7oi.js} +2 -2
- package/lib/helper.js +1 -1
- package/lib/{hooks-HnqXO8mM.js → hooks-BQCzgggH.js} +92 -8
- package/lib/images.js +4 -4
- package/lib/index.js +1326 -1638
- package/lib/{library-BGxPKs9a.js → library-zI-2tG7h.js} +59 -9
- package/lib/{lorebook-author-tools-D9RrMK5g.js → lorebook-author-tools-ywaYicwd.js} +7 -7
- package/lib/lorebook-authoring.js +4 -4
- package/lib/{narration-DvFBqmqe.js → narration-CnBlVure.js} +52 -8
- package/lib/orchestration.js +95 -18
- package/lib/{pack-jail-MPekqSuQ.js → pack-jail-5EJ-WYyW.js} +1274 -69
- package/lib/{packs-jowC-MN_.js → packs-Cv8hanXJ.js} +2 -2
- package/lib/{presenter-agent-DvZtnf0Q.js → presenter-agent-BSaMSd3G.js} +6 -6
- package/lib/{preset-VatN-845.js → preset-CWI3-0r1.js} +4 -3
- package/lib/{preset-author-tools-8kv1Glxe.js → preset-author-tools-BrJYa2cr.js} +7 -7
- package/lib/preset-authoring.js +5 -5
- package/lib/presets-MwOSMMyu.js +3998 -0
- package/lib/{reflection-CvOZGjmn.js → reflection-zSaMsjKj.js} +127 -127
- package/lib/{text-JbWfTHbr.js → text-BzudpQLS.js} +11 -1
- package/lib/{turn-guard-BvCs1VxB.js → turn-guard-Cv8pfHEA.js} +6 -2
- package/package.json +2 -2
- package/prompts/en/import/casting.md +14 -0
- package/prompts/en/import/classifier.md +9 -0
- package/prompts/en/import/finish-draft.md +1 -0
- package/prompts/en/import/generator.md +8 -0
- package/prompts/en/import/notice-repair.md +4 -0
- package/prompts/en/import/repair-again.md +3 -0
- package/prompts/en/import/roster.md +1 -0
- package/prompts/en/import/variables.md +1 -0
- package/prompts/en/roleplay/game-master.md +3 -0
- package/prompts/en/roleplay/standing.md +1 -0
- package/prompts/en/world/author.md +1 -1
- package/prompts/zh/import/casting.md +14 -0
- package/prompts/zh/import/classifier.md +9 -0
- package/prompts/zh/import/finish-draft.md +1 -0
- package/prompts/zh/import/generator.md +8 -0
- package/prompts/zh/import/notice-repair.md +4 -0
- package/prompts/zh/import/repair-again.md +3 -0
- package/prompts/zh/import/roster.md +1 -0
- package/prompts/zh/import/variables.md +1 -0
- package/prompts/zh/roleplay/game-master.md +3 -0
- package/prompts/zh/roleplay/standing.md +1 -0
- package/prompts/zh/world/author.md +1 -1
- package/lib/authoring-tools-q34iq3hW.js +0 -6140
- package/lib/route-DRTJ_vcA.js +0 -518
package/lib/client.js
CHANGED
|
@@ -93,10 +93,10 @@ window.__ModuleLoader__.load({
|
|
|
93
93
|
}
|
|
94
94
|
tag$33.textContent = css$33;
|
|
95
95
|
var RoleplayPanel_module_css_default = {
|
|
96
|
-
"body": "rp_ua5gBa_body",
|
|
97
|
-
"panel": "rp_ua5gBa_panel",
|
|
98
96
|
"header": "rp_ua5gBa_header",
|
|
99
|
-
"
|
|
97
|
+
"body": "rp_ua5gBa_body",
|
|
98
|
+
"title": "rp_ua5gBa_title",
|
|
99
|
+
"panel": "rp_ua5gBa_panel"
|
|
100
100
|
};
|
|
101
101
|
//#endregion
|
|
102
102
|
//#region src/client/panel/RoleplayPanel.tsx
|
|
@@ -429,38 +429,41 @@ window.__ModuleLoader__.load({
|
|
|
429
429
|
}
|
|
430
430
|
tag$32.textContent = css$32;
|
|
431
431
|
var ImportCard_module_css_default = {
|
|
432
|
-
"choiceText": "rp_5cvtma_choiceText",
|
|
433
|
-
"preview": "rp_5cvtma_preview",
|
|
434
|
-
"section": "rp_5cvtma_section",
|
|
435
|
-
"body": "rp_5cvtma_body",
|
|
436
|
-
"error": "rp_5cvtma_error",
|
|
437
|
-
"top": "rp_5cvtma_top",
|
|
438
|
-
"row": "rp_5cvtma_row",
|
|
439
432
|
"title": "rp_5cvtma_title",
|
|
440
|
-
"
|
|
441
|
-
"
|
|
442
|
-
"heading": "rp_5cvtma_heading",
|
|
433
|
+
"row": "rp_5cvtma_row",
|
|
434
|
+
"picture": "rp_5cvtma_picture",
|
|
443
435
|
"field": "rp_5cvtma_field",
|
|
444
436
|
"entry": "rp_5cvtma_entry",
|
|
437
|
+
"noPicture": "rp_5cvtma_noPicture",
|
|
445
438
|
"fieldHead": "rp_5cvtma_fieldHead",
|
|
446
439
|
"entryHead": "rp_5cvtma_entryHead",
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"
|
|
440
|
+
"text": "rp_5cvtma_text",
|
|
441
|
+
"fieldTitle": "rp_5cvtma_fieldTitle",
|
|
442
|
+
"choice": "rp_5cvtma_choice",
|
|
443
|
+
"note": "rp_5cvtma_note",
|
|
450
444
|
"header": "rp_5cvtma_header",
|
|
451
|
-
"
|
|
445
|
+
"entryOff": "rp_5cvtma_entryOff",
|
|
446
|
+
"page": "rp_5cvtma_page",
|
|
447
|
+
"choiceText": "rp_5cvtma_choiceText",
|
|
448
|
+
"preview": "rp_5cvtma_preview",
|
|
452
449
|
"tags": "rp_5cvtma_tags",
|
|
453
|
-
"
|
|
450
|
+
"heading": "rp_5cvtma_heading",
|
|
451
|
+
"about": "rp_5cvtma_about",
|
|
452
|
+
"body": "rp_5cvtma_body",
|
|
453
|
+
"label": "rp_5cvtma_label",
|
|
454
|
+
"entryTitle": "rp_5cvtma_entryTitle",
|
|
454
455
|
"fieldMeta": "rp_5cvtma_fieldMeta",
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"note": "rp_5cvtma_note",
|
|
456
|
+
"top": "rp_5cvtma_top",
|
|
457
|
+
"section": "rp_5cvtma_section",
|
|
458
458
|
"space": "rp_5cvtma_space",
|
|
459
|
-
"
|
|
459
|
+
"error": "rp_5cvtma_error"
|
|
460
460
|
};
|
|
461
461
|
//#endregion
|
|
462
462
|
//#region src/client/widgets/import-card/ImportCard.tsx
|
|
463
463
|
const pictureUrl = (id) => `${API_PREFIX}/worlds/import/picture?id=${encodeURIComponent(id)}`;
|
|
464
|
+
/** What the person is offered first: updating the world of that name nobody changed, otherwise a new world. */
|
|
465
|
+
const defaultTarget = (targets) => targets?.find((target) => target.sameName && target.edited === "no")?.worldId;
|
|
466
|
+
const editedNote = (target, t) => target.edited === "no" ? t("ic_targetClean") : target.edited === "yes" ? t("ic_targetEdited", { files: target.changes.join(", ") }) : t("ic_targetUnknown");
|
|
464
467
|
const same$1 = (a, b) => a.kind === b.kind && (a.kind !== "alternate" || b.kind === "alternate" && a.index === b.index);
|
|
465
468
|
function Text({ label, text, t, note }) {
|
|
466
469
|
const [open, setOpen] = (0, react.useState)(false);
|
|
@@ -497,15 +500,18 @@ window.__ModuleLoader__.load({
|
|
|
497
500
|
* What a card holds, for the person to look through and decide what becomes of it: which lorebook entries are read at all, and which greeting opens the story.
|
|
498
501
|
* The caller says what starting and cancelling do, because a card comes from a file or from a catalogue.
|
|
499
502
|
*/
|
|
500
|
-
function ImportCard({ t, preview, start: begin, discard, onCancelled, onStarted }) {
|
|
503
|
+
function ImportCard({ t, preview, initialUpdate, start: begin, discard, onCancelled, onStarted }) {
|
|
501
504
|
const { card } = preview;
|
|
502
505
|
const entries = card.book?.entries ?? [];
|
|
503
506
|
const [name, setName] = (0, react.useState)(preview.choices.name);
|
|
504
507
|
const [off, setOff] = (0, react.useState)(() => new Set(preview.choices.disabledEntries));
|
|
505
508
|
const [opening, setOpening] = (0, react.useState)(preview.choices.opening);
|
|
506
509
|
const [open, setOpen] = (0, react.useState)(/* @__PURE__ */ new Set());
|
|
510
|
+
const [update, setUpdate] = (0, react.useState)(() => initialUpdate ?? defaultTarget(preview.targets));
|
|
507
511
|
const [starting, setStarting] = (0, react.useState)(false);
|
|
508
512
|
const [error, setError] = (0, react.useState)();
|
|
513
|
+
const others = (preview.targets ?? []).filter((target) => !target.sameName);
|
|
514
|
+
const chosenOther = others.find((target) => target.worldId === update);
|
|
509
515
|
const greetings = [...card.firstMessage.trim() === "" ? [] : [{
|
|
510
516
|
choice: { kind: "first" },
|
|
511
517
|
label: t("ic_openingFirst"),
|
|
@@ -539,7 +545,7 @@ window.__ModuleLoader__.load({
|
|
|
539
545
|
if (name.trim() === "" || starting) return;
|
|
540
546
|
setStarting(true);
|
|
541
547
|
setError(void 0);
|
|
542
|
-
begin(choices()).then((started) => {
|
|
548
|
+
begin(choices(), update).then((started) => {
|
|
543
549
|
onStarted(started.chatSessionId, started.started);
|
|
544
550
|
}, (failure) => {
|
|
545
551
|
setStarting(false);
|
|
@@ -559,7 +565,7 @@ window.__ModuleLoader__.load({
|
|
|
559
565
|
children: [
|
|
560
566
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
561
567
|
className: ImportCard_module_css_default.title,
|
|
562
|
-
children: t("ic_title")
|
|
568
|
+
children: update === void 0 ? t("ic_title") : t("ic_updateTitle")
|
|
563
569
|
}),
|
|
564
570
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: ImportCard_module_css_default.space }),
|
|
565
571
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
@@ -574,7 +580,7 @@ window.__ModuleLoader__.load({
|
|
|
574
580
|
size: "sm",
|
|
575
581
|
disabled: name.trim() === "" || starting,
|
|
576
582
|
onClick: start,
|
|
577
|
-
children: starting ? t("ic_starting") : t("ic_start")
|
|
583
|
+
children: starting ? t("ic_starting") : update === void 0 ? t("ic_start") : t("ic_update")
|
|
578
584
|
})
|
|
579
585
|
]
|
|
580
586
|
}),
|
|
@@ -605,6 +611,7 @@ window.__ModuleLoader__.load({
|
|
|
605
611
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("ic_worldName") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
606
612
|
value: name,
|
|
607
613
|
maxLength: 200,
|
|
614
|
+
disabled: update !== void 0,
|
|
608
615
|
onChange: (event) => {
|
|
609
616
|
setName(event.target.value);
|
|
610
617
|
}
|
|
@@ -628,6 +635,102 @@ window.__ModuleLoader__.load({
|
|
|
628
635
|
]
|
|
629
636
|
})]
|
|
630
637
|
}),
|
|
638
|
+
preview.targets !== void 0 && preview.targets.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
639
|
+
className: ImportCard_module_css_default.section,
|
|
640
|
+
children: [
|
|
641
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
642
|
+
className: ImportCard_module_css_default.heading,
|
|
643
|
+
children: t("ic_target")
|
|
644
|
+
}),
|
|
645
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
646
|
+
className: ImportCard_module_css_default.note,
|
|
647
|
+
children: t("ic_targetHelp")
|
|
648
|
+
}),
|
|
649
|
+
preview.targets.filter((target) => target.sameName).map((target) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
650
|
+
className: ImportCard_module_css_default.choice,
|
|
651
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
652
|
+
type: "radio",
|
|
653
|
+
name: "target",
|
|
654
|
+
"aria-label": t("ic_targetUpdate", { name: target.name }),
|
|
655
|
+
checked: update === target.worldId,
|
|
656
|
+
onChange: () => {
|
|
657
|
+
setUpdate(target.worldId);
|
|
658
|
+
}
|
|
659
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
660
|
+
className: ImportCard_module_css_default.choiceText,
|
|
661
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
662
|
+
className: ImportCard_module_css_default.fieldTitle,
|
|
663
|
+
children: t("ic_targetUpdate", { name: target.name })
|
|
664
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
665
|
+
className: ImportCard_module_css_default.preview,
|
|
666
|
+
children: editedNote(target, t)
|
|
667
|
+
})]
|
|
668
|
+
})]
|
|
669
|
+
}, target.worldId)),
|
|
670
|
+
others.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
671
|
+
className: ImportCard_module_css_default.choice,
|
|
672
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
673
|
+
type: "radio",
|
|
674
|
+
name: "target",
|
|
675
|
+
"aria-label": t("ic_targetOther"),
|
|
676
|
+
checked: chosenOther !== void 0,
|
|
677
|
+
onChange: () => {
|
|
678
|
+
setUpdate(others[0]?.worldId);
|
|
679
|
+
}
|
|
680
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
681
|
+
className: ImportCard_module_css_default.choiceText,
|
|
682
|
+
children: [
|
|
683
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
684
|
+
className: ImportCard_module_css_default.fieldTitle,
|
|
685
|
+
children: t("ic_targetOther")
|
|
686
|
+
}),
|
|
687
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
688
|
+
"aria-label": t("ic_targetOtherChoose"),
|
|
689
|
+
"data-testid": "roleplay-import-other",
|
|
690
|
+
disabled: chosenOther === void 0,
|
|
691
|
+
value: chosenOther?.worldId ?? "",
|
|
692
|
+
onChange: (event) => {
|
|
693
|
+
setUpdate(event.target.value);
|
|
694
|
+
},
|
|
695
|
+
children: [chosenOther === void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
696
|
+
value: "",
|
|
697
|
+
children: t("ic_targetOtherChoose")
|
|
698
|
+
}), others.map((target) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
699
|
+
value: target.worldId,
|
|
700
|
+
children: target.name
|
|
701
|
+
}, target.worldId))]
|
|
702
|
+
}),
|
|
703
|
+
chosenOther !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
704
|
+
className: ImportCard_module_css_default.preview,
|
|
705
|
+
children: [
|
|
706
|
+
t("ic_targetKeepsName"),
|
|
707
|
+
" ",
|
|
708
|
+
editedNote(chosenOther, t)
|
|
709
|
+
]
|
|
710
|
+
})
|
|
711
|
+
]
|
|
712
|
+
})]
|
|
713
|
+
}),
|
|
714
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
715
|
+
className: ImportCard_module_css_default.choice,
|
|
716
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
717
|
+
type: "radio",
|
|
718
|
+
name: "target",
|
|
719
|
+
"aria-label": t("ic_targetNew"),
|
|
720
|
+
checked: update === void 0,
|
|
721
|
+
onChange: () => {
|
|
722
|
+
setUpdate(void 0);
|
|
723
|
+
}
|
|
724
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
725
|
+
className: ImportCard_module_css_default.choiceText,
|
|
726
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
727
|
+
className: ImportCard_module_css_default.fieldTitle,
|
|
728
|
+
children: t("ic_targetNew")
|
|
729
|
+
})
|
|
730
|
+
})]
|
|
731
|
+
})
|
|
732
|
+
]
|
|
733
|
+
}),
|
|
631
734
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
632
735
|
className: ImportCard_module_css_default.section,
|
|
633
736
|
children: [
|
|
@@ -815,38 +918,38 @@ window.__ModuleLoader__.load({
|
|
|
815
918
|
}
|
|
816
919
|
tag$31.textContent = css$31;
|
|
817
920
|
var CataloguePage_module_css_default = {
|
|
818
|
-
"
|
|
819
|
-
"select": "rp_qK1u-G_select",
|
|
820
|
-
"toolbar": "rp_qK1u-G_toolbar",
|
|
821
|
-
"status": "rp_qK1u-G_status",
|
|
822
|
-
"update": "rp_qK1u-G_update",
|
|
823
|
-
"kinds": "rp_qK1u-G_kinds",
|
|
824
|
-
"notice": "rp_qK1u-G_notice",
|
|
921
|
+
"success": "rp_qK1u-G_success",
|
|
825
922
|
"image": "rp_qK1u-G_image",
|
|
826
|
-
"
|
|
827
|
-
"kind": "rp_qK1u-G_kind",
|
|
828
|
-
"grid": "rp_qK1u-G_grid",
|
|
923
|
+
"update": "rp_qK1u-G_update",
|
|
829
924
|
"search": "rp_qK1u-G_search",
|
|
830
|
-
"tags": "rp_qK1u-G_tags",
|
|
831
|
-
"form": "rp_qK1u-G_form",
|
|
832
925
|
"field": "rp_qK1u-G_field",
|
|
833
|
-
"name": "rp_qK1u-G_name",
|
|
834
|
-
"detail": "rp_qK1u-G_detail",
|
|
835
|
-
"label": "rp_qK1u-G_label",
|
|
836
926
|
"description": "rp_qK1u-G_description",
|
|
837
|
-
"
|
|
927
|
+
"kind": "rp_qK1u-G_kind",
|
|
928
|
+
"spacer": "rp_qK1u-G_spacer",
|
|
929
|
+
"warning": "rp_qK1u-G_warning",
|
|
838
930
|
"page": "rp_qK1u-G_page",
|
|
839
|
-
"
|
|
931
|
+
"status": "rp_qK1u-G_status",
|
|
840
932
|
"body": "rp_qK1u-G_body",
|
|
841
|
-
"
|
|
842
|
-
"
|
|
843
|
-
"
|
|
933
|
+
"updates": "rp_qK1u-G_updates",
|
|
934
|
+
"label": "rp_qK1u-G_label",
|
|
935
|
+
"kinds": "rp_qK1u-G_kinds",
|
|
936
|
+
"grid": "rp_qK1u-G_grid",
|
|
844
937
|
"actions": "rp_qK1u-G_actions",
|
|
845
|
-
"
|
|
846
|
-
"
|
|
847
|
-
"
|
|
938
|
+
"tags": "rp_qK1u-G_tags",
|
|
939
|
+
"select": "rp_qK1u-G_select",
|
|
940
|
+
"placeholder": "rp_qK1u-G_placeholder",
|
|
941
|
+
"notice": "rp_qK1u-G_notice",
|
|
848
942
|
"changes": "rp_qK1u-G_changes",
|
|
849
|
-
"
|
|
943
|
+
"viewport": "rp_qK1u-G_viewport",
|
|
944
|
+
"form": "rp_qK1u-G_form",
|
|
945
|
+
"name": "rp_qK1u-G_name",
|
|
946
|
+
"message": "rp_qK1u-G_message",
|
|
947
|
+
"card": "rp_qK1u-G_card",
|
|
948
|
+
"more": "rp_qK1u-G_more",
|
|
949
|
+
"detail": "rp_qK1u-G_detail",
|
|
950
|
+
"meta": "rp_qK1u-G_meta",
|
|
951
|
+
"toolbar": "rp_qK1u-G_toolbar",
|
|
952
|
+
"cover": "rp_qK1u-G_cover"
|
|
850
953
|
};
|
|
851
954
|
//#endregion
|
|
852
955
|
//#region src/client/pages/catalogue/ImportUrlDialog.tsx
|
|
@@ -1049,19 +1152,19 @@ window.__ModuleLoader__.load({
|
|
|
1049
1152
|
}
|
|
1050
1153
|
tag$30.textContent = css$30;
|
|
1051
1154
|
var ImportSelection_module_css_default = {
|
|
1052
|
-
"extra": "rp_Jx0l4q_extra",
|
|
1053
|
-
"full": "rp_Jx0l4q_full",
|
|
1054
1155
|
"text": "rp_Jx0l4q_text",
|
|
1055
|
-
"sampling": "rp_Jx0l4q_sampling",
|
|
1056
|
-
"meta": "rp_Jx0l4q_meta",
|
|
1057
|
-
"body": "rp_Jx0l4q_body",
|
|
1058
|
-
"count": "rp_Jx0l4q_count",
|
|
1059
1156
|
"list": "rp_Jx0l4q_list",
|
|
1157
|
+
"extra": "rp_Jx0l4q_extra",
|
|
1158
|
+
"note": "rp_Jx0l4q_note",
|
|
1060
1159
|
"help": "rp_Jx0l4q_help",
|
|
1160
|
+
"body": "rp_Jx0l4q_body",
|
|
1061
1161
|
"bar": "rp_Jx0l4q_bar",
|
|
1062
|
-
"
|
|
1162
|
+
"full": "rp_Jx0l4q_full",
|
|
1163
|
+
"sampling": "rp_Jx0l4q_sampling",
|
|
1063
1164
|
"error": "rp_Jx0l4q_error",
|
|
1064
|
-
"
|
|
1165
|
+
"meta": "rp_Jx0l4q_meta",
|
|
1166
|
+
"row": "rp_Jx0l4q_row",
|
|
1167
|
+
"count": "rp_Jx0l4q_count"
|
|
1065
1168
|
};
|
|
1066
1169
|
//#endregion
|
|
1067
1170
|
//#region src/client/widgets/import-selection/ImportSelection.tsx
|
|
@@ -1731,12 +1834,13 @@ window.__ModuleLoader__.load({
|
|
|
1731
1834
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ImportCard, {
|
|
1732
1835
|
t,
|
|
1733
1836
|
preview: reviewing.preview,
|
|
1734
|
-
start: (choices) => convertStaged({
|
|
1837
|
+
start: (choices, update) => convertStaged({
|
|
1735
1838
|
source: reviewing.source,
|
|
1736
1839
|
versionId: reviewing.versionId,
|
|
1737
1840
|
id: reviewing.preview.id,
|
|
1738
1841
|
choices,
|
|
1739
|
-
language: t("language")
|
|
1842
|
+
language: t("language"),
|
|
1843
|
+
...update === void 0 ? {} : { update }
|
|
1740
1844
|
}),
|
|
1741
1845
|
discard: () => discardCard(reviewing.preview.id),
|
|
1742
1846
|
onCancelled: () => {
|
|
@@ -2034,6 +2138,18 @@ window.__ModuleLoader__.load({
|
|
|
2034
2138
|
const dictionaries$21 = {
|
|
2035
2139
|
en: {
|
|
2036
2140
|
ic_title: "Import a character card",
|
|
2141
|
+
ic_updateTitle: "Update a world from a newer card",
|
|
2142
|
+
ic_target: "Update a world, or import a new one",
|
|
2143
|
+
ic_targetHelp: "A world that was imported from a card can be brought up to date with this version by the assistant, instead of importing everything again. Every change it makes asks for your approval unless you turned that off.",
|
|
2144
|
+
ic_targetOther: "Update another world",
|
|
2145
|
+
ic_targetOtherChoose: "Which world",
|
|
2146
|
+
ic_targetKeepsName: "The world keeps its own name.",
|
|
2147
|
+
ic_targetUpdate: "Update “{name}” from this card",
|
|
2148
|
+
ic_targetNew: "Import as a new world",
|
|
2149
|
+
ic_targetClean: "Not changed since the import: the assistant edits it, and you approve each change.",
|
|
2150
|
+
ic_targetEdited: "You changed it since the import ({files}). A copy is safer; an update keeps those edits where it can.",
|
|
2151
|
+
ic_targetUnknown: "Imported before changes were recorded, so it cannot be told whether you edited it. A copy is safer.",
|
|
2152
|
+
ic_update: "Update",
|
|
2037
2153
|
ic_source: "A {spec} card{converted}.",
|
|
2038
2154
|
ic_worldName: "Name of the new world",
|
|
2039
2155
|
ic_noPicture: "No picture",
|
|
@@ -2068,6 +2184,18 @@ window.__ModuleLoader__.load({
|
|
|
2068
2184
|
},
|
|
2069
2185
|
zh: {
|
|
2070
2186
|
ic_title: "导入角色卡",
|
|
2187
|
+
ic_updateTitle: "用新版角色卡更新世界",
|
|
2188
|
+
ic_target: "更新已有世界,或导入为新世界",
|
|
2189
|
+
ic_targetHelp: "由角色卡导入的世界,可以让助手按这个版本更新到最新,而不必重新导入全部内容。除非你关闭了确认,助手的每项改动都需要你批准。",
|
|
2190
|
+
ic_targetOther: "更新另一个世界",
|
|
2191
|
+
ic_targetOtherChoose: "选择世界",
|
|
2192
|
+
ic_targetKeepsName: "世界保留它自己的名字。",
|
|
2193
|
+
ic_targetUpdate: "用这张卡更新“{name}”",
|
|
2194
|
+
ic_targetNew: "作为新世界导入",
|
|
2195
|
+
ic_targetClean: "导入后没有被修改过:由助手修改,每项改动都需要你批准。",
|
|
2196
|
+
ic_targetEdited: "导入后你修改过它({files})。建议另存为副本;更新会尽量保留这些修改。",
|
|
2197
|
+
ic_targetUnknown: "导入时尚未记录文件状态,无法判断你是否修改过。建议另存为副本。",
|
|
2198
|
+
ic_update: "更新",
|
|
2071
2199
|
ic_source: "{spec} 角色卡{converted}。",
|
|
2072
2200
|
ic_worldName: "新世界的名称",
|
|
2073
2201
|
ic_noPicture: "没有图片",
|
|
@@ -2274,8 +2402,8 @@ window.__ModuleLoader__.load({
|
|
|
2274
2402
|
updatesProblem: "Could not check \"{name}\" for updates: {message}",
|
|
2275
2403
|
convert: "Review and convert",
|
|
2276
2404
|
converting: "Converting…",
|
|
2277
|
-
convertNote: "A character card
|
|
2278
|
-
convertedBefore: "You converted this card before ({names}).
|
|
2405
|
+
convertNote: "A character card can become a new world, or update a world that was imported from an earlier version of the card. A new conversion makes its own world; an update is applied by that world's authoring agent and keeps a recoverable copy of the previous files.",
|
|
2406
|
+
convertedBefore: "You converted this card before ({names}). You can make another world, or update a world that was imported from a card.",
|
|
2279
2407
|
convertFailed: "Could not convert: {message}",
|
|
2280
2408
|
convertNotStartedShort: "The world was made, but the conversion has not started: open its authoring chat and send the import message yourself.",
|
|
2281
2409
|
convertNotStarted: "The world \"{name}\" was made, but the conversion did not start: {failure}. Open its authoring chat to send the import message yourself.",
|
|
@@ -2367,8 +2495,8 @@ window.__ModuleLoader__.load({
|
|
|
2367
2495
|
updatesProblem: "无法检查“{name}”的更新:{message}",
|
|
2368
2496
|
convert: "查看并转换",
|
|
2369
2497
|
converting: "转换中…",
|
|
2370
|
-
convertNote: "
|
|
2371
|
-
convertedBefore: "你以前转换过这张卡({names}
|
|
2498
|
+
convertNote: "角色卡既可以转换为新世界,也可以更新由旧版角色卡导入的世界。新转换会创建独立世界;更新由该世界的创作助手执行,并保留可恢复的旧文件。",
|
|
2499
|
+
convertedBefore: "你以前转换过这张卡({names})。你可以再创建一个世界,也可以更新由角色卡导入的世界。",
|
|
2372
2500
|
convertFailed: "无法转换:{message}",
|
|
2373
2501
|
convertNotStartedShort: "世界已创建,但转换没有开始:请打开它的创作对话,自己发送导入消息。",
|
|
2374
2502
|
convertNotStarted: "世界“{name}”已创建,但转换没有开始:{failure}。请打开它的创作对话,自己发送导入消息。",
|
|
@@ -2933,40 +3061,40 @@ window.__ModuleLoader__.load({
|
|
|
2933
3061
|
}
|
|
2934
3062
|
tag$29.textContent = css$29;
|
|
2935
3063
|
var CharactersPanel_module_css_default = {
|
|
2936
|
-
"bar": "rp_5ZMIxq_bar",
|
|
2937
|
-
"select": "rp_5ZMIxq_select",
|
|
2938
|
-
"barText": "rp_5ZMIxq_barText",
|
|
2939
|
-
"tab": "rp_5ZMIxq_tab",
|
|
2940
|
-
"empty": "rp_5ZMIxq_empty",
|
|
2941
|
-
"portraitError": "rp_5ZMIxq_portraitError",
|
|
2942
|
-
"area": "rp_5ZMIxq_area",
|
|
2943
|
-
"initial": "rp_5ZMIxq_initial",
|
|
2944
3064
|
"sheet": "rp_5ZMIxq_sheet",
|
|
3065
|
+
"placeholder": "rp_5ZMIxq_placeholder",
|
|
3066
|
+
"empty": "rp_5ZMIxq_empty",
|
|
3067
|
+
"head": "rp_5ZMIxq_head",
|
|
3068
|
+
"label": "rp_5ZMIxq_label",
|
|
2945
3069
|
"sectionTitle": "rp_5ZMIxq_sectionTitle",
|
|
2946
|
-
"
|
|
2947
|
-
"
|
|
2948
|
-
"nameInput": "rp_5ZMIxq_nameInput",
|
|
3070
|
+
"body": "rp_5ZMIxq_body",
|
|
3071
|
+
"portraitBox": "rp_5ZMIxq_portraitBox",
|
|
2949
3072
|
"section": "rp_5ZMIxq_section",
|
|
2950
|
-
"
|
|
3073
|
+
"portraitError": "rp_5ZMIxq_portraitError",
|
|
2951
3074
|
"help": "rp_5ZMIxq_help",
|
|
2952
3075
|
"wide": "rp_5ZMIxq_wide",
|
|
3076
|
+
"tabsSpace": "rp_5ZMIxq_tabsSpace",
|
|
2953
3077
|
"row": "rp_5ZMIxq_row",
|
|
2954
|
-
"
|
|
2955
|
-
"
|
|
2956
|
-
"
|
|
2957
|
-
"portrait": "rp_5ZMIxq_portrait",
|
|
3078
|
+
"initial": "rp_5ZMIxq_initial",
|
|
3079
|
+
"barText": "rp_5ZMIxq_barText",
|
|
3080
|
+
"tab": "rp_5ZMIxq_tab",
|
|
2958
3081
|
"portraitHint": "rp_5ZMIxq_portraitHint",
|
|
3082
|
+
"tabs": "rp_5ZMIxq_tabs",
|
|
3083
|
+
"nameInput": "rp_5ZMIxq_nameInput",
|
|
3084
|
+
"error": "rp_5ZMIxq_error",
|
|
3085
|
+
"area": "rp_5ZMIxq_area",
|
|
3086
|
+
"field": "rp_5ZMIxq_field",
|
|
3087
|
+
"panel": "rp_5ZMIxq_panel",
|
|
3088
|
+
"portraitAction": "rp_5ZMIxq_portraitAction",
|
|
3089
|
+
"bar": "rp_5ZMIxq_bar",
|
|
2959
3090
|
"meta": "rp_5ZMIxq_meta",
|
|
2960
|
-
"tabsSpace": "rp_5ZMIxq_tabsSpace",
|
|
2961
3091
|
"missing": "rp_5ZMIxq_missing",
|
|
2962
|
-
"
|
|
2963
|
-
"
|
|
3092
|
+
"grid": "rp_5ZMIxq_grid",
|
|
3093
|
+
"portrait": "rp_5ZMIxq_portrait",
|
|
3094
|
+
"goal": "rp_5ZMIxq_goal",
|
|
3095
|
+
"select": "rp_5ZMIxq_select",
|
|
2964
3096
|
"voiceInline": "rp_5ZMIxq_voiceInline",
|
|
2965
|
-
"
|
|
2966
|
-
"tabOn": "rp_5ZMIxq_tabOn",
|
|
2967
|
-
"head": "rp_5ZMIxq_head",
|
|
2968
|
-
"portraitBox": "rp_5ZMIxq_portraitBox",
|
|
2969
|
-
"field": "rp_5ZMIxq_field"
|
|
3097
|
+
"tabOn": "rp_5ZMIxq_tabOn"
|
|
2970
3098
|
};
|
|
2971
3099
|
//#endregion
|
|
2972
3100
|
//#region src/client/world-editor/EditorTabs.tsx
|
|
@@ -4691,39 +4819,39 @@ window.__ModuleLoader__.load({
|
|
|
4691
4819
|
}
|
|
4692
4820
|
tag$28.textContent = css$28;
|
|
4693
4821
|
var RelationsPanel_module_css_default = {
|
|
4694
|
-
"toolbar": "rp_7pEHTW_toolbar",
|
|
4695
|
-
"perspective": "rp_7pEHTW_perspective",
|
|
4696
|
-
"edge": "rp_7pEHTW_edge",
|
|
4697
|
-
"notice": "rp_7pEHTW_notice",
|
|
4698
4822
|
"error": "rp_7pEHTW_error",
|
|
4699
|
-
"
|
|
4700
|
-
"panel": "rp_7pEHTW_panel",
|
|
4701
|
-
"graphEdge": "rp_7pEHTW_graphEdge",
|
|
4702
|
-
"actions": "rp_7pEHTW_actions",
|
|
4703
|
-
"wide": "rp_7pEHTW_wide",
|
|
4704
|
-
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
4705
|
-
"space": "rp_7pEHTW_space",
|
|
4706
|
-
"inspector": "rp_7pEHTW_inspector",
|
|
4707
|
-
"edgeOn": "rp_7pEHTW_edgeOn",
|
|
4708
|
-
"edgeKind": "rp_7pEHTW_edgeKind",
|
|
4709
|
-
"metrics": "rp_7pEHTW_metrics",
|
|
4710
|
-
"filter": "rp_7pEHTW_filter",
|
|
4823
|
+
"node_location": "rp_7pEHTW_node_location",
|
|
4711
4824
|
"node_faction": "rp_7pEHTW_node_faction",
|
|
4712
|
-
"
|
|
4825
|
+
"edgeOn": "rp_7pEHTW_edgeOn",
|
|
4713
4826
|
"workspace": "rp_7pEHTW_workspace",
|
|
4714
4827
|
"node_item": "rp_7pEHTW_node_item",
|
|
4715
|
-
"
|
|
4828
|
+
"entities": "rp_7pEHTW_entities",
|
|
4829
|
+
"node_character": "rp_7pEHTW_node_character",
|
|
4830
|
+
"space": "rp_7pEHTW_space",
|
|
4831
|
+
"list": "rp_7pEHTW_list",
|
|
4832
|
+
"node": "rp_7pEHTW_node",
|
|
4716
4833
|
"filterOn": "rp_7pEHTW_filterOn",
|
|
4834
|
+
"edgeKind": "rp_7pEHTW_edgeKind",
|
|
4835
|
+
"notice": "rp_7pEHTW_notice",
|
|
4836
|
+
"graphInspector": "rp_7pEHTW_graphInspector",
|
|
4837
|
+
"actions": "rp_7pEHTW_actions",
|
|
4838
|
+
"check": "rp_7pEHTW_check",
|
|
4839
|
+
"graphEdge": "rp_7pEHTW_graphEdge",
|
|
4840
|
+
"panel": "rp_7pEHTW_panel",
|
|
4841
|
+
"inspector": "rp_7pEHTW_inspector",
|
|
4842
|
+
"wide": "rp_7pEHTW_wide",
|
|
4717
4843
|
"empty": "rp_7pEHTW_empty",
|
|
4844
|
+
"metrics": "rp_7pEHTW_metrics",
|
|
4845
|
+
"filter": "rp_7pEHTW_filter",
|
|
4846
|
+
"head": "rp_7pEHTW_head",
|
|
4847
|
+
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
4718
4848
|
"status": "rp_7pEHTW_status",
|
|
4719
|
-
"
|
|
4849
|
+
"perspective": "rp_7pEHTW_perspective",
|
|
4850
|
+
"edge": "rp_7pEHTW_edge",
|
|
4851
|
+
"edgeTitle": "rp_7pEHTW_edgeTitle",
|
|
4852
|
+
"form": "rp_7pEHTW_form",
|
|
4720
4853
|
"graph": "rp_7pEHTW_graph",
|
|
4721
|
-
"
|
|
4722
|
-
"node_location": "rp_7pEHTW_node_location",
|
|
4723
|
-
"graphInspector": "rp_7pEHTW_graphInspector",
|
|
4724
|
-
"node": "rp_7pEHTW_node",
|
|
4725
|
-
"entities": "rp_7pEHTW_entities",
|
|
4726
|
-
"form": "rp_7pEHTW_form"
|
|
4854
|
+
"toolbar": "rp_7pEHTW_toolbar"
|
|
4727
4855
|
};
|
|
4728
4856
|
//#endregion
|
|
4729
4857
|
//#region src/client/world-editor/RelationsPanel.tsx
|
|
@@ -6098,12 +6226,12 @@ window.__ModuleLoader__.load({
|
|
|
6098
6226
|
}
|
|
6099
6227
|
tag$27.textContent = css$27;
|
|
6100
6228
|
var PackFrame_module_css_default = {
|
|
6229
|
+
"problems": "rp_h_sbFq_problems",
|
|
6230
|
+
"message": "rp_h_sbFq_message",
|
|
6101
6231
|
"tab": "rp_h_sbFq_tab",
|
|
6102
6232
|
"frame": "rp_h_sbFq_frame",
|
|
6103
|
-
"fill": "rp_h_sbFq_fill",
|
|
6104
6233
|
"hud": "rp_h_sbFq_hud",
|
|
6105
|
-
"
|
|
6106
|
-
"problems": "rp_h_sbFq_problems"
|
|
6234
|
+
"fill": "rp_h_sbFq_fill"
|
|
6107
6235
|
};
|
|
6108
6236
|
//#endregion
|
|
6109
6237
|
//#region src/client/widgets/pack-frame/theme.ts
|
|
@@ -6366,13 +6494,13 @@ window.__ModuleLoader__.load({
|
|
|
6366
6494
|
}
|
|
6367
6495
|
tag$26.textContent = css$26;
|
|
6368
6496
|
var PacksPanel_module_css_default = {
|
|
6369
|
-
"note": "rp_FLaP7q_note",
|
|
6370
6497
|
"log": "rp_FLaP7q_log",
|
|
6371
|
-
"
|
|
6498
|
+
"stageTall": "rp_FLaP7q_stageTall",
|
|
6499
|
+
"note": "rp_FLaP7q_note",
|
|
6500
|
+
"group": "rp_FLaP7q_group",
|
|
6372
6501
|
"controls": "rp_FLaP7q_controls",
|
|
6373
6502
|
"stage": "rp_FLaP7q_stage",
|
|
6374
|
-
"
|
|
6375
|
-
"stageTall": "rp_FLaP7q_stageTall"
|
|
6503
|
+
"files": "rp_FLaP7q_files"
|
|
6376
6504
|
};
|
|
6377
6505
|
//#endregion
|
|
6378
6506
|
//#region src/client/world-editor/PacksPanel.tsx
|
|
@@ -7473,12 +7601,12 @@ window.__ModuleLoader__.load({
|
|
|
7473
7601
|
}
|
|
7474
7602
|
tag$25.textContent = css$25;
|
|
7475
7603
|
var SamplingFields_module_css_default = {
|
|
7604
|
+
"field": "rp_9vxYSG_field",
|
|
7605
|
+
"grid": "rp_9vxYSG_grid",
|
|
7606
|
+
"root": "rp_9vxYSG_root",
|
|
7476
7607
|
"label": "rp_9vxYSG_label",
|
|
7477
7608
|
"input": "rp_9vxYSG_input",
|
|
7478
|
-
"
|
|
7479
|
-
"help": "rp_9vxYSG_help",
|
|
7480
|
-
"field": "rp_9vxYSG_field",
|
|
7481
|
-
"root": "rp_9vxYSG_root"
|
|
7609
|
+
"help": "rp_9vxYSG_help"
|
|
7482
7610
|
};
|
|
7483
7611
|
//#endregion
|
|
7484
7612
|
//#region src/client/widgets/sampling-fields/SamplingFields.tsx
|
|
@@ -8896,16 +9024,16 @@ window.__ModuleLoader__.load({
|
|
|
8896
9024
|
tag$24.textContent = css$24;
|
|
8897
9025
|
var ToolSwitches_module_css_default = {
|
|
8898
9026
|
"external": "rp_CjoFLq_external",
|
|
8899
|
-
"
|
|
8900
|
-
"agent": "rp_CjoFLq_agent",
|
|
8901
|
-
"agentName": "rp_CjoFLq_agentName",
|
|
9027
|
+
"error": "rp_CjoFLq_error",
|
|
8902
9028
|
"hint": "rp_CjoFLq_hint",
|
|
8903
9029
|
"tool": "rp_CjoFLq_tool",
|
|
8904
|
-
"
|
|
8905
|
-
"
|
|
8906
|
-
"error": "rp_CjoFLq_error",
|
|
9030
|
+
"help": "rp_CjoFLq_help",
|
|
9031
|
+
"agentName": "rp_CjoFLq_agentName",
|
|
8907
9032
|
"toolText": "rp_CjoFLq_toolText",
|
|
8908
|
-
"
|
|
9033
|
+
"default": "rp_CjoFLq_default",
|
|
9034
|
+
"agent": "rp_CjoFLq_agent",
|
|
9035
|
+
"root": "rp_CjoFLq_root",
|
|
9036
|
+
"title": "rp_CjoFLq_title"
|
|
8909
9037
|
};
|
|
8910
9038
|
//#endregion
|
|
8911
9039
|
//#region src/client/widgets/tool-switches/ToolSwitches.tsx
|
|
@@ -9916,35 +10044,35 @@ window.__ModuleLoader__.load({
|
|
|
9916
10044
|
}
|
|
9917
10045
|
tag$23.textContent = css$23;
|
|
9918
10046
|
var GalleryView_module_css_default = {
|
|
9919
|
-
"
|
|
9920
|
-
"
|
|
9921
|
-
"
|
|
9922
|
-
"
|
|
9923
|
-
"
|
|
10047
|
+
"reusable": "rp_9pSHmG_reusable",
|
|
10048
|
+
"pre": "rp_9pSHmG_pre",
|
|
10049
|
+
"facts": "rp_9pSHmG_facts",
|
|
10050
|
+
"detail": "rp_9pSHmG_detail",
|
|
10051
|
+
"actions": "rp_9pSHmG_actions",
|
|
9924
10052
|
"editLabel": "rp_9pSHmG_editLabel",
|
|
10053
|
+
"edit": "rp_9pSHmG_edit",
|
|
10054
|
+
"grid": "rp_9pSHmG_grid",
|
|
10055
|
+
"note": "rp_9pSHmG_note",
|
|
9925
10056
|
"thumb": "rp_9pSHmG_thumb",
|
|
9926
10057
|
"editInput": "rp_9pSHmG_editInput",
|
|
9927
|
-
"
|
|
9928
|
-
"
|
|
9929
|
-
"
|
|
10058
|
+
"tags": "rp_9pSHmG_tags",
|
|
10059
|
+
"open": "rp_9pSHmG_open",
|
|
10060
|
+
"count": "rp_9pSHmG_count",
|
|
10061
|
+
"message": "rp_9pSHmG_message",
|
|
10062
|
+
"caption": "rp_9pSHmG_caption",
|
|
10063
|
+
"page": "rp_9pSHmG_page",
|
|
9930
10064
|
"large": "rp_9pSHmG_large",
|
|
9931
|
-
"editArea": "rp_9pSHmG_editArea",
|
|
9932
|
-
"statusError": "rp_9pSHmG_statusError",
|
|
9933
10065
|
"select": "rp_9pSHmG_select",
|
|
9934
|
-
"grid": "rp_9pSHmG_grid",
|
|
9935
|
-
"detail": "rp_9pSHmG_detail",
|
|
9936
|
-
"image": "rp_9pSHmG_image",
|
|
9937
|
-
"facts": "rp_9pSHmG_facts",
|
|
9938
10066
|
"cell": "rp_9pSHmG_cell",
|
|
9939
|
-
"open": "rp_9pSHmG_open",
|
|
9940
|
-
"tags": "rp_9pSHmG_tags",
|
|
9941
|
-
"note": "rp_9pSHmG_note",
|
|
9942
|
-
"editHelp": "rp_9pSHmG_editHelp",
|
|
9943
|
-
"message": "rp_9pSHmG_message",
|
|
9944
10067
|
"editField": "rp_9pSHmG_editField",
|
|
9945
|
-
"
|
|
9946
|
-
"
|
|
9947
|
-
"
|
|
10068
|
+
"status": "rp_9pSHmG_status",
|
|
10069
|
+
"editArea": "rp_9pSHmG_editArea",
|
|
10070
|
+
"error": "rp_9pSHmG_error",
|
|
10071
|
+
"editHelp": "rp_9pSHmG_editHelp",
|
|
10072
|
+
"statusError": "rp_9pSHmG_statusError",
|
|
10073
|
+
"image": "rp_9pSHmG_image",
|
|
10074
|
+
"editButton": "rp_9pSHmG_editButton",
|
|
10075
|
+
"toolbar": "rp_9pSHmG_toolbar"
|
|
9948
10076
|
};
|
|
9949
10077
|
//#endregion
|
|
9950
10078
|
//#region src/client/widgets/gallery-view/GalleryView.tsx
|
|
@@ -10285,13 +10413,13 @@ window.__ModuleLoader__.load({
|
|
|
10285
10413
|
}
|
|
10286
10414
|
tag$22.textContent = css$22;
|
|
10287
10415
|
var WorldEditor_module_css_default = {
|
|
10288
|
-
"
|
|
10289
|
-
"content": "rp__swA3a_content",
|
|
10416
|
+
"message": "rp__swA3a_message",
|
|
10290
10417
|
"warning": "rp__swA3a_warning",
|
|
10291
10418
|
"view": "rp__swA3a_view",
|
|
10419
|
+
"drawerItem": "rp__swA3a_drawerItem",
|
|
10420
|
+
"drawerItemOn": "rp__swA3a_drawerItemOn",
|
|
10292
10421
|
"drawer": "rp__swA3a_drawer",
|
|
10293
|
-
"
|
|
10294
|
-
"drawerItem": "rp__swA3a_drawerItem"
|
|
10422
|
+
"content": "rp__swA3a_content"
|
|
10295
10423
|
};
|
|
10296
10424
|
//#endregion
|
|
10297
10425
|
//#region src/client/world-editor/WorldEditor.tsx
|
|
@@ -10687,27 +10815,27 @@ window.__ModuleLoader__.load({
|
|
|
10687
10815
|
}
|
|
10688
10816
|
tag$21.textContent = css$21;
|
|
10689
10817
|
var AvatarsPage_module_css_default = {
|
|
10690
|
-
"form": "rp_pQOzEG_form",
|
|
10691
|
-
"card": "rp_pQOzEG_card",
|
|
10692
|
-
"toolbar": "rp_pQOzEG_toolbar",
|
|
10693
10818
|
"text": "rp_pQOzEG_text",
|
|
10694
|
-
"
|
|
10819
|
+
"portrait": "rp_pQOzEG_portrait",
|
|
10820
|
+
"viewport": "rp_pQOzEG_viewport",
|
|
10695
10821
|
"open": "rp_pQOzEG_open",
|
|
10696
|
-
"error": "rp_pQOzEG_error",
|
|
10697
|
-
"message": "rp_pQOzEG_message",
|
|
10698
|
-
"editHeader": "rp_pQOzEG_editHeader",
|
|
10699
10822
|
"name": "rp_pQOzEG_name",
|
|
10700
|
-
"
|
|
10701
|
-
"
|
|
10823
|
+
"label": "rp_pQOzEG_label",
|
|
10824
|
+
"editHeader": "rp_pQOzEG_editHeader",
|
|
10825
|
+
"message": "rp_pQOzEG_message",
|
|
10826
|
+
"toolbar": "rp_pQOzEG_toolbar",
|
|
10827
|
+
"count": "rp_pQOzEG_count",
|
|
10828
|
+
"page": "rp_pQOzEG_page",
|
|
10829
|
+
"summary": "rp_pQOzEG_summary",
|
|
10830
|
+
"card": "rp_pQOzEG_card",
|
|
10702
10831
|
"editBody": "rp_pQOzEG_editBody",
|
|
10832
|
+
"form": "rp_pQOzEG_form",
|
|
10703
10833
|
"placeholder": "rp_pQOzEG_placeholder",
|
|
10704
|
-
"actions": "rp_pQOzEG_actions",
|
|
10705
|
-
"viewport": "rp_pQOzEG_viewport",
|
|
10706
|
-
"count": "rp_pQOzEG_count",
|
|
10707
10834
|
"grid": "rp_pQOzEG_grid",
|
|
10708
|
-
"
|
|
10709
|
-
"
|
|
10710
|
-
"
|
|
10835
|
+
"actions": "rp_pQOzEG_actions",
|
|
10836
|
+
"editTitle": "rp_pQOzEG_editTitle",
|
|
10837
|
+
"error": "rp_pQOzEG_error",
|
|
10838
|
+
"field": "rp_pQOzEG_field"
|
|
10711
10839
|
};
|
|
10712
10840
|
//#endregion
|
|
10713
10841
|
//#region src/client/pages/avatars/AvatarsPage.tsx
|
|
@@ -12153,37 +12281,37 @@ window.__ModuleLoader__.load({
|
|
|
12153
12281
|
}
|
|
12154
12282
|
tag$20.textContent = css$20;
|
|
12155
12283
|
var LorebooksPage_module_css_default = {
|
|
12156
|
-
"cardActions": "rp_VV-Eha_cardActions",
|
|
12157
|
-
"meta": "rp_VV-Eha_meta",
|
|
12158
|
-
"section": "rp_VV-Eha_section",
|
|
12159
|
-
"field": "rp_VV-Eha_field",
|
|
12160
|
-
"form": "rp_VV-Eha_form",
|
|
12161
|
-
"help": "rp_VV-Eha_help",
|
|
12162
12284
|
"head": "rp_VV-Eha_head",
|
|
12163
|
-
"
|
|
12164
|
-
"
|
|
12165
|
-
"error": "rp_VV-Eha_error",
|
|
12166
|
-
"ok": "rp_VV-Eha_ok",
|
|
12285
|
+
"label": "rp_VV-Eha_label",
|
|
12286
|
+
"row": "rp_VV-Eha_row",
|
|
12167
12287
|
"input": "rp_VV-Eha_input",
|
|
12168
|
-
"area": "rp_VV-Eha_area",
|
|
12169
|
-
"grid": "rp_VV-Eha_grid",
|
|
12170
|
-
"warning": "rp_VV-Eha_warning",
|
|
12171
12288
|
"sectionTitle": "rp_VV-Eha_sectionTitle",
|
|
12172
|
-
"
|
|
12173
|
-
"
|
|
12174
|
-
"
|
|
12175
|
-
"
|
|
12289
|
+
"warning": "rp_VV-Eha_warning",
|
|
12290
|
+
"page": "rp_VV-Eha_page",
|
|
12291
|
+
"card": "rp_VV-Eha_card",
|
|
12292
|
+
"form": "rp_VV-Eha_form",
|
|
12176
12293
|
"select": "rp_VV-Eha_select",
|
|
12177
|
-
"
|
|
12178
|
-
"
|
|
12294
|
+
"section": "rp_VV-Eha_section",
|
|
12295
|
+
"title": "rp_VV-Eha_title",
|
|
12296
|
+
"toolbar": "rp_VV-Eha_toolbar",
|
|
12297
|
+
"cardActions": "rp_VV-Eha_cardActions",
|
|
12179
12298
|
"count": "rp_VV-Eha_count",
|
|
12180
|
-
"
|
|
12299
|
+
"name": "rp_VV-Eha_name",
|
|
12300
|
+
"entryArea": "rp_VV-Eha_entryArea",
|
|
12301
|
+
"ok": "rp_VV-Eha_ok",
|
|
12302
|
+
"grid": "rp_VV-Eha_grid",
|
|
12303
|
+
"error": "rp_VV-Eha_error",
|
|
12181
12304
|
"description": "rp_VV-Eha_description",
|
|
12182
|
-
"
|
|
12183
|
-
"label": "rp_VV-Eha_label",
|
|
12305
|
+
"viewport": "rp_VV-Eha_viewport",
|
|
12184
12306
|
"message": "rp_VV-Eha_message",
|
|
12185
|
-
"
|
|
12186
|
-
"
|
|
12307
|
+
"editBody": "rp_VV-Eha_editBody",
|
|
12308
|
+
"field": "rp_VV-Eha_field",
|
|
12309
|
+
"area": "rp_VV-Eha_area",
|
|
12310
|
+
"actions": "rp_VV-Eha_actions",
|
|
12311
|
+
"help": "rp_VV-Eha_help",
|
|
12312
|
+
"editHeader": "rp_VV-Eha_editHeader",
|
|
12313
|
+
"editTitle": "rp_VV-Eha_editTitle",
|
|
12314
|
+
"meta": "rp_VV-Eha_meta"
|
|
12187
12315
|
};
|
|
12188
12316
|
//#endregion
|
|
12189
12317
|
//#region src/client/pages/lorebooks/LorebookEditor.tsx
|
|
@@ -13227,35 +13355,35 @@ window.__ModuleLoader__.load({
|
|
|
13227
13355
|
}
|
|
13228
13356
|
tag$19.textContent = css$19;
|
|
13229
13357
|
var PresetsPage_module_css_default = {
|
|
13230
|
-
"help": "rp_ZK89ba_help",
|
|
13231
13358
|
"page": "rp_ZK89ba_page",
|
|
13232
|
-
"
|
|
13233
|
-
"row": "rp_ZK89ba_row",
|
|
13234
|
-
"title": "rp_ZK89ba_title",
|
|
13235
|
-
"error": "rp_ZK89ba_error",
|
|
13236
|
-
"ok": "rp_ZK89ba_ok",
|
|
13237
|
-
"field": "rp_ZK89ba_field",
|
|
13359
|
+
"count": "rp_ZK89ba_count",
|
|
13238
13360
|
"grid": "rp_ZK89ba_grid",
|
|
13239
|
-
"actions": "rp_ZK89ba_actions",
|
|
13240
|
-
"head": "rp_ZK89ba_head",
|
|
13241
|
-
"area": "rp_ZK89ba_area",
|
|
13242
13361
|
"toolbar": "rp_ZK89ba_toolbar",
|
|
13243
|
-
"editHeader": "rp_ZK89ba_editHeader",
|
|
13244
13362
|
"card": "rp_ZK89ba_card",
|
|
13245
|
-
"
|
|
13246
|
-
"
|
|
13247
|
-
"viewport": "rp_ZK89ba_viewport",
|
|
13248
|
-
"message": "rp_ZK89ba_message",
|
|
13249
|
-
"count": "rp_ZK89ba_count",
|
|
13363
|
+
"head": "rp_ZK89ba_head",
|
|
13364
|
+
"actions": "rp_ZK89ba_actions",
|
|
13250
13365
|
"name": "rp_ZK89ba_name",
|
|
13366
|
+
"editHeader": "rp_ZK89ba_editHeader",
|
|
13367
|
+
"message": "rp_ZK89ba_message",
|
|
13368
|
+
"error": "rp_ZK89ba_error",
|
|
13369
|
+
"warning": "rp_ZK89ba_warning",
|
|
13251
13370
|
"sectionTitle": "rp_ZK89ba_sectionTitle",
|
|
13252
|
-
"
|
|
13371
|
+
"title": "rp_ZK89ba_title",
|
|
13372
|
+
"area": "rp_ZK89ba_area",
|
|
13373
|
+
"field": "rp_ZK89ba_field",
|
|
13374
|
+
"viewport": "rp_ZK89ba_viewport",
|
|
13253
13375
|
"input": "rp_ZK89ba_input",
|
|
13254
|
-
"
|
|
13255
|
-
"warning": "rp_ZK89ba_warning",
|
|
13256
|
-
"form": "rp_ZK89ba_form",
|
|
13376
|
+
"editTitle": "rp_ZK89ba_editTitle",
|
|
13257
13377
|
"label": "rp_ZK89ba_label",
|
|
13258
|
-
"
|
|
13378
|
+
"form": "rp_ZK89ba_form",
|
|
13379
|
+
"help": "rp_ZK89ba_help",
|
|
13380
|
+
"description": "rp_ZK89ba_description",
|
|
13381
|
+
"row": "rp_ZK89ba_row",
|
|
13382
|
+
"section": "rp_ZK89ba_section",
|
|
13383
|
+
"meta": "rp_ZK89ba_meta",
|
|
13384
|
+
"editBody": "rp_ZK89ba_editBody",
|
|
13385
|
+
"cardActions": "rp_ZK89ba_cardActions",
|
|
13386
|
+
"ok": "rp_ZK89ba_ok"
|
|
13259
13387
|
};
|
|
13260
13388
|
//#endregion
|
|
13261
13389
|
//#region src/client/pages/presets/PresetEditor.tsx
|
|
@@ -14393,8 +14521,8 @@ window.__ModuleLoader__.load({
|
|
|
14393
14521
|
tag$16.textContent = css$16;
|
|
14394
14522
|
var DeleteSessionDialog_module_css_default = {
|
|
14395
14523
|
"question": "rp_FifHrW_question",
|
|
14396
|
-
"choice": "rp_FifHrW_choice",
|
|
14397
14524
|
"error": "rp_FifHrW_error",
|
|
14525
|
+
"choice": "rp_FifHrW_choice",
|
|
14398
14526
|
"body": "rp_FifHrW_body",
|
|
14399
14527
|
"warning": "rp_FifHrW_warning"
|
|
14400
14528
|
};
|
|
@@ -14534,28 +14662,28 @@ window.__ModuleLoader__.load({
|
|
|
14534
14662
|
}
|
|
14535
14663
|
tag$15.textContent = css$15;
|
|
14536
14664
|
var SessionsPage_module_css_default = {
|
|
14537
|
-
"scrolls": "rp_24z4eW_scrolls",
|
|
14538
|
-
"badge": "rp_24z4eW_badge",
|
|
14539
14665
|
"worldColumn": "rp_24z4eW_worldColumn",
|
|
14540
|
-
"
|
|
14541
|
-
"
|
|
14542
|
-
"
|
|
14543
|
-
"
|
|
14666
|
+
"message": "rp_24z4eW_message",
|
|
14667
|
+
"turnsColumn": "rp_24z4eW_turnsColumn",
|
|
14668
|
+
"timeColumn": "rp_24z4eW_timeColumn",
|
|
14669
|
+
"fits": "rp_24z4eW_fits",
|
|
14544
14670
|
"actionsColumn": "rp_24z4eW_actionsColumn",
|
|
14545
|
-
"
|
|
14671
|
+
"spin": "rp_24z4eW_spin",
|
|
14672
|
+
"number": "rp_24z4eW_number",
|
|
14546
14673
|
"name": "rp_24z4eW_name",
|
|
14547
|
-
"fits": "rp_24z4eW_fits",
|
|
14548
|
-
"table": "rp_24z4eW_table",
|
|
14549
14674
|
"toolbar": "rp_24z4eW_toolbar",
|
|
14550
|
-
"
|
|
14675
|
+
"table": "rp_24z4eW_table",
|
|
14551
14676
|
"count": "rp_24z4eW_count",
|
|
14552
|
-
"
|
|
14677
|
+
"archived": "rp_24z4eW_archived",
|
|
14678
|
+
"page": "rp_24z4eW_page",
|
|
14679
|
+
"scrolls": "rp_24z4eW_scrolls",
|
|
14680
|
+
"nameColumn": "rp_24z4eW_nameColumn",
|
|
14681
|
+
"badge": "rp_24z4eW_badge",
|
|
14682
|
+
"actions": "rp_24z4eW_actions",
|
|
14553
14683
|
"secondary": "rp_24z4eW_secondary",
|
|
14554
|
-
"
|
|
14684
|
+
"notice": "rp_24z4eW_notice",
|
|
14555
14685
|
"viewport": "rp_24z4eW_viewport",
|
|
14556
|
-
"
|
|
14557
|
-
"message": "rp_24z4eW_message",
|
|
14558
|
-
"archived": "rp_24z4eW_archived"
|
|
14686
|
+
"spinning": "rp_24z4eW_spinning"
|
|
14559
14687
|
};
|
|
14560
14688
|
//#endregion
|
|
14561
14689
|
//#region src/client/pages/sessions/SessionsPage.tsx
|
|
@@ -15163,7 +15291,7 @@ window.__ModuleLoader__.load({
|
|
|
15163
15291
|
}
|
|
15164
15292
|
//#endregion
|
|
15165
15293
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/sync/SyncPage.module.css.mjs
|
|
15166
|
-
const css$14 = ".rp_Gk-byG_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_Gk-byG_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:28px;display:flex}.rp_Gk-byG_meta{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_Gk-byG_actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rp_Gk-byG_viewport{flex:1 1 0;min-height:0;overflow:auto}.rp_Gk-byG_table{border-collapse:collapse;width:100%;font-size:13px}.rp_Gk-byG_table th{text-align:left;color:var(--dsw-alias-label-tertiary);background:var(--dsw-alias-bg-layer-1);border-bottom:.5px solid var(--dsw-alias-border-l3);padding:6px 8px;font-size:12px;font-weight:400;position:sticky;top:0}.rp_Gk-byG_table td{vertical-align:top;border-bottom:.5px solid var(--dsw-alias-border-l4);color:var(--dsw-alias-label-primary);padding:6px 8px}.rp_Gk-byG_unit{font-family:var(--dsw-font-mono,monospace);word-break:break-all;font-size:12px}.rp_Gk-byG_conflict{color:var(--dsw-alias-state-warn-primary,var(--dsw-alias-state-error-primary))}.rp_Gk-byG_failed{color:var(--dsw-alias-state-error-primary)}.rp_Gk-byG_detail{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:6px;margin:0;font-size:12px;display:flex}.rp_Gk-byG_choices{flex-wrap:wrap;gap:4px;display:flex}.rp_Gk-byG_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 0;font-size:13px}.rp_Gk-byG_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_Gk-byG_problem{color:var(--dsw-alias-state-warn-primary,var(--dsw-alias-state-error-primary));margin:0;font-size:12px}.rp_Gk-byG_confirmation{max-width:60ch;color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;margin:0}";
|
|
15294
|
+
const css$14 = ".rp_Gk-byG_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_Gk-byG_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:28px;display:flex}.rp_Gk-byG_meta{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_Gk-byG_actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rp_Gk-byG_viewport{flex:1 1 0;min-height:0;overflow:auto}.rp_Gk-byG_table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:720px;font-size:13px}.rp_Gk-byG_unitColumn{width:18%}.rp_Gk-byG_kindColumn{width:13%}.rp_Gk-byG_stateColumn{width:14%}.rp_Gk-byG_syncedColumn{width:16%}.rp_Gk-byG_detailsColumn{width:29%}.rp_Gk-byG_actionsColumn{width:10%}.rp_Gk-byG_caption{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rp_Gk-byG_table th{text-align:left;color:var(--dsw-alias-label-tertiary);background:var(--dsw-alias-bg-layer-1);border-bottom:.5px solid var(--dsw-alias-border-l3);padding:6px 8px;font-size:12px;font-weight:400;position:sticky;top:0}.rp_Gk-byG_table .rp_Gk-byG_actionHeading{text-align:right}.rp_Gk-byG_table td{vertical-align:top;border-bottom:.5px solid var(--dsw-alias-border-l4);color:var(--dsw-alias-label-primary);padding:6px 8px}.rp_Gk-byG_table td:last-child{text-align:right}.rp_Gk-byG_unit{font-family:var(--dsw-font-mono,monospace);word-break:break-all;font-size:12px}.rp_Gk-byG_conflict{color:var(--dsw-alias-state-warn-primary,var(--dsw-alias-state-error-primary))}.rp_Gk-byG_failed{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;display:block}.rp_Gk-byG_detail{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:6px;margin:0;font-size:12px;display:flex}.rp_Gk-byG_detail>span:first-child{overflow-wrap:anywhere}.rp_Gk-byG_choices{flex-wrap:wrap;gap:4px;display:flex}.rp_Gk-byG_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 0;font-size:13px}.rp_Gk-byG_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_Gk-byG_problem{color:var(--dsw-alias-state-warn-primary,var(--dsw-alias-state-error-primary));margin:0;font-size:12px}.rp_Gk-byG_confirmation{max-width:60ch;color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;margin:0}";
|
|
15167
15295
|
const key$14 = "src/client/pages/sync/SyncPage.module.css";
|
|
15168
15296
|
let tag$14 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$14) + "]");
|
|
15169
15297
|
if (tag$14 === null) {
|
|
@@ -15174,21 +15302,29 @@ window.__ModuleLoader__.load({
|
|
|
15174
15302
|
}
|
|
15175
15303
|
tag$14.textContent = css$14;
|
|
15176
15304
|
var SyncPage_module_css_default = {
|
|
15177
|
-
"
|
|
15178
|
-
"actions": "rp_Gk-byG_actions",
|
|
15179
|
-
"confirmation": "rp_Gk-byG_confirmation",
|
|
15180
|
-
"error": "rp_Gk-byG_error",
|
|
15305
|
+
"detailsColumn": "rp_Gk-byG_detailsColumn",
|
|
15181
15306
|
"page": "rp_Gk-byG_page",
|
|
15182
|
-
"
|
|
15183
|
-
"conflict": "rp_Gk-byG_conflict",
|
|
15184
|
-
"problem": "rp_Gk-byG_problem",
|
|
15307
|
+
"viewport": "rp_Gk-byG_viewport",
|
|
15185
15308
|
"table": "rp_Gk-byG_table",
|
|
15309
|
+
"stateColumn": "rp_Gk-byG_stateColumn",
|
|
15310
|
+
"actionHeading": "rp_Gk-byG_actionHeading",
|
|
15311
|
+
"actions": "rp_Gk-byG_actions",
|
|
15186
15312
|
"failed": "rp_Gk-byG_failed",
|
|
15187
|
-
"choices": "rp_Gk-byG_choices",
|
|
15188
|
-
"viewport": "rp_Gk-byG_viewport",
|
|
15189
15313
|
"unit": "rp_Gk-byG_unit",
|
|
15190
|
-
"
|
|
15191
|
-
"
|
|
15314
|
+
"actionsColumn": "rp_Gk-byG_actionsColumn",
|
|
15315
|
+
"choices": "rp_Gk-byG_choices",
|
|
15316
|
+
"detail": "rp_Gk-byG_detail",
|
|
15317
|
+
"problem": "rp_Gk-byG_problem",
|
|
15318
|
+
"confirmation": "rp_Gk-byG_confirmation",
|
|
15319
|
+
"conflict": "rp_Gk-byG_conflict",
|
|
15320
|
+
"meta": "rp_Gk-byG_meta",
|
|
15321
|
+
"message": "rp_Gk-byG_message",
|
|
15322
|
+
"kindColumn": "rp_Gk-byG_kindColumn",
|
|
15323
|
+
"caption": "rp_Gk-byG_caption",
|
|
15324
|
+
"error": "rp_Gk-byG_error",
|
|
15325
|
+
"unitColumn": "rp_Gk-byG_unitColumn",
|
|
15326
|
+
"syncedColumn": "rp_Gk-byG_syncedColumn",
|
|
15327
|
+
"toolbar": "rp_Gk-byG_toolbar"
|
|
15192
15328
|
};
|
|
15193
15329
|
//#endregion
|
|
15194
15330
|
//#region src/client/pages/sync/SyncPage.tsx
|
|
@@ -15374,42 +15510,76 @@ window.__ModuleLoader__.load({
|
|
|
15374
15510
|
}),
|
|
15375
15511
|
status !== void 0 && status.units.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("table", {
|
|
15376
15512
|
className: SyncPage_module_css_default.table,
|
|
15377
|
-
children: [
|
|
15378
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("synced") }),
|
|
15382
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("details") }),
|
|
15383
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {})
|
|
15384
|
-
] }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", { children: status.units.map((unit) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
|
|
15385
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
15386
|
-
className: SyncPage_module_css_default.unit,
|
|
15387
|
-
children: unit.id
|
|
15513
|
+
children: [
|
|
15514
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("caption", {
|
|
15515
|
+
className: SyncPage_module_css_default.caption,
|
|
15516
|
+
children: t("tableCaption")
|
|
15388
15517
|
}),
|
|
15389
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
|
|
15393
|
-
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
},
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
15518
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("colgroup", { children: [
|
|
15519
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("col", { className: SyncPage_module_css_default.unitColumn }),
|
|
15520
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("col", { className: SyncPage_module_css_default.kindColumn }),
|
|
15521
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("col", { className: SyncPage_module_css_default.stateColumn }),
|
|
15522
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("col", { className: SyncPage_module_css_default.syncedColumn }),
|
|
15523
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("col", { className: SyncPage_module_css_default.detailsColumn }),
|
|
15524
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("col", { className: SyncPage_module_css_default.actionsColumn })
|
|
15525
|
+
] }),
|
|
15526
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
|
|
15527
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
15528
|
+
scope: "col",
|
|
15529
|
+
children: t("unit")
|
|
15530
|
+
}),
|
|
15531
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
15532
|
+
scope: "col",
|
|
15533
|
+
children: t("kind")
|
|
15534
|
+
}),
|
|
15535
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
15536
|
+
scope: "col",
|
|
15537
|
+
children: t("state")
|
|
15538
|
+
}),
|
|
15539
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
15540
|
+
scope: "col",
|
|
15541
|
+
children: t("synced")
|
|
15542
|
+
}),
|
|
15543
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
15544
|
+
scope: "col",
|
|
15545
|
+
children: t("details")
|
|
15546
|
+
}),
|
|
15547
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
15548
|
+
scope: "col",
|
|
15549
|
+
className: SyncPage_module_css_default.actionHeading,
|
|
15550
|
+
children: t("actions")
|
|
15551
|
+
})
|
|
15552
|
+
] }) }),
|
|
15553
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", { children: status.units.map((unit) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
|
|
15554
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
15555
|
+
className: SyncPage_module_css_default.unit,
|
|
15556
|
+
children: unit.id
|
|
15557
|
+
}),
|
|
15558
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: t(`kind_${unit.kind}`) }),
|
|
15559
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: t(`state_${unit.state}`) }),
|
|
15560
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: when(unit.at, t("never"), t("dateLocale")) }),
|
|
15561
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Details, {
|
|
15562
|
+
t,
|
|
15563
|
+
unit,
|
|
15564
|
+
working: busy,
|
|
15565
|
+
face: {
|
|
15566
|
+
resolve,
|
|
15567
|
+
forget,
|
|
15568
|
+
restore
|
|
15569
|
+
},
|
|
15570
|
+
confirmDeletion: setDeletion
|
|
15571
|
+
}) }),
|
|
15572
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
15573
|
+
size: "sm",
|
|
15574
|
+
variant: "ghost",
|
|
15575
|
+
disabled: busy || status.problem !== void 0 || unit.state === "conflict" || unit.state === "ignored",
|
|
15576
|
+
onClick: () => {
|
|
15577
|
+
run(unit.id);
|
|
15578
|
+
},
|
|
15579
|
+
children: t("runOne")
|
|
15580
|
+
}) })
|
|
15581
|
+
] }, unit.id)) })
|
|
15582
|
+
]
|
|
15413
15583
|
})
|
|
15414
15584
|
]
|
|
15415
15585
|
}),
|
|
@@ -15467,6 +15637,8 @@ window.__ModuleLoader__.load({
|
|
|
15467
15637
|
state: "State",
|
|
15468
15638
|
synced: "Last synced",
|
|
15469
15639
|
details: "Details",
|
|
15640
|
+
actions: "Actions",
|
|
15641
|
+
tableCaption: "Roleplay content sync status",
|
|
15470
15642
|
kind_world: "World",
|
|
15471
15643
|
kind_session: "Session",
|
|
15472
15644
|
kind_shared: "Shared folder",
|
|
@@ -15516,6 +15688,8 @@ window.__ModuleLoader__.load({
|
|
|
15516
15688
|
state: "状态",
|
|
15517
15689
|
synced: "上次同步",
|
|
15518
15690
|
details: "详情",
|
|
15691
|
+
actions: "操作",
|
|
15692
|
+
tableCaption: "角色扮演内容同步状态",
|
|
15519
15693
|
kind_world: "世界",
|
|
15520
15694
|
kind_session: "会话",
|
|
15521
15695
|
kind_shared: "共享文件夹",
|
|
@@ -15668,16 +15842,16 @@ window.__ModuleLoader__.load({
|
|
|
15668
15842
|
}
|
|
15669
15843
|
tag$13.textContent = css$13;
|
|
15670
15844
|
var WorldCard_module_css_default = {
|
|
15845
|
+
"name": "rp_Bvxx5q_name",
|
|
15846
|
+
"image": "rp_Bvxx5q_image",
|
|
15847
|
+
"card": "rp_Bvxx5q_card",
|
|
15671
15848
|
"placeholder": "rp_Bvxx5q_placeholder",
|
|
15849
|
+
"info": "rp_Bvxx5q_info",
|
|
15672
15850
|
"play": "rp_Bvxx5q_play",
|
|
15673
15851
|
"tags": "rp_Bvxx5q_tags",
|
|
15674
|
-
"image": "rp_Bvxx5q_image",
|
|
15675
15852
|
"tag": "rp_Bvxx5q_tag",
|
|
15676
|
-
"card": "rp_Bvxx5q_card",
|
|
15677
|
-
"openButton": "rp_Bvxx5q_openButton",
|
|
15678
|
-
"name": "rp_Bvxx5q_name",
|
|
15679
15853
|
"cover": "rp_Bvxx5q_cover",
|
|
15680
|
-
"
|
|
15854
|
+
"openButton": "rp_Bvxx5q_openButton"
|
|
15681
15855
|
};
|
|
15682
15856
|
//#endregion
|
|
15683
15857
|
//#region src/client/widgets/world-card/WorldCard.tsx
|
|
@@ -15688,7 +15862,7 @@ window.__ModuleLoader__.load({
|
|
|
15688
15862
|
return hash;
|
|
15689
15863
|
}
|
|
15690
15864
|
/** A world as a card. It fills the grid cell it is placed in. */
|
|
15691
|
-
function WorldCard({ world, playLabel, openLabel, onPlay, onOpen }) {
|
|
15865
|
+
function WorldCard({ world, playLabel, openLabel, draftLabel, onPlay, onOpen }) {
|
|
15692
15866
|
const coverSrc = world.coverVersion === void 0 ? void 0 : worldCoverPath(world.id, world.coverVersion);
|
|
15693
15867
|
const [failedSrc, setFailedSrc] = (0, react.useState)();
|
|
15694
15868
|
const showCover = coverSrc !== void 0 && coverSrc !== failedSrc;
|
|
@@ -15742,9 +15916,14 @@ window.__ModuleLoader__.load({
|
|
|
15742
15916
|
}),
|
|
15743
15917
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15744
15918
|
className: WorldCard_module_css_default.info,
|
|
15745
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.
|
|
15919
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15746
15920
|
className: WorldCard_module_css_default.name,
|
|
15747
|
-
children: world.name
|
|
15921
|
+
children: [world.name, draftLabel !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tag, {
|
|
15922
|
+
tone: "warning",
|
|
15923
|
+
className: WorldCard_module_css_default.tag,
|
|
15924
|
+
"data-testid": "world-draft",
|
|
15925
|
+
children: draftLabel
|
|
15926
|
+
})]
|
|
15748
15927
|
}), world.tags.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
15749
15928
|
className: WorldCard_module_css_default.tags,
|
|
15750
15929
|
children: world.tags.map((tag) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tag, {
|
|
@@ -15771,9 +15950,9 @@ window.__ModuleLoader__.load({
|
|
|
15771
15950
|
}
|
|
15772
15951
|
tag$12.textContent = css$12;
|
|
15773
15952
|
var AvatarChoices_module_css_default = {
|
|
15774
|
-
"text": "rp_YCstOG_text",
|
|
15775
15953
|
"summary": "rp_YCstOG_summary",
|
|
15776
15954
|
"option": "rp_YCstOG_option",
|
|
15955
|
+
"text": "rp_YCstOG_text",
|
|
15777
15956
|
"name": "rp_YCstOG_name"
|
|
15778
15957
|
};
|
|
15779
15958
|
//#endregion
|
|
@@ -15815,17 +15994,17 @@ window.__ModuleLoader__.load({
|
|
|
15815
15994
|
tag$11.textContent = css$11;
|
|
15816
15995
|
var StartSessionDialog_module_css_default = {
|
|
15817
15996
|
"form": "rp_AnbLKG_form",
|
|
15818
|
-
"field": "rp_AnbLKG_field",
|
|
15819
15997
|
"advanced": "rp_AnbLKG_advanced",
|
|
15820
|
-
"message": "rp_AnbLKG_message",
|
|
15821
|
-
"option": "rp_AnbLKG_option",
|
|
15822
|
-
"optionSummary": "rp_AnbLKG_optionSummary",
|
|
15823
15998
|
"error": "rp_AnbLKG_error",
|
|
15824
|
-
"optionName": "rp_AnbLKG_optionName",
|
|
15825
|
-
"advancedBody": "rp_AnbLKG_advancedBody",
|
|
15826
15999
|
"optionText": "rp_AnbLKG_optionText",
|
|
16000
|
+
"advancedToggle": "rp_AnbLKG_advancedToggle",
|
|
16001
|
+
"optionSummary": "rp_AnbLKG_optionSummary",
|
|
15827
16002
|
"label": "rp_AnbLKG_label",
|
|
15828
|
-
"
|
|
16003
|
+
"message": "rp_AnbLKG_message",
|
|
16004
|
+
"optionName": "rp_AnbLKG_optionName",
|
|
16005
|
+
"option": "rp_AnbLKG_option",
|
|
16006
|
+
"advancedBody": "rp_AnbLKG_advancedBody",
|
|
16007
|
+
"field": "rp_AnbLKG_field"
|
|
15829
16008
|
};
|
|
15830
16009
|
//#endregion
|
|
15831
16010
|
//#region src/client/pages/worlds/AddAvatarsDialog.tsx
|
|
@@ -16989,14 +17168,14 @@ window.__ModuleLoader__.load({
|
|
|
16989
17168
|
}
|
|
16990
17169
|
tag$10.textContent = css$10;
|
|
16991
17170
|
var SettingsFields_module_css_default = {
|
|
17171
|
+
"help": "rp_Rhi3yq_help",
|
|
16992
17172
|
"error": "rp_Rhi3yq_error",
|
|
16993
|
-
"row": "rp_Rhi3yq_row",
|
|
16994
|
-
"group": "rp_Rhi3yq_group",
|
|
16995
17173
|
"groupTitle": "rp_Rhi3yq_groupTitle",
|
|
16996
|
-
"
|
|
17174
|
+
"group": "rp_Rhi3yq_group",
|
|
17175
|
+
"area": "rp_Rhi3yq_area",
|
|
17176
|
+
"row": "rp_Rhi3yq_row",
|
|
16997
17177
|
"field": "rp_Rhi3yq_field",
|
|
16998
|
-
"
|
|
16999
|
-
"area": "rp_Rhi3yq_area"
|
|
17178
|
+
"label": "rp_Rhi3yq_label"
|
|
17000
17179
|
};
|
|
17001
17180
|
//#endregion
|
|
17002
17181
|
//#region src/client/settings-form/SettingsFields.tsx
|
|
@@ -17195,14 +17374,15 @@ window.__ModuleLoader__.load({
|
|
|
17195
17374
|
body: file
|
|
17196
17375
|
}));
|
|
17197
17376
|
}
|
|
17198
|
-
async function startImport(id, choices, language) {
|
|
17377
|
+
async function startImport(id, choices, language, update) {
|
|
17199
17378
|
return await answer$1(await fetch(`${API_PREFIX}/worlds/import/start?id=${encodeURIComponent(id)}`, {
|
|
17200
17379
|
method: "POST",
|
|
17201
17380
|
credentials: "same-origin",
|
|
17202
17381
|
headers: { "content-type": "application/json" },
|
|
17203
17382
|
body: JSON.stringify({
|
|
17204
17383
|
...choices,
|
|
17205
|
-
language
|
|
17384
|
+
language,
|
|
17385
|
+
...update === void 0 ? {} : { update }
|
|
17206
17386
|
})
|
|
17207
17387
|
}));
|
|
17208
17388
|
}
|
|
@@ -17212,6 +17392,36 @@ window.__ModuleLoader__.load({
|
|
|
17212
17392
|
credentials: "same-origin"
|
|
17213
17393
|
});
|
|
17214
17394
|
}
|
|
17395
|
+
/** Whether a world can be updated from a newer card, and whether its last update can be undone. */
|
|
17396
|
+
async function updateStatus(worldId) {
|
|
17397
|
+
return await answer$1(await fetch(`${API_PREFIX}/worlds/import/update?id=${encodeURIComponent(worldId)}`, { credentials: "same-origin" }));
|
|
17398
|
+
}
|
|
17399
|
+
/** Returns a world to what it was before its last card update; the answer says where what it held is kept. */
|
|
17400
|
+
async function revertUpdate(worldId) {
|
|
17401
|
+
return await answer$1(await fetch(`${API_PREFIX}/worlds/import/update?id=${encodeURIComponent(worldId)}`, {
|
|
17402
|
+
method: "DELETE",
|
|
17403
|
+
credentials: "same-origin"
|
|
17404
|
+
}));
|
|
17405
|
+
}
|
|
17406
|
+
/** Whether a world is a draft (an import written but not yet able to start), and what is wrong with it. */
|
|
17407
|
+
async function draftStatus(worldId, signal) {
|
|
17408
|
+
return await answer$1(await fetch(`${API_PREFIX}/worlds/import/draft?id=${encodeURIComponent(worldId)}`, {
|
|
17409
|
+
credentials: "same-origin",
|
|
17410
|
+
...signal === void 0 ? {} : { signal }
|
|
17411
|
+
}));
|
|
17412
|
+
}
|
|
17413
|
+
/** What the person decides about a draft: have the assistant try again, keep it as it is, or discard it. */
|
|
17414
|
+
async function decideDraft(worldId, action, language) {
|
|
17415
|
+
return await answer$1(await fetch(`${API_PREFIX}/worlds/import/draft?id=${encodeURIComponent(worldId)}`, {
|
|
17416
|
+
method: "POST",
|
|
17417
|
+
credentials: "same-origin",
|
|
17418
|
+
headers: { "content-type": "application/json" },
|
|
17419
|
+
body: JSON.stringify({
|
|
17420
|
+
action,
|
|
17421
|
+
language
|
|
17422
|
+
})
|
|
17423
|
+
}));
|
|
17424
|
+
}
|
|
17215
17425
|
//#endregion
|
|
17216
17426
|
//#region src/client/pages/worlds/translate-api.ts
|
|
17217
17427
|
/** The language a world is written in, or nothing when it has too little text to tell. */
|
|
@@ -17239,7 +17449,7 @@ window.__ModuleLoader__.load({
|
|
|
17239
17449
|
const storyLanguageOf = (code) => code.trim().toLowerCase().startsWith("zh") ? "zh" : "en";
|
|
17240
17450
|
//#endregion
|
|
17241
17451
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/worlds/TranslateBanner.module.css.mjs
|
|
17242
|
-
const css$9 = ".rp_Lx8vJa_banner{border
|
|
17452
|
+
const css$9 = ".rp_Lx8vJa_banner{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);color:var(--dsw-alias-label-secondary);flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 8px;padding:8px 12px;font-size:12px;line-height:18px;display:flex}.rp_Lx8vJa_text{flex:360px;min-width:0}.rp_Lx8vJa_text ul{margin:4px 0 0;padding-left:20px}.rp_Lx8vJa_bannerActions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:8px;display:flex}.rp_Lx8vJa_error{color:var(--dsw-alias-state-error-primary);margin:0 0 8px;font-size:12px}";
|
|
17243
17453
|
const key$9 = "src/client/pages/worlds/TranslateBanner.module.css";
|
|
17244
17454
|
let tag$9 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$9) + "]");
|
|
17245
17455
|
if (tag$9 === null) {
|
|
@@ -17250,8 +17460,9 @@ window.__ModuleLoader__.load({
|
|
|
17250
17460
|
}
|
|
17251
17461
|
tag$9.textContent = css$9;
|
|
17252
17462
|
var TranslateBanner_module_css_default = {
|
|
17253
|
-
"
|
|
17463
|
+
"bannerActions": "rp_Lx8vJa_bannerActions",
|
|
17254
17464
|
"banner": "rp_Lx8vJa_banner",
|
|
17465
|
+
"error": "rp_Lx8vJa_error",
|
|
17255
17466
|
"text": "rp_Lx8vJa_text"
|
|
17256
17467
|
};
|
|
17257
17468
|
//#endregion
|
|
@@ -17832,7 +18043,7 @@ window.__ModuleLoader__.load({
|
|
|
17832
18043
|
}
|
|
17833
18044
|
//#endregion
|
|
17834
18045
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/worlds/WorldsPage.module.css.mjs
|
|
17835
|
-
const css$8 = ".rp_FHUyRq_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_FHUyRq_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:28px;display:flex}.rp_FHUyRq_count{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_FHUyRq_toolbarActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.rp_FHUyRq_spinning{animation:.9s linear infinite rp_FHUyRq_spin}@keyframes rp_FHUyRq_spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.rp_FHUyRq_spinning{animation:none}}.rp_FHUyRq_notice{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_FHUyRq_viewport{--rp-card-width:168px;--rp-card-height:288px;--rp-card-gap:16px;flex:1 1 0;min-height:0;padding:4px}.rp_FHUyRq_scrolls{overflow-y:auto}.rp_FHUyRq_fits{overflow:hidden}.rp_FHUyRq_grid{grid-auto-rows:var(--rp-card-height);grid-template-columns:repeat(auto-fill, var(--rp-card-width));gap:var(--rp-card-gap);margin:0;padding:0;list-style:none;display:grid}.rp_FHUyRq_cell{min-width:0;display:flex}.rp_FHUyRq_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 0;font-size:13px}.rp_FHUyRq_editHeader{border-bottom:.5px solid var(--dsw-alias-border-l3);flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:8px 16px;display:flex}.rp_FHUyRq_editTitle{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500}.
|
|
18046
|
+
const css$8 = ".rp_FHUyRq_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_FHUyRq_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:28px;display:flex}.rp_FHUyRq_count{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_FHUyRq_toolbarActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.rp_FHUyRq_spinning{animation:.9s linear infinite rp_FHUyRq_spin}@keyframes rp_FHUyRq_spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.rp_FHUyRq_spinning{animation:none}}.rp_FHUyRq_notice{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_FHUyRq_viewport{--rp-card-width:168px;--rp-card-height:288px;--rp-card-gap:16px;flex:1 1 0;min-height:0;padding:4px}.rp_FHUyRq_scrolls{overflow-y:auto}.rp_FHUyRq_fits{overflow:hidden}.rp_FHUyRq_grid{grid-auto-rows:var(--rp-card-height);grid-template-columns:repeat(auto-fill, var(--rp-card-width));gap:var(--rp-card-gap);margin:0;padding:0;list-style:none;display:grid}.rp_FHUyRq_cell{min-width:0;display:flex}.rp_FHUyRq_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 0;font-size:13px}.rp_FHUyRq_editHeader{border-bottom:.5px solid var(--dsw-alias-border-l3);flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:8px 16px;display:flex}.rp_FHUyRq_editTitle{min-width:0;color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;flex:180px;font-size:14px;font-weight:500;overflow:hidden}.rp_FHUyRq_editActions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:8px;display:flex}.rp_FHUyRq_editBody{flex:1 1 0;min-height:0;display:flex}.rp_FHUyRq_starters{flex-direction:column;align-items:center;gap:8px;padding-bottom:24px;display:flex}.rp_FHUyRq_starter{border:.5px solid var(--dsw-alias-settings-card-stroke);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-settings-card-fill);text-align:center;max-width:480px;color:var(--dsw-alias-label-secondary);flex-direction:column;align-items:center;gap:6px;padding:12px 16px;font-size:13px;display:flex}@media (width<=640px){.rp_FHUyRq_toolbar{align-items:flex-start}.rp_FHUyRq_count{padding-top:6px}.rp_FHUyRq_toolbarActions{max-width:75%}.rp_FHUyRq_editTitle{text-overflow:ellipsis;white-space:nowrap;flex:calc(100% - 96px);overflow:hidden}.rp_FHUyRq_editActions{flex:0 0 100%;justify-content:flex-start}}";
|
|
17836
18047
|
const key$8 = "src/client/pages/worlds/WorldsPage.module.css";
|
|
17837
18048
|
let tag$8 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$8) + "]");
|
|
17838
18049
|
if (tag$8 === null) {
|
|
@@ -17843,24 +18054,24 @@ window.__ModuleLoader__.load({
|
|
|
17843
18054
|
}
|
|
17844
18055
|
tag$8.textContent = css$8;
|
|
17845
18056
|
var WorldsPage_module_css_default = {
|
|
17846
|
-
"editTitle": "rp_FHUyRq_editTitle",
|
|
17847
|
-
"spin": "rp_FHUyRq_spin",
|
|
17848
|
-
"notice": "rp_FHUyRq_notice",
|
|
17849
|
-
"scrolls": "rp_FHUyRq_scrolls",
|
|
17850
|
-
"authorButton": "rp_FHUyRq_authorButton",
|
|
17851
18057
|
"starters": "rp_FHUyRq_starters",
|
|
17852
|
-
"toolbar": "rp_FHUyRq_toolbar",
|
|
17853
|
-
"toolbarActions": "rp_FHUyRq_toolbarActions",
|
|
17854
|
-
"page": "rp_FHUyRq_page",
|
|
17855
|
-
"spinning": "rp_FHUyRq_spinning",
|
|
17856
|
-
"cell": "rp_FHUyRq_cell",
|
|
17857
|
-
"fits": "rp_FHUyRq_fits",
|
|
17858
|
-
"message": "rp_FHUyRq_message",
|
|
17859
18058
|
"editHeader": "rp_FHUyRq_editHeader",
|
|
17860
|
-
"
|
|
18059
|
+
"scrolls": "rp_FHUyRq_scrolls",
|
|
18060
|
+
"spinning": "rp_FHUyRq_spinning",
|
|
18061
|
+
"page": "rp_FHUyRq_page",
|
|
17861
18062
|
"count": "rp_FHUyRq_count",
|
|
17862
|
-
"grid": "rp_FHUyRq_grid",
|
|
17863
18063
|
"viewport": "rp_FHUyRq_viewport",
|
|
18064
|
+
"grid": "rp_FHUyRq_grid",
|
|
18065
|
+
"message": "rp_FHUyRq_message",
|
|
18066
|
+
"fits": "rp_FHUyRq_fits",
|
|
18067
|
+
"editTitle": "rp_FHUyRq_editTitle",
|
|
18068
|
+
"starter": "rp_FHUyRq_starter",
|
|
18069
|
+
"toolbarActions": "rp_FHUyRq_toolbarActions",
|
|
18070
|
+
"cell": "rp_FHUyRq_cell",
|
|
18071
|
+
"notice": "rp_FHUyRq_notice",
|
|
18072
|
+
"spin": "rp_FHUyRq_spin",
|
|
18073
|
+
"editActions": "rp_FHUyRq_editActions",
|
|
18074
|
+
"toolbar": "rp_FHUyRq_toolbar",
|
|
17864
18075
|
"editBody": "rp_FHUyRq_editBody"
|
|
17865
18076
|
};
|
|
17866
18077
|
//#endregion
|
|
@@ -17919,6 +18130,145 @@ window.__ModuleLoader__.load({
|
|
|
17919
18130
|
});
|
|
17920
18131
|
}
|
|
17921
18132
|
//#endregion
|
|
18133
|
+
//#region src/client/pages/worlds/DraftBanner.tsx
|
|
18134
|
+
/** The most problems the banner lists: the rest are counted. */
|
|
18135
|
+
const SHOWN = 5;
|
|
18136
|
+
/** Says that a world is an import written as a draft, what is wrong with it, and lets the person have it repaired, keep it as it is or discard it. */
|
|
18137
|
+
function DraftBanner({ t, worldId, version, openChat, onChanged, onDiscarded }) {
|
|
18138
|
+
const [status, setStatus] = (0, react.useState)();
|
|
18139
|
+
const [busy, setBusy] = (0, react.useState)(false);
|
|
18140
|
+
const [confirming, setConfirming] = (0, react.useState)(false);
|
|
18141
|
+
const [failure, setFailure] = (0, react.useState)();
|
|
18142
|
+
(0, react.useEffect)(() => {
|
|
18143
|
+
const abort = new AbortController();
|
|
18144
|
+
setStatus(void 0);
|
|
18145
|
+
setFailure(void 0);
|
|
18146
|
+
draftStatus(worldId, abort.signal).then(setStatus, (error) => {
|
|
18147
|
+
if (!abort.signal.aborted) setFailure(t("draftFailed", { message: error instanceof Error ? error.message : String(error) }));
|
|
18148
|
+
});
|
|
18149
|
+
return () => {
|
|
18150
|
+
abort.abort();
|
|
18151
|
+
};
|
|
18152
|
+
}, [worldId, version]);
|
|
18153
|
+
if (status?.draft !== true) return failure === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18154
|
+
className: TranslateBanner_module_css_default.error,
|
|
18155
|
+
role: "alert",
|
|
18156
|
+
children: failure
|
|
18157
|
+
});
|
|
18158
|
+
const decide = (action) => {
|
|
18159
|
+
setBusy(true);
|
|
18160
|
+
setFailure(void 0);
|
|
18161
|
+
decideDraft(worldId, action, t("language")).then((done) => {
|
|
18162
|
+
setBusy(false);
|
|
18163
|
+
setConfirming(false);
|
|
18164
|
+
if (action === "discard") onDiscarded();
|
|
18165
|
+
else onChanged();
|
|
18166
|
+
if (action === "ask" && done.started !== void 0) openChat(done.started.chatSessionId);
|
|
18167
|
+
}, (error) => {
|
|
18168
|
+
setBusy(false);
|
|
18169
|
+
setFailure(t("draftFailed", { message: error instanceof Error ? error.message : String(error) }));
|
|
18170
|
+
});
|
|
18171
|
+
};
|
|
18172
|
+
const problems = status.check?.problems ?? [];
|
|
18173
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18174
|
+
className: TranslateBanner_module_css_default.banner,
|
|
18175
|
+
role: "note",
|
|
18176
|
+
"data-testid": "roleplay-draft-banner",
|
|
18177
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18178
|
+
className: TranslateBanner_module_css_default.text,
|
|
18179
|
+
children: [
|
|
18180
|
+
t("draftWarning"),
|
|
18181
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", { children: problems.slice(0, SHOWN).map((problem) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", { children: [
|
|
18182
|
+
problem.where,
|
|
18183
|
+
": ",
|
|
18184
|
+
problem.message
|
|
18185
|
+
] }, `${problem.where}:${problem.message}`)) }),
|
|
18186
|
+
problems.length + (status.check?.more ?? 0) > SHOWN && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("draftMore", { count: problems.length + (status.check?.more ?? 0) - SHOWN }) }),
|
|
18187
|
+
confirming && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18188
|
+
role: "alert",
|
|
18189
|
+
children: t("draftDiscardConfirm")
|
|
18190
|
+
})
|
|
18191
|
+
]
|
|
18192
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18193
|
+
className: TranslateBanner_module_css_default.bannerActions,
|
|
18194
|
+
children: [
|
|
18195
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18196
|
+
variant: "primary",
|
|
18197
|
+
size: "sm",
|
|
18198
|
+
disabled: busy,
|
|
18199
|
+
onClick: () => {
|
|
18200
|
+
decide("ask");
|
|
18201
|
+
},
|
|
18202
|
+
children: busy ? t("draftBusy") : t("draftAsk")
|
|
18203
|
+
}),
|
|
18204
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18205
|
+
variant: "outline",
|
|
18206
|
+
size: "sm",
|
|
18207
|
+
disabled: busy,
|
|
18208
|
+
onClick: () => {
|
|
18209
|
+
decide("keep");
|
|
18210
|
+
},
|
|
18211
|
+
children: t("draftKeep")
|
|
18212
|
+
}),
|
|
18213
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18214
|
+
variant: "outline",
|
|
18215
|
+
size: "sm",
|
|
18216
|
+
disabled: busy,
|
|
18217
|
+
onClick: () => {
|
|
18218
|
+
if (confirming) decide("discard");
|
|
18219
|
+
else setConfirming(true);
|
|
18220
|
+
},
|
|
18221
|
+
children: t("draftDiscard")
|
|
18222
|
+
})
|
|
18223
|
+
]
|
|
18224
|
+
})]
|
|
18225
|
+
}), failure !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18226
|
+
className: TranslateBanner_module_css_default.error,
|
|
18227
|
+
role: "alert",
|
|
18228
|
+
children: failure
|
|
18229
|
+
})] });
|
|
18230
|
+
}
|
|
18231
|
+
//#endregion
|
|
18232
|
+
//#region src/client/pages/worlds/RevertUpdateDialog.tsx
|
|
18233
|
+
/** Asks before a world goes back to how it was before its last card update. */
|
|
18234
|
+
function RevertUpdateDialog({ t, revert, onDone, onClose }) {
|
|
18235
|
+
const [busy, setBusy] = (0, react.useState)(false);
|
|
18236
|
+
const [error, setError] = (0, react.useState)();
|
|
18237
|
+
const confirm = () => {
|
|
18238
|
+
setBusy(true);
|
|
18239
|
+
setError(void 0);
|
|
18240
|
+
revert().then((done) => {
|
|
18241
|
+
onDone(done.keptIn);
|
|
18242
|
+
}, (failure) => {
|
|
18243
|
+
setBusy(false);
|
|
18244
|
+
setError(t("revertFailed", { message: failure instanceof Error ? failure.message : String(failure) }));
|
|
18245
|
+
});
|
|
18246
|
+
};
|
|
18247
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
18248
|
+
open: true,
|
|
18249
|
+
onClose,
|
|
18250
|
+
title: t("revertTitle"),
|
|
18251
|
+
description: t("revertHelp"),
|
|
18252
|
+
closeLabel: t("close"),
|
|
18253
|
+
footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18254
|
+
variant: "ghost",
|
|
18255
|
+
disabled: busy,
|
|
18256
|
+
onClick: onClose,
|
|
18257
|
+
children: t("cancel")
|
|
18258
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18259
|
+
variant: "primary",
|
|
18260
|
+
disabled: busy,
|
|
18261
|
+
onClick: confirm,
|
|
18262
|
+
children: busy ? t("reverting") : t("revertConfirm")
|
|
18263
|
+
})] }),
|
|
18264
|
+
children: error !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18265
|
+
className: StartSessionDialog_module_css_default.error,
|
|
18266
|
+
role: "alert",
|
|
18267
|
+
children: error
|
|
18268
|
+
})
|
|
18269
|
+
});
|
|
18270
|
+
}
|
|
18271
|
+
//#endregion
|
|
17922
18272
|
//#region src/client/pages/worlds/WorldsPage.tsx
|
|
17923
18273
|
/** The worlds, one page of cards at a time. */
|
|
17924
18274
|
function WorldsPage({ t, useWorlds, load, refresh, openStartDialog, closeStartDialog, startSession, dismissStarted, openAuthoring, openChat }) {
|
|
@@ -17931,6 +18281,11 @@ window.__ModuleLoader__.load({
|
|
|
17931
18281
|
const [addingAvatars, setAddingAvatars] = (0, react.useState)(false);
|
|
17932
18282
|
const [editorVersion, setEditorVersion] = (0, react.useState)(0);
|
|
17933
18283
|
const [importing, setImporting] = (0, react.useState)();
|
|
18284
|
+
const [updating, setUpdating] = (0, react.useState)();
|
|
18285
|
+
const [cardStatus, setCardStatus] = (0, react.useState)();
|
|
18286
|
+
const [reverting, setReverting] = (0, react.useState)(false);
|
|
18287
|
+
const updatePicker = (0, react.useRef)(null);
|
|
18288
|
+
const [updateBusy, setUpdateBusy] = (0, react.useState)(false);
|
|
17934
18289
|
const [uploading, setUploading] = (0, react.useState)(false);
|
|
17935
18290
|
const [importNotice, setImportNotice] = (0, react.useState)();
|
|
17936
18291
|
const picker = (0, react.useRef)(null);
|
|
@@ -17942,6 +18297,21 @@ window.__ModuleLoader__.load({
|
|
|
17942
18297
|
(0, react.useEffect)(() => {
|
|
17943
18298
|
load();
|
|
17944
18299
|
}, [load]);
|
|
18300
|
+
(0, react.useEffect)(() => {
|
|
18301
|
+
setCardStatus(void 0);
|
|
18302
|
+
if (editing === void 0) return;
|
|
18303
|
+
let current = true;
|
|
18304
|
+
updateStatus(editing.id).then((status) => {
|
|
18305
|
+
if (current) setCardStatus(status);
|
|
18306
|
+
}, () => void 0);
|
|
18307
|
+
return () => {
|
|
18308
|
+
current = false;
|
|
18309
|
+
};
|
|
18310
|
+
}, [
|
|
18311
|
+
editing?.id,
|
|
18312
|
+
editorVersion,
|
|
18313
|
+
importing === void 0
|
|
18314
|
+
]);
|
|
17945
18315
|
const worlds = state.payload?.worlds ?? [];
|
|
17946
18316
|
const start = pageStart(requestedStart, worlds.length, pageSize);
|
|
17947
18317
|
const pages = pageCount(worlds.length, pageSize);
|
|
@@ -17963,6 +18333,24 @@ window.__ModuleLoader__.load({
|
|
|
17963
18333
|
setImportNotice(t("importUploadFailed", { message: failure instanceof Error ? failure.message : String(failure) }));
|
|
17964
18334
|
});
|
|
17965
18335
|
};
|
|
18336
|
+
const chooseUpdateCard = (world, file) => {
|
|
18337
|
+
if (file === void 0) return;
|
|
18338
|
+
setUpdateBusy(true);
|
|
18339
|
+
setPresetNotice(void 0);
|
|
18340
|
+
uploadCard(file).then((preview) => {
|
|
18341
|
+
setUpdateBusy(false);
|
|
18342
|
+
if (preview.targets?.some((target) => target.worldId === world) !== true) {
|
|
18343
|
+
discardImport(preview.id);
|
|
18344
|
+
setPresetNotice(t("updateNotFromCard"));
|
|
18345
|
+
return;
|
|
18346
|
+
}
|
|
18347
|
+
setUpdating(world);
|
|
18348
|
+
setImporting(preview);
|
|
18349
|
+
}, (failure) => {
|
|
18350
|
+
setUpdateBusy(false);
|
|
18351
|
+
setPresetNotice(t("importUploadFailed", { message: failure instanceof Error ? failure.message : String(failure) }));
|
|
18352
|
+
});
|
|
18353
|
+
};
|
|
17966
18354
|
const choosePreset = (world, file) => {
|
|
17967
18355
|
if (file === void 0) return;
|
|
17968
18356
|
setPresetBusy(true);
|
|
@@ -17984,13 +18372,16 @@ window.__ModuleLoader__.load({
|
|
|
17984
18372
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ImportCard, {
|
|
17985
18373
|
t,
|
|
17986
18374
|
preview: importing,
|
|
17987
|
-
|
|
18375
|
+
...updating === void 0 ? {} : { initialUpdate: updating },
|
|
18376
|
+
start: (choices, update) => startImport(importing.id, choices, t("language"), update),
|
|
17988
18377
|
discard: () => discardImport(importing.id),
|
|
17989
18378
|
onCancelled: () => {
|
|
17990
18379
|
setImporting(void 0);
|
|
18380
|
+
setUpdating(void 0);
|
|
17991
18381
|
},
|
|
17992
18382
|
onStarted: (chat, started) => {
|
|
17993
18383
|
setImporting(void 0);
|
|
18384
|
+
setUpdating(void 0);
|
|
17994
18385
|
refresh();
|
|
17995
18386
|
if (!started) setImportNotice(t("importNotStarted"));
|
|
17996
18387
|
openChat(chat);
|
|
@@ -18017,6 +18408,17 @@ window.__ModuleLoader__.load({
|
|
|
18017
18408
|
className: WorldsPage_module_css_default.editTitle,
|
|
18018
18409
|
children: editing.name
|
|
18019
18410
|
}),
|
|
18411
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
18412
|
+
ref: updatePicker,
|
|
18413
|
+
type: "file",
|
|
18414
|
+
accept: ".png,.json,image/png,application/json",
|
|
18415
|
+
hidden: true,
|
|
18416
|
+
"data-testid": "roleplay-update-input",
|
|
18417
|
+
onChange: (event) => {
|
|
18418
|
+
chooseUpdateCard(editing.id, event.target.files?.[0]);
|
|
18419
|
+
event.target.value = "";
|
|
18420
|
+
}
|
|
18421
|
+
}),
|
|
18020
18422
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
18021
18423
|
ref: presetPicker,
|
|
18022
18424
|
type: "file",
|
|
@@ -18028,32 +18430,53 @@ window.__ModuleLoader__.load({
|
|
|
18028
18430
|
event.target.value = "";
|
|
18029
18431
|
}
|
|
18030
18432
|
}),
|
|
18031
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
18032
|
-
className: WorldsPage_module_css_default.
|
|
18033
|
-
|
|
18034
|
-
|
|
18035
|
-
|
|
18036
|
-
|
|
18037
|
-
|
|
18038
|
-
|
|
18039
|
-
|
|
18040
|
-
|
|
18041
|
-
|
|
18042
|
-
|
|
18043
|
-
|
|
18044
|
-
|
|
18045
|
-
|
|
18046
|
-
|
|
18047
|
-
|
|
18048
|
-
|
|
18049
|
-
|
|
18050
|
-
|
|
18051
|
-
|
|
18052
|
-
|
|
18053
|
-
|
|
18054
|
-
|
|
18055
|
-
|
|
18056
|
-
|
|
18433
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18434
|
+
className: WorldsPage_module_css_default.editActions,
|
|
18435
|
+
children: [
|
|
18436
|
+
cardStatus?.fromCard === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18437
|
+
variant: "outline",
|
|
18438
|
+
size: "sm",
|
|
18439
|
+
disabled: updateBusy,
|
|
18440
|
+
onClick: () => {
|
|
18441
|
+
updatePicker.current?.click();
|
|
18442
|
+
},
|
|
18443
|
+
children: updateBusy ? t("updateReading") : t("updateFromCard")
|
|
18444
|
+
}),
|
|
18445
|
+
cardStatus?.revertible === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18446
|
+
variant: "outline",
|
|
18447
|
+
size: "sm",
|
|
18448
|
+
onClick: () => {
|
|
18449
|
+
setReverting(true);
|
|
18450
|
+
},
|
|
18451
|
+
children: t("revertUpdate")
|
|
18452
|
+
}),
|
|
18453
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18454
|
+
variant: "outline",
|
|
18455
|
+
size: "sm",
|
|
18456
|
+
disabled: presetBusy,
|
|
18457
|
+
onClick: () => {
|
|
18458
|
+
presetPicker.current?.click();
|
|
18459
|
+
},
|
|
18460
|
+
children: presetBusy ? t("presetReading") : t("importPreset")
|
|
18461
|
+
}),
|
|
18462
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18463
|
+
variant: "outline",
|
|
18464
|
+
size: "sm",
|
|
18465
|
+
onClick: () => {
|
|
18466
|
+
setAddingAvatars(true);
|
|
18467
|
+
},
|
|
18468
|
+
children: t("addAvatars")
|
|
18469
|
+
}),
|
|
18470
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18471
|
+
variant: "primary",
|
|
18472
|
+
size: "sm",
|
|
18473
|
+
disabled: state.authoring?.worldId === editing.id && state.authoring.error === void 0,
|
|
18474
|
+
onClick: () => {
|
|
18475
|
+
openAuthoring(editing.id, t("authoringChatTitle", { name: editing.name }));
|
|
18476
|
+
},
|
|
18477
|
+
children: state.authoring?.worldId === editing.id && state.authoring.error === void 0 ? t("openingAuthor") : t("authorWorld")
|
|
18478
|
+
})
|
|
18479
|
+
]
|
|
18057
18480
|
})
|
|
18058
18481
|
]
|
|
18059
18482
|
}),
|
|
@@ -18085,12 +18508,39 @@ window.__ModuleLoader__.load({
|
|
|
18085
18508
|
openChat(opened.chatSessionId);
|
|
18086
18509
|
}
|
|
18087
18510
|
}),
|
|
18511
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(DraftBanner, {
|
|
18512
|
+
t,
|
|
18513
|
+
worldId: editing.id,
|
|
18514
|
+
version: editorVersion,
|
|
18515
|
+
openChat,
|
|
18516
|
+
onChanged: () => {
|
|
18517
|
+
refresh();
|
|
18518
|
+
setEditorVersion((version) => version + 1);
|
|
18519
|
+
},
|
|
18520
|
+
onDiscarded: () => {
|
|
18521
|
+
refresh();
|
|
18522
|
+
setEditing(void 0);
|
|
18523
|
+
}
|
|
18524
|
+
}),
|
|
18088
18525
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(TranslateBanner, {
|
|
18089
18526
|
t,
|
|
18090
18527
|
worldId: editing.id,
|
|
18091
18528
|
worldName: editing.name,
|
|
18092
18529
|
openChat
|
|
18093
18530
|
}),
|
|
18531
|
+
reverting && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RevertUpdateDialog, {
|
|
18532
|
+
t,
|
|
18533
|
+
onClose: () => {
|
|
18534
|
+
setReverting(false);
|
|
18535
|
+
},
|
|
18536
|
+
revert: () => revertUpdate(editing.id),
|
|
18537
|
+
onDone: (keptIn) => {
|
|
18538
|
+
setReverting(false);
|
|
18539
|
+
setPresetNotice(t("revertDone", { folder: keptIn }));
|
|
18540
|
+
setEditorVersion((version) => version + 1);
|
|
18541
|
+
refresh();
|
|
18542
|
+
}
|
|
18543
|
+
}),
|
|
18094
18544
|
addingAvatars && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AddAvatarsDialog, {
|
|
18095
18545
|
t,
|
|
18096
18546
|
worldId: editing.id,
|
|
@@ -18202,9 +18652,9 @@ window.__ModuleLoader__.load({
|
|
|
18202
18652
|
world,
|
|
18203
18653
|
playLabel: t("play"),
|
|
18204
18654
|
openLabel: t("openWorld", { name: world.name }),
|
|
18205
|
-
onPlay: () => {
|
|
18655
|
+
...world.draft === true ? { draftLabel: t("draftBadge") } : { onPlay: () => {
|
|
18206
18656
|
openStartDialog(world.id, world.name);
|
|
18207
|
-
},
|
|
18657
|
+
} },
|
|
18208
18658
|
onOpen: () => {
|
|
18209
18659
|
setEditing({
|
|
18210
18660
|
id: world.id,
|
|
@@ -18733,7 +19183,7 @@ window.__ModuleLoader__.load({
|
|
|
18733
19183
|
startTimeHelp: "Local time in {zone}, like 1912-04-14T23:40:00. Leave empty for the world's own start. Not used when the story follows the real clock.",
|
|
18734
19184
|
loadingCharacters: "Loading characters…",
|
|
18735
19185
|
charactersFailed: "Could not load the characters: {message}",
|
|
18736
|
-
noPlayable: "This world has no playable
|
|
19186
|
+
noPlayable: "This world has no playable character of its own. Bring one of your avatars to play it; make one on the Avatars tab first if you have none.",
|
|
18737
19187
|
start: "Start",
|
|
18738
19188
|
starting: "Starting…",
|
|
18739
19189
|
cancel: "Cancel",
|
|
@@ -18750,6 +19200,25 @@ window.__ModuleLoader__.load({
|
|
|
18750
19200
|
worldPresetNone: "None",
|
|
18751
19201
|
worldPresetHelp: "Writing instructions from your library for new stories of this world. It can be changed later in the editor.",
|
|
18752
19202
|
createWorldFailed: "Could not create the world: {message}",
|
|
19203
|
+
updateFromCard: "Update from card",
|
|
19204
|
+
updateReading: "Reading the card…",
|
|
19205
|
+
updateNotFromCard: "This world was not made from a character card, so a card cannot update it.",
|
|
19206
|
+
draftBadge: "Draft",
|
|
19207
|
+
draftWarning: "This import was written as a draft because the world would not start yet. Its problems:",
|
|
19208
|
+
draftAsk: "Ask the assistant to repair it",
|
|
19209
|
+
draftKeep: "Keep as it is",
|
|
19210
|
+
draftDiscard: "Discard",
|
|
19211
|
+
draftDiscardConfirm: "Discard this world? It goes to the trash folder of the roleplay root.",
|
|
19212
|
+
draftBusy: "Working…",
|
|
19213
|
+
draftFailed: "Could not do that: {message}",
|
|
19214
|
+
draftMore: "and {count} more",
|
|
19215
|
+
revertUpdate: "Undo card update",
|
|
19216
|
+
revertTitle: "Undo the last card update?",
|
|
19217
|
+
revertHelp: "The world goes back to how it was before the update, including the card it was made from. What it holds now is kept in the world's .trash folder, so changes you made since can still be found. Pictures are not part of this.",
|
|
19218
|
+
revertConfirm: "Undo the update",
|
|
19219
|
+
reverting: "Undoing…",
|
|
19220
|
+
revertFailed: "Could not undo the update: {message}",
|
|
19221
|
+
revertDone: "The world is back to how it was before the update. What it held is in {folder}.",
|
|
18753
19222
|
importPreset: "Import narration preset",
|
|
18754
19223
|
presetVerbatim: "Put the chosen prompts of \"{name}\" into the world as its narration style, word for word. Check them in the Prompts section.",
|
|
18755
19224
|
presetVerbatimReplaced: "Put the chosen prompts of \"{name}\" into the world as its narration style, word for word. The style it had before is in the world's trash folder. Check the new one in the Prompts section.",
|
|
@@ -18827,7 +19296,7 @@ window.__ModuleLoader__.load({
|
|
|
18827
19296
|
startTimeHelp: "{zone} 的本地时间,例如 1912-04-14T23:40:00。留空则使用世界自带的开始时间。故事跟随真实时钟时不适用。",
|
|
18828
19297
|
loadingCharacters: "正在加载角色…",
|
|
18829
19298
|
charactersFailed: "无法加载角色:{message}",
|
|
18830
|
-
noPlayable: "
|
|
19299
|
+
noPlayable: "这个世界自己没有可扮演的角色。请带上你的一个角色形象来扮演;如果还没有,先到“角色形象”标签页做一个。",
|
|
18831
19300
|
start: "开始",
|
|
18832
19301
|
starting: "正在开始…",
|
|
18833
19302
|
cancel: "取消",
|
|
@@ -18844,6 +19313,25 @@ window.__ModuleLoader__.load({
|
|
|
18844
19313
|
worldPresetNone: "无",
|
|
18845
19314
|
worldPresetHelp: "库中的写作指令,供这个世界的新故事使用;之后可在编辑器中修改。",
|
|
18846
19315
|
createWorldFailed: "无法创建世界:{message}",
|
|
19316
|
+
updateFromCard: "用角色卡更新",
|
|
19317
|
+
updateReading: "正在读取角色卡…",
|
|
19318
|
+
updateNotFromCard: "这个世界不是由角色卡导入的,无法用角色卡更新。",
|
|
19319
|
+
draftBadge: "草稿",
|
|
19320
|
+
draftWarning: "这次导入作为草稿写入,因为这个世界目前还无法开始。它的问题:",
|
|
19321
|
+
draftAsk: "请助手修复",
|
|
19322
|
+
draftKeep: "保持现状",
|
|
19323
|
+
draftDiscard: "丢弃",
|
|
19324
|
+
draftDiscardConfirm: "丢弃这个世界吗?它会被移到角色扮演根目录的回收文件夹。",
|
|
19325
|
+
draftBusy: "处理中…",
|
|
19326
|
+
draftFailed: "无法完成:{message}",
|
|
19327
|
+
draftMore: "还有 {count} 个",
|
|
19328
|
+
revertUpdate: "撤销卡片更新",
|
|
19329
|
+
revertTitle: "撤销上一次卡片更新?",
|
|
19330
|
+
revertHelp: "世界会回到更新之前的样子,包括它所依据的角色卡。现在的内容会保存在世界的 .trash 文件夹里,之后做的修改仍然可以找回。图片不在撤销范围内。",
|
|
19331
|
+
revertConfirm: "撤销更新",
|
|
19332
|
+
reverting: "正在撤销…",
|
|
19333
|
+
revertFailed: "无法撤销更新:{message}",
|
|
19334
|
+
revertDone: "世界已回到更新之前的样子。原来的内容保存在 {folder}。",
|
|
18847
19335
|
importPreset: "导入叙述预设",
|
|
18848
19336
|
presetVerbatim: "已将“{name}”所选提示原文放入世界,作为它的叙述风格。请在“提示词”部分检查。",
|
|
18849
19337
|
presetVerbatimReplaced: "已将“{name}”所选提示原文放入世界,作为它的叙述风格。原来的风格保存在世界的回收文件夹里。请在“提示词”部分检查新的风格。",
|
|
@@ -19247,10 +19735,10 @@ window.__ModuleLoader__.load({
|
|
|
19247
19735
|
}
|
|
19248
19736
|
tag$7.textContent = css$7;
|
|
19249
19737
|
var BranchDialog_module_css_default = {
|
|
19250
|
-
"
|
|
19251
|
-
"error": "rp_Dy1TaW_error",
|
|
19738
|
+
"field": "rp_Dy1TaW_field",
|
|
19252
19739
|
"form": "rp_Dy1TaW_form",
|
|
19253
|
-
"
|
|
19740
|
+
"label": "rp_Dy1TaW_label",
|
|
19741
|
+
"error": "rp_Dy1TaW_error"
|
|
19254
19742
|
};
|
|
19255
19743
|
//#endregion
|
|
19256
19744
|
//#region src/client/branch/BranchDialog.tsx
|
|
@@ -19719,17 +20207,17 @@ window.__ModuleLoader__.load({
|
|
|
19719
20207
|
}
|
|
19720
20208
|
tag$6.textContent = css$6;
|
|
19721
20209
|
var SidebarPage_module_css_default = {
|
|
19722
|
-
"
|
|
19723
|
-
"content": "rp_Ptco8a_content",
|
|
19724
|
-
"main": "rp_Ptco8a_main",
|
|
20210
|
+
"bar": "rp_Ptco8a_bar",
|
|
19725
20211
|
"message": "rp_Ptco8a_message",
|
|
19726
|
-
"page": "rp_Ptco8a_page",
|
|
19727
20212
|
"entry": "rp_Ptco8a_entry",
|
|
20213
|
+
"main": "rp_Ptco8a_main",
|
|
19728
20214
|
"name": "rp_Ptco8a_name",
|
|
19729
|
-
"
|
|
19730
|
-
"
|
|
20215
|
+
"page": "rp_Ptco8a_page",
|
|
20216
|
+
"content": "rp_Ptco8a_content",
|
|
19731
20217
|
"icon": "rp_Ptco8a_icon",
|
|
19732
|
-
"
|
|
20218
|
+
"title": "rp_Ptco8a_title",
|
|
20219
|
+
"text": "rp_Ptco8a_text",
|
|
20220
|
+
"description": "rp_Ptco8a_description"
|
|
19733
20221
|
};
|
|
19734
20222
|
//#endregion
|
|
19735
20223
|
//#region src/client/interface/SidebarPage.tsx
|
|
@@ -20057,28 +20545,28 @@ window.__ModuleLoader__.load({
|
|
|
20057
20545
|
}
|
|
20058
20546
|
tag$5.textContent = css$5;
|
|
20059
20547
|
var ChatSettingsView_module_css_default = {
|
|
20060
|
-
"message": "rp_wLpbxW_message",
|
|
20061
|
-
"error": "rp_wLpbxW_error",
|
|
20062
|
-
"notice": "rp_wLpbxW_notice",
|
|
20063
|
-
"select": "rp_wLpbxW_select",
|
|
20064
|
-
"tableViewport": "rp_wLpbxW_tableViewport",
|
|
20065
|
-
"row": "rp_wLpbxW_row",
|
|
20066
|
-
"actions": "rp_wLpbxW_actions",
|
|
20067
|
-
"link": "rp_wLpbxW_link",
|
|
20068
20548
|
"pre": "rp_wLpbxW_pre",
|
|
20069
|
-
"saved": "rp_wLpbxW_saved",
|
|
20070
|
-
"description": "rp_wLpbxW_description",
|
|
20071
|
-
"table": "rp_wLpbxW_table",
|
|
20072
|
-
"help": "rp_wLpbxW_help",
|
|
20073
|
-
"field": "rp_wLpbxW_field",
|
|
20074
|
-
"run": "rp_wLpbxW_run",
|
|
20075
20549
|
"list": "rp_wLpbxW_list",
|
|
20550
|
+
"view": "rp_wLpbxW_view",
|
|
20551
|
+
"table": "rp_wLpbxW_table",
|
|
20076
20552
|
"reasons": "rp_wLpbxW_reasons",
|
|
20553
|
+
"actions": "rp_wLpbxW_actions",
|
|
20554
|
+
"field": "rp_wLpbxW_field",
|
|
20555
|
+
"message": "rp_wLpbxW_message",
|
|
20556
|
+
"saved": "rp_wLpbxW_saved",
|
|
20557
|
+
"error": "rp_wLpbxW_error",
|
|
20558
|
+
"row": "rp_wLpbxW_row",
|
|
20077
20559
|
"label": "rp_wLpbxW_label",
|
|
20560
|
+
"notice": "rp_wLpbxW_notice",
|
|
20561
|
+
"run": "rp_wLpbxW_run",
|
|
20562
|
+
"description": "rp_wLpbxW_description",
|
|
20563
|
+
"link": "rp_wLpbxW_link",
|
|
20564
|
+
"title": "rp_wLpbxW_title",
|
|
20565
|
+
"tableViewport": "rp_wLpbxW_tableViewport",
|
|
20078
20566
|
"activityBody": "rp_wLpbxW_activityBody",
|
|
20567
|
+
"select": "rp_wLpbxW_select",
|
|
20079
20568
|
"activity": "rp_wLpbxW_activity",
|
|
20080
|
-
"
|
|
20081
|
-
"title": "rp_wLpbxW_title"
|
|
20569
|
+
"help": "rp_wLpbxW_help"
|
|
20082
20570
|
};
|
|
20083
20571
|
//#endregion
|
|
20084
20572
|
//#region src/client/chat-settings/settings-api.ts
|
|
@@ -21829,16 +22317,16 @@ window.__ModuleLoader__.load({
|
|
|
21829
22317
|
}
|
|
21830
22318
|
tag$4.textContent = css$4;
|
|
21831
22319
|
var CatalogueSettings_module_css_default = {
|
|
22320
|
+
"keyArea": "rp_KPhXDa_keyArea",
|
|
22321
|
+
"hint": "rp_KPhXDa_hint",
|
|
21832
22322
|
"section": "rp_KPhXDa_section",
|
|
21833
22323
|
"label": "rp_KPhXDa_label",
|
|
21834
22324
|
"title": "rp_KPhXDa_title",
|
|
21835
|
-
"
|
|
21836
|
-
"hint": "rp_KPhXDa_hint",
|
|
22325
|
+
"keyHint": "rp_KPhXDa_keyHint",
|
|
21837
22326
|
"actions": "rp_KPhXDa_actions",
|
|
21838
22327
|
"row": "rp_KPhXDa_row",
|
|
21839
|
-
"
|
|
21840
|
-
"
|
|
21841
|
-
"keyArea": "rp_KPhXDa_keyArea"
|
|
22328
|
+
"field": "rp_KPhXDa_field",
|
|
22329
|
+
"problem": "rp_KPhXDa_problem"
|
|
21842
22330
|
};
|
|
21843
22331
|
//#endregion
|
|
21844
22332
|
//#region src/client/settings/AuthoringToolSettings.tsx
|
|
@@ -21946,13 +22434,29 @@ window.__ModuleLoader__.load({
|
|
|
21946
22434
|
max: 2,
|
|
21947
22435
|
placeholder: "0.2"
|
|
21948
22436
|
},
|
|
22437
|
+
{
|
|
22438
|
+
field: "importStructuredOutput",
|
|
22439
|
+
group: "assistants",
|
|
22440
|
+
kind: "choice",
|
|
22441
|
+
choices: ["tool", "schema"],
|
|
22442
|
+
labels: ["importStructuredTool", "importStructuredSchema"],
|
|
22443
|
+
placeholder: "tool"
|
|
22444
|
+
},
|
|
21949
22445
|
{
|
|
21950
22446
|
field: "importMaxTokens",
|
|
21951
22447
|
group: "assistants",
|
|
21952
22448
|
kind: "integer",
|
|
21953
|
-
min:
|
|
21954
|
-
max:
|
|
21955
|
-
placeholder: "
|
|
22449
|
+
min: 0,
|
|
22450
|
+
max: 1e6,
|
|
22451
|
+
placeholder: "0"
|
|
22452
|
+
},
|
|
22453
|
+
{
|
|
22454
|
+
field: "importVariablesPerRequest",
|
|
22455
|
+
group: "assistants",
|
|
22456
|
+
kind: "integer",
|
|
22457
|
+
min: 5,
|
|
22458
|
+
max: 500,
|
|
22459
|
+
placeholder: "25"
|
|
21956
22460
|
},
|
|
21957
22461
|
{
|
|
21958
22462
|
field: "importTimeoutMinutes",
|
|
@@ -22059,16 +22563,16 @@ window.__ModuleLoader__.load({
|
|
|
22059
22563
|
var AssistantSettings_module_css_default = {
|
|
22060
22564
|
"section": "rp_ZwzM4q_section",
|
|
22061
22565
|
"invalid": "rp_ZwzM4q_invalid",
|
|
22062
|
-
"hint": "rp_ZwzM4q_hint",
|
|
22063
|
-
"select": "rp_ZwzM4q_select",
|
|
22064
|
-
"field": "rp_ZwzM4q_field",
|
|
22065
|
-
"fields": "rp_ZwzM4q_fields",
|
|
22066
|
-
"label": "rp_ZwzM4q_label",
|
|
22067
|
-
"title": "rp_ZwzM4q_title",
|
|
22068
22566
|
"reset": "rp_ZwzM4q_reset",
|
|
22567
|
+
"title": "rp_ZwzM4q_title",
|
|
22069
22568
|
"badges": "rp_ZwzM4q_badges",
|
|
22569
|
+
"fields": "rp_ZwzM4q_fields",
|
|
22570
|
+
"select": "rp_ZwzM4q_select",
|
|
22571
|
+
"hint": "rp_ZwzM4q_hint",
|
|
22070
22572
|
"fieldHint": "rp_ZwzM4q_fieldHint",
|
|
22071
|
-
"
|
|
22573
|
+
"field": "rp_ZwzM4q_field",
|
|
22574
|
+
"head": "rp_ZwzM4q_head",
|
|
22575
|
+
"label": "rp_ZwzM4q_label"
|
|
22072
22576
|
};
|
|
22073
22577
|
//#endregion
|
|
22074
22578
|
//#region src/client/settings/AssistantSettings.tsx
|
|
@@ -22896,7 +23400,13 @@ window.__ModuleLoader__.load({
|
|
|
22896
23400
|
importTemperatureLabel: "Temperature",
|
|
22897
23401
|
importTemperatureHint: "How freely they write, from 0 to 2. Low, because they copy and sort what a card says. Default 0.2.",
|
|
22898
23402
|
importMaxTokensLabel: "Most tokens per request",
|
|
22899
|
-
importMaxTokensHint: "The most one model request of a helper may produce, thinking included.
|
|
23403
|
+
importMaxTokensHint: "The most one model request of a helper may produce, thinking included. 0 (the default) is a tenth of the model's context window, at least 16000.",
|
|
23404
|
+
importStructuredOutputLabel: "How helpers give their result",
|
|
23405
|
+
importStructuredOutputHint: "Call a tool (works with every model), or reply with JSON the endpoint constrains to the result's shape (the model cannot ramble first; needs an OpenAI-compatible endpoint that takes a JSON schema, such as LocalAI, vLLM or OpenAI). Default: call a tool.",
|
|
23406
|
+
importStructuredTool: "Call a tool",
|
|
23407
|
+
importStructuredSchema: "Constrained JSON reply",
|
|
23408
|
+
importVariablesPerRequestLabel: "Tracked values per request",
|
|
23409
|
+
importVariablesPerRequestHint: "How many tracked values (meters, stats, flags) one request is asked to declare, 5 to 500. A card that tracks more is asked again for the rest. Default 25.",
|
|
22900
23410
|
importTimeoutMinutesLabel: "Minutes before a helper is stopped",
|
|
22901
23411
|
importTimeoutMinutesHint: "A helper that has not given its result after this long is stopped and the step reports why, so a run-away helper never holds an import for hours. 0 never stops it. Default 15.",
|
|
22902
23412
|
importConcurrencyLabel: "Helpers at once",
|
|
@@ -22988,7 +23498,13 @@ window.__ModuleLoader__.load({
|
|
|
22988
23498
|
importTemperatureLabel: "温度",
|
|
22989
23499
|
importTemperatureHint: "它们写作的自由度,0 到 2。取低值,因为它们是在抄写和整理卡片的内容。默认 0.2。",
|
|
22990
23500
|
importMaxTokensLabel: "每次请求的最大 token 数",
|
|
22991
|
-
importMaxTokensHint: "助手一次模型请求最多产生的 token
|
|
23501
|
+
importMaxTokensHint: "助手一次模型请求最多产生的 token 数,包括思考。0(默认)表示模型上下文窗口的十分之一,至少 16000。",
|
|
23502
|
+
importStructuredOutputLabel: "助手如何给出结果",
|
|
23503
|
+
importStructuredOutputHint: "调用工具(所有模型都可用),或用端点按结果结构约束的 JSON 回复(模型不会先写一大段分析;需要支持 JSON schema 的 OpenAI 兼容端点,如 LocalAI、vLLM 或 OpenAI)。默认:调用工具。",
|
|
23504
|
+
importStructuredTool: "调用工具",
|
|
23505
|
+
importStructuredSchema: "约束 JSON 回复",
|
|
23506
|
+
importVariablesPerRequestLabel: "每次请求声明的追踪数值数",
|
|
23507
|
+
importVariablesPerRequestHint: "一次请求最多要求声明多少个追踪数值(量表、属性、标记),5 到 500。追踪更多的卡片会再次询问其余的。默认 25。",
|
|
22992
23508
|
importTimeoutMinutesLabel: "助手的时限(分钟)",
|
|
22993
23509
|
importTimeoutMinutesHint: "助手超过这个时间仍没有给出结果就会被停止,该步骤会说明原因,因此失控的助手不会让导入卡上几个小时。0 表示不限制。默认 15。",
|
|
22994
23510
|
importConcurrencyLabel: "同时运行的助手数",
|
|
@@ -23349,28 +23865,28 @@ window.__ModuleLoader__.load({
|
|
|
23349
23865
|
}
|
|
23350
23866
|
tag$2.textContent = css$2;
|
|
23351
23867
|
var NarrationView_module_css_default = {
|
|
23352
|
-
"
|
|
23353
|
-
"oocLabel": "rp_NFPimG_oocLabel",
|
|
23354
|
-
"dice": "rp_NFPimG_dice",
|
|
23355
|
-
"name": "rp_NFPimG_name",
|
|
23868
|
+
"diceSummary": "rp_NFPimG_diceSummary",
|
|
23356
23869
|
"words": "rp_NFPimG_words",
|
|
23870
|
+
"name": "rp_NFPimG_name",
|
|
23871
|
+
"playAll": "rp_NFPimG_playAll",
|
|
23872
|
+
"playLine": "rp_NFPimG_playLine",
|
|
23873
|
+
"line": "rp_NFPimG_line",
|
|
23357
23874
|
"speech": "rp_NFPimG_speech",
|
|
23358
|
-
"images": "rp_NFPimG_images",
|
|
23359
|
-
"note": "rp_NFPimG_note",
|
|
23360
|
-
"sceneImage": "rp_NFPimG_sceneImage",
|
|
23361
|
-
"imageButton": "rp_NFPimG_imageButton",
|
|
23362
|
-
"oocRefused": "rp_NFPimG_oocRefused",
|
|
23363
|
-
"narration": "rp_NFPimG_narration",
|
|
23364
|
-
"diceSummary": "rp_NFPimG_diceSummary",
|
|
23365
23875
|
"preview": "rp_NFPimG_preview",
|
|
23366
|
-
"playAll": "rp_NFPimG_playAll",
|
|
23367
|
-
"diceList": "rp_NFPimG_diceList",
|
|
23368
23876
|
"imageStatus": "rp_NFPimG_imageStatus",
|
|
23877
|
+
"note": "rp_NFPimG_note",
|
|
23369
23878
|
"output": "rp_NFPimG_output",
|
|
23370
|
-
"oocNote": "rp_NFPimG_oocNote",
|
|
23371
23879
|
"imageError": "rp_NFPimG_imageError",
|
|
23372
23880
|
"avatar": "rp_NFPimG_avatar",
|
|
23373
|
-
"
|
|
23881
|
+
"oocNote": "rp_NFPimG_oocNote",
|
|
23882
|
+
"images": "rp_NFPimG_images",
|
|
23883
|
+
"oocRefused": "rp_NFPimG_oocRefused",
|
|
23884
|
+
"sceneImage": "rp_NFPimG_sceneImage",
|
|
23885
|
+
"imageButton": "rp_NFPimG_imageButton",
|
|
23886
|
+
"dice": "rp_NFPimG_dice",
|
|
23887
|
+
"narration": "rp_NFPimG_narration",
|
|
23888
|
+
"oocLabel": "rp_NFPimG_oocLabel",
|
|
23889
|
+
"diceList": "rp_NFPimG_diceList"
|
|
23374
23890
|
};
|
|
23375
23891
|
//#endregion
|
|
23376
23892
|
//#region src/client/transcript/PreviewNode.tsx
|
|
@@ -23635,11 +24151,11 @@ window.__ModuleLoader__.load({
|
|
|
23635
24151
|
}
|
|
23636
24152
|
tag$1.textContent = css$1;
|
|
23637
24153
|
var SuggestionsDock_module_css_default = {
|
|
24154
|
+
"lines": "rp_rWH4DG_lines",
|
|
24155
|
+
"label": "rp_rWH4DG_label",
|
|
23638
24156
|
"chip": "rp_rWH4DG_chip",
|
|
23639
|
-
"card": "rp_rWH4DG_card",
|
|
23640
24157
|
"dock": "rp_rWH4DG_dock",
|
|
23641
|
-
"
|
|
23642
|
-
"label": "rp_rWH4DG_label"
|
|
24158
|
+
"card": "rp_rWH4DG_card"
|
|
23643
24159
|
};
|
|
23644
24160
|
//#endregion
|
|
23645
24161
|
//#region src/client/transcript/SuggestionsDock.tsx
|
|
@@ -23759,12 +24275,12 @@ window.__ModuleLoader__.load({
|
|
|
23759
24275
|
}
|
|
23760
24276
|
tag.textContent = css;
|
|
23761
24277
|
var TurnsDock_module_css_default = {
|
|
24278
|
+
"count": "rp_f4YLlq_count",
|
|
24279
|
+
"button": "rp_f4YLlq_button",
|
|
23762
24280
|
"select": "rp_f4YLlq_select",
|
|
23763
24281
|
"error": "rp_f4YLlq_error",
|
|
23764
24282
|
"group": "rp_f4YLlq_group",
|
|
23765
|
-
"
|
|
23766
|
-
"dock": "rp_f4YLlq_dock",
|
|
23767
|
-
"count": "rp_f4YLlq_count"
|
|
24283
|
+
"dock": "rp_f4YLlq_dock"
|
|
23768
24284
|
};
|
|
23769
24285
|
//#endregion
|
|
23770
24286
|
//#region src/client/transcript/withdrawn.ts
|