Skip to content

Add Electron desktop workspace app with Svelte UI and workflows#38

Merged
JosunLP merged 114 commits into
mainfrom
development
May 16, 2026
Merged

Add Electron desktop workspace app with Svelte UI and workflows#38
JosunLP merged 114 commits into
mainfrom
development

Conversation

@JosunLP

@JosunLP JosunLP commented May 13, 2026

Copy link
Copy Markdown
Owner

This pull request introduces a major 0.7.0 release with significant new features, improvements, and infrastructure changes. The highlights are the addition of a dedicated Electron desktop app with full CI and release automation, expanded test coverage for the chess engine and evaluation, improved installer scripts, and updated documentation. CI workflows and release pipelines have been refactored to support cross-platform desktop builds and asset publishing.

Major Features and Desktop Integration

  • Introduced a new Electron-based desktop app in the desktop/ directory, featuring a Svelte renderer, persistent sessions, local backend launch controls, and native packaging for Linux, macOS, and Windows. Packaged builds support in-app updates and native installers (.deb, .dmg, .msi). [1] [2] [3] [4] [5]
  • Updated the README.md and CHANGELOG.md to document the desktop app, new install/uninstall scripts, and all major features added in 0.6.0 and 0.7.0. [1] [2] [3] [4] [5]

CI/CD and Release Automation

  • Refactored GitHub Actions workflows to add a cross-platform desktop CI job (ci.yml), desktop release job (release.yml), and dependency review job. Desktop builds are now validated and published for all major platforms, with smoke tests and artifact uploads. [1] [2] [3] [4] [5]
  • All Bun setup steps in workflows now pin to bun-version: 1.3.10 for reproducibility. [1] [2] [3] [4]

Engine and Evaluation Test Coverage

  • Added perft and evaluation symmetry tests, mate-in-one verification, and transposition-table tests to improve engine reliability and correctness.

Installer and Docs Improvements

  • Unified install and uninstall scripts for all platforms (install.sh/uninstall.sh) and updated documentation to reflect the new workflow and platform support. [1] [2]

Version Updates

  • Bumped all version metadata (Rust crate, WASM, npm, desktop, docs) to 0.7.0 and promoted the previously unreleased 0.6.0 desktop work to a proper changelog entry. [1] [2] [3]

These changes collectively deliver a robust desktop experience, improved developer workflows, and stronger test coverage for the project.

Summary by CodeRabbit

  • New Features

    • Full CheckAI Desktop app (Electron) with multi-view UI, native backend control, updater, and packaging
    • Archive & replay of completed games via REST
  • Documentation

    • Desktop UI guide and Desktop App docs added
    • REST archive endpoints and updated install/getting-started instructions
  • Tests

    • Expanded evaluation and search/perft/move-ordering tests
  • Chores

    • CI/release/workflow updates, dependency review workflow, version bumps, installer/uninstaller script updates

Copilot AI and others added 30 commits March 9, 2026 16:30
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Copilot AI and others added 2 commits May 16, 2026 10:43
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/3565f9d2-4e97-4e10-b8aa-9fa438cf3cf9

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/3565f9d2-4e97-4e10-b8aa-9fa438cf3cf9

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>

Copilot AI commented May 16, 2026

Copy link
Copy Markdown
Contributor

@copilot apply changes based on the comments in this thread

Erledigt in 913070e, mit anschließendem Cleanup in 1b87df4. desktop/src/backend-url.ts akzeptiert jetzt auch Eingaben wie localhost:8080, weil nur noch echte scheme://-URLs als bereits schematisiert behandelt werden. In src/eval.rs prüft der Bishop-Pair-Test jetzt den exakten Bonus über accumulate_internal(..., false) statt über einen materialverfälschten Vergleich. Validiert mit cargo test eval::tests:: -- --nocapture sowie dem bestehenden Desktop-check-Script; die aktuellen CI-Runs für den PR-Stand sind ebenfalls grün.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 57 out of 63 changed files in this pull request and generated 2 comments.

Comment thread desktop/src/backend-url.ts Outdated
Comment thread docs/guide/desktop-ui.md
@JosunLP

JosunLP commented May 16, 2026

Copy link
Copy Markdown
Owner Author

@copilot apply changes based on the comments in this thread

Copilot AI and others added 2 commits May 16, 2026 11:09
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/33dd5df1-bdbc-435c-bdda-36e821becef0

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/33dd5df1-bdbc-435c-bdda-36e821becef0

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>

Copilot AI commented May 16, 2026

Copy link
Copy Markdown
Contributor

@copilot apply changes based on the comments in this thread

Erledigt in d4416a4, mit einer kleinen Klarstellung in f07a47e. Der Desktop akzeptiert für lokal gestartete Backends jetzt nur noch http://-Loopback-URLs, damit Start backend keinen HTTPS-URL gegen einen plain-HTTP-checkai serve startet. Die gemeldete Tabellenstelle in docs/guide/desktop-ui.md habe ich erneut geprüft; im aktuellen Branch sind Header- und Separator-Zeile bereits korrekt mit einfacher führender Pipe vorhanden, daher war dort keine weitere Änderung nötig. Validiert mit cargo fmt --all -- --check und dem bestehenden Desktop-check-Script.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 57 out of 63 changed files in this pull request and generated 2 comments.

Comment thread docs/guide/getting-started.md Outdated
Comment thread README.md
@JosunLP

JosunLP commented May 16, 2026

Copy link
Copy Markdown
Owner Author

@copilot apply changes based on the comments in this thread

Copilot AI and others added 6 commits May 16, 2026 15:18
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/a52d318f-6ae9-42fd-8eda-eee548397cfe

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/a52d318f-6ae9-42fd-8eda-eee548397cfe

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/a52d318f-6ae9-42fd-8eda-eee548397cfe

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/a52d318f-6ae9-42fd-8eda-eee548397cfe

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/a52d318f-6ae9-42fd-8eda-eee548397cfe

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/JosunLP/checkai/sessions/a52d318f-6ae9-42fd-8eda-eee548397cfe

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>

Copilot AI commented May 16, 2026

Copy link
Copy Markdown
Contributor

@copilot apply changes based on the comments in this thread

Erledigt in 81612f8, mit Review-Follow-ups bis 068b20d. README und Getting-Started empfehlen jetzt standardmäßig einen gepinnten Release-Download mit SHA-256-Prüfung; die bisherigen Pipe-to-shell-Befehle stehen nur noch als ausdrücklich weniger sicherer Shortcut. Validiert mit git diff --check, erfolgreichem VitePress-Docs-Build und finaler Review/CodeQL-Validierung.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 57 out of 63 changed files in this pull request and generated no new comments.

@JosunLP
JosunLP merged commit 279ccc2 into main May 16, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants