The 5M model (8 transformer blocks with generated attention bias) computed with
plain f32 loops: no ML runtime, no Python. Weights in a small own format (f16,
10 MB) written by scripts/maia-convert.py from the published checkpoint; the
shared bias tensor is kept once. Agrees with the original PyTorch model to four
decimals on the reference positions (tests/reference.json, an ignored test that
needs the weights); about 85 ms per position on one CPU core. Also the
analyst's research for playing against it (docs/research/play-mode.md).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- crates/releases: the latest release on GitHub, its files and SHA-256 sums, shared by
the desktop updater and the phone (desktop update.rs keeps its installers).
- mobile-api check_release: a newer release with its APKs and sums; a desktop-only
release is no update, one without the light APK's sum cannot be checked.
- Android (android-ui.md §25): a check at start and on return once a day (switch and
«Check now» in About), a card over the databases, a sheet through the install
permission, the download (DownloadManager), the SHA-256, the full build keeping its
engine network, and PackageInstaller; the state survives restarts, the update's
snackbar waits for a screen. Network state permission for both builds (the full one
crashed without it). Debug builds may ask a test server (CP_UPDATE_API).
- Release notes on GitHub come from this version's CHANGELOG section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The downloads of the desktop (lookup by nickname, one database per site or both in one,
resuming without duplicates, games still being played fetched once they end) move into a
shared crate, online-games; the desktop keeps its window on top of it.
On Android, «Add a database» → «Games from Lichess and Chess.com»: a nickname, what each
site has, the download with its progress. It belongs to the app, not to the screen: the
list of databases shows how it goes and says how it ended. «Download new games» in the
database's menu and over its games list fetches only the new ones. The games of a
downloaded database are listed from the most recent one (by UTC date and time, both sites
interleaved). Both builds may now use the internet, only when the user asks.
Reviewed by an independent tester and designer (docs/design/android-ui.md §23, §24).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The game analysis of the desktop (evaluations of the main line, judgements, accuracy,
cache and the engine job) moves into a shared crate, game-review, so both apps give the
same numbers. The desktop uses it unchanged in behaviour.
On Android, ⋮ → «Game analysis» runs Stockfish over the main line in its own process
(the live engine waits): an evaluation graph and a status row between the board and the
notation, marks in the notation, the better line of an error on the board, a report sheet
with both players side by side. Games with [%eval] and games analysed before show their
report at once. The analysis stops with the screen and goes on after it, also after the
phone is turned, and is cached as it goes.
Reviewed by an independent tester and designer (docs/design/android-ui.md §21, §22).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chess-import opens a database from its content (PGN, zip, 7z, cbv) and a
ChessBase database from the contents of its files: Android hands over file
descriptors, not paths. The text of comments as shown moves to chess-core
(comment_display_text), so the phone and the desktop show the same.
crates/mobile-api: a thin UniFFI bridge — open a database from a descriptor, a
ChessBase folder's files, or a path (tests); game rows a page at a time; a game
as a tree of moves with positions, last-move squares, NAGs and comments. It
builds for arm64-v8a and x86_64 with cargo-ndk (NDK r30, API 31) and its Kotlin
bindings generate with `cargo run -p mobile-api --features bindgen --bin
uniffi-bindgen`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The translation mark sat in a row with its comment, the row's width computed by
subtraction; rounding made it a pixel wider than the panel and the resizable
panel grew every frame (moves in comments jumped while the mouse moved). The
mark is now painted in the comment's corner, outside the layout, with room
kept by the frame's margin. Comments in variations use the comment size.
Engine lines keep their horizontal scroll without a visible bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plan's /v1/models answers {"models": [{"slug", "visibility", "priority"}]},
not the API's {"data": [{"id"}]}: no model was found and requests went out
with an empty model (HTTP 400). Both shapes are read now and OpenAI's preferred
chat model is taken; a job without a model picks one itself. Check failures
show in Settings › Translation; translation errors go to chesspenguin.log. The
offer starts at a sentence or two of foreign text, and text in brackets is
translated (only [%…] commands are kept, and they never reach the model).
Verified with the owner's subscription: models listed, French comments
translated into Russian with their moves intact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reference tab no longer slides under the board on a laptop screen with
200 % scaling: the games table narrows its player columns to the panel, the
moves table shows a column only while it fits, its heading lines wrap, and the
board gives way in a tall narrow window so the reference keeps 320 px.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pending Lichess games are asked about by id; broken connections are retried with waits;
a file lock keeps two running ChessPenguins from writing one database.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The newest release is checked at start; a button next to Settings offers it. The Windows
zip, the AppImage and the Linux archive replace themselves (checksum-checked) and restart;
macOS opens the disk image; packages are downloaded with the command that installs them.
Reviewed by independent tester and designer agents; their findings fixed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Opening index: games from a set-up position are left to the pass; exact preparation
progress; quiet import notes; clearer preparation text; randomized Mega test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The About tab shows the version and links to the website (in the interface language),
the release notes of this version, the source code and the support contacts; "Support
the project" opens chess.vrubel.xyz/donate, which the website server sends on to
DONATE_URL (the support section while it is not set), so the donation service can change
without a new release. Links open in the browser (eframe "links": webbrowser, MIT OR
Apache-2.0).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stockfish downloaded on request (packages about 14 MB; the Flatpak keeps it
inside), macOS builds for Apple Silicon, position search fixes and the
narrow-window layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The "Board" pane next to the game list (Ctrl+B): moves played on it filter
the list to the games that reach the position by any move order, together
with the filters; the moves played next are listed with games, a results
bar, average rating and last year. Games reached by another order are
marked and "only this order" narrows the list; strongest games first.
A game opens at the found position; "Find in database" (Ctrl+Shift+F)
searches the position of the game on screen.
Large ChessBase databases: a fast main-line walk (moves built from the
board), pruning by material and pawns, the .cbb search booster when valid;
Mega Database: 0.4 s for the starting position, under 0.1 s deeper.
PGN databases and books: positions of all games, variations included,
kept in memory once built.
Also: × to clear filter and search fields; "Open as a new game" opens at
the last move; the "Moves" column is now "Length".
Docs: decision 13, design (docs/design/board-search.md), research
(position-search, position-index), dev notes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mega Database (11.7 million games) opens in under a second: a .cbh with
20,000 records or more is read in place, a game is converted to PGN when
opened. Filter panel on the right (player with suggestions, colour,
opponent, tournament, annotator, years, Elo rule, result, ECO, moves,
comments, variations), applied live in the background with cancellation.
Fixes: a ChessBase game unreadable from its first move (Chess960) crashed
the import; databases mixing UTF-8 and single-byte texts were decoded as
Cyrillic.
Docs: decision 12, design (docs/design/large-databases.md), format research
and acceptance criteria, QA report 2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Piece sets governor, kosal, metaltops (from PyChess); boards Sketch (Lichess
horsey), IC, NCF and eight own flat palettes; sound sets Futuristic, NES
(Lichess) and Wood, Glass, Clicks (Kenney, CC0).
- The bundled checkmate sounds were git symlinks copied as text; Lichess sets now
play the check sound for mate. Tests check every sound and piece file.
- Version 0.3.0, changelog and AppStream release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New crate chess-import converts non-PGN sources to PGN in memory and returns
a PgnDatabase, so the library, notation and analysis work unchanged:
- .cbv archives (container rewritten after uncbv), .cbh with companion files
(layout after the public Morphy format description): games, variations,
comments with per-database code page detection, NAGs, squares/arrows, set-up
positions, time spent, book chapters (guiding texts) as move-less records;
- ChessBase figurines become piece letters, diagram/object markers handled,
Western names in Cyrillic databases read correctly;
- .zip/.7z with PGN (own encoding each), .cbh and .cbv; duplicates skipped;
- .cbz/encrypted archives and 2CBH rejected with clear messages.
Library: '+ Add database', format shown, import notes; comments keep
paragraph breaks. Tests on the user's sample books (skipped when absent).
Also: AUR PKGBUILD for 0.2.0 with the bundled Stockfish.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New screenshots (Merida pieces, green board) in English and Russian:
engine analysis, game review, engine marks, engine settings, library, settings.
- Better lines under marked moves show 6 moves and grow while stepping.
- CP_REPORT dev hook; version 0.2.0, changelog and AppStream release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Native chess database for Linux: PGN library, notation with variations and
comments, UCI engine analysis, move entry and export.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>