UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

31 lines (30 loc) 1.13 kB
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * META INPUT PLACEHOLDER commitment definition. * * The `META INPUT PLACEHOLDER` commitment sets the chat input placeholder text * that user interfaces should render for this agent. * * @private Metadata-only commitment used by chat UIs. */ export declare class MetaInputPlaceholderCommitmentDefinition extends BaseCommitmentDefinition<'META INPUT PLACEHOLDER'> { constructor(); /** * Short one-line description of META INPUT PLACEHOLDER. */ get description(): string; /** * Icon for this commitment. */ get icon(): string; /** * Markdown documentation for META INPUT PLACEHOLDER commitment. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; /** * Convenience helper to normalize configured placeholder text. */ extractInputPlaceholder(content: string): string | null; }