MCPcopy Create free account
hub / github.com/garrytan/gstack / AuditEntry

Interface AuditEntry

browse/src/audit.ts:18–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16import * as fs from 'fs';
17
18export interface AuditEntry {
19 ts: string;
20 cmd: string;
21 /** If the agent typed an alias (e.g. 'setcontent'), the raw input is preserved here
22 * while `cmd` holds the canonical name ('load-html'). Omitted when cmd === rawCmd. */
23 aliasOf?: string;
24 args: string;
25 origin: string;
26 durationMs: number;
27 status: 'ok' | 'error';
28 error?: string;
29 hasCookies: boolean;
30 mode: 'launched' | 'headed';
31}
32
33const MAX_ARGS_LENGTH = 200;
34const MAX_ERROR_LENGTH = 300;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected