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

# DirectoryAddedSource

> Represents how a directory was added to a session.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks

**Inheritance:** System.Enum

## Syntax

```csharp theme={"dark"}
CloudNimble.ClaudeEssentials.Hooks.DirectoryAddedSource
```

## Summary

Represents how a directory was added to a session.

## Values

| Name | Value | Description |
| - | - | - |
| `SlashCommand` | 0 | The directory was added with the <c>/add-dir</c> command. |
| `RegisterRepoRoot` | 1 | The directory was added through the SDK control request. |


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