Repository navigation
feat(gpui): scaffold native workspace #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
adda650
feat(gpui): scaffold native workspace
IntegerAlex 6c50cc1
refactor(core): move engine modules out of tauri
IntegerAlex 529971a
refactor(core): port pipeline behind engine event boundary
a39b3e5
feat(core): migrate history, stats, and webview settings
31f2f86
feat(ui): add gpui shell and dark tokens
f43f6ff
feat(ui): wire dictation, hotkeys, tray, and loopback
2863620
feat(ui): add history search, filters, and bulk actions
3ee5ab4
feat(ui): compute real stats with week and heatmap rules
a9c7e26
feat(ui): add configuration sections and onboarding
d430dac
feat(ui): add durable errors and recording indicator
a661c35
feat(ui): polish navigation, search, and settings craft
5edb4ff
build: package the gpui app
81516c7
ci: build native packages
2f173f5
docs: document the gpui app and packaging
fbb20e4
feat(ui): make the wayland trigger actionable
db79a6b
feat(ui): bundle Inter, use Lucide icons, and harden engine lifecycle
cc0706e
fix(core): download the VAD on the warm thread
b88cee6
fix(ui): guard model deletion while recording
fb322fb
feat(models): add Parakeet Ultra and multi-file downloads
e8c8bd9
feat(models): show downloads and add multi-file fetch test
c745997
feat(ui): add hover feedback to sections and filters
97d753e
feat(ui): expose local cleanup model selection and downloads
18b8c81
chore: ignore local worktrees
ba48d6f
feat(hotkeys): add evdev global shortcut for Wayland
IntegerAlex bd83861
feat(ui): add status-only layer-shell dictation widget
IntegerAlex a90fd40
feat(output): fall back to dotool and ydotool on Wayland
IntegerAlex 2dd2744
fix(widget): do not retry a backend that already failed
IntegerAlex 41b39c7
fix(hotkeys): end a held dictation when the device set changes
IntegerAlex b92a3cc
chore(hotkeys): keep non-Linux builds warning-free
IntegerAlex 9e4f9f4
docs: document the evdev trigger and status widget
IntegerAlex ab0e9d4
feat(text): add deterministic dictation repair and cap resource use
d5bd8be
docs: describe deterministic repair and resource caps
d97aea0
merge: deterministic text repair and resource caps
IntegerAlex b9b2daa
merge: evdev hotkey, layer-shell widget, and Wayland output fallbacks
IntegerAlex b777557
fix(ui): copy the input-group command and test raw text path
4b6671b
feat(ui): offer to turn Polish off when its model is missing
6adf36e
docs: describe deterministic repair and evdev/widget stack
e267afd
fix(text): restore question marks on a trailing lowercase sentence
3f91016
feat(text): assemble VAD segments into sentences before repair
a1dce45
feat(text): add ITN, spoken punctuation, replacements, live text, and…
4ab049f
fix(core): unload models off the UI thread
e390da7
docs: note sentence assembly, ITN, and live text
8d021f1
fix(text): keep the final full stop on currency cents
78d5ef1
test: cover live partial events and preview guards
96290fe
fix(ui): schedule idle unload after ASR warm too
ad2cb93
Potential fix for pull request finding 'CodeQL / Workflow does not co…
IntegerAlex 65a9c50
fix: map UI state serialization errors
IntegerAlex 788f2b5
fix(output): keep spaces between streamed sentences; lower VAD onset …
IntegerAlex 0846599
style: cargo fmt
IntegerAlex 7f1602b
ci: install libxkbcommon-x11-dev for the gpui x11 link path
IntegerAlex 5fec9ae
fix(packaging): resolve deb/rpm asset paths from the package dir
IntegerAlex 0c0da54
ci: don't trip pipefail when grep -q closes the tar pipe early
IntegerAlex 8239b8a
fix(core): bound the stop path, pad segment tails, retry LLM init
IntegerAlex 57c4745
feat(ui): live waveform overlay widget
IntegerAlex 1ef8565
docs: PR template with before/after screenshot section for UI changes
IntegerAlex 5bdc32c
docs(agents): PRs with UI changes must attach before/after screenshots
IntegerAlex 58498a7
fix(core): use iter::repeat_n to satisfy clippy::manual_repeat_n
IntegerAlex 96c5451
style(core): cargo fmt
IntegerAlex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # Keep builds within the machine's memory budget. llama.cpp/sherpa C++ builds | ||
| # are the peak; two jobs avoids the 13 GB spikes seen with the default. | ||
| [build] | ||
| jobs = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| ## Summary | ||
|
|
||
| <!-- What changed and why, in a few sentences. --> | ||
|
|
||
| ## Testing | ||
|
|
||
| <!-- cargo test results, and how you verified the behavior manually. --> | ||
|
|
||
| ## Screenshots (UI changes only) | ||
|
|
||
| <!-- If this PR touches any UI (widgets, views, config screens): --> | ||
| <!-- attach a screenshot of the UI BEFORE this PR and AFTER it, so reviewers --> | ||
| <!-- don't have to build and run to see the difference. Delete this section for pure backend work. --> | ||
|
|
||
| Before: | ||
|
|
||
| After: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,103 +1,94 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| # master had no CI at all: the pull_request filter below only matches PRs | ||
| # into main/UI_dev, while all work lands on master. That is how both | ||
| # formatters drifted red without anyone noticing. | ||
| push: | ||
| branches: [master] | ||
| pull_request: | ||
| branches: [main, UI_dev] | ||
| branches: [master, main, UI_dev] | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| frontend-lint: | ||
| name: Frontend Lint | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: application | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 11 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
| cache: pnpm | ||
| cache-dependency-path: application/pnpm-lock.yaml | ||
| - run: pnpm install --frozen-lockfile | ||
| - run: pnpm run lint | ||
| - run: pnpm run format:check | ||
|
|
||
| frontend-test: | ||
| name: Frontend Tests | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: application | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 11 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
| cache: pnpm | ||
| cache-dependency-path: application/pnpm-lock.yaml | ||
| - run: pnpm install --frozen-lockfile | ||
| - run: pnpm run test | ||
| permissions: | ||
| contents: read | ||
|
|
||
| frontend-typecheck: | ||
| name: Frontend Typecheck | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: application | ||
| jobs: | ||
| rust: | ||
| name: Rust | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4 | ||
| - uses: dtolnay/rust-toolchain@1.99.1 | ||
| with: | ||
| version: 11 | ||
| - uses: actions/setup-node@v4 | ||
| components: rustfmt, clippy | ||
| - uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| node-version: 22 | ||
| cache: pnpm | ||
| cache-dependency-path: application/pnpm-lock.yaml | ||
| - run: pnpm install --frozen-lockfile | ||
| - run: pnpm run build | ||
| workspaces: "." | ||
| - name: Install build dependencies | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y \ | ||
| clang cmake pkg-config \ | ||
| libasound2-dev libdbus-1-dev libssl-dev \ | ||
| libfontconfig-dev libfreetype-dev \ | ||
| libwayland-dev libxkbcommon-dev libxkbcommon-x11-dev libx11-xcb-dev \ | ||
| libvulkan-dev | ||
| - run: cargo fmt --check | ||
| - run: cargo clippy --workspace -- -D warnings | ||
| - run: cargo test --workspace | ||
|
|
||
| rust-check: | ||
| name: Rust Check | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: application/src-tauri | ||
| package: | ||
| name: Package | ||
| needs: rust | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| - uses: dtolnay/rust-toolchain@1.99.1 | ||
| - uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| workspaces: application/src-tauri | ||
| - name: Install Tauri build deps (Linux) | ||
| workspaces: "." | ||
| - name: Install packaging dependencies | ||
| run: | | ||
| sudo apt-get update | ||
| # No Vulkan SDK: the llama.cpp Vulkan backend is opt-in, so the | ||
| # default build needs no glslc / SPIRV-Headers. | ||
| sudo apt-get install -y \ | ||
| libwebkit2gtk-4.1-dev \ | ||
| libgtk-3-dev \ | ||
| libayatana-appindicator3-dev \ | ||
| librsvg2-dev \ | ||
| patchelf \ | ||
| libasound2-dev \ | ||
| libdbus-1-dev | ||
| - run: cargo fmt --check | ||
| - run: cargo clippy -- -D warnings | ||
| - run: cargo test | ||
| clang cmake pkg-config \ | ||
| libasound2-dev libdbus-1-dev libssl-dev \ | ||
| libfontconfig-dev libfreetype-dev \ | ||
| libwayland-dev libxkbcommon-dev libxkbcommon-x11-dev libx11-xcb-dev \ | ||
| libvulkan-dev \ | ||
| dpkg-dev rpm | ||
| cargo install cargo-deb cargo-generate-rpm --locked | ||
| - name: Build release binary | ||
| run: cargo build --release -p floure-app | ||
| - name: Build deb | ||
| run: cargo deb --no-build -p floure-app | ||
| - name: Build rpm | ||
| run: cargo generate-rpm -p crates/floure-app | ||
| - name: Assert package contents | ||
| shell: bash | ||
| run: | | ||
| set -euo pipefail | ||
| deb=$(find target/debian -name '*.deb' | head -1) | ||
| test -n "$deb" | ||
| # plain grep + >/dev/null, never -q: grep -q exits on the first | ||
| # match and tar's SIGPIPE becomes exit 2 under pipefail. | ||
| dpkg-deb -c "$deb" | grep '.usr/bin/floure$' >/dev/null | ||
| dpkg-deb -c "$deb" | grep '.usr/share/applications/floure.desktop$' >/dev/null | ||
| dpkg-deb -c "$deb" | grep '.usr/share/icons/hicolor/512x512/apps/floure.png$' >/dev/null | ||
| rpm=$(find target/generate-rpm -name '*.rpm' | head -1) | ||
| test -n "$rpm" | ||
| rpm -qlp "$rpm" | grep '^/usr/bin/floure$' >/dev/null | ||
| if ldd target/release/floure | grep -q 'not found'; then | ||
| echo '::error::unresolved shared library' | ||
| ldd target/release/floure | ||
| exit 1 | ||
| fi | ||
| - uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: floure-linux-packages | ||
| path: | | ||
| target/debian/*.deb | ||
| target/generate-rpm/*.rpm | ||
| if-no-files-found: error | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.