Skip to content

Interface: LockfilePrompt

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:202

Behavioral snapshot for a single prompt.

Captures the declarative surface that an LLM client relies on to offer the correct slash-command palette. Changes to arguments, descriptions, or middleware affect how the LLM invokes the prompt.

Properties

arguments

ts
readonly arguments: readonly LockfilePromptArgument[];

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:212

Argument definitions from the Zod schema


argumentsDigest

ts
readonly argumentsDigest: string;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:214

SHA-256 of canonical arguments JSON


description

ts
readonly description: string | null;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:206

Human-readable description


hasMiddleware

ts
readonly hasMiddleware: boolean;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:216

Whether middleware is attached to this prompt


hydrationTimeout

ts
readonly hydrationTimeout: number | null;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:218

Hydration timeout in ms, or null if unlimited


integrityDigest

ts
readonly integrityDigest: string;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:204

SHA-256 integrity digest for this prompt's declarative contract


tags

ts
readonly tags: readonly string[];

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:210

Sorted capability tags


title

ts
readonly title: string | null;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:208

Display title (MCP BaseMetadata.title)