monkeyscode-cli 1.1.10 → 1.1.11
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 +72 -9
- package/dist/monkeyscode-cli.cjs +743 -648
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -28,6 +28,46 @@ install script) as aliases. A Homebrew formula template lives in
|
|
|
28
28
|
|
|
29
29
|
## Usage
|
|
30
30
|
|
|
31
|
+
### Core Skills onboarding
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
mc plugin core-skills # stage MonkeysCode/core-skills from the signed catalog
|
|
35
|
+
mc plugin bootstrap # alias for core-skills
|
|
36
|
+
mc plugin enable core-skills # review capabilities, confirm version trust, then enable
|
|
37
|
+
mc plugin core-skills --enable # explicitly combine installation and normal enable review
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Installation alone displays the capability report but does not enable skills or
|
|
41
|
+
change existing profiles. `--enable`, `--scope user|project` and `--yes` use the
|
|
42
|
+
existing plugin trust policy; `--yes` never bypasses managed approval. This is
|
|
43
|
+
the same native pipeline as `mc plugin install MonkeysCode/core-skills`, for
|
|
44
|
+
catalog-managed updates, not another injection of shared legacy app content.
|
|
45
|
+
The packaged 24-definition library is declarative application content, not a
|
|
46
|
+
signed plugin or a trust root. Catalog/API unavailability or verification failure
|
|
47
|
+
fails closed: no unsigned local, packaged or git fallback. No automatic onboarding
|
|
48
|
+
runs at CLI startup.
|
|
49
|
+
|
|
50
|
+
### Public plugin discovery
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
mc plugin search [query] [--category <category>] [--app <app>] [--json]
|
|
54
|
+
mc plugin info <author/name>
|
|
55
|
+
mc plugin outdated [--json]
|
|
56
|
+
mc plugin update <name>
|
|
57
|
+
mc plugin update --all
|
|
58
|
+
# Interactive: /plugins browse [query] [--category <category>] [--app <app>]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Discovery uses https://marketplace.monkeyscode.com by default; set
|
|
62
|
+
`MONKEYSCODE_CATALOG_ORIGIN` to another public HTTPS origin, or to an empty
|
|
63
|
+
value to turn discovery off.
|
|
64
|
+
It sends no account credentials. Metadata is not package trust. Signing pins
|
|
65
|
+
are provisioned independently with `MONKEYSCODE_PLUGIN_SIGNING_KEYS`; never
|
|
66
|
+
accept keys learned from discovery as trust roots. Bulk updates do not treat
|
|
67
|
+
`--yes` as approval for expanded capabilities; each expansion needs review.
|
|
68
|
+
Managed-policy pending trust must be resolved before enabling.
|
|
69
|
+
|
|
70
|
+
|
|
31
71
|
```bash
|
|
32
72
|
# Interactive REPL (optionally with a first prompt)
|
|
33
73
|
mc
|
|
@@ -386,7 +426,7 @@ The 54 visible built-ins below follow the default registry and its full
|
|
|
386
426
|
| `/terminal-setup` | `/terminal-setup` | Configure Shift+Enter and Option-as-Meta |
|
|
387
427
|
| `/shells` | `/shells [id \| kill <id\|all>]` | List, inspect or stop background shells |
|
|
388
428
|
| `/mcp` | `/mcp [tools\|approve\|reconnect\|disable\|enable] [server]` | Inspect/control session MCP servers |
|
|
389
|
-
| `/
|
|
429
|
+
| `/plugins` | `/plugins [list \| browse [query] \| install <author>/<name>[@version] [--enable] \| info <name> \| enable <name> \| disable <name> \| update <name> \| rollback <name> \| remove <name> \| reload]` | Find, install, review, enable, update and remove plugins without leaving the session. `enable` on a new plugin shows its capabilities and asks before trusting it; `disable` is session-only |
|
|
390
430
|
|
|
391
431
|
### Project & Memory
|
|
392
432
|
|
|
@@ -437,21 +477,37 @@ not additional built-ins.
|
|
|
437
477
|
| `skill` | `/skills` |
|
|
438
478
|
| `hooks` | `/hook` |
|
|
439
479
|
| `shells` | `/bashes`, `/bg` |
|
|
440
|
-
| `
|
|
480
|
+
| `plugins` | `/plugin` (legacy alias until the next release) |
|
|
441
481
|
| `bug` | `/feedback` |
|
|
442
482
|
| `config` | `/settings` |
|
|
443
483
|
| `update` | `/upgrade` |
|
|
444
484
|
| `help` | `/h`, `/?` |
|
|
445
485
|
<!-- END SLASH COMMANDS -->
|
|
446
486
|
|
|
447
|
-
Aliases (for example `/h`, `/quit`, `/ctx`, `/models`, `/skills`, `/
|
|
487
|
+
Aliases (for example `/h`, `/quit`, `/ctx`, `/models`, `/skills`, `/plugin`)
|
|
448
488
|
resolve to their primary commands, not additional built-ins. Project/user
|
|
449
489
|
Markdown commands, enabled plugins and connected MCP prompts can add dynamic
|
|
450
490
|
entries; `/help` shows their sources and name conflicts (built-ins win).
|
|
451
|
-
Use `/commands reload` after editing command files and `/
|
|
491
|
+
Use `/commands reload` after editing command files and `/plugins reload` to
|
|
452
492
|
refresh extensions. Custom command shell expansions and their tool scopes
|
|
453
493
|
remain permission-gated; enabling a plugin does not bypass MCP trust or tool rules.
|
|
454
494
|
|
|
495
|
+
`/plugins` defaults to `list`; `browse` searches the configured public catalog
|
|
496
|
+
(default app: `cli`; `--app` accepts `ide`, `agent` or `cli`).
|
|
497
|
+
`info <name>` shows capabilities and version trust,
|
|
498
|
+
and `reload` refreshes extensions. `enable <name>` and `disable <name>` change
|
|
499
|
+
only the current session, never persistent settings or trust. Install and review
|
|
500
|
+
version-pinned trust explicitly with `mc plugin install` and `mc plugin enable`;
|
|
501
|
+
no slash command automatically grants trust. `/plugin` is the legacy Markdown
|
|
502
|
+
command alias until the next release; migrate examples to `/plugins`.
|
|
503
|
+
|
|
504
|
+
Local authoring commands are `mc plugin init [dir]`, `mc plugin validate [dir]`
|
|
505
|
+
and `mc plugin migrate-skills <from> <to>` (copies skills without changing
|
|
506
|
+
originals or granting trust). `mc plugin remove <name>` also accepts
|
|
507
|
+
`mc plugin uninstall <name>`. Catalog discovery uses https://marketplace.monkeyscode.com unless
|
|
508
|
+
`MONKEYSCODE_CATALOG_ORIGIN` overrides it; an empty value reports
|
|
509
|
+
unavailability rather than sending a remote request. Plugin publishing remains unavailable until Phase 6.
|
|
510
|
+
|
|
455
511
|
**Two different kinds of fork:** `/fork "task"` starts an isolated background
|
|
456
512
|
task without inheriting conversation history. `mc sessions fork <id>` copies
|
|
457
513
|
a saved conversation to a new id. `mc -r <id> --fork-session` (or
|
|
@@ -474,11 +530,13 @@ and context size, and Enter switches to the highlighted one.
|
|
|
474
530
|
| Ctrl+] | Next tab (works in every terminal) |
|
|
475
531
|
|
|
476
532
|
The ⌥ keys work with your terminal's default settings (Terminal.app, iTerm2,
|
|
477
|
-
VS Code, kitty, WezTerm, Ghostty, Windows Terminal).
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
533
|
+
VS Code, kitty, WezTerm, Ghostty, Windows Terminal). You can click a tab and
|
|
534
|
+
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.
|
|
482
540
|
|
|
483
541
|
**In-app chat scrolling:** The chat viewport is internally scrollable — the
|
|
484
542
|
composer and status line stay fixed while you navigate history. Use the mouse
|
|
@@ -486,6 +544,11 @@ wheel, PageUp/PageDown, or Ctrl+G to jump to the latest. Scrolling anchors
|
|
|
486
544
|
survive streaming, tab switches, and terminal resizes. A "new output"
|
|
487
545
|
indicator appears when you're scrolled up during a run.
|
|
488
546
|
|
|
547
|
+
**Changes column:** on terminals 120 columns or wider, the chat shows the
|
|
548
|
+
session's changed files and their diffs on the right. Ctrl+F focuses it (←/→
|
|
549
|
+
file, ↑/↓ or the wheel to scroll), Ctrl+Y hides or shows it, and
|
|
550
|
+
`changesPane: false` starts without it. `/diff` opens the full Diff tab.
|
|
551
|
+
|
|
489
552
|
**Multi-line input:** Press **Shift+Enter** for a newline (or **Alt+Enter**,
|
|
490
553
|
or end a line with `\`). Enter sends the message. Run `mc setup` to configure
|
|
491
554
|
your terminal for distinguishable Shift+Enter if it isn't already.
|