No description
Find a file
Vassili Minaev 2b7fb97696 Snapshot push on actor and item edits
Foundry side of the per-PC snapshot flow: the primary GM pushes a debounced
snapshot of any character that gets edited, including embedded item changes
(updateItem/createItem/deleteItem don't trigger updateActor in v12).

Payload is actor.toObject() augmented with a denormalized _player_name
field — the Frappe extractor reads it from there since Foundry's ownership
map uses opaque user IDs.

Per-actor debouncers (default 5s, configurable) keep combat HP edits from
spamming the webhook. Toggle off via the snapshotAutoSync setting if you
want explicit-only pushes from a macro.

API exposed at globalThis.seitimeBridge.pushSnapshot(actor) for manual
pushes (single argument: a Foundry Actor document).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 02:43:09 -06:00
scripts Snapshot push on actor and item edits 2026-05-10 02:43:09 -06:00
.gitignore Initial scaffolding: settings + manifest push 2026-05-10 02:26:53 -06:00
module.json Initial scaffolding: settings + manifest push 2026-05-10 02:26:53 -06:00