2026-11-14 03:15:53 +00:00
|
|
|
<!doctype html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2026-11-15 14:46:00 +00:00
|
|
|
<title>Tiny Worlds</title>
|
2026-11-14 03:15:53 +00:00
|
|
|
<link rel="stylesheet" href="/style.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header>
|
2026-11-15 14:46:00 +00:00
|
|
|
<a id="home-link" href="/">Tiny Worlds</a>
|
2026-11-14 20:01:15 +00:00
|
|
|
<span id="who"></span>
|
2026-11-14 23:48:27 +00:00
|
|
|
<div id="session-info"></div>
|
2026-11-14 03:15:53 +00:00
|
|
|
<div id="context-meter" title="context usage of the last call">
|
|
|
|
|
<div id="context-bar"><div id="context-fill"></div></div>
|
|
|
|
|
<span id="context-label"></span>
|
|
|
|
|
</div>
|
2026-11-14 09:04:13 +00:00
|
|
|
<button id="diag-btn" title="diagnostics log">log</button>
|
2026-11-14 03:15:53 +00:00
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<main>
|
2026-11-14 20:01:15 +00:00
|
|
|
<section id="view-claim" hidden>
|
|
|
|
|
<h1>claim an invite</h1>
|
|
|
|
|
<p class="hint" id="claim-hint"></p>
|
|
|
|
|
<form id="claim-form">
|
|
|
|
|
<label class="field">invite code <input id="claim-code" autocomplete="off"></label>
|
|
|
|
|
<label class="field">display name <input id="claim-name" autocomplete="off"></label>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<button type="submit" class="primary">claim</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</section>
|
|
|
|
|
|
2026-11-14 09:04:13 +00:00
|
|
|
<section id="view-home" hidden>
|
|
|
|
|
<h1>runs</h1>
|
|
|
|
|
<div id="run-list"></div>
|
|
|
|
|
<button id="new-run-btn" class="primary">new run</button>
|
2026-11-14 20:01:15 +00:00
|
|
|
<section id="admin" hidden>
|
|
|
|
|
<h2>admin</h2>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<button id="invite-mint">mint invite</button>
|
|
|
|
|
<span id="invite-code"></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="invite-list"></div>
|
|
|
|
|
<div id="user-list"></div>
|
|
|
|
|
</section>
|
2026-11-14 09:04:13 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="view-new" hidden>
|
|
|
|
|
<h1>new run</h1>
|
|
|
|
|
<div id="package-pick">
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
<p class="hint">a run is a copy of the package -- everything stays editable until the session opens</p>
|
2026-11-14 09:04:13 +00:00
|
|
|
<div id="package-list"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<form id="create-form" hidden>
|
|
|
|
|
<h2 id="create-title"></h2>
|
|
|
|
|
<label class="field">package name <input id="create-name" autocomplete="off"></label>
|
|
|
|
|
<label class="field">main character name <input id="create-pc" autocomplete="off"></label>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<button type="button" id="create-back">back</button>
|
|
|
|
|
<button type="submit" class="primary">create</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="view-setup" hidden>
|
|
|
|
|
<div class="setup-head">
|
|
|
|
|
<h1 id="setup-title"></h1>
|
|
|
|
|
<span id="setup-state"></span>
|
|
|
|
|
<button id="setup-delete">delete draft</button>
|
|
|
|
|
<button id="setup-start" class="primary">start</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="setup-vars" hidden>
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
<h2>prompt variables -- declared by the prompts, filled per run</h2>
|
2026-11-14 09:04:13 +00:00
|
|
|
<div id="setup-vars-list"></div>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<button id="setup-vars-save">save variables</button>
|
|
|
|
|
<span id="setup-vars-state"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-11-14 23:48:27 +00:00
|
|
|
<div id="setup-models"></div>
|
2026-11-14 20:01:15 +00:00
|
|
|
<div id="setup-savepkg">
|
|
|
|
|
<input id="savepkg-name" placeholder="new package display name" autocomplete="off">
|
|
|
|
|
<button id="savepkg-btn">save as package</button>
|
|
|
|
|
<span id="savepkg-state"></span>
|
|
|
|
|
</div>
|
2026-11-14 09:04:13 +00:00
|
|
|
<div class="setup-body">
|
|
|
|
|
<nav id="setup-files"></nav>
|
|
|
|
|
<div id="setup-editor">
|
|
|
|
|
<div id="edit-stack">
|
|
|
|
|
<pre id="edit-hl" aria-hidden="true"></pre>
|
|
|
|
|
<textarea id="setup-edit" spellcheck="false"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="setup-edit-bar">
|
|
|
|
|
<button id="setup-save">save</button>
|
|
|
|
|
<span id="setup-edit-state"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="view-play" hidden>
|
|
|
|
|
<div id="transcript" aria-live="polite"></div>
|
|
|
|
|
</section>
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
|
|
|
|
|
<section id="view-story" hidden>
|
|
|
|
|
<div class="story-head">
|
|
|
|
|
<h1 id="story-title"></h1>
|
|
|
|
|
<button id="story-back">back to the table</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="story"></div>
|
|
|
|
|
</section>
|
2026-11-14 03:15:53 +00:00
|
|
|
</main>
|
|
|
|
|
|
2026-11-14 09:04:13 +00:00
|
|
|
<aside id="play-aside">
|
2026-11-14 03:15:53 +00:00
|
|
|
<section id="status-pane">
|
2026-11-14 09:04:13 +00:00
|
|
|
<div class="pane-head">
|
2026-11-14 23:48:27 +00:00
|
|
|
<h2>her status</h2>
|
2026-11-14 09:04:13 +00:00
|
|
|
</div>
|
2026-11-14 23:48:27 +00:00
|
|
|
<div id="status"></div>
|
2026-11-14 03:15:53 +00:00
|
|
|
<div id="conflict" hidden></div>
|
|
|
|
|
</section>
|
2026-11-14 21:15:32 +00:00
|
|
|
<section id="agenda-pane">
|
|
|
|
|
<div class="pane-head">
|
|
|
|
|
<h2>her agenda</h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="agenda"></div>
|
|
|
|
|
</section>
|
2026-11-14 09:04:13 +00:00
|
|
|
<section id="notes-pane">
|
|
|
|
|
<div class="pane-head">
|
|
|
|
|
<h2>gm notes</h2>
|
|
|
|
|
<span id="notes-state"></span>
|
|
|
|
|
</div>
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
<textarea id="gm-notes" placeholder="yours alone -- never sent to the model"></textarea>
|
2026-11-14 09:04:13 +00:00
|
|
|
</section>
|
2026-11-14 03:15:53 +00:00
|
|
|
<section id="housekeeping">
|
|
|
|
|
<h2>housekeeping</h2>
|
|
|
|
|
<div id="hk-state"></div>
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
<button id="hk-run" hidden>stop session</button>
|
|
|
|
|
<label id="hk-override-row" hidden><input type="checkbox" id="hk-override"> override: skip the unhousekept check</label>
|
|
|
|
|
<button id="session-open" hidden>start session</button>
|
|
|
|
|
<button id="hk-rerun" hidden title="a fresh pass over the finished predecessor -- the dormant session's rings are replaced">re-run housekeeping</button>
|
|
|
|
|
<button id="hk-replay" hidden title="run the housekeeper over a session log -- nothing applied">dry-run housekeeping</button>
|
2026-11-14 23:48:27 +00:00
|
|
|
<details id="hk-log" hidden><summary>session log</summary><pre id="hk-log-content"></pre></details>
|
2026-11-14 09:04:13 +00:00
|
|
|
<details id="hk-replay-log" hidden><summary>replay manifest</summary><pre id="hk-replay-content"></pre></details>
|
2026-11-14 03:15:53 +00:00
|
|
|
</section>
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
<section id="story-pane">
|
|
|
|
|
<h2>the story</h2>
|
|
|
|
|
<button id="story-link">read the story so far</button>
|
|
|
|
|
</section>
|
2026-11-14 20:01:15 +00:00
|
|
|
<section id="fork-pane">
|
|
|
|
|
<h2>fork</h2>
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
<p class="hint">a copy of this run -- yours to continue</p>
|
2026-11-14 20:01:15 +00:00
|
|
|
<button id="fork-btn">fork this run</button>
|
|
|
|
|
</section>
|
2026-11-14 23:48:27 +00:00
|
|
|
<section id="models-pane" hidden></section>
|
2026-11-14 03:15:53 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<footer>
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
<textarea id="gm-input" rows="2" placeholder="GM line -- Enter sends, Shift+Enter newlines" disabled></textarea>
|
|
|
|
|
<span id="busy" hidden>her turn...</span>
|
2026-11-14 03:15:53 +00:00
|
|
|
<button id="gm-send" disabled>send</button>
|
|
|
|
|
</footer>
|
|
|
|
|
|
2026-11-14 09:04:13 +00:00
|
|
|
<div id="banner" hidden></div>
|
|
|
|
|
<pre id="diag" hidden></pre>
|
|
|
|
|
|
2026-11-14 03:15:53 +00:00
|
|
|
<dialog id="ask-modal">
|
|
|
|
|
<h2>the player asks</h2>
|
|
|
|
|
<p id="ask-question"></p>
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
<textarea id="ask-answer" rows="3" placeholder="your ruling -- Enter sends"></textarea>
|
2026-11-14 03:15:53 +00:00
|
|
|
<button id="ask-send">answer</button>
|
|
|
|
|
</dialog>
|
|
|
|
|
|
|
|
|
|
<script type="module" src="/app.mjs"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|