Ukemi is a visual interface for Jujutsu (jj) in VS Code, Cursor, or its own window. In judo, ukemi is the art of falling safely. With jj and undo, every change is safe to try.
There are two ways to use Ukemi:
- Extension. For VS Code, Cursor, VSCodium, Windsurf and other editors built on VS Code. Ukemi sits in the sidebar next to your files. Install it from the VS Code Marketplace or Open VSX.
- Desktop app. For JetBrains IDEs, other editors, or when you want jj in a separate window. Open several repositories in tabs, with a built-in terminal and a log of every jj command. Download it from the GitHub releases for Linux, macOS and Windows. See Desktop app.
| Extension overview | Stacked pull request hover |
|---|---|
![]() |
![]() |
- Change graph. See your changes, bookmarks, tags, workspaces and conflicts. The working copy has a red seal. Filter by Recent, Mine, My history, Stack, Working copy (the working copy and its last 5 first parents) or jj log (the
revsets.logof your jj config) and choose the history depth. Recent also shows the last 10 commits on the trunk. Revset… shows any revset you type. The star in the revset bar saves it by name, so it is listed in the filter menu from then on. Changed files appear as a list or a tree. - Drag and drop. Drag a change onto another change to rebase it with its descendants. Hold Alt to move only that change. Hold Ctrl to duplicate it onto the target, and hold Ctrl and Alt to duplicate it with its descendants. Drop a change on the line between a change and its parent to move it there and reorder the stack. Hold Alt to bring its descendants along, or Ctrl to insert a duplicate. Drag a file to move its changes, or hold Ctrl to copy them. Drag a bookmark to move it.
- Edit history. Use the context menu or the hover action to describe, create, edit, squash, split, abandon, duplicate and revert changes. Rebase onto the trunk, onto another change, or insert the change before or after another. Ship to Trunk Now moves the trunk bookmark to that change and pushes it. New Change from Trunk starts a working copy on the trunk. New Change from Bookmark, Request or Revision opens a new working copy there. When a local bookmark and a remote bookmark share a name, Ukemi asks which one to use. Click a change to show or hide its files.
- Suggested descriptions. The describe dialog has a button for each AI coding tool you have installed: Claude Code, Cursor CLI or GitHub Copilot CLI, and in VS Code also Copilot Chat. It suggests a description from the change's diff. See Suggested descriptions.
- Bookmarks. The Bookmarks panel lists local bookmarks and remote bookmarks. Filter Bookmarks in the view title filters that list by bookmark name. Hover a row to open it as the working copy, edit, rename, delete, forget, track, untrack or push it. The context menu can also create a pull or merge request, or a new workspace.
- Workspaces. The Workspaces panel lists workspaces. Open one in this window or a new window, open a terminal, refresh it, reveal it in the graph, or start a new change in it. A new workspace goes in a folder named
<repo>-<name>next to the repository, in the folder set byukemi.workspaces.location, or in one you pick with Choose Folder…. - Split by hunks. Select hunks in a split editor. The selected hunks go into a new change before the original. You can also split by files.
- Evolution. The Evolution panel shows how the selected change evolved: each amend, describe, snapshot and rebase. Select a change in the graph. Click a version to see what it changed, compare it with the current version, or restore its files. Follow the Selected Change keeps the panel on the change you select.
- Diffs. Click a file to see its diff. The Source Control view shows the working copy for repositories that the Git extension does not show. Turn on
ukemi.showEditorTitleDiffto add an Open Changes (jj) button to the editor title. - Sync. Fetch, push the current bookmark, push all bookmarks, undo and redo from the toolbar. Auto fetch stays off until you turn it on; the toolbar switch turns it on or off for the active repository only. SSH remotes use your SSH agent. When ssh needs a key passphrase or asks to trust a new host key, Ukemi asks you; auto fetch never asks. For HTTPS remotes, Ukemi uses your git credential helper first, then your GitHub sign-in in the editor or your GitLab sign-in. For GitHub, you can also choose a user name and a personal access token with the
reposcope. Use Sign In to GitHub or GitLab to change the choice, and Sign Out of GitHub or GitLab to remove a stored token. - Pull and merge requests. Create GitHub pull requests and GitLab merge requests from a change. Ukemi asks which branch to target and proposes the parent bookmark first, so the next request in a stack targets the one below it. See their status and CI result in the graph. Hover a request you opened to see the jobs, and use the open icon to open it in the browser. Merge them and clean up after the merge.
- Stacked requests. Requests that build on each other show their position, such as
2/3, next to the request number. Sync Stack on a request fetches first, then pushes the stack's bookmarks and points each request at the one below it, or at the trunk once that one is merged. If GitHub rebased the remaining branches after a merge, Ukemi replaces them with your local copies; it asks first when their content differs. On GitHub it also groups the pull requests into GitHub's native stack view (disable withukemi.forge.nativeStacks). Rebase Stack onto Trunk on a request rebases the whole stack and offers to sync it. - Clean up. Review merged and conflicted bookmarks, deleted remote bookmarks, workspaces that are not open, and divergent changes, then apply the selection.
- Many repositories. Ukemi finds repositories in subfolders, for example
tools/firmware/repo. When it finds more than one, select it in the dropdown. Ukemi follows the active editor. - No setup. When jj is missing, Ukemi offers to download the official static release and checks its SHA-256 digest. That binary can be added to
PATHin integrated terminals.
- Linux (tested on Ubuntu 24.04 and Fedora 44).
- Windows
- macOS
- jj 0.46 or later. Ukemi downloads jj 0.48 when you agree.
The describe dialog shows a button for each tool below that is installed and enabled. Ukemi has no AI service or key of its own: it runs your tool, signed in to your account, and uses your plan and tokens. Click a button, then edit the suggestion or select Undo. Nothing is saved until you select Save.
| Tool | Command | Setup |
|---|---|---|
| Claude Code | claude |
Install it, run claude once and sign in. |
| Cursor CLI | cursor-agent |
Install it and run cursor-agent login. |
| GitHub Copilot CLI | copilot |
Install it, run copilot once and sign in with /login. You need a Copilot plan. |
| VS Code language models | none | VS Code only. Install GitHub Copilot Chat or another extension that provides language models. VS Code asks once whether Ukemi may use them. |
- Detection. Ukemi looks for the command on
PATHand shows its button when<command> --versionsucceeds. The desktop app readsPATHfrom your login shell when you start it from the launcher. A tool that you install later appears within a minute. - What is sent. The change's diff (files that may hold secrets, such as
.env*, private keys and.npmrc, and lock files and generated files are left out, the rest is cut atukemi.describeSuggest.maxDiffBytes), its file summary, its current description, the descriptions of its last 10 ancestors so the suggestion follows the repository's style, and yourukemi.describeSuggest.instructions. The tool may send them to its provider. - What the tool can do. Ukemi runs it once, in an empty temporary folder, with its own tools turned off (Claude Code), in ask mode (Cursor) or without tool permissions (Copilot). It cannot read or change your repository. Stop or closing the dialog ends it.
- Choose tools and models.
ukemi.describeSuggest.toolssets which buttons appear and in which order; an empty list hides them.ukemi.describeSuggest.modelspicks a model per tool, for example{ "claude": "haiku" }for faster answers.
Ukemi also runs as an app of its own, without VS Code. It has the same change graph and actions as the extension, and adds:
- Repository tabs. Open several repositories in one window, each in its own tab.
- Terminal. A built-in terminal in the panel at the bottom, opened in the repository.
- Command log. The Log tab lists every jj command Ukemi ran, with its time and exit code. Problems only hides everything but warnings and errors.
- Diffs and conflicts. Diffs open next to the change details. Resolve conflicts in an editor that accepts one side, or all sides, even when more than two revisions conflict.
| Diffs and the jj command log | Resolve conflicts with many sides |
|---|---|
![]() |
![]() |
On Linux and macOS, one command installs it for your user, without sudo (except once on Ubuntu 23.10 and later, see below):
curl -fsSL https://samuelba.dev/ukemi/install.sh | shRun it again to update. On Linux, an app installed this way can also update itself: Update Now checks the release's signature first. On Linux it unpacks the app into ~/.local/share/ukemi and adds the ukemi command and the app menu entry under ~/.local, so it needs neither FUSE nor AppImageLauncher. Ubuntu 23.10 and later let only programs with an AppArmor profile use the sandbox Ukemi's windows run in, so there the script offers to install one with sudo, once; it covers later updates too. Without it, Ukemi starts without the sandbox. An AppImage that an earlier version of the script installed is replaced. On macOS it installs Ukemi.app in /Applications, or ~/Applications when that is not writable, and the ukemi command in ~/.local/bin. A download by the script is not quarantined, so macOS opens the unsigned app straight away. Quit Ukemi on macOS before you update. To remove it, run curl -fsSL https://samuelba.dev/ukemi/install.sh | sh -s -- --uninstall; settings stay. UKEMI_VERSION=<version> installs a specific release; on Linux that release needs the .tar.gz files, which earlier releases lack.
Or download a file from a GitHub release:
| System | File | Install |
|---|---|---|
| Linux | ukemi-<version>.<x86_64|aarch64>.rpm |
sudo dnf install ./ukemi-<version>.x86_64.rpm |
| Linux | ukemi_<version>_<amd64|arm64>.deb |
sudo apt install ./ukemi_<version>_amd64.deb |
| Linux | Ukemi-<version>-<x86_64|aarch64>.flatpak |
flatpak install --user ./Ukemi-<version>-x86_64.flatpak |
| Linux | ukemi-jj_<version>_amd64.snap |
sudo snap install --dangerous --classic ./ukemi-jj_<version>_amd64.snap |
| Linux | Ukemi-<version>[-arm64].AppImage |
See AppImage below |
| Linux | Ukemi-<version>-linux-<x64|arm64>.tar.gz |
Unpack it and run ukemi. The install script uses this file |
| macOS | Ukemi-<version>-arm64.dmg |
Apple silicon. See macOS below |
| macOS | Ukemi-<version>-x64.dmg |
Intel. See macOS below |
| Windows | Ukemi Setup <version>.exe |
Run the installer |
Linux packages come for x64 and arm64; the arm64 names use aarch64 or arm64 in place of x86_64 or amd64. The snap is x64 only.
The .deb (Debian 12+, Ubuntu 22.04+) and the .rpm also add Ukemi's apt or dnf repository, so from then on apt upgrade, dnf upgrade and your desktop's software updater bring new releases. On Fedora, run sudo dnf upgrade once in a terminal first and confirm the repository's key, which signs both the repository and the packages, so dnf asks twice; until then, GNOME Software and dnf-automatic cannot install from the repository. To add the repository without downloading a package, follow samuelba.github.io/ukemi. To stop these updates, set Enabled: no in /etc/apt/sources.list.d/ukemi.sources or enabled=0 in /etc/yum.repos.d/ukemi.repo; upgrades keep that change. An Ubuntu release upgrade turns the repository off, so set it back to Enabled: yes afterwards.
The Windows build is not signed yet. Choose More info and Run anyway.
Start it from the app menu, or with a repository: ukemi ~/src/repo. Settings, the window layout and the log are in ~/.config/Ukemi on Linux and in ~/Library/Application Support/Ukemi on macOS.
When a newer release is out, Ukemi says so and offers to open its page, where you download the installer as above. When the install script installed Ukemi, it offers to copy the command instead; when the .deb or .rpm did and its repository is on, it offers to copy the apt or dnf command. Once the package manager has replaced the app, Ukemi asks you to restart it. It asks GitHub when it starts and once a day. Turn this off with Check for Updates in the settings.
To build and install the app from a checkout instead, see Install from source.
The macOS build is not signed by a registered Apple developer yet, so macOS blocks it the first time. Since macOS 15, opening it from the context menu no longer gets past this. Either:
-
System Settings. Open the dmg, drag Ukemi to Applications and open it. macOS says it cannot verify the developer. Choose Done. Then open System Settings → Privacy & Security, scroll to "Ukemi was blocked", choose Open Anyway and confirm with your password.
-
Terminal. After you drag Ukemi to Applications, remove the quarantine flag that macOS put on the download:
xattr -dr com.apple.quarantine /Applications/Ukemi.app
Do this again after each update, since every new download is flagged. An app built with Install from source is not flagged and opens straight away.
The dmg does not add a ukemi command. To open a repository from the terminal, run open -n -a Ukemi --args ~/src/repo, or install from source, which adds the command.
This builds the app from a checkout and installs it for this system. It needs Node.js 24 and git. On Linux, npm install also compiles the terminal's native module, which needs python3, make and a C++ compiler.
git clone https://github.com/samuelba/ukemi.git
cd ukemi
npm install
npm run desktop:install- macOS copies
Ukemi.appto/Applications, or to~/Applicationsif that is not writable, and adds theukemicommand in~/.local/bin. - Debian and Ubuntu build the deb and install it with
apt-get. - Fedora, RHEL and openSUSE build the rpm and install it with
dnforzypper. Building the rpm needsrpm-buildandlibxcrypt-compat.
On Linux the package manager asks for your password and adds the app menu entry and the ukemi command. For other distributions, build the AppImage with npm run desktop:package:appimage and set it up as below.
To update, pull and run the same commands again. A build of the same version replaces the installed one.
An AppImage runs without installing. To get it into the app menu with its icon, put it in a fixed place and extract the icon:
mkdir -p ~/Applications ~/.local/share/applications ~/.local/share/icons/hicolor/256x256/apps
mv ~/Downloads/Ukemi-*.AppImage ~/Applications/Ukemi.AppImage
chmod +x ~/Applications/Ukemi.AppImage
cd /tmp && ~/Applications/Ukemi.AppImage --appimage-extract usr/share/icons/hicolor/256x256/apps/ukemi.png > /dev/null
mv /tmp/squashfs-root/usr/share/icons/hicolor/256x256/apps/ukemi.png ~/.local/share/icons/hicolor/256x256/apps/
rm -r /tmp/squashfs-rootThen create ~/.local/share/applications/ukemi.desktop. Replace YOU with your user name, since .desktop files do not expand ~ or $HOME:
[Desktop Entry]
Type=Application
Name=Ukemi
Comment=Jujutsu (jj) version control GUI
Exec=/home/YOU/Applications/Ukemi.AppImage %U
Icon=ukemi
Terminal=false
Categories=Development;RevisionControl;
StartupWMClass=ukemiKeep the file name ukemi.desktop and StartupWMClass=ukemi. The desktop matches the open window to this entry by that name, and shows a generic icon otherwise. If the AppImage does not start, install FUSE 2: fuse-libs on Fedora, libfuse2t64 on Ubuntu 24.04.
Select the gear in the title bar of the Ukemi view to open the Ukemi settings.
| Setting | Purpose |
|---|---|
ukemi.jjPath |
Path to jj. Empty means search PATH and common folders. |
ukemi.addJjToTerminalPath |
Add the jj binary that Ukemi downloaded to PATH in integrated terminals. Default: on. |
ukemi.showSourceControl |
When to show the working copy in Source Control: auto, always or never. |
ukemi.showInPanel |
Open the change graph in an editor tab. Default: off. |
ukemi.showEditorTitleDiff |
Show Open Changes (jj) in the editor title. Default: off. |
ukemi.followActiveEditor |
Switch to the repository of the active editor. Default: on. |
ukemi.repoScanDepth |
Folder levels to search for repositories. Default: 4. |
ukemi.repoScanExclude |
Folder names to skip during the repository search. |
ukemi.defaultFilter |
Filter that the graph shows first. |
ukemi.savedRevsets |
Revsets the filter menu lists by name, e.g. { "Conflicts": "conflicts()" }. |
ukemi.defaultRevset |
Name of a saved revset that the graph shows first, instead of defaultFilter. |
ukemi.historyDepth |
Default history depth: 7d, 14d, 30d, 1y or all. |
ukemi.changeIdLength |
Minimum number of change ID characters to show. Default: 4. |
ukemi.showFullPaths |
Show full file paths in the graph. Default: off. |
ukemi.showLineStats |
Show added and removed line counts. This reads those file contents on each refresh. Default: off. |
ukemi.showGitTags |
Show git tags on changes. Default: on. |
ukemi.previewDrops |
Preview the graph a dragged change produces, with Apply and Cancel. Default: on. |
ukemi.changedFilesView |
Show changed files as a list or a tree. |
ukemi.workspaces.snapshotOnRefresh |
Snapshot every other workspace on each refresh. Default: off. Each snapshot is a jj operation. |
ukemi.workspaces.location |
Folder new workspaces go in. Default: next to the repository. ~ and relative paths work. |
ukemi.workspaces.gitWorktree |
Give a new workspace in a colocated repository a Git worktree: auto, always or never. |
ukemi.autoFetch.enabled |
Fetch the active repository on a timer. Default: off. |
ukemi.autoFetch.interval |
How often to fetch when auto fetch is on. Example: 10m. Minimum: 10 seconds. |
ukemi.github.hosts |
GitHub Enterprise hosts, for example github.example.com. Hosts from gh are added on their own. |
ukemi.gitlab.hosts |
Self-hosted GitLab hosts, for example git.example.com. |
ukemi.gitlab.oauthApplications |
GitLab OAuth client IDs by host. The client ID is not a secret. |
ukemi.forge.ciOnlyMine |
Show CI status only on open requests that you authored. Default: on. |
ukemi.forge.trunkCi |
Show the CI status of the trunk commit in the graph. Default: off. |
ukemi.forge.requestLimit |
How many bookmarks to look up requests for, newest in the graph first. Default: 50. Maximum: 500. |
ukemi.forge.nativeStacks |
Group synced GitHub pull request stacks into GitHub's native stack view. Default: on. |
ukemi.forge.statusInterval |
How often to reload CI status. Default: 60s, or 15s while your pipeline runs. |
ukemi.describeSuggest.tools |
Tools that can suggest a description, in button order: claude, copilot, cursor, vscode-lm. |
ukemi.describeSuggest.models |
Model per tool for suggestions, for example { "claude": "haiku" }. Default: the tool's own. |
ukemi.describeSuggest.instructions |
Extra instructions for suggestions, for example Use Conventional Commits. |
ukemi.describeSuggest.maxDiffBytes |
How much of the diff to send for a suggestion, in bytes. Default: 40000. |
A repository can have its own value for the graph settings (showGitTags, showLineStats, defaultFilter, savedRevsets, defaultRevset, historyDepth), auto fetch, the workspaces.* settings, the forge.* settings, describeSuggest.instructions and describeSuggest.maxDiffBytes. Every other setting applies to all repositories. Each repository also reopens with the filter and history depth it was left at.
-
VS Code: set them in the folder settings of the workspace folder (Preferences: Open Folder Settings). A repository nested inside a workspace folder uses that folder's settings. The auto fetch switch in the toolbar writes there too; for a repository outside every workspace folder it changes the user setting instead.
-
Ukemi app: right-click a repository tab and choose Repository Settings…, or switch the settings view to the repository. The values are stored under
repositoriesinsettings.json:{ "repositories": { "/home/me/big-mono": { "autoFetch.enabled": false, "historyDepth": "14d" } } }
Ukemi uses the same credentials for the forge API (pull and merge requests, CI status) and for git over HTTPS when jj fetches or pushes. No CLI is required.
Ukemi finds the forge from the repository's remotes. It knows github.com, GitHub Enterprise Cloud (*.ghe.com), gitlab.com and gitlab.* hosts, and SSH over port 443 (ssh.github.com, altssh.gitlab.com). For an SSH remote whose host is an alias in ~/.ssh/config, such as git@github-work:me/repo.git, it asks ssh -G for the real host name, in trusted windows only.
Ukemi picks the first of these that is available for the host:
- Personal access token. A user name and a token with the
reposcope, stored in VS Code secret storage. - Editor account (OAuth). The GitHub sign-in of the editor, with the
reposcope. It works forgithub.comand for the one GitHub Enterprise server in the settinggithub-enterprise.uri. It is never used for any other host. Editors without GitHub accounts, such as VSCodium, skip this step. - GitHub CLI (
gh). Optional. It is used ifghlists the host in itshosts.yml(~/.config/gh/, orGH_CONFIG_DIR), which means you rangh auth loginfor it, or ifghhas a token variable for the host:GH_TOKENorGITHUB_TOKENfor github.com and*.ghe.com(as in Codespaces),GH_ENTERPRISE_TOKENorGITHUB_ENTERPRISE_TOKENfor an Enterprise Server. Ukemi only checks that the variable is set. In the Flatpak app,ghruns on the host and these variables are not used. API calls go throughgh api --hostname <host>, andghsupplies and refreshes its own token. Ukemi never reads that token for API calls. Forgitfetch and push, Ukemi asksgh auth git-credential get, the same helper thatgh auth setup-gitinstalls, so you do not need to run that command.
If none is available and you start an action that needs GitHub, Ukemi asks you to sign in with the editor account or to enter a token.
gh can be logged in to any number of hosts (gh auth login --hostname <host>), so it is the way to use OAuth with several GitHub Enterprise servers. Hosts that are in hosts.yml are treated as GitHub hosts, so you do not need to list them in ukemi.github.hosts. gh uses the active account for a host; change it with gh auth switch. With an enterprise token, the host in GH_HOST is treated as a GitHub host too.
gh is not required. If it is not installed or has no login for the host, step 3 is skipped.
Ukemi picks the first of these that is available for the host:
- OAuth session. Present after you sign in with OAuth. This needs a client ID for the host, see GitLab OAuth application. Tokens refresh on their own.
- Personal access token. A token with the
apiscope, stored in VS Code secret storage. glab. Optional. It is used if theglabconfig file (~/.config/glab-cli/config.yml, orGLAB_CONFIG_DIR) lists the host, which means you ranglab auth loginfor it, or ifGITLAB_TOKEN,GITLAB_ACCESS_TOKENorOAUTH_TOKENis set for the host inGITLAB_HOST(gitlab.com when unset). Ukemi only checks that the variable is set, and not in the Flatpak app. Ukemi then sends its API calls throughglab api --hostname <host>, andglabsupplies and refreshes its own token. Ukemi never reads that token.glabis not used forgitfetch and push; those use your usual git credentials, or the token from steps 1 and 2.
If none is available and you start an action that needs the forge, Ukemi first tries an OAuth sign-in when the host has a client ID, and otherwise asks for a personal access token.
Hosts that the glab config file lists, and the GITLAB_HOST of a token variable, are treated as GitLab hosts, so you do not need to list them in ukemi.gitlab.hosts.
glab is not required. If it is not installed or has no login for the host, step 3 is skipped, and Ukemi asks for an OAuth sign-in or a token instead.
- OAuth sessions and personal access tokens are stored in VS Code secret storage. On Linux that is the OS keyring (libsecret), not a clear-text file. Sign Out removes both, revokes the GitLab OAuth token, and stops using
ghorglabfor that host until the next sign-in. Theghandglablogins themselves stay in those tools. The editor's own GitHub account is signed out from the Accounts menu. - The three host and OAuth settings above apply to your user and machine only, not to a workspace. In Restricted Mode (untrusted workspace) Ukemi does not sign in, does not give stored credentials to git, and does not fetch in the background, because git follows the repository's own config when it fetches. The workspace's values for the auto-fetch settings and for
describeSuggest.instructionsanddescribeSuggest.maxDiffBytesare ignored. - Do not put a password or token in a remote URL. Ukemi rejects such URLs in the new repository prompt and hides URL passwords in its log.
OAuth needs a non-confidential application on that GitLab host, with the api scope and these redirect URIs:
vscode://samuelba.ukemi-jj/gitlab-authcursor://samuelba.ukemi-jj/gitlab-auth
Put the client ID in ukemi.gitlab.oauthApplications, for example { "git.example.com": "abc123" }. If the host has no client ID, Ukemi asks for a personal access token with the api scope instead.
ukemi.forge.statusInterval sets how often CI status refreshes. The default is 60 seconds, and 15 seconds while one of your pipelines is running. It pauses while the window is not focused.
Install the dependencies once:
npm install- Open the
ukemifolder in VS Code:code ukemi. The launch configuration is inukemi/.vscode. - Press F5, or select Run Ukemi in the Run and Debug view. The
watchtask builds the code first. - In the new Extension Development Host window, open a folder that contains a jj repository.
- Select the Ukemi icon in the activity bar.
The launch configuration disables VisualJJ in the development window, so that only one jj view shows.
The watch task stays active and rebuilds dist/ each time you save. There is no hot reload. After a rebuild:
| You changed | Do this in the Extension Development Host |
|---|---|
webview/src/** |
Run Developer: Reload Webviews, or close and open the Ukemi view. |
src/** or shared/** |
Run Developer: Reload Window (Ctrl+R). |
package.json contributions |
Stop the debug session and press F5 again. |
To watch without the debugger, run npm run watch in a terminal.
npm test # unit and integration tests, needs jj on PATH
npm run test:e2e # runs the extension inside the installed VS Code
npm run package # builds ukemi-jj-0.2.0.vsixnpm run desktop # builds and starts the app from source
npm run test:desktop # end-to-end tests of the app
npm run desktop:install # builds and installs the app for this system
npm run desktop:package # every installer for this system, in out/desktop-release
npm run desktop:package:dir # the unpacked app only, the quickest build to try
npm run desktop:package:appimage # one Linux format: appimage, flatpak, snap, deb or rpmA package is built for the machine's own architecture. On Linux, node-pty is compiled at install time, so an arm64 package has to be built on arm64, not cross-built from x64.
Flatpak needs flatpak-builder and the Flathub remote, snap needs snapcraft, and deb and rpm need libcrypt.so.1 (libxcrypt-compat on Fedora).
code --install-extension ukemi-jj-0.2.0.vsixIn Cursor, npm run install:cursor packages and installs in one step.
Then run Developer: Restart Extension Host or Developer: Reload Window. The editor keeps the old code loaded and does not ask for a restart when the version number is the same. To remove it, run code --uninstall-extension samuelba.ukemi-jj.
A push to main does not publish. release-please opens a release pull request from conventional commits (feat bumps minor before 1.0, fix bumps patch, feat! bumps major after 1.0). Merging that pull request creates the vX.Y.Z tag and a draft GitHub Release, and CI attaches ukemi-jj-X.Y.Z.vsix, the desktop installers and install.sh to the draft. The shared release-please action runs release-please and then removes merge commits and rebased copies of commits from those notes.
Set the repository secret RELEASE_PLEASE_TOKEN to a fine-grained personal access token if CI should run on that pull request. Without it, the release still works.
When the workflow has finished, sign and publish the release from a machine that holds the release key:
scripts/sign-release.sh vX.Y.ZThe script downloads the draft's files, writes SHA256SUMS over them, signs it with the minisign key in ~/.minisign/ukemi.key and publishes the release. CI never sees that key, and the app's updater accepts only releases signed with it. The public key is resources/minisign.pub. It needs gh and minisign or rsign.
The published release goes to the Visual Studio Marketplace and to Open VSX, which Cursor, VSCodium and Windsurf use. Both use trusted publishing, so no token is stored: the workflow proves to the store that it runs in this repository. Each store is skipped until it is set up:
- Visual Studio Marketplace. On the publisher management page, open Trusted Publishing > Create and enter the owner
samuelba, the repositoryukemiand the workflowrelease.yml. Then set the repository variableMARKETPLACE_TRUSTED_PUBLISHINGtotrue. See Publishing extensions. - Open VSX. As the owner of the
samuelbanamespace, open Settings > Trusted Publishers on open-vsx.org, pick GitHub Actions and enter the same owner, repository and workflow. Then set the repository variableOPEN_VSX_TRUSTED_PUBLISHINGtotrue. See Trusted Publishing.




