mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-07-07 11:17:48 +02:00
docs: sync to Claude Code v2.1.179 (#143)
Additive sync over v2.1.176 baseline. No breaking changes, removals, or deprecations in the v2.1.177-v2.1.179 window (v2.1.177 is a chore-only release; v2.1.179 is bugfix-only plus a plugin perf note). New in v2.1.178: - 10-cli: document generalized Tool(param:value) parameter-matching permission syntax (cites permissions reference for per-tool examples) - 03-skills: nested .claude/skills/ collision rule (closest to cwd wins) - 04-subagents: nested .claude/ precedence for agents/workflows/output-styles - /doctor flat-tree layout refresh (10-cli, 01-slash-commands) - /bug now requires a description before submit (01-slash-commands) New in v2.1.179: - 07-plugins: improved plugin loading performance in remote sessions Footers on all five edited files bumped to v2.1.179 / June 17, 2026.
This commit is contained in:
+7
-3
@@ -48,7 +48,7 @@ The older JavaScript bundle is still produced for Windows and for environments t
|
||||
| `claude -c -p "query"` | Continue in print mode | `claude -c -p "check for type errors"` |
|
||||
| `claude -r "<session>" "query"` | Resume session by ID or name | `claude -r "auth-refactor" "finish this PR"` |
|
||||
| `claude update` | Update to latest version | `claude update` |
|
||||
| `/doctor` (slash command) | Diagnose installation, config, and plugin health. Since v2.1.116 it can be opened **while Claude is responding**, shows status icons inline, and accepts the `f` keypress to auto-fix detected issues | run `/doctor` inside the REPL |
|
||||
| `/doctor` (slash command) | Diagnose installation, config, and plugin health. Since v2.1.116 it can be opened **while Claude is responding**, shows status icons inline, and accepts the `f` keypress to auto-fix detected issues. v2.1.178 refreshed the layout to a flat tree with clearer status icons and highlighted commands | run `/doctor` inside the REPL |
|
||||
| `claude mcp` | Configure MCP servers | See [MCP documentation](../05-mcp/) |
|
||||
| `claude mcp serve` | Run Claude Code as an MCP server | `claude mcp serve` |
|
||||
| `claude agents` | Open the **Agent View** (Research Preview, v2.1.139+) — multi-session manager listing every Claude Code session with its status. See [Agent View](#agent-view-claude-agents-v21139) below. | `claude agents` |
|
||||
@@ -219,6 +219,8 @@ claude --allowedTools "Bash(git status:*)" "Bash(git log:*)"
|
||||
claude --disallowedTools "Bash(rm -rf:*)" "Bash(git push --force:*)"
|
||||
```
|
||||
|
||||
> **Parameter matching `Tool(param:value)` (v2.1.178)**: Permission rules follow the format `Tool` (every use) or `Tool(specifier)`. As of v2.1.178, a specifier can match a tool's input **parameters**, not just command or path patterns — using the `Tool(param:value)` form with wildcard support. This generalizes the matching you already use for `Bash(...)` command prefixes (e.g. `Bash(npm run test *)`) and `Read(...)` path globs (e.g. `Read(./.env.*)`) so other tools can be scoped by their arguments. Check the [permissions reference](https://code.claude.com/docs/en/settings) for the current per-tool example strings before writing a rule, since the exact parameter names differ by tool.
|
||||
|
||||
## Output & Format
|
||||
|
||||
| Flag | Description | Options | Example |
|
||||
@@ -967,12 +969,14 @@ claude -p --output-format json "query"
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: June 15, 2026
|
||||
**Claude Code Version**: 2.1.176
|
||||
**Last Updated**: June 17, 2026
|
||||
**Claude Code Version**: 2.1.179
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/cli-reference
|
||||
- https://code.claude.com/docs/en/changelog#2-1-174
|
||||
- https://code.claude.com/docs/en/changelog#2-1-176
|
||||
- https://code.claude.com/docs/en/changelog
|
||||
- https://code.claude.com/docs/en/settings
|
||||
- https://code.claude.com/docs/en/settings
|
||||
- https://code.claude.com/docs/en/changelog
|
||||
- https://code.claude.com/docs/en/troubleshooting
|
||||
|
||||
Reference in New Issue
Block a user