@dsh-agentic-roleplay/core 0.7.0 → 0.7.2
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/access-DtOxFKBK.js +150 -0
- package/lib/{authoring-tools-BWjEr_lF.js → authoring-tools-q34iq3hW.js} +160 -74
- package/lib/authoring.js +494 -31
- package/lib/{child-D5SVNk4O.js → child-CyCViUKa.js} +48 -7
- package/lib/client.js +1094 -604
- package/lib/client.js.map +1 -1
- package/lib/compaction.js +3 -3
- package/lib/doctor.js +3 -3
- package/lib/{gallery-C7VOJ3xH.js → gallery-BxZGOgMb.js} +2 -2
- package/lib/{generator-CO8usAjE.js → generator-BFmSYvR8.js} +2 -2
- package/lib/helper.js +1 -1
- package/lib/{hooks-DufjUf1p.js → hooks-HnqXO8mM.js} +6 -245
- package/lib/images.js +4 -4
- package/lib/index.js +168 -104
- package/lib/{library-DsDc6fQa.js → library-BGxPKs9a.js} +6 -3
- package/lib/{lorebook-author-tools-v-PM8Kbs.js → lorebook-author-tools-D9RrMK5g.js} +31 -28
- package/lib/lorebook-authoring.js +8 -3
- package/lib/{narration-_dA9oIt2.js → narration-DvFBqmqe.js} +9 -132
- package/lib/orchestration.js +11 -10
- package/lib/{pack-jail--Ij90LeY.js → pack-jail-MPekqSuQ.js} +14 -12
- package/lib/{packs-DWKnL4YX.js → packs-jowC-MN_.js} +2 -2
- package/lib/{presenter-agent-BHSbyWwZ.js → presenter-agent-DvZtnf0Q.js} +6 -6
- package/lib/{preset-CDNyJhfU.js → preset-VatN-845.js} +3 -3
- package/lib/{preset-author-tools-D7Azdlaq.js → preset-author-tools-8kv1Glxe.js} +11 -10
- package/lib/preset-authoring.js +9 -4
- package/lib/{reflection-CRCWK2E1.js → reflection-CvOZGjmn.js} +9 -170
- package/lib/{presets-D11bxWX0.js → route-DRTJ_vcA.js} +165 -4
- package/lib/text-JbWfTHbr.js +295 -0
- package/lib/turn-guard-BvCs1VxB.js +53 -0
- package/package.json +2 -2
- package/prompts/en/import/cut-off.md +1 -0
- package/prompts/en/import/finish-failed.md +1 -1
- package/prompts/en/import/finish-ok.md +1 -1
- package/prompts/en/roleplay/decide-instruction.md +1 -0
- package/prompts/en/roleplay/decide-irrelevant.md +1 -0
- package/prompts/en/world/procedure.md +1 -1
- package/prompts/zh/import/cut-off.md +1 -0
- package/prompts/zh/import/finish-failed.md +1 -1
- package/prompts/zh/import/finish-ok.md +1 -1
- package/prompts/zh/roleplay/decide-instruction.md +1 -0
- package/prompts/zh/roleplay/decide-irrelevant.md +1 -0
- package/prompts/zh/world/procedure.md +1 -1
- package/lib/access-EbNdZFbk.js +0 -25
- package/lib/text-CT1re6XT.js +0 -18
package/lib/client.js
CHANGED
|
@@ -26,19 +26,19 @@ window.__ModuleLoader__.load({
|
|
|
26
26
|
}
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/panel/PageTabs.module.css.mjs
|
|
29
|
-
const css$
|
|
30
|
-
const key$
|
|
31
|
-
let tag$
|
|
32
|
-
if (tag$
|
|
33
|
-
tag$
|
|
34
|
-
tag$
|
|
35
|
-
tag$
|
|
36
|
-
document.head.appendChild(tag$
|
|
37
|
-
}
|
|
38
|
-
tag$
|
|
29
|
+
const css$34 = ".rp_Poldga_tabs{scrollbar-width:none;gap:24px;margin-bottom:-1px;display:flex;overflow-x:auto}.rp_Poldga_tabs::-webkit-scrollbar{display:none}.rp_Poldga_tab{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:0;margin:0;padding:8px 0;font-size:13px;line-height:20px;box-shadow:inset 0 -2px #0000}.rp_Poldga_tab:hover{color:var(--dsw-alias-label-primary)}.rp_Poldga_tab[aria-selected=true]{color:var(--dsw-alias-state-business-primary);font-weight:500;box-shadow:inset 0 -2px}.rp_Poldga_tab:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color);outline-offset:2px;border-radius:var(--dsw-radius-xs)}";
|
|
30
|
+
const key$34 = "src/client/panel/PageTabs.module.css";
|
|
31
|
+
let tag$34 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$34) + "]");
|
|
32
|
+
if (tag$34 === null) {
|
|
33
|
+
tag$34 = document.createElement("style");
|
|
34
|
+
tag$34.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
35
|
+
tag$34.dataset.pluginCss = key$34;
|
|
36
|
+
document.head.appendChild(tag$34);
|
|
37
|
+
}
|
|
38
|
+
tag$34.textContent = css$34;
|
|
39
39
|
var PageTabs_module_css_default = {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
40
|
+
"tab": "rp_Poldga_tab",
|
|
41
|
+
"tabs": "rp_Poldga_tabs"
|
|
42
42
|
};
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/client/panel/PageTabs.tsx
|
|
@@ -82,21 +82,21 @@ window.__ModuleLoader__.load({
|
|
|
82
82
|
}
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/panel/RoleplayPanel.module.css.mjs
|
|
85
|
-
const css$
|
|
86
|
-
const key$
|
|
87
|
-
let tag$
|
|
88
|
-
if (tag$
|
|
89
|
-
tag$
|
|
90
|
-
tag$
|
|
91
|
-
tag$
|
|
92
|
-
document.head.appendChild(tag$
|
|
85
|
+
const css$33 = ".rp_ua5gBa_panel{min-height:0;color:var(--dsw-alias-label-primary);flex-direction:column;flex:1 1 0;display:flex}.rp_ua5gBa_header{border-bottom:.5px solid var(--dsw-alias-border-l2);flex:none;padding:12px 24px 0}.rp_ua5gBa_title{margin:0 0 4px;font-size:14px;font-weight:500;line-height:22px}.rp_ua5gBa_body{flex-direction:column;flex:1 1 0;min-height:0;padding:12px 24px 16px;display:flex}@media (width<=640px){.rp_ua5gBa_header,.rp_ua5gBa_body{padding-inline:16px}}";
|
|
86
|
+
const key$33 = "src/client/panel/RoleplayPanel.module.css";
|
|
87
|
+
let tag$33 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$33) + "]");
|
|
88
|
+
if (tag$33 === null) {
|
|
89
|
+
tag$33 = document.createElement("style");
|
|
90
|
+
tag$33.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
91
|
+
tag$33.dataset.pluginCss = key$33;
|
|
92
|
+
document.head.appendChild(tag$33);
|
|
93
93
|
}
|
|
94
|
-
tag$
|
|
94
|
+
tag$33.textContent = css$33;
|
|
95
95
|
var RoleplayPanel_module_css_default = {
|
|
96
|
-
"header": "rp_ua5gBa_header",
|
|
97
96
|
"body": "rp_ua5gBa_body",
|
|
98
|
-
"
|
|
99
|
-
"
|
|
97
|
+
"panel": "rp_ua5gBa_panel",
|
|
98
|
+
"header": "rp_ua5gBa_header",
|
|
99
|
+
"title": "rp_ua5gBa_title"
|
|
100
100
|
};
|
|
101
101
|
//#endregion
|
|
102
102
|
//#region src/client/panel/RoleplayPanel.tsx
|
|
@@ -418,45 +418,45 @@ window.__ModuleLoader__.load({
|
|
|
418
418
|
};
|
|
419
419
|
//#endregion
|
|
420
420
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/import-card/ImportCard.module.css.mjs
|
|
421
|
-
const css$
|
|
422
|
-
const key$
|
|
423
|
-
let tag$
|
|
424
|
-
if (tag$
|
|
425
|
-
tag$
|
|
426
|
-
tag$
|
|
427
|
-
tag$
|
|
428
|
-
document.head.appendChild(tag$
|
|
421
|
+
const css$32 = ".rp_5cvtma_page{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.rp_5cvtma_header{border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:8px;padding:8px 16px;display:flex}.rp_5cvtma_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500}.rp_5cvtma_space{flex:auto}.rp_5cvtma_error{color:var(--dsw-alias-state-error-primary);margin:0;padding:8px 16px;font-size:12px}.rp_5cvtma_body{box-sizing:border-box;flex-direction:column;flex:1 1 0;gap:20px;min-height:0;padding:20px 24px 40px;display:flex;overflow-y:auto}.rp_5cvtma_body>*{flex:none;width:100%;max-width:860px}.rp_5cvtma_top{align-items:flex-start;gap:20px;display:flex}.rp_5cvtma_picture{object-fit:cover;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);flex:0 0 120px;width:120px;height:160px}.rp_5cvtma_noPicture{box-sizing:border-box;color:var(--dsw-alias-label-tertiary);justify-content:center;align-items:center;font-size:12px;display:flex}.rp_5cvtma_about{flex-direction:column;flex:1 1 0;gap:8px;min-width:0;display:flex}.rp_5cvtma_label{color:var(--dsw-alias-label-tertiary);flex-direction:column;gap:4px;font-size:12px;display:flex}.rp_5cvtma_tags{flex-wrap:wrap;gap:6px;display:flex}.rp_5cvtma_note{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}.rp_5cvtma_section{flex-direction:column;gap:8px;display:flex}.rp_5cvtma_heading{color:var(--dsw-alias-label-primary);margin:0;font-size:14px;font-weight:500}.rp_5cvtma_row{align-items:center;gap:8px;display:flex}.rp_5cvtma_field,.rp_5cvtma_entry{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg)}.rp_5cvtma_fieldHead,.rp_5cvtma_entryHead{box-sizing:border-box;width:100%;font:inherit;text-align:left;color:inherit;background:0 0;border:0;align-items:center;gap:8px;padding:8px 10px;display:flex}.rp_5cvtma_fieldHead{cursor:pointer}.rp_5cvtma_fieldTitle,.rp_5cvtma_entryTitle{min-width:0;color:var(--dsw-alias-label-primary);flex:auto;font-size:13px}.rp_5cvtma_entryTitle{font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px}.rp_5cvtma_fieldMeta{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_5cvtma_field .rp_5cvtma_note,.rp_5cvtma_entry .rp_5cvtma_note{padding:0 10px 6px}.rp_5cvtma_text{white-space:pre-wrap;word-break:break-word;max-height:320px;font:inherit;color:var(--dsw-alias-label-secondary);border-top:.5px solid var(--dsw-alias-border-l4);margin:0;padding:8px 10px 10px;font-size:12px;line-height:18px;overflow:auto}.rp_5cvtma_entryOff .rp_5cvtma_entryTitle{color:var(--dsw-alias-label-tertiary);text-decoration:line-through}.rp_5cvtma_choice{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);cursor:pointer;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}@media (width<=640px){.rp_5cvtma_body{padding-inline:16px}.rp_5cvtma_top{flex-direction:column}.rp_5cvtma_picture{width:96px;height:128px}.rp_5cvtma_row{flex-wrap:wrap}}.rp_5cvtma_choice input{margin-top:3px}.rp_5cvtma_choiceText{flex-direction:column;gap:4px;min-width:0;display:flex}.rp_5cvtma_preview{white-space:pre-wrap;word-break:break-word;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}";
|
|
422
|
+
const key$32 = "src/client/widgets/import-card/ImportCard.module.css";
|
|
423
|
+
let tag$32 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$32) + "]");
|
|
424
|
+
if (tag$32 === null) {
|
|
425
|
+
tag$32 = document.createElement("style");
|
|
426
|
+
tag$32.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
427
|
+
tag$32.dataset.pluginCss = key$32;
|
|
428
|
+
document.head.appendChild(tag$32);
|
|
429
429
|
}
|
|
430
|
-
tag$
|
|
430
|
+
tag$32.textContent = css$32;
|
|
431
431
|
var ImportCard_module_css_default = {
|
|
432
|
-
"
|
|
433
|
-
"
|
|
434
|
-
"fieldMeta": "rp_5cvtma_fieldMeta",
|
|
435
|
-
"title": "rp_5cvtma_title",
|
|
436
|
-
"error": "rp_5cvtma_error",
|
|
437
|
-
"body": "rp_5cvtma_body",
|
|
432
|
+
"choiceText": "rp_5cvtma_choiceText",
|
|
433
|
+
"preview": "rp_5cvtma_preview",
|
|
438
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
|
+
"title": "rp_5cvtma_title",
|
|
439
440
|
"page": "rp_5cvtma_page",
|
|
441
|
+
"about": "rp_5cvtma_about",
|
|
442
|
+
"heading": "rp_5cvtma_heading",
|
|
440
443
|
"field": "rp_5cvtma_field",
|
|
441
|
-
"fieldTitle": "rp_5cvtma_fieldTitle",
|
|
442
|
-
"noPicture": "rp_5cvtma_noPicture",
|
|
443
|
-
"tags": "rp_5cvtma_tags",
|
|
444
|
-
"fieldHead": "rp_5cvtma_fieldHead",
|
|
445
|
-
"preview": "rp_5cvtma_preview",
|
|
446
|
-
"note": "rp_5cvtma_note",
|
|
447
444
|
"entry": "rp_5cvtma_entry",
|
|
448
|
-
"
|
|
445
|
+
"fieldHead": "rp_5cvtma_fieldHead",
|
|
449
446
|
"entryHead": "rp_5cvtma_entryHead",
|
|
447
|
+
"entryTitle": "rp_5cvtma_entryTitle",
|
|
448
|
+
"label": "rp_5cvtma_label",
|
|
450
449
|
"picture": "rp_5cvtma_picture",
|
|
450
|
+
"header": "rp_5cvtma_header",
|
|
451
|
+
"noPicture": "rp_5cvtma_noPicture",
|
|
452
|
+
"tags": "rp_5cvtma_tags",
|
|
453
|
+
"fieldTitle": "rp_5cvtma_fieldTitle",
|
|
454
|
+
"fieldMeta": "rp_5cvtma_fieldMeta",
|
|
451
455
|
"text": "rp_5cvtma_text",
|
|
452
|
-
"choice": "rp_5cvtma_choice",
|
|
453
456
|
"entryOff": "rp_5cvtma_entryOff",
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"header": "rp_5cvtma_header",
|
|
458
|
-
"heading": "rp_5cvtma_heading",
|
|
459
|
-
"entryTitle": "rp_5cvtma_entryTitle"
|
|
457
|
+
"note": "rp_5cvtma_note",
|
|
458
|
+
"space": "rp_5cvtma_space",
|
|
459
|
+
"choice": "rp_5cvtma_choice"
|
|
460
460
|
};
|
|
461
461
|
//#endregion
|
|
462
462
|
//#region src/client/widgets/import-card/ImportCard.tsx
|
|
@@ -804,49 +804,49 @@ window.__ModuleLoader__.load({
|
|
|
804
804
|
}
|
|
805
805
|
//#endregion
|
|
806
806
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/catalogue/CataloguePage.module.css.mjs
|
|
807
|
-
const css$
|
|
808
|
-
const key$
|
|
809
|
-
let tag$
|
|
810
|
-
if (tag$
|
|
811
|
-
tag$
|
|
812
|
-
tag$
|
|
813
|
-
tag$
|
|
814
|
-
document.head.appendChild(tag$
|
|
807
|
+
const css$31 = ".rp_qK1u-G_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_qK1u-G_toolbar{flex-wrap:wrap;flex:none;align-items:center;gap:8px;min-height:32px;display:flex}.rp_qK1u-G_spacer{flex:auto}.rp_qK1u-G_select,.rp_qK1u-G_search{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);height:32px;font:inherit;background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);padding:0 8px;font-size:12px}.rp_qK1u-G_search{min-width:200px}.rp_qK1u-G_select:focus-visible,.rp_qK1u-G_search:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.rp_qK1u-G_status{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px}.rp_qK1u-G_notice{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_qK1u-G_viewport{flex:1 1 0;min-height:0;padding:4px;overflow-y:auto}.rp_qK1u-G_grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.rp_qK1u-G_card{border:.5px solid var(--dsw-alias-settings-card-stroke);border-radius:var(--dsw-radius-xl);min-width:0;font:inherit;text-align:left;color:inherit;background:var(--dsw-alias-settings-card-fill);cursor:pointer;flex-direction:column;padding:0;transition:border-color .12s;display:flex;overflow:hidden}.rp_qK1u-G_card:hover{border-color:var(--dsw-alias-border-l4)}.rp_qK1u-G_card:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color);outline-offset:2px}.rp_qK1u-G_cover{aspect-ratio:4/3;background:var(--dsw-alias-bg-layer-3)}.rp_qK1u-G_image{object-fit:cover;width:100%;height:100%;display:block}.rp_qK1u-G_placeholder{color:#ffffffd9;background:linear-gradient(145deg, hsl(var(--rp-hue) 38% 46%), hsl(calc(var(--rp-hue) + 35) 38% 32%));user-select:none;justify-content:center;align-items:center;width:100%;height:100%;font-size:36px;font-weight:500;display:flex}.rp_qK1u-G_body{flex-direction:column;gap:4px;padding:8px 10px 10px;display:flex}.rp_qK1u-G_name{text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;overflow:hidden}.rp_qK1u-G_meta{color:var(--dsw-alias-label-secondary);font-size:12px}.rp_qK1u-G_tags{flex-wrap:wrap;gap:4px;display:flex}.rp_qK1u-G_more{justify-content:center;padding:12px 0;display:flex}.rp_qK1u-G_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 24px;font-size:13px}.rp_qK1u-G_form{flex-direction:column;gap:8px;display:flex}.rp_qK1u-G_field{flex-direction:column;gap:4px;display:flex}.rp_qK1u-G_label{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_qK1u-G_detail{flex-direction:column;gap:8px;font-size:13px;display:flex}.rp_qK1u-G_description{white-space:pre-wrap;max-height:240px;color:var(--dsw-alias-label-secondary);margin:0;overflow-y:auto}.rp_qK1u-G_success{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.rp_qK1u-G_kinds{border-bottom:1px solid var(--dsw-alias-border-l2);flex:none;gap:16px;display:flex}.rp_qK1u-G_kind{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:4px 0 6px;font-size:13px}.rp_qK1u-G_kind[aria-selected=true]{border-bottom-color:var(--dsw-alias-state-business-primary);color:var(--dsw-alias-state-business-primary);font-weight:500}.rp_qK1u-G_kind:focus-visible{outline:2px solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.rp_qK1u-G_updates{color:var(--dsw-alias-label-secondary);flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.rp_qK1u-G_update{border:.5px solid var(--dsw-alias-state-business-primary);border-radius:var(--dsw-radius-sm);font:inherit;color:var(--dsw-alias-state-business-primary);cursor:pointer;background:0 0;padding:2px 8px}.rp_qK1u-G_warning{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-secondary);flex-direction:column;gap:8px;padding:8px 12px;font-size:12px;display:flex}.rp_qK1u-G_warning p{margin:0}.rp_qK1u-G_changes{font-family:var(--dsw-font-mono,monospace);color:var(--dsw-alias-label-tertiary);margin:0;padding-left:16px;font-size:12px}.rp_qK1u-G_actions{flex-wrap:wrap;gap:8px;display:flex}";
|
|
808
|
+
const key$31 = "src/client/pages/catalogue/CataloguePage.module.css";
|
|
809
|
+
let tag$31 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$31) + "]");
|
|
810
|
+
if (tag$31 === null) {
|
|
811
|
+
tag$31 = document.createElement("style");
|
|
812
|
+
tag$31.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
813
|
+
tag$31.dataset.pluginCss = key$31;
|
|
814
|
+
document.head.appendChild(tag$31);
|
|
815
815
|
}
|
|
816
|
-
tag$
|
|
816
|
+
tag$31.textContent = css$31;
|
|
817
817
|
var CataloguePage_module_css_default = {
|
|
818
|
-
"
|
|
819
|
-
"
|
|
820
|
-
"
|
|
818
|
+
"placeholder": "rp_qK1u-G_placeholder",
|
|
819
|
+
"select": "rp_qK1u-G_select",
|
|
820
|
+
"toolbar": "rp_qK1u-G_toolbar",
|
|
821
|
+
"status": "rp_qK1u-G_status",
|
|
821
822
|
"update": "rp_qK1u-G_update",
|
|
822
|
-
"
|
|
823
|
-
"description": "rp_qK1u-G_description",
|
|
824
|
-
"name": "rp_qK1u-G_name",
|
|
823
|
+
"kinds": "rp_qK1u-G_kinds",
|
|
825
824
|
"notice": "rp_qK1u-G_notice",
|
|
826
|
-
"
|
|
825
|
+
"image": "rp_qK1u-G_image",
|
|
827
826
|
"message": "rp_qK1u-G_message",
|
|
828
|
-
"select": "rp_qK1u-G_select",
|
|
829
|
-
"form": "rp_qK1u-G_form",
|
|
830
|
-
"card": "rp_qK1u-G_card",
|
|
831
|
-
"more": "rp_qK1u-G_more",
|
|
832
|
-
"meta": "rp_qK1u-G_meta",
|
|
833
|
-
"search": "rp_qK1u-G_search",
|
|
834
|
-
"actions": "rp_qK1u-G_actions",
|
|
835
|
-
"label": "rp_qK1u-G_label",
|
|
836
|
-
"viewport": "rp_qK1u-G_viewport",
|
|
837
|
-
"success": "rp_qK1u-G_success",
|
|
838
|
-
"status": "rp_qK1u-G_status",
|
|
839
827
|
"kind": "rp_qK1u-G_kind",
|
|
840
|
-
"
|
|
828
|
+
"grid": "rp_qK1u-G_grid",
|
|
829
|
+
"search": "rp_qK1u-G_search",
|
|
830
|
+
"tags": "rp_qK1u-G_tags",
|
|
831
|
+
"form": "rp_qK1u-G_form",
|
|
841
832
|
"field": "rp_qK1u-G_field",
|
|
833
|
+
"name": "rp_qK1u-G_name",
|
|
834
|
+
"detail": "rp_qK1u-G_detail",
|
|
835
|
+
"label": "rp_qK1u-G_label",
|
|
836
|
+
"description": "rp_qK1u-G_description",
|
|
837
|
+
"updates": "rp_qK1u-G_updates",
|
|
842
838
|
"page": "rp_qK1u-G_page",
|
|
843
|
-
"
|
|
839
|
+
"cover": "rp_qK1u-G_cover",
|
|
840
|
+
"body": "rp_qK1u-G_body",
|
|
841
|
+
"meta": "rp_qK1u-G_meta",
|
|
842
|
+
"more": "rp_qK1u-G_more",
|
|
843
|
+
"viewport": "rp_qK1u-G_viewport",
|
|
844
|
+
"actions": "rp_qK1u-G_actions",
|
|
845
|
+
"card": "rp_qK1u-G_card",
|
|
844
846
|
"warning": "rp_qK1u-G_warning",
|
|
845
847
|
"spacer": "rp_qK1u-G_spacer",
|
|
846
|
-
"
|
|
847
|
-
"
|
|
848
|
-
"cover": "rp_qK1u-G_cover",
|
|
849
|
-
"image": "rp_qK1u-G_image"
|
|
848
|
+
"changes": "rp_qK1u-G_changes",
|
|
849
|
+
"success": "rp_qK1u-G_success"
|
|
850
850
|
};
|
|
851
851
|
//#endregion
|
|
852
852
|
//#region src/client/pages/catalogue/ImportUrlDialog.tsx
|
|
@@ -1038,30 +1038,30 @@ window.__ModuleLoader__.load({
|
|
|
1038
1038
|
const SAMPLING_KEYS = Object.keys(SAMPLING_RANGES);
|
|
1039
1039
|
//#endregion
|
|
1040
1040
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/import-selection/ImportSelection.module.css.mjs
|
|
1041
|
-
const css$
|
|
1042
|
-
const key$
|
|
1043
|
-
let tag$
|
|
1044
|
-
if (tag$
|
|
1045
|
-
tag$
|
|
1046
|
-
tag$
|
|
1047
|
-
tag$
|
|
1048
|
-
document.head.appendChild(tag$
|
|
1041
|
+
const css$30 = ".rp_Jx0l4q_body{flex-direction:column;gap:12px;min-width:min(640px,100%);max-height:calc(100vh - 220px);display:flex;overflow-y:auto}.rp_Jx0l4q_help{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.rp_Jx0l4q_bar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rp_Jx0l4q_count{color:var(--dsw-alias-label-tertiary);margin-right:auto;font-size:12px}.rp_Jx0l4q_list{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);flex-direction:column;max-height:max(120px,min(420px,100vh - 560px));margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.rp_Jx0l4q_row{border-bottom:.5px solid var(--dsw-alias-border-l3);gap:8px;padding:6px 8px;display:flex}.rp_Jx0l4q_row:last-child{border-bottom:0}.rp_Jx0l4q_row[data-usable=false]{opacity:.55}.rp_Jx0l4q_text{min-width:0;color:var(--dsw-alias-label-primary);flex-direction:column;flex:1 1 0;gap:2px;font-size:13px;display:flex}.rp_Jx0l4q_meta{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;font-size:12px}.rp_Jx0l4q_note{color:var(--dsw-alias-label-secondary);font-size:12px}.rp_Jx0l4q_full{max-height:200px;font:12px/18px var(--dsw-font-mono,monospace);white-space:pre-wrap;overflow-wrap:anywhere;background:var(--dsw-alias-bg-layer-1);border-radius:var(--dsw-radius-sm);margin:4px 0 0;padding:6px 8px;overflow:auto}.rp_Jx0l4q_sampling{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);flex-direction:column;gap:4px;padding:8px;display:flex}.rp_Jx0l4q_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_Jx0l4q_extra{display:block}";
|
|
1042
|
+
const key$30 = "src/client/widgets/import-selection/ImportSelection.module.css";
|
|
1043
|
+
let tag$30 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$30) + "]");
|
|
1044
|
+
if (tag$30 === null) {
|
|
1045
|
+
tag$30 = document.createElement("style");
|
|
1046
|
+
tag$30.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
1047
|
+
tag$30.dataset.pluginCss = key$30;
|
|
1048
|
+
document.head.appendChild(tag$30);
|
|
1049
1049
|
}
|
|
1050
|
-
tag$
|
|
1050
|
+
tag$30.textContent = css$30;
|
|
1051
1051
|
var ImportSelection_module_css_default = {
|
|
1052
|
-
"list": "rp_Jx0l4q_list",
|
|
1053
|
-
"bar": "rp_Jx0l4q_bar",
|
|
1054
|
-
"row": "rp_Jx0l4q_row",
|
|
1055
|
-
"error": "rp_Jx0l4q_error",
|
|
1056
1052
|
"extra": "rp_Jx0l4q_extra",
|
|
1057
1053
|
"full": "rp_Jx0l4q_full",
|
|
1058
|
-
"help": "rp_Jx0l4q_help",
|
|
1059
1054
|
"text": "rp_Jx0l4q_text",
|
|
1060
1055
|
"sampling": "rp_Jx0l4q_sampling",
|
|
1056
|
+
"meta": "rp_Jx0l4q_meta",
|
|
1061
1057
|
"body": "rp_Jx0l4q_body",
|
|
1062
|
-
"note": "rp_Jx0l4q_note",
|
|
1063
1058
|
"count": "rp_Jx0l4q_count",
|
|
1064
|
-
"
|
|
1059
|
+
"list": "rp_Jx0l4q_list",
|
|
1060
|
+
"help": "rp_Jx0l4q_help",
|
|
1061
|
+
"bar": "rp_Jx0l4q_bar",
|
|
1062
|
+
"note": "rp_Jx0l4q_note",
|
|
1063
|
+
"error": "rp_Jx0l4q_error",
|
|
1064
|
+
"row": "rp_Jx0l4q_row"
|
|
1065
1065
|
};
|
|
1066
1066
|
//#endregion
|
|
1067
1067
|
//#region src/client/widgets/import-selection/ImportSelection.tsx
|
|
@@ -2922,51 +2922,51 @@ window.__ModuleLoader__.load({
|
|
|
2922
2922
|
const isDirty = (character, draft) => Object.keys(editOf$1(character, draft)).length > 0;
|
|
2923
2923
|
//#endregion
|
|
2924
2924
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/world-editor/CharactersPanel.module.css.mjs
|
|
2925
|
-
const css$
|
|
2926
|
-
const key$
|
|
2927
|
-
let tag$
|
|
2928
|
-
if (tag$
|
|
2929
|
-
tag$
|
|
2930
|
-
tag$
|
|
2931
|
-
tag$
|
|
2932
|
-
document.head.appendChild(tag$
|
|
2925
|
+
const css$29 = ".rp_5ZMIxq_panel{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.rp_5ZMIxq_tabs{border-bottom:.5px solid var(--dsw-alias-border-l2);flex:none;gap:4px;padding:0 24px;display:flex;overflow-x:auto}.rp_5ZMIxq_tab{font:inherit;white-space:nowrap;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;margin-bottom:-1px;padding:12px 10px 10px;font-size:13px;line-height:20px}.rp_5ZMIxq_tabOn{color:var(--dsw-alias-state-business-primary);border-bottom-color:var(--dsw-alias-state-business-primary);font-weight:500}.rp_5ZMIxq_body{flex:1 1 0;min-height:0;overflow-y:auto}.rp_5ZMIxq_sheet{box-sizing:border-box;flex-direction:column;gap:20px;max-width:760px;padding:24px 24px 240px;display:flex}.rp_5ZMIxq_head{align-items:flex-start;gap:20px;display:flex}.rp_5ZMIxq_portrait{aspect-ratio:3/4;object-fit:cover;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);width:150px;height:auto;display:block}.rp_5ZMIxq_portraitBox{border-radius:var(--dsw-radius-lg);width:150px;height:200px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;flex:0 0 150px;padding:0;display:block;position:relative}.rp_5ZMIxq_portraitBox:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}.rp_5ZMIxq_portraitBox:disabled{cursor:not-allowed}.rp_5ZMIxq_portraitAction{box-sizing:border-box;border-radius:0 0 var(--dsw-radius-lg) var(--dsw-radius-lg);color:#fff;text-align:center;opacity:0;background:#0000009e;padding:7px 6px;font-size:12px;line-height:16px;transition:opacity .12s;position:absolute;bottom:1px;left:1px;right:1px}.rp_5ZMIxq_portraitBox:hover .rp_5ZMIxq_portraitAction,.rp_5ZMIxq_portraitBox:focus-visible .rp_5ZMIxq_portraitAction,.rp_5ZMIxq_portraitBox:disabled .rp_5ZMIxq_portraitAction{opacity:1}.rp_5ZMIxq_portraitError,.rp_5ZMIxq_portraitHint{margin:12px 24px 0;font-size:12px}.rp_5ZMIxq_portraitError{color:var(--dsw-alias-state-danger-primary)}.rp_5ZMIxq_portraitHint{color:var(--dsw-alias-label-secondary)}.rp_5ZMIxq_placeholder{box-sizing:border-box;color:var(--dsw-alias-label-secondary);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.rp_5ZMIxq_initial{opacity:.6;font-size:48px;font-weight:500;line-height:1}.rp_5ZMIxq_missing{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_5ZMIxq_meta{flex-direction:column;flex:1 1 0;gap:10px;min-width:0;display:flex}.rp_5ZMIxq_section{border-top:.5px solid var(--dsw-alias-border-l4);flex-direction:column;gap:6px;padding-top:16px;display:flex}.rp_5ZMIxq_sectionTitle{color:var(--dsw-alias-label-primary);margin:0;font-size:13px;font-weight:500;line-height:20px}.rp_5ZMIxq_empty{color:var(--dsw-alias-label-tertiary);margin:0;padding:0 24px;font-size:13px}.rp_5ZMIxq_section .rp_5ZMIxq_empty{padding:0}.rp_5ZMIxq_tabsSpace{flex:auto}.rp_5ZMIxq_voiceInline{min-width:220px;color:var(--dsw-alias-label-tertiary);align-items:center;gap:6px;font-size:12px;display:flex}.rp_5ZMIxq_bar{border-bottom:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-2);flex:none;justify-content:flex-end;align-items:center;gap:8px;padding:6px 24px;display:flex}.rp_5ZMIxq_barText{color:var(--dsw-alias-label-secondary);margin-right:auto;font-size:12px}.rp_5ZMIxq_nameInput{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:32px;color:var(--dsw-alias-label-primary);font:inherit;padding:4px 8px;font-size:14px;line-height:22px}.rp_5ZMIxq_row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rp_5ZMIxq_grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:10px 12px;display:grid}.rp_5ZMIxq_field{flex-direction:column;gap:4px;min-width:0;display:flex}.rp_5ZMIxq_wide{grid-column:1/-1}.rp_5ZMIxq_label,.rp_5ZMIxq_help{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_5ZMIxq_error{color:var(--dsw-alias-state-error-primary);font-size:12px}.rp_5ZMIxq_select{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:32px;color:inherit;font:inherit;padding:4px 8px;font-size:13px}.rp_5ZMIxq_area{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:96px;color:inherit;font:inherit;resize:vertical;padding:6px 8px;font-size:13px;line-height:20px}.rp_5ZMIxq_goal{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);flex-direction:column;gap:8px;padding:10px;display:flex}.rp_5ZMIxq_row>.rp_5ZMIxq_select{width:auto;min-width:110px}.rp_5ZMIxq_select:focus-visible,.rp_5ZMIxq_area:focus-visible,.rp_5ZMIxq_nameInput:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}@media (width<=640px){.rp_5ZMIxq_sheet{padding-inline:16px}.rp_5ZMIxq_head{flex-direction:column}.rp_5ZMIxq_portraitBox,.rp_5ZMIxq_portrait{width:120px}.rp_5ZMIxq_portraitBox{flex-basis:120px;height:160px}.rp_5ZMIxq_bar{flex-wrap:wrap;padding-inline:16px}.rp_5ZMIxq_voiceInline{width:100%;min-width:0}}";
|
|
2926
|
+
const key$29 = "src/client/world-editor/CharactersPanel.module.css";
|
|
2927
|
+
let tag$29 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$29) + "]");
|
|
2928
|
+
if (tag$29 === null) {
|
|
2929
|
+
tag$29 = document.createElement("style");
|
|
2930
|
+
tag$29.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
2931
|
+
tag$29.dataset.pluginCss = key$29;
|
|
2932
|
+
document.head.appendChild(tag$29);
|
|
2933
2933
|
}
|
|
2934
|
-
tag$
|
|
2934
|
+
tag$29.textContent = css$29;
|
|
2935
2935
|
var CharactersPanel_module_css_default = {
|
|
2936
|
-
"
|
|
2937
|
-
"
|
|
2938
|
-
"sectionTitle": "rp_5ZMIxq_sectionTitle",
|
|
2936
|
+
"bar": "rp_5ZMIxq_bar",
|
|
2937
|
+
"select": "rp_5ZMIxq_select",
|
|
2939
2938
|
"barText": "rp_5ZMIxq_barText",
|
|
2940
2939
|
"tab": "rp_5ZMIxq_tab",
|
|
2941
|
-
"
|
|
2942
|
-
"goal": "rp_5ZMIxq_goal",
|
|
2943
|
-
"body": "rp_5ZMIxq_body",
|
|
2940
|
+
"empty": "rp_5ZMIxq_empty",
|
|
2944
2941
|
"portraitError": "rp_5ZMIxq_portraitError",
|
|
2945
|
-
"bar": "rp_5ZMIxq_bar",
|
|
2946
|
-
"wide": "rp_5ZMIxq_wide",
|
|
2947
|
-
"panel": "rp_5ZMIxq_panel",
|
|
2948
|
-
"nameInput": "rp_5ZMIxq_nameInput",
|
|
2949
|
-
"placeholder": "rp_5ZMIxq_placeholder",
|
|
2950
|
-
"error": "rp_5ZMIxq_error",
|
|
2951
2942
|
"area": "rp_5ZMIxq_area",
|
|
2952
|
-
"grid": "rp_5ZMIxq_grid",
|
|
2953
|
-
"portraitAction": "rp_5ZMIxq_portraitAction",
|
|
2954
|
-
"help": "rp_5ZMIxq_help",
|
|
2955
|
-
"head": "rp_5ZMIxq_head",
|
|
2956
2943
|
"initial": "rp_5ZMIxq_initial",
|
|
2957
|
-
"empty": "rp_5ZMIxq_empty",
|
|
2958
|
-
"section": "rp_5ZMIxq_section",
|
|
2959
|
-
"portraitBox": "rp_5ZMIxq_portraitBox",
|
|
2960
|
-
"select": "rp_5ZMIxq_select",
|
|
2961
|
-
"meta": "rp_5ZMIxq_meta",
|
|
2962
|
-
"field": "rp_5ZMIxq_field",
|
|
2963
2944
|
"sheet": "rp_5ZMIxq_sheet",
|
|
2945
|
+
"sectionTitle": "rp_5ZMIxq_sectionTitle",
|
|
2946
|
+
"tabs": "rp_5ZMIxq_tabs",
|
|
2947
|
+
"portraitAction": "rp_5ZMIxq_portraitAction",
|
|
2948
|
+
"nameInput": "rp_5ZMIxq_nameInput",
|
|
2949
|
+
"section": "rp_5ZMIxq_section",
|
|
2950
|
+
"goal": "rp_5ZMIxq_goal",
|
|
2951
|
+
"help": "rp_5ZMIxq_help",
|
|
2952
|
+
"wide": "rp_5ZMIxq_wide",
|
|
2964
2953
|
"row": "rp_5ZMIxq_row",
|
|
2965
|
-
"
|
|
2954
|
+
"placeholder": "rp_5ZMIxq_placeholder",
|
|
2955
|
+
"grid": "rp_5ZMIxq_grid",
|
|
2956
|
+
"label": "rp_5ZMIxq_label",
|
|
2966
2957
|
"portrait": "rp_5ZMIxq_portrait",
|
|
2958
|
+
"portraitHint": "rp_5ZMIxq_portraitHint",
|
|
2959
|
+
"meta": "rp_5ZMIxq_meta",
|
|
2960
|
+
"tabsSpace": "rp_5ZMIxq_tabsSpace",
|
|
2967
2961
|
"missing": "rp_5ZMIxq_missing",
|
|
2968
|
-
"
|
|
2969
|
-
"
|
|
2962
|
+
"body": "rp_5ZMIxq_body",
|
|
2963
|
+
"error": "rp_5ZMIxq_error",
|
|
2964
|
+
"voiceInline": "rp_5ZMIxq_voiceInline",
|
|
2965
|
+
"panel": "rp_5ZMIxq_panel",
|
|
2966
|
+
"tabOn": "rp_5ZMIxq_tabOn",
|
|
2967
|
+
"head": "rp_5ZMIxq_head",
|
|
2968
|
+
"portraitBox": "rp_5ZMIxq_portraitBox",
|
|
2969
|
+
"field": "rp_5ZMIxq_field"
|
|
2970
2970
|
};
|
|
2971
2971
|
//#endregion
|
|
2972
2972
|
//#region src/client/world-editor/EditorTabs.tsx
|
|
@@ -4680,50 +4680,50 @@ window.__ModuleLoader__.load({
|
|
|
4680
4680
|
}
|
|
4681
4681
|
//#endregion
|
|
4682
4682
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/world-editor/RelationsPanel.module.css.mjs
|
|
4683
|
-
const css$
|
|
4684
|
-
const key$
|
|
4685
|
-
let tag$
|
|
4686
|
-
if (tag$
|
|
4687
|
-
tag$
|
|
4688
|
-
tag$
|
|
4689
|
-
tag$
|
|
4690
|
-
document.head.appendChild(tag$
|
|
4683
|
+
const css$28 = ".rp_7pEHTW_panel{flex-direction:column;flex:1 1 0;min-height:0;display:flex;position:relative}.rp_7pEHTW_toolbar{border-bottom:.5px solid var(--dsw-alias-border-l2);flex-wrap:wrap;align-items:center;gap:4px;padding:8px 16px;display:flex}.rp_7pEHTW_filter{border-radius:var(--dsw-radius-sm);min-height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;padding:4px 10px}.rp_7pEHTW_filterOn{color:var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-2)}.rp_7pEHTW_filter:focus-visible,.rp_7pEHTW_edge:focus-visible,.rp_7pEHTW_graphEdge:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color);outline-offset:-2px}.rp_7pEHTW_space{flex:1}.rp_7pEHTW_perspective{color:var(--dsw-alias-label-tertiary);align-items:center;gap:6px;font-size:12px;display:flex}.rp_7pEHTW_perspective select{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);max-width:180px;min-height:32px;color:inherit;padding:4px 8px}.rp_7pEHTW_workspace{flex:1 1 0;grid-template-columns:minmax(220px,34%) minmax(320px,1fr);min-height:0;display:grid}.rp_7pEHTW_list{border-right:.5px solid var(--dsw-alias-border-l3);overflow-y:auto}.rp_7pEHTW_edge{border:0;border-bottom:.5px solid var(--dsw-alias-border-l4);width:100%;min-height:48px;color:inherit;text-align:left;cursor:pointer;background:0 0;flex-direction:column;gap:2px;padding:8px 16px;display:flex}.rp_7pEHTW_edgeOn{background:var(--dsw-alias-bg-layer-2)}.rp_7pEHTW_edgeTitle{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.rp_7pEHTW_edgeKind{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_7pEHTW_empty{color:var(--dsw-alias-label-tertiary);padding:20px}.rp_7pEHTW_inspector{min-width:0;padding:24px 24px 240px;overflow-y:auto}.rp_7pEHTW_head h2{margin:0 0 8px;font-size:16px}.rp_7pEHTW_entities{color:var(--dsw-alias-label-secondary);flex-wrap:wrap;align-items:center;gap:6px;display:flex}.rp_7pEHTW_notice{color:var(--dsw-alias-label-secondary);margin:24px 0}.rp_7pEHTW_form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;display:grid}.rp_7pEHTW_form label{color:var(--dsw-alias-label-tertiary);flex-direction:column;gap:5px;font-size:12px;display:flex}.rp_7pEHTW_form select,.rp_7pEHTW_form textarea{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:32px;color:inherit;font:inherit;padding:6px 8px}.rp_7pEHTW_form textarea{resize:vertical;min-height:96px}.rp_7pEHTW_form select:focus-visible,.rp_7pEHTW_form textarea:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.rp_7pEHTW_wide{grid-column:1/-1}.rp_7pEHTW_metrics{grid-column:1/-1;grid-template-columns:repeat(4,minmax(90px,1fr));gap:10px;display:grid}.rp_7pEHTW_check{align-self:end;align-items:center;min-height:32px;flex-direction:row!important}.rp_7pEHTW_actions{border-top:.5px solid var(--dsw-alias-border-l4);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:28px;padding-top:12px;display:flex}.rp_7pEHTW_status{color:var(--dsw-alias-label-secondary);margin-right:auto}.rp_7pEHTW_error{color:var(--dsw-alias-state-error-primary);margin-right:auto}.rp_7pEHTW_graph{background:radial-gradient(circle, var(--dsw-alias-bg-layer-2), transparent 70%);flex:1 1 0;min-height:360px;position:relative;overflow:hidden}.rp_7pEHTW_graph svg{width:100%;height:100%;min-height:520px}.rp_7pEHTW_graphEdge{cursor:pointer;stroke:var(--dsw-alias-border-l1);stroke-width:2px}.rp_7pEHTW_graphEdge:hover,.rp_7pEHTW_graphEdgeOn{stroke:var(--dsw-alias-state-business-primary);stroke-width:4px}.rp_7pEHTW_node circle{fill:var(--dsw-alias-bg-layer-1);stroke:var(--dsw-alias-border-l1);stroke-width:2px}.rp_7pEHTW_node_character circle{fill:color-mix(in srgb, var(--dsw-alias-state-business-primary) 18%, var(--dsw-alias-bg-layer-1))}.rp_7pEHTW_node_location circle{fill:color-mix(in srgb, #4a9 20%, var(--dsw-alias-bg-layer-1))}.rp_7pEHTW_node_item circle{fill:color-mix(in srgb, #c90 20%, var(--dsw-alias-bg-layer-1))}.rp_7pEHTW_node_faction circle{fill:color-mix(in srgb, #96c 20%, var(--dsw-alias-bg-layer-1))}.rp_7pEHTW_node text{fill:var(--dsw-alias-label-primary);pointer-events:none;font-size:12px}.rp_7pEHTW_graphInspector{box-sizing:border-box;border-radius:var(--dsw-radius-panel);background:var(--dsw-alias-bg-layer-1);width:min(480px,100% - 40px);max-height:62%;box-shadow:var(--dsw-elevation-panel);border:0;padding:18px;position:absolute;bottom:20px;right:20px;overflow-y:auto}@media (width<=760px){.rp_7pEHTW_workspace{grid-template-columns:1fr}.rp_7pEHTW_list{border-right:0;border-bottom:.5px solid var(--dsw-alias-border-l3);max-height:220px}.rp_7pEHTW_inspector{padding-inline:16px}.rp_7pEHTW_form{grid-template-columns:1fr}.rp_7pEHTW_wide,.rp_7pEHTW_metrics{grid-column:1}.rp_7pEHTW_metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rp_7pEHTW_graphInspector{width:calc(100% - 24px);bottom:12px;right:12px}}@media (pointer:coarse){.rp_7pEHTW_filter{min-height:44px}}";
|
|
4684
|
+
const key$28 = "src/client/world-editor/RelationsPanel.module.css";
|
|
4685
|
+
let tag$28 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$28) + "]");
|
|
4686
|
+
if (tag$28 === null) {
|
|
4687
|
+
tag$28 = document.createElement("style");
|
|
4688
|
+
tag$28.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
4689
|
+
tag$28.dataset.pluginCss = key$28;
|
|
4690
|
+
document.head.appendChild(tag$28);
|
|
4691
4691
|
}
|
|
4692
|
-
tag$
|
|
4692
|
+
tag$28.textContent = css$28;
|
|
4693
4693
|
var RelationsPanel_module_css_default = {
|
|
4694
|
-
"
|
|
4695
|
-
"empty": "rp_7pEHTW_empty",
|
|
4696
|
-
"edgeOn": "rp_7pEHTW_edgeOn",
|
|
4697
|
-
"node_faction": "rp_7pEHTW_node_faction",
|
|
4698
|
-
"node_character": "rp_7pEHTW_node_character",
|
|
4699
|
-
"error": "rp_7pEHTW_error",
|
|
4700
|
-
"status": "rp_7pEHTW_status",
|
|
4701
|
-
"node_location": "rp_7pEHTW_node_location",
|
|
4702
|
-
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
4694
|
+
"toolbar": "rp_7pEHTW_toolbar",
|
|
4703
4695
|
"perspective": "rp_7pEHTW_perspective",
|
|
4704
|
-
"
|
|
4705
|
-
"metrics": "rp_7pEHTW_metrics",
|
|
4706
|
-
"graph": "rp_7pEHTW_graph",
|
|
4707
|
-
"head": "rp_7pEHTW_head",
|
|
4696
|
+
"edge": "rp_7pEHTW_edge",
|
|
4708
4697
|
"notice": "rp_7pEHTW_notice",
|
|
4709
|
-
"
|
|
4710
|
-
"
|
|
4711
|
-
"
|
|
4712
|
-
"node_item": "rp_7pEHTW_node_item",
|
|
4698
|
+
"error": "rp_7pEHTW_error",
|
|
4699
|
+
"head": "rp_7pEHTW_head",
|
|
4700
|
+
"panel": "rp_7pEHTW_panel",
|
|
4713
4701
|
"graphEdge": "rp_7pEHTW_graphEdge",
|
|
4714
|
-
"
|
|
4715
|
-
"
|
|
4716
|
-
"
|
|
4717
|
-
"edgeTitle": "rp_7pEHTW_edgeTitle",
|
|
4718
|
-
"edge": "rp_7pEHTW_edge",
|
|
4719
|
-
"filterOn": "rp_7pEHTW_filterOn",
|
|
4720
|
-
"graphInspector": "rp_7pEHTW_graphInspector",
|
|
4702
|
+
"actions": "rp_7pEHTW_actions",
|
|
4703
|
+
"wide": "rp_7pEHTW_wide",
|
|
4704
|
+
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
4721
4705
|
"space": "rp_7pEHTW_space",
|
|
4722
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",
|
|
4711
|
+
"node_faction": "rp_7pEHTW_node_faction",
|
|
4712
|
+
"check": "rp_7pEHTW_check",
|
|
4713
|
+
"workspace": "rp_7pEHTW_workspace",
|
|
4714
|
+
"node_item": "rp_7pEHTW_node_item",
|
|
4715
|
+
"edgeTitle": "rp_7pEHTW_edgeTitle",
|
|
4716
|
+
"filterOn": "rp_7pEHTW_filterOn",
|
|
4717
|
+
"empty": "rp_7pEHTW_empty",
|
|
4718
|
+
"status": "rp_7pEHTW_status",
|
|
4723
4719
|
"list": "rp_7pEHTW_list",
|
|
4724
|
-
"
|
|
4725
|
-
"
|
|
4726
|
-
"
|
|
4720
|
+
"graph": "rp_7pEHTW_graph",
|
|
4721
|
+
"node_character": "rp_7pEHTW_node_character",
|
|
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"
|
|
4727
4727
|
};
|
|
4728
4728
|
//#endregion
|
|
4729
4729
|
//#region src/client/world-editor/RelationsPanel.tsx
|
|
@@ -6087,23 +6087,23 @@ window.__ModuleLoader__.load({
|
|
|
6087
6087
|
};
|
|
6088
6088
|
//#endregion
|
|
6089
6089
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/pack-frame/PackFrame.module.css.mjs
|
|
6090
|
-
const css$
|
|
6091
|
-
const key$
|
|
6092
|
-
let tag$
|
|
6093
|
-
if (tag$
|
|
6094
|
-
tag$
|
|
6095
|
-
tag$
|
|
6096
|
-
tag$
|
|
6097
|
-
document.head.appendChild(tag$
|
|
6090
|
+
const css$27 = ".rp_h_sbFq_frame{background:0 0;border:0;width:100%;display:block}.rp_h_sbFq_fill{height:100%;min-height:0}.rp_h_sbFq_message{color:var(--dsw-alias-label-secondary);margin:0;padding:16px 24px;font-size:13px;line-height:20px}.rp_h_sbFq_problems{color:var(--dsw-alias-label-tertiary);margin:8px 0 0;padding-left:18px;font-size:12px}.rp_h_sbFq_hud{box-sizing:border-box;width:min(800px,100%);margin:0 auto 8px;padding:0 16px}.rp_h_sbFq_tab{flex-direction:column;flex:1 1 0;width:100%;min-height:0;display:flex}";
|
|
6091
|
+
const key$27 = "src/client/widgets/pack-frame/PackFrame.module.css";
|
|
6092
|
+
let tag$27 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$27) + "]");
|
|
6093
|
+
if (tag$27 === null) {
|
|
6094
|
+
tag$27 = document.createElement("style");
|
|
6095
|
+
tag$27.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
6096
|
+
tag$27.dataset.pluginCss = key$27;
|
|
6097
|
+
document.head.appendChild(tag$27);
|
|
6098
6098
|
}
|
|
6099
|
-
tag$
|
|
6099
|
+
tag$27.textContent = css$27;
|
|
6100
6100
|
var PackFrame_module_css_default = {
|
|
6101
|
-
"frame": "rp_h_sbFq_frame",
|
|
6102
|
-
"hud": "rp_h_sbFq_hud",
|
|
6103
6101
|
"tab": "rp_h_sbFq_tab",
|
|
6102
|
+
"frame": "rp_h_sbFq_frame",
|
|
6104
6103
|
"fill": "rp_h_sbFq_fill",
|
|
6105
|
-
"
|
|
6106
|
-
"message": "rp_h_sbFq_message"
|
|
6104
|
+
"hud": "rp_h_sbFq_hud",
|
|
6105
|
+
"message": "rp_h_sbFq_message",
|
|
6106
|
+
"problems": "rp_h_sbFq_problems"
|
|
6107
6107
|
};
|
|
6108
6108
|
//#endregion
|
|
6109
6109
|
//#region src/client/widgets/pack-frame/theme.ts
|
|
@@ -6355,23 +6355,23 @@ window.__ModuleLoader__.load({
|
|
|
6355
6355
|
const createPack = async (world, pack, name, signal) => (await read$2(await fetch(`${API_PREFIX}/worlds/interface/pack?${packQuery(world, pack)}`, init("POST", signal, { name })))).problems;
|
|
6356
6356
|
//#endregion
|
|
6357
6357
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/world-editor/PacksPanel.module.css.mjs
|
|
6358
|
-
const css$
|
|
6359
|
-
const key$
|
|
6360
|
-
let tag$
|
|
6361
|
-
if (tag$
|
|
6362
|
-
tag$
|
|
6363
|
-
tag$
|
|
6364
|
-
tag$
|
|
6365
|
-
document.head.appendChild(tag$
|
|
6358
|
+
const css$26 = ".rp_FLaP7q_controls{flex-wrap:wrap;align-items:center;gap:8px 16px;margin:8px 0;display:flex}.rp_FLaP7q_group{color:var(--dsw-alias-label-tertiary);align-items:center;gap:4px;font-size:12px;display:inline-flex}.rp_FLaP7q_stage{border:1px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-base);max-width:100%;overflow:hidden}.rp_FLaP7q_stageTall{height:420px}.rp_FLaP7q_log{color:var(--dsw-alias-label-secondary);margin:4px 0 0;padding-left:16px;font-size:12px}.rp_FLaP7q_files{columns:2 220px;margin:4px 0 0;padding-left:16px;font-size:12px}.rp_FLaP7q_note{color:var(--dsw-alias-label-tertiary);font-size:12px}";
|
|
6359
|
+
const key$26 = "src/client/world-editor/PacksPanel.module.css";
|
|
6360
|
+
let tag$26 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$26) + "]");
|
|
6361
|
+
if (tag$26 === null) {
|
|
6362
|
+
tag$26 = document.createElement("style");
|
|
6363
|
+
tag$26.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
6364
|
+
tag$26.dataset.pluginCss = key$26;
|
|
6365
|
+
document.head.appendChild(tag$26);
|
|
6366
6366
|
}
|
|
6367
|
-
tag$
|
|
6367
|
+
tag$26.textContent = css$26;
|
|
6368
6368
|
var PacksPanel_module_css_default = {
|
|
6369
6369
|
"note": "rp_FLaP7q_note",
|
|
6370
6370
|
"log": "rp_FLaP7q_log",
|
|
6371
|
-
"stage": "rp_FLaP7q_stage",
|
|
6372
6371
|
"files": "rp_FLaP7q_files",
|
|
6373
|
-
"group": "rp_FLaP7q_group",
|
|
6374
6372
|
"controls": "rp_FLaP7q_controls",
|
|
6373
|
+
"stage": "rp_FLaP7q_stage",
|
|
6374
|
+
"group": "rp_FLaP7q_group",
|
|
6375
6375
|
"stageTall": "rp_FLaP7q_stageTall"
|
|
6376
6376
|
};
|
|
6377
6377
|
//#endregion
|
|
@@ -7462,23 +7462,23 @@ window.__ModuleLoader__.load({
|
|
|
7462
7462
|
}
|
|
7463
7463
|
//#endregion
|
|
7464
7464
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/sampling-fields/SamplingFields.module.css.mjs
|
|
7465
|
-
const css$
|
|
7466
|
-
const key$
|
|
7467
|
-
let tag$
|
|
7468
|
-
if (tag$
|
|
7469
|
-
tag$
|
|
7470
|
-
tag$
|
|
7471
|
-
tag$
|
|
7472
|
-
document.head.appendChild(tag$
|
|
7465
|
+
const css$25 = ".rp_9vxYSG_root{flex-direction:column;gap:8px;display:flex}.rp_9vxYSG_grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px 12px;display:grid}.rp_9vxYSG_field{flex-direction:column;gap:4px;display:flex}.rp_9vxYSG_label{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_9vxYSG_input{font:inherit;border:1px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);color:inherit;background:0 0;min-width:0;padding:4px 8px;font-size:13px}.rp_9vxYSG_input:disabled{opacity:.6}.rp_9vxYSG_help{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px}";
|
|
7466
|
+
const key$25 = "src/client/widgets/sampling-fields/SamplingFields.module.css";
|
|
7467
|
+
let tag$25 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$25) + "]");
|
|
7468
|
+
if (tag$25 === null) {
|
|
7469
|
+
tag$25 = document.createElement("style");
|
|
7470
|
+
tag$25.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
7471
|
+
tag$25.dataset.pluginCss = key$25;
|
|
7472
|
+
document.head.appendChild(tag$25);
|
|
7473
7473
|
}
|
|
7474
|
-
tag$
|
|
7474
|
+
tag$25.textContent = css$25;
|
|
7475
7475
|
var SamplingFields_module_css_default = {
|
|
7476
|
-
"root": "rp_9vxYSG_root",
|
|
7477
7476
|
"label": "rp_9vxYSG_label",
|
|
7478
7477
|
"input": "rp_9vxYSG_input",
|
|
7479
7478
|
"grid": "rp_9vxYSG_grid",
|
|
7480
7479
|
"help": "rp_9vxYSG_help",
|
|
7481
|
-
"field": "rp_9vxYSG_field"
|
|
7480
|
+
"field": "rp_9vxYSG_field",
|
|
7481
|
+
"root": "rp_9vxYSG_root"
|
|
7482
7482
|
};
|
|
7483
7483
|
//#endregion
|
|
7484
7484
|
//#region src/client/widgets/sampling-fields/SamplingFields.tsx
|
|
@@ -8884,28 +8884,28 @@ window.__ModuleLoader__.load({
|
|
|
8884
8884
|
}
|
|
8885
8885
|
//#endregion
|
|
8886
8886
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/tool-switches/ToolSwitches.module.css.mjs
|
|
8887
|
-
const css$
|
|
8888
|
-
const key$
|
|
8889
|
-
let tag$
|
|
8890
|
-
if (tag$
|
|
8891
|
-
tag$
|
|
8892
|
-
tag$
|
|
8893
|
-
tag$
|
|
8894
|
-
document.head.appendChild(tag$
|
|
8887
|
+
const css$24 = ".rp_CjoFLq_root{flex-direction:column;gap:12px;display:flex}.rp_CjoFLq_title{margin:0;font-size:16px;font-weight:500;line-height:24px}.rp_CjoFLq_help{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px}.rp_CjoFLq_agent{border-top:1px solid var(--dsw-alias-border-l3);flex-direction:column;gap:6px;padding:8px 0;display:flex}.rp_CjoFLq_agentName{font-size:14px;font-weight:500}.rp_CjoFLq_hint{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_CjoFLq_tool{cursor:pointer;align-items:flex-start;gap:8px;font-size:13px;display:flex}.rp_CjoFLq_tool input{margin-top:3px}.rp_CjoFLq_toolText{flex-direction:column;display:flex}.rp_CjoFLq_default{color:var(--dsw-alias-label-tertiary);margin-left:6px;font-size:12px}.rp_CjoFLq_error{color:var(--dsw-alias-state-error-primary);font-size:12px}.rp_CjoFLq_external{flex-direction:column;gap:6px;margin-top:4px;display:flex}.rp_CjoFLq_external>summary{cursor:pointer}";
|
|
8888
|
+
const key$24 = "src/client/widgets/tool-switches/ToolSwitches.module.css";
|
|
8889
|
+
let tag$24 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$24) + "]");
|
|
8890
|
+
if (tag$24 === null) {
|
|
8891
|
+
tag$24 = document.createElement("style");
|
|
8892
|
+
tag$24.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
8893
|
+
tag$24.dataset.pluginCss = key$24;
|
|
8894
|
+
document.head.appendChild(tag$24);
|
|
8895
8895
|
}
|
|
8896
|
-
tag$
|
|
8896
|
+
tag$24.textContent = css$24;
|
|
8897
8897
|
var ToolSwitches_module_css_default = {
|
|
8898
|
-
"error": "rp_CjoFLq_error",
|
|
8899
8898
|
"external": "rp_CjoFLq_external",
|
|
8899
|
+
"root": "rp_CjoFLq_root",
|
|
8900
|
+
"agent": "rp_CjoFLq_agent",
|
|
8900
8901
|
"agentName": "rp_CjoFLq_agentName",
|
|
8901
|
-
"help": "rp_CjoFLq_help",
|
|
8902
8902
|
"hint": "rp_CjoFLq_hint",
|
|
8903
|
-
"toolText": "rp_CjoFLq_toolText",
|
|
8904
|
-
"agent": "rp_CjoFLq_agent",
|
|
8905
|
-
"default": "rp_CjoFLq_default",
|
|
8906
8903
|
"tool": "rp_CjoFLq_tool",
|
|
8907
|
-
"
|
|
8908
|
-
"
|
|
8904
|
+
"title": "rp_CjoFLq_title",
|
|
8905
|
+
"default": "rp_CjoFLq_default",
|
|
8906
|
+
"error": "rp_CjoFLq_error",
|
|
8907
|
+
"toolText": "rp_CjoFLq_toolText",
|
|
8908
|
+
"help": "rp_CjoFLq_help"
|
|
8909
8909
|
};
|
|
8910
8910
|
//#endregion
|
|
8911
8911
|
//#region src/client/widgets/tool-switches/ToolSwitches.tsx
|
|
@@ -9905,46 +9905,46 @@ window.__ModuleLoader__.load({
|
|
|
9905
9905
|
const imageUrl = (target, image) => `${route(target, "/file")}&path=${encodeURIComponent(image.path)}&v=${encodeURIComponent(image.createdAt)}`;
|
|
9906
9906
|
//#endregion
|
|
9907
9907
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/gallery-view/GalleryView.module.css.mjs
|
|
9908
|
-
const css$
|
|
9909
|
-
const key$
|
|
9910
|
-
let tag$
|
|
9911
|
-
if (tag$
|
|
9912
|
-
tag$
|
|
9913
|
-
tag$
|
|
9914
|
-
tag$
|
|
9915
|
-
document.head.appendChild(tag$
|
|
9908
|
+
const css$23 = ".rp_9pSHmG_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;padding:16px 24px;display:flex;overflow-y:auto}.rp_9pSHmG_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.rp_9pSHmG_count{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_9pSHmG_actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rp_9pSHmG_select{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);height:32px;font:inherit;background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);padding:0 8px;font-size:12px}.rp_9pSHmG_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 24px;font-size:13px}.rp_9pSHmG_grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.rp_9pSHmG_cell{min-width:0}.rp_9pSHmG_thumb{border:.5px solid var(--dsw-alias-settings-card-stroke);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-settings-card-fill);width:100%;font:inherit;text-align:left;color:inherit;cursor:pointer;flex-direction:column;padding:0;display:flex;overflow:hidden}.rp_9pSHmG_open{cursor:zoom-in;background:0 0;border:0;padding:0;display:block}.rp_9pSHmG_thumb:hover{border-color:var(--dsw-alias-border-l4)}.rp_9pSHmG_image{aspect-ratio:1;object-fit:cover;background:var(--dsw-alias-bg-layer-3);width:100%;display:block}.rp_9pSHmG_caption{text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-secondary);padding:6px 8px;font-size:12px;overflow:hidden}.rp_9pSHmG_detail{flex-direction:column;gap:12px;width:min(640px,100%);max-height:70vh;display:flex;overflow-y:auto}.rp_9pSHmG_large{border-radius:var(--dsw-radius-lg);object-fit:contain;max-width:100%;max-height:32vh;margin:0 auto;display:block}.rp_9pSHmG_facts{grid-template-columns:max-content 1fr;gap:6px 12px;margin:0;font-size:12px;line-height:18px;display:grid}.rp_9pSHmG_facts dt{color:var(--dsw-alias-label-tertiary)}.rp_9pSHmG_facts dd{min-width:0;color:var(--dsw-alias-label-primary);margin:0}.rp_9pSHmG_pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow-y:auto}.rp_9pSHmG_tags{flex-wrap:wrap;gap:4px;display:flex}.rp_9pSHmG_note{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.rp_9pSHmG_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_9pSHmG_status,.rp_9pSHmG_statusError{color:var(--dsw-alias-label-tertiary);padding:0 8px 6px;font-size:12px;line-height:16px}.rp_9pSHmG_statusError{color:var(--dsw-alias-state-error-primary)}.rp_9pSHmG_reusable{color:var(--dsw-alias-label-secondary);cursor:pointer;align-items:center;gap:6px;padding:0 8px 6px;font-size:12px;display:flex}.rp_9pSHmG_reusable input{accent-color:var(--dsw-alias-state-business-primary);margin:0}.rp_9pSHmG_editButton{font:inherit;color:var(--dsw-alias-state-business-primary);cursor:pointer;background:0 0;border:0;align-self:flex-start;margin:0 8px 4px;padding:0;font-size:12px}.rp_9pSHmG_edit{flex-direction:column;gap:12px;width:min(480px,100%);display:flex}.rp_9pSHmG_editField{flex-direction:column;gap:4px;display:flex}.rp_9pSHmG_editLabel{color:var(--dsw-alias-label-secondary);font-size:12px}.rp_9pSHmG_editHelp{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_9pSHmG_editArea,.rp_9pSHmG_editInput{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);font:inherit;color:var(--dsw-alias-label-primary);padding:6px 8px;font-size:13px}.rp_9pSHmG_editArea{resize:vertical;min-height:96px}.rp_9pSHmG_editArea:focus-visible,.rp_9pSHmG_editInput:focus-visible,.rp_9pSHmG_select:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}@media (width<=640px){.rp_9pSHmG_page{padding-inline:16px}.rp_9pSHmG_toolbar{align-items:flex-start}.rp_9pSHmG_grid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr))}}";
|
|
9909
|
+
const key$23 = "src/client/widgets/gallery-view/GalleryView.module.css";
|
|
9910
|
+
let tag$23 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$23) + "]");
|
|
9911
|
+
if (tag$23 === null) {
|
|
9912
|
+
tag$23 = document.createElement("style");
|
|
9913
|
+
tag$23.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
9914
|
+
tag$23.dataset.pluginCss = key$23;
|
|
9915
|
+
document.head.appendChild(tag$23);
|
|
9916
9916
|
}
|
|
9917
|
-
tag$
|
|
9917
|
+
tag$23.textContent = css$23;
|
|
9918
9918
|
var GalleryView_module_css_default = {
|
|
9919
|
-
"
|
|
9920
|
-
"thumb": "rp_9pSHmG_thumb",
|
|
9921
|
-
"message": "rp_9pSHmG_message",
|
|
9919
|
+
"editButton": "rp_9pSHmG_editButton",
|
|
9922
9920
|
"toolbar": "rp_9pSHmG_toolbar",
|
|
9923
|
-
"page": "rp_9pSHmG_page",
|
|
9924
|
-
"select": "rp_9pSHmG_select",
|
|
9925
9921
|
"caption": "rp_9pSHmG_caption",
|
|
9926
|
-
"statusError": "rp_9pSHmG_statusError",
|
|
9927
|
-
"editHelp": "rp_9pSHmG_editHelp",
|
|
9928
9922
|
"error": "rp_9pSHmG_error",
|
|
9929
|
-
"
|
|
9930
|
-
"pre": "rp_9pSHmG_pre",
|
|
9931
|
-
"edit": "rp_9pSHmG_edit",
|
|
9923
|
+
"status": "rp_9pSHmG_status",
|
|
9932
9924
|
"editLabel": "rp_9pSHmG_editLabel",
|
|
9933
|
-
"
|
|
9925
|
+
"thumb": "rp_9pSHmG_thumb",
|
|
9926
|
+
"editInput": "rp_9pSHmG_editInput",
|
|
9927
|
+
"edit": "rp_9pSHmG_edit",
|
|
9928
|
+
"actions": "rp_9pSHmG_actions",
|
|
9929
|
+
"pre": "rp_9pSHmG_pre",
|
|
9930
|
+
"large": "rp_9pSHmG_large",
|
|
9931
|
+
"editArea": "rp_9pSHmG_editArea",
|
|
9932
|
+
"statusError": "rp_9pSHmG_statusError",
|
|
9933
|
+
"select": "rp_9pSHmG_select",
|
|
9934
9934
|
"grid": "rp_9pSHmG_grid",
|
|
9935
|
+
"detail": "rp_9pSHmG_detail",
|
|
9936
|
+
"image": "rp_9pSHmG_image",
|
|
9937
|
+
"facts": "rp_9pSHmG_facts",
|
|
9938
|
+
"cell": "rp_9pSHmG_cell",
|
|
9939
|
+
"open": "rp_9pSHmG_open",
|
|
9940
|
+
"tags": "rp_9pSHmG_tags",
|
|
9935
9941
|
"note": "rp_9pSHmG_note",
|
|
9942
|
+
"editHelp": "rp_9pSHmG_editHelp",
|
|
9943
|
+
"message": "rp_9pSHmG_message",
|
|
9936
9944
|
"editField": "rp_9pSHmG_editField",
|
|
9937
|
-
"image": "rp_9pSHmG_image",
|
|
9938
|
-
"editArea": "rp_9pSHmG_editArea",
|
|
9939
9945
|
"count": "rp_9pSHmG_count",
|
|
9940
|
-
"
|
|
9941
|
-
"
|
|
9942
|
-
"editInput": "rp_9pSHmG_editInput",
|
|
9943
|
-
"detail": "rp_9pSHmG_detail",
|
|
9944
|
-
"status": "rp_9pSHmG_status",
|
|
9945
|
-
"reusable": "rp_9pSHmG_reusable",
|
|
9946
|
-
"large": "rp_9pSHmG_large",
|
|
9947
|
-
"editButton": "rp_9pSHmG_editButton"
|
|
9946
|
+
"page": "rp_9pSHmG_page",
|
|
9947
|
+
"reusable": "rp_9pSHmG_reusable"
|
|
9948
9948
|
};
|
|
9949
9949
|
//#endregion
|
|
9950
9950
|
//#region src/client/widgets/gallery-view/GalleryView.tsx
|
|
@@ -10274,24 +10274,24 @@ window.__ModuleLoader__.load({
|
|
|
10274
10274
|
}
|
|
10275
10275
|
//#endregion
|
|
10276
10276
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/world-editor/WorldEditor.module.css.mjs
|
|
10277
|
-
const css$
|
|
10278
|
-
const key$
|
|
10279
|
-
let tag$
|
|
10280
|
-
if (tag$
|
|
10281
|
-
tag$
|
|
10282
|
-
tag$
|
|
10283
|
-
tag$
|
|
10284
|
-
document.head.appendChild(tag$
|
|
10277
|
+
const css$22 = ".rp__swA3a_view{flex:1 1 0;width:100%;min-height:0;display:flex}.rp__swA3a_message{color:var(--dsw-alias-label-secondary);margin:0;padding:24px;font-size:13px}.rp__swA3a_warning{color:var(--dsw-alias-label-primary);border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-2);margin:0 0 12px;padding:8px 12px;font-size:13px}.rp__swA3a_drawer{box-sizing:border-box;border-right:.5px solid var(--dsw-alias-border-l3);flex-direction:column;flex:0 0 168px;gap:2px;padding:16px 8px;display:flex}.rp__swA3a_drawerItem{border-radius:var(--dsw-radius-md);width:100%;font:inherit;text-align:left;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;padding:6px 12px;font-size:13px;line-height:20px;display:block}@media (width<=720px){.rp__swA3a_view{flex-direction:column}.rp__swA3a_drawer{border-right:0;border-bottom:.5px solid var(--dsw-alias-border-l3);flex-direction:row;flex:none;width:100%;padding:8px;overflow-x:auto}.rp__swA3a_drawerItem{white-space:nowrap;flex:none;width:auto}}.rp__swA3a_drawerItem:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.rp__swA3a_drawerItemOn{color:var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-2);font-weight:500}.rp__swA3a_content{flex-direction:column;flex:1 1 0;min-width:0;min-height:0;display:flex}";
|
|
10278
|
+
const key$22 = "src/client/world-editor/WorldEditor.module.css";
|
|
10279
|
+
let tag$22 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$22) + "]");
|
|
10280
|
+
if (tag$22 === null) {
|
|
10281
|
+
tag$22 = document.createElement("style");
|
|
10282
|
+
tag$22.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
10283
|
+
tag$22.dataset.pluginCss = key$22;
|
|
10284
|
+
document.head.appendChild(tag$22);
|
|
10285
10285
|
}
|
|
10286
|
-
tag$
|
|
10286
|
+
tag$22.textContent = css$22;
|
|
10287
10287
|
var WorldEditor_module_css_default = {
|
|
10288
10288
|
"drawerItemOn": "rp__swA3a_drawerItemOn",
|
|
10289
|
-
"drawer": "rp__swA3a_drawer",
|
|
10290
|
-
"drawerItem": "rp__swA3a_drawerItem",
|
|
10291
|
-
"message": "rp__swA3a_message",
|
|
10292
10289
|
"content": "rp__swA3a_content",
|
|
10290
|
+
"warning": "rp__swA3a_warning",
|
|
10293
10291
|
"view": "rp__swA3a_view",
|
|
10294
|
-
"
|
|
10292
|
+
"drawer": "rp__swA3a_drawer",
|
|
10293
|
+
"message": "rp__swA3a_message",
|
|
10294
|
+
"drawerItem": "rp__swA3a_drawerItem"
|
|
10295
10295
|
};
|
|
10296
10296
|
//#endregion
|
|
10297
10297
|
//#region src/client/world-editor/WorldEditor.tsx
|
|
@@ -10676,38 +10676,38 @@ window.__ModuleLoader__.load({
|
|
|
10676
10676
|
}
|
|
10677
10677
|
//#endregion
|
|
10678
10678
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/avatars/AvatarsPage.module.css.mjs
|
|
10679
|
-
const css$
|
|
10680
|
-
const key$
|
|
10681
|
-
let tag$
|
|
10682
|
-
if (tag$
|
|
10683
|
-
tag$
|
|
10684
|
-
tag$
|
|
10685
|
-
tag$
|
|
10686
|
-
document.head.appendChild(tag$
|
|
10679
|
+
const css$21 = ".rp_pQOzEG_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_pQOzEG_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:28px;display:flex}.rp_pQOzEG_count{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_pQOzEG_actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rp_pQOzEG_viewport{flex:1 1 0;min-height:0;padding:4px;overflow-y:auto}.rp_pQOzEG_grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.rp_pQOzEG_card{border:.5px solid var(--dsw-alias-settings-card-stroke);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-settings-card-fill);align-items:center;gap:4px;min-width:0;padding-right:8px;display:flex}.rp_pQOzEG_card:hover{border-color:var(--dsw-alias-border-l4)}.rp_pQOzEG_open{min-width:0;font:inherit;text-align:left;color:inherit;cursor:pointer;background:0 0;border:0;flex:auto;align-items:center;gap:12px;padding:10px 0 10px 10px;display:flex}.rp_pQOzEG_open:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color);outline-offset:2px}.rp_pQOzEG_portrait,.rp_pQOzEG_placeholder{border-radius:var(--dsw-radius-lg);object-fit:cover;flex:none;width:48px;height:48px}.rp_pQOzEG_placeholder{color:var(--dsw-alias-label-secondary);justify-content:center;align-items:center;font-size:20px;font-weight:500;display:flex}.rp_pQOzEG_text{flex-direction:column;gap:2px;min-width:0;display:flex}.rp_pQOzEG_name{text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;overflow:hidden}.rp_pQOzEG_summary{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.rp_pQOzEG_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 0;font-size:13px}.rp_pQOzEG_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_pQOzEG_editHeader{border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:8px;padding:8px 16px;display:flex}.rp_pQOzEG_editTitle{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500}.rp_pQOzEG_editBody{flex:1 1 0;min-height:0;display:flex}.rp_pQOzEG_form{flex-direction:column;gap:16px;min-width:min(420px,100%);display:flex}.rp_pQOzEG_field{flex-direction:column;gap:6px;min-width:0;display:flex}.rp_pQOzEG_label{color:var(--dsw-alias-label-secondary);font-size:12px}@media (width<=640px){.rp_pQOzEG_toolbar{align-items:flex-start}.rp_pQOzEG_count{padding-top:6px}.rp_pQOzEG_grid{grid-template-columns:1fr}.rp_pQOzEG_form{min-width:0}}";
|
|
10680
|
+
const key$21 = "src/client/pages/avatars/AvatarsPage.module.css";
|
|
10681
|
+
let tag$21 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$21) + "]");
|
|
10682
|
+
if (tag$21 === null) {
|
|
10683
|
+
tag$21 = document.createElement("style");
|
|
10684
|
+
tag$21.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
10685
|
+
tag$21.dataset.pluginCss = key$21;
|
|
10686
|
+
document.head.appendChild(tag$21);
|
|
10687
10687
|
}
|
|
10688
|
-
tag$
|
|
10688
|
+
tag$21.textContent = css$21;
|
|
10689
10689
|
var AvatarsPage_module_css_default = {
|
|
10690
|
-
"count": "rp_pQOzEG_count",
|
|
10691
|
-
"editHeader": "rp_pQOzEG_editHeader",
|
|
10692
|
-
"viewport": "rp_pQOzEG_viewport",
|
|
10693
|
-
"label": "rp_pQOzEG_label",
|
|
10694
|
-
"error": "rp_pQOzEG_error",
|
|
10695
|
-
"editBody": "rp_pQOzEG_editBody",
|
|
10696
10690
|
"form": "rp_pQOzEG_form",
|
|
10691
|
+
"card": "rp_pQOzEG_card",
|
|
10692
|
+
"toolbar": "rp_pQOzEG_toolbar",
|
|
10693
|
+
"text": "rp_pQOzEG_text",
|
|
10697
10694
|
"summary": "rp_pQOzEG_summary",
|
|
10695
|
+
"open": "rp_pQOzEG_open",
|
|
10696
|
+
"error": "rp_pQOzEG_error",
|
|
10698
10697
|
"message": "rp_pQOzEG_message",
|
|
10698
|
+
"editHeader": "rp_pQOzEG_editHeader",
|
|
10699
10699
|
"name": "rp_pQOzEG_name",
|
|
10700
|
-
"
|
|
10701
|
-
"grid": "rp_pQOzEG_grid",
|
|
10700
|
+
"portrait": "rp_pQOzEG_portrait",
|
|
10702
10701
|
"editTitle": "rp_pQOzEG_editTitle",
|
|
10702
|
+
"editBody": "rp_pQOzEG_editBody",
|
|
10703
10703
|
"placeholder": "rp_pQOzEG_placeholder",
|
|
10704
|
-
"open": "rp_pQOzEG_open",
|
|
10705
|
-
"page": "rp_pQOzEG_page",
|
|
10706
10704
|
"actions": "rp_pQOzEG_actions",
|
|
10707
|
-
"
|
|
10708
|
-
"
|
|
10709
|
-
"
|
|
10710
|
-
"
|
|
10705
|
+
"viewport": "rp_pQOzEG_viewport",
|
|
10706
|
+
"count": "rp_pQOzEG_count",
|
|
10707
|
+
"grid": "rp_pQOzEG_grid",
|
|
10708
|
+
"field": "rp_pQOzEG_field",
|
|
10709
|
+
"label": "rp_pQOzEG_label",
|
|
10710
|
+
"page": "rp_pQOzEG_page"
|
|
10711
10711
|
};
|
|
10712
10712
|
//#endregion
|
|
10713
10713
|
//#region src/client/pages/avatars/AvatarsPage.tsx
|
|
@@ -12142,48 +12142,48 @@ window.__ModuleLoader__.load({
|
|
|
12142
12142
|
}
|
|
12143
12143
|
//#endregion
|
|
12144
12144
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/lorebooks/LorebooksPage.module.css.mjs
|
|
12145
|
-
const css$
|
|
12146
|
-
const key$
|
|
12147
|
-
let tag$
|
|
12148
|
-
if (tag$
|
|
12149
|
-
tag$
|
|
12150
|
-
tag$
|
|
12151
|
-
tag$
|
|
12152
|
-
document.head.appendChild(tag$
|
|
12145
|
+
const css$20 = ".rp_VV-Eha_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_VV-Eha_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:28px;display:flex}.rp_VV-Eha_count{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_VV-Eha_actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rp_VV-Eha_viewport{flex:1 1 0;min-height:0;padding:4px;overflow-y:auto}.rp_VV-Eha_grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.rp_VV-Eha_card{border:.5px solid var(--dsw-alias-settings-card-stroke);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-settings-card-fill);flex-direction:column;gap:8px;min-width:0;padding:12px;display:flex}.rp_VV-Eha_card:hover{border-color:var(--dsw-alias-border-l4)}.rp_VV-Eha_head{flex-direction:column;gap:2px;min-width:0;display:flex}.rp_VV-Eha_title{text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;overflow:hidden}.rp_VV-Eha_name{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_VV-Eha_description{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.rp_VV-Eha_meta{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_VV-Eha_cardActions{flex-wrap:wrap;gap:4px;margin-top:auto;display:flex}.rp_VV-Eha_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 0;font-size:13px}.rp_VV-Eha_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_VV-Eha_warning{color:var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-error-primary));margin:0;font-size:12px}.rp_VV-Eha_ok{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.rp_VV-Eha_editHeader{border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:8px;padding:8px 16px;display:flex}.rp_VV-Eha_editTitle{color:var(--dsw-alias-label-primary);flex:auto;font-size:14px;font-weight:500}.rp_VV-Eha_editBody{flex-direction:column;flex:1 1 0;gap:24px;min-height:0;padding:16px 24px;display:flex;overflow-y:auto}.rp_VV-Eha_section{flex-direction:column;gap:12px;max-width:720px;display:flex}.rp_VV-Eha_sectionTitle{color:var(--dsw-alias-label-primary);margin:0;font-size:16px;font-weight:500;line-height:24px}.rp_VV-Eha_help{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px}.rp_VV-Eha_row{flex-wrap:wrap;gap:12px;display:flex}.rp_VV-Eha_form{flex-direction:column;gap:16px;min-width:min(420px,100%);display:flex}.rp_VV-Eha_field{flex-direction:column;flex:200px;gap:6px;min-width:0;display:flex}.rp_VV-Eha_label{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_VV-Eha_area{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:280px;font:13px/20px var(--dsw-font-mono,monospace);color:var(--dsw-alias-label-primary);resize:vertical;padding:8px}.rp_VV-Eha_input{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);width:100%;font:inherit;color:var(--dsw-alias-label-primary);padding:6px 8px;font-size:13px}@media (width<=640px){.rp_VV-Eha_grid{grid-template-columns:1fr}.rp_VV-Eha_form{min-width:0}.rp_VV-Eha_editBody{padding:16px}}.rp_VV-Eha_select{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);max-width:100%;font:inherit;color:var(--dsw-alias-label-primary);padding:4px 6px;font-size:13px}.rp_VV-Eha_entryArea{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:200px;font:inherit;color:var(--dsw-alias-label-primary);resize:vertical;padding:8px;font-size:13px;line-height:20px}";
|
|
12146
|
+
const key$20 = "src/client/pages/lorebooks/LorebooksPage.module.css";
|
|
12147
|
+
let tag$20 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$20) + "]");
|
|
12148
|
+
if (tag$20 === null) {
|
|
12149
|
+
tag$20 = document.createElement("style");
|
|
12150
|
+
tag$20.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
12151
|
+
tag$20.dataset.pluginCss = key$20;
|
|
12152
|
+
document.head.appendChild(tag$20);
|
|
12153
12153
|
}
|
|
12154
|
-
tag$
|
|
12154
|
+
tag$20.textContent = css$20;
|
|
12155
12155
|
var LorebooksPage_module_css_default = {
|
|
12156
|
-
"row": "rp_VV-Eha_row",
|
|
12157
|
-
"count": "rp_VV-Eha_count",
|
|
12158
12156
|
"cardActions": "rp_VV-Eha_cardActions",
|
|
12159
|
-
"
|
|
12160
|
-
"help": "rp_VV-Eha_help",
|
|
12161
|
-
"title": "rp_VV-Eha_title",
|
|
12157
|
+
"meta": "rp_VV-Eha_meta",
|
|
12162
12158
|
"section": "rp_VV-Eha_section",
|
|
12159
|
+
"field": "rp_VV-Eha_field",
|
|
12163
12160
|
"form": "rp_VV-Eha_form",
|
|
12161
|
+
"help": "rp_VV-Eha_help",
|
|
12162
|
+
"head": "rp_VV-Eha_head",
|
|
12163
|
+
"editBody": "rp_VV-Eha_editBody",
|
|
12164
|
+
"editTitle": "rp_VV-Eha_editTitle",
|
|
12165
|
+
"error": "rp_VV-Eha_error",
|
|
12166
|
+
"ok": "rp_VV-Eha_ok",
|
|
12167
|
+
"input": "rp_VV-Eha_input",
|
|
12164
12168
|
"area": "rp_VV-Eha_area",
|
|
12165
|
-
"
|
|
12166
|
-
"actions": "rp_VV-Eha_actions",
|
|
12167
|
-
"description": "rp_VV-Eha_description",
|
|
12168
|
-
"meta": "rp_VV-Eha_meta",
|
|
12169
|
-
"sectionTitle": "rp_VV-Eha_sectionTitle",
|
|
12169
|
+
"grid": "rp_VV-Eha_grid",
|
|
12170
12170
|
"warning": "rp_VV-Eha_warning",
|
|
12171
|
+
"sectionTitle": "rp_VV-Eha_sectionTitle",
|
|
12172
|
+
"name": "rp_VV-Eha_name",
|
|
12173
|
+
"viewport": "rp_VV-Eha_viewport",
|
|
12174
|
+
"row": "rp_VV-Eha_row",
|
|
12175
|
+
"editHeader": "rp_VV-Eha_editHeader",
|
|
12176
|
+
"select": "rp_VV-Eha_select",
|
|
12171
12177
|
"entryArea": "rp_VV-Eha_entryArea",
|
|
12178
|
+
"actions": "rp_VV-Eha_actions",
|
|
12179
|
+
"count": "rp_VV-Eha_count",
|
|
12172
12180
|
"card": "rp_VV-Eha_card",
|
|
12173
|
-
"
|
|
12174
|
-
"
|
|
12175
|
-
"field": "rp_VV-Eha_field",
|
|
12181
|
+
"description": "rp_VV-Eha_description",
|
|
12182
|
+
"toolbar": "rp_VV-Eha_toolbar",
|
|
12176
12183
|
"label": "rp_VV-Eha_label",
|
|
12177
|
-
"head": "rp_VV-Eha_head",
|
|
12178
|
-
"editHeader": "rp_VV-Eha_editHeader",
|
|
12179
|
-
"input": "rp_VV-Eha_input",
|
|
12180
|
-
"grid": "rp_VV-Eha_grid",
|
|
12181
12184
|
"message": "rp_VV-Eha_message",
|
|
12182
|
-
"
|
|
12183
|
-
"
|
|
12184
|
-
"viewport": "rp_VV-Eha_viewport",
|
|
12185
|
-
"toolbar": "rp_VV-Eha_toolbar",
|
|
12186
|
-
"select": "rp_VV-Eha_select"
|
|
12185
|
+
"title": "rp_VV-Eha_title",
|
|
12186
|
+
"page": "rp_VV-Eha_page"
|
|
12187
12187
|
};
|
|
12188
12188
|
//#endregion
|
|
12189
12189
|
//#region src/client/pages/lorebooks/LorebookEditor.tsx
|
|
@@ -13216,46 +13216,46 @@ window.__ModuleLoader__.load({
|
|
|
13216
13216
|
}
|
|
13217
13217
|
//#endregion
|
|
13218
13218
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/presets/PresetsPage.module.css.mjs
|
|
13219
|
-
const css$
|
|
13220
|
-
const key$
|
|
13221
|
-
let tag$
|
|
13222
|
-
if (tag$
|
|
13223
|
-
tag$
|
|
13224
|
-
tag$
|
|
13225
|
-
tag$
|
|
13226
|
-
document.head.appendChild(tag$
|
|
13219
|
+
const css$19 = ".rp_ZK89ba_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_ZK89ba_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:28px;display:flex}.rp_ZK89ba_count{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_ZK89ba_actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rp_ZK89ba_viewport{flex:1 1 0;min-height:0;padding:4px;overflow-y:auto}.rp_ZK89ba_grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.rp_ZK89ba_card{border:.5px solid var(--dsw-alias-settings-card-stroke);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-settings-card-fill);flex-direction:column;gap:8px;min-width:0;padding:12px;display:flex}.rp_ZK89ba_card:hover{border-color:var(--dsw-alias-border-l4)}.rp_ZK89ba_head{flex-direction:column;gap:2px;min-width:0;display:flex}.rp_ZK89ba_title{text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;overflow:hidden}.rp_ZK89ba_name{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_ZK89ba_description{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.rp_ZK89ba_meta{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_ZK89ba_cardActions{flex-wrap:wrap;gap:4px;margin-top:auto;display:flex}.rp_ZK89ba_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 0;font-size:13px}.rp_ZK89ba_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_ZK89ba_warning{color:var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-error-primary));margin:0;font-size:12px}.rp_ZK89ba_ok{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.rp_ZK89ba_editHeader{border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:8px;padding:8px 16px;display:flex}.rp_ZK89ba_editTitle{color:var(--dsw-alias-label-primary);flex:auto;font-size:14px;font-weight:500}.rp_ZK89ba_editBody{flex-direction:column;flex:1 1 0;gap:24px;min-height:0;padding:16px 24px;display:flex;overflow-y:auto}.rp_ZK89ba_section{flex-direction:column;gap:12px;max-width:720px;display:flex}.rp_ZK89ba_sectionTitle{color:var(--dsw-alias-label-primary);margin:0;font-size:16px;font-weight:500;line-height:24px}.rp_ZK89ba_help{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px}.rp_ZK89ba_row{flex-wrap:wrap;gap:12px;display:flex}.rp_ZK89ba_form{flex-direction:column;gap:16px;min-width:min(420px,100%);display:flex}.rp_ZK89ba_field{flex-direction:column;flex:200px;gap:6px;min-width:0;display:flex}.rp_ZK89ba_label{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_ZK89ba_area{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:280px;font:13px/20px var(--dsw-font-mono,monospace);color:var(--dsw-alias-label-primary);resize:vertical;padding:8px}.rp_ZK89ba_input{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);width:100%;font:inherit;color:var(--dsw-alias-label-primary);padding:6px 8px;font-size:13px}@media (width<=640px){.rp_ZK89ba_grid{grid-template-columns:1fr}.rp_ZK89ba_form{min-width:0}.rp_ZK89ba_editBody{padding:16px}}";
|
|
13220
|
+
const key$19 = "src/client/pages/presets/PresetsPage.module.css";
|
|
13221
|
+
let tag$19 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$19) + "]");
|
|
13222
|
+
if (tag$19 === null) {
|
|
13223
|
+
tag$19 = document.createElement("style");
|
|
13224
|
+
tag$19.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
13225
|
+
tag$19.dataset.pluginCss = key$19;
|
|
13226
|
+
document.head.appendChild(tag$19);
|
|
13227
13227
|
}
|
|
13228
|
-
tag$
|
|
13228
|
+
tag$19.textContent = css$19;
|
|
13229
13229
|
var PresetsPage_module_css_default = {
|
|
13230
|
-
"viewport": "rp_ZK89ba_viewport",
|
|
13231
13230
|
"help": "rp_ZK89ba_help",
|
|
13232
|
-
"
|
|
13233
|
-
"
|
|
13234
|
-
"
|
|
13235
|
-
"
|
|
13236
|
-
"
|
|
13231
|
+
"page": "rp_ZK89ba_page",
|
|
13232
|
+
"editTitle": "rp_ZK89ba_editTitle",
|
|
13233
|
+
"row": "rp_ZK89ba_row",
|
|
13234
|
+
"title": "rp_ZK89ba_title",
|
|
13235
|
+
"error": "rp_ZK89ba_error",
|
|
13236
|
+
"ok": "rp_ZK89ba_ok",
|
|
13237
13237
|
"field": "rp_ZK89ba_field",
|
|
13238
|
+
"grid": "rp_ZK89ba_grid",
|
|
13239
|
+
"actions": "rp_ZK89ba_actions",
|
|
13240
|
+
"head": "rp_ZK89ba_head",
|
|
13241
|
+
"area": "rp_ZK89ba_area",
|
|
13242
|
+
"toolbar": "rp_ZK89ba_toolbar",
|
|
13238
13243
|
"editHeader": "rp_ZK89ba_editHeader",
|
|
13239
|
-
"
|
|
13244
|
+
"card": "rp_ZK89ba_card",
|
|
13240
13245
|
"editBody": "rp_ZK89ba_editBody",
|
|
13241
|
-
"section": "rp_ZK89ba_section",
|
|
13242
|
-
"grid": "rp_ZK89ba_grid",
|
|
13243
13246
|
"cardActions": "rp_ZK89ba_cardActions",
|
|
13247
|
+
"viewport": "rp_ZK89ba_viewport",
|
|
13248
|
+
"message": "rp_ZK89ba_message",
|
|
13244
13249
|
"count": "rp_ZK89ba_count",
|
|
13245
|
-
"
|
|
13246
|
-
"form": "rp_ZK89ba_form",
|
|
13250
|
+
"name": "rp_ZK89ba_name",
|
|
13247
13251
|
"sectionTitle": "rp_ZK89ba_sectionTitle",
|
|
13248
|
-
"
|
|
13249
|
-
"
|
|
13250
|
-
"area": "rp_ZK89ba_area",
|
|
13251
|
-
"row": "rp_ZK89ba_row",
|
|
13252
|
-
"ok": "rp_ZK89ba_ok",
|
|
13253
|
-
"title": "rp_ZK89ba_title",
|
|
13252
|
+
"section": "rp_ZK89ba_section",
|
|
13253
|
+
"input": "rp_ZK89ba_input",
|
|
13254
13254
|
"meta": "rp_ZK89ba_meta",
|
|
13255
|
-
"
|
|
13256
|
-
"
|
|
13257
|
-
"
|
|
13258
|
-
"
|
|
13255
|
+
"warning": "rp_ZK89ba_warning",
|
|
13256
|
+
"form": "rp_ZK89ba_form",
|
|
13257
|
+
"label": "rp_ZK89ba_label",
|
|
13258
|
+
"description": "rp_ZK89ba_description"
|
|
13259
13259
|
};
|
|
13260
13260
|
//#endregion
|
|
13261
13261
|
//#region src/client/pages/presets/PresetEditor.tsx
|
|
@@ -14307,16 +14307,16 @@ window.__ModuleLoader__.load({
|
|
|
14307
14307
|
}
|
|
14308
14308
|
//#endregion
|
|
14309
14309
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/pager/Pager.module.css.mjs
|
|
14310
|
-
const css$
|
|
14311
|
-
const key$
|
|
14312
|
-
let tag$
|
|
14313
|
-
if (tag$
|
|
14314
|
-
tag$
|
|
14315
|
-
tag$
|
|
14316
|
-
tag$
|
|
14317
|
-
document.head.appendChild(tag$
|
|
14310
|
+
const css$18 = ".rp_KBAD0W_pager{flex:none;justify-content:center;align-items:center;gap:8px;display:flex}.rp_KBAD0W_position{text-align:center;min-width:120px;color:var(--dsw-alias-label-tertiary);font-size:12px}";
|
|
14311
|
+
const key$18 = "src/client/widgets/pager/Pager.module.css";
|
|
14312
|
+
let tag$18 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$18) + "]");
|
|
14313
|
+
if (tag$18 === null) {
|
|
14314
|
+
tag$18 = document.createElement("style");
|
|
14315
|
+
tag$18.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
14316
|
+
tag$18.dataset.pluginCss = key$18;
|
|
14317
|
+
document.head.appendChild(tag$18);
|
|
14318
14318
|
}
|
|
14319
|
-
tag$
|
|
14319
|
+
tag$18.textContent = css$18;
|
|
14320
14320
|
var Pager_module_css_default = {
|
|
14321
14321
|
"position": "rp_KBAD0W_position",
|
|
14322
14322
|
"pager": "rp_KBAD0W_pager"
|
|
@@ -14354,16 +14354,16 @@ window.__ModuleLoader__.load({
|
|
|
14354
14354
|
}
|
|
14355
14355
|
//#endregion
|
|
14356
14356
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/problem-list/ProblemList.module.css.mjs
|
|
14357
|
-
const css$
|
|
14358
|
-
const key$
|
|
14359
|
-
let tag$
|
|
14360
|
-
if (tag$
|
|
14361
|
-
tag$
|
|
14362
|
-
tag$
|
|
14363
|
-
tag$
|
|
14364
|
-
document.head.appendChild(tag$
|
|
14357
|
+
const css$17 = ".rp_LZh3Iq_problems{color:var(--dsw-alias-state-warn-primary);flex:none;font-size:12px}.rp_LZh3Iq_problems summary{cursor:pointer}.rp_LZh3Iq_problems ul{color:var(--dsw-alias-label-secondary);margin:8px 0 0;padding-left:20px}.rp_LZh3Iq_problems code{font-family:var(--dsw-font-mono);color:var(--dsw-alias-label-primary)}";
|
|
14358
|
+
const key$17 = "src/client/widgets/problem-list/ProblemList.module.css";
|
|
14359
|
+
let tag$17 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$17) + "]");
|
|
14360
|
+
if (tag$17 === null) {
|
|
14361
|
+
tag$17 = document.createElement("style");
|
|
14362
|
+
tag$17.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
14363
|
+
tag$17.dataset.pluginCss = key$17;
|
|
14364
|
+
document.head.appendChild(tag$17);
|
|
14365
14365
|
}
|
|
14366
|
-
tag$
|
|
14366
|
+
tag$17.textContent = css$17;
|
|
14367
14367
|
var ProblemList_module_css_default = { "problems": "rp_LZh3Iq_problems" };
|
|
14368
14368
|
//#endregion
|
|
14369
14369
|
//#region src/client/widgets/problem-list/ProblemList.tsx
|
|
@@ -14381,21 +14381,21 @@ window.__ModuleLoader__.load({
|
|
|
14381
14381
|
}
|
|
14382
14382
|
//#endregion
|
|
14383
14383
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/sessions/DeleteSessionDialog.module.css.mjs
|
|
14384
|
-
const css$
|
|
14385
|
-
const key$
|
|
14386
|
-
let tag$
|
|
14387
|
-
if (tag$
|
|
14388
|
-
tag$
|
|
14389
|
-
tag$
|
|
14390
|
-
tag$
|
|
14391
|
-
document.head.appendChild(tag$
|
|
14384
|
+
const css$16 = ".rp_FifHrW_body{flex-direction:column;gap:8px;min-width:min(380px,100%);display:flex}.rp_FifHrW_body p{margin:0}.rp_FifHrW_question{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;font-size:13px;line-height:20px}.rp_FifHrW_warning{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.rp_FifHrW_choice{color:var(--dsw-alias-label-primary);border:0;flex-direction:column;gap:4px;margin:4px 0 0;padding:0;font-size:13px;line-height:20px;display:flex}.rp_FifHrW_choice legend{color:var(--dsw-alias-label-tertiary);margin-bottom:4px;padding:0;font-size:12px}.rp_FifHrW_error{color:var(--dsw-alias-state-error-primary);font-size:12px}";
|
|
14385
|
+
const key$16 = "src/client/pages/sessions/DeleteSessionDialog.module.css";
|
|
14386
|
+
let tag$16 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$16) + "]");
|
|
14387
|
+
if (tag$16 === null) {
|
|
14388
|
+
tag$16 = document.createElement("style");
|
|
14389
|
+
tag$16.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
14390
|
+
tag$16.dataset.pluginCss = key$16;
|
|
14391
|
+
document.head.appendChild(tag$16);
|
|
14392
14392
|
}
|
|
14393
|
-
tag$
|
|
14393
|
+
tag$16.textContent = css$16;
|
|
14394
14394
|
var DeleteSessionDialog_module_css_default = {
|
|
14395
|
-
"body": "rp_FifHrW_body",
|
|
14396
|
-
"choice": "rp_FifHrW_choice",
|
|
14397
14395
|
"question": "rp_FifHrW_question",
|
|
14396
|
+
"choice": "rp_FifHrW_choice",
|
|
14398
14397
|
"error": "rp_FifHrW_error",
|
|
14398
|
+
"body": "rp_FifHrW_body",
|
|
14399
14399
|
"warning": "rp_FifHrW_warning"
|
|
14400
14400
|
};
|
|
14401
14401
|
//#endregion
|
|
@@ -14523,39 +14523,39 @@ window.__ModuleLoader__.load({
|
|
|
14523
14523
|
}
|
|
14524
14524
|
//#endregion
|
|
14525
14525
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/sessions/SessionsPage.module.css.mjs
|
|
14526
|
-
const css$
|
|
14527
|
-
const key$
|
|
14528
|
-
let tag$
|
|
14529
|
-
if (tag$
|
|
14530
|
-
tag$
|
|
14531
|
-
tag$
|
|
14532
|
-
tag$
|
|
14533
|
-
document.head.appendChild(tag$
|
|
14526
|
+
const css$15 = ".rp_24z4eW_page{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;display:flex}.rp_24z4eW_toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:28px;display:flex}.rp_24z4eW_count{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_24z4eW_spinning{animation:.9s linear infinite rp_24z4eW_spin}@keyframes rp_24z4eW_spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.rp_24z4eW_spinning{animation:none}}.rp_24z4eW_notice{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_24z4eW_viewport{--rp-row-height:40px;--rp-header-height:32px;flex:1 1 0;min-height:0;overflow-x:auto}.rp_24z4eW_scrolls{overflow-y:auto}.rp_24z4eW_fits{overflow-y:hidden}.rp_24z4eW_table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:720px}.rp_24z4eW_actionsColumn{width:104px}.rp_24z4eW_nameColumn{width:30%}.rp_24z4eW_worldColumn{width:26%}.rp_24z4eW_timeColumn{width:16%}.rp_24z4eW_turnsColumn{width:10%}.rp_24z4eW_table th{height:var(--rp-header-height);border-bottom:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);text-align:left;color:var(--dsw-alias-label-tertiary);padding:0 12px;font-size:12px;font-weight:400;position:sticky;top:0}.rp_24z4eW_table td{height:var(--rp-row-height);border-bottom:.5px solid var(--dsw-alias-border-l1);text-overflow:ellipsis;white-space:nowrap;padding:0 12px;font-size:13px;overflow:hidden}.rp_24z4eW_name{color:var(--dsw-alias-label-primary);font-weight:500}.rp_24z4eW_secondary{color:var(--dsw-alias-label-secondary);font-size:12px}.rp_24z4eW_table .rp_24z4eW_number{text-align:right}.rp_24z4eW_table .rp_24z4eW_actions{text-align:center;white-space:nowrap;padding:0 8px}.rp_24z4eW_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:0;padding:40px 0;font-size:13px}.rp_24z4eW_archived td{opacity:.6}.rp_24z4eW_badge{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-tertiary);margin-left:6px;padding:0 6px;font-size:12px}@media (width<=640px){.rp_24z4eW_viewport{--rp-row-height:196px;--rp-header-height:0px;overflow-x:hidden}.rp_24z4eW_table,.rp_24z4eW_table tbody,.rp_24z4eW_table tr,.rp_24z4eW_table td{width:100%;display:block}.rp_24z4eW_table{min-width:0}.rp_24z4eW_table colgroup,.rp_24z4eW_table thead{display:none}.rp_24z4eW_table tr{box-sizing:border-box;min-height:var(--rp-row-height);border-bottom:.5px solid var(--dsw-alias-border-l2);padding:10px 12px}.rp_24z4eW_table td{box-sizing:border-box;text-align:start;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;border:0;grid-template-columns:minmax(88px,34%) minmax(0,1fr);align-items:baseline;height:auto;min-height:24px;padding:2px 0;display:grid;overflow:visible}.rp_24z4eW_table td:before{content:attr(data-label);color:var(--dsw-alias-label-tertiary);padding-inline-end:10px;font-size:12px;font-weight:400}.rp_24z4eW_table .rp_24z4eW_number{text-align:start}.rp_24z4eW_table .rp_24z4eW_actions{justify-content:flex-end;min-height:36px;padding-top:4px;display:flex}.rp_24z4eW_table .rp_24z4eW_actions:before{margin-inline-end:auto}}";
|
|
14527
|
+
const key$15 = "src/client/pages/sessions/SessionsPage.module.css";
|
|
14528
|
+
let tag$15 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$15) + "]");
|
|
14529
|
+
if (tag$15 === null) {
|
|
14530
|
+
tag$15 = document.createElement("style");
|
|
14531
|
+
tag$15.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
14532
|
+
tag$15.dataset.pluginCss = key$15;
|
|
14533
|
+
document.head.appendChild(tag$15);
|
|
14534
14534
|
}
|
|
14535
|
-
tag$
|
|
14535
|
+
tag$15.textContent = css$15;
|
|
14536
14536
|
var SessionsPage_module_css_default = {
|
|
14537
|
-
"
|
|
14537
|
+
"scrolls": "rp_24z4eW_scrolls",
|
|
14538
|
+
"badge": "rp_24z4eW_badge",
|
|
14539
|
+
"worldColumn": "rp_24z4eW_worldColumn",
|
|
14540
|
+
"spinning": "rp_24z4eW_spinning",
|
|
14541
|
+
"actions": "rp_24z4eW_actions",
|
|
14542
|
+
"notice": "rp_24z4eW_notice",
|
|
14538
14543
|
"page": "rp_24z4eW_page",
|
|
14539
14544
|
"actionsColumn": "rp_24z4eW_actionsColumn",
|
|
14540
|
-
"
|
|
14541
|
-
"toolbar": "rp_24z4eW_toolbar",
|
|
14545
|
+
"nameColumn": "rp_24z4eW_nameColumn",
|
|
14542
14546
|
"name": "rp_24z4eW_name",
|
|
14543
|
-
"actions": "rp_24z4eW_actions",
|
|
14544
|
-
"badge": "rp_24z4eW_badge",
|
|
14545
14547
|
"fits": "rp_24z4eW_fits",
|
|
14546
|
-
"
|
|
14547
|
-
"
|
|
14548
|
-
"
|
|
14549
|
-
"worldColumn": "rp_24z4eW_worldColumn",
|
|
14548
|
+
"table": "rp_24z4eW_table",
|
|
14549
|
+
"toolbar": "rp_24z4eW_toolbar",
|
|
14550
|
+
"timeColumn": "rp_24z4eW_timeColumn",
|
|
14550
14551
|
"count": "rp_24z4eW_count",
|
|
14551
14552
|
"turnsColumn": "rp_24z4eW_turnsColumn",
|
|
14552
|
-
"
|
|
14553
|
+
"secondary": "rp_24z4eW_secondary",
|
|
14554
|
+
"number": "rp_24z4eW_number",
|
|
14553
14555
|
"viewport": "rp_24z4eW_viewport",
|
|
14554
|
-
"archived": "rp_24z4eW_archived",
|
|
14555
|
-
"table": "rp_24z4eW_table",
|
|
14556
14556
|
"spin": "rp_24z4eW_spin",
|
|
14557
|
-
"
|
|
14558
|
-
"
|
|
14557
|
+
"message": "rp_24z4eW_message",
|
|
14558
|
+
"archived": "rp_24z4eW_archived"
|
|
14559
14559
|
};
|
|
14560
14560
|
//#endregion
|
|
14561
14561
|
//#region src/client/pages/sessions/SessionsPage.tsx
|
|
@@ -15163,32 +15163,32 @@ window.__ModuleLoader__.load({
|
|
|
15163
15163
|
}
|
|
15164
15164
|
//#endregion
|
|
15165
15165
|
//#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$
|
|
15167
|
-
const key$
|
|
15168
|
-
let tag$
|
|
15169
|
-
if (tag$
|
|
15170
|
-
tag$
|
|
15171
|
-
tag$
|
|
15172
|
-
tag$
|
|
15173
|
-
document.head.appendChild(tag$
|
|
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}";
|
|
15167
|
+
const key$14 = "src/client/pages/sync/SyncPage.module.css";
|
|
15168
|
+
let tag$14 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$14) + "]");
|
|
15169
|
+
if (tag$14 === null) {
|
|
15170
|
+
tag$14 = document.createElement("style");
|
|
15171
|
+
tag$14.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
15172
|
+
tag$14.dataset.pluginCss = key$14;
|
|
15173
|
+
document.head.appendChild(tag$14);
|
|
15174
15174
|
}
|
|
15175
|
-
tag$
|
|
15175
|
+
tag$14.textContent = css$14;
|
|
15176
15176
|
var SyncPage_module_css_default = {
|
|
15177
|
-
"viewport": "rp_Gk-byG_viewport",
|
|
15178
|
-
"problem": "rp_Gk-byG_problem",
|
|
15179
|
-
"meta": "rp_Gk-byG_meta",
|
|
15180
|
-
"table": "rp_Gk-byG_table",
|
|
15181
|
-
"actions": "rp_Gk-byG_actions",
|
|
15182
|
-
"page": "rp_Gk-byG_page",
|
|
15183
|
-
"unit": "rp_Gk-byG_unit",
|
|
15184
15177
|
"detail": "rp_Gk-byG_detail",
|
|
15178
|
+
"actions": "rp_Gk-byG_actions",
|
|
15185
15179
|
"confirmation": "rp_Gk-byG_confirmation",
|
|
15186
15180
|
"error": "rp_Gk-byG_error",
|
|
15181
|
+
"page": "rp_Gk-byG_page",
|
|
15182
|
+
"message": "rp_Gk-byG_message",
|
|
15187
15183
|
"conflict": "rp_Gk-byG_conflict",
|
|
15184
|
+
"problem": "rp_Gk-byG_problem",
|
|
15185
|
+
"table": "rp_Gk-byG_table",
|
|
15188
15186
|
"failed": "rp_Gk-byG_failed",
|
|
15189
|
-
"toolbar": "rp_Gk-byG_toolbar",
|
|
15190
15187
|
"choices": "rp_Gk-byG_choices",
|
|
15191
|
-
"
|
|
15188
|
+
"viewport": "rp_Gk-byG_viewport",
|
|
15189
|
+
"unit": "rp_Gk-byG_unit",
|
|
15190
|
+
"toolbar": "rp_Gk-byG_toolbar",
|
|
15191
|
+
"meta": "rp_Gk-byG_meta"
|
|
15192
15192
|
};
|
|
15193
15193
|
//#endregion
|
|
15194
15194
|
//#region src/client/pages/sync/SyncPage.tsx
|
|
@@ -15657,27 +15657,27 @@ window.__ModuleLoader__.load({
|
|
|
15657
15657
|
}
|
|
15658
15658
|
//#endregion
|
|
15659
15659
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/world-card/WorldCard.module.css.mjs
|
|
15660
|
-
const css$
|
|
15661
|
-
const key$
|
|
15662
|
-
let tag$
|
|
15663
|
-
if (tag$
|
|
15664
|
-
tag$
|
|
15665
|
-
tag$
|
|
15666
|
-
tag$
|
|
15667
|
-
document.head.appendChild(tag$
|
|
15660
|
+
const css$13 = ".rp_Bvxx5q_card{border:.5px solid var(--dsw-alias-settings-card-stroke);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-settings-card-fill);flex-direction:column;flex:auto;min-width:0;transition:border-color .12s;display:flex;position:relative;overflow:hidden}.rp_Bvxx5q_card:hover{border-color:var(--dsw-alias-border-l4)}.rp_Bvxx5q_card:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color);outline-offset:2px}.rp_Bvxx5q_cover{background:var(--dsw-alias-bg-layer-3);flex:1 1 0;min-height:0;position:relative;overflow:hidden}.rp_Bvxx5q_image{object-fit:cover;width:100%;height:100%;display:block}.rp_Bvxx5q_placeholder{color:#ffffffd9;background:linear-gradient(145deg, hsl(var(--rp-hue) 38% 46%), hsl(calc(var(--rp-hue) + 35) 38% 32%));user-select:none;justify-content:center;align-items:center;width:100%;height:100%;font-size:40px;font-weight:500;display:flex}.rp_Bvxx5q_play{z-index:2;corner-shape:round;color:#fff;opacity:.6;cursor:pointer;background:#00000059;border:0;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:opacity .12s,background-color .12s;display:flex;position:absolute;top:8px;right:8px}.rp_Bvxx5q_card:hover .rp_Bvxx5q_play,.rp_Bvxx5q_play:focus-visible{opacity:1}.rp_Bvxx5q_play:hover{background:#0000008c}.rp_Bvxx5q_play:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color);outline-offset:2px}.rp_Bvxx5q_info{flex-direction:column;flex:none;gap:4px;padding:8px 10px;display:flex}.rp_Bvxx5q_name{text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;overflow:hidden}.rp_Bvxx5q_tags{gap:4px;display:flex;overflow:hidden;mask-image:linear-gradient(90deg,#000 calc(100% - 20px),#0000)}.rp_Bvxx5q_tag{flex:none}.rp_Bvxx5q_openButton{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;padding:0;position:absolute;inset:0}.rp_Bvxx5q_openButton:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color);outline-offset:-2px}";
|
|
15661
|
+
const key$13 = "src/client/widgets/world-card/WorldCard.module.css";
|
|
15662
|
+
let tag$13 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$13) + "]");
|
|
15663
|
+
if (tag$13 === null) {
|
|
15664
|
+
tag$13 = document.createElement("style");
|
|
15665
|
+
tag$13.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
15666
|
+
tag$13.dataset.pluginCss = key$13;
|
|
15667
|
+
document.head.appendChild(tag$13);
|
|
15668
15668
|
}
|
|
15669
|
-
tag$
|
|
15669
|
+
tag$13.textContent = css$13;
|
|
15670
15670
|
var WorldCard_module_css_default = {
|
|
15671
|
-
"
|
|
15671
|
+
"placeholder": "rp_Bvxx5q_placeholder",
|
|
15672
15672
|
"play": "rp_Bvxx5q_play",
|
|
15673
15673
|
"tags": "rp_Bvxx5q_tags",
|
|
15674
|
-
"tag": "rp_Bvxx5q_tag",
|
|
15675
15674
|
"image": "rp_Bvxx5q_image",
|
|
15675
|
+
"tag": "rp_Bvxx5q_tag",
|
|
15676
|
+
"card": "rp_Bvxx5q_card",
|
|
15676
15677
|
"openButton": "rp_Bvxx5q_openButton",
|
|
15677
15678
|
"name": "rp_Bvxx5q_name",
|
|
15678
|
-
"card": "rp_Bvxx5q_card",
|
|
15679
15679
|
"cover": "rp_Bvxx5q_cover",
|
|
15680
|
-
"
|
|
15680
|
+
"info": "rp_Bvxx5q_info"
|
|
15681
15681
|
};
|
|
15682
15682
|
//#endregion
|
|
15683
15683
|
//#region src/client/widgets/world-card/WorldCard.tsx
|
|
@@ -15760,20 +15760,20 @@ window.__ModuleLoader__.load({
|
|
|
15760
15760
|
}
|
|
15761
15761
|
//#endregion
|
|
15762
15762
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/widgets/avatar-choices/AvatarChoices.module.css.mjs
|
|
15763
|
-
const css$
|
|
15764
|
-
const key$
|
|
15765
|
-
let tag$
|
|
15766
|
-
if (tag$
|
|
15767
|
-
tag$
|
|
15768
|
-
tag$
|
|
15769
|
-
tag$
|
|
15770
|
-
document.head.appendChild(tag$
|
|
15763
|
+
const css$12 = ".rp_YCstOG_option{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);cursor:pointer;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.rp_YCstOG_option:has(input:checked){border-color:var(--dsw-alias-state-business-primary)}.rp_YCstOG_option input{accent-color:var(--dsw-alias-state-business-primary);margin:3px 0 0}.rp_YCstOG_text{flex-direction:column;gap:2px;min-width:0;display:flex}.rp_YCstOG_name{font-size:13px;font-weight:500}.rp_YCstOG_summary{color:var(--dsw-alias-label-secondary);font-size:12px}";
|
|
15764
|
+
const key$12 = "src/client/widgets/avatar-choices/AvatarChoices.module.css";
|
|
15765
|
+
let tag$12 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$12) + "]");
|
|
15766
|
+
if (tag$12 === null) {
|
|
15767
|
+
tag$12 = document.createElement("style");
|
|
15768
|
+
tag$12.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
15769
|
+
tag$12.dataset.pluginCss = key$12;
|
|
15770
|
+
document.head.appendChild(tag$12);
|
|
15771
15771
|
}
|
|
15772
|
-
tag$
|
|
15772
|
+
tag$12.textContent = css$12;
|
|
15773
15773
|
var AvatarChoices_module_css_default = {
|
|
15774
|
+
"text": "rp_YCstOG_text",
|
|
15774
15775
|
"summary": "rp_YCstOG_summary",
|
|
15775
15776
|
"option": "rp_YCstOG_option",
|
|
15776
|
-
"text": "rp_YCstOG_text",
|
|
15777
15777
|
"name": "rp_YCstOG_name"
|
|
15778
15778
|
};
|
|
15779
15779
|
//#endregion
|
|
@@ -15803,29 +15803,29 @@ window.__ModuleLoader__.load({
|
|
|
15803
15803
|
}
|
|
15804
15804
|
//#endregion
|
|
15805
15805
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/pages/worlds/StartSessionDialog.module.css.mjs
|
|
15806
|
-
const css$
|
|
15807
|
-
const key$
|
|
15808
|
-
let tag$
|
|
15809
|
-
if (tag$
|
|
15810
|
-
tag$
|
|
15811
|
-
tag$
|
|
15812
|
-
tag$
|
|
15813
|
-
document.head.appendChild(tag$
|
|
15806
|
+
const css$11 = ".rp_AnbLKG_form{flex-direction:column;gap:16px;min-width:min(420px,100%);display:flex}.rp_AnbLKG_field{border:0;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;display:flex}.rp_AnbLKG_label{color:var(--dsw-alias-label-secondary);padding:0;font-size:12px}.rp_AnbLKG_option{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);cursor:pointer;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.rp_AnbLKG_option:has(input:checked){border-color:var(--dsw-alias-state-business-primary)}.rp_AnbLKG_option input{accent-color:var(--dsw-alias-state-business-primary);margin:3px 0 0}.rp_AnbLKG_optionText{flex-direction:column;gap:2px;min-width:0;display:flex}.rp_AnbLKG_optionName{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px}.rp_AnbLKG_optionSummary{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.rp_AnbLKG_message{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.rp_AnbLKG_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_AnbLKG_advanced{flex-direction:column;gap:8px;display:flex}.rp_AnbLKG_advancedToggle{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:6px;padding:0;font-size:12px;display:inline-flex}.rp_AnbLKG_advancedToggle:hover{color:var(--dsw-alias-label-primary)}.rp_AnbLKG_advancedBody{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-1);flex-direction:column;gap:12px;max-height:320px;padding:12px;display:flex;overflow-y:auto}@media (width<=520px){.rp_AnbLKG_form{min-width:0}}";
|
|
15807
|
+
const key$11 = "src/client/pages/worlds/StartSessionDialog.module.css";
|
|
15808
|
+
let tag$11 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$11) + "]");
|
|
15809
|
+
if (tag$11 === null) {
|
|
15810
|
+
tag$11 = document.createElement("style");
|
|
15811
|
+
tag$11.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
15812
|
+
tag$11.dataset.pluginCss = key$11;
|
|
15813
|
+
document.head.appendChild(tag$11);
|
|
15814
15814
|
}
|
|
15815
|
-
tag$
|
|
15815
|
+
tag$11.textContent = css$11;
|
|
15816
15816
|
var StartSessionDialog_module_css_default = {
|
|
15817
|
-
"optionName": "rp_AnbLKG_optionName",
|
|
15818
|
-
"error": "rp_AnbLKG_error",
|
|
15819
|
-
"option": "rp_AnbLKG_option",
|
|
15820
|
-
"message": "rp_AnbLKG_message",
|
|
15821
|
-
"optionSummary": "rp_AnbLKG_optionSummary",
|
|
15822
|
-
"advancedToggle": "rp_AnbLKG_advancedToggle",
|
|
15823
|
-
"label": "rp_AnbLKG_label",
|
|
15824
15817
|
"form": "rp_AnbLKG_form",
|
|
15825
|
-
"advancedBody": "rp_AnbLKG_advancedBody",
|
|
15826
15818
|
"field": "rp_AnbLKG_field",
|
|
15827
15819
|
"advanced": "rp_AnbLKG_advanced",
|
|
15828
|
-
"
|
|
15820
|
+
"message": "rp_AnbLKG_message",
|
|
15821
|
+
"option": "rp_AnbLKG_option",
|
|
15822
|
+
"optionSummary": "rp_AnbLKG_optionSummary",
|
|
15823
|
+
"error": "rp_AnbLKG_error",
|
|
15824
|
+
"optionName": "rp_AnbLKG_optionName",
|
|
15825
|
+
"advancedBody": "rp_AnbLKG_advancedBody",
|
|
15826
|
+
"optionText": "rp_AnbLKG_optionText",
|
|
15827
|
+
"label": "rp_AnbLKG_label",
|
|
15828
|
+
"advancedToggle": "rp_AnbLKG_advancedToggle"
|
|
15829
15829
|
};
|
|
15830
15830
|
//#endregion
|
|
15831
15831
|
//#region src/client/pages/worlds/AddAvatarsDialog.tsx
|
|
@@ -16539,6 +16539,12 @@ window.__ModuleLoader__.load({
|
|
|
16539
16539
|
label: "triggersBeatTurns",
|
|
16540
16540
|
help: "triggersBeatTurnsHelp"
|
|
16541
16541
|
},
|
|
16542
|
+
{
|
|
16543
|
+
path: ["triggers", "cueTurns"],
|
|
16544
|
+
kind: "integer",
|
|
16545
|
+
label: "triggersCueTurns",
|
|
16546
|
+
help: "triggersCueTurnsHelp"
|
|
16547
|
+
},
|
|
16542
16548
|
{
|
|
16543
16549
|
path: ["rewind", "keepSnapshots"],
|
|
16544
16550
|
kind: "integer",
|
|
@@ -16710,6 +16716,43 @@ window.__ModuleLoader__.load({
|
|
|
16710
16716
|
label: "samplingRecords",
|
|
16711
16717
|
help: "samplingRecordsHelp"
|
|
16712
16718
|
},
|
|
16719
|
+
{
|
|
16720
|
+
path: ["sampling", "tools"],
|
|
16721
|
+
kind: "choice",
|
|
16722
|
+
label: "samplingTools",
|
|
16723
|
+
help: "samplingToolsHelp",
|
|
16724
|
+
choices: [{
|
|
16725
|
+
value: "required",
|
|
16726
|
+
label: "toolsRequired"
|
|
16727
|
+
}, {
|
|
16728
|
+
value: "auto",
|
|
16729
|
+
label: "toolsAuto"
|
|
16730
|
+
}]
|
|
16731
|
+
},
|
|
16732
|
+
{
|
|
16733
|
+
path: ["sampling", "masterMaxTokens"],
|
|
16734
|
+
kind: "integer",
|
|
16735
|
+
label: "samplingMasterMaxTokens",
|
|
16736
|
+
help: "samplingMasterMaxTokensHelp"
|
|
16737
|
+
},
|
|
16738
|
+
{
|
|
16739
|
+
path: ["sampling", "maxTokens"],
|
|
16740
|
+
kind: "integer",
|
|
16741
|
+
label: "samplingMaxTokens",
|
|
16742
|
+
help: "samplingMaxTokensHelp"
|
|
16743
|
+
},
|
|
16744
|
+
{
|
|
16745
|
+
path: ["sampling", "shortMaxTokens"],
|
|
16746
|
+
kind: "integer",
|
|
16747
|
+
label: "samplingShortMaxTokens",
|
|
16748
|
+
help: "samplingShortMaxTokensHelp"
|
|
16749
|
+
},
|
|
16750
|
+
{
|
|
16751
|
+
path: ["sampling", "headroom"],
|
|
16752
|
+
kind: "decimal",
|
|
16753
|
+
label: "samplingHeadroom",
|
|
16754
|
+
help: "samplingHeadroomHelp"
|
|
16755
|
+
},
|
|
16713
16756
|
{
|
|
16714
16757
|
path: ["background", "concurrent"],
|
|
16715
16758
|
kind: "flag",
|
|
@@ -16765,11 +16808,23 @@ window.__ModuleLoader__.load({
|
|
|
16765
16808
|
help: "retainRatioHelp"
|
|
16766
16809
|
},
|
|
16767
16810
|
{
|
|
16768
|
-
path: ["
|
|
16769
|
-
kind: "
|
|
16770
|
-
label: "
|
|
16771
|
-
help: "
|
|
16772
|
-
|
|
16811
|
+
path: ["context", "shortTermTokens"],
|
|
16812
|
+
kind: "integer",
|
|
16813
|
+
label: "shortTermTokens",
|
|
16814
|
+
help: "shortTermTokensHelp"
|
|
16815
|
+
},
|
|
16816
|
+
{
|
|
16817
|
+
path: ["context", "longTermTokens"],
|
|
16818
|
+
kind: "integer",
|
|
16819
|
+
label: "longTermTokens",
|
|
16820
|
+
help: "longTermTokensHelp"
|
|
16821
|
+
},
|
|
16822
|
+
{
|
|
16823
|
+
path: ["interface", "pack"],
|
|
16824
|
+
kind: "text",
|
|
16825
|
+
label: "interfacePack",
|
|
16826
|
+
help: "interfacePackHelp",
|
|
16827
|
+
zone: false,
|
|
16773
16828
|
placeholder: "none"
|
|
16774
16829
|
},
|
|
16775
16830
|
{
|
|
@@ -16923,25 +16978,25 @@ window.__ModuleLoader__.load({
|
|
|
16923
16978
|
}
|
|
16924
16979
|
//#endregion
|
|
16925
16980
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/settings-form/SettingsFields.module.css.mjs
|
|
16926
|
-
const css$
|
|
16927
|
-
const key$
|
|
16928
|
-
let tag$
|
|
16929
|
-
if (tag$
|
|
16930
|
-
tag$
|
|
16931
|
-
tag$
|
|
16932
|
-
tag$
|
|
16933
|
-
document.head.appendChild(tag$
|
|
16981
|
+
const css$10 = ".rp_Rhi3yq_row{flex-direction:column;gap:6px;display:flex}.rp_Rhi3yq_field{flex-direction:column;gap:6px;width:min(100%,320px);display:flex}.rp_Rhi3yq_label{color:var(--dsw-alias-label-secondary);font-size:12px}.rp_Rhi3yq_help{max-width:560px;color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}.rp_Rhi3yq_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_Rhi3yq_group{border-top:.5px solid var(--dsw-alias-border-l3);flex-direction:column;gap:12px;padding-top:12px;display:flex}.rp_Rhi3yq_groupTitle{color:var(--dsw-alias-label-primary);margin:0;font-size:14px;font-weight:500}.rp_Rhi3yq_area{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;max-width:560px;min-height:96px;color:inherit;font:inherit;resize:vertical;padding:6px 8px;font-size:13px}.rp_Rhi3yq_area:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}";
|
|
16982
|
+
const key$10 = "src/client/settings-form/SettingsFields.module.css";
|
|
16983
|
+
let tag$10 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$10) + "]");
|
|
16984
|
+
if (tag$10 === null) {
|
|
16985
|
+
tag$10 = document.createElement("style");
|
|
16986
|
+
tag$10.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
16987
|
+
tag$10.dataset.pluginCss = key$10;
|
|
16988
|
+
document.head.appendChild(tag$10);
|
|
16934
16989
|
}
|
|
16935
|
-
tag$
|
|
16990
|
+
tag$10.textContent = css$10;
|
|
16936
16991
|
var SettingsFields_module_css_default = {
|
|
16937
|
-
"label": "rp_Rhi3yq_label",
|
|
16938
|
-
"help": "rp_Rhi3yq_help",
|
|
16939
|
-
"row": "rp_Rhi3yq_row",
|
|
16940
|
-
"area": "rp_Rhi3yq_area",
|
|
16941
16992
|
"error": "rp_Rhi3yq_error",
|
|
16942
|
-
"
|
|
16993
|
+
"row": "rp_Rhi3yq_row",
|
|
16943
16994
|
"group": "rp_Rhi3yq_group",
|
|
16944
|
-
"groupTitle": "rp_Rhi3yq_groupTitle"
|
|
16995
|
+
"groupTitle": "rp_Rhi3yq_groupTitle",
|
|
16996
|
+
"label": "rp_Rhi3yq_label",
|
|
16997
|
+
"field": "rp_Rhi3yq_field",
|
|
16998
|
+
"help": "rp_Rhi3yq_help",
|
|
16999
|
+
"area": "rp_Rhi3yq_area"
|
|
16945
17000
|
};
|
|
16946
17001
|
//#endregion
|
|
16947
17002
|
//#region src/client/settings-form/SettingsFields.tsx
|
|
@@ -17184,20 +17239,20 @@ window.__ModuleLoader__.load({
|
|
|
17184
17239
|
const storyLanguageOf = (code) => code.trim().toLowerCase().startsWith("zh") ? "zh" : "en";
|
|
17185
17240
|
//#endregion
|
|
17186
17241
|
//#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
|
|
17187
|
-
const css$
|
|
17188
|
-
const key$
|
|
17189
|
-
let tag$
|
|
17190
|
-
if (tag$
|
|
17191
|
-
tag$
|
|
17192
|
-
tag$
|
|
17193
|
-
tag$
|
|
17194
|
-
document.head.appendChild(tag$
|
|
17242
|
+
const css$9 = ".rp_Lx8vJa_banner{border:1px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-secondary);align-items:center;gap:12px;margin:0 0 8px;padding:8px 12px;font-size:12px;line-height:18px;display:flex}.rp_Lx8vJa_text{flex:auto}.rp_Lx8vJa_error{color:var(--dsw-alias-state-error-primary);margin:0 0 8px;font-size:12px}";
|
|
17243
|
+
const key$9 = "src/client/pages/worlds/TranslateBanner.module.css";
|
|
17244
|
+
let tag$9 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$9) + "]");
|
|
17245
|
+
if (tag$9 === null) {
|
|
17246
|
+
tag$9 = document.createElement("style");
|
|
17247
|
+
tag$9.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
17248
|
+
tag$9.dataset.pluginCss = key$9;
|
|
17249
|
+
document.head.appendChild(tag$9);
|
|
17195
17250
|
}
|
|
17196
|
-
tag$
|
|
17251
|
+
tag$9.textContent = css$9;
|
|
17197
17252
|
var TranslateBanner_module_css_default = {
|
|
17198
|
-
"
|
|
17253
|
+
"error": "rp_Lx8vJa_error",
|
|
17199
17254
|
"banner": "rp_Lx8vJa_banner",
|
|
17200
|
-
"
|
|
17255
|
+
"text": "rp_Lx8vJa_text"
|
|
17201
17256
|
};
|
|
17202
17257
|
//#endregion
|
|
17203
17258
|
//#region src/client/pages/worlds/TranslateBanner.tsx
|
|
@@ -17777,36 +17832,36 @@ window.__ModuleLoader__.load({
|
|
|
17777
17832
|
}
|
|
17778
17833
|
//#endregion
|
|
17779
17834
|
//#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
|
|
17780
|
-
const css$
|
|
17781
|
-
const key$
|
|
17782
|
-
let tag$
|
|
17783
|
-
if (tag$
|
|
17784
|
-
tag$
|
|
17785
|
-
tag$
|
|
17786
|
-
tag$
|
|
17787
|
-
document.head.appendChild(tag$
|
|
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}.rp_FHUyRq_authorButton{margin-left:auto}.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_authorButton{margin-left:0}}";
|
|
17836
|
+
const key$8 = "src/client/pages/worlds/WorldsPage.module.css";
|
|
17837
|
+
let tag$8 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$8) + "]");
|
|
17838
|
+
if (tag$8 === null) {
|
|
17839
|
+
tag$8 = document.createElement("style");
|
|
17840
|
+
tag$8.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
17841
|
+
tag$8.dataset.pluginCss = key$8;
|
|
17842
|
+
document.head.appendChild(tag$8);
|
|
17788
17843
|
}
|
|
17789
|
-
tag$
|
|
17844
|
+
tag$8.textContent = css$8;
|
|
17790
17845
|
var WorldsPage_module_css_default = {
|
|
17846
|
+
"editTitle": "rp_FHUyRq_editTitle",
|
|
17847
|
+
"spin": "rp_FHUyRq_spin",
|
|
17791
17848
|
"notice": "rp_FHUyRq_notice",
|
|
17792
|
-
"editBody": "rp_FHUyRq_editBody",
|
|
17793
|
-
"count": "rp_FHUyRq_count",
|
|
17794
17849
|
"scrolls": "rp_FHUyRq_scrolls",
|
|
17850
|
+
"authorButton": "rp_FHUyRq_authorButton",
|
|
17851
|
+
"starters": "rp_FHUyRq_starters",
|
|
17795
17852
|
"toolbar": "rp_FHUyRq_toolbar",
|
|
17796
|
-
"
|
|
17853
|
+
"toolbarActions": "rp_FHUyRq_toolbarActions",
|
|
17797
17854
|
"page": "rp_FHUyRq_page",
|
|
17798
|
-
"
|
|
17855
|
+
"spinning": "rp_FHUyRq_spinning",
|
|
17799
17856
|
"cell": "rp_FHUyRq_cell",
|
|
17800
|
-
"editHeader": "rp_FHUyRq_editHeader",
|
|
17801
|
-
"starters": "rp_FHUyRq_starters",
|
|
17802
17857
|
"fits": "rp_FHUyRq_fits",
|
|
17803
17858
|
"message": "rp_FHUyRq_message",
|
|
17804
|
-
"
|
|
17805
|
-
"editTitle": "rp_FHUyRq_editTitle",
|
|
17806
|
-
"toolbarActions": "rp_FHUyRq_toolbarActions",
|
|
17807
|
-
"authorButton": "rp_FHUyRq_authorButton",
|
|
17859
|
+
"editHeader": "rp_FHUyRq_editHeader",
|
|
17808
17860
|
"starter": "rp_FHUyRq_starter",
|
|
17809
|
-
"
|
|
17861
|
+
"count": "rp_FHUyRq_count",
|
|
17862
|
+
"grid": "rp_FHUyRq_grid",
|
|
17863
|
+
"viewport": "rp_FHUyRq_viewport",
|
|
17864
|
+
"editBody": "rp_FHUyRq_editBody"
|
|
17810
17865
|
};
|
|
17811
17866
|
//#endregion
|
|
17812
17867
|
//#region src/client/pages/worlds/StarterWorlds.tsx
|
|
@@ -18394,6 +18449,24 @@ window.__ModuleLoader__.load({
|
|
|
18394
18449
|
retainRatio: "Kept after folding (%)",
|
|
18395
18450
|
retainRatioHelp: "The share of the limit that stays word for word when the oldest turns are folded.",
|
|
18396
18451
|
invalid: "Enter a number from {min} to {max}.",
|
|
18452
|
+
triggersCueTurns: "Turns a cue stays pending",
|
|
18453
|
+
triggersCueTurnsHelp: "A cue is something a character is told to act on. If the character does not get to it within this many turns, it is let go.",
|
|
18454
|
+
samplingTools: "Helpers answer with a tool call",
|
|
18455
|
+
samplingToolsHelp: "Required makes a helper end with its result tool instead of writing prose (the usual cause of a helper that rambles). Auto lets the model choose; use it only if your provider rejects required tool calls.",
|
|
18456
|
+
samplingMasterMaxTokens: "Game master output cap (tokens)",
|
|
18457
|
+
samplingMasterMaxTokensHelp: "The most one game master request may produce. A reply cut off here is steered back; a model that thinks without end stops at this limit instead of running for minutes.",
|
|
18458
|
+
samplingMaxTokens: "Helper output cap (tokens)",
|
|
18459
|
+
samplingMaxTokensHelp: "The most one request of a helper (records, author, chronicler) may produce, however large its estimate. A helper that rambles is cut off at this size.",
|
|
18460
|
+
samplingShortMaxTokens: "Short helper output cap (tokens)",
|
|
18461
|
+
samplingShortMaxTokensHelp: "The same for helpers whose answer is short (characters, suggestion writer): they are cut off much sooner.",
|
|
18462
|
+
samplingHeadroom: "Output room (times the estimate)",
|
|
18463
|
+
samplingHeadroomHelp: "How many times the estimated size of an answer a helper may produce before it is cut off (1 to 10). Raise it for a model that says a little before it answers.",
|
|
18464
|
+
shortTermTokens: "Short-term summary size (tokens)",
|
|
18465
|
+
shortTermTokensHelp: "The size of the short-term summary before its oldest part moves into the long-term one.",
|
|
18466
|
+
longTermTokens: "Long-term summary size (tokens)",
|
|
18467
|
+
longTermTokensHelp: "The size of the long-term summary before its oldest part is condensed further.",
|
|
18468
|
+
toolsRequired: "Required",
|
|
18469
|
+
toolsAuto: "Auto",
|
|
18397
18470
|
localeId: "en",
|
|
18398
18471
|
presetFast: "Fast preset",
|
|
18399
18472
|
presetApply: "Apply",
|
|
@@ -18585,6 +18658,24 @@ window.__ModuleLoader__.load({
|
|
|
18585
18658
|
retainRatio: "折叠后保留比例(%)",
|
|
18586
18659
|
retainRatioHelp: "折叠最早几轮时,占上限比例的这部分对话会原文保留。",
|
|
18587
18660
|
invalid: "请输入 {min} 到 {max} 之间的数字。",
|
|
18661
|
+
triggersCueTurns: "提示保留的回合数",
|
|
18662
|
+
triggersCueTurnsHelp: "提示是要求角色去回应的事。若角色在这么多回合内都没有回应,就会被放弃。",
|
|
18663
|
+
samplingTools: "辅助者以工具调用作答",
|
|
18664
|
+
samplingToolsHelp: "「必须」让辅助者以结果工具收尾,而不是写一大段文字(辅助者跑题的常见原因)。「自动」由模型自行选择;仅当服务商拒绝必须调用工具时使用。",
|
|
18665
|
+
samplingMasterMaxTokens: "主持人输出上限(token)",
|
|
18666
|
+
samplingMasterMaxTokensHelp: "主持人一次请求最多生成的长度。在此被截断的回复会被引导重来;无休止思考的模型会停在这个上限,而不是运行数分钟。",
|
|
18667
|
+
samplingMaxTokens: "辅助者输出上限(token)",
|
|
18668
|
+
samplingMaxTokensHelp: "辅助者(记录、作者、编年史)一次请求最多生成的长度,不论其估算多大。跑题的辅助者会在此长度被截断。",
|
|
18669
|
+
samplingShortMaxTokens: "短答辅助者输出上限(token)",
|
|
18670
|
+
samplingShortMaxTokensHelp: "针对答案较短的辅助者(角色、建议撰写者):它们会更早被截断。",
|
|
18671
|
+
samplingHeadroom: "输出余量(估算的倍数)",
|
|
18672
|
+
samplingHeadroomHelp: "辅助者的输出可达其估算长度的多少倍才被截断(1 到 10)。对回答前会先说几句的模型可调高。",
|
|
18673
|
+
shortTermTokens: "短期摘要长度(token)",
|
|
18674
|
+
shortTermTokensHelp: "短期摘要在其最早部分并入长期摘要之前的长度。",
|
|
18675
|
+
longTermTokens: "长期摘要长度(token)",
|
|
18676
|
+
longTermTokensHelp: "长期摘要在被进一步压缩之前的长度。",
|
|
18677
|
+
toolsRequired: "必须",
|
|
18678
|
+
toolsAuto: "自动",
|
|
18588
18679
|
localeId: "zh",
|
|
18589
18680
|
presetFast: "快速预设",
|
|
18590
18681
|
presetApply: "应用",
|
|
@@ -19145,21 +19236,21 @@ window.__ModuleLoader__.load({
|
|
|
19145
19236
|
};
|
|
19146
19237
|
//#endregion
|
|
19147
19238
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/branch/BranchDialog.module.css.mjs
|
|
19148
|
-
const css$
|
|
19149
|
-
const key$
|
|
19150
|
-
let tag$
|
|
19151
|
-
if (tag$
|
|
19152
|
-
tag$
|
|
19153
|
-
tag$
|
|
19154
|
-
tag$
|
|
19155
|
-
document.head.appendChild(tag$
|
|
19239
|
+
const css$7 = ".rp_Dy1TaW_form{flex-direction:column;gap:12px;min-width:min(420px,100%);display:flex}.rp_Dy1TaW_field{flex-direction:column;gap:6px;min-width:0;display:flex}.rp_Dy1TaW_label{color:var(--dsw-alias-label-secondary);font-size:12px}.rp_Dy1TaW_error{color:var(--dsw-alias-state-danger-primary);margin:0;font-size:12px}";
|
|
19240
|
+
const key$7 = "src/client/branch/BranchDialog.module.css";
|
|
19241
|
+
let tag$7 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$7) + "]");
|
|
19242
|
+
if (tag$7 === null) {
|
|
19243
|
+
tag$7 = document.createElement("style");
|
|
19244
|
+
tag$7.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
19245
|
+
tag$7.dataset.pluginCss = key$7;
|
|
19246
|
+
document.head.appendChild(tag$7);
|
|
19156
19247
|
}
|
|
19157
|
-
tag$
|
|
19248
|
+
tag$7.textContent = css$7;
|
|
19158
19249
|
var BranchDialog_module_css_default = {
|
|
19159
19250
|
"label": "rp_Dy1TaW_label",
|
|
19160
19251
|
"error": "rp_Dy1TaW_error",
|
|
19161
|
-
"
|
|
19162
|
-
"
|
|
19252
|
+
"form": "rp_Dy1TaW_form",
|
|
19253
|
+
"field": "rp_Dy1TaW_field"
|
|
19163
19254
|
};
|
|
19164
19255
|
//#endregion
|
|
19165
19256
|
//#region src/client/branch/BranchDialog.tsx
|
|
@@ -19617,28 +19708,28 @@ window.__ModuleLoader__.load({
|
|
|
19617
19708
|
}
|
|
19618
19709
|
//#endregion
|
|
19619
19710
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/interface/SidebarPage.module.css.mjs
|
|
19620
|
-
const css$
|
|
19621
|
-
const key$
|
|
19622
|
-
let tag$
|
|
19623
|
-
if (tag$
|
|
19624
|
-
tag$
|
|
19625
|
-
tag$
|
|
19626
|
-
tag$
|
|
19627
|
-
document.head.appendChild(tag$
|
|
19711
|
+
const css$6 = ".rp_Ptco8a_page{flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.rp_Ptco8a_bar{border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:8px;padding:4px 8px;display:flex}.rp_Ptco8a_name{min-width:0;color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.rp_Ptco8a_content{flex:1 1 0;min-height:0;position:relative}.rp_Ptco8a_message{color:var(--dsw-alias-label-secondary);margin:0;padding:16px;font-size:13px;line-height:20px}.rp_Ptco8a_entry{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsl-guide-entry-radius,var(--dsw-radius-sm));background:var(--dsw-alias-bg-layer-1);align-items:center;gap:14px;width:100%;min-height:56px;padding:14px 20px;display:flex;position:relative;overflow:hidden}.rp_Ptco8a_main{border-radius:0;width:100%;height:100%;position:absolute;inset:0}.rp_Ptco8a_icon{width:26px;height:26px;color:var(--dsw-alias-label-secondary);pointer-events:none;flex:none;justify-content:center;align-items:center;display:flex;position:relative}.rp_Ptco8a_text{pointer-events:none;flex-direction:column;flex:1;gap:3px;min-width:0;display:flex;position:relative}.rp_Ptco8a_title{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.4;overflow:hidden}.rp_Ptco8a_description{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.4;overflow:hidden}";
|
|
19712
|
+
const key$6 = "src/client/interface/SidebarPage.module.css";
|
|
19713
|
+
let tag$6 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$6) + "]");
|
|
19714
|
+
if (tag$6 === null) {
|
|
19715
|
+
tag$6 = document.createElement("style");
|
|
19716
|
+
tag$6.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
19717
|
+
tag$6.dataset.pluginCss = key$6;
|
|
19718
|
+
document.head.appendChild(tag$6);
|
|
19628
19719
|
}
|
|
19629
|
-
tag$
|
|
19720
|
+
tag$6.textContent = css$6;
|
|
19630
19721
|
var SidebarPage_module_css_default = {
|
|
19631
|
-
"text": "rp_Ptco8a_text",
|
|
19632
|
-
"entry": "rp_Ptco8a_entry",
|
|
19633
19722
|
"description": "rp_Ptco8a_description",
|
|
19634
|
-
"name": "rp_Ptco8a_name",
|
|
19635
|
-
"main": "rp_Ptco8a_main",
|
|
19636
|
-
"bar": "rp_Ptco8a_bar",
|
|
19637
19723
|
"content": "rp_Ptco8a_content",
|
|
19724
|
+
"main": "rp_Ptco8a_main",
|
|
19638
19725
|
"message": "rp_Ptco8a_message",
|
|
19639
|
-
"icon": "rp_Ptco8a_icon",
|
|
19640
19726
|
"page": "rp_Ptco8a_page",
|
|
19641
|
-
"
|
|
19727
|
+
"entry": "rp_Ptco8a_entry",
|
|
19728
|
+
"name": "rp_Ptco8a_name",
|
|
19729
|
+
"text": "rp_Ptco8a_text",
|
|
19730
|
+
"title": "rp_Ptco8a_title",
|
|
19731
|
+
"icon": "rp_Ptco8a_icon",
|
|
19732
|
+
"bar": "rp_Ptco8a_bar"
|
|
19642
19733
|
};
|
|
19643
19734
|
//#endregion
|
|
19644
19735
|
//#region src/client/interface/SidebarPage.tsx
|
|
@@ -19955,39 +20046,39 @@ window.__ModuleLoader__.load({
|
|
|
19955
20046
|
}
|
|
19956
20047
|
//#endregion
|
|
19957
20048
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/chat-settings/ChatSettingsView.module.css.mjs
|
|
19958
|
-
const css$
|
|
19959
|
-
const key$
|
|
19960
|
-
let tag$
|
|
19961
|
-
if (tag$
|
|
19962
|
-
tag$
|
|
19963
|
-
tag$
|
|
19964
|
-
tag$
|
|
19965
|
-
document.head.appendChild(tag$
|
|
20049
|
+
const css$5 = ".rp_wLpbxW_view{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;max-width:720px;margin:0 auto;padding:24px 24px 240px;display:flex}.rp_wLpbxW_title{color:var(--dsw-alias-label-primary);margin:0;font-size:16px;font-weight:500;line-height:24px}.rp_wLpbxW_description{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px}.rp_wLpbxW_field{flex-direction:column;gap:6px;width:min(100%,320px);display:flex}.rp_wLpbxW_label{color:var(--dsw-alias-label-secondary);font-size:12px}.rp_wLpbxW_help{max-width:560px;color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}.rp_wLpbxW_actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.rp_wLpbxW_message{text-align:center;color:var(--dsw-alias-label-secondary);margin:40px 0;font-size:13px}.rp_wLpbxW_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}.rp_wLpbxW_saved{color:var(--dsw-alias-label-secondary);font-size:12px}.rp_wLpbxW_row{flex-direction:column;gap:6px;display:flex}.rp_wLpbxW_notice{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);margin:0;padding:8px 12px;font-size:12px}.rp_wLpbxW_activity{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:6px;font-size:13px;display:flex}.rp_wLpbxW_activity summary{cursor:pointer;color:var(--dsw-alias-label-primary);font-weight:500}.rp_wLpbxW_activityBody{flex-direction:column;gap:8px;padding-top:8px;display:flex}.rp_wLpbxW_link{font:inherit;color:var(--dsw-alias-state-business-primary);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-size:12px}.rp_wLpbxW_table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:920px;font-size:12px}.rp_wLpbxW_tableViewport{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-1);max-width:100%;overflow-x:auto}.rp_wLpbxW_tableViewport:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}.rp_wLpbxW_table th,.rp_wLpbxW_table td{border-bottom:.5px solid var(--dsw-alias-border-l4);text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:6px 10px}.rp_wLpbxW_table th{color:var(--dsw-alias-label-tertiary);font-weight:400}.rp_wLpbxW_table tbody th{color:var(--dsw-alias-label-primary);font-weight:500}.rp_wLpbxW_table tbody tr:last-child>*{border-bottom:0}.rp_wLpbxW_table th:first-child,.rp_wLpbxW_table td:first-child,.rp_wLpbxW_table th:nth-child(3),.rp_wLpbxW_table td:nth-child(3),.rp_wLpbxW_table th:nth-child(4),.rp_wLpbxW_table td:nth-child(4),.rp_wLpbxW_table th:nth-child(5),.rp_wLpbxW_table td:nth-child(5){white-space:nowrap}.rp_wLpbxW_run{flex-direction:column;gap:4px;padding:4px 0 8px;display:flex}.rp_wLpbxW_pre{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-markdown-code-block);white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;margin:4px 0;padding:6px 8px;font-size:12px;overflow:auto}.rp_wLpbxW_reasons{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin:4px 0;padding-left:20px;font-size:12px}.rp_wLpbxW_select{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;max-width:320px;height:32px;color:var(--dsw-alias-label-primary);font:inherit;padding:0 8px;font-size:13px}.rp_wLpbxW_list{color:var(--dsw-alias-label-tertiary);margin:0;padding-left:18px;font-size:12px;line-height:18px}@media (width<=640px){.rp_wLpbxW_view{padding-inline:16px}}";
|
|
20050
|
+
const key$5 = "src/client/chat-settings/ChatSettingsView.module.css";
|
|
20051
|
+
let tag$5 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$5) + "]");
|
|
20052
|
+
if (tag$5 === null) {
|
|
20053
|
+
tag$5 = document.createElement("style");
|
|
20054
|
+
tag$5.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
20055
|
+
tag$5.dataset.pluginCss = key$5;
|
|
20056
|
+
document.head.appendChild(tag$5);
|
|
19966
20057
|
}
|
|
19967
|
-
tag$
|
|
20058
|
+
tag$5.textContent = css$5;
|
|
19968
20059
|
var ChatSettingsView_module_css_default = {
|
|
19969
|
-
"view": "rp_wLpbxW_view",
|
|
19970
|
-
"tableViewport": "rp_wLpbxW_tableViewport",
|
|
19971
|
-
"link": "rp_wLpbxW_link",
|
|
19972
|
-
"select": "rp_wLpbxW_select",
|
|
19973
|
-
"saved": "rp_wLpbxW_saved",
|
|
19974
|
-
"activityBody": "rp_wLpbxW_activityBody",
|
|
19975
20060
|
"message": "rp_wLpbxW_message",
|
|
19976
20061
|
"error": "rp_wLpbxW_error",
|
|
19977
|
-
"actions": "rp_wLpbxW_actions",
|
|
19978
|
-
"reasons": "rp_wLpbxW_reasons",
|
|
19979
|
-
"label": "rp_wLpbxW_label",
|
|
19980
|
-
"row": "rp_wLpbxW_row",
|
|
19981
|
-
"title": "rp_wLpbxW_title",
|
|
19982
|
-
"description": "rp_wLpbxW_description",
|
|
19983
20062
|
"notice": "rp_wLpbxW_notice",
|
|
19984
|
-
"
|
|
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",
|
|
19985
20068
|
"pre": "rp_wLpbxW_pre",
|
|
19986
|
-
"
|
|
20069
|
+
"saved": "rp_wLpbxW_saved",
|
|
20070
|
+
"description": "rp_wLpbxW_description",
|
|
20071
|
+
"table": "rp_wLpbxW_table",
|
|
20072
|
+
"help": "rp_wLpbxW_help",
|
|
19987
20073
|
"field": "rp_wLpbxW_field",
|
|
19988
20074
|
"run": "rp_wLpbxW_run",
|
|
19989
|
-
"
|
|
19990
|
-
"
|
|
20075
|
+
"list": "rp_wLpbxW_list",
|
|
20076
|
+
"reasons": "rp_wLpbxW_reasons",
|
|
20077
|
+
"label": "rp_wLpbxW_label",
|
|
20078
|
+
"activityBody": "rp_wLpbxW_activityBody",
|
|
20079
|
+
"activity": "rp_wLpbxW_activity",
|
|
20080
|
+
"view": "rp_wLpbxW_view",
|
|
20081
|
+
"title": "rp_wLpbxW_title"
|
|
19991
20082
|
};
|
|
19992
20083
|
//#endregion
|
|
19993
20084
|
//#region src/client/chat-settings/settings-api.ts
|
|
@@ -21727,27 +21818,27 @@ window.__ModuleLoader__.load({
|
|
|
21727
21818
|
}
|
|
21728
21819
|
//#endregion
|
|
21729
21820
|
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/settings/CatalogueSettings.module.css.mjs
|
|
21730
|
-
const css$
|
|
21731
|
-
const key$
|
|
21732
|
-
let tag$
|
|
21733
|
-
if (tag$
|
|
21734
|
-
tag$
|
|
21735
|
-
tag$
|
|
21736
|
-
tag$
|
|
21737
|
-
document.head.appendChild(tag$
|
|
21821
|
+
const css$4 = ".rp_KPhXDa_section{flex-direction:column;gap:8px;margin-top:24px;display:flex}.rp_KPhXDa_title{margin:0;font-size:16px;font-weight:500;line-height:24px}.rp_KPhXDa_hint{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px}.rp_KPhXDa_row{border-bottom:.5px solid var(--dsw-alias-border-l3);grid-template-columns:minmax(80px,1fr) minmax(160px,2fr) auto;align-items:end;gap:8px;padding-bottom:8px;display:grid}.rp_KPhXDa_field{flex-direction:column;gap:4px;min-width:0;display:flex}.rp_KPhXDa_label{color:var(--dsw-alias-label-tertiary);font-size:12px}.rp_KPhXDa_problem{color:var(--dsw-alias-state-error-primary);grid-column:1/-1;margin:0;font-size:12px}.rp_KPhXDa_keyHint{color:var(--dsw-alias-label-tertiary);grid-column:1/-1;margin:0;font-size:12px}.rp_KPhXDa_actions{flex-wrap:wrap;gap:8px;display:flex}.rp_KPhXDa_keyArea{grid-column:1/-1;grid-template-columns:minmax(120px,1fr) minmax(160px,2fr) auto;align-items:end;gap:8px;display:grid}@media (width<=720px){.rp_KPhXDa_row,.rp_KPhXDa_keyArea{grid-template-columns:minmax(0,1fr);align-items:stretch}.rp_KPhXDa_actions{justify-content:flex-start}}";
|
|
21822
|
+
const key$4 = "src/client/settings/CatalogueSettings.module.css";
|
|
21823
|
+
let tag$4 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$4) + "]");
|
|
21824
|
+
if (tag$4 === null) {
|
|
21825
|
+
tag$4 = document.createElement("style");
|
|
21826
|
+
tag$4.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
21827
|
+
tag$4.dataset.pluginCss = key$4;
|
|
21828
|
+
document.head.appendChild(tag$4);
|
|
21738
21829
|
}
|
|
21739
|
-
tag$
|
|
21830
|
+
tag$4.textContent = css$4;
|
|
21740
21831
|
var CatalogueSettings_module_css_default = {
|
|
21741
|
-
"label": "rp_KPhXDa_label",
|
|
21742
21832
|
"section": "rp_KPhXDa_section",
|
|
21743
|
-
"
|
|
21744
|
-
"problem": "rp_KPhXDa_problem",
|
|
21745
|
-
"field": "rp_KPhXDa_field",
|
|
21833
|
+
"label": "rp_KPhXDa_label",
|
|
21746
21834
|
"title": "rp_KPhXDa_title",
|
|
21747
|
-
"
|
|
21748
|
-
"row": "rp_KPhXDa_row",
|
|
21835
|
+
"field": "rp_KPhXDa_field",
|
|
21749
21836
|
"hint": "rp_KPhXDa_hint",
|
|
21750
|
-
"actions": "rp_KPhXDa_actions"
|
|
21837
|
+
"actions": "rp_KPhXDa_actions",
|
|
21838
|
+
"row": "rp_KPhXDa_row",
|
|
21839
|
+
"problem": "rp_KPhXDa_problem",
|
|
21840
|
+
"keyHint": "rp_KPhXDa_keyHint",
|
|
21841
|
+
"keyArea": "rp_KPhXDa_keyArea"
|
|
21751
21842
|
};
|
|
21752
21843
|
//#endregion
|
|
21753
21844
|
//#region src/client/settings/AuthoringToolSettings.tsx
|
|
@@ -21826,6 +21917,267 @@ window.__ModuleLoader__.load({
|
|
|
21826
21917
|
});
|
|
21827
21918
|
}
|
|
21828
21919
|
//#endregion
|
|
21920
|
+
//#region src/client/settings/assistants.ts
|
|
21921
|
+
/** The settings of the helper agents of imports and authoring: each is one field of the plugin's configuration, written only when it differs from the default. */
|
|
21922
|
+
const ASSISTANT_FIELDS = [
|
|
21923
|
+
{
|
|
21924
|
+
field: "importReasoning",
|
|
21925
|
+
group: "assistants",
|
|
21926
|
+
kind: "text",
|
|
21927
|
+
placeholder: "off"
|
|
21928
|
+
},
|
|
21929
|
+
{
|
|
21930
|
+
field: "childReasoning",
|
|
21931
|
+
group: "assistants",
|
|
21932
|
+
kind: "text",
|
|
21933
|
+
placeholder: "off"
|
|
21934
|
+
},
|
|
21935
|
+
{
|
|
21936
|
+
field: "importModel",
|
|
21937
|
+
group: "assistants",
|
|
21938
|
+
kind: "text",
|
|
21939
|
+
placeholder: "provider/model"
|
|
21940
|
+
},
|
|
21941
|
+
{
|
|
21942
|
+
field: "importTemperature",
|
|
21943
|
+
group: "assistants",
|
|
21944
|
+
kind: "number",
|
|
21945
|
+
min: 0,
|
|
21946
|
+
max: 2,
|
|
21947
|
+
placeholder: "0.2"
|
|
21948
|
+
},
|
|
21949
|
+
{
|
|
21950
|
+
field: "importMaxTokens",
|
|
21951
|
+
group: "assistants",
|
|
21952
|
+
kind: "integer",
|
|
21953
|
+
min: 1e3,
|
|
21954
|
+
max: 2e5,
|
|
21955
|
+
placeholder: "16000"
|
|
21956
|
+
},
|
|
21957
|
+
{
|
|
21958
|
+
field: "importTimeoutMinutes",
|
|
21959
|
+
group: "assistants",
|
|
21960
|
+
kind: "integer",
|
|
21961
|
+
min: 0,
|
|
21962
|
+
max: 240,
|
|
21963
|
+
placeholder: "15"
|
|
21964
|
+
},
|
|
21965
|
+
{
|
|
21966
|
+
field: "importConcurrency",
|
|
21967
|
+
group: "assistants",
|
|
21968
|
+
kind: "integer",
|
|
21969
|
+
min: 1,
|
|
21970
|
+
max: 16,
|
|
21971
|
+
placeholder: "4"
|
|
21972
|
+
},
|
|
21973
|
+
{
|
|
21974
|
+
field: "importDecisions",
|
|
21975
|
+
group: "assistants",
|
|
21976
|
+
kind: "choice",
|
|
21977
|
+
choices: ["llm", "decision"],
|
|
21978
|
+
labels: ["importDecisionLlm", "importDecisionModel"],
|
|
21979
|
+
placeholder: "llm"
|
|
21980
|
+
},
|
|
21981
|
+
{
|
|
21982
|
+
field: "importConfidence",
|
|
21983
|
+
group: "assistants",
|
|
21984
|
+
kind: "number",
|
|
21985
|
+
min: 0,
|
|
21986
|
+
max: 1,
|
|
21987
|
+
placeholder: "0.7"
|
|
21988
|
+
},
|
|
21989
|
+
{
|
|
21990
|
+
field: "authoringApproval",
|
|
21991
|
+
group: "assistants",
|
|
21992
|
+
kind: "choice",
|
|
21993
|
+
choices: ["ask", "auto"],
|
|
21994
|
+
labels: ["authoringApprovalAsk", "authoringApprovalAuto"],
|
|
21995
|
+
placeholder: "ask"
|
|
21996
|
+
},
|
|
21997
|
+
{
|
|
21998
|
+
field: "importMaxUploadBytes",
|
|
21999
|
+
group: "limits",
|
|
22000
|
+
kind: "integer",
|
|
22001
|
+
min: 1024,
|
|
22002
|
+
max: 4294967296,
|
|
22003
|
+
placeholder: "104857600"
|
|
22004
|
+
},
|
|
22005
|
+
{
|
|
22006
|
+
field: "catalogueMaxBytes",
|
|
22007
|
+
group: "limits",
|
|
22008
|
+
kind: "integer",
|
|
22009
|
+
min: 1024,
|
|
22010
|
+
max: 4294967296,
|
|
22011
|
+
placeholder: "268435456"
|
|
22012
|
+
},
|
|
22013
|
+
{
|
|
22014
|
+
field: "catalogueTrashDays",
|
|
22015
|
+
group: "limits",
|
|
22016
|
+
kind: "integer",
|
|
22017
|
+
min: 0,
|
|
22018
|
+
max: 3650,
|
|
22019
|
+
placeholder: "30"
|
|
22020
|
+
}
|
|
22021
|
+
];
|
|
22022
|
+
/** A draft is empty (the default), or a value the host accepts; anything else cannot be saved. */
|
|
22023
|
+
function parseDraft(spec, draft) {
|
|
22024
|
+
const text = draft.trim();
|
|
22025
|
+
if (text === "") return { kind: "clear" };
|
|
22026
|
+
if (spec.kind === "text") return {
|
|
22027
|
+
kind: "set",
|
|
22028
|
+
value: text
|
|
22029
|
+
};
|
|
22030
|
+
if (spec.kind === "choice") return spec.choices.includes(text) ? {
|
|
22031
|
+
kind: "set",
|
|
22032
|
+
value: text
|
|
22033
|
+
} : void 0;
|
|
22034
|
+
const number = Number(text);
|
|
22035
|
+
if (!Number.isFinite(number) || number < spec.min || number > spec.max) return void 0;
|
|
22036
|
+
if (spec.kind === "integer" && !Number.isInteger(number)) return void 0;
|
|
22037
|
+
return {
|
|
22038
|
+
kind: "set",
|
|
22039
|
+
value: number
|
|
22040
|
+
};
|
|
22041
|
+
}
|
|
22042
|
+
const assistantFields = ASSISTANT_FIELDS.map((spec) => ({
|
|
22043
|
+
field: spec.field,
|
|
22044
|
+
format: (value) => typeof value === "string" || typeof value === "number" ? String(value) : "",
|
|
22045
|
+
parse: (draft) => parseDraft(spec, draft)
|
|
22046
|
+
}));
|
|
22047
|
+
//#endregion
|
|
22048
|
+
//#region \0css-module:/home/runner/work/dsh-agentic-roleplay/dsh-agentic-roleplay/packages/dsh-agentic-roleplay-core/src/client/settings/AssistantSettings.module.css.mjs
|
|
22049
|
+
const css$3 = ".rp_ZwzM4q_section{flex-direction:column;gap:8px;margin-top:24px;display:flex}.rp_ZwzM4q_title{margin:0;font-size:16px;font-weight:500;line-height:24px}.rp_ZwzM4q_hint,.rp_ZwzM4q_fieldHint,.rp_ZwzM4q_invalid{margin:0;font-size:12px;line-height:18px}.rp_ZwzM4q_hint{color:var(--dsw-alias-label-secondary);font-size:13px}.rp_ZwzM4q_fields{min-width:0}.rp_ZwzM4q_fields>*+*{border-top:.5px solid var(--dsw-alias-border-l2)}.rp_ZwzM4q_field{flex-direction:column;gap:6px;padding:12px 0;display:flex}.rp_ZwzM4q_head,.rp_ZwzM4q_badges{align-items:center;gap:8px;display:flex}.rp_ZwzM4q_label{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:13px;font-weight:500;line-height:20px}.rp_ZwzM4q_reset{color:var(--dsw-alias-label-secondary);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}.rp_ZwzM4q_reset:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.rp_ZwzM4q_reset:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.rp_ZwzM4q_select{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-3);width:100%;height:34px;color:var(--dsw-alias-label-primary);font:inherit;padding:0 12px;font-size:13px}.rp_ZwzM4q_select:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.rp_ZwzM4q_select[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary)}.rp_ZwzM4q_fieldHint{color:var(--dsw-alias-label-tertiary)}.rp_ZwzM4q_invalid{color:var(--dsw-alias-state-error-primary)}@media (width<=520px){.rp_ZwzM4q_head{align-items:flex-start}.rp_ZwzM4q_badges{flex-wrap:wrap;justify-content:flex-end}}";
|
|
22050
|
+
const key$3 = "src/client/settings/AssistantSettings.module.css";
|
|
22051
|
+
let tag$3 = document.querySelector("style[data-plugin-css=" + JSON.stringify(key$3) + "]");
|
|
22052
|
+
if (tag$3 === null) {
|
|
22053
|
+
tag$3 = document.createElement("style");
|
|
22054
|
+
tag$3.dataset.plugin = "@dsh-agentic-roleplay/core";
|
|
22055
|
+
tag$3.dataset.pluginCss = key$3;
|
|
22056
|
+
document.head.appendChild(tag$3);
|
|
22057
|
+
}
|
|
22058
|
+
tag$3.textContent = css$3;
|
|
22059
|
+
var AssistantSettings_module_css_default = {
|
|
22060
|
+
"section": "rp_ZwzM4q_section",
|
|
22061
|
+
"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
|
+
"reset": "rp_ZwzM4q_reset",
|
|
22069
|
+
"badges": "rp_ZwzM4q_badges",
|
|
22070
|
+
"fieldHint": "rp_ZwzM4q_fieldHint",
|
|
22071
|
+
"head": "rp_ZwzM4q_head"
|
|
22072
|
+
};
|
|
22073
|
+
//#endregion
|
|
22074
|
+
//#region src/client/settings/AssistantSettings.tsx
|
|
22075
|
+
function ChoiceField({ t, spec, state, disabled, onEdit, onReset }) {
|
|
22076
|
+
const id = `roleplay-${spec.field}`;
|
|
22077
|
+
const messageId = `${id}-message`;
|
|
22078
|
+
const known = spec.choices.includes(state.text);
|
|
22079
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22080
|
+
className: AssistantSettings_module_css_default.field,
|
|
22081
|
+
children: [
|
|
22082
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22083
|
+
className: AssistantSettings_module_css_default.head,
|
|
22084
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
|
|
22085
|
+
className: AssistantSettings_module_css_default.label,
|
|
22086
|
+
htmlFor: id,
|
|
22087
|
+
children: t(`${spec.field}Label`)
|
|
22088
|
+
}), state.overridden && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
22089
|
+
className: AssistantSettings_module_css_default.badges,
|
|
22090
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tag, {
|
|
22091
|
+
tone: "neutral",
|
|
22092
|
+
children: t("overridden")
|
|
22093
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
22094
|
+
type: "button",
|
|
22095
|
+
className: AssistantSettings_module_css_default.reset,
|
|
22096
|
+
disabled,
|
|
22097
|
+
onClick: onReset,
|
|
22098
|
+
children: t("reset")
|
|
22099
|
+
})]
|
|
22100
|
+
})]
|
|
22101
|
+
}),
|
|
22102
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
22103
|
+
id,
|
|
22104
|
+
className: AssistantSettings_module_css_default.select,
|
|
22105
|
+
value: state.text,
|
|
22106
|
+
disabled,
|
|
22107
|
+
"aria-invalid": state.invalid || void 0,
|
|
22108
|
+
"aria-describedby": messageId,
|
|
22109
|
+
onChange: (event) => {
|
|
22110
|
+
onEdit(event.target.value);
|
|
22111
|
+
},
|
|
22112
|
+
children: [!known && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
22113
|
+
value: state.text,
|
|
22114
|
+
children: state.text
|
|
22115
|
+
}), spec.choices.map((choice, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
22116
|
+
value: choice,
|
|
22117
|
+
children: t(spec.labels[index])
|
|
22118
|
+
}, choice))]
|
|
22119
|
+
}),
|
|
22120
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
22121
|
+
id: messageId,
|
|
22122
|
+
className: state.invalid ? AssistantSettings_module_css_default.invalid : AssistantSettings_module_css_default.fieldHint,
|
|
22123
|
+
children: state.invalid ? t("assistantInvalidChoice") : t(`${spec.field}Hint`)
|
|
22124
|
+
})
|
|
22125
|
+
]
|
|
22126
|
+
});
|
|
22127
|
+
}
|
|
22128
|
+
/** How the helper agents of imports, translation and authoring are asked: how hard they think, on which model, how long they may work. */
|
|
22129
|
+
function AssistantSettings({ t, group, fields, disabled, onEdit, onReset }) {
|
|
22130
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
22131
|
+
className: AssistantSettings_module_css_default.section,
|
|
22132
|
+
"data-testid": `roleplay-${group}-settings`,
|
|
22133
|
+
children: [
|
|
22134
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
22135
|
+
className: AssistantSettings_module_css_default.title,
|
|
22136
|
+
children: t(group)
|
|
22137
|
+
}),
|
|
22138
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
22139
|
+
className: AssistantSettings_module_css_default.hint,
|
|
22140
|
+
children: t(group === "assistants" ? "assistantsHint" : "limitsHint")
|
|
22141
|
+
}),
|
|
22142
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
22143
|
+
className: AssistantSettings_module_css_default.fields,
|
|
22144
|
+
children: ASSISTANT_FIELDS.filter((spec) => spec.group === group).map((spec) => spec.kind === "choice" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChoiceField, {
|
|
22145
|
+
t,
|
|
22146
|
+
spec,
|
|
22147
|
+
state: fields[spec.field],
|
|
22148
|
+
disabled,
|
|
22149
|
+
onEdit: (text) => {
|
|
22150
|
+
onEdit(spec.field, text);
|
|
22151
|
+
},
|
|
22152
|
+
onReset: () => {
|
|
22153
|
+
onReset(spec.field);
|
|
22154
|
+
}
|
|
22155
|
+
}, spec.field) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SettingsValueField, {
|
|
22156
|
+
id: `roleplay-${spec.field}`,
|
|
22157
|
+
label: t(`${spec.field}Label`),
|
|
22158
|
+
hint: t(`${spec.field}Hint`),
|
|
22159
|
+
placeholder: spec.placeholder,
|
|
22160
|
+
numeric: spec.kind === "integer",
|
|
22161
|
+
overriddenLabel: t("overridden"),
|
|
22162
|
+
resetLabel: t("reset"),
|
|
22163
|
+
invalidLabel: "min" in spec ? t("assistantInvalidRange", {
|
|
22164
|
+
min: spec.min,
|
|
22165
|
+
max: spec.max
|
|
22166
|
+
}) : t("invalid"),
|
|
22167
|
+
disabled,
|
|
22168
|
+
...fields[spec.field],
|
|
22169
|
+
onEdit: (text) => {
|
|
22170
|
+
onEdit(spec.field, text);
|
|
22171
|
+
},
|
|
22172
|
+
onReset: () => {
|
|
22173
|
+
onReset(spec.field);
|
|
22174
|
+
}
|
|
22175
|
+
}, spec.field))
|
|
22176
|
+
})
|
|
22177
|
+
]
|
|
22178
|
+
});
|
|
22179
|
+
}
|
|
22180
|
+
//#endregion
|
|
21829
22181
|
//#region src/client/settings/catalogue-keys-api.ts
|
|
21830
22182
|
async function reply(response) {
|
|
21831
22183
|
if (!response.ok) {
|
|
@@ -22184,6 +22536,43 @@ window.__ModuleLoader__.load({
|
|
|
22184
22536
|
});
|
|
22185
22537
|
}
|
|
22186
22538
|
//#endregion
|
|
22539
|
+
//#region src/client/settings/setup-api.ts
|
|
22540
|
+
/** The ids of the plugin rows the profile holds more than once; empty when the profile is as it should be. */
|
|
22541
|
+
async function loadRedundantLayers(signal) {
|
|
22542
|
+
const response = await fetch(`${API_PREFIX}/setup`, {
|
|
22543
|
+
credentials: "same-origin",
|
|
22544
|
+
signal
|
|
22545
|
+
});
|
|
22546
|
+
if (!response.ok) throw new Error(`${response.status} ${response.statusText}`.trim());
|
|
22547
|
+
const body = await response.json();
|
|
22548
|
+
return Array.isArray(body.redundantLayers) ? body.redundantLayers.filter((id) => typeof id === "string") : [];
|
|
22549
|
+
}
|
|
22550
|
+
//#endregion
|
|
22551
|
+
//#region src/client/settings/SetupNotice.tsx
|
|
22552
|
+
/** Says why the settings cannot be saved when the profile holds a plugin row twice; nothing is shown otherwise. */
|
|
22553
|
+
function SetupNotice({ t }) {
|
|
22554
|
+
const [rows, setRows] = (0, react.useState)([]);
|
|
22555
|
+
(0, react.useEffect)(() => {
|
|
22556
|
+
const abort = new AbortController();
|
|
22557
|
+
loadRedundantLayers(abort.signal).then(setRows, () => void 0);
|
|
22558
|
+
return () => {
|
|
22559
|
+
abort.abort();
|
|
22560
|
+
};
|
|
22561
|
+
}, []);
|
|
22562
|
+
if (rows.length === 0) return null;
|
|
22563
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
22564
|
+
className: CatalogueSettings_module_css_default.problem,
|
|
22565
|
+
role: "alert",
|
|
22566
|
+
"data-testid": "roleplay-redundant-layers",
|
|
22567
|
+
children: [
|
|
22568
|
+
t("redundantLayers"),
|
|
22569
|
+
" (",
|
|
22570
|
+
rows.join(", "),
|
|
22571
|
+
")"
|
|
22572
|
+
]
|
|
22573
|
+
});
|
|
22574
|
+
}
|
|
22575
|
+
//#endregion
|
|
22187
22576
|
//#region src/client/settings/sync.ts
|
|
22188
22577
|
const text = (value) => typeof value === "string" ? value : "";
|
|
22189
22578
|
function syncOf(value) {
|
|
@@ -22496,6 +22885,43 @@ window.__ModuleLoader__.load({
|
|
|
22496
22885
|
authoringKind_presetAuthoring: "Preset authoring assistant",
|
|
22497
22886
|
authoringKind_lorebookAuthoring: "Lorebook authoring assistant",
|
|
22498
22887
|
authoringKind_worldAuthor: "World author during play (invents places, people and things the story needs)",
|
|
22888
|
+
assistants: "Assistant defaults",
|
|
22889
|
+
assistantsHint: "Defaults for import, translation and authoring helpers, plus the fallback thinking level for story helpers. Changes take effect at once; each story can override its own helper settings.",
|
|
22890
|
+
importReasoningLabel: "Thinking level",
|
|
22891
|
+
importReasoningHint: "How hard the helper agents of imports, translation and authoring think, as a level the model offers, for example off or low. Empty uses the helper level below, then the chat's own. A model that thinks without end never answers: set off if an import stalls.",
|
|
22892
|
+
childReasoningLabel: "Thinking level of story helpers",
|
|
22893
|
+
childReasoningHint: "The level the helpers of a story (characters, record keeper, authors, suggestions) get when the chat's own setting is empty. Empty is your own level.",
|
|
22894
|
+
importModelLabel: "Model",
|
|
22895
|
+
importModelHint: "The model the helper agents run on, written provider/model. Empty is the model of the chat.",
|
|
22896
|
+
importTemperatureLabel: "Temperature",
|
|
22897
|
+
importTemperatureHint: "How freely they write, from 0 to 2. Low, because they copy and sort what a card says. Default 0.2.",
|
|
22898
|
+
importMaxTokensLabel: "Most tokens per request",
|
|
22899
|
+
importMaxTokensHint: "The most one model request of a helper may produce, thinking included. Default 16000.",
|
|
22900
|
+
importTimeoutMinutesLabel: "Minutes before a helper is stopped",
|
|
22901
|
+
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
|
+
importConcurrencyLabel: "Helpers at once",
|
|
22903
|
+
importConcurrencyHint: "How many helpers of an import run side by side, 1 to 16. A local model serves few at a time. Default 4.",
|
|
22904
|
+
importDecisionsLabel: "Decision model for sorting a card",
|
|
22905
|
+
importDecisionsHint: "Use the language model for every piece of a card, or let the selected decision model settle pieces that are only instructions or notes first. Anything it is unsure about still goes to the language model. The language model is the default.",
|
|
22906
|
+
importConfidenceLabel: "Decision model confidence",
|
|
22907
|
+
importConfidenceHint: "How sure the decision model must be before its answer is taken, from 0 to 1. Default 0.7.",
|
|
22908
|
+
authoringApprovalLabel: "Changes by the world authoring chat",
|
|
22909
|
+
authoringApprovalHint: "Ask shows each change to the world and waits for your answer. Automatic makes the changes at once; anything it replaces or deletes is kept in the world's .trash folder. Imports always make their own changes without asking. Ask is the default.",
|
|
22910
|
+
authoringApprovalAsk: "Ask for each change",
|
|
22911
|
+
authoringApprovalAuto: "Make changes automatically",
|
|
22912
|
+
importDecisionLlm: "Language model",
|
|
22913
|
+
importDecisionModel: "Decision model first",
|
|
22914
|
+
assistantInvalidRange: "Enter a number from {min} to {max}.",
|
|
22915
|
+
assistantInvalidChoice: "Choose one of the available options.",
|
|
22916
|
+
redundantLayers: "The profile selects the bundle layer of a single Role Play package next to the \"all\" bundle, so a Role Play plugin row exists twice and DSH refuses to save these settings. Deselect the other Role Play layers in your plugin manager (keep the packages installed), leave only @dsh-agentic-roleplay/all, and restart.",
|
|
22917
|
+
limits: "Upload and download limits",
|
|
22918
|
+
limitsHint: "Size limits for what the plugin accepts, and how long it keeps what an update replaced. They apply at once.",
|
|
22919
|
+
importMaxUploadBytesLabel: "Largest upload (bytes)",
|
|
22920
|
+
importMaxUploadBytesHint: "The most a character card, preset or lorebook upload may be. Big cards with lorebooks and scripts reach tens of megabytes. Default 104857600 (100 MB).",
|
|
22921
|
+
catalogueMaxBytesLabel: "Largest catalogue download (bytes)",
|
|
22922
|
+
catalogueMaxBytesHint: "The most a world downloaded from a catalogue may be, compressed and again unpacked. Default 268435456 (256 MB).",
|
|
22923
|
+
catalogueTrashDaysLabel: "Days to keep replaced files",
|
|
22924
|
+
catalogueTrashDaysHint: "How long the files an update replaced stay in the trash folder before they are deleted. 0 keeps them for good. Default 30.",
|
|
22499
22925
|
sync: "Sync with other devices",
|
|
22500
22926
|
syncHint: "Keeps the data folder in step with a folder on a remote, through rclone: each world, each session and each shared folder is synced as one unit and is left alone while it syncs. Leave the remote empty to keep sync off. The sync page lists the units.",
|
|
22501
22927
|
syncRemote: "Remote and folder",
|
|
@@ -22551,6 +22977,43 @@ window.__ModuleLoader__.load({
|
|
|
22551
22977
|
authoringKind_presetAuthoring: "预设创作助手",
|
|
22552
22978
|
authoringKind_lorebookAuthoring: "世界书创作助手",
|
|
22553
22979
|
authoringKind_worldAuthor: "游戏中的世界作者(为故事补充所需的地点、人物和物品)",
|
|
22980
|
+
assistants: "助手默认设置",
|
|
22981
|
+
assistantsHint: "设置导入、翻译与创作助手的默认值,以及故事助手在未单独指定时使用的思考强度。修改立即生效;每个故事仍可覆盖自己的助手设置。",
|
|
22982
|
+
importReasoningLabel: "助手思考强度",
|
|
22983
|
+
importReasoningHint: "导入、翻译和创作所用的助手代理思考的强度,须是模型提供的级别,例如 off 或 low。留空则使用下面的助手级别,再留空则与对话本身一致。一直思考的模型永远不会作答:导入卡住时请设为 off。",
|
|
22984
|
+
childReasoningLabel: "故事助手的思考强度",
|
|
22985
|
+
childReasoningHint: "对话自己的设置为空时,故事助手(角色、记录员、作者、建议)使用的级别。留空则与你自己选择的一致。",
|
|
22986
|
+
importModelLabel: "助手使用的模型",
|
|
22987
|
+
importModelHint: "助手代理使用的模型,写作 provider/model。留空则使用对话的模型。",
|
|
22988
|
+
importTemperatureLabel: "温度",
|
|
22989
|
+
importTemperatureHint: "它们写作的自由度,0 到 2。取低值,因为它们是在抄写和整理卡片的内容。默认 0.2。",
|
|
22990
|
+
importMaxTokensLabel: "每次请求的最大 token 数",
|
|
22991
|
+
importMaxTokensHint: "助手一次模型请求最多产生的 token 数,包括思考。默认 16000。",
|
|
22992
|
+
importTimeoutMinutesLabel: "助手的时限(分钟)",
|
|
22993
|
+
importTimeoutMinutesHint: "助手超过这个时间仍没有给出结果就会被停止,该步骤会说明原因,因此失控的助手不会让导入卡上几个小时。0 表示不限制。默认 15。",
|
|
22994
|
+
importConcurrencyLabel: "同时运行的助手数",
|
|
22995
|
+
importConcurrencyHint: "导入时并行运行的助手数量,1 到 16。本地模型一次只能服务很少几个。默认 4。",
|
|
22996
|
+
importDecisionsLabel: "整理卡片时的决策模型",
|
|
22997
|
+
importDecisionsHint: "可以让语言模型判断卡片的每个片段,也可以先由所选的决策模型处理仅包含指令或说明的片段;它没把握的内容仍交给语言模型。默认使用语言模型。",
|
|
22998
|
+
importConfidenceLabel: "决策模型的把握程度",
|
|
22999
|
+
importConfidenceHint: "决策模型要有多大把握才采纳它的回答,0 到 1。默认 0.7。",
|
|
23000
|
+
authoringApprovalLabel: "世界创作对话的修改",
|
|
23001
|
+
authoringApprovalHint: "“逐项询问”会展示每一处对世界的修改并等待你回答;“自动修改”则直接修改,被替换或删除的内容保存在世界的 .trash 文件夹中。导入始终无需询问就自行修改。默认逐项询问。",
|
|
23002
|
+
authoringApprovalAsk: "逐项询问",
|
|
23003
|
+
authoringApprovalAuto: "自动修改",
|
|
23004
|
+
importDecisionLlm: "语言模型",
|
|
23005
|
+
importDecisionModel: "优先使用决策模型",
|
|
23006
|
+
assistantInvalidRange: "请输入 {min} 到 {max} 之间的数字。",
|
|
23007
|
+
assistantInvalidChoice: "请选择一个可用选项。",
|
|
23008
|
+
redundantLayers: "配置档案在选中「all」套件的同时,还选中了某个角色扮演单包的套件层,导致角色扮演的插件行出现两次,DSH 因此拒绝保存这些设置。请在插件管理器中取消选中其他角色扮演层(包保持安装),只留下 @dsh-agentic-roleplay/all,然后重启。",
|
|
23009
|
+
limits: "上传与下载限制",
|
|
23010
|
+
limitsHint: "插件接收内容的大小限制,以及更新后被替换的文件保留多久。立即生效。",
|
|
23011
|
+
importMaxUploadBytesLabel: "上传大小上限(字节)",
|
|
23012
|
+
importMaxUploadBytesHint: "角色卡、预设或世界书上传的最大体积。带世界书和脚本的大卡可达数十 MB。默认 104857600(100 MB)。",
|
|
23013
|
+
catalogueMaxBytesLabel: "目录下载大小上限(字节)",
|
|
23014
|
+
catalogueMaxBytesHint: "从目录下载的世界的最大体积,压缩后和解压后都不得超过。默认 268435456(256 MB)。",
|
|
23015
|
+
catalogueTrashDaysLabel: "被替换文件的保留天数",
|
|
23016
|
+
catalogueTrashDaysHint: "更新替换下来的文件在回收文件夹中保留多少天后删除。0 表示永久保留。默认 30。",
|
|
22554
23017
|
sync: "与其他设备同步",
|
|
22555
23018
|
syncHint: "通过 rclone 让数据文件夹与远端的一个文件夹保持一致:每个世界、每个会话和每个共享文件夹各自作为一个单元同步,同步期间不会被改动。远端留空即关闭同步。“同步”页面会列出各个单元。",
|
|
22556
23019
|
syncRemote: "远端和文件夹",
|
|
@@ -22589,6 +23052,7 @@ window.__ModuleLoader__.load({
|
|
|
22589
23052
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [
|
|
22590
23053
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", { children: t("title") }),
|
|
22591
23054
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: t("description") }),
|
|
23055
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SetupNotice, { t }),
|
|
22592
23056
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.SettingsForm, {
|
|
22593
23057
|
labels: formLabels(t),
|
|
22594
23058
|
state,
|
|
@@ -22628,6 +23092,30 @@ window.__ModuleLoader__.load({
|
|
|
22628
23092
|
props.edit("sync", text);
|
|
22629
23093
|
}
|
|
22630
23094
|
}),
|
|
23095
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(AssistantSettings, {
|
|
23096
|
+
t,
|
|
23097
|
+
group: "assistants",
|
|
23098
|
+
fields: state.assistants,
|
|
23099
|
+
disabled: !state.writable,
|
|
23100
|
+
onEdit: (field, text) => {
|
|
23101
|
+
props.edit(field, text);
|
|
23102
|
+
},
|
|
23103
|
+
onReset: (field) => {
|
|
23104
|
+
props.resetField(field);
|
|
23105
|
+
}
|
|
23106
|
+
}),
|
|
23107
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(AssistantSettings, {
|
|
23108
|
+
t,
|
|
23109
|
+
group: "limits",
|
|
23110
|
+
fields: state.assistants,
|
|
23111
|
+
disabled: !state.writable,
|
|
23112
|
+
onEdit: (field, text) => {
|
|
23113
|
+
props.edit(field, text);
|
|
23114
|
+
},
|
|
23115
|
+
onReset: (field) => {
|
|
23116
|
+
props.resetField(field);
|
|
23117
|
+
}
|
|
23118
|
+
}),
|
|
22631
23119
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(AuthoringToolSettings, {
|
|
22632
23120
|
t,
|
|
22633
23121
|
text: state.authoringTools.text,
|
|
@@ -22651,14 +23139,16 @@ window.__ModuleLoader__.load({
|
|
|
22651
23139
|
(0, _deepseek_ai_dsh_client_ui_primitives.settingsTextField)("rootPath"),
|
|
22652
23140
|
cataloguesField,
|
|
22653
23141
|
authoringToolsField,
|
|
22654
|
-
syncField
|
|
23142
|
+
syncField,
|
|
23143
|
+
...assistantFields
|
|
22655
23144
|
]);
|
|
22656
23145
|
this.store = this.form.bind(() => ({
|
|
22657
23146
|
...this.form.shell(),
|
|
22658
23147
|
rootPath: this.form.field("rootPath"),
|
|
22659
23148
|
catalogues: this.form.field("catalogues"),
|
|
22660
23149
|
authoringTools: this.form.field("authoringTools"),
|
|
22661
|
-
sync: this.form.field("sync")
|
|
23150
|
+
sync: this.form.field("sync"),
|
|
23151
|
+
assistants: Object.fromEntries(ASSISTANT_FIELDS.map((spec) => [spec.field, this.form.field(spec.field)]))
|
|
22662
23152
|
}));
|
|
22663
23153
|
}
|
|
22664
23154
|
inject() {
|
|
@@ -22859,28 +23349,28 @@ window.__ModuleLoader__.load({
|
|
|
22859
23349
|
}
|
|
22860
23350
|
tag$2.textContent = css$2;
|
|
22861
23351
|
var NarrationView_module_css_default = {
|
|
23352
|
+
"line": "rp_NFPimG_line",
|
|
22862
23353
|
"oocLabel": "rp_NFPimG_oocLabel",
|
|
22863
|
-
"playLine": "rp_NFPimG_playLine",
|
|
22864
23354
|
"dice": "rp_NFPimG_dice",
|
|
22865
|
-
"words": "rp_NFPimG_words",
|
|
22866
|
-
"imageError": "rp_NFPimG_imageError",
|
|
22867
|
-
"line": "rp_NFPimG_line",
|
|
22868
|
-
"narration": "rp_NFPimG_narration",
|
|
22869
|
-
"diceList": "rp_NFPimG_diceList",
|
|
22870
23355
|
"name": "rp_NFPimG_name",
|
|
22871
|
-
"
|
|
22872
|
-
"
|
|
23356
|
+
"words": "rp_NFPimG_words",
|
|
23357
|
+
"speech": "rp_NFPimG_speech",
|
|
23358
|
+
"images": "rp_NFPimG_images",
|
|
23359
|
+
"note": "rp_NFPimG_note",
|
|
22873
23360
|
"sceneImage": "rp_NFPimG_sceneImage",
|
|
22874
|
-
"
|
|
23361
|
+
"imageButton": "rp_NFPimG_imageButton",
|
|
22875
23362
|
"oocRefused": "rp_NFPimG_oocRefused",
|
|
22876
|
-
"
|
|
23363
|
+
"narration": "rp_NFPimG_narration",
|
|
23364
|
+
"diceSummary": "rp_NFPimG_diceSummary",
|
|
22877
23365
|
"preview": "rp_NFPimG_preview",
|
|
22878
|
-
"note": "rp_NFPimG_note",
|
|
22879
|
-
"avatar": "rp_NFPimG_avatar",
|
|
22880
|
-
"imageStatus": "rp_NFPimG_imageStatus",
|
|
22881
23366
|
"playAll": "rp_NFPimG_playAll",
|
|
22882
|
-
"
|
|
22883
|
-
"
|
|
23367
|
+
"diceList": "rp_NFPimG_diceList",
|
|
23368
|
+
"imageStatus": "rp_NFPimG_imageStatus",
|
|
23369
|
+
"output": "rp_NFPimG_output",
|
|
23370
|
+
"oocNote": "rp_NFPimG_oocNote",
|
|
23371
|
+
"imageError": "rp_NFPimG_imageError",
|
|
23372
|
+
"avatar": "rp_NFPimG_avatar",
|
|
23373
|
+
"playLine": "rp_NFPimG_playLine"
|
|
22884
23374
|
};
|
|
22885
23375
|
//#endregion
|
|
22886
23376
|
//#region src/client/transcript/PreviewNode.tsx
|
|
@@ -23145,11 +23635,11 @@ window.__ModuleLoader__.load({
|
|
|
23145
23635
|
}
|
|
23146
23636
|
tag$1.textContent = css$1;
|
|
23147
23637
|
var SuggestionsDock_module_css_default = {
|
|
23148
|
-
"label": "rp_rWH4DG_label",
|
|
23149
23638
|
"chip": "rp_rWH4DG_chip",
|
|
23150
|
-
"dock": "rp_rWH4DG_dock",
|
|
23151
23639
|
"card": "rp_rWH4DG_card",
|
|
23152
|
-
"
|
|
23640
|
+
"dock": "rp_rWH4DG_dock",
|
|
23641
|
+
"lines": "rp_rWH4DG_lines",
|
|
23642
|
+
"label": "rp_rWH4DG_label"
|
|
23153
23643
|
};
|
|
23154
23644
|
//#endregion
|
|
23155
23645
|
//#region src/client/transcript/SuggestionsDock.tsx
|
|
@@ -23269,12 +23759,12 @@ window.__ModuleLoader__.load({
|
|
|
23269
23759
|
}
|
|
23270
23760
|
tag.textContent = css;
|
|
23271
23761
|
var TurnsDock_module_css_default = {
|
|
23272
|
-
"button": "rp_f4YLlq_button",
|
|
23273
|
-
"group": "rp_f4YLlq_group",
|
|
23274
|
-
"count": "rp_f4YLlq_count",
|
|
23275
23762
|
"select": "rp_f4YLlq_select",
|
|
23276
23763
|
"error": "rp_f4YLlq_error",
|
|
23277
|
-
"
|
|
23764
|
+
"group": "rp_f4YLlq_group",
|
|
23765
|
+
"button": "rp_f4YLlq_button",
|
|
23766
|
+
"dock": "rp_f4YLlq_dock",
|
|
23767
|
+
"count": "rp_f4YLlq_count"
|
|
23278
23768
|
};
|
|
23279
23769
|
//#endregion
|
|
23280
23770
|
//#region src/client/transcript/withdrawn.ts
|