@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
16 lines • 711 B
TypeScript
/**
* Render one `set -x` trace line for an expanded simple command.
*/
export declare function traceCommand(words: readonly string[]): Uint8Array;
/**
* The `set -x` trace line for a scalar assignment, without its newline: an
* assignment traces it into the shell's diagnostics, and `export` /
* `readonly` among their own refusals.
*/
export declare function traceAssignment(key: string, val: string, append: boolean): string;
/**
* Render the trace line a declaration writes for an array operand: every
* element single-quoted, a keyed one as `['k']='v'`.
*/
export declare function traceArray(key: string, items: readonly string[], append: boolean): Uint8Array;
//# sourceMappingURL=xtrace.d.ts.map