# HookCapability

[**PromptScript API**](https://getpromptscript.dev/api-reference/index.md)

***

# Interface: HookCapability

Defined in: [core/src/hook-capabilities.ts:19](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L19)

## Properties

### commandFormat

> **commandFormat**: `string`

Defined in: [core/src/hook-capabilities.ts:23](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L23)

***

### configPath

> **configPath**: `string` \| `null`

Defined in: [core/src/hook-capabilities.ts:21](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L21)

***

### documentationUrl

> **documentationUrl**: `string`

Defined in: [core/src/hook-capabilities.ts:29](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L29)

***

### events

> **events**: readonly `string`[]

Defined in: [core/src/hook-capabilities.ts:22](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L22)

***

### fallback

> **fallback**: `string`

Defined in: [core/src/hook-capabilities.ts:28](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L28)

***

### nativeVersions?

> `optional` **nativeVersions?**: readonly `string`[]

Defined in: [core/src/hook-capabilities.ts:27](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L27)

***

### platforms

> **platforms**: readonly (`"unix"` \| `"windows"`)[]

Defined in: [core/src/hook-capabilities.ts:26](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L26)

***

### projectRootStrategy

> **projectRootStrategy**: [`HookProjectRootStrategy`](https://getpromptscript.dev/api-reference/core/src/type-aliases/HookProjectRootStrategy/index.md)

Defined in: [core/src/hook-capabilities.ts:25](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L25)

***

### status

> **status**: [`HookSupportStatus`](https://getpromptscript.dev/api-reference/core/src/type-aliases/HookSupportStatus/index.md)

Defined in: [core/src/hook-capabilities.ts:20](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L20)

***

### terminal?

> `optional` **terminal?**: [`HookTerminalCapability`](https://getpromptscript.dev/api-reference/core/src/interfaces/HookTerminalCapability/index.md)

Defined in: [core/src/hook-capabilities.ts:30](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L30)

***

### timeoutUnit

> **timeoutUnit**: [`HookTimeoutUnit`](https://getpromptscript.dev/api-reference/core/src/type-aliases/HookTimeoutUnit/index.md)

Defined in: [core/src/hook-capabilities.ts:24](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/hook-capabilities.ts#L24)