mcp-native 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -108,6 +108,10 @@ Use the separately installable [`@mcp-native/mcp`](https://github.com/pablospani
108
108
  - strict validation for container, text, button, and text-input nodes;
109
109
  - declared tool-action dispatch;
110
110
  - strict A2UI resource-link resolution from tool results;
111
+ - strict A2UI v1 catalog-capability parsing and overlap negotiation;
112
+ - bounded A2UI v1 dynamic lists with relative renderer-local bindings and `@index`;
113
+ - host-localized A2UI v1 number and currency formatting;
114
+ - host-localized A2UI v1 plural selection and pure boolean functions;
111
115
  - trusted render plans for `View`, `Text`, `Button`, and `TextInput`;
112
116
  - mounting through host-provided components with action and text-binding event translation;
113
117
  - memoized render-plan and safely observed asynchronous action-dispatch hooks;
@@ -116,7 +120,7 @@ Use the separately installable [`@mcp-native/mcp`](https://github.com/pablospani
116
120
  - pinned current-protocol integration coverage through the SDK HTTP handler/fetch path;
117
121
  - ESM exports, TypeScript declarations, automated tests, and signed npm provenance.
118
122
 
119
- The project does not yet include local binding state, streaming UI updates, capability negotiation, authentication helpers, or a runnable mobile demo. Follow the [roadmap](https://github.com/pablospaniard/mcp-native#roadmap) for progress.
123
+ The supported A2UI v1 native subset now includes renderer-local absolute and dynamic-list-relative string bindings, bounded `formatString`, host-localized number, currency, and plural formatting, pure boolean functions, template-instance action resolution, `@index` with offsets, host-callback action envelopes, and closed catalog-capability metadata with inline catalogs disabled. Remaining renderer functions and checks, full streaming host integration, transport placement for A2UI capability objects, authentication helpers, and a runnable mobile demo remain incomplete. Follow the [roadmap](https://github.com/pablospaniard/mcp-native#roadmap) for progress.
120
124
 
121
125
  ## Security model
122
126
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-native",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Convenience package for the MCP Native runtime.",
5
5
  "keywords": [
6
6
  "a2ui",
@@ -37,10 +37,10 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@mcp-native/a2ui": "^0.2.0",
41
- "@mcp-native/core": "^0.2.0",
42
- "@mcp-native/react-native": "^0.2.0",
43
- "@mcp-native/webview": "^0.2.0"
40
+ "@mcp-native/a2ui": "^0.3.0",
41
+ "@mcp-native/core": "^0.3.0",
42
+ "@mcp-native/react-native": "^0.3.0",
43
+ "@mcp-native/webview": "^0.3.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=18.3.1 <20",