Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Inputs Inheritance: CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase

Syntax

CloudNimble.ClaudeEssentials.Hooks.Inputs.SessionStartHookInput

Summary

Represents the input received by a SessionStart hook. This hook runs when Claude Code starts a new session or resumes one.

Constructors

.ctor

Syntax

public SessionStartHookInput()

.ctor Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase

Syntax

protected HookInputBase()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

CurrentWorkingDirectory Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the current working directory where Claude Code is running.

Syntax

public string CurrentWorkingDirectory { get; set; }

Property Value

Type: string

EnvironmentFilePath

Gets or sets the file path where environment variables can be persisted. This file can be written to during SessionStart to set environment variables that will be available throughout the session.

Syntax

public string EnvironmentFilePath { get; set; }

Property Value

Type: string?

HookEventName Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the name of the hook event that triggered this input.

Syntax

public CloudNimble.ClaudeEssentials.Hooks.Enums.HookEventName HookEventName { get; set; }

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Enums.HookEventName

PermissionMode Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the permission mode under which Claude Code is operating.

Syntax

public CloudNimble.ClaudeEssentials.Hooks.Enums.PermissionMode PermissionMode { get; set; }

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Enums.PermissionMode

SessionId Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the unique identifier for the current Claude Code session.

Syntax

public string SessionId { get; set; }

Property Value

Type: string

Source

Gets or sets the source that triggered the session start.

Syntax

public CloudNimble.ClaudeEssentials.Hooks.Enums.SessionStartSource Source { get; set; }

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Enums.SessionStartSource?

TranscriptPath Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the file path to the transcript JSONL file for the current session. This file contains the full conversation history.

Syntax

public string TranscriptPath { get; set; }

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?