Skip to content

shellwing 0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 12:24
· 21 commits to main since this release
a545d7d

Give an agent this computer's terminal as a host. The risky list now reads a command as a shell does, and catches files written to system folders. You can also change a host you gave from its row.

Upgrade notes

  • The risky list reads a command as a shell does. Quotes, backslashes, $(…), bash -c "…" and options in any order no longer hide a line: \rm -f -r fits rm -rf, and bash -c "rm -rf /" counts. Some commands that ran at once before now wait for you. Try a command, under the list, says why one waits.
  • The usual list has more lines. It now catches files written to /etc/, /dev/, /boot/, /usr/, /bin/, /sbin/, /lib/ and ~/.ssh/. It also has find -delete, xargs rm, shred, git clean -f, rsync --delete and more. A list of your own keeps its lines, and the page shows each usual line it lacks, to add with a click.
  • A command whose program shellwing cannot read waits, where risky ones wait: $X -rf /, eval, or curl … | sh.

This computer, as a host

  • Local terminal, under This computer in Give hosts…, gives an agent your own shell, with no SSH and no sshd. The agent sees it as local, with the same choices as a host: what it may do, for how long, and whether its commands run freely, wait when risky, or always wait.

  • In the background or through a tab. In the background, its commands run in your shell (bash, zsh, fish, PowerShell, cmd…) in your home folder. Through a tab, they are typed into a local terminal you see (sh, bash, zsh, dash or ksh).

  • Its files go as a host's do: list_dir, read_file and write_file work on this computer's files, from your home folder.

  • It runs as you, so it reaches what you can reach: your keys, cloud credentials, every host they open. The configuration guide compares it with a host. Two things are done for it:

    • its commands do not get your ssh-agent;
    • where risky commands wait, a command writing in shellwing's own folder waits too.

    Ask every time is the safe choice for it.

AI access

  • Change a host you gave from its row. A click on a host in Hosts given opens its form, filled in as it is. A paused host stays paused, and one given for a time keeps the time it has left. Before, anything but the mode meant giving it again.
  • Writes count, not only redirections. > /etc/ fits a file any program writes, changes or removes there: tee, sed -i, cp, mv, chmod, wget -O, dd of=. A file only read there, as with cat /etc/hosts, does not count.
  • The risky list in Settings › AI:
    • Try a command says as you type whether a command would wait, the line it fits, and how the command spells it.
    • A usual line your list lacks goes in where the cursor is, with a click. Add them puts them all in.
  • A client's config names its config directory. An app started with SHELLWING_CONFIG_DIR gives configs that set it too, so the client reaches that app and not another.
  • AI activity on the folded host list. The rail has an AI activity tile, with the count of commands waiting for you.
  • Scroll bars on the list of hosts to give and on the risky list. The wheel over the list of hosts no longer scrolls the page with it.

Download

System File
macOS, Apple silicon shellwing_0.5.0_macos_aarch64.dmg
macOS, Intel shellwing_0.5.0_macos_x86_64.dmg
Windows shellwing_0.5.0_windows_x86_64-setup.exe (or the .zip, to run from a folder)
Linux shellwing_0.5.0_linux_<arch>.AppImage, the .deb (Debian, Ubuntu), the .rpm (Fedora, openSUSE), or the .tar.gz

SHA256SUMS lists every file's SHA-256.

The first time it opens

  • macOS: signed and notarized. macOS asks once whether to open an app from the internet and says Apple checked it. Choose Open.
  • Windows: this release is not signed. SmartScreen says Windows protected your PC: choose More info › Run anyway.
  • Linux: make the AppImage executable (chmod +x) and run it. Where FUSE is missing, run it with --appimage-extract-and-run. The .rpm is not signed, so dnf skips its signature check with a warning, and zypper needs --no-gpg-checks.