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

26 lines 1.17 kB
/** * Diagnose Command Handler * * `aiwg diagnose` — produces a shareable support bundle for bug reports. * * Bundle contents: * - manifest.json environment fingerprint + collection timestamp * - logs/aiwg-YYYY-MM-DD.jsonl last 7 days of JSONL logs (or last 1000 lines, smaller) * - config.json sanitized copy of .aiwg/aiwg.config (if present) * - git.txt `git log -10 --oneline` + branch + remote (if in a repo) * - doctor.txt output of `aiwg doctor` (best-effort) * * Sanitization (unless --include-secrets): * - Strip environment variables matching *SECRET*, *TOKEN*, *PASS*, *KEY* * - Replace any absolute path containing ~/.ssh with <redacted> * - Remove API tokens from config.json (any field name ending in token/secret/key) * * Output modes: * --tarball (default) write aiwg-diagnose-YYYYMMDDHHMMSS.tar.gz in cwd * --stdout write a single-file JSON manifest to stdout (for pasting into issues) * * @implements #925 */ import type { CommandHandler } from './types.js'; export declare const diagnoseHandler: CommandHandler; //# sourceMappingURL=diagnose.d.ts.map