@dsh-agentic-roleplay/core 0.2.1 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{chat-AKrVcWIC.js → access-EbNdZFbk.js} +10 -2
- package/lib/authoring.js +193 -227
- package/lib/client.js +2710 -1322
- package/lib/client.js.map +1 -1
- package/lib/compaction.js +2 -3
- package/lib/deliver-BDW5WZvc.js +2262 -0
- package/lib/{documents-Bu5uYRZB.js → documents-DtlY2IRt.js} +958 -10
- package/lib/{gallery-DUeBMHQX.js → gallery-DACG5eh2.js} +2 -2
- package/lib/{generator-HPifO3Kk.js → generator-DGYcLMp7.js} +2 -2
- package/lib/images.js +3 -3
- package/lib/index.js +419 -23
- package/lib/{narration-BRyHU0H2.js → narration-5ig7Dg28.js} +12 -2
- package/lib/orchestration.js +458 -342
- package/lib/{packs-ByP1J-zj.js → packs-CkRZDCsV.js} +51 -5
- package/lib/{presenter-agent-G43ODV8I.js → presenter-agent-PK9JYExk.js} +4 -4
- package/package.json +5 -4
- package/packs/scene/map.html +12 -0
- package/packs/scene/map.js +55 -0
- package/packs/scene/pack.json +11 -0
- package/packs/scene/strip.html +11 -0
- package/packs/scene/strip.js +26 -0
- package/packs/scene/style.css +16 -0
- package/prompts/en/roleplay/character-decide.md +1 -1
- package/prompts/en/roleplay/character-rules.md +1 -1
- package/prompts/en/roleplay/chronicler.md +1 -1
- package/prompts/en/roleplay/game-master.md +1 -1
- package/prompts/en/roleplay/reflection.md +9 -0
- package/prompts/en/roleplay/style.md +1 -1
- package/prompts/en/roleplay/suggester.md +1 -1
- package/prompts/en/translate/document.md +6 -0
- package/prompts/en/translate/glossary.md +5 -0
- package/prompts/en/translate/notice.md +2 -0
- package/prompts/en/world/procedure.md +1 -1
- package/prompts/en/world/welcome.md +1 -1
- package/prompts/zh/roleplay/character-decide.md +1 -1
- package/prompts/zh/roleplay/character-rules.md +1 -1
- package/prompts/zh/roleplay/chronicler.md +1 -1
- package/prompts/zh/roleplay/game-master.md +1 -1
- package/prompts/zh/roleplay/reflection.md +9 -0
- package/prompts/zh/roleplay/style.md +1 -1
- package/prompts/zh/roleplay/suggester.md +1 -1
- package/prompts/zh/translate/document.md +6 -0
- package/prompts/zh/translate/glossary.md +5 -0
- package/prompts/zh/translate/notice.md +2 -0
- package/prompts/zh/world/procedure.md +1 -1
- package/prompts/zh/world/welcome.md +1 -1
- package/lib/access-C1nFQiyT.js +0 -12
- package/lib/activity-t7OBgHlc.js +0 -1386
|
@@ -59,7 +59,8 @@ const SETTINGS_SPEC = {
|
|
|
59
59
|
backlogRounds: integer(1, 100, 6),
|
|
60
60
|
overRetrieve: integer(1, 10, 4),
|
|
61
61
|
associate: integer(0, 10, 2),
|
|
62
|
-
diversity: ratio(0, 1, .3)
|
|
62
|
+
diversity: ratio(0, 1, .3),
|
|
63
|
+
foldedFade: ratio(.05, 1, .5)
|
|
63
64
|
},
|
|
64
65
|
context: {
|
|
65
66
|
limitTokens: integer(0, 1e6, 0),
|
|
@@ -104,6 +105,15 @@ const SETTINGS_SPEC = {
|
|
|
104
105
|
perTurn: integer(0, 3, 1),
|
|
105
106
|
everyDays: integer(1, 365, 3)
|
|
106
107
|
},
|
|
108
|
+
reflection: {
|
|
109
|
+
auto: flag(true),
|
|
110
|
+
everyTurns: integer(0, 500, 20),
|
|
111
|
+
onSceneChange: flag(true),
|
|
112
|
+
sceneDays: integer(0, 365, 1),
|
|
113
|
+
minTurns: integer(1, 100, 5),
|
|
114
|
+
perRun: integer(1, 6, 3),
|
|
115
|
+
minNew: integer(1, 50, 4)
|
|
116
|
+
},
|
|
107
117
|
models: {
|
|
108
118
|
characters: text(200, ""),
|
|
109
119
|
background: text(200, ""),
|
|
@@ -355,4 +365,4 @@ function decodeOutput(text) {
|
|
|
355
365
|
//#endregion
|
|
356
366
|
export { liveSettings as a, writeSettings as c, parseSettings as d, WORLD_RULES_KEY as f, InvalidSettingsError as i, DEFAULT_SETTINGS as l, encodeOutput as n, readSettings as o, rulesOf as p, encodePreview as r, useChildReasoning as s, decodeOutput as t, SETTINGS_SPEC as u };
|
|
357
367
|
|
|
358
|
-
//# sourceMappingURL=narration-
|
|
368
|
+
//# sourceMappingURL=narration-5ig7Dg28.js.map
|