본문 바로가기

Claude Code 2.1.304 릴리스

먼저 실행되는 플러그인이 mod의 hook 하나를 건너뛰면 transcript에 이벤트 이름과 플러그인 이름이 남도록 바뀌었습니다. `tool.check` 응답에서 `decider` 값을 `person`으로 주면 권한 대화상자나 호스트 콜백만 그 요청을 승인할 수 있고, 아무에게도 물을 수 없는 자리에서는 mod가 밝힌 사유와 함께 거부됩니다. 또 `too

글

Claude 공식 릴리스 노트의 새 항목을 AI가 분석·정리한 글입니다. 정확한 내용은 하단 원문에서 확인해 주세요.

🤖 AI 분석 (Claude)

먼저 실행되는 플러그인이 mod의 hook 하나를 건너뛰면 transcript에 이벤트 이름과 플러그인 이름이 남도록 바뀌었습니다. `tool.check` 응답에서 `decider` 값을 `person`으로 주면 권한 대화상자나 호스트 콜백만 그 요청을 승인할 수 있고, 아무에게도 물을 수 없는 자리에서는 mod가 밝힌 사유와 함께 거부됩니다. 또 `tool.check` 이벤트의 `e.isReadOnly`는 도구 호출이 읽기 전용일 때 설정됩니다.

사용 쪽에서는 `/auto-mode-setup`이 추가되어 프로젝트와 최근 세션을 읽고 auto mode에 사용자 환경을 알려주는 안내형 설정을 할 수 있습니다. 이 기능은 Bedrock, Vertex, Foundry, Claude apps gateway와 텔레메트리가 꺼진 세션에서도 쓸 수 있습니다. `/claude-api managed-agents-secure`는 Managed Agents 에이전트 설정을 Anthropic의 공개 보안 가이드와 비교하며, 설정은 변경하지 않습니다. Pro와 Max 요금제에서는 비활성 대화를 재개할 때 5시간 사용 한도의 눈에 띄는 비율을 쓰게 되면 경고가 나오고, 그대로 재개하거나 새 대화를 시작할 수 있습니다.

왜 중요한가

mod가 도구 호출을 처리할 때 사람이 직접 승인해야 하는 요청을 더 세밀하게 정할 수 있게 되었습니다. 자동 모드 설정도 사용자 프로젝트 환경을 읽어 안내해 주므로 더 여러 환경에서 같은 도움을 받을 수 있습니다. 오래된 대화를 다시 열 때 사용 한도가 얼마나 줄어들지 미리 알 수 있어 한도를 예상치 못하게 소진하는 일을 피하기 쉬워졌습니다.

이전과 다른 점

이전에는 `ANTHROPIC_API_KEY`를 시작 시 승인하거나 `/config`에서 'Use custom API key'를 바꿔도 시간당 확인 주기가 돌아올 때까지 조직 정책이 갱신되지 않았습니다. 이제는 그 시점에 조직 정책이 갱신됩니다.

실제로 써보려면

Claude Code에서 `/auto-mode-setup` 명령으로 자동 모드 설정 안내를, `/claude-api managed-agents-secure` 명령으로 Managed Agents 보안 설정 비교를 실행해 볼 수 있습니다.

⚠️ AI가 원문을 바탕으로 생성한 분석입니다. 사실 확인은 아래 원문에서 해 주세요.

핵심 정리 Claude Code 2.1.304 릴리스 1 mod의 tool.check에 decider: person과 isReadOnly 추가 2 /auto-mode-setup 추가 (Bedrock·Vertex 등에서도 사용 가능) 3 /claude-api managed-agents-secure 추가 (설정 변경 없이 비교) 4 조직 정책이 즉시 갱신되지 않던 문제 수정

변경 내용 (원문)

- Added a transcript line when a plugin that runs first skips one of your mod's hooks, naming the event and the plugin - Added `decider: "person"` to a mod's `tool.check` answer: only the permission dialog or a host's callback can approve the ask, and it is refused with the mod's reason where nobody can be asked - Added `e.isReadOnly` to a mod's `tool.check` event, set when the tool call is read-only - Added `/auto-mode-setup`: a guided setup that reads your project and recent sessions to teach auto mode about your environment, now also available on Bedrock, Vertex, Foundry, Claude apps gateway and telemetry-disabled sessions - Added `/claude-api managed-agents-secure`, which compares a Managed Agents agent's settings with Anthropic's published security guide, without changing anything - Added the names of the tools called earlier to the compaction summary in the transcript view (Ctrl+O) - Added a warning on Pro and Max plans when resuming an inactive conversation would use a noticeable share of your 5-hour usage limit: resume anyway, or start a new conversation and Claude can look up the previous one if you refer to it - Fixed the organization policy not refreshing until the hourly check after approving an `ANTHROPIC_API_KEY` at startup or switching "Use custom API key" in `/config` - Fixed sandboxed commands failing to start on Linux when a `sandbox.filesystem.denyRead` glob contains brackets that are not a character class, such as a `[user-id]` route folder - Fixed `rm -r`

출처: Claude Code 변경로그 (원문 보기)

관련 글

이 글이 도움이 됐나요?

이어서 읽어보세요