You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add <T> to isStream to override type
* remove [UI] from charm type + first group of fixes based on that.
* refactor(charm): remove built-in Charm schema; require explicit schemas
- Replace Charm type and charmSchema with schema-driven access.
- CharmManager.get now accepts optional schema and returns typed cells.
- Export nameSchema and uiSchema; update callers to read NAME and UI via schema.
- Introduce generic CharmController<T> and CharmsController<T>.
- Background worker: access bgUpdater as Stream via schema; map typed.
- Runner: handle Stream in Cellify<T> for asSchema.
- CLI, UI, and tests: replace Cell<Charm> with Cell<unknown>; pass schemas or cast.
- Persistent flows return typed cells using recipe.resultSchema.
- search.ts and format.ts use nameSchema for NAME access.
- AppView reads title via cc().get(id, nameSchema) and cell.key(NAME).
Motivation:
- Decouple CharmManager from a fixed schema; allow arbitrary charm shapes.
- Make invalid states unrepresentable by requiring explicit schemas at access.
- Enable streams to be typed via schema (asStream) consistently.
* ugly fix for ct-kanban: use any instead of unknown. really this should get a proper schema
* fix UI usage
* call get with runIt true, to keep current behavior
* fix formatting
* remove ct-kanban for now
* addressing various minor PR feedback
* fix formatting
* extract mentionable schema and use in ct-outliner as well
0 commit comments