Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Outputs Inheritance: System.Object

Syntax

CloudNimble.ClaudeEssentials.Hooks.Outputs.HookOutputBase

Summary

Base class containing common fields for all hook outputs. Hook outputs are written to stdout as JSON when the hook exits with code 0.

Constructors

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Continue

Gets or sets a value indicating whether to continue with the operation. When set to false, the operation will be stopped. Defaults to true.

Syntax

public bool Continue { get; set; }

Property Value

Type: bool

Remarks

This property is always serialized to ensure explicit intent is communicated.

StopReason

Gets or sets the reason message shown when HookOutputBase.Continue is false. This message is displayed to the user when the operation is stopped.

Syntax

public string StopReason { get; set; }

Property Value

Type: string?

SuppressOutput

Gets or sets a value indicating whether to suppress output from the transcript. When true, the hook’s output will not appear in the conversation transcript. Defaults to false.

Syntax

public bool SuppressOutput { get; set; }

Property Value

Type: bool

SystemMessage

Gets or sets an optional warning message to include in the system context. This message is shown to Claude as additional context.

Syntax

public string SystemMessage { 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?