mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-09-22 01:10:42 +02:00
docs: sync to Claude Code v2.1.278 (#183)
* docs: sync to Claude Code v2.1.278 Type: docs Audit of the tutorial against Claude Code 2.1.278 (repo baseline was 2.1.263). Fixes claims the repo asserts that are now false; new-feature coverage is English-only. P0 - the repo stated the opposite of current behavior: - AGENTS.md: the claude-md skill said Claude Code "does not read AGENTS.md directly" in all 5 languages. It has since v2.1.277, when no CLAUDE.md exists at or above the working directory. - /output-style: listed as "Removed in v2.1.91" in 5 languages and in 09-advanced-features. Re-added in v2.1.269; row moved out of the Deprecated Commands table. - Permission rules: setup-auto-mode-permissions.py seeded Write(*), Glob(*) and NotebookEdit(*), which Claude Code accepts but never consults and warns about at startup. Removed; same fix in the config-examples.json profile and the 06/09 category tables. - taskOutputMaxChars: documented as live. The TaskOutput tool was removed in v2.1.278 and the key is inert. P1: - Dynamic workflow "medium" guideline is fewer than 10 agents, not 15; the default is small on Pro plans since v2.1.271. - Todo-tool availability restated as the official allowlist (Claude 3.x, Opus 4-4.7, Sonnet 4-4.6, Haiku 4.5) instead of a denylist; 23 sites across 5 languages. - Memory hierarchy now notes the AGENTS.md fallback. - Auto-mode classifier cost qualified: not charged on Enterprise plans and Claude API accounts since v2.1.278. P3 (English only): full AGENTS.md section in 02-memory; omitClaudeMd subagent field; plugin eval / --json / --accept-command / --marketplace; maxEffortLevel, bashEditDiffEnabled, syncClaudeAi*, 4 env vars, --system-prompt-snapshot, --plugin-dir folders; send-now key and Monitor deadlines; checkpoints subagent-edit limitation. Learning skills audited clean: 100 quiz questions and 100 Review pointers all valid, 20 self-assessment options correctly mapped. Cross-file anchors: 15 broken before, 15 after, 0 introduced. * docs: address review — stale version stamps, /output-style re-add, permission tables
This commit is contained in:
+5
-4
@@ -353,8 +353,8 @@ export GITHUB_TOKEN="your_token" && claude mcp add github -- npx -y @modelcontex
|
||||
| `Stop` | Claude 完成响应 | 响应完成 | 清理、汇报 |
|
||||
| `StopFailure` | API 错误导致结束 | API 错误发生 | 错误恢复、日志 |
|
||||
| `TeammateIdle` | 队友 agent 空闲 | agent team 协调 | 分配工作 |
|
||||
| `TaskCompleted` | 任务标记完成(仅在启用 todo 工具时触发 —— 在 Opus 4.8、Sonnet 5、Fable 5、Mythos 5 及更新模型上默认关闭;`CLAUDE_CODE_ENABLE_TODO_TOOLS=1` 可恢复) | 任务完成 | 任务后处理 |
|
||||
| `TaskCreated` | 通过 TaskCreate 创建任务(仅在启用 todo 工具时触发 —— 在 Opus 4.8、Sonnet 5、Fable 5、Mythos 5 及更新模型上默认关闭;`CLAUDE_CODE_ENABLE_TODO_TOOLS=1` 可恢复) | 新任务创建 | 任务追踪、日志 |
|
||||
| `TaskCompleted` | 任务标记完成(仅在启用 todo 工具时触发 —— 默认仅在 Claude 3.x、Opus 4 至 4.7、Sonnet 4 至 4.6、Haiku 4.5 上可用;`CLAUDE_CODE_ENABLE_TODO_TOOLS=1` 可恢复) | 任务完成 | 任务后处理 |
|
||||
| `TaskCreated` | 通过 TaskCreate 创建任务(仅在启用 todo 工具时触发 —— 默认仅在 Claude 3.x、Opus 4 至 4.7、Sonnet 4 至 4.6、Haiku 4.5 上可用;`CLAUDE_CODE_ENABLE_TODO_TOOLS=1` 可恢复) | 新任务创建 | 任务追踪、日志 |
|
||||
| `ConfigChange` | 配置更新 | 设置被修改 | 响应配置变化 |
|
||||
| `CwdChanged` | 当前工作目录变化 | 目录切换 | 目录级初始化 |
|
||||
| `DirectoryAdded` | 会话中注册了新的工作目录 | `/add-dir` 或 SDK `register_repo_root` | 为新目录配置工具链 |
|
||||
@@ -531,9 +531,10 @@ claude mcp add github -- npx -y @modelcontextprotocol/server-github
|
||||
|
||||
---
|
||||
|
||||
**最后更新**: 2026 年 9 月 2 日
|
||||
**Claude Code 版本**: 2.1.257
|
||||
**最后更新**: 2026 年 9 月 19 日
|
||||
**Claude Code 版本**: 2.1.278
|
||||
**来源**:
|
||||
- https://code.claude.com/docs/en/tools-reference#task-tool-availability
|
||||
- https://code.claude.com/docs/en/commands
|
||||
- https://code.claude.com/docs/en/hooks
|
||||
- https://code.claude.com/docs/en/plugins-reference
|
||||
|
||||
Reference in New Issue
Block a user