monkeyscode-cli 1.1.12 → 1.2.0

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
@@ -297,12 +297,29 @@ What the agent **may do** (permission mode + rules) and how hard the model
297
297
  **thinks** (effort) are separate settings.
298
298
 
299
299
  ```bash
300
- mc --permission-mode acceptEdits "refactor utils" # default | acceptEdits | plan | bypass
300
+ mc --permission-mode acceptEdits "refactor utils" # default | acceptEdits | auto | plan | bypass
301
301
  mc -p "fix tests" --headless --allowed-tools "run_command(npm test:*)" "edit_file(src/**)"
302
302
  mc --effort high "find the race condition" # low | medium | high
303
303
  ```
304
304
 
305
- In a session: Shift+Tab cycles `default` → `acceptEdits` → `plan`, `/plan` jumps to plan mode, `/effort high` changes
305
+ In a session the current mode is always shown at the bottom of the screen
306
+ (and as `[Manual]` etc. on the prompt in the plain REPL):
307
+
308
+ | Mode | Stored as | What runs without asking |
309
+ |------|-----------|--------------------------|
310
+ | **Manual** | `default` | Reads only; every edit and command asks |
311
+ | **Accept edits** | `acceptEdits` | File edits inside the workspace; commands still ask |
312
+ | **Auto** | `auto` | Edits and commands. Still asks for destructive commands, anything outside the workspace, shell it can't verify and your `ask` rules |
313
+ | **Plan** | `plan` | Nothing changes: research and propose a plan |
314
+ | **Bypass** | `bypass` | Everything, destructive commands included; deny rules still apply. Only for throwaway environments |
315
+
316
+ `/mode` opens a picker; `/mode auto`, `/mode accept-edits` etc. switch
317
+ directly, and `--save` keeps it as your starting mode. Shift+Tab cycles
318
+ Manual → Accept edits → Auto → Plan (Bypass joins the cycle with
319
+ `cycleBypass`, which `mc setup` offers). `mc setup` also picks the starting
320
+ mode, or set `permissions.defaultMode`. Managed settings can disable Bypass
321
+ (`disableBypassPermissionsMode`); Auto stays available. The old v1 settings key
322
+ `"mode": "auto"` still means Manual. `/plan` jumps to plan mode, `/effort high` changes
306
323
  effort from the next request, and `/permissions` lists every effective rule
307
324
  and the file it came from. Print/headless runs are non-interactive: they do
308
325
  not open TTY approval dialogs. By default, calls that would ask are denied
@@ -374,7 +391,7 @@ The 54 visible built-ins below follow the default registry and its full
374
391
  | Command | Usage | Description |
375
392
  |---------|-------|-------------|
376
393
  | `/model` | `/model [id]` | Show or switch the model |
377
- | `/mode` | `/mode <plan\|fast\|thinking>` | Switch legacy mode; prefer effort for fast/thinking |
394
+ | `/mode` | `/mode [manual\|accept-edits\|auto\|plan\|bypass] [--save]` | Show (picker) or switch the permission mode; `--save` makes it the starting mode |
378
395
  | `/plan` | `/plan` | Research and propose without edits |
379
396
  | `/ask` | `/ask` | Read-only Q&A about the codebase |
380
397
  | `/effort` | `/effort [low\|medium\|high\|default]` | Show or set reasoning effort |
@@ -450,6 +467,7 @@ The 54 visible built-ins below follow the default registry and its full
450
467
  | `/bug` | `/bug` | Diagnostic context for a bug report |
451
468
  | `/doctor` | `/doctor` | System health check |
452
469
  | `/config` | `/config [key [value]]` | Show/change user settings |
470
+ | `/notifications` | `/notifications [on\|off\|test\|status]` | OS alerts when a task finishes or needs you (aliases `/notify`, `/alerts`) |
453
471
  | `/update` | `/update [check]` | Check for or install updates |
454
472
  | `/help` | `/help` | Show live help |
455
473
 
@@ -532,11 +550,19 @@ and context size, and Enter switches to the highlighted one.
532
550
  The ⌥ keys work with your terminal's default settings (Terminal.app, iTerm2,
533
551
  VS Code, kitty, WezTerm, Ghostty, Windows Terminal). You can click a tab and
534
552
  scroll with the wheel in every tab: the wheel scrolls whichever pane is under
535
- the pointer (chat history, the Changes column, Diff, Code Review). Hold Shift
536
- (⌥ in iTerm2 and Terminal.app) while dragging to select text, or use `/copy`
537
- for the last answer. Set `mouse` to `tabs` to keep the mouse to Diff / Code
538
- Review (plain drag selects in Chat, but the wheel no longer scrolls it), or to
539
- `off` to turn the mouse off.
553
+ the pointer (chat history, the Changes column, Diff, Code Review).
554
+
555
+ **Selecting and copying:** drag with the mouse to select text. The selection
556
+ stays inside the pane where you started (the chat history, the Changes column
557
+ or the input box), so selecting the chat never picks up the diff beside it.
558
+ Hold the drag above or below the chat or the Changes column to scroll it and
559
+ keep selecting (further from the edge scrolls faster). Selected text keeps its
560
+ colours, drawn in inverse. It's copied to the clipboard when you release the
561
+ button, and a notice confirms it. Any key clears the highlight. Hold Shift (⌥ in iTerm2 and
562
+ Terminal.app) while dragging for the terminal's own selection, which spans
563
+ the whole screen width. `/copy` copies the last answer. Set `mouse` to `tabs`
564
+ to keep the mouse to Diff / Code Review (the terminal selects in Chat, but the
565
+ wheel no longer scrolls it), or to `off` to turn the mouse off.
540
566
 
541
567
  **In-app chat scrolling:** The chat viewport is internally scrollable — the
542
568
  composer and status line stay fixed while you navigate history. Use the mouse