@bitfab/sdk 0.65.9 → 0.65.10

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.
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
- import { C as readEnv$1, S as MixedTracingError, _ as getReplayContext, b as gitRunner, c as recordCallerTraceMetadata, f as ROOT_TRACE_FUNCTION_KEY_FIELD, g as MAX_COMPRESSIBLE_SPAN_CARRIER_BYTES, h as makeSpanOrigin, i as flushTraces, l as retireTraceMetadata, m as isFrameworkInstrumentation, n as SPAN_TYPES, o as unrefTimer, p as SimulationPlan, r as experimentIdWireFields, s as callerTraceMetadata, t as HttpClient, v as replayContextReady, w as __version__, x as BitfabError, y as runWithReplayContext } from "./http-DUDL3FGE.js";
2
+ import { C as readEnv$1, S as MixedTracingError, _ as getReplayContext, b as gitRunner, c as recordCallerTraceMetadata, f as ROOT_TRACE_FUNCTION_KEY_FIELD, g as MAX_COMPRESSIBLE_SPAN_CARRIER_BYTES, h as makeSpanOrigin, i as flushTraces, l as retireTraceMetadata, m as isFrameworkInstrumentation, n as SPAN_TYPES, o as unrefTimer, p as SimulationPlan, r as experimentIdWireFields, s as callerTraceMetadata, t as HttpClient, v as replayContextReady, w as __version__, x as BitfabError, y as runWithReplayContext } from "./http-BsQE3J6v.js";
3
3
  import { a as clearAutoTraceNodeConfiguration, b as isAsyncStorageInitDone, c as runAsAutoTraceRootFunction, d as runWithAutoTraceRootContext, g as runWithCaptureSuppressed, h as isCaptureSuppressed, l as runWithAutoTraceEntry, m as writeOnce, n as __bitfabAutoTraceActive, o as currentAutoTraceEntries, p as warnOnce, s as invokeThroughAutoTraceEntries, u as runWithAutoTraceNodeConfiguration, v as asyncStorageReady, y as createAsyncLocalStorage } from "./autoTrace-O40k8f5M.js";
4
4
  import { r as importOptionalPeer, t as loadBamlModule } from "./bamlPeer-CIVwS68E.js";
5
5
  import superjson from "superjson";
@@ -4062,7 +4062,8 @@ var TracesClient = class {
4062
4062
  traceId: params.traceId,
4063
4063
  assertions: params.assertions
4064
4064
  }],
4065
- source: params.source
4065
+ source: params.source,
4066
+ skipGuidedRewrite: params.skipGuidedRewrite
4066
4067
  });
4067
4068
  }
4068
4069
  async saveAssertionsAll(params) {
@@ -4072,7 +4073,8 @@ var TracesClient = class {
4072
4073
  ...update,
4073
4074
  assertions: update.assertions.map(toWireAssertion)
4074
4075
  })),
4075
- source: params.source ?? "agent"
4076
+ source: params.source ?? "agent",
4077
+ guidedRewrite: params.skipGuidedRewrite !== true
4076
4078
  })).assertions);
4077
4079
  }
4078
4080
  async generateAssertions(traceId, options = {}) {
@@ -5908,7 +5910,7 @@ var Bitfab = class {
5908
5910
  await runWithSeedContext({ traceId }, async () => target(...args));
5909
5911
  } finally {
5910
5912
  try {
5911
- const { flushTraces } = await import("./http-DUDL3FGE.js").then((n) => n.a);
5913
+ const { flushTraces } = await import("./http-BsQE3J6v.js").then((n) => n.a);
5912
5914
  await flushTraces(3e4);
5913
5915
  } finally {
5914
5916
  unrecorded = activeTraceStates.delete(traceId);
@@ -6096,7 +6098,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
6096
6098
  metadata: seedCase.metadata,
6097
6099
  sessionId: seedCase.sessionId
6098
6100
  }));
6099
- const { flushTraces } = await import("./http-DUDL3FGE.js").then((n) => n.a);
6101
+ const { flushTraces } = await import("./http-BsQE3J6v.js").then((n) => n.a);
6100
6102
  await flushTraces(3e4);
6101
6103
  return {
6102
6104
  pipeline,
@@ -6113,4 +6115,4 @@ function resolveTraceFunctionKey(registration) {
6113
6115
  //#endregion
6114
6116
  export { SUPPORTED_PROVIDERS as A, BitfabOpenAIAgentHandler as C, LabelsClient as D, BitfabLangGraphCallbackHandler as E, DEFAULT_SERVICE_URL as F, AssertionCategoriesClient as I, CategoriesClient as L, GraderRerunError as M, GraderRerunTimeoutError as N, GradersClient as O, BitfabClaudeAgentHandler as P, OrganizationMembersClient as S, BitfabLangGraphIntegration as T, BITFAB_PROGRESS_PREFIX as _, Bitfab as a, reportReplayProgress as b, getCurrentSpan as c, BitfabOpenAITracingProcessor as d, AssertionGenerationError as f, BitfabRivetIntegration as g, SpansClient as h, finalizers as i, DatasetsClient as j, ExperimentsClient as k, getCurrentTrace as l, TracesClient as m, reseedFromRegistry as n, BitfabFunction as o, AssertionGenerationTimeoutError as p, seedFromRegistry as r, getCurrentReplayBranch as s, defineReplayRegistry as t, BitfabVercelAiHandler as u, DbBranchReplayError as v, NO_MOCK_OVERRIDE as w, serializeReplayResult as x, ReplayError as y };
6115
6117
 
6116
- //# sourceMappingURL=src-DYCb-06l.js.map
6118
+ //# sourceMappingURL=src-i0n2ZuJo.js.map