diff options
| author | Rider Linden <rider@lindenlab.com> | 2026-08-26 15:17:40 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2026-08-26 15:17:40 -0700 |
| commit | e86a0501bc655548aaadeb1d6475fa1652787098 (patch) | |
| tree | 971b03588db325aba24874d1d2f0c7f8023335cd /doc | |
| parent | 20280de17db765f128d5e31109ce97baec62bc9c (diff) | |
Issue #6191: implemented both recompile_all and reset_all commands through command interface.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/external-editor-json-rpc.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/external-editor-json-rpc.md b/doc/external-editor-json-rpc.md index 74ee34f528..a09bde2b22 100644 --- a/doc/external-editor-json-rpc.md +++ b/doc/external-editor-json-rpc.md @@ -1721,9 +1721,8 @@ interface CommandParamInfo { - `commands`: Array of commands the responder supports. Each entry describes one command. - `command`: The namespaced command identifier. - `description` (optional): Human-readable description of what the command does. - - `params` (optional): Map of parameter names to their type descriptors. **Not currently - populated** — the viewer returns only `command` and `description`, so parameter discovery - does not work. Implementation is tracked separately. + - `params` (optional): Map of parameter names to their type descriptors. The viewer populates + this field for its registered commands. **Known viewer commands:** @@ -1732,6 +1731,8 @@ interface CommandParamInfo { | `viewer.teleport` | `object_id: string` | Teleport agent to an in-world object. | | `viewer.camera.focus` | `object_id: string` | Zoom camera to an in-world object (same behavior as context menu Zoom In). | | `viewer.object.save_back_to_contents` | `object_id: string` | Save an in-world object back to source object contents. | +| `viewer.script.reset_all` | `object_id: string` | Open the viewer's reset queue and reset all scripts in an in-world object. | +| `viewer.script.recompile_all` | `object_id: string`, `target: "luau" \| "lsl2" \| "mono" \| "auto"` | Open the viewer's compile queue and recompile scripts in an in-world object using the selected target. `luau` automatically selects Luau for native Luau scripts and LSL-Luau for LSL scripts. `auto` uses each script's previously registered VM. | **Known extension commands:** |
