- b03ad21: Add an
initialStateoption tocreateDocumentStorefor hydrating component values at store creation — e.g. restoring a persisted conversation fetched from a backend. Keyed by component id → itsvaluesmap (symmetric withgetState()), it overlays AST defaults without emitting audit events or marking fieldstouched, and applies only to freshly-created components so a streaming re-parse never clobbers in-flight edits.mdma-aguithreadsinitialStatethroughparseMdma, the bridge, andMdmaAgentView/useMdmaAgentStream, so re-opened conversations render pre-populated.
- d262328: Fix
DocumentStore.updateAstfreezing a component'stypefor the lifetime of its id. During streaming, an early partial parse can produce a placeholder/truncated type (e.g.approval-gatbeforeapproval-gatefinishes streaming);updateAstnow re-initializes a component when its type changes between parses, while still preserving in-flight state (values, touched) when the type is unchanged.
- Updated dependencies [5bb8529]
- @mobile-reality/mdma-spec@0.3.0
- d972139: Add npm keywords for discoverability
- Updated dependencies [d972139]
- @mobile-reality/mdma-spec@0.2.2
- f6ae6c5: Serialize File instances in FIELD_CHANGED payloads before audit-log append and redaction, so uploaded files keep { name, size, type, lastModified } in the trail instead of being JSON-flattened to {}. Exports a new serializeFiles helper for consumers (e.g. UI subscribers on eventBus) that need the same conversion.
- Updated dependencies [9ba720a]
- @mobile-reality/mdma-spec@0.2.1
- 4d37c6d: Added validator to the project