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

refactor(sdk): move the SDK into the albedo_sdk workspace package

The SDK's modules move from src/albedo/harness/sdk into packages/albedo_sdk with their module names kept, so no compiled atom, preload list or persisted term changes. The SDK rename steps give them the package's name later. albedo_sdk declares exactly what its modules import or bind: sixteen workspace packages, gleam_crypto, gleam_erlang, gleam_http, gleam_json, gleam_otp, the vendored mist, sqlight and yamerl. Its manifest comes from the root's lock through `test/packages.sh sync`. Importing an albedo module from the SDK is now a compile error. The N1 probe package goes: albedo_sdk now proves the vendored mist builds in Nix. Fixed-path owners move with the code: the registration allow-list names the SDK's files in the package, the Erlang registration scan reads them as a workspace package's, albedo_package_external allows yamerl_constr to a package that declares yamerl, and the tests that read the real SDK by path read it from the package. Gleam keeps the beam of a module deleted from src/ and lists it in albedo.app, so a checkout built before this commit would load the old SDK beams ahead of the package's. The test snapshot rebuilds albedo's application when another application builds one of its modules.


Author aly.codes
Date Commit Parent 2ff1f70a
+221 -137
112 changed files
+221 -137
112 changed files