Skip to content

Commit 15fa9b9

Browse files
committed
Ensure SpanData types are exported
1 parent 1300121 commit 15fa9b9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.changeset/warm-beans-build.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-core': patch
3+
---
4+
5+
SpanData types are exported from distribution types for use when writing custom TracingExporters and Tracingprocessors

packages/agents-core/src/tracing/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ export {
1616
TracingProcessor,
1717
ConsoleSpanExporter,
1818
} from './processor';
19-
export { NoopSpan, Span } from './spans';
19+
export * from './spans';
2020
export { NoopTrace, Trace } from './traces';
2121
export { generateGroupId, generateSpanId, generateTraceId } from './utils';
22-
export type { MCPListToolsSpanData } from './spans';
2322

2423
/**
2524
* Add a processor to the list of processors. Each processor will receive all traces/spans.

0 commit comments

Comments
 (0)