fix(HealthColors): enhance integration with improved reliability and diagnostics#2281
Open
steverobertsuk wants to merge 2 commits into
Open
fix(HealthColors): enhance integration with improved reliability and diagnostics#2281steverobertsuk wants to merge 2 commits into
steverobertsuk wants to merge 2 commits into
Conversation
…diagnostics Address compatibility issues with Beacon/D&D 2024 sheets by introducing alias-aware attribute resolution and preferring the `getSheetItem` API for live value reads. Prevent sandbox errors from unknown sheet fields by caching their status and suppressing repeated probes. Add a polling mechanism to ensure death-save markers update on sheets that do not emit `change:attribute` events. Provide GMs with new `sync` command to force updates for selected tokens and an enhanced `debug` command for better diagnostics. Implement a one-time GM warning for Beacon sheets regarding the Experimental (Jumpgate) sandbox requirement for live syncing. Signed-off-by: Steve Roberts <steve@shadowcomputers.co.uk>
Signed-off-by: Steve Roberts <steve@shadowcomputers.co.uk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[2.2.1] – 2026-07-03 · Milestone
Added
!aura deathsaves syncto force an immediate death-save marker reconciliation for selected PCs after imports, sheet changes, or missed updates.!aura deathsaves debugso it now reports resolved watched-field values, sheet-item API availability, the selected character's legacy-attribute count, how many watched fields are stored as legacy attributes, and a Beacon/sandbox compatibility warning when none are.Changed
succ/success,fail/failure) before evaluating marker state, improving compatibility across sheet variants without changing the GM-facing configuration model.change:attributeevents.getSheetItemreads for non-legacy death-save fields, while retaining the chat-parser probe only as a legacy-sandbox fallback.Fixed
@{<id>|attr}) and using safe character-name probes instead.state.HealthColors.dsFieldStatus) so proven-good names are reused, rejected names are not retried, and the cache is cleared automatically when the GM reconfigures death-save fields or manually resyncs after a sheet change.