docs: Claude Code v2.1.220 - Agent SDK bypassPermissions now requires allowDangerouslySkipPermissions in TypeScript - #1121
Merged
Conversation
… allowDangerouslySkipPermissions in TypeScript Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Night shift report
WHY THIS MATTERS: The Agent SDK permission mode docs were updated with a new TypeScript-specific requirement:
bypassPermissionsmode now also requiresallowDangerouslySkipPermissions: truein the SDK options. This was previously undocumented — TypeScript SDK users running headless agents in CI/containers withbypassPermissionsmay have been unknowingly relying on undocumented behavior, or this documents a new enforcement that could break existing code silently. Day shift should verify whether this is a new SDK requirement or a doc fix for something that was always enforced.HIGHLIGHTS:
bypassPermissionsmode now requiresallowDangerouslySkipPermissions: trueinoptions— first time this requirement appears in the agent-loop docsagent-sdk/agent-loop.mdgained a "Use case" column with concrete guidance (e.g., "CI, containers, or other isolated environments" forbypassPermissions)"default"mode description clarified: triggerscanUseToolcallback (not generic "your approval callback")Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning