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>
25 lines
606 B
JSON
25 lines
606 B
JSON
{
|
|
"name": "fuji-viewer",
|
|
"version": "0.1.8",
|
|
"private": true,
|
|
"license": "AGPL-3.0-only",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 127.0.0.1 --port 5187 --strictPort",
|
|
"build": "vite build",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
"test:tutorial": "node --test src/tutorial/*.spec.ts"
|
|
},
|
|
"dependencies": {
|
|
"@boardgamers/protocol": "0.10.0",
|
|
"fuji-engine": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "7.2.0",
|
|
"@types/node": "24.10.1",
|
|
"svelte": "5.56.8",
|
|
"svelte-check": "4.7.4",
|
|
"typescript": "5.9.3",
|
|
"vite": "8.2.0"
|
|
}
|
|
}
|