Skip to content
quest'n'click

StudioHow-toFor authorsApplies from 4.2.1

Notes

Cette page en françaisThis page on the GitHub wiki

The Notes tab is the shared log of the game, games/<id>/notes.json: you, your teammates and any AI leave notes there about a panel, a room, an entity or anything, and answer each other.

What you get

A note the AI reads with get_notes (or by reading notes.json), its answer shown live in the Studio, and the whole conversation kept with the game, in git.

Context and versions

The local Studio, engine repository or created project; the demo Studio keeps its notes in the browser (and its patch). True from 4.2.1. A hosted Studio adds comments to the same tab (Comments).

Prerequisites

Where to run the commands

In the browser, on the Notes tab (and at the bottom of a room in the Rooms tab, under a panel in the Storyboard tab).

Steps

  1. Write a note in the composer: about (a panel id, a room id, room.entity, or empty for a general note), author (defaults to you, and is remembered), the text. Ctrl/Cmd+Enter adds it. The note gets an id and the time (at, an ISO date); notes.json is created on the first note.
  1. Read the log. The whole log, newest first, grouped by about: a room, a panel or an entity is tagged, with "Open in Rooms" or "Open in Storyboard". Filters: free text, about (rooms with their entities, panels, others), author. Each note shows its author and time.
  1. Reply pre-fills about with the note's; Edit changes a note in place (its text trimmed, edited set to now; its time, author and place in the log unchanged); Delete removes it.
  1. Notes where you work. Notes about a room or one of its entities also appear at the bottom of that room's section in the Rooms tab ("Notes (n)", with a box to add one); notes about a panel appear under the panel in the Storyboard tab.

Working with an AI through notes

  • An agent connected through MCP writes notes with add_note; its author is the MCP client's name, else ai. It reads them with get_notes (Local MCP: setting up each client).
  • An AI without MCP edits the files; the Studio reloads (it watches the files), you see the result and answer in Notes or in the Storyboard, and the AI reads notes.json back. Git carries the history.
  • Without an API key, the Assistant's Send as a task to the AI agent writes a note with task: true; the Notes tab tags it "task" (The Assistant).

The log follows changes on disk: a note an AI writes shows up without a reload.

Expected result, and how to check it

The note shows at the top of the log, and games/<id>/notes.json holds it: { id, about, author, text, at, edited? }.

Common errors

SymptomCauseFix
`text` is required (400)An empty noteWrite something
no such note: "<id>" (404)The note was deleted meanwhile (by you, a teammate, an AI)Reload the log

Files or data changed

games/<id>/notes.json only.

Recovery or going back

The header's Undo does not cover notes; a deleted note comes back with git (git checkout -- games/<id>/notes.json).

References