From a56917c9eb93d5d5fae665b24bad89f2ec32d683 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 12:37:54 +0000 Subject: [PATCH] Version Packages --- .../attachables-core-remove-dead-onaction.md | 8 ----- .changeset/document-store-initial-state.md | 12 ------- .changeset/mdma-agui-initial.md | 9 ------ .changeset/parser-streaming-unknown-type.md | 11 ------- .../tasklist-webhook-routable-events.md | 10 ------ .changeset/updateast-retype-on-type-change.md | 9 ------ demo/CHANGELOG.md | 13 ++++++++ demo/package.json | 2 +- packages/agui/CHANGELOG.md | 32 +++++++++++++++++++ packages/agui/package.json | 2 +- packages/attachables-core/CHANGELOG.md | 12 +++++++ packages/attachables-core/package.json | 2 +- packages/cli/CHANGELOG.md | 6 ++++ packages/cli/package.json | 2 +- packages/parser/CHANGELOG.md | 11 +++++++ packages/parser/package.json | 2 +- packages/renderer-react/CHANGELOG.md | 16 ++++++++++ packages/renderer-react/package.json | 2 +- packages/runtime/CHANGELOG.md | 20 ++++++++++++ packages/runtime/package.json | 2 +- packages/validator/CHANGELOG.md | 7 ++++ packages/validator/package.json | 2 +- 22 files changed, 125 insertions(+), 67 deletions(-) delete mode 100644 .changeset/attachables-core-remove-dead-onaction.md delete mode 100644 .changeset/document-store-initial-state.md delete mode 100644 .changeset/mdma-agui-initial.md delete mode 100644 .changeset/parser-streaming-unknown-type.md delete mode 100644 .changeset/tasklist-webhook-routable-events.md delete mode 100644 .changeset/updateast-retype-on-type-change.md create mode 100644 packages/agui/CHANGELOG.md diff --git a/.changeset/attachables-core-remove-dead-onaction.md b/.changeset/attachables-core-remove-dead-onaction.md deleted file mode 100644 index e712039..0000000 --- a/.changeset/attachables-core-remove-dead-onaction.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@mobile-reality/mdma-attachables-core": patch ---- - -Remove the unused `onAction` methods from the core attachable handlers (form, button, tasklist, -table, callout, approval-gate, webhook). They were never invoked — renderers dispatch store actions -directly — so this is a dead-code cleanup with no behavioral change. Each handler's `definition` and -`initialize` are unchanged. diff --git a/.changeset/document-store-initial-state.md b/.changeset/document-store-initial-state.md deleted file mode 100644 index 3af6f7c..0000000 --- a/.changeset/document-store-initial-state.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@mobile-reality/mdma-runtime": minor -"@mobile-reality/mdma-agui": minor ---- - -Add an `initialState` option to `createDocumentStore` for hydrating component values at store -creation — e.g. restoring a persisted conversation fetched from a backend. Keyed by component id → -its `values` map (symmetric with `getState()`), it overlays AST defaults **without emitting audit -events or marking fields `touched`**, and applies only to freshly-created components so a streaming -re-parse never clobbers in-flight edits. `mdma-agui` threads `initialState` through `parseMdma`, -the bridge, and `MdmaAgentView`/`useMdmaAgentStream`, so re-opened conversations render -pre-populated. diff --git a/.changeset/mdma-agui-initial.md b/.changeset/mdma-agui-initial.md deleted file mode 100644 index b6968c2..0000000 --- a/.changeset/mdma-agui-initial.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@mobile-reality/mdma-agui": minor ---- - -Add `@mobile-reality/mdma-agui`: a bridge that renders MDMA interactive documents streamed over -the AG-UI protocol and routes user actions (submit / approve / deny) back into the agent run. -Ships a headless core (`createMdmaAgentBridge`) plus an optional React layer -(`useMdmaAgentStream`, `MdmaAgentView`). AG-UI coupling is isolated to a minimal structural agent -interface, so any `@ag-ui/client` `HttpAgent` works without a hard dependency. diff --git a/.changeset/parser-streaming-unknown-type.md b/.changeset/parser-streaming-unknown-type.md deleted file mode 100644 index 2309f24..0000000 --- a/.changeset/parser-streaming-unknown-type.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@mobile-reality/mdma-parser": patch -"@mobile-reality/mdma-agui": patch ---- - -Stop flashing "Unknown component type" while a block is still streaming. When an `mdma` fence is -not yet closed, a valid-YAML-but-unknown type (e.g. a half-streamed `approval-gat` before -`approval-gate` finishes) is now left as a pending block (loading skeleton) instead of being -rendered as an unknown-type error. Once the fence closes, a genuinely unknown type still surfaces -the error as before. Known valid types continue to render live during streaming. The `mdma-agui` -adapter now threads the source into `unified.run()` so the parser can see the raw fences. diff --git a/.changeset/tasklist-webhook-routable-events.md b/.changeset/tasklist-webhook-routable-events.md deleted file mode 100644 index 1bb4ba4..0000000 --- a/.changeset/tasklist-webhook-routable-events.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@mobile-reality/mdma-renderer-react": minor -"@mobile-reality/mdma-agui": minor ---- - -Support tasklist completion and webhook triggers as routable events. The tasklist renderer now -emits `ACTION_TRIGGERED` (its `onComplete` action) on the transition into all-items-checked, and -the webhook renderer gains a trigger button that emits `INTEGRATION_CALLED`. The `mdma-agui` -bridge routes both back into the agent run — alongside form submit, button, and approve/deny — so -completing a checklist or firing a webhook resumes the AG-UI conversation. diff --git a/.changeset/updateast-retype-on-type-change.md b/.changeset/updateast-retype-on-type-change.md deleted file mode 100644 index 0bd1bb9..0000000 --- a/.changeset/updateast-retype-on-type-change.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@mobile-reality/mdma-runtime": patch ---- - -Fix `DocumentStore.updateAst` freezing a component's `type` for the lifetime of its id. During -streaming, an early partial parse can produce a placeholder/truncated type (e.g. `approval-gat` -before `approval-gate` finishes streaming); `updateAst` now re-initializes a component when its -type changes between parses, while still preserving in-flight state (values, touched) when the -type is unchanged. diff --git a/demo/CHANGELOG.md b/demo/CHANGELOG.md index 741fdff..b4659de 100644 --- a/demo/CHANGELOG.md +++ b/demo/CHANGELOG.md @@ -1,5 +1,18 @@ # @mobile-reality/mdma-demo +## 0.0.12 + +### Patch Changes + +- Updated dependencies [b03ad21] +- Updated dependencies [d262328] +- Updated dependencies [b03ad21] +- Updated dependencies [d262328] + - @mobile-reality/mdma-runtime@0.3.0 + - @mobile-reality/mdma-parser@0.2.4 + - @mobile-reality/mdma-renderer-react@0.4.0 + - @mobile-reality/mdma-validator@0.3.1 + ## 0.0.11 ### Patch Changes diff --git a/demo/package.json b/demo/package.json index be0374f..7274864 100644 --- a/demo/package.json +++ b/demo/package.json @@ -1,7 +1,7 @@ { "name": "@mobile-reality/mdma-demo", "private": true, - "version": "0.0.11", + "version": "0.0.12", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/agui/CHANGELOG.md b/packages/agui/CHANGELOG.md new file mode 100644 index 0000000..c2ed9c5 --- /dev/null +++ b/packages/agui/CHANGELOG.md @@ -0,0 +1,32 @@ +# @mobile-reality/mdma-agui + +## 0.2.0 + +### Minor Changes + +- b03ad21: Add an `initialState` option to `createDocumentStore` for hydrating component values at store + creation — e.g. restoring a persisted conversation fetched from a backend. Keyed by component id → + its `values` map (symmetric with `getState()`), it overlays AST defaults **without emitting audit + events or marking fields `touched`**, and applies only to freshly-created components so a streaming + re-parse never clobbers in-flight edits. `mdma-agui` threads `initialState` through `parseMdma`, + the bridge, and `MdmaAgentView`/`useMdmaAgentStream`, so re-opened conversations render + pre-populated. +- d90af8c: Add `@mobile-reality/mdma-agui`: a bridge that renders MDMA interactive documents streamed over + the AG-UI protocol and routes user actions (submit / approve / deny) back into the agent run. + Ships a headless core (`createMdmaAgentBridge`) plus an optional React layer + (`useMdmaAgentStream`, `MdmaAgentView`). AG-UI coupling is isolated to a minimal structural agent + interface, so any `@ag-ui/client` `HttpAgent` works without a hard dependency. +- b03ad21: Support tasklist completion and webhook triggers as routable events. The tasklist renderer now + emits `ACTION_TRIGGERED` (its `onComplete` action) on the transition into all-items-checked, and + the webhook renderer gains a trigger button that emits `INTEGRATION_CALLED`. The `mdma-agui` + bridge routes both back into the agent run — alongside form submit, button, and approve/deny — so + completing a checklist or firing a webhook resumes the AG-UI conversation. + +### Patch Changes + +- d262328: Stop flashing "Unknown component type" while a block is still streaming. When an `mdma` fence is + not yet closed, a valid-YAML-but-unknown type (e.g. a half-streamed `approval-gat` before + `approval-gate` finishes) is now left as a pending block (loading skeleton) instead of being + rendered as an unknown-type error. Once the fence closes, a genuinely unknown type still surfaces + the error as before. Known valid types continue to render live during streaming. The `mdma-agui` + adapter now threads the source into `unified.run()` so the parser can see the raw fences. diff --git a/packages/agui/package.json b/packages/agui/package.json index 4b3d04e..0f45a1a 100644 --- a/packages/agui/package.json +++ b/packages/agui/package.json @@ -1,6 +1,6 @@ { "name": "@mobile-reality/mdma-agui", - "version": "0.1.0", + "version": "0.2.0", "description": "Bridge that renders MDMA interactive documents streamed over the AG-UI protocol and routes user actions back into the agent run.", "keywords": [ "mdma", diff --git a/packages/attachables-core/CHANGELOG.md b/packages/attachables-core/CHANGELOG.md index b56864c..44d9e86 100644 --- a/packages/attachables-core/CHANGELOG.md +++ b/packages/attachables-core/CHANGELOG.md @@ -1,5 +1,17 @@ # @mobile-reality/mdma-attachables-core +## 0.2.4 + +### Patch Changes + +- b03ad21: Remove the unused `onAction` methods from the core attachable handlers (form, button, tasklist, + table, callout, approval-gate, webhook). They were never invoked — renderers dispatch store actions + directly — so this is a dead-code cleanup with no behavioral change. Each handler's `definition` and + `initialize` are unchanged. +- Updated dependencies [b03ad21] +- Updated dependencies [d262328] + - @mobile-reality/mdma-runtime@0.3.0 + ## 0.2.3 ### Patch Changes diff --git a/packages/attachables-core/package.json b/packages/attachables-core/package.json index 9652587..e006e9e 100644 --- a/packages/attachables-core/package.json +++ b/packages/attachables-core/package.json @@ -1,6 +1,6 @@ { "name": "@mobile-reality/mdma-attachables-core", - "version": "0.2.3", + "version": "0.2.4", "keywords": [ "mdma", "markdown", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 242e2ab..e520db9 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @mobile-reality/mdma-cli +## 0.2.8 + +### Patch Changes + +- @mobile-reality/mdma-validator@0.3.1 + ## 0.2.7 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index d372510..5c8bc38 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@mobile-reality/mdma-cli", - "version": "0.2.7", + "version": "0.2.8", "keywords": [ "mdma", "markdown", diff --git a/packages/parser/CHANGELOG.md b/packages/parser/CHANGELOG.md index ace778c..c1fb889 100644 --- a/packages/parser/CHANGELOG.md +++ b/packages/parser/CHANGELOG.md @@ -1,5 +1,16 @@ # @mobile-reality/mdma-parser +## 0.2.4 + +### Patch Changes + +- d262328: Stop flashing "Unknown component type" while a block is still streaming. When an `mdma` fence is + not yet closed, a valid-YAML-but-unknown type (e.g. a half-streamed `approval-gat` before + `approval-gate` finishes) is now left as a pending block (loading skeleton) instead of being + rendered as an unknown-type error. Once the fence closes, a genuinely unknown type still surfaces + the error as before. Known valid types continue to render live during streaming. The `mdma-agui` + adapter now threads the source into `unified.run()` so the parser can see the raw fences. + ## 0.2.3 ### Patch Changes diff --git a/packages/parser/package.json b/packages/parser/package.json index 6a22b76..f41713e 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -1,6 +1,6 @@ { "name": "@mobile-reality/mdma-parser", - "version": "0.2.3", + "version": "0.2.4", "keywords": [ "mdma", "markdown", diff --git a/packages/renderer-react/CHANGELOG.md b/packages/renderer-react/CHANGELOG.md index 338510c..cee47a1 100644 --- a/packages/renderer-react/CHANGELOG.md +++ b/packages/renderer-react/CHANGELOG.md @@ -1,5 +1,21 @@ # @mobile-reality/mdma-renderer-react +## 0.4.0 + +### Minor Changes + +- b03ad21: Support tasklist completion and webhook triggers as routable events. The tasklist renderer now + emits `ACTION_TRIGGERED` (its `onComplete` action) on the transition into all-items-checked, and + the webhook renderer gains a trigger button that emits `INTEGRATION_CALLED`. The `mdma-agui` + bridge routes both back into the agent run — alongside form submit, button, and approve/deny — so + completing a checklist or firing a webhook resumes the AG-UI conversation. + +### Patch Changes + +- Updated dependencies [b03ad21] +- Updated dependencies [d262328] + - @mobile-reality/mdma-runtime@0.3.0 + ## 0.3.0 ### Minor Changes diff --git a/packages/renderer-react/package.json b/packages/renderer-react/package.json index a5c391f..e723dc0 100644 --- a/packages/renderer-react/package.json +++ b/packages/renderer-react/package.json @@ -1,6 +1,6 @@ { "name": "@mobile-reality/mdma-renderer-react", - "version": "0.3.0", + "version": "0.4.0", "keywords": [ "mdma", "markdown", diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index a6e21f2..1b05d12 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,5 +1,25 @@ # @mobile-reality/mdma-runtime +## 0.3.0 + +### Minor Changes + +- b03ad21: Add an `initialState` option to `createDocumentStore` for hydrating component values at store + creation — e.g. restoring a persisted conversation fetched from a backend. Keyed by component id → + its `values` map (symmetric with `getState()`), it overlays AST defaults **without emitting audit + events or marking fields `touched`**, and applies only to freshly-created components so a streaming + re-parse never clobbers in-flight edits. `mdma-agui` threads `initialState` through `parseMdma`, + the bridge, and `MdmaAgentView`/`useMdmaAgentStream`, so re-opened conversations render + pre-populated. + +### Patch Changes + +- d262328: Fix `DocumentStore.updateAst` freezing a component's `type` for the lifetime of its id. During + streaming, an early partial parse can produce a placeholder/truncated type (e.g. `approval-gat` + before `approval-gate` finishes streaming); `updateAst` now re-initializes a component when its + type changes between parses, while still preserving in-flight state (values, touched) when the + type is unchanged. + ## 0.2.3 ### Patch Changes diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 2da76cb..63c6f1c 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@mobile-reality/mdma-runtime", - "version": "0.2.3", + "version": "0.3.0", "keywords": [ "mdma", "markdown", diff --git a/packages/validator/CHANGELOG.md b/packages/validator/CHANGELOG.md index 110f00e..2c2fdf4 100644 --- a/packages/validator/CHANGELOG.md +++ b/packages/validator/CHANGELOG.md @@ -1,5 +1,12 @@ # @mobile-reality/mdma-validator +## 0.3.1 + +### Patch Changes + +- Updated dependencies [d262328] + - @mobile-reality/mdma-parser@0.2.4 + ## 0.3.0 ### Minor Changes diff --git a/packages/validator/package.json b/packages/validator/package.json index 46698b0..81d2227 100644 --- a/packages/validator/package.json +++ b/packages/validator/package.json @@ -1,6 +1,6 @@ { "name": "@mobile-reality/mdma-validator", - "version": "0.3.0", + "version": "0.3.1", "keywords": [ "mdma", "markdown",