Files
adaptive-music/CHANGELOG.md
T
Jason 357c904d1b
Validate and generate manual release / package (push) Waiting to run
Adaptive Music v0.8.1 combat automation fixes
2026-12-05 13:37:05 -05:00

8.1 KiB
Raw Permalink Blame History

Changelog

0.8.1 — Combat Tracker cues and Firefox diagnostics

  • Follow the combatants' token scenes when Foundry creates an unlinked encounter through its native token HUD. Switch after combat starts, keep the cue across initiative changes, and restore ambient when combat ends.

  • Add Boss encounter to the GM's native Combat Tracker. Beginning a designated encounter uses the scene's default boss cue. The tracker and Playback panel show the current music mode and expose a way back to automation while a manual override is active.

  • Retain an interrupted ambient position across a scene excursion while the original encounter remains active.

  • Record the last failed Connect action's timestamp, error code and known setup stage in the copyable connection report.

  • Record each unauthenticated WebSocket probe's duration and the site permission state observed after that route completes. Keep opaque upgrade failures distinct from a confirmed CSP block.

  • Record installed v0.8.0 macOS operator acceptance and the Firefox connectivity failure. The macOS Firefox fix is still awaiting diagnosis.

0.8.0 — playback stability and native Foundry controls

  • Keep Sendspin PCM packet boundaries contiguous in Web Audio. Track source gaps, overlaps, late packets, buffer overruns and underruns separately.
  • Separate API and Sendspin connection failures, distinguish local network permission hints from transport failures, and identify loss of dedicated queue rights when Music Assistant reassigns a restricted token’s browser receiver.
  • Remember a revocable Music Assistant token on an opted-in trusted GM browser. Reconnect on world entry, support a deliberate disconnect, and forget the saved device credential independently of the encrypted Foundry account address.
  • Assign ambient, combat and boss music in native Scene Configuration. The Playlists sidebar shows a draggable Music Assistant catalog for GM assignments.
  • Open the live transport controls from the token toolbar or Playlists sidebar. Use volume, pause/resume, seek, skip, stop, repeat, manual override and return to scene music. Music Assistant playlist changes use sequential fade-out and fade-in.
  • Coalesce duplicate hook updates, continue shared playlists across scene changes, and keep connected listener media running when its initial signaling invite expires.
  • Refresh the open Playlists sidebar after connecting, preserve its expanded state, and keep an ambient snapshot when the same playlist also serves as a combat cue. Restore a finished static queue without briefly restarting playback.
  • Include the Mac acceptance checklist and handoff in the release bundle. Record whether the packaged source came from a clean checkout or includes working-tree changes, and validate the complete module ZIP inventory and SDK provenance.

0.7.2 — account-scoped connection setup

  • Remember the Music Assistant address and receiver name in an encrypted Foundry User Setting. Enter the MA token to unlock the saved address and connect in a new browser session.
  • Make newly saved catalog assignments readable across browsers that use the same MA token, server and Foundry world. Preserve legacy reference resolution in the browser that created it.

0.7.1 — AM-006 setup usability

  • Give the resizable GM window three tabs for Connection, Scene Music and Playback.
  • Connect with one action that validates the inputs, authenticates, provisions the dedicated receiver and loads playlists. Keep listener networking under Advanced.
  • Show the current track, position, volume, automation state and connected listener count. Queue pause, resume, seek and stop through the existing playback authority.

0.7.0 — integrated campaign receiver

  • Replace receiver JSON import with authenticated automatic dedicated web-receiver provisioning and account-bound pairing. Remember the receiver privately in the GM browser; retain the MA token only in tab memory.
  • Keep one authenticated API session established before Sendspin so restricted MA accounts retain the receiver’s session permissions. Wait briefly for MA to register the dedicated queue during setup. Use SDK software volume.
  • Fix Firefox SDP direction inheritance, PCM stream-ahead scheduling and timestamped partial clears. Add transport, authentication, pairing, clock, audio and listener diagnostics in the interface. Fix narrow ApplicationV2 layout.
  • Preserve inputs across failures, retain receiver identity across reloads, and allow reconnection to the owned queue without replacing it. Pause automation on uncertain writes; do not retry queue mutations blindly. Bound failed listener negotiation.
  • Emulate pause for MA 2.10.6 Sendspin using stopped queue plus saved index/position; restore paused queues without briefly playing them. Keep active-session interruption snapshots for up to 12 hours rather than five minutes.
  • Exercise actual MA catalog audio, two browser listeners, combat transitions and queue restoration in Firefox and Chromium. Preserve the failing queue command in diagnostics and skip rollback on uncertain writes.
  • Preserve existing Gitea manifest/update URLs and manual publication bundles. Crossfade and durable crash restoration remain unsupported.

0.6.0 — GM connection interface

  • Add a GM Music Assistant connection wizard: private server/token entry, existing receiver backup import, dedicated target verification, catalog loading, audio connection and actionable diagnostics. Credentials remain in GM tab memory.
  • Enable explicitly authorized catalog playlist playback through the existing guarded provider. Keep native ownership, ambient/combat/boss assignments and fallback.
  • Automatically deliver encrypted listener invitations using ephemeral ECDH keys bound to Foundry User documents; players normally need only Enable Audio.
  • Hide optional companion and synthetic/manual test controls behind a client-scoped advanced development setting. Simplify the primary setup and listener windows.
  • Document trusted HTTPS/WSS, logging, identity/pairing, browser activation and ICE requirements without bypasses or additional mandatory infrastructure.
  • User reports v0.5.0 published/installed/activated on Foundry v14.371 and D&D 5e 6.1.2 with both windows rendering. v0.6.0 live Foundry/MA audio remains unverified.

0.5.0 — local release candidate

  • Prepare one standard Foundry module ZIP and offline manual-upload release bundle for the planned Gitea destination, with configurable GitHub/Gitea URL generation, stable update manifest, immutable versioned download and SHA256 checksums.
  • Preserve validated native playback, scene/world assignments, combat/boss/manual policy, catalog, guarded MA transport and queue restoration. Share the same transport/provider implementation between the optional companion and trusted GM browser using Web Crypto.
  • Add pinned official Sendspin JS 5.0.0 PCM-only bundle with dependency lock, audit, full notices and recorded modification (optional Opus fallback omitted).
  • Add experimental GM-local SDK decoding/Web Audio and encrypted, per-listener capability-signaled WebRTC audio. Module sockets carry no continuous raw audio.
  • Keep the companion as an optional, undeployed co-located fallback; no container, VM/LXC, OS-service installer, core patch or sandbox runtime dependency.
  • Remote MA audio is not yet verified: existing DEV private identity, secure browser reachability, synthetic ingestion and real NAT/browser/Foundry gates remain. Crossfade, simultaneous ambient layers and seamless GM handover remain unsupported.

0.4.0-dev

  • Connected GM setup, scene ambient/combat/boss defaults and native fallback with the private companion and MA catalog. Measured connected read-only MA catalog locally; added synthetic PCM browser sink and loopback integration tests.

0.3.0-dev

  • Added guarded MA playback provider, durable catalog identifiers, signed ordered queue snapshots/restoration and isolated native Foundry development package.
  • Live idle queue control tests restored original state. Synthetic ingestion failed; no nonempty MA queue or real playlist playback was verified.