Files
liqa/server/src/common/trace-context.ts
T
ars9 8935783371 feat(import): add central yaml import for all exportable kinds
- add POST /import, an import page and the import_yaml mcp tool; items
  are validated up front and imported in dependency order
- switch list page import buttons to the central import
- write scenario exports as separate --- yaml documents per entity
- give each test app its own files dir to avoid cross-suite races
- use node: prefix for node built-in imports
- bump version to 1.18.0
2026-09-30 19:25:03 +03:00

12 lines
269 B
TypeScript

import { AsyncLocalStorage } from "node:async_hooks";
export interface TraceStore {
traceId: string;
}
export const traceStorage = new AsyncLocalStorage<TraceStore>();
export function getTraceId(): string | undefined {
return traceStorage.getStore()?.traceId;
}