docs: sync to Claude Code v2.1.110 (TUI, push notifications, session recap) (#80)
* docs: sync to Claude Code v2.1.110 with TUI, push notifications, session recap, and new commands - 01-slash-commands: add /tui, /focus, /recap, /undo, /proactive to command table and recent changes - 07-plugins: document monitors manifest key for background monitor support (v2.1.105) - 09-advanced-features: add TUI mode, push notifications, session recap, ENABLE_PROMPT_CACHING_1H - 10-cli: add --exclude-dynamic-system-prompt-sections flag and CLAUDE_CODE_PERFORCE_MODE env var - CATALOG.md: update command counts (55+→60+, 63+→68+), add 5 new command rows - All 12 files: bump footer to April 16, 2026 / Claude Code Version 2.1.110 * fix(catalog): correct version tags for /proactive, /recap, /undo commands /proactive was added in v2.1.105, /recap and /undo in v2.1.108 — not v2.1.110. Only /tui and /focus were introduced in v2.1.110.
This commit is contained in:
@@ -251,6 +251,29 @@ Plugins have access to a persistent state directory via the `${CLAUDE_PLUGIN_DAT
|
||||
|
||||
The directory is created automatically when the plugin is installed. Files stored here persist until the plugin is uninstalled.
|
||||
|
||||
### Background Monitors (v2.1.105)
|
||||
|
||||
Plugins can register background monitors that auto-arm when a session starts or when the plugin's skill is invoked. Add a top-level `monitors` key to your plugin manifest:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "my-plugin",
|
||||
"version": "1.0.0",
|
||||
"monitors": [
|
||||
{
|
||||
"command": "tail -f /var/log/app.log",
|
||||
"trigger": "session_start"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The `trigger` field accepts:
|
||||
- `"session_start"` — arm the monitor automatically when a session begins
|
||||
- `"skill_invoke"` — arm the monitor when the plugin's skill is invoked
|
||||
|
||||
Monitors use the same Monitor tool under the hood, streaming stdout lines as events Claude can react to.
|
||||
|
||||
## Inline Plugin via Settings (`source: 'settings'`) (v2.1.80+)
|
||||
|
||||
Plugins can be defined inline in settings files as marketplace entries using the `source: 'settings'` field. This allows embedding a plugin definition directly without requiring a separate repository or marketplace:
|
||||
@@ -944,8 +967,8 @@ The following Claude Code features work together with plugins:
|
||||
- [Hook System Reference](../06-hooks/README.md)
|
||||
|
||||
---
|
||||
**Last Updated**: April 11, 2026
|
||||
**Claude Code Version**: 2.1.101
|
||||
**Last Updated**: April 16, 2026
|
||||
**Claude Code Version**: 2.1.110
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/plugins
|
||||
**Compatible Models**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5
|
||||
|
||||
Reference in New Issue
Block a user