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

33 lines 1.15 kB
/** * Activity Log Parser * * Parses `.aiwg/activity.log` lines into structured entries. Lines that * don't match the expected format are silently skipped (the log is * append-only and may contain malformed entries from older tooling or * manual edits). * * @issue #934 * @issue #964 */ import { type ActivityEntry } from './types.js'; /** * Parse a single log line. Returns null when the line doesn't match the * canonical format or the operation token is unknown. */ export declare function parseLine(line: string): ActivityEntry | null; /** * Parse the entire log content into entries. Skips blank lines and * lines that don't match the canonical format. */ export declare function parseLog(content: string): ActivityEntry[]; /** * Parse a `YYYY-MM-DD HH:MM` UTC timestamp into a Date. Returns null on * malformed input. */ export declare function parseUtcTimestamp(raw: string): Date | null; /** * Parse a `YYYY-MM-DD` date (interpreted as UTC midnight). Returns null * on malformed input. Used by `--since` filtering. */ export declare function parseUtcDate(raw: string): Date | null; //# sourceMappingURL=parser.d.ts.map