@dsh-agentic-roleplay/core 0.1.1 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/{activity-BbqFG9-3.js → activity-t7OBgHlc.js} +255 -61
- package/lib/authoring.js +295 -14
- package/lib/client.js +1896 -453
- package/lib/client.js.map +1 -1
- package/lib/compaction.js +1 -1
- package/lib/{documents-ZVoUTnD2.js → documents-Bu5uYRZB.js} +3 -3
- package/lib/{gallery-KGCdeCnM.js → gallery-DUeBMHQX.js} +2 -2
- package/lib/{generator-NYnNdpWb.js → generator-HPifO3Kk.js} +125 -20
- package/lib/images.js +3 -3
- package/lib/index.js +638 -14
- package/lib/{narration-DcnCqA1l.js → narration-BRyHU0H2.js} +10 -4
- package/lib/orchestration.js +303 -161
- package/lib/packs-ByP1J-zj.js +1334 -0
- package/lib/{presenter-agent-7j1c7QEz.js → presenter-agent-G43ODV8I.js} +3 -3
- package/package.json +4 -3
- package/prompts/en/roleplay/ask-answerer.md +3 -0
- package/prompts/en/roleplay/ask-question.md +2 -0
- package/prompts/en/roleplay/character-decide.md +1 -1
- package/prompts/en/roleplay/character-lookup.md +1 -1
- package/prompts/en/roleplay/game-master.md +5 -1
- package/prompts/en/roleplay/ooc-empty.md +1 -1
- package/prompts/en/world/procedure.md +1 -1
- package/prompts/zh/roleplay/ask-answerer.md +3 -0
- package/prompts/zh/roleplay/ask-question.md +2 -0
- package/prompts/zh/roleplay/character-decide.md +1 -1
- package/prompts/zh/roleplay/character-lookup.md +1 -1
- package/prompts/zh/roleplay/game-master.md +5 -1
- package/prompts/zh/roleplay/ooc-empty.md +1 -1
- package/prompts/zh/world/procedure.md +1 -1
- package/starter-worlds/blackwater-observatory/ui/notebook/map.html +12 -0
- package/starter-worlds/blackwater-observatory/ui/notebook/map.js +40 -0
- package/starter-worlds/blackwater-observatory/ui/notebook/notebook.html +29 -0
- package/starter-worlds/blackwater-observatory/ui/notebook/notebook.js +45 -0
- package/starter-worlds/blackwater-observatory/ui/notebook/pack.json +31 -0
- package/starter-worlds/blackwater-observatory/ui/notebook/skin.css +16 -0
- package/starter-worlds/blackwater-observatory/ui/notebook/strip.html +11 -0
- package/starter-worlds/blackwater-observatory/ui/notebook/strip.js +12 -0
- package/starter-worlds/blackwater-observatory/ui/notebook/style.css +23 -0
- package/lib/worlds-DYgjdH8O.js +0 -504
|
@@ -57,7 +57,9 @@ const SETTINGS_SPEC = {
|
|
|
57
57
|
lookupCalls: integer(1, 20, 5),
|
|
58
58
|
verify: flag(true),
|
|
59
59
|
backlogRounds: integer(1, 100, 6),
|
|
60
|
-
overRetrieve: integer(1, 10, 4)
|
|
60
|
+
overRetrieve: integer(1, 10, 4),
|
|
61
|
+
associate: integer(0, 10, 2),
|
|
62
|
+
diversity: ratio(0, 1, .3)
|
|
61
63
|
},
|
|
62
64
|
context: {
|
|
63
65
|
limitTokens: integer(0, 1e6, 0),
|
|
@@ -78,6 +80,7 @@ const SETTINGS_SPEC = {
|
|
|
78
80
|
roundSeconds: integer(0, 3600, 30),
|
|
79
81
|
maxSkipDays: integer(1, 3650, 30)
|
|
80
82
|
},
|
|
83
|
+
diagnostics: { keepRuns: flag(false) },
|
|
81
84
|
offstage: {
|
|
82
85
|
perTurn: integer(0, 5, 2),
|
|
83
86
|
perCharacter: integer(1, 3, 1),
|
|
@@ -87,12 +90,13 @@ const SETTINGS_SPEC = {
|
|
|
87
90
|
sampling: {
|
|
88
91
|
master: ratio(0, 2, .7),
|
|
89
92
|
characters: ratio(0, 2, .8),
|
|
90
|
-
suggestions: ratio(0, 2, .
|
|
93
|
+
suggestions: ratio(0, 2, .2),
|
|
91
94
|
authoring: ratio(0, 2, .4),
|
|
92
95
|
records: ratio(0, 2, .1),
|
|
93
96
|
tools: choice(["auto", "required"], "required"),
|
|
94
97
|
maxTokens: integer(256, 64e3, 8e3),
|
|
95
|
-
shortMaxTokens: integer(256, 64e3, 2e3)
|
|
98
|
+
shortMaxTokens: integer(256, 64e3, 2e3),
|
|
99
|
+
headroom: ratio(1, 10, 2)
|
|
96
100
|
},
|
|
97
101
|
prompts: { language: text(8, "en") },
|
|
98
102
|
reasoning: { children: text(40, "") },
|
|
@@ -102,6 +106,7 @@ const SETTINGS_SPEC = {
|
|
|
102
106
|
},
|
|
103
107
|
models: {
|
|
104
108
|
characters: text(200, ""),
|
|
109
|
+
background: text(200, ""),
|
|
105
110
|
records: text(200, ""),
|
|
106
111
|
suggestions: text(200, ""),
|
|
107
112
|
authoring: text(200, "")
|
|
@@ -113,6 +118,7 @@ const SETTINGS_SPEC = {
|
|
|
113
118
|
cueTurns: integer(1, 20, 2),
|
|
114
119
|
judgedPerTurn: integer(0, 5, 2)
|
|
115
120
|
},
|
|
121
|
+
interface: { pack: text(60, "") },
|
|
116
122
|
rewind: { keepSnapshots: integer(0, 500, 30) },
|
|
117
123
|
rules: { own: text(MAX_OWN_RULES, "") },
|
|
118
124
|
preview: { enabled: flag(true) },
|
|
@@ -349,4 +355,4 @@ function decodeOutput(text) {
|
|
|
349
355
|
//#endregion
|
|
350
356
|
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 };
|
|
351
357
|
|
|
352
|
-
//# sourceMappingURL=narration-
|
|
358
|
+
//# sourceMappingURL=narration-BRyHU0H2.js.map
|