safe or caution automatically, then passes the output back to the AI, which returns a plain-English summary of the result. This makes Opsh feel more like a conversational assistant than a command-line tool.
What warp mode does
When warp mode is on:- Commands classified as safe or caution run immediately without a confirmation prompt.
- After the command runs, Opsh sends the output to the AI, which summarizes the result in plain English.
- Commands classified as dangerous are not auto-run — Opsh shows a warning and stops.
df -h and responds with something like:
Enabling warp mode
You have three ways to turn on warp mode: Toggle it in the REPL at any time:~/.opsh/config.json):
--init wizard asks whether you want to enable warp mode as part of configuration.
What warp mode does not do
Warp mode will not auto-run commands classified asdangerous. If Opsh determines that a command poses a high risk — such as deleting files recursively or modifying system configuration — it shows a warning and exits rather than executing. This boundary is not configurable.
Confirmations in warp mode
When warp mode is active, theconfirmByDefault setting is effectively overridden: Opsh skips the [Enter/y] run [n] cancel prompt for safe and caution commands. You will not be asked to confirm before the command runs.
Toggling warp mode during a session
Use!warp in the REPL to switch warp mode on or off without restarting Opsh. The change is saved to your config file immediately so it persists to future sessions.

