@bitfab/sdk 0.38.7 → 0.38.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1881,13 +1881,14 @@ declare class BitfabOpenAITracingProcessor implements TracingProcessor {
1881
1881
  */
1882
1882
  onTraceEnd(trace: Trace): Promise<void>;
1883
1883
  /**
1884
- * Called when a span is started.
1884
+ * Called when a span is started. Span payloads are authoritative completed
1885
+ * snapshots, so start notifications do not cross the transport boundary.
1885
1886
  */
1886
- onSpanStart(span: Span<any>): Promise<void>;
1887
+ onSpanStart(_span: Span<any>): Promise<void>;
1887
1888
  /**
1888
1889
  * Called when a span is ended.
1889
1890
  *
1890
- * Send all spans to Bitfab for complete trace capture.
1891
+ * Send the finalized span snapshot to Bitfab for complete trace capture.
1891
1892
  */
1892
1893
  onSpanEnd(span: Span<any>): Promise<void>;
1893
1894
  /**
@@ -2884,7 +2885,7 @@ declare class BitfabFunction {
2884
2885
  /**
2885
2886
  * SDK version from package.json (injected at build time)
2886
2887
  */
2887
- declare const __version__ = "0.38.7";
2888
+ declare const __version__ = "0.38.8";
2888
2889
 
2889
2890
  /**
2890
2891
  * Constants for the Bitfab SDK.
package/dist/index.d.ts CHANGED
@@ -1881,13 +1881,14 @@ declare class BitfabOpenAITracingProcessor implements TracingProcessor {
1881
1881
  */
1882
1882
  onTraceEnd(trace: Trace): Promise<void>;
1883
1883
  /**
1884
- * Called when a span is started.
1884
+ * Called when a span is started. Span payloads are authoritative completed
1885
+ * snapshots, so start notifications do not cross the transport boundary.
1885
1886
  */
1886
- onSpanStart(span: Span<any>): Promise<void>;
1887
+ onSpanStart(_span: Span<any>): Promise<void>;
1887
1888
  /**
1888
1889
  * Called when a span is ended.
1889
1890
  *
1890
- * Send all spans to Bitfab for complete trace capture.
1891
+ * Send the finalized span snapshot to Bitfab for complete trace capture.
1891
1892
  */
1892
1893
  onSpanEnd(span: Span<any>): Promise<void>;
1893
1894
  /**
@@ -2884,7 +2885,7 @@ declare class BitfabFunction {
2884
2885
  /**
2885
2886
  * SDK version from package.json (injected at build time)
2886
2887
  */
2887
- declare const __version__ = "0.38.7";
2888
+ declare const __version__ = "0.38.8";
2888
2889
 
2889
2890
  /**
2890
2891
  * Constants for the Bitfab SDK.
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  getCurrentReplayBranch,
14
14
  getCurrentSpan,
15
15
  getCurrentTrace
16
- } from "./chunk-RZ3P6ICN.js";
16
+ } from "./chunk-CKOOG3TW.js";
17
17
  import "./chunk-ZUD7OFYB.js";
18
18
  import {
19
19
  BITFAB_PROGRESS_PREFIX,
@@ -27,7 +27,7 @@ import {
27
27
  flushTraces,
28
28
  reportReplayProgress,
29
29
  serializeReplayResult
30
- } from "./chunk-7E6KCBTH.js";
30
+ } from "./chunk-VCGFTX2G.js";
31
31
  import "./chunk-H6LZRFMN.js";
32
32
  export {
33
33
  BITFAB_PROGRESS_PREFIX,
package/dist/node.cjs CHANGED
@@ -88,7 +88,7 @@ var __version__, __packageName__;
88
88
  var init_version_generated = __esm({
89
89
  "src/version.generated.ts"() {
90
90
  "use strict";
91
- __version__ = "0.38.7";
91
+ __version__ = "0.38.8";
92
92
  __packageName__ = "@bitfab/sdk";
93
93
  }
94
94
  });
@@ -5294,16 +5294,16 @@ var BitfabOpenAITracingProcessor = class {
5294
5294
  delete this.activeTraces[trace.traceId];
5295
5295
  }
5296
5296
  /**
5297
- * Called when a span is started.
5297
+ * Called when a span is started. Span payloads are authoritative completed
5298
+ * snapshots, so start notifications do not cross the transport boundary.
5298
5299
  */
5299
5300
  // biome-ignore lint/suspicious/noExplicitAny: OpenAI Agents SDK uses any for span data
5300
- async onSpanStart(span) {
5301
- this.sendSpan(span);
5301
+ async onSpanStart(_span) {
5302
5302
  }
5303
5303
  /**
5304
5304
  * Called when a span is ended.
5305
5305
  *
5306
- * Send all spans to Bitfab for complete trace capture.
5306
+ * Send the finalized span snapshot to Bitfab for complete trace capture.
5307
5307
  */
5308
5308
  // biome-ignore lint/suspicious/noExplicitAny: OpenAI Agents SDK uses any for span data
5309
5309
  async onSpanEnd(span) {