bitfab 0.68.2 → 0.68.3

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.
@@ -2512,7 +2512,7 @@ declare class BitfabLangGraphIntegration {
2512
2512
  private readonly traceFunctionKey;
2513
2513
  private readonly mockToolsOnReplay;
2514
2514
  private readonly getActiveSpan;
2515
- private readonly addRootContext;
2515
+ private readonly getTraceRootContexts;
2516
2516
  private agentMiddleware;
2517
2517
  private runHost;
2518
2518
  constructor(config: {
@@ -2521,7 +2521,7 @@ declare class BitfabLangGraphIntegration {
2521
2521
  callbackHandler: BitfabLangGraphCallbackHandler;
2522
2522
  options?: LangGraphIntegrationOptions;
2523
2523
  getActiveSpan?: () => LangGraphActiveSpan | null;
2524
- addContext?: (context: Record<string, unknown>) => void;
2524
+ getTraceRootContexts?: () => Record<string, unknown>[] | null;
2525
2525
  });
2526
2526
  /**
2527
2527
  * LangChain agent middleware that makes each tool call a replayable span
@@ -2546,7 +2546,9 @@ declare class BitfabLangGraphIntegration {
2546
2546
  * When the graph has a checkpointer and the run has a `thread_id`, the
2547
2547
  * thread's checkpoint at the start of the run is recorded too, and replay
2548
2548
  * runs against that checkpoint in memory instead of the graph's own
2549
- * checkpointer.
2549
+ * checkpointer. Inside a `withTrace()` root, under any trace function key,
2550
+ * the checkpoint is recorded on that trace's root, and any run of the graph
2551
+ * during a replay uses an in-memory checkpointer.
2550
2552
  *
2551
2553
  * Replay a recorded run through any run method, for example
2552
2554
  * `bitfab.replay(key, (input) => agent.invoke(input))` or
@@ -3703,14 +3705,6 @@ interface CurrentTrace {
3703
3705
  */
3704
3706
  drop(): void;
3705
3707
  }
3706
- /**
3707
- * Get a handle to the current active span.
3708
- *
3709
- * Call this from inside a traced function (wrapped with `withSpan`) to get
3710
- * a span handle that allows adding context at runtime.
3711
- *
3712
- * Returns a no-op object if called outside of a span context (methods do nothing).
3713
- */
3714
3708
  declare function getCurrentSpan(): CurrentSpan;
3715
3709
  /**
3716
3710
  * Get the database branch the current replay item is running against.
@@ -4790,7 +4784,7 @@ interface CommitRef {
4790
4784
  /**
4791
4785
  * SDK version from package.json (injected at build time)
4792
4786
  */
4793
- declare const __version__ = "0.68.2";
4787
+ declare const __version__ = "0.68.3";
4794
4788
  //#endregion
4795
4789
  //#region src/constants.d.ts
4796
4790
  /**
@@ -2512,7 +2512,7 @@ declare class BitfabLangGraphIntegration {
2512
2512
  private readonly traceFunctionKey;
2513
2513
  private readonly mockToolsOnReplay;
2514
2514
  private readonly getActiveSpan;
2515
- private readonly addRootContext;
2515
+ private readonly getTraceRootContexts;
2516
2516
  private agentMiddleware;
2517
2517
  private runHost;
2518
2518
  constructor(config: {
@@ -2521,7 +2521,7 @@ declare class BitfabLangGraphIntegration {
2521
2521
  callbackHandler: BitfabLangGraphCallbackHandler;
2522
2522
  options?: LangGraphIntegrationOptions;
2523
2523
  getActiveSpan?: () => LangGraphActiveSpan | null;
2524
- addContext?: (context: Record<string, unknown>) => void;
2524
+ getTraceRootContexts?: () => Record<string, unknown>[] | null;
2525
2525
  });
2526
2526
  /**
2527
2527
  * LangChain agent middleware that makes each tool call a replayable span
@@ -2546,7 +2546,9 @@ declare class BitfabLangGraphIntegration {
2546
2546
  * When the graph has a checkpointer and the run has a `thread_id`, the
2547
2547
  * thread's checkpoint at the start of the run is recorded too, and replay
2548
2548
  * runs against that checkpoint in memory instead of the graph's own
2549
- * checkpointer.
2549
+ * checkpointer. Inside a `withTrace()` root, under any trace function key,
2550
+ * the checkpoint is recorded on that trace's root, and any run of the graph
2551
+ * during a replay uses an in-memory checkpointer.
2550
2552
  *
2551
2553
  * Replay a recorded run through any run method, for example
2552
2554
  * `bitfab.replay(key, (input) => agent.invoke(input))` or
@@ -3703,14 +3705,6 @@ interface CurrentTrace {
3703
3705
  */
3704
3706
  drop(): void;
3705
3707
  }
