@bitfab/sdk 0.65.7 → 0.65.9

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
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-qVS-HeqB.cjs";
1
+ import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, 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 GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, 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 AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-qVS-HeqB.js";
1
+ import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, 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 GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, 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 DatasetsClient, k as ExperimentsClient, 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-BblbvWfU.js";
2
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-BaLzqv9W.js";
1
+ import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, 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 DatasetsClient, k as ExperimentsClient, 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-DYCb-06l.js";
2
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-DUDL3FGE.js";
3
3
  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, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.cjs CHANGED
@@ -2,7 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-DgkDt32g.cjs");
5
+ const require_src = require("./src-BWZx-C1S.cjs");
6
+ const require_http = require("./http-DX-fpUSu.cjs");
6
7
  const require_autoTrace = require("./autoTrace-CQw0qMBt.cjs");
7
8
  let async_hooks = require("async_hooks");
8
9
  //#region src/asyncStorageNode.ts
@@ -17,7 +18,7 @@ exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeout
17
18
  exports.BITFAB_PROGRESS_PREFIX = require_src.BITFAB_PROGRESS_PREFIX;
18
19
  exports.Bitfab = require_src.Bitfab;
19
20
  exports.BitfabClaudeAgentHandler = require_src.BitfabClaudeAgentHandler;
20
- exports.BitfabError = require_src.BitfabError;
21
+ exports.BitfabError = require_http.BitfabError;
21
22
  exports.BitfabFunction = require_src.BitfabFunction;
22
23
  exports.BitfabLangChainCallbackHandler = require_src.BitfabLangGraphCallbackHandler;
23
24
  exports.BitfabLangGraphCallbackHandler = require_src.BitfabLangGraphCallbackHandler;
@@ -34,19 +35,19 @@ exports.ExperimentsClient = require_src.ExperimentsClient;
34
35
  exports.GraderRerunError = require_src.GraderRerunError;
35
36
  exports.GraderRerunTimeoutError = require_src.GraderRerunTimeoutError;
36
37
  exports.GradersClient = require_src.GradersClient;
37
- exports.HttpClient = require_src.HttpClient;
38
+ exports.HttpClient = require_http.HttpClient;
38
39
  exports.LabelsClient = require_src.LabelsClient;
39
- exports.MixedTracingError = require_src.MixedTracingError;
40
+ exports.MixedTracingError = require_http.MixedTracingError;
40
41
  exports.NO_MOCK_OVERRIDE = require_src.NO_MOCK_OVERRIDE;
41
42
  exports.OrganizationMembersClient = require_src.OrganizationMembersClient;
42
43
  exports.ReplayError = require_src.ReplayError;
43
44
  exports.SUPPORTED_PROVIDERS = require_src.SUPPORTED_PROVIDERS;
44
45
  exports.SpansClient = require_src.SpansClient;
45
46
  exports.TracesClient = require_src.TracesClient;
46
- exports.__version__ = require_src.__version__;
47
+ exports.__version__ = require_http.__version__;
47
48
  exports.defineReplayRegistry = require_src.defineReplayRegistry;
48
49
  exports.finalizers = require_src.finalizers;
49
- exports.flushTraces = require_src.flushTraces;
50
+ exports.flushTraces = require_http.flushTraces;
50
51
  exports.getCurrentReplayBranch = require_src.getCurrentReplayBranch;
51
52
  exports.getCurrentSpan = require_src.getCurrentSpan;
52
53
  exports.getCurrentTrace = require_src.getCurrentTrace;
