module

MJ::Arcana::Limits

The most one request may ask for, set far above anything a game sends. Overlore caps request sizes itself, and a limit tight enough to meet a real request would stop the game (Thomas, 2026-10-22), so these stop only the obviously outrageous: a caller gone wrong. Checked before anything is queued or billed.

Constants

REFERENCES = 16
SONG = 10.minutes
TEXT = 10000
WAIT = 1.hour

Class methods

references!(data : JSON::Any)

Counted before any is fetched, and base64 held to the size a fetched one may be.

Source
song!(data : JSON::Any)

A plan's length is its sections' lengths; a prompt's is music_length_ms, if given.

Source
text!(data : JSON::Any, *fields : String)
Source
wait!(data : JSON::Any) : Time::Span | Nil

The caller's wait_seconds, checked; nil if it gave none (or none above zero).

Source