Session settings
Advanced settings can be chosen before a session starts and changed later in Chat settings. They are stored in settings.json beside the session database and read again before use.
The Fast preset button at the top of the form fills in settings that trade depth for speed: no thinking for the helper agents, no scene preview, no verification pass, no memory look-ups by characters, at most two rounds of three characters, no off-stage rounds, no automatic reflection and a closed world. Nothing is saved until you save or start the session, and each setting can be changed afterwards.
Important groups include:
- Rounds: maximum rounds and characters activated for one player message.
- Memory: imperfect memory, recall count, lookup tools, retrieval breadth, keeper verification and how quickly a perception fades after a belief has digested it.
- Reflection: whether the characters sort what they have taken in into what they believe by themselves, every how many turns, whether a change of scene also starts it, the fewest turns between two reflections, how many characters one takes up and how much new a character needs.
- Story plan: a helper writes a short private plan of what lies ahead (how threads may develop, deadlines, what others are working toward, consequences of what the player chooses), in the background and never in the way of a turn. It is manual by default: press Plan now in the chat settings whenever you want one, even after the first turn. With Plan automatically on, it makes the first plan after a few turns, looks again when something the plan counted on has happened (a trigger it made went off, a thread was settled), and at the least every few turns. It works only from the story's records, sets beats and cues for the game master and never changes a record, and drops an item once what would make it pointless has happened. It never plans what the player's character does, says or feels; a consequence may depend on the player's choice ("if the player goes out in the rain, a cold follows"). Only the game master sees a short direction from it in its scene; no character is told it and the chat never shows it. Each look is one request.
- Decision model: who judges the statements that triggers wait on and who checks a belief against what a character took in since: the language model (the default), a decision model, both with the decision model where it is sure, or both while only the language model's answer is used, so that you can see how often they agree. Without a decision service the language model is used. Another setting looks for sentences the narration already used in one of the last turns (Repeated sentences, off by default): only a sentence found by comparing words is asked about, and the decision model or the language model says whether the repeat is meant (a refrain, a catchphrase, a ritual) or stale filler, which is sent back to the game master. Strict needs no model and sends back every repeat; it is the cheapest, and it may refuse a repeat that was meant, so use it only for a world with nothing that should repeat. Two more settings turn on checks of what the game master delivers, both off by default: that the narration does not speak, act or think for your character beyond what you wrote, and that the output does not step out of the story (a refusal, a warning, a disclaimer). A fault sends the narration back to the game master to rewrite, at most twice, after which it is delivered as it is. Two further checks need a decision model and have no language model version; both are off by default, and off the story plays as it always did: when the game master judges your action allowed, the decision model also checks it against every rule of the world and your own rules in one fast pass, and a rule it thinks is broken is put to the game master once to judge again; and the output is checked for stating hidden lore your character does not know (lore listed for other characters only), which sends it back like the other checks. Without a decision service neither check is made.
- Pinned facts: facts you fix for this story, one per line. The game master and the record keeper are told them every turn and cannot change or remove them; only you can, here. If play runs into a pin, or the story has established something worth fixing, the game master can say so in a note beside the story, and you decide. Characters are not given pins directly: they still know only what they have learned. Pins are not rolled back with the story, so rewinding does not remove one. With a decision model selected, each pin is also checked against what you do, so an action that would break one is put to the game master to judge again; start a line with
~for a soft pin that is only told and never checked. - Context: explicit token limit or a ratio of the selected model's context window, plus short- and long-term summary sizes.
- Authoring: whether the GM may ask the world author to create missing entities and how many may be added per turn.
- Images: generation mode, reference handling, reuse, interpretation and captioning models, and the hires fix (render again larger from the first result, when the image service can).
- Prompts: prompt language and overrides.
- Preset: the preset the story's narration instructions came from. In Chat settings a Preset section says whether the story still matches the library and can switch, re-apply or remove it. At the start the preset also fills the narrator and character temperatures you did not set.
- Interface pack: which interface pack the story uses, or none; the Scene pack that ships with the plugin can be named in any world. In Chat settings this is a section of its own that also reports problems and can bring in the world's newer packs.
- Reasoning and sampling: child-agent reasoning and role-specific model sampling.
- Dice: whether you see what the game master rolls: a collapsed card under the narration to open when you want to check, or nothing, to stay in the story. The dice are rolled either way. Run
/roll 2d6+1 pick the lockto roll yourself; the result is told to the game master as a fact. - Tools: the optional tools each kind of agent (game master, characters, record keeper) may use, as switches. A choice applies to every agent of that kind, not to one character. In Chat settings it is the Tools section, saved as you switch; a world can set its own in the editor, and a story starts from what its world says. Besides the game master's dice tools, a character's look-ups (
recall_my_memories,recall_my_known_entities,recall_my_lore) and four of the record keeper's (search_events,list_threads,list_relationships,list_items) can be switched off to make their requests cheaper; all are on by default. The record keeper'sread_recordsandedit_records, and its place, faction, item, agenda and variable look-ups, are not optional. Names that this version does not know are kept in the file and not shown, so a world moved between versions with more or fewer tools still loads. - Tools from other plugins: under each kind of agent, a folded list of the tools other plugins registered for everyone (file or shell access, an MCP server such as a search engine). They are off unless you switch them on, per kind of agent: the game master, the characters (all of them), the record keeper. Without a switch an agent does not see them, not even on its first request, so loading such a plugin into the profile does not give your story's agents file or shell access by itself. A tool acts with the permissions its plugin has, so switch on only what the agent should be able to do. A character that is away from the player (asked off stage, or writing while you are gone) never gets them, because nobody is playing to see what it does. A switched-on tool that is not registered now is kept and has no effect.
- Characters keep to their days: on by default. The characters who have a daily routine are where it puts them and sleep when it says so (a window marked as sleep). What you do can take a character off its routine for a while: one you lead elsewhere, send on an errand or wake is not pulled back before the time the game master said, or, when it said nothing, before its day next changes. A character told or choosing to stay, wait or watch until you come back (or sent on an errand that ends with you) stays where the story left it, whatever its routine says, until you are with it again or a day has passed. The game master can mark that itself, and a decision model also looks after each turn ("Keeping characters who wait for you", on by default; it needs a decision service). A sleeping character takes no part unless what you do wakes it, and
/dreamtakes you into its dream. Your own character has no routine and never sleeps through one. Off, nobody keeps a routine or sleeps and nothing moves by itself, for a story whose characters have no days to keep. - The story goes on while you are away: off by default, in a story and in a world (a world can only suggest it: your own choice at the start wins). On, and on the real clock, the characters keep to their days while nobody plays: at each look (every
autonomyTickSeconds, 30 by default, in the plugin settings) the characters outside your scene are where their routines have them, which costs no model request. After you have been awayautonomy.idleMinutesand no longer thanautonomy.awayHours, a character who knows you, is awake and is not with you may write you a short message. Two things can start one: at each look there is a chance (autonomy.chance) that someone writes, and each message already sent with no reply multiplies it byautonomy.decay, so a story left alone gets a couple of messages and then goes quiet; and a character whose day has just changed (work is over, it woke up) has its own chance (autonomy.transitionChance). With a decision model and Checking that a character has a reason to write on, the decision model also says whether the picked character has a reason, and chance alone decides without one. The same character writes at most once perautonomy.messageGapMinutes, chosen by how close you are and how long you have been away. The message is shown beside the story and told to the story at your next message. Afterautonomy.maxUnansweredthings in a row with no message from you, nothing more runs until you write, so a story left alone does not keep asking the model. Three more things happen at a look, and none of them needs a message from you. A commitment that falls due for characters who are not with you (a meeting, a deadline) is dealt with at once, as after a turn, within the same allowance (offstage.perTurn), instead of waiting for your next message. Characters who were made up in play and wait to be fitted into the world are fitted in, which also gives a character that has no routine a day. And someone who is asleep can be left a message: when what you do is meant for a sleeper and does not wake them (a text sent to someone asleep elsewhere), the game master leaves it for them instead of asking them, the scene tells it how many things wait for each sleeper, and they answer once awake as a message, whatever the chance, gap and count above say, unless it waited longer thanautonomy.awayHours. Waking someone stays the game master's decision. Nothing of this runs for a story on the simulated clock. - Folders for the file tools: DSH's file tools (
read,read_image,write,edit,glob,grep,apply_patch), when you switch them on for an agent of a story, reach only theworkspacefolder of the roleplay root, which every story shares, and the folders you give that story under Chat settings, each read-only or read and write. Paths must be whole paths: the game master is told where its workspace and the given folders are, and a call outside them is refused with that reason, whatever it asks for and for any agent of the story. A read of a folder is answered with the files the folder holds, so that an agent does not try the same folder again. DSH's file tools are plugins of their own (tool-fsandtool-fs-search), and the roleplay bundle's profile has them switched off: switch them on in the profile before the tools can appear in the list. A branch of a story starts with the same folders as the story it came from, and changes to either afterwards stay its own. The roleplay root itself, the folder above it and DSH's own home cannot be given, because they hold every story. The shell and terminal tools are not held to these folders: they stay off unless you switch them on, and then act with the permissions of their plugin. - Models: the model of each kind of helper (characters, background characters, record keeper, suggestion writer, world and plot author) as
provider/model; empty uses the chat's own. Characters run side by side and write short answers, and the keeper runs in the background, so a smaller, faster model often does as well there. - Provider options: settings described by the selected embedding or media provider.
The What the world put in front of the story list above it shows what triggers delivered lately: beats for the game master and cues for characters, each marked waiting, taken up (the game master wove the beat in, or a character acted on the cue) or lapsed (nobody did in time). Use it to see whether a trigger had an effect.
The Decision model section shows whether a decision service is available and which, and, for each site that can use one, what it is set to and how it has done in this story: how many judgements the decision model made, how many it handed to the language model because it was not sure, how many fell back because it could not be used, how often it agreed with the language model when both were asked, how long each took on average, and the latest disagreements. The counts stay with the story when it is taken back.
The Reflection section shows when the characters last sorted their memories, what each came to (new beliefs, changed, let go) and why a pass failed when it did. Reflect now starts a pass at once, also when automatic reflection is off; it runs in the background, and cannot be started while a turn is being played or another pass is running.
The Session doctor section opens a separate chat for this story (see Sessions): an assistant that reads what the story has recorded, looks for what does not fit, and proposes fixes that you approve one by one.
What the helpers did lately lists each helper's model, duration, tool calls, tokens and failure reason. Open a run to see its requests, prompt size, time to first output and whether the output limit cut it off.
Tokens per turn adds up the game master and every helper that worked for that turn, including background work completed after delivery. Cached input is shown separately when the provider reports it. A missing cache figure is labelled "cache not reported", not zero. DSH does not know the provider's prices, so this page does not estimate cost. Taking the story back removes usage for turns that no longer count.
The chat's Trajectory tab holds the game master's requests, timing, usage and failed tool calls. A refused call includes its reason there.
Where each turn went keeps diagnostics for the latest 30 turns. Open a turn to inspect:
- time spent waiting, generating and calling tools, split between work before and after delivery;
- the game master's largest prompt, divided into instructions, tools, scene context, current input, current steps and earlier conversation;
- refused or repeated calls, steering messages and outputs cut off at their limit;
- earlier events recalled for the player input, why they matched, and how many matches were left out;
- what each character received, compared with information the story did not give that character.
Prompt sizes are estimates from the text because the model service reports only the whole request. Turn on Keep what the helpers were told to include the names behind the character-access counts.
When you need to know why a helper said or wrote what it did, turn on Keep what the helpers were told (diagnostics.keepRuns), play, and open a run with Show: you see its instructions, what it was asked, each tool call with what came back, and the result it submitted. For a character it also lists what it was reminded of and why each memory came back: the cues (names, shared words, place), the scores of the word and meaning searches and of the reranker when they ran, how much it mattered, how long ago it was and how much of it is still in mind. The latest 60 runs are kept in the session's folder. The texts include what characters know in private, so leave it off when you are not looking for a problem.
Each run in the activity list shows its brief in parts (each paragraph that opens with a heading line, such as Where you are, with its estimated size, largest first), whether or not the chat keeps runs. A character acting while the player is elsewhere is marked off stage, and a background run is listed under the turn that caused it: reflection, fitting made-up things into the world, the world author, suggestions, organisations and the judging of trigger statements are filed under the turn that was delivered when they were asked for, even when they wait their turn and run during the next one. Other helpers are listed under the turn that was current when they started. In the turn breakdown, each character's row also has a Show link to exactly what it was told for that activation when the chat keeps runs; without that setting the row says so.
Story statistics (Chat settings, read when you open it) counts the shape of the story from what is kept: turns on the way the story went, how long you waited for the game master, how much story time has passed, scenes (stretches of events in one place), who spoke how often and what share of the words, how much is narration, threads open and closed, relationships that changed in play, turns played more than once from the same state and turns set aside, and the tokens the game master and the helpers used. It judges nothing and is read-only.
An invalid external edit is logged and the last valid settings remain active. The complete defaults are listed in Configuration reference.
Recall check
Open Recall check from the right sidebar and describe a possible moment. Choose one character, or leave it on everyone with the player. The page shows the memories each character would receive, their clarity, and the factors behind their ranking. It also lists available background and counts of known people, places, things and routes.
Meaning search requires stored vectors and an embedding service; word search still works without them. A recall check does not play a turn, call a language model, or make the returned memories last longer.
Settings with no form field used to be edited only in settings.json; the form now has them all: the game master's and the helpers' output caps and the output room, whether helpers must answer with a tool call (sampling.tools), the sizes of the short-term and long-term summaries and how long a cue stays pending. A model that thinks without end stops at the game master's cap (default 12000 tokens) instead of running for minutes.
Summary content
When the conversation grows past its limit, older turns are folded into digests, chapters and a condensed history (Summary content, context.account). By default these are the recorded events themselves, the least important dropped until they fit, so no helper is asked and nothing is added to what was recorded; the text is plainer for it. Choose Written to have a helper write them from the events instead: smoother prose, but it sometimes adds interpretation the events do not state. Events cover only what the keeper recorded, so a span with no recorded events is still written by the helper.
Story plan
Story plan in Chat settings keeps one private plan of what is heading the story's way: up to five items, each with what would make it pointless, and a short direction that only the game master reads. Press Plan now to have a helper look at the story and revise it; it is refused while a turn is being played. With plan.auto on, the plan is also made after the first turn and revised every few turns. The plan can set triggers that only carry a beat or a cue, never a change to the records, and it never decides what the player's character does.
Import and authoring assistants
Importing a card, a preset or a lorebook, translating a world and the world author's own helpers run as small agents. They are set once for the whole plugin, not per story: Settings → Role Play → Imports and authoring assistants. Helper jobs read changes when they start. An open authoring chat picks up a changed thinking level when DSH next loads its agent.
- Thinking level: how hard they think, as a level the model offers (for example
off). A model that thinks without end never gives an answer, so setoffwhen an import stalls. It also applies to the authoring chats themselves (the world, preset and lorebook assistants you talk to), whose model must offer the level. Empty uses the level of the story helpers below it, then the chat's own. - Thinking level of story helpers: the level the characters, record keeper, authors and suggestion writer of a story get when the chat's own setting is empty.
- Model: a
provider/modelfor these helpers; empty uses the chat's model. - Temperature, most tokens per request and helpers at once: how freely they write (low by default, because they copy and sort), how long one answer may be, thinking included, and how many run side by side.
- Most tokens per request is a ceiling: each job also has its own, smaller one for the answer it needs, and a helper that writes text up to its limit instead of giving its result is stopped at once rather than reminded. An authoring chat's reply that runs out of room is steered back to act or to sum up.
- Minutes before a helper is stopped: a helper that has no result after this long (15 by default, 0 never) is stopped and the step says why, so a run-away helper cannot hold an import for hours. Stopping the chat's turn stops them too.
- Decision model for sorting a card: with
decision, and a decision model selected in the providers, the pieces of a card that are only instructions or notes are settled by the decision model when it is sure (confidence, 0.7 by default) and are not put to the language model; anything it is unsure of, or any failure, goes to the language model as usual. The survey reports how many pieces it settled. The deep quality check that asks whether a character sheet is enough to play uses it the same way. - Changes by the world authoring chat:
Ask for each change(the default) shows every change to the world and waits;Make changes automaticallymakes them at once and keeps anything replaced or deleted in the world's.trashfolder. See the authoring assistant.
The instructions the helpers are given are the import prompts in the data folder's prompts and follow the language the world's authoring chat was opened in, as does the label of each piece they are shown and the chat's title.
Upload and download limits sit in the section below it and apply at once: the largest upload of a card, preset or lorebook (100 MB by default), the largest catalogue download (256 MB) and how many days the files an update replaced stay in the trash folder (30; 0 keeps them).