Commit Graph
11 Commits
Author SHA1 Message Date
nandiandClaude Opus 5.5 cb81a973f8 Docs: the host is MoonBit; drop the plan's Rust host recommendation
ARCHITECTURE.md's host strategy and open questions still recommended a Rust + wasmtime host;
they now record the decision (MoonBit on the wasmtime C API, no Rust in the tree). TOOLCHAIN.md
names wasmhost as the embedder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 12:24:24 -08:00
nandi 44bb77871d Panel: add a Show Desktop module at the panel's end
- Clicking it hides every window, as Super+D does; it stays lit while the desktop is shown.
- A second click brings the hidden windows back.
- New show-desktop capability (wit toggle and publish-desktop-shown) for the wasm module.
- Added to the default panel after session settings; existing panels are unchanged.
- Test covers hiding, the lit state, and restoring the windows.
2026-11-30 12:24:01 -08:00
nandi 51852f0dac Advertise zwp_linux_dmabuf_v1 so Mesa EGL clients stop using llvmpipe
- Add zwp_linux_dmabuf_v1 (v4 feedback names the render node). Only linear ARGB8888 and XRGB8888 are accepted, because the compositor reads a buffer by mapping its dma-buf.
- Bracket dma-buf reads with DMA_BUF_IOCTL_SYNC in the compositor and in the wasm host, so the CPU sees the GPU's finished writes.
- Keep every wl_surface.frame callback since the last commit instead of only the last one. Zed and Mesa's EGL queue several and wait on all of them.
- rs_capture maps a dma-buf afresh on each capture rather than using the pool cache, which could hand a later buffer an earlier buffer's pixels.
- Restart xdg-desktop-portal in the background once the compositor socket exists, so the restart no longer delays compositor startup by about 30 s.
2026-11-30 11:49:48 -08:00
nandiandClaude Sonnet 5.5 0ce0de0356 Document keyring unlock: the login PAM stack must pass the password to the secret service (oo7 or gnome-keyring)
CI / test (push) Failing after 30s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 14:01:29 -08:00
nandiandClaude Sonnet 5.5 326dd06f30 install-session: install libseat for the copied host (its RUNPATH only resolves inside the checkout)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 13:47:35 -08:00
nandiandClaude Sonnet 5.5 10659e7655 docs: what a running session can reload after an install (panel modules yes, host/compositor no)
CI / test (push) Failing after 17s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hjq2YbDd5zJXXKWqSR
2026-11-25 12:43:04 -08:00
nandiandClaude Sonnet 5.5 b4b9ba0e10 remote-build: pull artifacts with sprite file pull; a tar stream over exec breaks on reconnect
CI / test (push) Failing after 18s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hk4tUnZsmzjbobxkwy
2026-11-25 12:06:47 -08:00
nandiandClaude Sonnet 5.5 3b15248124 Remote build on a sprites.dev sprite: just remote-build
CI / test (push) Failing after 17s
Syncs the tree to a sprite at the same absolute path (host-wasm/build.rs bakes the
checkout's .pixi lib dir into the host's rpath), builds host, compositor.wasm and the
panel modules there, and pulls the artifacts back.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hk4tUnZsmzjbobxkwy
2026-11-25 12:03:04 -08:00
nandiandClaude Haiku 5.5 d4d099a0e4 host-wasm: find pixi's libseat at runtime
CI / test (push) Failing after 16s
The login session starts chandra-host without the pixi environment, so the
dynamic loader could not find libseat.so.1 and the session died before DRM.
Record the pixi env's lib directory as an rpath on the host binary. Only the
host gets it, so apps the compositor starts don't inherit it.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-25 10:37:54 -08:00
nandiandClaude Haiku 5.5 f7f90e1c41 build: run builds panel modules through a pixi task
CI / test (push) Failing after 15s
Add a pixi `modules` task that runs scripts/build-modules.sh. The justfile
`modules` recipe calls it, and `run` now depends on `modules` so the panel
has its wasm modules when the compositor starts.

Drop pulse, clock-digital12, moon-disc and moon-text from components.txt.
They had no source in any branch, so the build skipped them every time.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-25 10:22:11 -08:00
nandiandClaude Haiku 5.5 ab01688778 build: manage system deps with pixi
CI / test (push) Failing after 28s
Add seatd (libseat headers and library) to the pixi workspace, so the
host-wasm build no longer needs a system libseat. Set channel priority
to disabled so the solver can resolve seatd's libsystemd0 dependency.

Activation env points CPATH, LIBRARY_PATH and LD_LIBRARY_PATH at the
pixi prefix. The justfile runs every recipe through `pixi run`, so a
plain `just run` builds and launches against the pixi environment.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-25 10:18:25 -08:00