@acryldev/settings
v0.2.2
Published
ACRYL-owned surface preferences: a small settings service (register, get, update, replace, watch) backed by one YAML file in the ACRYL home, independent of the DeepSeek Harness settings design.
Readme
@acryldev/settings
ACRYL's settings service: register, get, update, replace and watch a preference namespace, backed by one YAML file in the app's ACRYL home (.acrylblends/settings, or the home the appInstance service names). It is independent of DSH's own settings design, so the frame's preferences and DSH's stay separate.
settings.register(namespace, schema)declares a namespace with schemastery,settings.get(namespace)reads it,updatemerges a patch,replacewrites a whole value, andwatch(namespace, listener)hears changes (including changes another writer made to the file).- The service is provided on the Cordis context as
settings; the package'scordis.patch.ymlmounts it as one row. - One package for ACRYL and the Blends frame, which publishes it as
@acryldev/settings(spec 051).pnpm testin this folder runs its suite.