package/dist/node.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"node.cjs","names":["registerAsyncLocalStorageClass","AsyncLocalStorage","assertAsyncStorageRegistered"],"sources":["../src/asyncStorageNode.ts","../src/node.ts"],"sourcesContent":["/**\n * Synchronous AsyncLocalStorage registration for Node.js.\n *\n * This module is a side-effect-only import: it registers the Node.js\n * AsyncLocalStorage class into the shared registry so span nesting\n * works immediately - no async gap, no microtask delay.\n *\n * It is imported by `node.ts` (the Node.js-specific entry point) as\n * the FIRST import, before `index.ts` or `client.ts` are evaluated.\n *\n * This file must ONLY be imported in Node.js environments (not browsers).\n * It uses a static `import` of `node:async_hooks`, which will fail in\n * browser bundlers. The `node.ts` entry point is conditionally selected\n * via package.json `exports` conditions, so browsers never see this file.\n */\n\nimport { AsyncLocalStorage } from \"node:async_hooks\"\nimport type { AsyncLocalStorageLike } from \"./asyncStorage.js\"\nimport { registerAsyncLocalStorageClass } from \"./asyncStorage.js\"\n\nregisterAsyncLocalStorageClass(\n AsyncLocalStorage as unknown as new () => AsyncLocalStorageLike<unknown>,\n)\n","/**\n * Node.js-specific entry point for the Bitfab SDK.\n *\n * Selected automatically via package.json `exports` conditions when the\n * consumer's runtime or bundler supports the \"node\" condition (Node.js,\n * most server-side bundlers).\n *\n * This entry point differs from the default (`index.ts`) in one way:\n * it synchronously registers Node.js's `AsyncLocalStorage` before any\n * other SDK code evaluates. This eliminates the async initialization\n * gap that the default entry point has (where the first span might\n * execute before the dynamic import of `node:async_hooks` resolves).\n *\n * The default entry point (`index.ts`) is used for browsers and other\n * environments where `node:async_hooks` is unavailable. There, span\n * nesting degrades gracefully to a shared stack (correct for sequential\n * async, but not for concurrent Promise.all patterns).\n */\n\n// ⚠️ IMPORT ORDER MATTERS\n// asyncStorageNode MUST be imported before index.js.\n// It registers the AsyncLocalStorage class synchronously during module\n// evaluation. index.js (via client.ts) reads from that registration at\n// span creation time. If this import is moved after index.js or removed,\n// span nesting silently degrades to the browser fallback (flat spans).\nimport \"./asyncStorageNode.js\"\n\nexport * from \"./index.js\"\n\n// Verify registration succeeded. This turns a silent degradation into a\n// loud error if someone reorders the imports above or if asyncStorageNode.ts\n// fails to register for any reason. Only runs in the Node.js entry point\n// where we know node:async_hooks must be available.\nimport { assertAsyncStorageRegistered } from \"./asyncStorage.js\"\n\nassertAsyncStorageRegistered()\n"],"mappings":";;;;;;;;AAoBAA,kBAAAA,+BACEC,YAAAA,iBACF;;;ACaAC,kBAAAA,6BAA6B"}
1
+ {"version":3,"file":"node.cjs","names":["registerAsyncLocalStorageClass","AsyncLocalStorage","assertAsyncStorageRegistered"],"sources":["../src/asyncStorageNode.ts","../src/node.ts"],"sourcesContent":["/**\n * Synchronous AsyncLocalStorage registration for Node.js.\n *\n * This module is a side-effect-only import: it registers the Node.js\n * AsyncLocalStorage class into the shared registry so span nesting\n * works immediately - no async gap, no microtask delay.\n *\n * It is imported by `node.ts` (the Node.js-specific entry point) as\n * the FIRST import, before `index.ts` or `client.ts` are evaluated.\n *\n * This file must ONLY be imported in Node.js environments (not browsers).\n * It uses a static `import` of `node:async_hooks`, which will fail in\n * browser bundlers. The `node.ts` entry point is conditionally selected\n * via package.json `exports` conditions, so browsers never see this file.\n */\n\nimport { AsyncLocalStorage } from \"node:async_hooks\"\nimport type { AsyncLocalStorageLike } from \"./asyncStorage.js\"\nimport { registerAsyncLocalStorageClass } from \"./asyncStorage.js\"\n\nregisterAsyncLocalStorageClass(\n AsyncLocalStorage as unknown as new () => AsyncLocalStorageLike<unknown>,\n)\n","/**\n * Node.js-specific entry point for the Bitfab SDK.\n *\n * Selected automatically via package.json `exports` conditions when the\n * consumer's runtime or bundler supports the \"node\" condition (Node.js,\n * most server-side bundlers).\n *\n * This entry point differs from the default (`index.ts`) in one way:\n * it synchronously registers Node.js's `AsyncLocalStorage` before any\n * other SDK code evaluates. This eliminates the async initialization\n * gap that the default entry point has (where the first span might\n * execute before the dynamic import of `node:async_hooks` resolves).\n *\n * The default entry point (`index.ts`) is used for browsers and other\n * environments where `node:async_hooks` is unavailable. There, span\n * nesting degrades gracefully to a shared stack (correct for sequential\n * async, but not for concurrent Promise.all patterns).\n */\n\n// ⚠️ IMPORT ORDER MATTERS\n// asyncStorageNode MUST be imported before index.js.\n// It registers the AsyncLocalStorage class synchronously during module\n// evaluation. index.js (via client.ts) reads from that registration at\n// span creation time. If this import is moved after index.js or removed,\n// span nesting silently degrades to the browser fallback (flat spans).\nimport \"./asyncStorageNode.js\"\n\nexport * from \"./index.js\"\n\n// Verify registration succeeded. This turns a silent degradation into a\n// loud error if someone reorders the imports above or if asyncStorageNode.ts\n// fails to register for any reason. Only runs in the Node.js entry point\n// where we know node:async_hooks must be available.\nimport { assertAsyncStorageRegistered } from \"./asyncStorage.js\"\n\nassertAsyncStorageRegistered()\n"],"mappings":";;;;;;;;;AAoBAA,kBAAAA,+BACEC,YAAAA,iBACF;;;ACaAC,kBAAAA,6BAA6B"}
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-qVS-HeqB.cjs";
1
+ import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, 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 GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, 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 AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-qVS-HeqB.js";
1
+ import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, 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 GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, 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 DatasetsClient, k as ExperimentsClient, 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-BblbvWfU.js";
2
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-BaLzqv9W.js";
1
+ import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, 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 DatasetsClient, k as ExperimentsClient, 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-DYCb-06l.js";
2
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-DUDL3FGE.js";
3
3
  import { _ as assertAsyncStorageRegistered, x as registerAsyncLocalStorageClass } from "./autoTrace-O40k8f5M.js";
4
4
  import { AsyncLocalStorage } from "async_hooks";
5
5
  //#region src/asyncStorageNode.ts