@bitfab/sdk 0.76.3 → 0.76.4

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/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-CmO7Xmwl.cjs";
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 AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, 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, BitfabPiIntegration, 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 ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, 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 PiIntegrationOptions, 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 ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as SpanListResult, $n as ScenarioRecord, $r as VercelCallParams, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as DbSnapshotConfig, An as AssertionRewrite, Ar as ListExperimentsParams, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as ProviderDefinition, Bn as SaveScenarioHistoryEntry, Br as GraderRerunResult, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideResolver, Cn as AssertionCode, Cr as ExperimentSummaryBeforeAfter, Ct as serializeReplayResult, D as SeedCaseOptions, Di as SpanNodeMeta, Dn as AssertionGenerationStatus, Dr as ExperimentTally, Dt as PiIntegrationOptions, E as ReseedResult, Ei as NodeMatcher, En as AssertionGenerationError, Er as ExperimentSummaryResult, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SelectiveReplayDecision, Fn as SaveAssertion, Fr as DatasetTraceIds, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Justification, Gn as ScenarioActualOutcome, Gr as RemoveDatasetTracesResult, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ApprovalState, Hn as SavedTraceAssertion, Hr as GraderRerunTimeoutError, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as SelectiveReplayOptions, In as SaveAssertionsAllParams, Ir as DatasetsClient, It as GetGraderLabelsParams, J as TraceResponse, Jn as ScenarioDataAppend, Jr as SaveDatasetParams, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as JustificationSpan, Kn as ScenarioCreationStatus, Kr as RerunGradersOptions, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayReport, Ln as SaveAssertionsParams, Lr as GraderRerun, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotRef, Mn as AssertionVerdictEvidence, Mr as AddDatasetTracesResult, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as SUPPORTED_PROVIDERS, Nn as GenerateAssertionsOptions, Nr as Dataset, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as BitfabError, On as AssertionGenerationTimeoutError, Or as ExperimentTotals, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as ReplayNodeIdentity, Pn as GenerateScenarioOptions, Pr as DatasetGraderRef, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioHistoryEntry, Qr as BitfabVercelAiHandler, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as AllowedEnvVars, Rn as SaveScenarioActualOutcome, Rr as GraderRerunError, Rt as GraderLabel, S as DetachedTrace, Si as MockOverrideInput, Sn as ArchiveAssertionsParams, Sr as ExperimentSummary, St as reportReplayProgress, T as ReseedOptions, Ti as NO_MOCK_OVERRIDE, Tn as AssertionGeneration, Tr as ExperimentSummaryFacts, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as Approver, Un as Scenario, Ur as ListDatasetsParams, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as ApprovalFields, Vn as SaveScenarioParams, Vr as GraderRerunStatus, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as Assignee, Wn as ScenarioAction, Wr as RemoveDatasetGradersResult, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataSources, Xr as UpdateDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioDataOrigin, Yr as SaveDatasetResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioGeneration, Zr as BitfabLanguageModelMiddleware, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as TokenUsage, _n as VerdictSource, _r as ExperimentPage, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategorySummary, an as LabelTarget, ar as TraceAssertionsResult, at as ReplayBranch, b as CurrentSpan, bi as MockOverride, bn as VerdictUpdate, br as ExperimentRunBy, bt as ReplayResult, c as SeedResult, ci as CategorySummary, cn as PassFailVerdict, cr as TraceSearchParams, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as CapturedSpan, dn as Verdict, dr as TraceTargetOccurrence, dt as MockStrategy, ei as VercelGenerateResult, en as LabelAction, er as ScenarioRecordInput, et as SpansClient, f as finalizers, fi as CodeChangeFile, fn as VerdictAction, fr as TracesClient, ft as ReplayError, g as Bitfab, gi as SpanType, gn as VerdictOutcome, gr as ExperimentJitter, gt as ReplayItemStartProgress, h as CommitRef, hi as SpanOccurrence, hn as VerdictEvidenceItem, hr as ExperimentCodeChangeTotals, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as AssertionCategory, in as LabelStatus, ir as TraceAssertionSource, it as RivetIntegrationOptions, j as SpanOptions, ji as DbSnapshotProvider, jn as AssertionRewriteStatus, jr as AddDatasetGradersResult, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as MixedTracingError, kn as AssertionLabelEvidence, kr as ExperimentsClient, kt as OrganizationMembersClient, l as defineReplayRegistry, li as SaveAssertionCategoryParams, ln as TraceLabels, lr as TraceSearchResult, lt as DbBranchOptions, m as __version__, mi as SpanLookup, mn as VerdictEvidence, mr as ExperimentCategoryTally, mt as ReplayItem, n as ReplayRegistration, ni as BitfabClaudeAgentHandler, nn as LabelOutcome, nr as ScenarioTrigger, nt as RivetContextLike, o as ReseedRegistryResult, oi as CategoriesClient, on as LabelUpdate, or as TraceAssertionsUpdate, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as HttpClient, pn as VerdictConfidence, pr as Experiment, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qn as ScenarioData, qr as RerunGradersResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as AssertionCategoriesClient, rn as LabelSource, rr as TraceAssertion, rt as RivetEffectType, s as SeedCase, si as Category, sn as LabelsClient, sr as TraceSearchFilters, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelStreamResult, tn as LabelConfidence, tr as ScenarioSource, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as SaveCategoryParams, un as TraceVerdicts, ur as TraceTarget, ut as DbBranchReplayError, v as BitfabFunction, vi as flushTraces, vn as VerdictStatus, vr as ExperimentRollup, vt as ReplayProgress, w as NodeOptions, wi as MockValue, wn as AssertionEvidenceParameter, wr as ExperimentSummaryExampleTrace, wt as ReplayInterrupt, x as CurrentTrace, xi as MockOverrideCtx, xn as VerdictsClient, xr as ExperimentStatus, xt as TraceIngestionType, y as CaptureWhen, yi as DbBranchTimings, yn as VerdictTarget, yr as ExperimentRollupResult, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as BamlExecutionResult, zn as SaveScenarioData, zr as GraderRerunProgress, zt as GraderLabelOutcome } from "./index-DCLbAcum.cjs";
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 AssertionCode, 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, BitfabPiIntegration, 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 ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, 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 PiIntegrationOptions, 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 ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, 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 SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-CmO7Xmwl.js";
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 AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, 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, BitfabPiIntegration, 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 ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, 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 PiIntegrationOptions, 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 ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as SpanListResult, $n as ScenarioRecord, $r as VercelCallParams, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as DbSnapshotConfig, An as AssertionRewrite, Ar as ListExperimentsParams, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as ProviderDefinition, Bn as SaveScenarioHistoryEntry, Br as GraderRerunResult, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideResolver, Cn as AssertionCode, Cr as ExperimentSummaryBeforeAfter, Ct as serializeReplayResult, D as SeedCaseOptions, Di as SpanNodeMeta, Dn as AssertionGenerationStatus, Dr as ExperimentTally, Dt as PiIntegrationOptions, E as ReseedResult, Ei as NodeMatcher, En as AssertionGenerationError, Er as ExperimentSummaryResult, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SelectiveReplayDecision, Fn as SaveAssertion, Fr as DatasetTraceIds, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Justification, Gn as ScenarioActualOutcome, Gr as RemoveDatasetTracesResult, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ApprovalState, Hn as SavedTraceAssertion, Hr as GraderRerunTimeoutError, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as SelectiveReplayOptions, In as SaveAssertionsAllParams, Ir as DatasetsClient, It as GetGraderLabelsParams, J as TraceResponse, Jn as ScenarioDataAppend, Jr as SaveDatasetParams, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as JustificationSpan, Kn as ScenarioCreationStatus, Kr as RerunGradersOptions, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayReport, Ln as SaveAssertionsParams, Lr as GraderRerun, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotRef, Mn as AssertionVerdictEvidence, Mr as AddDatasetTracesResult, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as SUPPORTED_PROVIDERS, Nn as GenerateAssertionsOptions, Nr as Dataset, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as BitfabError, On as AssertionGenerationTimeoutError, Or as ExperimentTotals, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as ReplayNodeIdentity, Pn as GenerateScenarioOptions, Pr as DatasetGraderRef, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioHistoryEntry, Qr as BitfabVercelAiHandler, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as AllowedEnvVars, Rn as SaveScenarioActualOutcome, Rr as GraderRerunError, Rt as GraderLabel, S as DetachedTrace, Si as MockOverrideInput, Sn as ArchiveAssertionsParams, Sr as ExperimentSummary, St as reportReplayProgress, T as ReseedOptions, Ti as NO_MOCK_OVERRIDE, Tn as AssertionGeneration, Tr as ExperimentSummaryFacts, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as Approver, Un as Scenario, Ur as ListDatasetsParams, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as ApprovalFields, Vn as SaveScenarioParams, Vr as GraderRerunStatus, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as Assignee, Wn as ScenarioAction, Wr as RemoveDatasetGradersResult, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataSources, Xr as UpdateDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioDataOrigin, Yr as SaveDatasetResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioGeneration, Zr as BitfabLanguageModelMiddleware, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as TokenUsage, _n as VerdictSource, _r as ExperimentPage, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategorySummary, an as LabelTarget, ar as TraceAssertionsResult, at as ReplayBranch, b as CurrentSpan, bi as MockOverride, bn as VerdictUpdate, br as ExperimentRunBy, bt as ReplayResult, c as SeedResult, ci as CategorySummary, cn as PassFailVerdict, cr as TraceSearchParams, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as CapturedSpan, dn as Verdict, dr as TraceTargetOccurrence, dt as MockStrategy, ei as VercelGenerateResult, en as LabelAction, er as ScenarioRecordInput, et as SpansClient, f as finalizers, fi as CodeChangeFile, fn as VerdictAction, fr as TracesClient, ft as ReplayError, g as Bitfab, gi as SpanType, gn as VerdictOutcome, gr as ExperimentJitter, gt as ReplayItemStartProgress, h as CommitRef, hi as SpanOccurrence, hn as VerdictEvidenceItem, hr as ExperimentCodeChangeTotals, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as AssertionCategory, in as LabelStatus, ir as TraceAssertionSource, it as RivetIntegrationOptions, j as SpanOptions, ji as DbSnapshotProvider, jn as AssertionRewriteStatus, jr as AddDatasetGradersResult, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as MixedTracingError, kn as AssertionLabelEvidence, kr as ExperimentsClient, kt as OrganizationMembersClient, l as defineReplayRegistry, li as SaveAssertionCategoryParams, ln as TraceLabels, lr as TraceSearchResult, lt as DbBranchOptions, m as __version__, mi as SpanLookup, mn as VerdictEvidence, mr as ExperimentCategoryTally, mt as ReplayItem, n as ReplayRegistration, ni as BitfabClaudeAgentHandler, nn as LabelOutcome, nr as ScenarioTrigger, nt as RivetContextLike, o as ReseedRegistryResult, oi as CategoriesClient, on as LabelUpdate, or as TraceAssertionsUpdate, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as HttpClient, pn as VerdictConfidence, pr as Experiment, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qn as ScenarioData, qr as RerunGradersResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as AssertionCategoriesClient, rn as LabelSource, rr as TraceAssertion, rt as RivetEffectType, s as SeedCase, si as Category, sn as LabelsClient, sr as TraceSearchFilters, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelStreamResult, tn as LabelConfidence, tr as ScenarioSource, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as SaveCategoryParams, un as TraceVerdicts, ur as TraceTarget, ut as DbBranchReplayError, v as BitfabFunction, vi as flushTraces, vn as VerdictStatus, vr as ExperimentRollup, vt as ReplayProgress, w as NodeOptions, wi as MockValue, wn as AssertionEvidenceParameter, wr as ExperimentSummaryExampleTrace, wt as ReplayInterrupt, x as CurrentTrace, xi as MockOverrideCtx, xn as VerdictsClient, xr as ExperimentStatus, xt as TraceIngestionType, y as CaptureWhen, yi as DbBranchTimings, yn as VerdictTarget, yr as ExperimentRollupResult, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as BamlExecutionResult, zn as SaveScenarioData, zr as GraderRerunProgress, zt as GraderLabelOutcome } from "./index-DCLbAcum.js";
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 AssertionCode, 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, BitfabPiIntegration, 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 ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, 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 PiIntegrationOptions, 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 ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, 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 VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ 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 ExperimentsClient, k as LabelsClient, 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 BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-CYs1uXoX.js";
2
- import { C as BitfabError, O as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-BA7vmvuC.js";
1
+ import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ 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 ExperimentsClient, k as LabelsClient, 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 BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-CFUOdE8n.js";
2
+ import { C as BitfabError, O as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-CQFVgQ4S.js";
3
3
  import { Z as registerAsyncLocalStorageClass, q as assertAsyncStorageRegistered } from "./autoTrace-BgN0zCQf.js";
4
4
  import { AsyncLocalStorage } from "async_hooks";
5
5
  //#region src/asyncStorageNode.ts
@@ -1,5 +1,5 @@
1
1
  const require_bamlPeer = require("./bamlPeer-BxJO7-pm.cjs");
2
- const require_http = require("./http-7exfDbAK.cjs");
2
+ const require_http = require("./http-Dw6XzN7P.cjs");
3
3
  const require_autoTrace = require("./autoTrace-pZKu5Nk2.cjs");
4
4
  const require_optionalPeer = require("./optionalPeer-CUH756lt.cjs");
5
5
  let superjson = require("superjson");
@@ -5067,7 +5067,6 @@ var SpansClient = class {
5067
5067
  //#region src/traces.ts
5068
5068
  const ASSERTIONS_PATH = "/api/sdk/traces/assertions";
5069
5069
  const SEARCH_PATH = "/api/sdk/traces/search";
5070
- const CODE_DRAFT_SAVE_TIMEOUT_MS = 3e5;
5071
5070
  const DEFAULT_GENERATION_TIMEOUT_MS = 6e5;
5072
5071
  const GENERATION_POLL_INTERVAL_MS = 2e3;
5073
5072
  var AssertionGenerationError = class extends Error {
@@ -5117,9 +5116,6 @@ function toWireAssertion({ category_assertion_id, ...assertion }) {
5117
5116
  category_id: categoryId
5118
5117
  };
5119
5118
  }
5120
- function asksBitfabToWriteCode(assertion) {
5121
- return (assertion.kind === "code" || assertion.kind === "hybrid") && assertion.code === void 0;
5122
- }
5123
5119
  function traceAssertionsPath(traceId, suffix = "") {
5124
5120
  return `/api/sdk/traces/${encodeURIComponent(traceId)}/assertions${suffix}`;
5125
5121
  }
@@ -5160,7 +5156,7 @@ var TracesClient = class {
5160
5156
  source: params.source ?? "agent",
5161
5157
  guidedRewrite: params.skipGuidedRewrite !== true
5162
5158
  };
5163
- return withCategoryIds((params.updates.some((update) => update.assertions.some(asksBitfabToWriteCode)) ? await this.httpClient.request(ASSERTIONS_PATH, body, { timeout: CODE_DRAFT_SAVE_TIMEOUT_MS }) : await this.httpClient.request(ASSERTIONS_PATH, body)).assertions);
5159
+ return withCategoryIds((await this.httpClient.request(ASSERTIONS_PATH, body)).assertions);
5164
5160
  }
5165
5161
  async generateAssertions(traceId, options = {}) {
5166
5162
  const started = await this.httpClient.request(traceAssertionsPath(traceId, "/generate"), {
@@ -7241,7 +7237,7 @@ var Bitfab = class {
7241
7237
  await runWithSeedContext({ traceId }, async () => target(...args));
7242
7238
  } finally {
7243
7239
  try {
7244
- const { flushTraces } = await Promise.resolve().then(() => require("./http-7exfDbAK.cjs")).then((n) => n.http_exports);
7240
+ const { flushTraces } = await Promise.resolve().then(() => require("./http-Dw6XzN7P.cjs")).then((n) => n.http_exports);
7245
7241
  await flushTraces(3e4);
7246
7242
  } finally {
7247
7243
  unrecorded = activeTraceStates.delete(traceId);
@@ -7459,7 +7455,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
7459
7455
  metadata: seedCase.metadata,
7460
7456
  sessionId: seedCase.sessionId
7461
7457
  }));
7462
- const { flushTraces } = await Promise.resolve().then(() => require("./http-7exfDbAK.cjs")).then((n) => n.http_exports);
7458
+ const { flushTraces } = await Promise.resolve().then(() => require("./http-Dw6XzN7P.cjs")).then((n) => n.http_exports);
7463
7459
  await flushTraces(3e4);
7464
7460
  return {
7465
7461
  pipeline,
@@ -7709,4 +7705,4 @@ Object.defineProperty(exports, "serializeReplayResult", {
7709
7705
  }
7710
7706
  });
7711
7707
 
7712
- //# sourceMappingURL=src-BMMKf1sR.cjs.map
7708
+ //# sourceMappingURL=src-C9V1wPM_.cjs.map