Repository navigation
Releases
v0.8.2
Lockstep patch release of dnd5e-srd-data, dnd5e-engine and nat20-bridge.
dnd5e-engine
- Fixes a
ValueErrorintroduced in 0.8.1: using a Potion of Flying raisedUnhandled roll-data token: '@attributes.movement.walk'after the intent was accepted. An effect rider whose change reads the recipient's Speed now resolves to the walking Speed of the creature the effect lands on. Oil of Slipperiness's Cover Creature, Freedom of Movement, Spider Climb and Master of Myriad Forms' Aquatic Adaptation resolve the same way.
dnd5e-srd-data, nat20-bridge
- Version only. The canonical corpus is byte-identical to 0.8.1.
v0.8.1
Lockstep patch release of dnd5e-srd-data, dnd5e-engine and nat20-bridge.
dnd5e-engine
Six fixes to how items resolve in combat. No API is removed; a host sees different events where the old behaviour was wrong.
- An
attackwith a weapon now resolves only its attacks and the riders its hit triggers. A weapon's activated abilities (Trident of Fish Command's Dominate Beast, Mace of Terror's Wave of Terror) fire only throughuse_item, which spends their charge. - A
use_itemwhose activity activates as a Bonus Action (Potion of Healing) now spends the Bonus Action and keeps the turn. A second Bonus Action that turn is refused withCastFailed(reason="no_action_economy"). - An item's own
saveactivity onuse_itemnow rolls against the DC it states (a flat formula, or an ability calculation such as Acid's 8 + Dexterity modifier + Proficiency Bonus) instead of the user's spell save DC. - An item activity's effect riders now resolve from the item's own passive effects: a failed save applies the referenced effect and its conditions to the target, with its duration.
- A
speed.walk.bonusaddchange on a combatant's active effects now raises its walking Speed and movement budget for as long as the effect lasts. - An untagged
damage.bonusactive-effect change now adds once to the damage of every attack roll that hits, weapon or spell. Weapon-tagged bonuses still apply to weapon swings only.
dnd5e-srd-data
OverlayAssetLoaderlayers homebrew content over any base loader, with canonical entries always winning.replace_overlayswaps the homebrew layer in place.Provenance.sourceaccepts"homebrew".- The canonical corpus is byte-identical to 0.8.0.
nat20-bridge
- Requires both siblings at
>=0.8.1.
Full details: the CHANGELOG.md of each package.
v0.8.0
Lockstep release of dnd5e-srd-data, dnd5e-engine and nat20-bridge 0.8.0, an additive minor release. Encounter members can fight on the party's side, a host can choose a monster's target, melee attacks can knock a creature out (SRD 5.2), item casts place their spell's area, a monster's closing walk honours occupancy, a move takes a detour around walls, and walled grids are faster. Every new name and field is defaulted, and a payload stored under 0.7.0 still validates. The dataset is unchanged. Upgrade notes: docs/migration/v0.7-to-v0.8.md.
What a host may notice
KnockedOutjoins the closedCombatEventunion, andknock_out_not_meleejoins the rejection reasons. Both appear only when a host asks for a knock-out.- A
movetakes a detour. A move to an adjacent cell whose direct step crosses a wall or cuts a blocked corner walks the shortest legal route around, priced and provoking like any route.blocked_pathnow means no route exists; a detour that costs more than the movement left isinsufficient_movement. - The monster AI's closing walk honours occupancy. It passes through allies, never ends on another creature and never enters an enemy's cell. A walk with no creature in the way is unchanged.
- An item that casts a spell targets as that spell. A Wand of Fireballs places Fireball's Sphere, and a Wand of Magic Missiles splits its darts at the item's cast level.
DeathRecord.killer_idnames the creature that dealt the killing damage, whoever's turn it was (an opportunity attack's reactor, a legendary action's monster, a summon). It used to name the creature whose turn it was.- XP goes to surviving characters only, and a foe still knocked out at the end is worth its XP.
dnd5e-engine
Added
- Sides:
EncounterMemberSpec.side("encounter"by default, or"party") andSide. A party-side member fights the encounter side, is fought by it, and dies at 0 Hit Points as a monster does. A standing ally keeps the party in the fight, so a combat ended after every character has died while an ally stands readsforced(orflee), notdefeat_tpk. - A host-chosen monster target:
advance_monster_turn(..., target_id=None). An id outside the monster's target pool, or any id on a summon's turn, raisesIntentRejectedError("target_invalid")before the turn starts, with nothing rolled, spent or emitted. - Knocking out a creature:
PlayerIntent.knock_out. A melee blow that would drop a creature to 0 Hit Points leaves it at 1 Hit Point and Unconscious. New:KnockedOut,DamageApplied.knock_out,KnockOutRecord,CombatOutcome.knock_outs, andLiveCombatView.knocked_out_ids. LiveCombatView.deaths: the deaths so far, with their killers.dnd5e_engine.testing.rng_factory: a test-support context manager that scripts or records every die a combat draws, Initiative included.
Changed
- Wall segments are indexed by the cells they touch. Step and sight tests read only nearby walls, so their cost no longer grows with the wall count. Every answer is unchanged.
end_combatandLiveCombatView.final_outcomereturn a copy of the kept outcome each time.
Fixed
- A character already Unconscious from an effect (a sleep) that drops to 0 Hit Points now emits the
Unconsciousdying marker. It no longer wakes at 0 Hit Points when that effect ends.
Full details: CHANGELOG.
dnd5e-srd-data
No content change: the canonical corpus is byte-identical to 0.7.0. The version moves in lockstep, and dnd5e-engine 0.8.0 requires dnd5e-srd-data>=0.8.0.
nat20-bridge
POST /v1/combattakesallies: monster slugs seated on the party's side.POST /v1/combat/{cid}/advance-monstertakes an optional{"target_id": ...}body.- An intent body accepts
knock_out. target_invalidandknock_out_not_meleeanswer 409.GET /v1/combat/{cid}addsparty_ids,encounter_ids,knocked_out_idsanddeaths.- Narration covers every engine event type. 18 types, including spell casts, effects, concentration, movement, death saves, temporary Hit Points, reactions, recharge and legendary actions, used to fall through to a raw
[type] key=valuedump. Each now renders as a sentence, and intent types read as words (attempts cast spell). A knock-out narrates as a line. (#47)
Upgrade checklist
- Upgrade
dnd5e-srd-data,dnd5e-engineandnat20-bridgetogether:dnd5e-enginerequiresdnd5e-srd-data>=0.8.0, andnat20-bridgerequires both at>=0.8.0. - If you match
CombatEventexhaustively, handleKnockedOut. If you match the rejection reasons exhaustively, handleknock_out_not_melee. - If you pre-validate moves, stop rejecting an adjacent move behind a wall; the engine now walks around it when it can.
- List an item that casts a spell with that spell's targeting.
- Read
DeathRecord.killer_idas the creature that dealt the blow. - If you parse the bridge's narration text, expect sentences where
[type] key=valuelines used to be.
Every step, with its detail and the three moved seeded pins: docs/migration/v0.7-to-v0.8.md.
v0.7.0
Lockstep release of dnd5e-srd-data, dnd5e-engine and nat20-bridge 0.7.0, a breaking minor release. GridScene is now the only spatial backend, and the grid now has what only the zone graph had: opportunity attacks and monster flee. Areas of effect resolve for every intent kind and for monsters, templated monsters see with their stat-block senses, the remaining SRD 5.2 condition clauses apply, feats work in combat, and the bridge reaches parity with the engine. Upgrade notes: docs/migration/v0.6-to-v0.7.md.
Breaking changes
- The zone graph is removed (
dnd5e-engine).start_combatrequiresgrid_scene=GridScene(...), andscene_zones=raisesTypeError.SceneTopology,ZoneEdgeanddnd5e_engine.testing.ZoneGraphare gone;dnd5e_engine.orchestrator.__all__exportsGridScenein their place. Every start position must be a cell of the scene. The migration guide has a recipe for porting a zone layout. - One event per concentration save (
dnd5e-engine). The duplicateSaveRolled(ability="con")that accompaniedConcentrationCheckis removed: readConcentrationCheck. nat20-bridgerefuses unknown intent keys with 422, and an unknownintent_typetoo; a misspelt field used to be dropped silently.nat20-bridgedropsmember.attack_bonusfrom/v1/party/validate. It was always0; to-hit is per weapon.
A host also has to handle the new AreaTargeted event in the closed CombatEvent union; Background.starting_feat_slug now names the canonical feat (alert) rather than the Foundry id (phbftAlert000000); and dnd5e-engine requires dnd5e-srd-data>=0.7.0, while nat20-bridge requires both at >=0.7.0.
dnd5e-engine
C24 — grid movement and reactions
- Opportunity attacks fire on the grid for every walk: a character's or a host-driven foe's
move, the monster AI's closing walk, and its flee. They are reach-based from both sides; Disengage suppresses them either way, a Charmed reactor spares its charmer, and the walk stops at 0 HP or Speed 0. - They resolve through the activity context: the character's weapon (
PartyMemberSpec.opportunity_attack_weapon_id, else its first melee weapon, else an Unarmed Strike) or the creature's stat-block attack, with cover, Fighting Styles, Martial Arts, proficiency, enchantments, weapon mastery, Sneak Attack and the target's readied Shield. - A
moveintent'sActorMovedsplits at a provoking step. Sneak Attack's once-per-turn use resets at every turn start, so it can land on another creature's turn. - Monsters flee on the grid, to the reachable cell farthest from their nearest enemy (
GridTopology.reachable_cells).
C25 — the zone graph and the concentration twin removed
- See Breaking changes. An enemy's concentration check no longer extends Rage, and a failed concentration check no longer stands in for a condition's repeat save.
ZoneTransitstays in the event union, never emitted, until a later breaking release.
C26a — areas of effect for every intent kind
- A feature's or an item's area (a Breath Weapon, the Pipes of Haunting) catches every creature in it, not only the named target. "Each enemy" and "each ally" keep that side; an area "of your choice" spares the actor's side when it harms and the other side when it heals, and
PlayerIntent.excluded_target_idsoverrides that; "up to N creatures" takes the creatures named. Each placed area emitsAreaTargeted.
C26b — monsters aim their own areas
- A monster's stat-block area action, area spell and area legendary action resolve against the creatures in the area, placed where it affects the most enemies minus allies and never the monster itself (
dnd5e_engine.areas.best_aim). - A Multiattack honours "if available" and spends a Recharge action when it fires; the Djinni, the Doppelganger, the Aboleth and the Ancient Gold Dragon now follow their stat blocks. A readied Shield no longer fires on a monster's save action.
C27 — monster senses and the condition clauses
- A templated monster takes its stat block's senses (
EncounterMemberSpec.sensesoverrides them) and, while its spec lists none, its condition immunities. - Frightened's Disadvantage on ability checks needs its source in sight, while its "can't willingly move closer" holds either way; Poisoned and Frightened reach Hide and escaping a grapple; Petrified resists Poison damage and is immune to the Poisoned condition; one immunity check covers every path.
C28 — feats
derive_sheetadds the background's Origin feat to the sheet, and refuses a non-repeatable feat taken twice and an Epic Boon below character level 19.- Alert adds the Proficiency Bonus to an engine-rolled Initiative; Savage Attacker rolls a weapon's damage dice twice on the first weapon hit of each turn and keeps the higher roll; a Grappler has Advantage against a creature it grapples; Magic Initiate casts its spells with the chosen ability and its level 1 spell once without a slot (
recover_slotless_castsrestores it after a Long Rest).
C29 — bridge parity, the engine side
CombatInstance.initiativetakesNone, so a characterbuild_party_memberbuilds reaches the engine-rolled Initiative, Alert included.
Full details: CHANGELOG.
dnd5e-srd-data
- Who an area affects follows the SRD 5.2 text (C26a):
target.affects.choiceon Sleep, Slow, Mass Cure Wounds and the Mace of Terror's Wave of Terror, andaffects.count: "6"on Slow and Mass Cure Wounds. - Monster area actions follow their stat blocks (C26a): Recharge 5–6 on six dragons' breaths and the Centaur Trooper's Trampling Charge (those dragons never breathed), the Tarrasque's Thunderous Bellow on 5–6, the gold dragons' and the magma mephit's Fire Breath as Cones, corrected breath sizes, and "each creature" on the green dragons' and the iron golem's Poison Breath.
Feat.repeatable, andBackground.starting_feat_slugnames the canonical feat (alert,magic-initiate,savage-attacker) (C28).
Full details: CHANGELOG.
nat20-bridge
- The intent body takes every
PlayerIntentfield and the build everymake_build_speckeyword; the view reportsseed,turn,summons,transformations,constructsand each row'sinitiative(C29). - The engine rolls a combat's Initiative from the combat's own generator, so the first attacks no longer repeat the Initiative d20s;
/v1/roll,/v1/checkand/v1/combatno longer reseed the process-globalrandom, which concurrent requests raced (C29). - At most 16 combats stay live (
--max-combats): starting one more ends the least recently used, which then answers 404 (C29). - An intent the engine can't resolve, an empty side, or a side the grid can't seat answers 422 rather than 500 (C29).
- Narration: a concentration save is its own line (C25); an area names whom it catches and spares (C26a, C26b); a summon narrates by its name, with its joining and leaving (C29).
- A foe the bridge builds sees with its stat-block senses (C27).
Moved seeded pins
- C24 moved the streams its rules reach, each listed with its reason in the migration guide: the grapple-and-shove and flee scenarios, four flee unit tests, the opportunity-attack and vision tests ported to the grid, and the demo's hold-the-line and goblin-ambush. Every assertion still holds.
- C29: a seeded bridge
/v1/combatkeeps its Initiative and turn order, but every later roll moves. No engine or demo pin moved. - C25, C26a, C26b, C27, C28 and the closeout moved none.
Upgrading
- Upgrade
dnd5e-srd-data,dnd5e-engineandnat20-bridgetogether:dnd5e-enginerequiresdnd5e-srd-data>=0.7.0, andnat20-bridgerequires both at>=0.7.0. - Pass a
GridSceneto everystart_combat, with every start position one of its cells. A host still on zones fails loudly there:scene_zones=raisesTypeError, and a start position that is not a cell raisesValueErrornaming the combatant and the cell — the emptyCombatInstance.zone_iddefault of a character built withbuild_party_memberincluded. - Read a concentration save from
ConcentrationCheck. - Handle
AreaTargeted, on monster turns too. - Expect opportunity attacks and monster flee on the grid, and give a character whose spec carries no
equipmentanopportunity_attack_weapon_id. - Decide whom an area "of your choice" spares with
excluded_target_ids. - Expect templated monsters to see with their stat-block senses and keep their condition immunities.
- Match a background's feat by its canonical slug.
nat20-bridgeclients: send onlyPlayerIntentfields, stop readingmember.attack_bonus, and end the combats you are done with.
Every step, with its detail: docs/migration/v0.6-to-v0.7.md.
v0.6.0
Lockstep release of dnd5e-engine, dnd5e-srd-data and nat20-bridge 0.6.0. Closes out the core-mechanics work: class feature mechanics (Fighting Style, Martial Arts/Flurry of Blows, Action Surge, Bardic Inspiration, Rage, Lay on Hands, multiclass), summons (Summon Dragon joins the initiative order), transform (Wild Shape and Polymorph as stat-block swaps), enchant (Magic Weapon, Spiritual Weapon), monster action economy (Recharge, Legendary Actions/Resistance, stat-block spellcasting), grid AoE targeting, vision & light, spell slots/rests/upcasting, and character derivation — plus a bounded live-combat registry, deterministic effect serialization, and several SRD rules-fidelity fixes. Upgrade notes: docs/migration/v0.5-to-v0.6.md. PR #34.
dnd5e-engine
- Class feature mechanics — Fighting Style feats, Martial Arts/Flurry of Blows and the Focus economy, Action Surge, Bardic Inspiration on attack rolls, Rage's end conditions, Lay on Hands' pool, feature-gated Cunning Action, per-feature limited-use caps, and live multiclass.
- Summons and transform — every concentration spell now concentrates; Magic Weapon and Spiritual Weapon enchant; Wild Shape and Polymorph swap in a stat block with Temporary Hit Points; Summon Dragon's Draconic Spirit joins the initiative order right after its caster.
- Action economy, attack rules, grid AoE and vision — Dodge/Help/Hide/Grapple/Shove/stand-up, weapon proficiency and mastery, range tiers and thrown weapons, typed-template AoE with line-of-effect, and scene lighting/obscurement gating what a combatant can see.
- Spell slots, monster action economy and character derivation — per-class/multiclass/Pact Magic slot derivation and rest recovery, monster Recharge/Legendary Actions/Legendary Resistance/stat-block spellcasting, and
derive_sheet/build_party_member. - Reliability — a bounded live-combat registry (retains the 64 most recently ended combats instead of growing forever), deterministic effect serialization, and fixes to Blindsight-through-Blinded, Truesight-vs-Invisibility and templated-monster Initiative.
No public name is removed or renamed; new fields default to prior behaviour except build_party_member, which now derives ac/attack_bonus/hp_max/hp_current/base_speed instead of defaulting them. Full details: CHANGELOG.
dnd5e-srd-data
- SRD 5.2 conditions as typed data (
canonical/conditions/) and de-duplicated monster traits (canonical/traits/), replacing free-text with structured mechanics the engine can read directly. Monster.spellcasting_abilityand typed Legendary Resistance / Legendary Action pool sizes, so stat-block spellcasting and legendary monsters derive real values instead of flat approximations.- Armor Class derived for 133 monsters that previously shipped
ac: null.
Every change is additive — old canonical JSON without the new keys still validates. Full details: CHANGELOG.
nat20-bridge
Lockstep version bump to 0.6.0, requiring both packages at >=0.6.0. /v1/health now reports the installed package version instead of a string hard-coded since 0.3.2.
v0.5.0
Lockstep release of dnd5e-engine, dnd5e-srd-data and nat20-bridge 0.5.0. Removes the legacy (Gen 1) rules surface deprecated in 0.4.0; the engine now ships one seedable, documented rules implementation. Migration guide: docs/migration/v0.4-to-v0.5.md. PR #14.
dnd5e-engine
Lockstep release with dnd5e-srd-data 0.5.0 and nat20-bridge 0.5.0.
Removes the legacy (Gen 1) rules surface deprecated in 0.4.0. The engine now
ships exactly one, seedable, documented rules implementation
(orchestrator + activities/). See docs/migration/v0.4-to-v0.5.md.
Removed
- Modules
dispatch,event_dicts,types.dice,types.intent, and
rules.{combat, combat_data, combat_helpers, equipment, gambits, resolution, spells}(plus the privaterules._parsing/rules._class_meta). dnd5e_engine.ActionType,CombatNPC, and the lazy
dnd5e_engine.types.{ActionType, CombatOutcome, DiceOutcome, CombatNPC}
re-exports; the 0.4.0DeathSaveState/BehaviorProfilere-export shims.- The cross-generation parity test; its Gen 2 assertions live on in
tests/test_attack_classification.py.
dnd5e-srd-data / nat20-bridge
Lockstep bump only — no changes.
v0.4.0
Lockstep release of dnd5e-engine, dnd5e-srd-data and nat20-bridge 0.4.0. Deprecates the legacy (Gen 1) rules surface — nothing removed, every deprecated import warns; removal is 0.5.0. Migration guide: docs/migration/v0.3-to-v0.4.md. PR #13.
dnd5e-engine
Lockstep release with dnd5e-srd-data 0.4.0 and nat20-bridge 0.4.0.
Deprecates the legacy (Gen 1) rules surface. Nothing is removed; every
deprecated import warns. Removal lands in 0.5.0 — see
docs/migration/v0.3-to-v0.4.md.
Deprecated
- The legacy (Gen 1) rules surface — removed in 0.5.0.
dispatch,
event_dicts,types.dice,types.intent, andrules.{combat, combat_data, combat_helpers, equipment, gambits, resolution, spells}emit a
DeprecationWarningon import. The top-leveldnd5e_engine.ActionTypeand
dnd5e_engine.types.{ActionType, CombatOutcome, DiceOutcome, CombatNPC}
re-exports now resolve lazily and warn on access. Every symbol's supported
route is indocs/migration/v0.3-to-v0.4.md. Rationale: two drifting
implementations of the same SRD rules, a non-seedable legacy path, and host
transport/persistence shapes inside a zero-I/O package.
Changed
DeathSaveStatecanonical home is nowdnd5e_engine.death_saves;
BehaviorProfileis nowdnd5e_engine.types.combat. The old locations
re-export until 0.5.0. The supported engine's import tree no longer reaches
any legacy module (pinned bytests/test_gen2_has_no_gen1_imports.py).
Added
- Cross-generation attack-roll parity test
(tests/test_generation_parity_attack.py):rules/combat.attack_roll/
resolve_player_attackandactivities/attack.pyare fed the same d20
stream and must keep the same natural die and agree on hit / crit / miss
under advantage, disadvantage and flat rolls. This is the guard that would
have caught the drift fixed in 0.3.1 (#11). No runtime behavior change.
dnd5e-srd-data / nat20-bridge
Lockstep bump only — no changes.
v0.3.2
Lockstep release of dnd5e-engine, dnd5e-srd-data and nat20-bridge 0.3.2. Purely additive — no public name removed or changed shape. PR #12.
dnd5e-engine
Additive maturity pass from an independent review of the packages as a
standalone engine. No public name is removed or changed shape.
Fixed
- Multiattack fan-out resolved the wrong attack mix for most monsters. The
prose parser only matched[[/item .id]]{label}, but the corpus mostly ships
[[/item Name]]or bare mnemonic ids, so 174 of 180 multiattacks fell back to
"repeat one sibling N times" — silently wrong for every heterogeneous
multiattacker. The parser now reads per-token counts from the multiattack's
first sentence (excluding "It can replace one attack with …" riders) and
recovers names from Foundry's mnemonic ids. Precise joins: 6/180 → 119/180.
Chuul, Otyugh, Cloaker, Unicorn, Mummy, Pit Fiend, Xorn and Marilith now make
their correct attack sequences. Behaviour change for consumers: affected
monsters deal their correct (higher) damage per round and consume more of the
dice stream, so combat transcripts seeded against 0.3.x will diverge. __version__now derives from installed package metadata instead of a
hand-maintained literal, so it cannot drift frompyproject.toml(0.3.0 shipped
reporting0.2.0). Pinned bytests/test_determinism_contract.py.
Added
CheckSpec.rng—resolve_checkpreviously drew its d20 from the
process-globalrandommodule with no way to inject a generator,
contradicting the documented determinism guarantee. Pass a seeded
random.Randomfor a reproducible standalone check;Nonepreserves the old
behaviour.rules.dice,rules.skillsandroll_dice_str/
apply_changes_to_checkgain matching optionalrngparameters. Combat
resolution was already seeded and is unchanged.docs/capabilities.md— a per-mechanic matrix of what the engine
resolves, what loads but produces no events, and what is not modelled. Its
published counts are recomputed from the corpus by
tests/test_capability_matrix.py.- Concept pages for reactions (the pre-armed model) and monsters (the built-in
AI, multiattack join rate, absent legendary actions). tests/test_docstrings_are_host_agnostic.py— fails the build on a docstring
that names a private downstream application, retired tooling, or a doc path
that does not exist in this repo. 104 such references were rendered onto the
public API site; all removed.
Changed
CONDITION_EFFECTS[EXHAUSTION]/[PRONE]descriptive strings corrected from
2014 to SRD 5.2 wording and labelled as not-enforced; the enforced exhaustion
rule is still the 2014 one (tracked inBACKLOG.md).- Sphinx cross-reference roles in docstrings, which rendered as literal markup
on the API site, converted to inline code. - Monkeypatching
roll_dice_strnow requires a two-parameter double
(lambda expr, rng=None: …).
dnd5e-srd-data
No schema or canonical-content changes.
Fixed
__version__derives from installed package metadata (0.3.0 shipped reporting
0.2.0).
Added
- Oracle coverage floors (
tests/test_oracle_coverage_floor.py). The
fidelity suite compares canonical entries only against slugs the oracle
contains, silently skipping the rest — so it reported green while the monster
oracle covered 3 of 341 monsters. Coverage is now a tested property with a
per-category floor pinned at today's ratio, to be ratcheted upward. - Corpus prose integrity gate (
tests/test_corpus_prose_integrity.py).
Fails on unsubstituted template placeholders in shipped descriptions. It found
monsters/ancient-gold-dragonshipping"makes {count} [[/item]] attacks";
registered as an upstream defect intests/oracle/known_prose_defects.json
rather than hand-edited (the corpus is translator output).
Changed
- Coverage floor raised 90 → 96 (actual 96.2%).
v0.3.1 — nat20-bridge: SillyTavern integration
First release including nat20-bridge, the localhost HTTP sidecar that exposes the engine to external hosts — built for the new SillyTavern-nat20 extension.
nat20-bridge (new package, MIT)
FastAPI sidecar under /v1: dice rolls, checks, short/long rests, party validation (sheet derivation — HP/AC/spell slots from a CharacterBuildSpec), full combat lifecycle with seeded determinism, SRD corpus browsing, homebrew CRUD, and forge/item for compact weapon recipes. Homebrew entries are schema-validated, namespaced hb-, and served through an overlay loader that never shadows canonical content.
Run it with uvx nat20-bridge (defaults to 127.0.0.1:8020). See the docs.
dnd5e-engine
- New public host seam
configure_lib_loader(loader)for injecting a customAssetLoader. __version__now matches package metadata (was stale at 0.2.0).
dnd5e-srd-data
- Version-only bump to keep the workspace in lockstep.
All three packages ship as 0.3.1.
v0.3.0 — item charge lifecycle + cast delegation
Item charge pools (Item.uses, 225/546 items), spend gate (item_use: sidecar), recharge (recover_item_uses,
dawn/dice formulas), uuid→Spell cast delegation with charge upcasting, LiveCombatView.custom_counters_by_entity. Details:
CHANGELOGs + docs/migration/v0.2-to-v0.3.md