Repository navigation
Releases: ByteTheDev/TSGPUI
Releases · ByteTheDev/TSGPUI
Release list
TSGPUI v0.3.0
TSGPUI v0.3.0
- Run host calls on worker threads and queue backend tasks, so the UI stays responsive.
- Add native file access for the backend, with a
notesexample that uses it. - Add a token-checked browser preview endpoint for
api.native. - Add build diagnostics, persisted state,
data-fetchPOST, and viewport units. - Split the GPUI view into focused modules.
- Refresh the README, the native API docs, and the website, which now renders the architecture, syntax, and safety docs in place.
Known limitations
- macOS bundles are unsigned and not notarized. Gatekeeper may require approval before first launch.
- Table and semantic tags use basic native container layout; browser table layout and disclosure behavior are not implemented.
- System tray support and multiple independent windows/apps are not included in this release.
See the repository documentation for renderer and platform limitations.
TSGPUI v0.3.0-beta.1 (pre-release)
Pre-release for testing. It is not for production use, and it may have bugs and breaking changes before 0.3.0.
Full change list: v0.2.0...v0.3.0-beta.1
Highlights
- Native host API (
api.native): file access confined to granted folders, process spawn from an allowlist (no shell), window control, desktop notifications, and local IPC between the app and other processes. - Host work runs in the background: calls run on worker threads so the window stays responsive. Backend tasks queue behind a waiting action and roll back cleanly if they fail.
- Browser preview runs
api.nativethroughtsgpui preview, using a token-checked local endpoint. examples/notes: a small app that saves, opens, deletes and lists notes through the native file API.- Development workflow: persisted state (
"persist": true), a development overlay (F12 or Ctrl+Shift+I), and build diagnostics that keep the last good build running. - CSS and HTML: viewport units,
z-index, anddata-fetchPOST with state-bound bodies. - Website and docs: new landing page, documentation section, and refreshed README.
Known gaps
- The native window has not been run on macOS or Linux. CI builds the host on Windows and macOS only.
- The WebView renderer does not provide
api.nativeyet. process.spawnwaits for the child to exit, so long-running services need a separateprocess.startAPI.- Window minimize, maximize and restore work only in the native host, not in the browser preview.
- IPC peers disconnect when the app reloads.
- The landing page's status section is out of date.
Try the notes example
bun install
bun run gpui:host
node packages/cli/bin/tsgpui.mjs build --project examples/notesTSGPUI v0.2.0
TSGPUI v0.2.0
- Add native macOS
.apppackaging and CI builds for Intel and Apple Silicon. - Extend native HTML coverage with semantic and table tags.
- Add per-edge solid border widths and styles.
- Fix the workspace package name and refresh Bun/Cargo lockfiles.
Known limitations
- macOS bundles are unsigned and not notarized. Gatekeeper may require approval before first launch.
- Table and semantic tags use basic native container layout; browser table layout and disclosure behavior are not implemented.
- System tray support and multiple independent windows/apps are not included in this release.
See the repository documentation for renderer and platform limitations.
TSGPUI v0.1.0
First public release of TSGPUI, an experimental, source-first prototype that compiles a supported subset of HTML and CSS into native GPUI elements and runs TypeScript backend actions in embedded QuickJS. No Chromium, no WebView.
Highlights
- Native controls: buttons, text inputs, textareas, checkboxes, selects, and form submission with required and numeric validation
- Live state via
data-bindand{{interpolation}}, withdata-repeatfor lists - Keyboard shortcuts (
data-shortcut), native confirm dialogs (data-confirm), and clipboard copy/paste - Native file open/read/save dialogs (1 MiB limit)
- User-initiated HTTPS GETs (
data-fetch) restricted to hosts listed inpermissions.network @mediaqueries with min/max width and height in px- Reusable static components, embedded PNG/JPEG/GIF/WebP/BMP/SVG images
- CLI packaging into a single executable, with
tsgpui devfor fast reload - Landing page in
website/
Testing
- 15/15 JS compiler and CLI tests pass
- Typecheck and example compilation pass
- Native host builds with
cargo checkandcargo test(the Rust test suite currently has no tests)
Known limitations
- The native Windows host has not been run end-to-end; GUI behavior is not yet verified
- HTML/CSS is a documented subset; no
position, animations, rich text, or accessibility tree yet - The packaged-executable overlay is not signed or tamper-proof, and has not been tested against real PE loaders
See docs/SUPPORTED_SYNTAX.md, docs/ARCHITECTURE.md, and docs/SAFETY.md.