Something went wrong. Try again.
Web frontend and supporting services for lance.blue
Something went wrong. Try again.
feat(forces)!: resolve a unit's art from the index, not a generated map master
web/src/scenario/unit-art.ts named the 61 designs the scenario catalog fields and had to be regenerated whenever one changed. The index carries all 8,456, so unit-art.ts asks for the handful a screen draws: /api/units/art answers in a few hundred bytes, and the index itself is the fallback when the API cannot be reached - the same data, shared with the force builder. library() moves out of megamek.ts, which is imported by tests that run under plain node and cannot resolve an extensionless import of api.ts. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Change-Id: Ib5bd24049aa96dbe056ac301ad4d6a6bb37449d3
Author
permadeath.com Co-author Claude Opus 5 (1M context) Committer Tangled Date (Aug 21, 2026, 4:34 PM UTC) Commit 2b8161b9 2b8161b9a52fb542bfccf0f91332eeb52cd4554c Parent b34144ee b34144eef8dc9e454c5084d8c2bdf856e99a9d90 Change ID Ib5bd240 Ib5bd24049aa96dbe056ac301ad4d6a6bb37449d3