Docs: expand bundled sudo agent behavior

- Document sudo history context (last 10 actions)
- Document whitelist scope and syntax auto-repair
- Clarify sudo must be typed in chat without slash
- Add additional sudo usage example
This commit is contained in:
2026-03-15 21:16:14 -04:00
parent d7d69d37af
commit ead48cd399
+13
View File
@@ -152,6 +152,10 @@ sudo <request> — command translator mode (authorized user only)
- Model: uses `command_model`
- Output: JSON commands only, then executes via same whitelist validator
- No divine speech generated
- Uses rolling sudo memory: last 10 sudo actions (request + translated + executed commands)
- Uses strict command-family whitelist (`give`, `effect`, `xp`, `tp`, `time`, `weather`, `execute`, `kill`, `summon`, `tellraw`, `worldborder`)
- Includes syntax repair for common model mistakes (e.g., `give player 64 item`, missing `minecraft:`)
- Must be typed in chat as `sudo ...` (no slash)
Example:
```
@@ -162,6 +166,15 @@ Best-effort translation:
give slingshooter08 minecraft:oak_log 500
```
Another example:
```
sudo give me 10 doors
```
Best-effort translation (can be multiple commands):
```
give slingshooter08 minecraft:oak_door 10
```
On login players see:
```
[GOD] GOD ENABLED — Type "bible" in chat for guidance. Type "pray <message>" to pray.