small gleam coding and (not yet) persistent agent daemon with a detachable cli forked from okami.mom/albedo
albedo robot-docs shims.md
1.3 kB · 32 lines
Markdown
at main

Command shims #

The kernel adds selected wrappers to job PATH through albedo_shims.prepend. The wrappers affect command lookup through PATH. An absolute executable path bypasses them. The kernel writes them under $ALBEDO_HOME/shims, or ~/.albedo/shims when ALBEDO_HOME is unset.

Nix #

When nix is available, the nix wrapper invokes albedo_nix.py with the kernel's Python. Its rewritten and develop paths handle supported flake commands and cached development shells. Any nonempty ALBEDO_PLAIN_NIX value bypasses that wrapper logic and invokes the next nix on PATH. See albedo_shims.py.

Cargo #

When mbx is available, the cargo wrapper invokes it with cargo shim mode enabled. Any nonempty ALBEDO_NO_MBX value selects the next cargo on PATH, including 0. The wrapper removes SDKROOT for the mbx process. In an Albedo Nix environment it also adjusts compiler variables and host flags as described in the wrapper. See CARGO in albedo_shims.py.