UNPKG

@promptbook/remote-server

Version:

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

41 lines (40 loc) 1.46 kB
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * DELETE commitment definition * * The DELETE commitment (and its aliases CANCEL, DISCARD, REMOVE) is a low-level * unfinished commitment used to remove or disregard certain information or context. * It is intentionally surfaced with caution because it is not ready for broad use yet. * * Example usage in agent source: * * ```book * DELETE Previous formatting requirements * CANCEL All emotional responses * DISCARD Technical jargon explanations * REMOVE Casual conversational style * ``` * * @private [🪔] Maybe export the commitments through some package */ export declare class DeleteCommitmentDefinition extends BaseCommitmentDefinition<'DELETE' | 'CANCEL' | 'DISCARD' | 'REMOVE'> { constructor(type: 'DELETE' | 'CANCEL' | 'DISCARD' | 'REMOVE'); /** * Short one-line description of DELETE/CANCEL/DISCARD/REMOVE. */ get description(): string; /** * Marks DELETE as unfinished and not ready to use. */ get isUnfinished(): boolean; /** * Icon for this commitment. */ get icon(): string; /** * Markdown documentation for DELETE commitment. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; }