BGS lets the only human of a game against bots take back their last saved move (protocol 0.10.0). The header utilities show an undo control while BGS reports it available to the seated player, except in analysis and while a move awaits the next state; it asks BGS to undo, which then sends the earlier state. A state that goes backwards stops playback and discards local selections (dice, equipment forms, lava warnings). The local harness offers the same control after each move made from the interface. Upgrade @boardgamers/protocol from 0.6.1 to 0.10.0 (older versions drop undo:available) and remove the 0.6.1 chat scrolling patch: 0.10.0 ships the same fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
1.2 KiB
JSON
21 lines
1.2 KiB
JSON
{
|
|
"name": "fuji",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "pnpm --filter fuji-engine build && pnpm --filter fuji-viewer dev",
|
|
"build": "pnpm --filter fuji-engine build && pnpm --filter fuji-viewer build",
|
|
"test": "pnpm --filter fuji-engine test",
|
|
"check": "pnpm test:locales && pnpm fmt:check && pnpm build && pnpm --filter fuji-viewer check && pnpm test && pnpm --filter fuji-viewer test:tutorial",
|
|
"fmt": "oxfmt",
|
|
"fmt:check": "oxfmt --check",
|
|
"simulate": "pnpm --filter fuji-engine build && node scripts/simulate.mjs",
|
|
"test:browser": "node tests/browser-smoke.mjs && node tests/bgs-bundle-smoke.mjs && node tests/presentation-smoke.mjs && node tests/chat-smoke.mjs && node tests/mobile-readiness-smoke.mjs && node tests/chat-tabs-smoke.mjs && node tests/chat-mentions-smoke.mjs && node tests/protocol-lifecycle-smoke.mjs && node tests/undo-smoke.mjs && node tests/tutorial-browser.mjs && node tests/analysis-chat-browser.mjs && node tests/localization-browser.mjs",
|
|
"test:locales": "node scripts/check-locales.mjs packages/viewer/src/localization && node --test scripts/localization.test.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"oxfmt": "0.61.0",
|
|
"playwright": "1.62.1"
|
|
},
|
|
"packageManager": "pnpm@11.18.0"
|
|
}
|