openclaw/src/plugin-sdk/diagnostics-otel.ts

14 lines
639 B
TypeScript

// Narrow plugin-sdk surface for the bundled diagnostics-otel plugin.
// Keep this list additive and scoped to symbols used under extensions/diagnostics-otel.
export type { DiagnosticEventPayload } from "../infra/diagnostic-events.js";
export { emitDiagnosticEvent, onDiagnosticEvent } from "../infra/diagnostic-events.js";
export { registerLogTransport } from "../logging/logger.js";
export { redactSensitiveText } from "../logging/redact.js";
export { emptyPluginConfigSchema } from "../plugins/config-schema.js";
export type {
OpenClawPluginApi,
OpenClawPluginService,
OpenClawPluginServiceContext,
} from "../plugins/types.js";