docs: add bgm-engine message layer design

Define the message/queue/tick model, the three handler kinds (trigger,
orchestrator, command host), and the @tts/engine package split. Cross-link
from bgm-commands and bgm-tabletop, and add the engine to the architecture
package table.
This commit is contained in:
2026-08-10 18:26:19 +08:00
parent 13b3eaed78
commit 91cd3a16d7
4 changed files with 238 additions and 3 deletions
+3 -1
View File
@@ -53,7 +53,9 @@ the format's stacking strategy (`curve` / `limit` / `align` / `steps` / `tilt` /
Scripted interaction — focus, tap-to-advance, move, caption — is built on an
async command layer. See [`bgm-commands.md`](./bgm-commands.md) for command
execution (lifecycle, run contexts, tap interaction).
execution (lifecycle, run contexts, tap interaction), and
[`bgm-engine.md`](./bgm-engine.md) for the message layer above it (the queue,
triggers, and orchestrators that declare and fire commands).
## 6. usage