UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

37 lines 1.05 kB
/** * Knowledge Base — load and search domain knowledge for grounding agents * * @module agents/grounding/knowledge-base * @issue #184 */ import type { KnowledgeFragment, VerificationResult } from './types.js'; export declare class KnowledgeStore { private bases; private projectPath; constructor(projectPath: string); /** * Load knowledge bases from .aiwg/knowledge/ */ load(): Promise<void>; /** * Add a knowledge base from a JSON file */ addFromFile(domain: string, filePath: string): Promise<number>; /** * Search knowledge across all domains or a specific domain */ search(query: string, options?: { domain?: string; limit?: number; }): KnowledgeFragment[]; /** * Verify a claim against domain knowledge */ verifyClaim(claim: string, domain?: string): VerificationResult; listDomains(): string[]; getDomainStats(): Array<{ domain: string; entries: number; }>; } //# sourceMappingURL=knowledge-base.d.ts.map