Skip to content

SuggestionCondition

PromptScript API


Defined in: core/src/types/manifest.ts:83

Condition for triggering a suggestion rule.

Properties

always?

optional always?: boolean

Defined in: core/src/types/manifest.ts:85

Always match


dependencies?

optional dependencies?: string[]

Defined in: core/src/types/manifest.ts:89

Match if any of these dependencies are present


files?

optional files?: string[]

Defined in: core/src/types/manifest.ts:87

Match if any of these files exist


frameworks?

optional frameworks?: string[]

Defined in: core/src/types/manifest.ts:93

Match if any of these frameworks are detected


languages?

optional languages?: string[]

Defined in: core/src/types/manifest.ts:91

Match if any of these languages are detected