Skip to content

Suwu 0.1.18 — Baikal, and a phone shell

Choose a tag to compare

@github-actions github-actions released this 21 Nov 23:04
· 41 commits to master since this release
f952afb

Suwu 0.1.18

The headline of this release is Baikal, a herdr-core client tile: spaces and
agents on the left, one attached terminal per tab on the right. Alongside it, the
phone experience grew a real shell at /mobile — and the terminal now has a
soft-input keypad for devices whose keyboard has no arrows.

Baikal — a herdr-core client tile (new)

  • Spaces on the left, attached terminals on the right. A space is a directory
    (named from its first shell's start directory) holding its terminals; the tab
    strip shows the selected space's terminals and switches with it. Tabs are
    restored per tile, and every tab of every space stays mounted, so hiding one
    never detaches it.
  • The server owns the core protocol. The browser speaks a small wire
    (/ws/baikal/attach: binary frames are terminal bytes, text frames are
    ready/close/resize); framing, credit, resize and reconnect live in
    pkg/server/baikal.go. A lost line reattaches with backoff and a countdown; a
    close from core means the program really ended.
  • Actions on terminals and spaces. Open, open read-only (observe), peek at the
    screen without stealing input, move a terminal to another space, end the
    program, remove a finished record; rename, recolour and forget a space. Closing
    a tab ends the session; hiding a tab only detaches.
  • Shared terminal tools. Key chords, frequent inputs, selection mode and reset
    come from the same TermToolbar the shell tile uses — and since this release a
    phone also gets the same soft-input keypad in the same bottom-right group.
  • Unambiguous terminal names. Where a terminal is offered on its own it reads
    suwu-dev (t12) — the name plus the address that every action actually takes.
  • On the shared type scale. The header is Heading (16 px) and the left panel
    uses Label/Caption (12/11 px), matching DBBrowser and the REST helper, instead
    of reading one or two steps smaller than the rest of the app.
  • Design and decisions: docs/BAIKAL_PLAN.md.

Mobile view (/mobile)

  • A phone shell, without touching the desktop. / keeps the tiling window
    manager; a touch-first phone is redirected to /mobile, which mounts the same
    tile iframes and atoms with different chrome: one full-screen tile, header
    arrows to walk the tiles, an overview sheet, a space sheet and per-tile actions.
    ?mobile=1 / ?desktop=1 and a stored preference always override the guess.
  • Header and touch details. Floating header at the desktop's 38 px height,
    safe-area aware; two-finger tap opens the context menu; a commit's context menu
    has a visible button; real icons for the commit actions and the soft-input
    trigger.
  • Tiles fold their side panel when narrow instead of squeezing the content.

Terminal

  • Soft-input keypad for phones: a line box with Send, arrows and PgUp/PgDn,
    growing downward from the tile's bottom edge so the terminal gives up the
    height, xterm refits and the PTY (or the attached core) receives the new grid.
    Arrows honour DECCKM, PgUp/PgDn are the xterm sequences, and text is sent
    exactly as typed.
  • Renderer preference (auto / webgl / dom), defaulting to the built-in
    renderer on touch devices and on software GPUs, where WebGL composited nothing
    and left a blank tile that still said "Connected".

PWA and certificates

  • Installable web app: manifest, real PNG icons (including per-device iOS touch
    icons and root-path fallbacks), a hashed-asset service worker, and documented
    install steps.
  • The local CA is served at /ca.crt, and the leaf certificate stays inside
    Apple's 825-day limit.

Fixes and internal

  • fix(auth): a rejected proxied host now says why it was rejected.
  • fix(i18n): label the Static Browse tile, and check translation keys in CI.
  • refactor(wm): extract the pane message bus into usePaneBus.
  • docs: headless browsers and scratch processes must not outlive the check that
    started them.

Assets

Linux and macOS builds for amd64 and arm64 (suwu-0.1.18-*.tar.gz), each with
herdr-core embedded so suwu hc server start works on a machine that never
installed it, plus the suwu-max bundles for Linux. Verify your download against
the release assets above, then run ./suwu serve.