> ## Documentation Index
> Fetch the complete documentation index at: https://ai.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PermissionMode

> Represents the permission mode under which Claude Code is operating.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks

**Inheritance:** System.Enum

## Syntax

```csharp theme={null}
CloudNimble.ClaudeEssentials.Hooks.PermissionMode
```

## Summary

Represents the permission mode under which Claude Code is operating.

## Values

| Name | Value | Description |
| - | - | - |
| `Default` | 0 | Default permission mode requiring explicit user approval for sensitive operations. |
| `Plan` | 1 | Plan mode where Claude explores and plans but doesn't execute changes. |
| `AcceptEdits` | 2 | Mode that automatically accepts file edits without prompting. |
| `BypassPermissions` | 3 | Mode that bypasses all permission prompts. Use with caution. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.