3706
- /**
3707
- * Get a handle to the current active span.
3708
- *
3709
- * Call this from inside a traced function (wrapped with `withSpan`) to get
3710
- * a span handle that allows adding context at runtime.
3711
- *
3712
- * Returns a no-op object if called outside of a span context (methods do nothing).
3713
- */
3714
3708
  declare function getCurrentSpan(): CurrentSpan;
3715
3709
  /**
3716
3710
  * Get the database branch the current replay item is running against.
@@ -4790,7 +4784,7 @@ interface CommitRef {
4790
4784
  /**
4791
4785
  * SDK version from package.json (injected at build time)
4792
4786
  */
4793
- declare const __version__ = "0.68.2";
4787
+ declare const __version__ = "0.68.3";
4794
4788
  //#endregion
4795
4789
  //#region src/constants.d.ts
4796
4790
  /**
package/dist/index.cjs CHANGED
@@ -11,8 +11,8 @@ Object.defineProperties(exports, {
11
11
  __esModule: { value: true },
12
12
  [Symbol.toStringTag]: { value: "Module" }
13
13
  });
14
- const require_src = require("./src-CdQRfsrA.cjs");
15
- const require_http = require("./http-Dqc-f3sp.cjs");
14
+ const require_src = require("./src-BRR42NiJ.cjs");
15
+ const require_http = require("./http-bBRhl6b9.cjs");
16
16
  exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
17
17
  exports.AssertionGenerationError = require_src.AssertionGenerationError;
18
18
  exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-Cmrec4hc.cjs";
1
+ import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-D1heoBkv.cjs";
2
2
  export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-Cmrec4hc.js";
1
+ import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-D1heoBkv.js";
2
2
  export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -7,6 +7,6 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
7
7
  "The bitfab package will stop receiving updates in a future release."
8
8
  );
9
9
  }
10
- import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-BF95TP1K.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-Cs_vVjrS.js";
10
+ import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src--sgdobPE.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-WVZO9E-Q.js";
12
12
  export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.cjs CHANGED
@@ -11,8 +11,8 @@ Object.defineProperties(exports, {
11
11
  __esModule: { value: true },
12
12
  [Symbol.toStringTag]: { value: "Module" }
13
13
  });
14
- const require_src = require("./src-CdQRfsrA.cjs");
15
- const require_http = require("./http-Dqc-f3sp.cjs");
14
+ const require_src = require("./src-BRR42NiJ.cjs");
15
+ const require_http = require("./http-bBRhl6b9.cjs");
16
16
  const require_autoTrace = require("./autoTrace-D3-OZcmR.cjs");
17
17
  let async_hooks = require("async_hooks");
18
18
  //#region src/asyncStorageNode.ts
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-Cmrec4hc.cjs";
1
+ import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-D1heoBkv.cjs";
2
2
  export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-Cmrec4hc.js";
1
+ import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-D1heoBkv.js";
2
2
  export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.js CHANGED
@@ -7,8 +7,8 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
7
7
  "The bitfab package will stop receiving updates in a future release."
8
8
  );
9
9
  }
10
- import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-BF95TP1K.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-Cs_vVjrS.js";
10
+ import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src--sgdobPE.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-WVZO9E-Q.js";
12
12
  import { C as assertAsyncStorageRegistered, D as registerAsyncLocalStorageClass } from "./autoTrace-ghnojSj9.js";
13
13
  import { AsyncLocalStorage } from "async_hooks";
14
14
  //#region src/asyncStorageNode.ts