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
transform `.tsx` through its normal loader pipeline, and let a narrow Rust
104
104
boundary own native work. A3S adds a standard automatic JSX runtime and a
@@ -136,10 +136,16 @@ function Counter() {
136
136
awaitcreateApp(Counter).run();
137
137
```
138
138
139
-
This sample documents the target API; it is not runnable yet. The proposed
140
-
design keeps component state and callbacks in Node, keeps platform/GPU handles
141
-
inside a separate Rust process, reuses resolved `ProtocolUiFrameV1` records,
142
-
and sends complete frames so Rust remains the only native reconciler. Read the
139
+
This sample documents the target API; it is not runnable yet. The Rust-side
140
+
session entrance is now executable: strict `hello`/`welcome` DTOs negotiate the
141
+
renderer, capabilities, debug channels, one in-flight render, and a JSON
142
+
payload limit no larger than 16 MiB; incremental and blocking codecs enforce a
143
+
little-endian `u32` length prefix and reject empty, oversized, truncated,
144
+
invalid UTF-8, duplicate-field, unknown-kind, and unsupported-protocol input
145
+
before a session is bound. The remaining design keeps component state and callbacks in Node,
146
+
keeps platform/GPU handles inside a separate Rust process, reuses resolved
147
+
`ProtocolUiFrameV1` records, and sends complete frames so Rust remains the only
148
+
native reconciler. Read the
143
149
[TSX native runtime architecture](docs/tsx-native-runtime.md) for protocol,
144
150
identity, failure recovery, packaging, and T0-T5 delivery gates.
145
151
@@ -349,7 +355,7 @@ independently.
349
355
| M4 · Text and interaction cutover | In progress | Stable-id raw input, long press, move, typed and collection drag/drop, timed drop activation, and fail-closed dynamic drop policy resolution landed; shaping, glyphs, editing/IME, accessibility bridges, overlays, and complete calculator scenarios remain |
350
356
| M5 · Default cutover | Planned | Make self-drawn content the default, then delete the three legacy widget renderers |
351
357
| H0-H5 · Thin platform hosts | H0 complete; H1 in progress | Atomic frames, lifecycle recovery, stable-id raw input/reducers, long press, captured move, typed drag/drop negotiation and timed target activation, zero-toolkit firewalls, and an interactive calculator landed; the Graphics raw-surface edge remains |
0 commit comments