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

65 lines 1.6 kB
/** * Provenance service for W3C PROV tracking * * @module research/services/provenance */ import { ProvenanceRecord, ProvenanceActivity, ProvenanceChain } from './types.js'; /** * Configuration for provenance service */ export interface ProvenanceConfig { /** Provenance records directory */ recordsDir?: string; /** Enable automatic record persistence */ autoPersist?: boolean; } /** * Provenance service for W3C PROV-compliant tracking */ export declare class ProvenanceService { private recordsDir; private autoPersist; private records; constructor(config?: ProvenanceConfig); /** * Record a provenance activity */ recordActivity(activity: ProvenanceActivity): Promise<ProvenanceRecord>; /** * Query lineage (provenance chain) for an entity */ queryLineage(entityId: string): Promise<ProvenanceChain>; /** * Validate provenance chain integrity */ validateChain(chainId: string): Promise<boolean>; /** * Export provenance in specified format */ exportPROV(format: 'json' | 'turtle'): Promise<string>; /** * Export as PROV-JSON */ private exportJSON; /** * Export as PROV-Turtle (simplified) */ private exportTurtle; /** * Persist record to disk */ private persistRecord; /** * Generate record ID */ private generateRecordId; /** * Generate activity ID */ private generateActivityId; /** * Ensure directory exists */ private ensureDir; } //# sourceMappingURL=provenance.d.ts.map