@opentui/keymap 0.0.0-20260423-618ea9b1 → 0.1.106

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.
package/README.md CHANGED
@@ -35,6 +35,24 @@ createRoot(renderer).render(
35
35
  )
36
36
  ```
37
37
 
38
+ ## Field Model
39
+
40
+ Layer fields are for activation requirements and binding-compilation inputs.
41
+ They do not compile into public attrs.
42
+
43
+ Binding and command fields can compile metadata into attrs that later appear on
44
+ active bindings, active keys, and command query results.
45
+
46
+ ## Re-entry
47
+
48
+ Runtime/data-style re-entry is supported during dispatch. For example, command
49
+ handlers, intercepts, and pending-sequence listeners may read or write runtime
50
+ data and manage pending-sequence state.
51
+
52
+ Structural re-entry is currently unsupported. Do not register or unregister
53
+ layers, tokens, parsers, resolvers, or other environment-shaping state while a
54
+ dispatch is in flight.
55
+
38
56
  ## Installation
39
57
 
40
58
  ```bash
@@ -47,8 +65,7 @@ bun install @opentui/keymap
47
65
  bun run build
48
66
  bun run test
49
67
  bun src/keymap-benchmark.ts
50
- bun run serve:keymap-html
51
68
  ```
52
69
 
53
70
  - `bun src/keymap-benchmark.ts` runs the benchmark suite from `src/keymap-benchmark.ts`.
54
- - `bun run serve:keymap-html` builds the package and serves the HTML demo locally.
71
+ - The HTML demo now lives in the docs app at `/demos/keymap-html/` under `packages/web`.