monkeyscode-cli 1.1.2 → 1.1.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 +43 -0
- package/dist/monkeyscode-cli.cjs +736 -731
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -64,6 +64,17 @@ mc --model opus "review PR" # Aliases: sonnet, opus, capuchin, or a full mod
|
|
|
64
64
|
### 📁 Full Tool Suite
|
|
65
65
|
The agent can edit files, run terminal commands, search code, and manage git — all locally.
|
|
66
66
|
|
|
67
|
+
**Safe editing:** When an `old_string` has only minor whitespace differences (tabs
|
|
68
|
+
vs spaces, trailing space), the edit engine recovers it instead of rejecting.
|
|
69
|
+
Identical `old_string`/`new_string` pairs are treated as no-ops and skipped —
|
|
70
|
+
they never abort an otherwise valid batch. Preview and execution use the same
|
|
71
|
+
engine, so what you see is what gets written.
|
|
72
|
+
|
|
73
|
+
**Cross-platform search:** `grep_search` prefers ripgrep, falls back to `grep`,
|
|
74
|
+
and finally uses a built-in shell-free Node search when neither is available
|
|
75
|
+
(e.g. a minimal Windows install). Unsupported regex semantics produce an
|
|
76
|
+
explicit error, never a false "No matches".
|
|
77
|
+
|
|
67
78
|
<!-- TODO: Record with asciinema -->
|
|
68
79
|
<!--  -->
|
|
69
80
|
|
|
@@ -72,6 +83,11 @@ Run agent commands in isolated sandboxes (bubblewrap on Linux, sandbox-exec on
|
|
|
72
83
|
macOS, Docker anywhere). The best available provider is picked automatically;
|
|
73
84
|
without one, `--sandbox` reports it as unavailable instead of pretending.
|
|
74
85
|
|
|
86
|
+
On Windows, GUI Windows Sandbox and AppContainer are **not** treated as
|
|
87
|
+
verified headless isolation — the provider refuses to activate and directs you
|
|
88
|
+
to Docker. Ordinary native Windows execution (without `--sandbox`) works
|
|
89
|
+
without Docker.
|
|
90
|
+
|
|
75
91
|
```bash
|
|
76
92
|
mc --sandbox "run the migration script"
|
|
77
93
|
mc --sandbox --sandbox-network none "process sensitive data" # none | local | full
|
|
@@ -282,6 +298,16 @@ and Terminal.app) while dragging to select text there. Set `mouse` to `all`
|
|
|
282
298
|
to click the Chat footer as well (the wheel then stops scrolling the chat
|
|
283
299
|
history), or to `off` to turn the mouse off.
|
|
284
300
|
|
|
301
|
+
**In-app chat scrolling:** The chat viewport is internally scrollable — the
|
|
302
|
+
composer and status line stay fixed while you navigate history. Use the mouse
|
|
303
|
+
wheel, PageUp/PageDown, or Ctrl+G to jump to the latest. Scrolling anchors
|
|
304
|
+
survive streaming, tab switches, and terminal resizes. A "new output"
|
|
305
|
+
indicator appears when you're scrolled up during a run.
|
|
306
|
+
|
|
307
|
+
**Multi-line input:** Press **Shift+Enter** for a newline (or **Alt+Enter**,
|
|
308
|
+
or end a line with `\`). Enter sends the message. Run `mc setup` to configure
|
|
309
|
+
your terminal for distinguishable Shift+Enter if it isn't already.
|
|
310
|
+
|
|
285
311
|
## SDK
|
|
286
312
|
|
|
287
313
|
Run this agent from your own code, with your settings, rules, hooks and MCP
|
|
@@ -301,6 +327,23 @@ TypeScript (`@monkeyscode/sdk/subprocess`), the same API drives an installed
|
|
|
301
327
|
The cloud clients (`MonkeysCode` in [`@monkeyscode/sdk`](../../packages/sdk-typescript/))
|
|
302
328
|
call the hosted API instead.
|
|
303
329
|
|
|
330
|
+
## Updates
|
|
331
|
+
|
|
332
|
+
Version checks are **quiet by default** — normal TUI and plain-REPL sessions
|
|
333
|
+
never phone the registry or announce available updates. Use the explicit
|
|
334
|
+
command when you want to check or upgrade:
|
|
335
|
+
|
|
336
|
+
```bash
|
|
337
|
+
mc update --check # Check for a newer release (exits nonzero on failure)
|
|
338
|
+
mc update # Upgrade via npm, Homebrew, winget, Chocolatey, Scoop, or binary download
|
|
339
|
+
mc update --version 1.2.0 # Install a specific version (npm or binary)
|
|
340
|
+
mc update --rollback # Revert to the previous binary (standalone installs only)
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
Binary updates verify a SHA-256 checksum before replacement and keep a
|
|
344
|
+
`.backup` for rollback. On Windows, the replacement is staged and completes
|
|
345
|
+
when you exit the CLI (the running process can't overwrite its own executable).
|
|
346
|
+
|
|
304
347
|
## Accessibility
|
|
305
348
|
|
|
306
349
|
Screen reader-friendly mode (no ANSI codes, no animations):
|