@llui/mcp 0.0.2 → 0.0.4
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 +27 -31
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,48 +20,48 @@ export default defineConfig({ plugins: [llui({ mcpPort: 5200 })] })
|
|
|
20
20
|
|
|
21
21
|
### State Inspection
|
|
22
22
|
|
|
23
|
-
| Tool
|
|
24
|
-
|
|
|
25
|
-
| `get_state`
|
|
26
|
-
| `describe_state`
|
|
27
|
-
| `search_state`
|
|
23
|
+
| Tool | Description |
|
|
24
|
+
| ---------------- | ---------------------------------- |
|
|
25
|
+
| `get_state` | Get current component state |
|
|
26
|
+
| `describe_state` | Describe state shape and types |
|
|
27
|
+
| `search_state` | Search state tree by path or value |
|
|
28
28
|
|
|
29
29
|
### Messaging
|
|
30
30
|
|
|
31
|
-
| Tool | Description
|
|
32
|
-
| ------------------ |
|
|
33
|
-
| `send_message` | Dispatch a message to the component
|
|
34
|
-
| `validate_message` | Check if a message matches the Msg union
|
|
31
|
+
| Tool | Description |
|
|
32
|
+
| ------------------ | ---------------------------------------- |
|
|
33
|
+
| `send_message` | Dispatch a message to the component |
|
|
34
|
+
| `validate_message` | Check if a message matches the Msg union |
|
|
35
35
|
|
|
36
36
|
### History and Replay
|
|
37
37
|
|
|
38
|
-
| Tool | Description
|
|
39
|
-
| --------------------- |
|
|
40
|
-
| `get_message_history` | List all dispatched messages
|
|
41
|
-
| `export_trace` | Export message trace for `replayTrace`
|
|
42
|
-
| `replay_trace` | Replay a trace and compare states
|
|
38
|
+
| Tool | Description |
|
|
39
|
+
| --------------------- | -------------------------------------- |
|
|
40
|
+
| `get_message_history` | List all dispatched messages |
|
|
41
|
+
| `export_trace` | Export message trace for `replayTrace` |
|
|
42
|
+
| `replay_trace` | Replay a trace and compare states |
|
|
43
43
|
|
|
44
44
|
### Bindings and DOM
|
|
45
45
|
|
|
46
|
-
| Tool
|
|
47
|
-
|
|
|
48
|
-
| `get_bindings`
|
|
49
|
-
| `why_did_update`
|
|
50
|
-
| `trace_element`
|
|
46
|
+
| Tool | Description |
|
|
47
|
+
| ---------------- | ---------------------------------------------- |
|
|
48
|
+
| `get_bindings` | List all active bindings and their masks |
|
|
49
|
+
| `why_did_update` | Explain which state change triggered a binding |
|
|
50
|
+
| `trace_element` | Trace a DOM element back to its binding |
|
|
51
51
|
|
|
52
52
|
### Bitmask Debugging
|
|
53
53
|
|
|
54
|
-
| Tool
|
|
55
|
-
|
|
|
56
|
-
| `decode_mask`
|
|
57
|
-
| `mask_legend`
|
|
54
|
+
| Tool | Description |
|
|
55
|
+
| ------------- | -------------------------------------- |
|
|
56
|
+
| `decode_mask` | Decode a bitmask into state path names |
|
|
57
|
+
| `mask_legend` | Show the full bit-to-path mapping |
|
|
58
58
|
|
|
59
59
|
### Snapshots
|
|
60
60
|
|
|
61
|
-
| Tool
|
|
62
|
-
|
|
|
63
|
-
| `snapshot_state`
|
|
64
|
-
| `restore_state`
|
|
61
|
+
| Tool | Description |
|
|
62
|
+
| ---------------- | ----------------------------------- |
|
|
63
|
+
| `snapshot_state` | Save a named state snapshot |
|
|
64
|
+
| `restore_state` | Restore a previously saved snapshot |
|
|
65
65
|
|
|
66
66
|
### Multi-Mount
|
|
67
67
|
|
|
@@ -69,7 +69,3 @@ export default defineConfig({ plugins: [llui({ mcpPort: 5200 })] })
|
|
|
69
69
|
| ------------------ | ------------------------------------------ |
|
|
70
70
|
| `list_components` | List all mounted component instances |
|
|
71
71
|
| `select_component` | Select a component for subsequent commands |
|
|
72
|
-
|
|
73
|
-
## License
|
|
74
|
-
|
|
75
|
-
MIT
|