small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

refactor(packages): move the streaming HTTP client into albedo_http

The transport and its connection machinery become the albedo_http workspace package. albedo_http, the top-level module, is the client: Options, open, receive and close. albedo_http/body holds request bodies and their parts, albedo_http/route the route, albedo_http/tls the trusted roots. connect, framing, pool, proxy and socket are internal modules. The native receive and body walk become albedo_http_ffi, the connection state key {albedo_http_state, Ref}, and the pool's registered name albedo_http_pool. The package depends on albedo_bytes, albedo_clock and albedo_protect. The httpc binding albedo_http.erl would collide with the package's top-level module, so it becomes albedo_httpc. The client's tests move with it: loopback framing, pooling, guard, open_once and dual-stack TLS probes. They now run in each package's Nix build, whose sandbox has no OS certificate store, so the TLS probes trust their fixture's CA through tls.Roots instead of loading it into OTP's store, and roots that cannot be read fail the connection as a TransportError rather than crash the caller. New tests show deferred and digest parts go out as materialized and break their rules as typed errors. albedo keeps stream_http's own tests, the first-event deadline and the header refusal, with a small fixture, and the httpc dual-stack probes. Claude's attestation test checks the materialized body rather than a server's copy of it. The pool's registration is reviewed in the lint allow-list as a cache. The boot preload list, the e2e areas, the Antigravity offline build and the test runner's timed list follow the renames.


Author aly.codes
Date Commit Parent 21a02b74