source dump of claude code
1// In its own file to avoid circular dependencies
2export const FILE_EDIT_TOOL_NAME = 'Edit'
3
4// Permission pattern for granting session-level access to the project's .claude/ folder
5export const CLAUDE_FOLDER_PERMISSION_PATTERN = '/.claude/**'
6
7// Permission pattern for granting session-level access to the global ~/.claude/ folder
8export const GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN = '~/.claude/**'
9
10export const FILE_UNEXPECTEDLY_MODIFIED_ERROR =
11 'File has been unexpectedly modified. Read it again before attempting to write it.'