agentcrumbs
Version:
Debug mode for any agent.
10 lines • 349 B
TypeScript
export type DebugContext = {
namespace: string;
contextData: Record<string, unknown>;
traceId: string;
depth: number;
sessionId?: string;
};
export declare function getContext(): DebugContext | undefined;
export declare function runWithContext<T>(ctx: DebugContext, fn: () => T): T;
//# sourceMappingURL=context-browser.d.mts.map