UNPKG

@promptbook/remote-server

Version:

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

32 lines (31 loc) 1.03 kB
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * IMPORT commitment definition * * The IMPORT commitment tells the agent to import content from another agent at the current location. * * Example usage in agent source: * * ```book * IMPORT https://s6.ptbk.io/benjamin-white * ``` * * @private [🪔] Maybe export the commitments through some package */ export declare class ImportCommitmentDefinition extends BaseCommitmentDefinition<'IMPORT' | 'IMPORTS'> { constructor(type?: 'IMPORT' | 'IMPORTS'); /** * Short one-line description of IMPORT. */ get description(): string; /** * Icon for this commitment. */ get icon(): string; /** * Markdown documentation for IMPORT commitment. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; }